/* style.css - VERSÃO FINAL (Modal com Máscara + Responsividade Completa) */

/* =========================
  VARIÁVEIS GLOBAIS E RESET
  =========================
*/
:root {
    --bg-dark: #0F0F0F;
    --primary-brand: #bc8a5e; /* Cor M3X Ouro/Bronze */
    --text-light: #FFFFFF;
    --text-gray: #C4C4C4;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden; 
}

/* =========================
  CLASSES UTILITÁRIAS GLOBAIS
  =========================
*/
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.section-content {
    position: relative;
    z-index: 2;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.1;
}

/* Estilo base para todas as divs de fundo */
.hero-background,
.authority-background,
.pitch-background,
.faq-background,
.testimonials-background,
.experts-background,
.course-content-background { 
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.2; 
}

.cta-button {
    position: relative; 
    overflow: hidden;   
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--primary-brand); 
    color: #000; 
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    animation: pulse-button 2s infinite ease-in-out;
    animation-delay: 1s;
}
.cta-button .icon-btn { width: 20px; height: 20px; transition: transform 0.3s ease; }
.cta-button:hover { 
    transform: scale(1.05); 
    box-shadow: 0 5px 20px rgba(188, 138, 94, 0.3); 
    animation-play-state: paused; 
}
.cta-button:hover .icon-btn { transform: translateX(5px); }
.icon { width: 16px; height: 16px; vertical-align: middle; margin-right: 6px; }

.tag-headline {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-brand);
    letter-spacing: 1px;
    background-color: rgba(188, 138, 94, 0.1);
    border: 1px solid rgba(188, 138, 94, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
}

/* =========================
  SEÇÃO 1: HERO
  =========================
*/
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px 20px;
    overflow: hidden;
    text-align: center;
}
.hero-background {
    background-image: url('img/fundo-hero.png');
    /* opacity: 0.2;  Você comentou, eu mantive */
}
.hero-nav { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 24px; z-index: 10; }
.hero-nav a { color: var(--text-gray); text-decoration: none; font-size: 0.8rem; font-weight: 600; transition: color 0.3s ease; }
.hero-nav a:hover { color: var(--text-light); }
.hero-nav a.nav-logo { color: var(--text-light); font-weight: 700; font-size: 1rem; letter-spacing: 1px; }

.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 700px; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-tags span { border: 1px solid rgba(188, 138, 94, 0.5); padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; color: var(--primary-brand); }
.hero-content h1 { font-size: 3rem; font-weight: 600; color: var(--text-light); line-height: 1.2; }
.hero-content h1 strong { color: var(--primary-brand); font-weight: 700; }
.hero-content p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.6; max-width: 600px; }
.scroll-down-icon { position: absolute; bottom: 30px; z-index: 2; opacity: 0.7; }
.scroll-down-icon img {
    width: 32px;
    height: 32px;
    animation: bounce 1.5s infinite ease-in-out; 
}

@media (max-width: 900px) {
    .hero-background { 
        background-position: center center;
        background-size: cover;
        /* opacity: 0.2;  Mantido comentado como no seu original */
    }
    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .star-graphic { top: 20px; right: 5%; width: 50px; }
    .money-graphic { display: none; }
    
    .diff-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .experts-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Carrossel de Vídeo (Tablet) */
    .carousel-slide {
        flex-basis: calc(50% - 15px); /* 2 slides */
    }
    .carousel-container {
        padding: 0; /* Remove o padding no tablet */
    }
    .carousel-nav {
        display: none; /* Esconde as setas, usa o "arrastar" */
    }
}

