/* ==========================================================================
   SITE VALDEIR TAVARES - DESIGN SYSTEM & ESTILOS PREMIUM
   Estilo Vanilla CSS completo, com suporte a variáveis, responsividade
   mobile-first avançada, glassmorfismo e gradientes dourados.
   ========================================================================== */

/* 1. VARIÁVEIS GLOBAIS & DESIGN TOKENS */
:root {
    /* Paleta de Cores (Tema Escuro Luxuoso) */
    --color-bg-primary: #0b0907;       /* Preto profundo com tom quente de sépia */
    --color-bg-secondary: #130f0a;     /* Marrom muito escuro */
    --color-bg-card: rgba(22, 17, 12, 0.65); /* Card semi-transparente para glassmorfismo */
    --color-bg-glass: rgba(11, 9, 7, 0.75);
    
    /* Cores de Destaque - Dourado Premium */
    --color-gold-light: #f7dfa3;
    --color-gold-primary: #d5b263;
    --color-gold-medium: #c5a059;
    --color-gold-dark: #93733a;
    --gradient-gold: linear-gradient(135deg, #f7dfa3 0%, #d5b263 50%, #93733a 100%);
    --gradient-gold-hover: linear-gradient(135deg, #ffffff 0%, #e5c158 50%, #c5a059 100%);
    
    /* Tons de Texto */
    --color-text-primary: #f5ebd5;     /* Creme suave */
    --color-text-secondary: #bbaea0;   /* Muted warm gray */
    --color-text-muted: #7e7366;       /* Tom sépia escuro */
    
    /* Efeitos Visuais */
    --border-gold-subtle: 1px solid rgba(213, 178, 99, 0.15);
    --border-gold-active: 1px solid rgba(213, 178, 99, 0.4);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(213, 178, 99, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Fontes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* 2. RESET & ESTILOS BÁSICOS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base para rem */
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilitários */
.text-center { text-align: center; }
.highlight-gold { color: var(--color-gold-primary); }
.light-text { font-weight: 300; }
.hidden { display: none !important; }
.w-100 { width: 100%; }

/* Seções Globais */
section {
    padding: 6rem 0;
    position: relative;
}

.section-tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold-primary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* 3. BOTÕES (Estilo Dourado Premium) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-gold {
    background: var(--gradient-gold);
    color: #0b0907;
    box-shadow: var(--shadow-glow);
}

.btn-gold:hover {
    background: var(--gradient-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(213, 178, 99, 0.35);
}

.btn-border-gold {
    border: 2px solid var(--color-gold-primary);
    color: var(--color-gold-primary);
}

.btn-border-gold:hover {
    background: rgba(213, 178, 99, 0.1);
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* Animação Pulse para CTA */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(213, 178, 99, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(213, 178, 99, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(213, 178, 99, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* 4. CABEÇALHO (NAVIGATION BAR) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 9, 7, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(213, 178, 99, 0.08);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.logo-monogram {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-gold-primary);
    line-height: 1;
    border-right: 1px solid rgba(213, 178, 99, 0.3);
    padding-right: 0.75rem;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--color-text-primary);
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.55rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--color-gold-secondary);
    margin-top: 0.15rem;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold-primary);
    transition: var(--transition-smooth);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: var(--color-gold-primary);
    cursor: pointer;
}

.nav-btn-mobile {
    display: none;
}

/* 5. HERO SECTION */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 60% 30%, rgba(147, 115, 58, 0.1) 0%, rgba(11, 9, 7, 0) 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    display: block;
    color: var(--color-gold-primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(22, 17, 12, 0.4);
    border: var(--border-gold-subtle);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
}

.feature-icon {
    display: flex;
    align-items: center;
    color: var(--color-gold-primary);
}

.feature-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.hero-cta-hint {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding-left: 2rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
}

.image-border-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(213, 178, 99, 0.25);
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    filter: grayscale(15%) sepia(10%) contrast(105%);
    border: var(--border-gold-subtle);
}

/* Painel de Redes Sociais no Hero (À Direita) */
.social-stats-card {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: rgba(18, 14, 10, 0.9);
    backdrop-filter: blur(12px);
    border: var(--border-gold-active);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    z-index: 10;
    max-width: 250px;
}

.stats-title {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
}

.stats-count {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-gold-primary);
    line-height: 1;
    margin: 0.25rem 0;
}

.stats-subtitle {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(213, 178, 99, 0.15);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.social-item:hover {
    color: var(--color-gold-primary);
    transform: translateX(3px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ffffff;
}

.social-icon.tiktok { background-color: #000000; }
.social-icon.youtube { background-color: #ff0000; }
.social-icon.instagram { background-color: #e1306c; }
.social-icon.kwai { background-color: #ff5000; }

.social-name {
    flex-grow: 1;
    color: var(--color-text-secondary);
}

.social-growth {
    font-weight: 700;
    color: var(--color-gold-light);
}

/* 6. ABOUT SECTION (SOBRE) */
.about-section {
    background-color: var(--color-bg-secondary);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text .section-title {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3.5rem;
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-gold-primary);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* 7. SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    position: relative;
    background: var(--color-bg-card);
    border: var(--border-gold-subtle);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(213, 178, 99, 0.35);
    box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(213, 178, 99, 0.08);
    border: 1px solid rgba(213, 178, 99, 0.2);
    color: var(--color-gold-primary);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--gradient-gold);
    color: #0b0907;
    transform: scale(1.05);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn-service-listen {
    border: 1px solid var(--color-gold-primary);
    color: var(--color-gold-primary);
    padding: 0.65rem 1.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-card:hover .btn-service-listen {
    background: var(--gradient-gold);
    color: #0b0907;
    border-color: transparent;
}

/* 8. PORTFOLIO COMPONENT */
.portfolio-section {
    background: radial-gradient(circle at 50% 10%, rgba(22, 17, 12, 0.6) 0%, rgba(11, 9, 7, 0) 60%);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid rgba(213, 178, 99, 0.15);
    background-color: rgba(22, 17, 12, 0.4);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--color-text-primary);
    border-color: rgba(213, 178, 99, 0.4);
}

.filter-btn.active {
    background: var(--gradient-gold);
    color: #0b0907;
    border-color: transparent;
    font-weight: 700;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Card Individual do Portfolio */
.portfolio-card {
    background: var(--color-bg-card);
    border: var(--border-gold-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.portfolio-card:hover {
    border-color: rgba(213, 178, 99, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.portfolio-cover-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: var(--border-gold-subtle);
}

.portfolio-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-cover {
    transform: scale(1.08);
}

.portfolio-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 9, 7, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
    color: var(--color-gold-light);
}

.portfolio-card:hover .portfolio-play-overlay,
.portfolio-card.playing .portfolio-play-overlay {
    opacity: 1;
}

.portfolio-details {
    flex-grow: 1;
    overflow: hidden;
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-gold-primary);
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-desc {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

/* Linha do Waveform Visualizer da música no card */
.portfolio-track-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.card-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #0b0907;
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.card-play-btn:hover {
    transform: scale(1.1);
}

/* Elemento Waveform simulado de áudio que dança quando toca */
.waveform-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
    flex-grow: 1;
    overflow: hidden;
}

.waveform-bar {
    width: 2px;
    background-color: var(--color-text-muted);
    border-radius: 20px;
    transition: height 0.15s ease;
}

/* Definir alturas diferentes para formar o desenho estático de onda */
.waveform-bar:nth-child(1)  { height: 4px; }
.waveform-bar:nth-child(2)  { height: 8px; }
.waveform-bar:nth-child(3)  { height: 14px; }
.waveform-bar:nth-child(4)  { height: 10px; }
.waveform-bar:nth-child(5)  { height: 6px; }
.waveform-bar:nth-child(6)  { height: 12px; }
.waveform-bar:nth-child(7)  { height: 18px; }
.waveform-bar:nth-child(8)  { height: 14px; }
.waveform-bar:nth-child(9)  { height: 8px; }
.waveform-bar:nth-child(10) { height: 12px; }
.waveform-bar:nth-child(11) { height: 16px; }
.waveform-bar:nth-child(12) { height: 10px; }
.waveform-bar:nth-child(13) { height: 5px; }

/* Animação quando a música está ativa e tocando */
.portfolio-card.playing .waveform-bar {
    background-color: var(--color-gold-primary);
    animation: bounceWaveform 1.2s ease-in-out infinite alternate;
}

/* Atrasos individuais de animação para barras */
.portfolio-card.playing .waveform-bar:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card.playing .waveform-bar:nth-child(2) { animation-delay: 0.3s; }
.portfolio-card.playing .waveform-bar:nth-child(3) { animation-delay: 0.6s; }
.portfolio-card.playing .waveform-bar:nth-child(4) { animation-delay: 0.2s; }
.portfolio-card.playing .waveform-bar:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card.playing .waveform-bar:nth-child(6) { animation-delay: 0.1s; }
.portfolio-card.playing .waveform-bar:nth-child(7) { animation-delay: 0.7s; }
.portfolio-card.playing .waveform-bar:nth-child(8) { animation-delay: 0.4s; }
.portfolio-card.playing .waveform-bar:nth-child(9) { animation-delay: 0.8s; }
.portfolio-card.playing .waveform-bar:nth-child(10) { animation-delay: 0.2s; }
.portfolio-card.playing .waveform-bar:nth-child(11) { animation-delay: 0.5s; }
.portfolio-card.playing .waveform-bar:nth-child(12) { animation-delay: 0.3s; }
.portfolio-card.playing .waveform-bar:nth-child(13) { animation-delay: 0.9s; }

@keyframes bounceWaveform {
    0% { height: 4px; }
    100% { height: 20px; }
}

.portfolio-duration {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-left: 0.25rem;
}

.portfolio-footer-action {
    margin-top: 2rem;
}

/* Spinner de Carregamento */
.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0;
    color: var(--color-text-secondary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(213, 178, 99, 0.1);
    border-top: 3px solid var(--color-gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 9. PASSO A PASSO (COMO FUNCIONA) */
.steps-section {
    background-color: var(--color-bg-secondary);
}

.steps-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--color-bg-primary);
    border: var(--border-gold-subtle);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    flex: 1;
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--color-gold-primary);
    transform: translateY(-5px);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #0b0907;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.step-arrow {
    color: var(--color-gold-primary);
    display: flex;
    align-items: center;
    opacity: 0.5;
}

/* 10. ESTÚDIO SECTION (ESTÚDIO PROFISSIONAL) */
.studio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.studio-image-wrapper {
    position: relative;
    border-radius: 20px;
}

.studio-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    filter: contrast(102%) sepia(5%);
    border: var(--border-gold-subtle);
}

.studio-content {
    display: flex;
    flex-direction: column;
}

.studio-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.studio-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.studio-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
}

.icon-check {
    color: var(--color-gold-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* 11. FORMULÁRIO DE CONTATO (LEADS & WHATSAPP) */
.contact-section {
    background: radial-gradient(circle at 50% 90%, rgba(147, 115, 58, 0.12) 0%, rgba(11, 9, 7, 0) 70%);
}

.contact-card {
    background: rgba(18, 14, 10, 0.8);
    backdrop-filter: blur(16px);
    border: var(--border-gold-active);
    box-shadow: var(--shadow-premium), var(--shadow-glow);
    border-radius: 24px;
    padding: 4rem;
    max-width: 860px;
    margin: 0 auto;
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-card-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gold-primary);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(11, 9, 7, 0.6);
    border: 1px solid rgba(213, 178, 99, 0.2);
    color: var(--color-text-primary);
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold-primary);
    box-shadow: 0 0 10px rgba(213, 178, 99, 0.15);
    background-color: rgba(11, 9, 7, 0.8);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%23d5b263'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 40px;
}

.form-group select option {
    background-color: var(--color-bg-secondary);
    color: var(--color-text-primary);
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* 12. RODAPÉ (FOOTER) */
.main-footer {
    background-color: #060504;
    border-top: 1px solid rgba(213, 178, 99, 0.05);
    padding: 4rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    align-items: center;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(213, 178, 99, 0.15);
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: #0b0907;
    background: var(--gradient-gold);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* 13. PLAYER DE ÁUDIO FLUTUANTE (BOTTOM FLOATING PLAYER BAR) */
.floating-player-bar {
    position: fixed;
    bottom: -120px; /* Escondido por padrão, aparece via JS class ativo */
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(18, 14, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(213, 178, 99, 0.25);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
    padding: 1rem 0;
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.floating-player-bar.active {
    bottom: 0;
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Informações da Música */
.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 25%;
    flex-shrink: 0;
}

.player-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(213, 178, 99, 0.2);
}

.player-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.player-track-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-desc {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controles de Playback & Barra de Progresso */
.player-controls-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 50%;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.player-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.player-controls button:hover {
    color: var(--color-gold-primary);
}

.player-btn-play-pause {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #0b0907 !important;
    box-shadow: var(--shadow-glow);
}

.player-btn-play-pause:hover {
    transform: scale(1.08);
}

.player-timeline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.player-timeline span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    width: 35px;
    text-align: center;
}

.progress-bar-container {
    flex-grow: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 10px;
    width: 0%;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.progress-bar-container:hover .progress-handle {
    opacity: 1;
}

/* Controle de Volume */
.player-volume-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 20%;
    justify-content: flex-end;
    flex-shrink: 0;
}

.player-btn-volume {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.player-btn-volume:hover {
    color: var(--color-gold-primary);
}

.volume-slider-container {
    width: 80px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.volume-slider-fill {
    height: 100%;
    background-color: var(--color-gold-primary);
    border-radius: 10px;
}

/* ==========================================================================
   14. RESPONSIVIDADE MOBILE-FIRST AVANÇADA (MOBILE & TABLETS)
   Garante adaptabilidade perfeita a telas de qualquer tamanho, com foco
   especial em usabilidade por usuários leigos (toque fácil).
   ========================================================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-container {
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .studio-container {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    /* 900px e inferior: Layout de uma coluna */
    section {
        padding: 4rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-actions {
        align-items: center;
    }

    .hero-cta-hint {
        padding-left: 0;
    }

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .social-stats-card {
        right: 0;
        left: 0;
        margin: 0 auto;
        bottom: -40px;
        max-width: 320px;
        display: grid;
        grid-template-columns: 1.1fr 1.9fr;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }

    .stats-subtitle {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .social-links-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .about-stats-row {
        gap: 2rem;
    }

    .steps-timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .step-card {
        width: 100%;
    }

    .studio-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .studio-image-wrapper {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
    }

    .player-container {
        gap: 1rem;
    }

    .player-volume-wrapper {
        display: none; /* Esconder controle de volume no mobile (sistema controla) */
    }

    .player-info {
        width: 35%;
    }

    .player-controls-wrapper {
        width: 65%;
    }
}

@media (max-width: 768px) {
    /* Menu Mobile Deslizante */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: rgba(11, 9, 7, 0.98);
        backdrop-filter: blur(20px);
        transition: var(--transition-smooth);
        padding: 3rem 2rem;
        border-top: 1px solid rgba(213, 178, 99, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    .btn-header-cta {
        display: none; /* Substituído pelo link no menu mobile */
    }

    .nav-btn-mobile {
        display: inline-block !important;
        background: var(--gradient-gold);
        color: #0b0907 !important;
        padding: 0.8rem 2.5rem !important;
        border-radius: 50px;
        font-weight: 700;
        margin-top: 1rem;
    }

    .nav-btn-mobile::after {
        display: none !important;
    }

    /* Ajustes Gerais de Seção */
    .section-title {
        font-size: 1.85rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Celulares Pequenos */
    section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .feature-item {
        width: 100%;
        justify-content: center;
    }

    .social-stats-card {
        grid-template-columns: 1fr;
        bottom: -50px;
        padding: 1rem;
    }

    .social-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats-row {
        flex-direction: column;
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        padding: 1rem;
    }

    .portfolio-cover-wrapper {
        width: 70px;
        height: 70px;
    }

    .portfolio-title {
        font-size: 1rem;
    }

    /* Player Flutuante Compacto para Celular */
    .floating-player-bar {
        padding: 0.75rem 0.5rem;
    }

    .player-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .player-info {
        width: 100%;
        justify-content: center;
    }

    .player-controls-wrapper {
        width: 100%;
    }

    .player-controls {
        gap: 2rem;
    }

    .player-timeline span {
        display: none; /* Ocultar números de tempo no celular minúsculo */
    }
}

/* ==========================================================================
   15. BOTÃO FLUTUANTE DO WHATSAPP (DIRECT CHAT CTA)
   ========================================================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.5);
    z-index: 998;
    transition: all 0.3s ease;
    animation: pulseWhatsApp 2s infinite;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Adjust position dynamically if bottom player bar is active */
.floating-player-bar.active ~ .floating-whatsapp-btn {
    bottom: 100px;
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 480px) {
    .floating-whatsapp-btn {
        bottom: 95px; /* Ajuste para não cobrir a bottom nav */
        right: 20px;
        width: 54px;
        height: 54px;
    }
}

/* ==========================================================================
   16. COMPONENTES PREMIUM DE DESIGN (AESTHETIC ENHANCEMENTS)
   ========================================================================== */

/* Linha dourada decorativa antes do subtítulo do Hero */
.gold-dash {
    display: inline-block;
    width: 25px;
    height: 2px;
    background-color: var(--color-gold-primary);
    vertical-align: middle;
    margin-right: 8px;
}

/* Botão Ouvir Agora premium estilo outline gold */
.btn-ouvir-agora {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: transparent !important;
    border: 1px solid var(--color-gold-primary) !important;
    color: var(--color-gold-primary) !important;
    border-radius: 6px !important;
    padding: 0.85rem 1.85rem !important;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-ouvir-agora:hover {
    background-color: rgba(213, 178, 99, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(213, 178, 99, 0.2);
}

.btn-play-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--color-gold-primary);
    color: var(--color-gold-primary);
}

/* Divisor Dourado Curvado Elegante do Hero */
.hero-curved-divider {
    position: absolute;
    bottom: -2px; /* Evita quebra de pixel */
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 10;
    pointer-events: none;
}

.hero-curved-divider .curve-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.scroll-down-wrapper {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    pointer-events: auto;
}

.scroll-down-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(213, 178, 99, 0.4);
    background: rgba(11, 9, 7, 0.8);
    color: var(--color-gold-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    animation: bounceArrow 2s infinite;
}

.scroll-down-btn:hover {
    border-color: var(--color-gold-primary);
    background: var(--color-gold-primary);
    color: #0b0907;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(213, 178, 99, 0.4);
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Barra de Navegação Inferior Persistente para Mobile (Glassmorfismo) */
.mobile-bottom-nav {
    display: none; /* Escondido por padrão em telas grandes */
}

@media (max-width: 768px) {
    /* EFEITO BACK-SCREEN DO HERO (TELA CHEIA IMERSIVA) */
    .hero-section {
        position: relative;
        padding-top: 8rem;
        padding-bottom: 9rem;
        background: linear-gradient(to bottom, rgba(11, 9, 7, 0.3) 0%, rgba(11, 9, 7, 0.95) 100%), url('assets/valdeir_hero.jpg') no-repeat center top / cover;
        min-height: 95vh;
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
        width: 100%;
    }
    
    .hero-content {
        align-items: flex-start;
        text-align: left;
        width: 100%;
        z-index: 5;
    }
    
    .hero-title {
        font-size: 2.85rem;
        text-align: left;
        line-height: 1.1;
        margin-bottom: 1.25rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    }
    
    .hero-desc {
        text-align: left;
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 95%;
        margin-bottom: 2.25rem;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
    }
    
    /* Esconder imagem duplicada no mobile para o efeito back-screen */
    .hero-image-wrapper {
        display: none !important;
    }

    /* BARRA DE NAVEGAÇÃO INFERIOR */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 75px;
        background: rgba(11, 9, 7, 0.92);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(213, 178, 99, 0.15);
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.6);
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        gap: 0.35rem;
        flex: 1;
        height: 100%;
        transition: all 0.25s ease;
    }
    
    .bottom-nav-item svg {
        color: rgba(255, 255, 255, 0.4);
        transition: all 0.25s ease;
    }
    
    .bottom-nav-item:hover, .bottom-nav-item:focus {
        color: var(--color-gold-primary);
    }
    
    .bottom-nav-item:hover svg {
        color: var(--color-gold-primary);
        transform: translateY(-2px);
    }
    
    /* Ajuste nas posições do player flutuante no Mobile */
    .floating-player-bar {
        bottom: -150px;
    }
    
    .floating-player-bar.active {
        bottom: 75px; /* Empilha acima da bottom navigation! */
    }
    
    /* Ajuste no botão do WhatsApp flutuante no Mobile */
    .floating-whatsapp-btn {
        bottom: 95px; /* Acima da bottom navigation */
        right: 20px;
    }
    
    .floating-player-bar.active ~ .floating-whatsapp-btn {
        bottom: 235px; /* Acima do player ativo que está acima da bottom nav! */
    }
}
