/* ============================================================
   CLÍNICA DE MATEMÁTICA — CURSO DE POWER BI
   Template: Landing Page v2.0
   ============================================================ */

/* ===== VARIÁVEIS ===== */
:root {
    /* Fundo: midnight navy — mais profundidade que preto puro */
    --bg-base:          #07091a;
    --bg-section:       #0a0d20;
    --bg-card:          #0e1228;
    --bg-card-hover:    #131830;
    --border:           rgba(255, 255, 255, 0.09);
    --border-pbi:       rgba(245, 158, 11, 0.28);

    /* Amber Power BI */
    --pbi:              #f59e0b;
    --pbi-dark:         #d97706;
    --pbi-glow:         rgba(245, 158, 11, 0.16);
    --pbi-dim:          rgba(245, 158, 11, 0.07);

    /* Textos — ligeiramente mais brilhantes para melhor contraste no navy */
    --text-title:       #f1f5ff;
    --text-body:        #a0b0c8;
    --text-muted:       #5a6a82;

    --max-w:            1200px;
    --r-sm:             8px;
    --r-md:             14px;
    --r-lg:             22px;
    --ease:             cubic-bezier(0.25, 0.8, 0.25, 1);
    --speed:            0.3s;
}

/* ===== GRID DE FUNDO ===== */
.bg-grid {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-title);
    line-height: 1.15;
    font-weight: 800;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 14px;
}
.section-header p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    color: var(--pbi);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.72rem;
    margin-bottom: 12px;
}

.accent { color: var(--pbi); text-shadow: 0 0 28px var(--pbi-glow); }

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--r-sm);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--speed) var(--ease);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--pbi);
    color: #05070e;
}
.btn-primary:hover {
    background: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-title);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.04);
}

.btn-whatsapp {
    background: #217346;
    color: #ffffff;
    border: 1px solid #217346;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-whatsapp svg {
    color: #ffffff;
}
.btn-whatsapp:hover {
    background: #1a5c38;
    border-color: #1a5c38;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(33, 115, 70, 0.35);
}

.btn-nav {
    background: var(--pbi);
    color: #05070e;
    padding: 9px 20px;
    font-size: 0.82rem;
    border-radius: 50px;
}
.btn-nav:hover { background: #fbbf24; }

.btn-pbi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.88rem;
    background: var(--pbi-dim);
    border: 1px solid var(--border-pbi);
    color: var(--pbi);
    transition: all var(--speed) var(--ease);
    text-decoration: none;
}
.btn-pbi:hover { background: var(--pbi); color: #05070e; }

.btn-pbi-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    margin-top: auto;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.85rem;
    background: transparent;
    border: 1px solid var(--border-pbi);
    color: var(--pbi);
    transition: all var(--speed) var(--ease);
    cursor: pointer;
}
.btn-pbi-outline:hover { background: var(--pbi); color: #05070e; }

.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 7, 14, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 200;
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-img { height: 44px; transition: transform var(--speed) var(--ease); }
.logo-link:hover .logo-img { transform: scale(1.04); }

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.86rem;
    transition: color var(--speed) var(--ease);
}
.nav-links a:hover { color: var(--text-title); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-title);
    border-radius: 2px;
    transition: all var(--speed) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== FORMULÁRIO ===== */
#formulario {
    padding: 96px 0;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
}

.formulario-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-pbi);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 0 48px rgba(245, 158, 11, 0.08);
}

.formulario-full {
    max-width: 760px;
    margin: 0 auto;
}

.formulario-iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
}

/* ===== HERO ===== */
#hero {
    padding-top: 65px; /* exato: altura da navbar */
    background-image: url('images/curso-power-bi-brasilia-hero.webp');
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
    min-height: 100dvh; /* cobre viewport real no mobile (descontando barra do browser) */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(7, 9, 26, 0.95) 45%, rgba(7, 9, 26, 0.55) 100%),
        linear-gradient(to top, rgba(7, 9, 26, 0.5) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hero-text { display: flex; flex-direction: column; gap: 14px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pbi);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
    animation: blink 2s infinite;
    flex-shrink: 0;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

#hero h1 {
    font-size: clamp(1.7rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.12;
    color: #ffffff;
}

.hero-sub {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    line-height: 1.55;
    max-width: 560px;
}
.hero-sub-large {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #c8d6e8;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Card */
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-pbi);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 0 48px rgba(245, 158, 11, 0.12);
}