@media (max-width: 768px) {
    .hero-nav a:not(.nav-logo) { display: none; }
    .work-section { padding: 80px 0; }
    .work-content { align-items: center; text-align: center; }
    .checklist { align-items: flex-start; text-align: left; }
    .work-content h2 { font-size: 2rem; }
    
    .authority-header { flex-direction: column; text-align: center; }
    .authority-text { align-items: center; }
    .authority-icon { text-align: center; }
    .authority-header h2 { font-size: 1.8rem; }
    
    /* Galeria em Leque (Tablet) */
    .authority-gallery { min-height: 350px; }
    .gallery-item { width: 200px; }
    .fan-in.is-visible:nth-child(1) { transform: translateX(-90px) rotate(-10deg); }
    .fan-in.is-visible:nth-child(2) { transform: translateX(-30px) rotate(-3deg); }
    .fan-in.is-visible:nth-child(3) { transform: translateX(30px) rotate(3deg); }
    .fan-in.is-visible:nth-child(4) { transform: translateX(90px) rotate(10deg); }
    .fan-in.is-visible:nth-child(1):hover { transform: translateX(-90px) rotate(-10deg) scale(1.05); }
    .fan-in.is-visible:nth-child(2):hover { transform: translateX(-30px) rotate(-3deg) scale(1.05); }
    .fan-in.is-visible:nth-child(3):hover { transform: translateX(30px) rotate(3deg) scale(1.05); }
    .fan-in.is-visible:nth-child(4):hover { transform: translateX(90px) rotate(10deg) scale(1.05); }

    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    
    .diff-content { align-items: center; text-align: center; }
    .diff-content h2 { font-size: 2.2rem; }
    .diff-table { padding: 16px; }
    
    .pitch-header h2 { font-size: 2.2rem; }
    .pitch-card { padding: 30px 24px; }
    .price { font-size: 3.5rem; }

    .faq-intro { text-align: center; align-items: center; }
    .faq-intro h2 { font-size: 2.2rem; }
    
    .testimonials-section .section-title { font-size: 2.2rem; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .experts-section .section-title { font-size: 2.2rem; }
    
    .video-testimonials-header h2 { font-size: 2.2rem; }
    
    .bottom-marquee { margin-top: 60px; margin-bottom: 60px; }
    .bottom-marquee .marquee-content { font-size: 1.2rem; gap: 30px; }
    .bottom-marquee .icon-small { width: 20px; height: 20px; }
}

/* =========================
  BANNER MARQUEE
  =========================
*/
.marquee-banner { width: 100%; background-color: #1A1A1A; border-top: 1px solid var(--primary-brand); border-bottom: 1px solid var(--primary-brand); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: scrollHorizontal 30s linear infinite; }
.marquee-content span { font-size: 1rem; font-weight: 600; color: var(--primary-brand); margin-right: 40px; display: inline-flex; align-items: center; gap: 8px; }
.marquee-content .icon-rocket { width: 18px; height: 18px; vertical-align: middle; }
@keyframes scrollHorizontal { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }

/* =========================
  SEÇÃO 2: WORK (IDEAL PARA VOCÊ)
  =========================
*/
.work-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-image: url('img/fundo-hero.png');
    background-size: cover;
    background-position: center;
}
.work-content { max-width: 650px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; position: relative; z-index: 2; }
.work-content h2 { font-size: 2.5rem; font-weight: 600; line-height: 1.3; }
.work-content h2 strong { color: var(--primary-brand); font-weight: 700; }
.work-content .tag-headline { background: none; border: none; padding: 0; } 
.checklist { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 10px 0; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: var(--text-gray); line-height: 1.5; }
.icon-check { width: 24px; height: 24px; flex-shrink: 0; }
.floating-graphic { position: absolute; z-index: 1; opacity: 0.8; }
.star-graphic { top: 80px; right: 15%; width: 80px; animation: pulse 4s infinite ease-in-out; }
.money-graphic { bottom: -50px; right: 5%; width: 350px; transform: rotate(15deg); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } }

