/* =================================
   Configurações Globais
   ================================= */
:root {
    --cor-fundo: #0a0a0a;
    --cor-fundo-secundaria: #18181b; /* O cinza-escuro do app */
    --cor-verde: #22c55e;
    --cor-verde-hover: #1da34f;
    --cor-texto: #a1a1aa; /* Cinza-claro */
    --cor-titulo: #f4f4f5; /* Branco-cinza */
    --cor-borda: #27272a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Rolagem suave ao clicar nos links */
}

body {
    background: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden; /* Evita scroll horizontal */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--cor-titulo);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--cor-verde);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--cor-verde-hover);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title span {
    color: var(--cor-verde);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}
.section-title h2 {
    font-size: 2.8rem;
}

/* =================================
   Botões (CTA)
   ================================= */
.cta-button, .nav-button {
    background: var(--cor-verde);
    color: #FFFFFF;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--cor-verde);
}
.cta-button:hover, .nav-button:hover {
    background: var(--cor-verde-hover);
    border-color: var(--cor-verde-hover);
    transform: translateY(-2px);
    color: #FFFFFF;
}
.cta-button-secondary {
    background: transparent;
    color: var(--cor-titulo);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--cor-borda);
}
.cta-button-secondary:hover {
    border-color: var(--cor-titulo);
    background: var(--cor-fundo-secundaria);
    color: var(--cor-titulo);
}

/* =================================
   Barra de Navegação (v3)
   ================================= */
.navbar {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--cor-borda);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px; /* Tamanho do logo no DESKTOP */
    display: block;
    transition: max-height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--cor-texto);
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: var(--cor-titulo);
}

/* =================================
   Secção Hero (v2)
   ================================= */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: var(--cor-fundo);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}
.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--cor-texto);
    margin: 1.5rem 0 2.5rem 0;
}
.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.trial-info p {
    font-size: 0.9rem;
    color: var(--cor-texto);
    margin: 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}
.hero-image img {
    max-width: 50%; /* <-- MUDANÇA AQUI: Reduz de 100% para 85% */
    display: block; /* Adicionado para garantir o alinhamento */
    margin: 0 auto;  /* Adicionado para centrar a imagem no seu contentor */
    border-radius: 10px; 
    border: none;
    filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.2));
}

/* =================================
   Funcionalidades (v3 - Com Imagens)
   ================================= */
.features {
    background: var(--cor-fundo-secundaria);
    border-top: 1px solid var(--cor-borda);
    border-bottom: 1px solid var(--cor-borda);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--cor-fundo);
    border: 1px solid var(--cor-borda);
    padding: 0; /* Remove padding antigo */
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden; /* Importante para a imagem */
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--cor-verde);
}

.feature-image {
    width: 100%;
    height: 430px; /* Altura fixa para as imagens */
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--cor-borda);
}
.feature-image img {
    width: 60%;
    height: 100%;
    align-content: center;
    object-fit: cover; /* Garante que a imagem cobre a área */
    filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.2));
}

.feature-card h3 {
    color: var(--cor-titulo);
    margin: 1.5rem 1.5rem 0.5rem 1.5rem; /* Adiciona padding ao texto */
}
.feature-card p {
    margin: 0 1.5rem 1.5rem 1.5rem; /* Adiciona padding ao texto */
    font-size: 0.95rem;
    flex-grow: 1;
}


/* =================================
   CoachFit (v2)
   ================================= */
.coach-fit-container {
    
    display: flex;
    
    align-items: center;
    gap: 4rem;
}
.coach-fit-content {
    flex: 1;
    text-align: left;
}
.coach-fit-image {
    flex: 1;
}
.coach-fit-image img {
    max-width: 65%;
    border-radius: 10px;
    border: none;
    filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.2));
}
.coach-fit .section-title {
    text-align: left;
    margin-bottom: 2rem;
}
.checklist {
    list-style: none;
    margin: 2rem 0;
}
.checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--cor-titulo);
}
.checklist i {
    color: var(--cor-verde);
    width: 20px;
    height: 20px;
}

/* =================================
   Testemunhos (Novo)
   ================================= */
.testimonials {
    background: var(--cor-fundo-secundaria);
    border-bottom: 1px solid var(--cor-borda);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.testimonial-card {
    background: var(--cor-fundo);
    border: 1px solid var(--cor-borda);
    padding: 2rem;
    border-radius: 12px;
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--cor-titulo);
    margin-bottom: 1.5rem;
}
.testimonial-card .author {
    font-weight: 600;
    color: var(--cor-verde);
}

/* =================================
   (NOVO) Whitelabel
   ================================= */