.hero-card-inner {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-card-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-overline {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--pbi);
}

/* Turma item no hero */
.turma-item-hero {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--r-md);
}

.turma-periodo {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.2px;
}

.turma-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.turma-tag-hero {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--pbi);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.turma-tag-hero.masterclass { color: #fbbf24; }

/* Horários — destaque máximo */
.turma-horarios-hero {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.turno-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
}
.turno-hero.noite { background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2); }
.turno-hero.manha { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); }

.turno-hora-hero {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: 0.5px;
}
.turno-hero.noite .turno-hora-hero { color: #a5b4fc; }
.turno-hero.manha .turno-hora-hero { color: var(--pbi); }

.turno-tipo-hero {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.turma-dias-semana {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-body);
    text-align: center;
}

.turma-vagas-hero {
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-muted);
    padding-top: 4px;
}

/* Hero Strip */
.hero-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    margin-top: 0;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.strip-item:last-child { border-right: none; }
.strip-item svg { color: var(--pbi); flex-shrink: 0; }
.strip-item strong {
    display: block;
    font-size: 0.95rem;
    color: #f8faff;
    font-weight: 700;
}
.strip-item span {
    font-size: 0.8rem;
    color: #c0cfdf;
}

/* ===== STATS ===== */
#stats {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    padding: 48px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid rgba(0,0,0,0.15);
}
.stat-item:last-child { border-right: none; }

.stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #05070e;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(5, 7, 14, 0.75);
}

/* ===== POR QUE APRENDER POWER BI ===== */
#why-pbi {
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-base) 0%, rgba(245,158,11,0.03) 50%, var(--bg-base) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px 28px;
    transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.why-card:hover {
    border-color: var(--border-pbi);
    transform: translateY(-4px);
}

.why-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--pbi);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 12px;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.28;
    color: var(--text-title);
    border-left: 3px solid var(--pbi);
    padding-left: 10px;
}

.why-card p {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text-body);
}

/* ===== PAIN SECTION ===== */
#pain {
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.pain-col {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
}
.after-col { border-color: var(--border-pbi); background: linear-gradient(to bottom, var(--pbi-dim), transparent); }

.pain-col-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-muted);
}
.pain-col-title.after { color: var(--pbi); }

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pain-list li {
    font-size: 0.92rem;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}
.pain-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}
.after-col .pain-list li::before { background: var(--pbi); }

.pain-vs {
    align-self: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-muted);
    padding: 12px 0;
}

/* ===== CURRICULUM ===== */
#curriculum {
    padding: 96px 0;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.curriculum-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 4px solid var(--pbi);
    border-radius: var(--r-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.curriculum-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.masterclass-card { border-top-color: var(--pbi-dark); }

.curriculum-card-header { margin-bottom: 28px; }

.module-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--pbi);
    color: #05070e;
    margin-bottom: 14px;
}
.masterclass-badge { background: var(--pbi-dark); }

.curriculum-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.curriculum-card-header p { font-size: 0.88rem; color: var(--text-body); }

.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    flex-grow: 1;
}
.curriculum-list li {
    font-size: 0.88rem;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}
.curriculum-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--pbi-dim);
    border: 1px solid var(--border-pbi);
}

/* ===== FOR WHOM ===== */
#for-whom {
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
}

.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.for-whom-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 28px;
    transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.for-whom-card:hover {
    border-color: var(--border-pbi);
    transform: translateY(-3px);
}
.for-whom-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--pbi);
}
.for-whom-card p { font-size: 0.88rem; line-height: 1.5; }

/* ===== HERO PBI LOGO ===== */
.hero-pbi-logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 8px;
    display: block;
}

/* Logo flutuante decorativo */
@keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50%       { transform: translate(-50%, calc(-50% - 14px)); }
}
.hero-float-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: float 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;        /* atrás de todo o conteúdo (hero-grid z-index: 1) */
    opacity: 0.15;     /* sutil — não sobrepor texto */
}
@media (max-width: 768px) { .hero-float-logo { display: none; } }