/* =========================
  SEÇÃO 3: VÍDEO
  =========================
*/
.video-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('img/fundo-video.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2; 
}
.video-cta-text { font-size: 1.1rem; font-weight: 600; color: white; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.video-cta-text img { width: 20px; height: 20px; animation: bounce 1.5s infinite ease-in-out; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.video-player-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 16px; background-color: #000; }
.video-player-wrapper video,
.video-player-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* =========================
  SEÇÃO 4: AUTORIDADE
  =========================
*/
.authority-section {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}
.authority-background{ 
    background-image: url('img/fundo-resultados.png');
    /* opacity: 0.2; */
}
.authority-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 60px; }
.authority-text { flex: 3; display: flex; flex-direction: column; gap: 20px; }
.authority-header .tag-headline { background: none; border: none; padding: 0; }
.authority-header h2 { font-size: 2.2rem; font-weight: 600; line-height: 1.3; }
.authority-header h2 strong { color: var(--primary-brand); font-weight: 700; }
.authority-header p { font-size: 1rem; color: var(--text-gray); line-height: 1.6; max-width: 600px; }
.authority-icon { flex: 1; text-align: right; opacity: 0.5; }
.authority-icon img { width: 100px; height: 100px; }

/* Galeria em Leque */
.authority-gallery { position: relative; display: flex; justify-content: center; align-items: center; min-height: 500px; margin-bottom: 60px; margin-top: 40px; }
.authority-gallery::before { content: ''; position: absolute; top: 50%; left: 50%; width: 90%; max-width: 800px; height: 200px; background-color: #080808; border-radius: 50%; transform: translate(-50%, -50%) rotate(-5deg); opacity: 0.5; z-index: 0; filter: blur(25px); }
.gallery-item { position: absolute; width: 280px; background-color: #1A1A1A; border-radius: 16px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; z-index: 1; }
.gallery-item:hover { z-index: 10; transform: scale(1.05); box-shadow: 0 5px 20px rgba(188, 138, 94, 0.3); }
.gallery-item img { width: 100%; height: auto; display: block; }
.gallery-item figcaption { padding: 16px; font-size: 0.9rem; font-weight: 600; color: var(--text-light); display: flex; align-items: center; gap: 10px; border-top: 1px solid #333; }
.gallery-item figcaption img { width: 18px; height: 18px; }

/* Estatísticas */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 60px; text-align: center; }
.stat-item { padding: 20px; border: 1px solid #333; border-radius: 12px; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--text-light); margin-bottom: 8px; }
.stat-number:hover { color: var(--primary-brand); transition: color 0.3s ease; }
.stat-description { font-size: 0.9rem; color: var(--text-gray); line-height: 1.5; }
.large-cta { width: 100%; max-width: 400px; margin: 0 auto; display: flex; padding: 20px 32px; font-size: 1.1rem; }

/* =============================
  SEÇÃO 5: DIFERENCIAIS
  =============================
*/
.diff-section {
    padding: 100px 0;
    background-color: #000000; 
    position: relative;
    overflow: hidden;
    background-image: url('img/fundo-diferenca.png');
    background-size: cover;
    background-position: center;
}
.diff-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.diff-content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.diff-content h2 { font-size: 2.8rem; font-weight: 600; color: var(--text-light); line-height: 1.3; }
.diff-content h2 strong { color: var(--primary-brand); font-weight: 700; }
.diff-content p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.6; }
.diff-table { background-color: #1A1A1A; border-radius: 16px; padding: 24px; }
.table-row { display: grid; grid-template-columns: auto 40px 40px; gap: 16px; padding: 18px 0; border-bottom: 1px solid #333; align-items: center; }
.table-row:last-child { border-bottom: none; }
.feature-text { font-size: 1rem; color: var(--text-light); font-weight: 600; }
.icon-cell { text-align: center; }
.icon-cell img { width: 24px; height: 24px; }

/* =============================
  SEÇÃO 6: PITCH DE VENDAS
  =============================
*/
.pitch-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pitch-background{
    background-image: url('img/fundo-resultados.png');
    opacity: 0.4; 
}
.pitch-header { max-width: 700px; margin: 0 auto 40px auto; display: flex; flex-direction: column; gap: 20px; }
.pitch-logo-text { font-size: 1.5rem; font-weight: 700; color: var(--primary-brand); letter-spacing: 2px; }
.pitch-header h2 { font-size: 2.8rem; font-weight: 600; line-height: 1.3; }
.pitch-header h2 strong { color: var(--primary-brand); font-weight: 700; }
.pitch-header p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.6; }
.pitch-header p strong { color: var(--text-light); }
.pitch-card { max-width: 500px; margin: 0 auto; background-color: #1A1A1A; border-radius: 24px; padding: 40px; border: 1px solid #333; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.installments { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 8px; }
.price { font-size: 4.5rem; font-weight: 800; color: var(--primary-brand); line-height: 1; margin-bottom: 8px; }
.full-price { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 32px; }
.pitch-cta { width: 100%; padding: 20px 32px; font-size: 1.1rem; }


/* =============================
  SEÇÃO 7: FAQ (DÚVIDAS) - NATIVO
  =============================
*/
.faq-section {
    padding: 100px 0;
    background-color: #000; 
    position: relative;
    overflow: hidden;
}
.faq-background{
    background-image: url('img/fundo-faq.png');
    opacity: 0.2; 
}
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: flex-start; }
.faq-intro { display: flex; flex-direction: column; gap: 24px; }
.faq-graphic { width: 100px; height: 100px; opacity: 0.5; }
.faq-intro h2 { font-size: 2.8rem; font-weight: 600; line-height: 1.3; }
.faq-intro h2 strong { color: var(--primary-brand); font-weight: 700; }
.contact-box { background-color: #1A1A1A; border: 1px solid #333; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-box p { color: var(--text-gray); line-height: 1.6; font-size: 0.9rem; }
.contact-email { color: var(--primary-brand); font-weight: 600; text-decoration: none; transition: color 0.3s ease; }
.contact-email:hover { color: var(--text-light); }

.faq-accordion { width: 100%; }
.faq-item { border-bottom: 1px solid #333; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; width: 100%; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question span { font-size: 1.1rem; font-weight: 600; color: var(--text-light); transition: color 0.3s ease; }
.faq-question:hover span { color: var(--primary-brand); }
.icon-toggle { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item[open] > .faq-question .icon-toggle { transform: rotate(180deg); }
.faq-answer { color: var(--text-gray); line-height: 1.7; font-size: 1rem; padding-bottom: 24px; cursor: default; }
.faq-answer p { margin: 0; }


/* =============================
  SEÇÃO 8: DEPOIMENTOS (TEXTO)
  =============================
*/
.testimonials-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.testimonials-background{
    background-image: url('img/fundo-testemunho.png');
    opacity: 0.5; 
}
.testimonials-section .section-title { font-size: 2.8rem; font-weight: 600; line-height: 1.3; margin-bottom: 20px; max-width: 800px; margin-left: auto; margin-right: auto; }
.testimonials-section .section-title strong { color: var(--primary-brand); font-weight: 700; }
.testimonials-section .section-subtitle { font-size: 1.1rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.testimonial-card { background-color: #1A1A1A; border-radius: 16px; padding: 30px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #2A2A2A; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); }
.testimonial-text { font-size: 1rem; color: var(--text-light); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-brand); flex-shrink: 0; }
.author-name { font-size: 1rem; font-weight: 700; color: var(--primary-brand); margin-bottom: 2px; }
.author-title { font-size: 0.9rem; color: var(--text-gray); }

/* =============================
  SEÇÃO 9: MARQUEE INFERIOR
  =============================
*/
.bottom-marquee { transform: rotate(-2deg); margin-top: 80px; margin-bottom: 80px; padding: 12px 0; border-top: none; border-bottom: none; background-color: transparent; overflow: hidden; }
.bottom-marquee .marquee-content { animation: scrollHorizontal 40s linear infinite; text-transform: uppercase; font-size: 1.8rem; font-weight: 800; color: var(--text-gray); opacity: 0.15; display: inline-flex; align-items: center; gap: 50px; }
.bottom-marquee .marquee-content span { color: inherit; margin-right: 0; }
.bottom-marquee .icon-small { width: 30px; height: 30px; vertical-align: middle; }

/* =============================
  SEÇÃO 10: ESPECIALISTAS
  =============================
*/
.experts-section {
    padding: 100px 0;
    background-color: #000;
    position: relative;
    overflow: hidden;
}
.experts-background{
    background-image: url('img/fundo-m3x.png');
    opacity: 0.2; 
}
.experts-section .section-title { text-align: center; font-size: 2.8rem; font-weight: 600; line-height: 1.3; margin-bottom: 20px; }
.experts-section .section-title strong { color: var(--primary-brand); font-weight: 700; }
.experts-section .section-subtitle { text-align: center; font-size: 1.1rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
.experts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.expert-card { text-align: left; background-color: transparent; }
.expert-photo { width: 100%; height: auto; aspect-ratio: 1 / 1.1; object-fit: cover; border-radius: 12px; margin-bottom: 24px; transition: transform 0.3s ease, opacity 0.3s ease; filter: grayscale(80%); }
.expert-card:hover .expert-photo { transform: scale(1.03); opacity: 0.9; filter: grayscale(0%); }
.expert-name { font-size: 1.5rem; font-weight: 700; color: var(--primary-brand); margin-bottom: 8px; }
.expert-title { font-size: 0.9rem; font-weight: 600; color: var(--text-gray); display: block; margin-bottom: 12px; }
.expert-bio { font-size: 1rem; color: var(--text-light); line-height: 1.6; }


/* =============================
  SEÇÃO 11: DEPOIMENTOS EM VÍDEO
  =============================
*/
.video-testimonials-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: #000;
    background-image: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('img/fundo-video2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.video-testimonials-header { text-align: center; margin-bottom: 60px; }
.video-testimonials-header .tag-headline { background: none; border: none; padding: 0; margin-bottom: 8px; }
.video-testimonials-header h2 { font-size: 2.8rem; font-weight: 600; line-height: 1.3; }
.video-testimonials-header h2 strong { color: var(--primary-brand); font-weight: 700; }

.carousel-container { position: relative; padding: 0 40px; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; list-style: none; padding: 20px 0; gap: 30px; scrollbar-width: none; -ms-overflow-style: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 calc(33.333% - 20px); scroll-snap-align: center; scroll-snap-stop: always; }
.video-placeholder-link { text-decoration: none; }
.video-placeholder { position: relative; width: 100%; aspect-ratio: 4 / 5; background-color: #1A1A1A; border: 1px solid #333; border-radius: 40px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform 0.3s ease; }
.video-placeholder-link:hover .video-placeholder { transform: scale(1.03); }
.icon-play { width: 60px; height: 60px; opacity: 0.8; transition: all 0.3s ease; }
.video-placeholder-link:hover .icon-play { opacity: 1; transform: scale(1.1); }
.video-author-name { font-size: 1.2rem; font-weight: 600; color: var(--text-light); text-align: center; margin-top: 20px; transition: color 0.3s ease; }
.video-author-title { font-size: 1rem; color: var(--text-gray); text-align: center; margin-top: 4px; }
.video-placeholder-link:hover .video-author-name { color: var(--primary-brand); }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.1); border: 1px solid var(--primary-brand); border-radius: 50%; width: 50px; height: 50px; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease; }
.carousel-nav:hover { background-color: var(--primary-brand); }
.carousel-nav:hover img { filter: brightness(0); }
.carousel-nav img { width: 24px; height: 24px; }
.nav-prev { left: 0; }
.nav-next { right: 0; }

/* =============================
  SEÇÃO 12: PILARES & MENTORES
  =============================
*/
.course-content-section {
    padding: 100px 0;
    background-color: #000; 
    position: relative;
    overflow: hidden;
}
.course-content-background {
    background-image: url('img/fundo-curso.png'); 
    opacity: 0.2; 
}
.course-content-section .section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}
.course-content-section .section-title strong {
    color: var(--primary-brand);
    font-weight: 700;
}
.course-content-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}
.course-card {
    background-color: #1A1A1A; 
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-brand);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.card-mentor-photo {
    width: 60px;  
    height: 60px;
    border-radius: 50%; 
    object-fit: cover;
    border: 2px solid var(--primary-brand); 
}
.card-tag {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-brand);
}
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 45px; 
}
.card-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* =============================
  MODAL DE INSCRICÃO (POPUP)
  =============================
*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(5px); 
    z-index: 2000; 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}
.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    position: relative;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s ease-out;
}
.modal-overlay.is-visible .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal-close img {
    width: 28px;
    height: 28px;
}
.modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}
.modal-brand-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}
.modal-brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-brand);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 25px;
}
.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: 35px;
}
.modal-title strong {
    color: var(--primary-brand);
}
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.form-group {
    position: relative;
}
.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"] {
    width: 100%;
    padding: 15px 20px;
    background-color: #2A2A2A;
    border: 1px solid #444;
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.modal-form input::placeholder {
    color: var(--text-gray);
    opacity: 0.7;
}
.modal-form input:focus {
    border-color: var(--primary-brand);
    box-shadow: 0 0 0 3px rgba(188, 138, 94, 0.3);
}
/* Estilo do Telefone com Máscara */
.phone-split-group {
    display: flex;
    gap: 10px; 
}
.phone-split-group input[type="tel"]#ddd {
    width: 80px; 
    flex-shrink: 0;
    text-align: center;
}
.phone-split-group input[type="tel"]#telefone {
    width: 100%;
    flex-grow: 1; 
}

