/* 1. CONFIGURAÇÕES GERAIS E VARIÁVEIS */
:root { 
    --vinho: #A52A2A; 
    --marrom: #8B4513; 
    --branco: #ffffff; 
    --preto-transparente: rgba(0, 0, 0, 0.4);
    --azul-google: #4285F4;
    --amarelo-google: #fbbc04;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Evita que a navbar cubra o título ao navegar */
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--vinho); 
    color: var(--branco); 
    text-align: center;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. NAVBAR E MENU */
.navbar {
    background-color: var(--vinho);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}

.logo {
    color: var(--branco);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    color: var(--branco);
    text-decoration: none;
    padding: 0 1.5rem;
    font-weight: 700;
    transition: 0.3s;
}

.nav-links a:hover { 
    color: var(--marrom); 
}

.menu-toggle {
    display: none;
}

/* 3. SEÇÃO HERO (CAPA) */
.hero { 
    background: url('img/capa.png') no-repeat center center; 
    background-size: cover;
    height: 80vh;
    min-height: 400px;
    width: 100%; 
    box-shadow: inset 0 0 150px rgba(0,0,0,0.6);
    display: block;
}

/* 4. BOTÃO WHATSAPP (CTA) */
.cta-container {
    background-color: var(--preto-transparente);
    padding: 40px 20px;
}

.btn-whatsapp { 
    background-color: var(--marrom); 
    color: var(--branco); 
    padding: 18px 40px; 
    text-decoration: none; 
    border-radius: 50px; 
    display: inline-block; 
    text-transform: uppercase; 
    border: 2px solid var(--branco);
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.btn-whatsapp:hover { 
    background-color: var(--branco); 
    color: var(--vinho); 
    transform: scale(1.05); 
}

/* 5. CONTEÚDO PRINCIPAL E CARDS */
.container { 
    max-width: 1100px; 
    margin: auto; 
    padding: 80px 20px; 
}

.card-instrutor { 
    background: rgba(255, 255, 255, 0.1); 
    padding: 40px; 
    border-radius: 30px; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    align-items: center; 
    text-align: left; 
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 80px;
    backdrop-filter: blur(5px);
}

.instrutor-foto { 
    width: 200px; 
    height: 200px; 
    border-radius: 50%; 
    border: 6px solid var(--marrom); 
    object-fit: cover; 
}

.instrutor-texto h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.5rem; 
    margin-bottom: 15px; 
}

.insta-btn {
    font-size: 3.5rem;
    color: var(--branco);
    transition: 0.3s;
    margin-top: 10px;
    display: inline-block;
}

.insta-btn:hover { 
    color: #f09433; 
    transform: rotate(10deg); 
}

/* 6. DEPOIMENTOS E GRID DE VÍDEOS */
.titulo-secao { 
    font-family: 'Playfair Display', serif; 
    font-size: 3rem; 
    font-style: italic;
    margin-bottom: 50px; 
    position: relative;
    display: inline-block;
}

.titulo-secao::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: var(--marrom);
    margin: 10px auto 0;
}

.videos-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px; 
    justify-items: center;
}

/* 7. ESTILO AVALIAÇÕES GOOGLE */
.google-reviews {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 80px 20px;
    margin-top: 50px;
}

.google-card {
    background: white;
    color: #333;
    max-width: 600px; /* Largura otimizada para o selo */
    margin: 0 auto;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.3s;
    text-align: center;
}

.google-card:hover {
    transform: translateY(-5px);
}

.google-badge-img {
    width: 100%;
    max-width: 680px; 
    height: auto;
    margin: 0 auto 30px auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease; /* Efeito suave ao passar o mouse */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}
.google-badge-img:hover {
    transform: scale(1.02); /* Leve zoom ao passar o mouse */
}
.google-card {
    background: rgb(233, 195, 195);
    color: #333;
    max-width: 350px; /* Aumentado de 600px para 750px para dar respiro à imagem */
    margin: 0 auto;
    padding: 40px;    /* Mais preenchimento para um visual premium */
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transition: 0.3s;
    text-align: center;
}

.google-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    color: var(--amarelo-google);
    font-size: 1.4rem;
}

.nota {
    font-weight: bold;
    font-size: 1.2rem;
    color: #555;
}

.google-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
}

.btn-google {
    background-color: var(--azul-google);
    color: rgb(255, 255, 255);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.btn-google:hover {
    background-color: #357abd;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}
@media screen and (max-width: 768px) {
    /* ... outros estilos mobile ... */

    .google-badge-img {
        max-width: 95%; /* Quase largura total no celular */
        margin-bottom: 15px;
    }
    
    .google-card {
        padding: 20px; /* Reduz o padding para a imagem aparecer maior no celular */
    }
}
/* 8. RODAPÉ */
footer { 
    padding: 60px 20px; 
    background: rgba(0,0,0,0.5); 
    border-top: 1px solid rgba(255,255,255,0.2); 
}

footer a:hover .fa-github {
    color: var(--marrom);
    transform: scale(1.2);
}

/* 9. RESPONSIVIDADE (MOBILE) */
@media screen and (max-width: 768px) {
    /* Hero e Navbar */
    .hero {
        height: 50vh;
        background-attachment: scroll;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: var(--vinho);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .bar {
        width: 25px;
        height: 3px;
        background: var(--branco);
        margin: 5px;
        transition: 0.3s;
        display: block;
    }

    /* Animação X do hamburger */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Conteúdo Mobile */
    .card-instrutor { text-align: center; justify-content: center; }
    .instrutor-texto h2 { font-size: 2rem; }
    .titulo-secao { font-size: 2.2rem; }

    .google-badge-img {
        max-width: 90%;
    }
}

/* Ajuste para os cards de vídeo locais */
.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s ease;
    width: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--marrom);
    background: rgba(255, 255, 255, 0.1);
}

.video-card video {
    width: 100%;
    display: block;
    aspect-ratio: 9 / 16; /* Formato vertical (Reels) */
    object-fit: cover;
    background: #000;
}

.video-info {
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.video-info p {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--branco);
    margin: 0;
}

/* Botão especial de voltar na navbar */
.btn-voltar {
    background: var(--marrom);
    border-radius: 5px;
    margin-left: 10px !important;
}

.btn-voltar:hover {
    background: var(--branco) !important;
    color: var(--vinho) !important;
}