/* ==========================================================================
   1. GERAL & VARIÁVEIS
   ========================================================================== */
:root {
    --primary-color: #0D1B2A;    /* Azul Escuro (Fundo) */
    --secondary-color: #0077B6; /* Azul Destaque */
    --accent-color: #FFD700;     /* Dourado/Amarelo para CTAs */
    --accent-color-darker: #E5C100;
    --light-bg: #F8F9FA;         /* Fundo Claro (Quase Branco) */
    --text-light: #EAEAEA;
    --text-dark: #343A40;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --container-width: 1100px;
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. COMPONENTES REUTILIZÁVEIS
   ========================================================================== */
.container { width: 90%; max-width: var(--container-width); margin: 0 auto; padding: 80px 0; }
.narrow-container { max-width: 800px; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-color); font-weight: 400; line-height: 1.2; margin-bottom: 20px; letter-spacing: 1px;}
h2 { font-size: 3rem; text-align: center; }
h3 { font-size: 1.8rem; color: var(--secondary-color); }
h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-dark);}
p { margin-bottom: 15px; }
strong { color: var(--secondary-color); font-weight: 700; }

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-darker));
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: var(--transition-speed);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: none;
    cursor: pointer;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 7px 20px rgba(255, 215, 0, 0.5); }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: 0.1s; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   3. ESTILOS DAS SEÇÕES (Mobile-First)
   ========================================================================== */

/* --- SEÇÃO: HERÓI (NOVA ESTRUTURA) --- */
.hero-section {
    background-color: var(--primary-color);
    background-image: url('images/background.png');
    background-attachment: fixed;
    color: var(--text-light);
    text-align: center;
    min-height: 100vh;      /* <-- ADICIONE ESTA LINHA */
    display: flex;           /* <-- ADICIONE ESTA LINHA */
    align-items: center;     /* <-- ADICIONE ESTA LINHA */    

    /* ADICIONE ESTAS 2 LINHAS PARA CORRIGIR */
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-container {
    padding-top: 60px;
    padding-bottom: 60px;
}
.hero-content h1 { color: var(--text-light); font-size: 3rem; }
.hero-content h1 .main-subtitle {
    display: block;
    color: var(--text-light);
    opacity: 0.9;
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 10px;
}
.hero-content .hero-description { font-size: 1.1rem; max-width: 600px; margin: 20px auto; }
.hero-content .hero-description strong { color: var(--accent-color); }
.workshop-tags { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 20px; }
.tag { background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); color: var(--text-light); border: 1px solid rgba(255, 255, 255, 0.5); padding: 5px 15px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.tag-secondary { margin-top: 25px; }
.cta-group { margin-top: 20px; width: 100%; max-width: 400px; margin-left: auto; margin-right: auto;}
.cta-group .cta-button { border-radius: var(--border-radius); width: 100%; }
.progress-bar-wrapper { margin-top: 15px; text-align: center; }
.progress-bar-wrapper p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 5px; }
.progress-bar-inner { width: 100%; height: 8px; background-color: rgba(0,0,0,0.3); border-radius: 50px; position: relative; margin: 0 auto; overflow: hidden; }
.progress-bar-inner::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 97%; border-radius: 50px; background: linear-gradient(90deg, var(--accent-color), var(--accent-color-darker)); }

/* A coluna da imagem fica escondida no mobile */
.hero-image-column {
    display: none;
}