.modal-submit-btn {
    width: 100%;
    padding: 18px 25px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    color: #000;
    background-color: var(--primary-brand);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    animation: none; 
}
.modal-submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(188, 138, 94, 0.4);
}
.modal-submit-btn.secondary-btn {
    background-color: #333;
    color: var(--primary-brand);
    border: 1px solid var(--primary-brand);
    margin-top: 10px;
}
.modal-submit-btn.secondary-btn:hover {
    background-color: var(--primary-brand);
    color: #000;
    box-shadow: 0 5px 15px rgba(188, 138, 94, 0.4);
}
.modal-info-text {
    font-size: 0.85rem;
    color: #FF5A5A;
    line-height: 1.5;
    margin-top: 15px;
}
.modal-info-text strong {
    font-weight: 700;
    color: #FFF;
}


/* =============================
  BOTÃO FLUTUANTE DE WHATSAPP
  =============================
*/
.whatsapp-float-button {
    position: fixed; 
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 1000; 
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2.5s infinite ease-in-out;
}
.whatsapp-float-button img {
    width: 32px;
    height: 32px;
}
.whatsapp-float-button:hover {
    transform: scale(1.1);
    animation: none; 
}
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5); 
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}


/* =============================
  EFEITO FINAL: SHINE & PULSE
  =============================
*/
.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 80%; 
    height: 200%; 
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg); 
    animation: shine-effect 4s infinite;
    animation-delay: 2s;
}
@keyframes shine-effect {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% { 
        left: 120%;
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}
@keyframes pulse-button {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.02); 
        box-shadow: 0 6px 16px rgba(188, 138, 94, 0.5); 
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}


