/* =================================================================== */
/* CONFIGURAÇÕES GLOBAIS E VARIÁVEIS DE COR                           */
/* =================================================================== */

:root {
    --brand-primary: #ffd726;
    --brand-dark: #121212;
    --brand-surface: #1E1E1E;
    --brand-text-primary: #FFFFFF;
    --brand-text-secondary: #A0A0A0;
    --brand-border: #333333;
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset Básico e Estilos do Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--brand-dark);
    color: var(--brand-text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.max-width-large {
    max-width: 800px;
}

/* =================================================================== */
/* HERO SECTION (Topo do Site)                                         */
/* =================================================================== */

.hero {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.85)), url(img/hero.background.png) no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}

.hero-logo {
    width: 160px;
    height: auto;
    margin-bottom: 3rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--brand-primary);
    max-width: 800px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--brand-text-secondary);
    max-width: 800px;
    margin-top: 1.5rem;
    text-align: center;
}

.hero-legend {
    font-size: 0.9rem;
    color: var(--brand-text-secondary);
    margin-top: 1rem;
}

/* =================================================================== */
/* BOTÕES (CTA - Call to Action)                                       */
/* =================================================================== */

.cta-button {
    display: inline-block;
    background-color: var(--brand-primary);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2.5rem;
    transition: transform 0.2s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button.large {
    font-size: 1.2rem;
    padding: 1.2rem 4rem;
}

/* =================================================================== */
/* SEÇÕES GERAIS                                                       */
/* =================================================================== */

section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.pain-section {
    background-color: var(--brand-surface);
}

.guide-section {
    background-color: var(--brand-dark);
}

.cta-final-section {
    background-color: var(--brand-surface);
}

.cta-final-subtitle {
    color: var(--brand-text-secondary);
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

/* =================================================================== */
/* GRID DE "DORES"                                                     */
/* =================================================================== */

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.pain-card {
    border: 1px solid var(--brand-border);
    padding: 1.5rem;
    border-radius: 8px;
}

.pain-card h3 {
    font-family: var(--font-heading);
    color: var(--brand-primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pain-card p {
    color: var(--brand-text-secondary);
}

/* =================================================================== */
/* SEÇÃO DO GUIA (WILSON) - Layout de 2 Colunas                        */
/* =================================================================== */

.guide-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.guide-text-column {
    text-align: center;
}

.guide-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.guide-text {
    font-size: 1.15rem;
    color: var(--brand-text-secondary);
}

.guide-text p {
    margin-bottom: 1.5rem;
}

.guide-text strong {
    color: var(--brand-primary);
}

/* =================================================================== */
/* SEÇÃO "O QUE VOCÊ VAI APRENDER" (NOVO)                              */
/* =================================================================== */

.learn-section {
    background-color: var(--brand-dark);
}

.section-cta-container {
    text-align: center; /* Centraliza o botão */
    margin-top: 4rem; /* Cria um espaço entre o grid acima e o botão */
}

.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.learn-column {
    padding: 2rem;
    border-radius: 8px;
}

.learn-column h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.learn-column ul {
    list-style: none;
}

.learn-column ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.learn-column ul li::before {
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    top: -3px;
}

.learn-column-negative {
    background-color: #2a1f1f;
    border: 1px solid #5c3b3b;
}

.learn-column-negative ul li::before {
    content: '✖';
    color: #ef5350;
}

.learn-column-positive {
    background-color: #1f2a1f;
    border: 1px solid #3b5c3b;
}

.learn-column-positive ul li::before {
    content: '✔';
    color: #66bb6a;
}

/* =================================================================== */
/* SEÇÃO "COMO FUNCIONA" (NOVO)                                        */
/* =================================================================== */

.how-it-works-section {
    background-color: var(--brand-surface);
}

.how-it-works-grid {
    display: grid;
    /* Cria um grid responsivo que tenta ter 3 colunas */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; /* Aumenta o espaçamento entre os cards */
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    /* Efeito "translúcido" usando RGBA */
    background-color: rgba(18, 18, 18, 0.5); /* Fundo preto com 50% de transparência */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda branca com 10% de transparência */
    border-radius: 12px; /* Bordas um pouco mais arredondadas */
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease; /* Transição suave para o efeito hover */
    backdrop-filter: blur(10px); /* Efeito de vidro fosco para navegadores compatíveis */
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px); /* Eleva o card ao passar o mouse */
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    color: var(--brand-primary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--brand-text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* =================================================================== */
/* RODAPÉ (FOOTER)                                                     */
/* =================================================================== */

.footer {
    padding: 4rem 0;
    color: var(--brand-text-secondary);
}

.footer-logo {
    height: 2rem;
    margin-bottom: 1rem;
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

/* =================================================================== */
/* SEÇÃO "PARA QUEM É" (NOVO)                                          */
/* =================================================================== */

.target-section {
    background-color: var(--brand-dark);
}

.target-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.target-column {
    border: 1px solid var(--brand-border);
    padding: 2.5rem;
    border-radius: 8px;
}

.target-column h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.target-column ul {
    list-style: none;
}

.target-column ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--brand-text-secondary);
}

.target-column ul li::before {
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    top: -3px;
}

.target-column-positive h3 {
    color: #66bb6a;
}
.target-column-positive ul li::before {
    content: '✔';
    color: #66bb6a;
}

.target-column-negative h3 {
    color: #ef5350;
}
.target-column-negative ul li::before {
    content: '✖';
    color: #ef5350;
}

/* =================================================================== */
/* SEÇÃO "JORNADA DE 12 MESES" (NOVO)                                  */
/* =================================================================== */

.journey-section {
    background-color: var(--brand-surface);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.journey-card {
    background-color: var(--brand-dark);
    border: 1px solid var(--brand-border);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.journey-step {
    display: inline-block;
    background-color: var(--brand-primary);
    color: #000;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.journey-card h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.journey-card p {
    color: var(--brand-text-secondary);
}

/* =================================================================== */
/* SEÇÃO "PERGUNTAS FREQUENTES" (NOVO)                                 */
/* =================================================================== */

.faq-section {
    background-color: var(--brand-dark);
}

.faq-item {
    border-bottom: 1px solid var(--brand-border);
}
.faq-item:first-child {
    border-top: 1px solid var(--brand-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--brand-text-primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    text-align: left;
    padding: 1.5rem 1rem;
    cursor: pointer;
    position: relative;
    padding-right: 3rem; /* Espaço para o ícone */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--brand-surface);
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--brand-text-secondary);
}

/* =================================================================== */
/* ANIMAÇÕES COM JAVASCRIPT                                            */
/* =================================================================== */

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================================================================== */
/* AJUSTES PARA TELAS MENORES (Responsividade)                         */
/* =================================================================== */

/* Tablets (até 992px) */
@media (max-width: 992px) {
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Celulares (até 768px) */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
.target-grid, .journey-grid {
    grid-template-columns: 1fr;
}

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .hero-logo {
        width: 140px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-button.large {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .guide-text, .cta-final-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .cta-final-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .learn-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop (993px ou mais) */
@media (min-width: 993px) {
    .guide-container {
        flex-direction: row;
        gap: 4rem;
    }

    .guide-text-column {
        flex: 1;
        text-align: left;
    }

    .guide-section .section-title {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .guide-image-column {
        display: block;
        flex: 1;
    }
}