/* --- SEÇÕES DE CONTEÚDO --- */
.content-section-dark { background-color: var(--primary-color); color: var(--text-light); }
.content-section-dark h2, .content-section-dark strong { color: var(--accent-color); }
.section-subtitle { text-align: center; max-width: 700px; margin: -15px auto 40px auto; color: #6c757d; font-size: 1.1rem; }
.content-section-dark .section-subtitle { color: #ced4da; }

.features-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.feature-card { background-color: #fff; border: 1px solid #eee; padding: 30px; border-radius: var(--border-radius); transition: var(--transition-speed); box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; }
.content-section-dark .feature-card { background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }

.checklist { list-style-type: none; padding-left: 0; }
.checklist li { padding-left: 35px; position: relative; margin-bottom: 20px; font-size: 1.1rem; }
.checklist li::before { content: '✔'; color: var(--accent-color); font-weight: bold; position: absolute; left: 0; top: -3px; font-size: 1.5rem; }
.benefits-list li::before { content: '🚀'; }
.alternative-solution { margin-top: 40px; text-align: center; font-size: 1.2rem; }
.alternative-solution strong { color: #fff; }
/* ADICIONE ESTA NOVA REGRA ABAIXO */
#dores .cta-button {
    display: block;
    margin: 40px auto 0 auto;
}

.parallax-bg {
    background-image: url('images/background.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
    position: relative;
}
.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary-color);
    opacity: 0.95;
}
.parallax-bg .container { position: relative; z-index: 2; }


/* SEÇÃO: Palestrantes */
.speakers-carousel {
    padding: 0 40px; /* Espaço para as setas de navegação não sobreporem o conteúdo */
    margin: 0 -40px; /* Compensa o padding para alinhar com o container */
}

.swiper-slide {
    height: auto; /* Garante que os slides se ajustem à altura do conteúdo */
    padding-bottom: 20px; /* Espaço extra caso a paginação fique abaixo */
}

.speaker-card {
    height: 100%; /* Faz todos os cards terem a mesma altura dentro do slide */
}

/* Customização das setas de navegação */
.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color);
}
.speaker-card { background-color: var(--light-bg); padding: 30px; border-radius: var(--border-radius); text-align: center; color: var(--text-dark);}
.speaker-card h3 { color: var(--primary-color); font-size: 1.5rem; }
.speaker-card h3 small { font-size: 0.9rem; color: #6c757d; display: block; font-family: var(--font-body); }
.speaker-card h4 { color: var(--secondary-color); font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0; }
.speaker-image-placeholder { width: 150px; height: 150px; border-radius: 50%; background-color: #ced4da; margin: 0 auto 20px auto; border: 4px solid var(--accent-color); }
.speaker-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover; /* Garante que a foto preencha o círculo sem distorcer */
    margin: 0 auto 20px auto;
    border: 4px solid var(--accent-color);
}

/* SEÇÃO: Oferta */
.offer-section { text-align: center; background-color: var(--light-bg); }
.price-box { border: 2px solid var(--accent-color); padding: 30px; border-radius: var(--border-radius); margin: 40px auto; max-width: 500px; }
.price-box h3 { color: var(--text-dark); margin: 0 0 10px 0; font-size: 1.5rem; font-family: var(--font-body); letter-spacing: 0; font-weight: 400; }
.price-tag { font-family: var(--font-heading); font-size: 4rem; color: var(--primary-color); margin-bottom: 10px; }
.secure-text { font-size: 0.9rem; color: #aaa; margin-top: 15px; }

/* RODAPÉ */
footer { background-color: var(--primary-color); text-align: center; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { font-family: var(--font-heading); color: var(--text-light); font-size: 1.5rem; letter-spacing: 1px; margin-bottom: 15px; }
footer p { margin: 0; color: #888; }

/* ==========================================================================
   4. MEDIA QUERIES (DESKTOP)
   ========================================================================== */

   @media (min-width: 992px) {
    .hero-section {
        text-align: left;
    }
    .hero-container {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .hero-layout {
        display: flex;
        align-items: center;
        gap: 60px;
    }
    .hero-content {
        flex: 1.2; /* A coluna de texto ocupa um pouco mais de espaço */
    }
    .hero-content h1 { font-size: 4.5rem; }
    .hero-content h1 .main-subtitle { font-size: 1.8rem; }
    .workshop-tags { align-items: flex-start; }
    .cta-group, .hero-content .hero-description {
        margin-left: 0;
        margin-right: 0;
    }

    /* Estilos da coluna da imagem que aparece no desktop */
    .hero-image-column {
        display: block;
        flex: 0.8; /* A coluna da imagem ocupa um pouco menos de espaço */
        aspect-ratio: 3 / 4; /* Proporção de 3:4 */
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .hero-image-column img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Garante que a imagem preencha o container sem distorcer */
    }
}

@media (min-width: 1024px) {
    .hero-container > h1 { font-size: 4.5rem; }
    .hero-container h1 .main-subtitle { font-size: 2rem; }
}