/* =========================
  ANIMAÇÕES DE SCROLL (JS)
  =========================
*/
.animate-on-scroll { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in { transform: scale(0.9); }
.fade-in-up { transform: translateY(30px); }
.fade-in-down { transform: translateY(-30px); }
.float-up { transform: translateY(50px) rotate(15deg); }

.animate-on-scroll.is-visible { opacity: 1; }
.fade-in.is-visible { transform: scale(1); }
.fade-in-up.is-visible, .fade-in-down.is-visible { transform: translateY(0); }
.float-up.is-visible { transform: translateY(0) rotate(15deg); }

/* Animação 'Fan-in' para Galeria */
.fan-in { transform: translateY(20px) scale(0.8); opacity: 0; }
.fan-in.is-visible:nth-child(1) { opacity: 1; transform: translateX(-180px) rotate(-10deg); z-index: 1; }
.fan-in.is-visible:nth-child(2) { opacity: 1; transform: translateX(-60px) rotate(-3deg); z-index: 2; }
.fan-in.is-visible:nth-child(3) { opacity: 1; transform: translateX(60px) rotate(3deg); z-index: 2; }
.fan-in.is-visible:nth-child(4) { opacity: 1; transform: translateX(180px) rotate(10deg); z-index: 1; }
.fan-in.is-visible:nth-child(1):hover { transform: translateX(-180px) rotate(-10deg) scale(1.05); }
.fan-in.is-visible:nth-child(2):hover { transform: translateX(-60px) rotate(-3deg) scale(1.05); }
.fan-in.is-visible:nth-child(3):hover { transform: translateX(60px) rotate(3deg) scale(1.05); }
.fan-in.is-visible:nth-child(4):hover { transform: translateX(180px) rotate(10deg) scale(1.05); }


/* ======================================================
/* ======================================================
  RESPONSIVIDADE (MOBILE)
  ======================================================
  ======================================================
*/

/* =========================
  TABLET (até 900px)
  =========================
*/
@media (max-width: 900px) {
    /* --- HERO --- */
    .hero-background { 
        background-position: center center;
        background-size: cover;
    }
    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    
    /* --- WORK --- */
    .star-graphic { top: 20px; right: 5%; width: 50px; }
    .money-graphic { display: none; }
    
    /* --- DIFERENCIAIS --- */
    .diff-grid { grid-template-columns: 1fr; }
    
    /* --- FAQ --- */
    .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* --- ESPECIALISTAS --- */
    .experts-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* --- PILARES/MENTORES (CURSO) --- */
    .course-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }

    /* --- Carrossel de Vídeo (Tablet) --- */
    .carousel-slide {
        flex-basis: calc(50% - 15px); /* 2 slides */
    }
    .carousel-container {
        padding: 0; 
    }
    .carousel-nav {
        display: none; 
    }
}