.whitelabel {
    /* Fundo escuro (var(--cor-fundo)) */
    padding-bottom: 40px; /* Menos padding em baixo */
}
.whitelabel-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.whitelabel-content {
    flex: 1;
    text-align: left;
}
.whitelabel-image {
    flex: 1;
    text-align: center;
}
.whitelabel-image img {
    max-width: 100%;
    filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.2));
}
.whitelabel .section-title {
    text-align: left;
    margin-bottom: 2rem;
}
/* Reutiliza o estilo da checklist */
.whitelabel .checklist {
    list-style: none;
    margin: 2rem 0;
}
.whitelabel .checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--cor-titulo);
}
.whitelabel .checklist i {
    color: var(--cor-verde);
    width: 20px;
    height: 20px;
}


/* =================================
   FAQ (Ajuste de Fundo)
   ================================= */
.faq-section {
    /* Adiciona o fundo para criar o padrão "zebra" */
    background: var(--cor-fundo-secundaria);
    border-top: 1px solid var(--cor-borda);
    border-bottom: 1px solid var(--cor-borda);
}

.faq-container {
    max-width: 750px;
    margin: 0 auto;
}
.faq-item {
    background: var(--cor-fundo); /* Altera o fundo para contraste */
    border: 1px solid var(--cor-borda);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden; /* Importante para a animação */
}
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
}
.faq-header h3 {
    margin: 0;
    font-size: 1.2rem;
}
.faq-header i {
    color: var(--cor-texto);
    transition: transform 0.3s ease;
}
.faq-content {
    max-height: 0; /* Começa fechado */
    opacity: 0;
    transition: all 0.4s ease-out;
}
.faq-content p {
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
    border-top: 1px solid var(--cor-borda);
    padding-top: 1.5rem;
}

/* Estado Ativo do FAQ (via JS) */
.faq-item.active .faq-content {
    max-height: 200px; /* Altura suficiente para o texto */
    opacity: 1;
}
.faq-item.active .faq-header i {
    transform: rotate(180deg);
    color: var(--cor-verde);
}

/* =================================
   CTA Final (v2)
   ================================= */
.final-cta {
    background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.8));
    /* (Opcional) Adicione uma imagem de fundo em 'img/' e descomente a linha abaixo */
    /* background-image: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.8)), url('../img/cta-background.jpg'); */
    background-size: cover;
    background-position: center;
    text-align: center;
    background-color: var(--cor-fundo); /* Mudei para escuro */
}
.final-cta h2 {
    font-size: 2.8rem;
}
.final-cta p {
    font-size: 1.25rem;
    color: var(--cor-texto);
    margin-bottom: 2rem;
}

/* =================================
   Rodapé (v2)
   ================================= */
.footer {
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--cor-borda);
    background: var(--cor-fundo-secundaria);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-logo img {
    max-height: 45px;
    margin-bottom: 1rem;
}
.footer-logo p {
    max-width: 250px;
    font-size: 0.9rem;
}
.footer-links h4, .footer-social h4 {
    color: var(--cor-titulo);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.footer-links a, .footer-social a {
    display: block;
    color: var(--cor-texto);
    margin-bottom: 0.75rem;
}
.footer-links a:hover, .footer-social a:hover {
    color: var(--cor-verde);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--cor-borda);
    font-size: 0.9rem;
    color: var(--cor-texto);
}

/* =================================
   Design Responsivo (Mobile)
   ================================= */

@media (max-width: 992px) {
    /* (NOVO) Adiciona o .whitelabel-container aqui */
    .hero-container, .coach-fit-container, .whitelabel-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        order: 2; /* Texto fica em baixo */
    }
    .hero-image {
        order: 1; /* Imagem fica em cima */
        margin-bottom: 2rem;
    }
    .coach-fit-content {
        order: 2;
    }
    .coach-fit-image {
        order: 1;
        margin-bottom: 2rem;
    }
    /* (NOVO) Adiciona o .whitelabel .section-title aqui */
    .coach-fit .section-title, .whitelabel .section-title {
        text-align: center;
    }
    
    /* (NOVO) Regras para o whitelabel no mobile */
    .whitelabel-content {
        order: 2;
    }
    .whitelabel-image {
        order: 1;
        margin-bottom: 2rem;
    }

    .cta-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2, .section-title h2 { font-size: 2rem; }

    .feature-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar .container {
        flex-direction: row; 
        gap: 0;
    }
    
    .logo img {
        max-height: 60px;
    }

    .nav-links {
        display: none; 
    }
    
    .nav-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo p {
        margin: 0 auto 1.5rem auto;
    }
}