/* ===== MODALIDADES — endereço destacado ===== */
.modalidade-address {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--r-md);
    padding: 18px 22px;
    margin-bottom: 32px;
    text-align: center;
}
.modalidade-address svg { color: var(--pbi); flex-shrink: 0; margin-top: 2px; }
.modalidade-address-text { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.modalidade-address-text strong {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-title);
}
.modalidade-address-text span { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.address-badge {
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-body);
    padding: 3px 10px;
    border-radius: 50px;
}

/* ===== DASHBOARDS SHOWCASE ===== */
#dashboards {
    padding: 96px 0;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
}
.section-pbi-logo {
    height: 28px;
    width: auto;
    margin: 0 auto 16px;
    display: block;
    opacity: 0.88;
}
.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}
.dash-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.dash-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 60px rgba(245, 158, 11, 0.12);
}
.dash-frame img {
    width: 100%;
    height: auto;
    display: block;
}
.dash-frame figcaption {
    background: var(--bg-card);
    padding: 12px 18px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    border-top: 1px solid var(--border);
}
.dash-footnote {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ===== BENEFITS ===== */
#benefits {
    padding: 96px 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px;
    transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.benefit-card:hover {
    border-color: var(--border-pbi);
    transform: translateY(-4px);
}

.benefit-icon {
    color: var(--pbi);
    margin-bottom: 18px;
}
.benefit-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}
.benefit-card p { font-size: 0.88rem; line-height: 1.55; }

/* ===== MODALIDADES ===== */
#modalidades {
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
}

.modalidades-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 4px;
    width: fit-content;
    margin: 0 auto 40px;
    gap: 4px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--speed) var(--ease);
}
.tab-btn.active {
    background: var(--pbi);
    color: #05070e;
}
.tab-btn:not(.active):hover { color: var(--text-title); background: rgba(255,255,255,0.05); }

.tab-panel[hidden] { display: none; }

.modalidade-info {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.turmas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.turma-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--pbi);
    border-radius: var(--r-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.turma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.combo-turma-card {
    border-color: var(--border-pbi);
    background: linear-gradient(to bottom, var(--pbi-dim), transparent);
    position: relative;
}

.turma-card-header { display: flex; flex-direction: column; gap: 6px; }

.turma-module-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pbi);
    letter-spacing: 1px;
}

.turma-card h3 { font-size: 1.15rem; }
.turma-schedule { font-size: 0.82rem; color: var(--pbi); font-weight: 600; }

.turma-dates {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
    padding: 12px 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    line-height: 1.6;
}
.turma-dates strong { color: var(--text-body); }

.turno-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.82rem;
}
.turno-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}
.turno-label.noite { background: rgba(99,102,241,0.15); color: #818cf8; }
.turno-label.manha { background: rgba(245,158,11,0.15); color: var(--pbi); }
.turno-datas {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    line-height: 1.6;
}

.turma-consult {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding: 14px 16px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--r-sm);
}
.consult-text {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.45;
    font-weight: 500;
}
.consult-parcela {
    font-size: 0.75rem;
    color: var(--pbi);
    font-weight: 700;
}

.combo-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pbi);
    color: #05070e;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* ===== EMPRESAS ===== */
#empresas {
    padding: 80px 0;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
}

.empresas-strips {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.empresas-strips img {
    max-width: 640px;
    width: 90%;
    height: auto;
    opacity: 0.85;
    border-radius: 5px;
    transition: opacity var(--speed) var(--ease);
}
.empresas-strips img:hover { opacity: 1; }

/* ===== INSTRUCTOR ===== */
#instructor { padding: 96px 0; border-bottom: 1px solid var(--border); }

.instructor-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 72px;
    align-items: center;
}

.instructor-image { position: relative; }
.prof-img {
    width: 100%;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    filter: grayscale(0.15);
}
.image-accent {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--pbi);
    border-radius: var(--r-lg);
    z-index: -1;
    opacity: 0.2;
    transform: translate(14px, 14px);
}