/* =========================
  MOBILE GRANDE (até 768px)
  =========================
*/
@media (max-width: 768px) {
    /* --- HERO --- */
    .nav-links {
        display: none; /* Esconde os links */
    }
    .hero-nav {
        justify-content: center; /* Centraliza o logo */
    }

    /* --- WORK --- */
    .work-section { padding: 80px 0; }
    .work-content { align-items: center; text-align: center; }
    .checklist { align-items: flex-start; text-align: left; }
    .work-content h2 { font-size: 2rem; }
    
    /* --- AUTORIDADE --- */
    .authority-header { flex-direction: column; text-align: center; }
    .authority-text { align-items: center; }
    .authority-icon { text-align: center; }
    .authority-header h2 { font-size: 1.8rem; }
    .authority-gallery { min-height: 350px; }
    .gallery-item { width: 200px; }
    .fan-in.is-visible:nth-child(1) { transform: translateX(-90px) rotate(-10deg); }
    .fan-in.is-visible:nth-child(2) { transform: translateX(-30px) rotate(-3deg); }
    .fan-in.is-visible:nth-child(3) { transform: translateX(30px) rotate(3deg); }
    .fan-in.is-visible:nth-child(4) { transform: translateX(90px) rotate(10deg); }
    .fan-in.is-visible:nth-child(1):hover { transform: translateX(-90px) rotate(-10deg) scale(1.05); }
    .fan-in.is-visible:nth-child(2):hover { transform: translateX(-30px) rotate(-3deg) scale(1.05); }
    .fan-in.is-visible:nth-child(3):hover { transform: translateX(30px) rotate(3deg) scale(1.05); }
    .fan-in.is-visible:nth-child(4):hover { transform: translateX(90px) rotate(10deg) scale(1.05); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    
    /* --- DIFERENCIAIS --- */
    .diff-content { align-items: center; text-align: center; }
    .diff-content h2 { font-size: 2.2rem; }
    .diff-table { padding: 16px; }
    
    /* --- PITCH --- */
    .pitch-header h2 { font-size: 2.2rem; }
    .pitch-card { padding: 30px 24px; }
    .price { font-size: 3.5rem; }

    /* --- FAQ --- */
    .faq-intro { text-align: center; align-items: center; }
    .faq-intro h2 { font-size: 2.2rem; }
    
    /* --- DEPOIMENTOS (TEXTO) --- */
    .testimonials-section .section-title { font-size: 2.2rem; }
    .testimonials-grid { grid-template-columns: 1fr; }

    /* --- ESPECIALISTAS --- */
    .experts-section .section-title { font-size: 2.2rem; }
    
    /* --- DEPOIMENTOS (VÍDEO) --- */
    .video-testimonials-header h2 { font-size: 2.2rem; }
    
    /* --- PILARES/MENTORES (CURSO) --- */
    .course-content-section .section-title {
        font-size: 2.2rem;
    }

    /* --- MARQUEE --- */
    .bottom-marquee { margin-top: 60px; margin-bottom: 60px; }
    .bottom-marquee .marquee-content { font-size: 1.2rem; gap: 30px; }
    .bottom-marquee .icon-small { width: 20px; height: 20px; }
}

/* =========================
  MOBILE PEQUENO (até 480px)
  =========================
*/
@media (max-width: 480px) {
    /* --- AUTORIDADE --- */
    .authority-gallery { min-height: 280px; }
    .gallery-item { width: 150px; }
    .gallery-item figcaption { font-size: 0.8rem; padding: 10px; }
    .fan-in.is-visible:nth-child(1) { transform: translateX(-75px) rotate(-10deg); }
    .fan-in.is-visible:nth-child(2) { transform: translateX(-25px) rotate(-3deg); }
    .fan-in.is-visible:nth-child(3) { transform: translateX(25px) rotate(3deg); }
    .fan-in.is-visible:nth-child(4) { transform: translateX(75px) rotate(10deg); }
    .fan-in.is-visible:nth-child(1):hover { transform: translateX(-75px) rotate(-10deg) scale(1.05); }
    .fan-in.is-visible:nth-child(2):hover { transform: translateX(-25px) rotate(-3deg) scale(1.05); }
    .fan-in.is-visible:nth-child(3):hover { transform: translateX(25px) rotate(3deg) scale(1.05); }
    .fan-in.is-visible:nth-child(4):hover { transform: translateX(75px) rotate(10deg) scale(1.05); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-number { font-size: 2rem; }
    
    /* --- DIFERENCIAIS --- */
    .table-row { grid-template-columns: auto 30px 30px; gap: 10px; padding: 14px 0; }
    .feature-text { font-size: 0.9rem; }
    
    /* --- DEPOIMENTOS (TEXTO) --- */
    .testimonial-card { padding: 25px; }
    .testimonial-text { font-size: 0.95rem; }
    .author-name { font-size: 0.9rem; }
    .author-title { font-size: 0.8rem; }

    /* --- ESPECIALISTAS --- */
    .experts-grid { grid-template-columns: 1fr; }
    .expert-card { text-align: center; }

    /* --- PILARES/MENTORES (CURSO) --- */
    .course-grid {
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .card-title {
        font-size: 1rem;
        min-height: 0; 
    }

    /* --- Carrossel de Vídeo (Mobile) --- */
    .carousel-slide {
        flex-basis: 100%;
    }
    .carousel-track {
        padding: 0;
    }
    .carousel-nav {
        display: flex;
        width: 40px;
        height: 40px;
    }
    .carousel-container {
        padding: 0 40px;
    }
    .nav-prev {
        left: 0px;
    }
    .nav-next {
        right: 0px;
    }

    /* --- MODAL (POPUP) --- */
    .modal-content {
        padding: 25px;
        border-radius: 12px;
    }
    .modal-close img {
        width: 24px;
        height: 24px;
    }
    .modal-brand-logo {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    .modal-form {
        gap: 15px;
        margin-bottom: 25px;
    }
    .modal-form input[type="text"],
    .modal-form input[type="email"],
    .modal-form input[type="tel"] {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    /* Remove a regra de DDD dividido */
    .phone-split-group input[type="tel"]#ddd {
        width: 70px; 
    }

    .modal-submit-btn {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    .modal-info-text {
        font-size: 0.75rem;
    }
}

