:root {
    --color-primary: #18aae6;
    /* O Azul do Nossas Vozes */
    --color-primary-dark: #128bbd;
    --color-accent: #e52929;
    /* O Vermelho do banner */
    --color-white: #ffffff;
    --color-bg-light: #f4f6f9;
    --color-text-dark: #333333;
    --color-text-muted: #666666;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Garante que o rodapé fique no fundo */
}

/* NAVBAR TIPO NOSSAS VOZES */
.navbar {
    background-color: var(--color-primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #e0f7fa;
    /* Brilho leve no hover */
}

.btn-nossas-vozes {
    background-color: var(--color-accent);
    padding: 8px 15px;
    border-radius: 4px;
}

.btn-nossas-vozes:hover {
    background-color: #c41e1e;
    color: var(--color-white) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
}

/* =========================================
   HERO SECTION - HOME
========================================= */
.hero-home {
    height: calc(80vh - 70px);
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 🛰️ Ajustado para não forçar o centro */
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Fundo escuro uniforme para destacar o texto */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 🛰️ Empurra o conteúdo para a esquerda */
    padding: 0 10%; /* 🛰️ Dá uma margem de segurança de 10% da borda esquerda */
}

.hero-content {
    max-width: 600px; /* 🛰️ Limita a largura para o texto não invadir a foto */
    color: var(--color-white);
    text-align: left; /* 🛰️ Alinha os textos à esquerda */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 🛰️ Alinha o bloco inteiro à esquerda */
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    /* Sombra para melhorar a leitura sobre a foto */
}

.hero-content .subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 35px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

/* BOTÕES RECALIBRADOS */
.hero-buttons {
    display: flex;
    justify-content: flex-start; /* 🛰️ Alinha os botões à esquerda */
    gap: 20px;
}

.btn-portfolio,
.btn-contato {
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
}

/* Azul Nossas Vozes */
.btn-portfolio {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-portfolio:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Vermelho Nossas Vozes */
.btn-contato {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-contato:hover {
    background-color: #c41e1e;
    transform: translateY(-2px);
}

/* =========================================
   RODAPÉ CENTRALIZADO
========================================= */
footer {
    margin-top: auto;
    width: 100%;
    background-color: var(--color-bg-light);
    /* Fundo cinza claro */
    padding: 30px 20px;
    text-align: center;
    /* 🛰️ Traz tudo para o meio */
    border-top: 1px solid #e0e0e0;
}

footer p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.site-footer {
    margin-top: auto;
    width: 100%;
    background-color: #f8fafc;
    padding: 32px 20px 24px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.site-footer-copy {
    color: #555555;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 1.8rem;
}

.social-icons a {
    color: var(--color-primary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

body.home-page {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

body.home-page .navbar,
body.home-page .site-footer {
    flex-shrink: 0;
}

body.home-page .hero-home {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    background-color: #050505;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

body.home-page .hero-overlay {
    padding-top: 24px;
    padding-bottom: 24px;
}

body.home-page .site-footer {
    padding: 18px 20px 12px;
}

body.home-page .site-footer-copy {
    margin-bottom: 10px;
}

/* =========================================
   ÍCONES SOCIAIS (RODAPÉ CLEAN)
========================================= */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    /* 🛰️ Distância considerável entre os ícones */
    margin-bottom: 30px;
}

.social-icon {
    color: var(--color-primary);
    /* Azul Nossas Vozes */
    font-size: 1.8rem;
    /* 🛰️ Ícones bem maiores e imponentes */
    text-decoration: none;
    transition: all 0.3s ease;
    /* Removemos as amarras antigas de largura e altura */
    background: transparent;
    width: auto;
    height: auto;
}

.social-icon:hover {
    color: var(--color-primary-dark);
    transform: scale(1.2);
    /* Dá um belo salto visual ao passar o mouse */
}

/* =========================================
   PÁGINA BIOGRAFIA - VISUAL BOXED
========================================= */

/* Container da Página */
.bio-page-container {
    padding: 40px 20px;
    background-color: #f4f7f6; /* Cor de fundo leve para destacar o box */
    display: flex;
    justify-content: center;
}

/* O Box (A moldura branca) */
.bio-boxed-card {
    background: #ffffff;
    max-width: 900px; /* Largura máxima do box */
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden; /* Garante que a foto respeite o arredondamento do topo */
}

/* Foto no Topo */
.bio-header-image {
    width: 100%;
    height: 450px; /* Aumentamos a altura da exibição */
    overflow: hidden;
}

.bio-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem preencher o espaço sem distorcer */
    object-position: center 20%; /* Ajusta o foco da foto para não cortar o rosto */
}

/* Conteúdo do Texto */
.bio-text-content {
    padding: 40px;
}

.bio-title-blue {
    color: #3498db;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
}

.bio-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.bio-subtitle {
    color: #e63946;
    margin-top: 25px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bio-details p {
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* =========================================
   PÁGINA GALERIA - VISUAL BOXED
========================================= */
.gallery-page-container {
    background-color: var(--color-bg-light);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Diferente da Bio, o topo encosta mais para cima por causa do tamanho */
    flex: 1;
}

.gallery-boxed-card {
    background-color: var(--color-white);
    max-width: 1200px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px;
    border: 1px solid #eee;
}

.gallery-main-title {
    color: var(--color-primary);
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

/* --- Voice Reel --- */
.voice-reel-container {
    max-width: 800px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.voice-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 15px 20px;
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
}

.track-title {
    font-weight: 600;
    color: var(--color-text-dark);
}

.track-title i {
    color: var(--color-primary);
    margin-right: 8px;
}

/* --- Categorias e Grid --- */
.gallery-category {
    margin-bottom: 60px;
}

.category-title {
    color: var(--color-text-dark);
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.category-title i {
    color: var(--color-accent);
    /* Vermelho Nossas Vozes para o ícone */
    margin-right: 10px;
}

/* 🛰️ A Mágica das 3 Colunas! */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Cards de Personagens --- */
.gallery-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-bottom: 3px solid var(--color-primary);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.gallery-card-img {
    height: 200px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Preparação para quando você colocar as tags <img> reais */
.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.gallery-card-img.image-loaded img {
    opacity: 1;
}

.gallery-card-content {
    padding: 20px;
}

.gallery-card-content h4 {
    color: var(--color-text-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.gallery-card-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   PÁGINA CONTATO - VISUAL BOXED
========================================= */
.contact-page-container {
    background-color: var(--color-bg-light);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.contact-boxed-card {
    background-color: var(--color-white);
    max-width: 1100px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px;
    border: 1px solid #eee;
}

.contact-main-title {
    color: var(--color-primary);
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.contact-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-sub-title {
    color: var(--color-text-dark);
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-sub-title i {
    color: var(--color-accent);
    /* Vermelho */
}

/* --- FAQ Interno --- */
.faq-item-v2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item-v2 h4 {
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.faq-item-v2 p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-item-v2 a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.faq-item-v2 a:hover {
    text-decoration: underline;
}

/* --- Formulário Customizado --- */
.form-group-v2 {
    margin-bottom: 20px;
}

.form-group-v2 label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-dark);
}

.form-group-v2 input,
.form-group-v2 select,
.form-group-v2 textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.form-group-v2 input:focus,
.form-group-v2 select:focus,
.form-group-v2 textarea:focus {
    border-color: var(--color-primary);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(24, 170, 230, 0.2);
}

.btn-submit-contact {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit-contact:hover {
    background-color: #c41e1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 41, 41, 0.3);
}

/* --- Responsivo --- */
@media (max-width: 850px) {
    .contact-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-boxed-card {
        padding: 30px 20px;
    }
}

/* =========================================
   RESPONSIVO GLOBAL (MENU, BIO, GALERIA E CONTATO)
========================================= */
@media (max-width: 768px) {

    .nav-links {
        display: flex;
        /* Garante que o flex funcione mesmo com altura zero */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-primary-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        max-height: 500px;
        /* Valor alto o suficiente para caber os links */
        padding: 15px 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li:last-child a.btn-nossas-vozes {
        display: inline-block;
        margin-top: 10px;
        border-bottom: none;
    }

    .menu-toggle {
        display: block;
    }

    /* --- 2. AJUSTES DA BIOGRAFIA --- */
    .bio-grid-v2 {
        grid-template-columns: 1fr;
        /* Força tudo para 1 coluna */
        gap: 20px;
    }

    .bio-image-v2 {
        text-align: center;
        margin-bottom: 10px;
    }

    .bio-image-v2 img {
        max-width: 200px;
        margin: 0 auto;
    }

    .bio-title {
        text-align: center;
    }

    .bio-scroll-area {
        max-height: none;
        padding-right: 0;
    }

    /* --- 3. AJUSTES DA GALERIA --- */
    .gallery-grid {
        grid-template-columns: 1fr;
        /* Força os filmes a ficarem 1 embaixo do outro */
        gap: 20px;
    }

    .voice-track {
        flex-direction: column;
        /* Empilha o texto e o player de áudio */
        text-align: center;
        gap: 15px;
    }

    .voice-track audio {
        width: 100%;
    }

    /* --- 4. AJUSTES DO CONTATO --- */
    .contact-grid-v2 {
        grid-template-columns: 1fr;
        /* Empilha o FAQ e o Formulário */
    }

    body.home-page {
        height: auto;
        overflow-y: auto;
    }

    body.home-page .hero-home {
        min-height: 0;
        background-position: center center;
    }

    body.home-page .site-footer {
        padding: 16px 20px 12px;
    }
}

/* =========================================
   BOTÃO WHATSAPP - CONTATO
========================================= */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* Verde oficial do WhatsApp */
    color: #ffffff;
    padding: 12px 28px;
    font-size: 1.05rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1ebe57; /* Verde um pouco mais escuro no hover */
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    margin-right: 10px;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .hero-home {
        background-position: 75% center;
    }

/* --- AJUSTES DA HOME (CELULAR) --- */
    .hero-overlay {
        justify-content: center;
        padding: 0 20px;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    body.home-page .hero-home {
        background-position: center center !important;
        background-size: contain;
    }

    .social-icons {
        gap: 16px;
        font-size: 1.6rem;
    }

}

/* =========================================
   AJUSTES PARA TELAS MUITO PEQUENAS
========================================= */
@media (max-width: 500px) {

    .gallery-main-title,
    .contact-main-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .btn-portfolio,
    .btn-contato {
        width: 100%;
        padding: 12px;
    }
}

/* =========================================
   LOGOTIPO / AUTÓGRAFO
========================================= */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    max-height: 60px; /* Altura ideal para a barra de navegação */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Leve efeito de zoom ao passar o mouse */
}

/* 📱 Ajuste fino para telas de celular */
@media (max-width: 768px) {
    .logo-img {
        max-height: 35px; /* Reduz um pouco o tamanho no mobile para não espremer o menu */
    }
}

/* =========================================
   AJUSTE DE FOCO DA HOME NO MOBILE
========================================= */
@media (max-width: 768px) {
    .hero-home {
        /* Força a imagem a alinhar pela borda direita na versão de celular */
        background-position: right center !important;
    }
}