.instructor-text { display: flex; flex-direction: column; gap: 16px; }
.instructor-text h2 { font-size: 2rem; }
.instructor-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pbi);
    margin-top: -6px;
}
.instructor-text p { font-size: 1rem; line-height: 1.7; }

.instructor-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
}
.instructor-fact {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px;
}
.instructor-fact strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-title);
    margin-bottom: 4px;
}
.instructor-fact span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }

/* ===== FAQ ===== */
#faq {
    padding: 96px 0;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--speed) var(--ease);
}
.faq-item:has(.faq-question[aria-expanded="true"]) { border-color: var(--border-pbi); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-title);
    text-align: left;
    transition: color var(--speed) var(--ease);
}
.faq-question:hover { color: var(--pbi); }

.faq-chevron {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--speed) var(--ease);
}
.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    color: var(--pbi);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    line-height: 1.65;
}
.faq-answer[hidden] { display: none; }
.faq-answer p { color: var(--text-body); }

/* ===== LOCATION ===== */
#location { padding: 96px 0; border-bottom: 1px solid var(--border); }

.location-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.location-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.location-map iframe { width: 100%; height: 400px; display: block; }

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.location-info h3 { font-size: 1.4rem; }
.location-info p { font-size: 0.92rem; line-height: 1.6; }
.location-info a[href^="tel"] { color: var(--pbi); font-weight: 600; }

/* ===== CTA FINAL ===== */
#cta-final {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, transparent 60%);
    border-top: 1px solid var(--border-pbi);
    border-bottom: 1px solid var(--border);
}

.cta-final-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#cta-final h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    max-width: 640px;
}

#cta-final p {
    font-size: 1.05rem;
    max-width: 520px;
}

.cta-final-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* ===== FOOTER ===== */
#footer {
    padding: 56px 0 40px;
    border-top: 1px solid var(--border);
    background: #020305;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-logo { height: 48px; opacity: 0.7; }

.footer-info { display: flex; flex-direction: column; gap: 6px; }
.footer-info p { font-size: 0.82rem; color: var(--text-muted); }
.footer-info strong { color: var(--text-body); }
.footer-copy { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 12px; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 300;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--speed) var(--ease);
}
.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(37, 211, 102, 0.4));
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float:hover img { filter: drop-shadow(0 8px 24px rgba(37, 211, 102, 0.6)); }

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-card { display: none; }
    .hero-strip { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }

    .pain-grid { grid-template-columns: 1fr; }
    .pain-vs { text-align: center; padding: 4px 0; }

    .curriculum-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
    .dash-grid { gap: 16px; }
    .for-whom-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }

    .turmas-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

    .instructor-inner { grid-template-columns: 1fr; text-align: center; }
    .instructor-image { max-width: 360px; margin: 0 auto; }
    .image-accent { display: none; }
    .instructor-facts { grid-template-columns: repeat(3, 1fr); }

    .location-inner { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: rgba(5, 7, 14, 0.98); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 20px; }
    .nav-links.open { display: flex; }
    #navbar { position: fixed; }
    .hamburger { display: flex; }
    .btn-nav { display: none; }

    /* Esconde o card de turmas no hero para não empurrar botões abaixo do fold */
    .hero-card { display: none; }

    .hero-strip { grid-template-columns: 1fr; }
    .strip-item { border-right: none; border-bottom: 1px solid var(--border); }
    .strip-item:last-child { border-bottom: none; }

    .hero-actions { flex-direction: column; gap: 10px; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; font-size: 0.9rem; padding: 14px 16px; }

    .why-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .dash-grid { grid-template-columns: 1fr; }
    .for-whom-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .instructor-facts { grid-template-columns: 1fr; }

    .modalidades-toggle { flex-direction: column; width: 100%; }
    .tab-btn { justify-content: center; }

    .cta-final-actions { flex-direction: column; width: 100%; }
    .cta-final-actions .btn { width: 100%; }

    .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 18px; }
}

@media (max-width: 480px) {
    #hero { padding-top: 80px; }
    .hero-card-inner { padding: 24px; }

    .pain-col { padding: 24px 20px; }

    .curriculum-card { padding: 28px 20px; }

    .turma-card { padding: 24px 20px; }

    .instructor-facts { gap: 10px; }
}
