/* =====================================================
   PLANO PERFEITO — Landing de captura (evento gratuito)
   Identidade Curso Darlan Moutinho (manual v1.1):
   preto Youbiz · gradiente azul→violeta · acentos lima.
   TESTE de conversão: o card do formulário permanece
   CREME com CTA verde e selo amarelo (fora do padrão,
   de propósito — não "corrigir" sem pedido do Felipe).
   ===================================================== */

:root {
    --bg: #0B0B12;
    --bg-2: #101019;
    --surface: #181826;
    --surface-2: #161622;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);

    --blue: #4D7CFF;
    --violet: #9B5CFF;
    --orange: #FF8A3D;
    --lime: #B6FF3D;
    --blue-glow: rgba(77, 124, 255, 0.45);
    --violet-glow: rgba(155, 92, 255, 0.40);
    --grad: linear-gradient(120deg, var(--blue) 0%, var(--violet) 100%);

    --text: #F2F3F7;
    --text-dim: #A8A8BC;
    --text-mute: #6C6C82;

    /* form (teste — mantém a paleta creme/verde/amarelo) */
    --cream: #F7F1E3;
    --yellow: #FFD44D;
    --yellow-deep: #F5C518;
    --green-cta: #23A45D;
    --green-cta-hover: #1E8F51;
    --ink: #14291F;
    --ink-dim: #4A5A50;

    --heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --sans: 'DM Sans', system-ui, -apple-system, sans-serif;

    --container: 1180px;
    --radius: 16px;
    --radius-lg: 26px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font: inherit; color: inherit; }

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

h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }

/* Regra da marca: destaque do título em gradiente */
em.mark {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* sublinhado "à mão" — em lima, acento da marca */
.underline-hand {
    font-style: normal;
    position: relative;
    white-space: nowrap;
}
.underline-hand::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -6px; height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 40 3, 90 3, 118 6 S 175 10, 198 5' fill='none' stroke='%23B6FF3D' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---------- Marca Plano Perfeito (paleta Darlan) ---------- */
.pp-brand { display: inline-flex; align-items: center; gap: 12px; }
.pp-brand-badge {
    width: 44px; height: 44px; flex: 0 0 44px;
    border-radius: 12px;
    background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px -6px var(--blue-glow);
}
.pp-brand-badge svg { width: 24px; height: 24px; }
.pp-brand-text {
    font-family: var(--heading); font-weight: 700; line-height: 1.02;
    letter-spacing: -0.01em; font-size: 1.06rem; color: var(--text);
    text-transform: uppercase;
}
.pp-brand-text .pp-line2 {
    display: block;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pp-brand-sm .pp-brand-badge { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
.pp-brand-sm .pp-brand-badge svg { width: 20px; height: 20px; }
.pp-brand-sm .pp-brand-text { font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.scrolled { background: rgba(11, 11, 18, 0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.header-school { display: inline-flex; align-items: center; gap: 9px; font-family: var(--heading); font-weight: 600; font-size: 0.98rem; color: var(--text); }
.header-school .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }

/* ---------- Botões (verde = paleta do form em teste) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--heading); font-weight: 600; letter-spacing: 0.01em;
    padding: 15px 28px; border-radius: 12px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-primary {
    background: var(--green-cta);
    color: #fff;
    box-shadow: 0 14px 40px -12px rgba(35, 164, 93, 0.6);
}
.btn-primary:hover { background: var(--green-cta-hover); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Badge evento (pill lima do manual) ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--heading); font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    padding: 8px 16px; border-radius: var(--radius-pill);
    border: 1.5px solid var(--lime); color: var(--lime);
    background: rgba(182, 255, 61, 0.10);
    margin-bottom: 20px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Fórmulas de giz ---------- */
.chalk {
    position: absolute; pointer-events: none; user-select: none;
    font-family: var(--heading); font-style: italic;
    color: rgba(255, 255, 255, 0.08); font-size: 1.1rem; white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 130px 0 80px; overflow: hidden; background:
    radial-gradient(ellipse 60% 55% at 12% 0%, var(--blue-glow), transparent 65%),
    radial-gradient(ellipse 55% 50% at 95% 90%, var(--violet-glow), transparent 65%),
    linear-gradient(170deg, #101019 0%, #0B0B12 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center; }
.hero-sub { color: var(--text-dim); font-size: 1.12rem; margin-top: 22px; max-width: 560px; }
.hero-sub strong { color: var(--text); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; }
.meta-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 600; font-size: 0.98rem; color: var(--text); }
.meta-item .ico {
    width: 40px; height: 40px; border-radius: 10px; flex: 0 0 40px;
    background: var(--surface-2); border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* ---------- Formulário (card creme — MANTIDO, teste A/B) ---------- */
.card-form {
    position: relative;
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.65);
}
.card-form .sticker {
    position: absolute; top: -16px; right: 22px;
    background: var(--yellow); color: var(--ink);
    font-family: var(--heading); font-weight: 700; font-size: 0.82rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 8px 16px; border-radius: 6px;
    transform: rotate(3deg);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45);
}
.form-title { margin-bottom: 6px; color: var(--ink); }
.form-sub { color: var(--ink-dim); font-size: 0.96rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label {
    display: block; font-family: var(--heading); font-size: 0.86rem; font-weight: 600;
    color: var(--ink); margin-bottom: 7px;
}
.field input {
    width: 100%; background: #fff;
    border: 1.5px solid #D9D2BF; border-radius: 12px;
    padding: 14px 16px; outline: none; color: var(--ink);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder { color: #A29A85; }
.field input:focus { border-color: var(--green-cta); box-shadow: 0 0 0 3px rgba(35, 164, 93, 0.15); }
.field input.invalid { border-color: #E5484D; }
.form-note { text-align: center; color: var(--ink-dim); font-size: 0.84rem; margin-top: 12px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-success { text-align: center; padding: 26px 6px; }
.success-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; border-radius: 50%;
    background: rgba(35, 164, 93, 0.14); border: 1.5px solid var(--green-cta);
    color: var(--green-cta); font-size: 1.6rem; font-weight: 700; margin-bottom: 14px;
}
.form-success h3 { color: var(--ink); }
.form-success p { color: var(--ink-dim); margin-top: 8px; }

/* ---------- Stats ---------- */
.stats-bar { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: flex; justify-content: center; gap: clamp(30px, 7vw, 90px); padding: 38px 0; flex-wrap: wrap; text-align: center; }
.stat-num { display: block; font-family: var(--heading); font-weight: 700; font-size: 2.2rem; color: var(--lime); }
.stat-label { font-family: var(--heading); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 84px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 46px; }
.section-sub { color: var(--text-dim); margin-top: 16px; }
.section-sub strong { color: var(--text); }

/* ---------- Provas (logos) ---------- */
.exam-strip { display: flex; justify-content: center; align-items: stretch; gap: 18px; flex-wrap: wrap; }
.exam-chip {
    background: #fff; border-radius: var(--radius);
    padding: 18px 30px; display: flex; align-items: center; gap: 14px;
    box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.5);
}
.exam-chip img { height: 46px; width: auto; }
.exam-chip .exam-name { font-family: var(--heading); font-weight: 700; color: #14181E; font-size: 0.95rem; line-height: 1.2; }
.exam-note { text-align: center; color: var(--text-mute); font-size: 0.85rem; margin-top: 16px; }

/* ---------- Dores ---------- */
.grid-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain {
    background: var(--surface); border: 1px solid var(--line);
    border-left: 4px solid #FF5C6C; border-radius: var(--radius);
    padding: 24px 22px;
}
.pain h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pain h3 .x { color: #FF5C6C; margin-right: 8px; }
.pain p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Aulas do evento ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aula-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 30px 26px;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.aula-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.aula-tag {
    display: inline-block; font-family: var(--heading); font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    background: var(--lime); color: #101019;
    padding: 6px 12px; border-radius: 6px; margin-bottom: 16px;
}
.aula-card .aula-date { display: block; font-family: var(--heading); color: var(--text-mute); font-size: 0.88rem; margin-bottom: 10px; }
.aula-card h3 { margin-bottom: 10px; }
.aula-card p { color: var(--text-dim); font-size: 0.96rem; }

/* ---------- Professores ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.prof-card {
    text-align: center; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 24px 14px;
}
.prof-card img {
    width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 14px; border: 2.5px solid var(--lime);
    background: var(--surface-2);
}
.prof-card h3 { font-size: 0.98rem; line-height: 1.25; }
.prof-disc {
    display: block; margin-top: 5px;
    color: var(--lime); font-family: var(--heading); font-weight: 600;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
}

/* ---------- FAQ ---------- */
.faq details {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
    cursor: pointer; list-style: none; padding: 20px 22px;
    font-family: var(--heading); font-weight: 600; font-size: 1.02rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 700; color: var(--lime); font-size: 1.3rem; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-dim); }

/* ---------- CTA final ---------- */
.section-final { overflow: hidden; padding: 100px 0; }
.final-inner { position: relative; display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center; }
.final-copy p { color: var(--text-dim); font-size: 1.1rem; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-logo { height: 46px; width: auto; opacity: 0.8; }
.footer-contact p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 6px; }
.footer-contact strong { color: var(--text); }
.footer-contact a:hover { color: var(--orange); }
.footer-legal { color: var(--text-mute); font-size: 0.85rem; margin: 28px 0; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    background: #22c55e; color: #06230f;
    font-family: var(--heading); font-weight: 600; font-size: 0.9rem;
    padding: 12px 20px; border-radius: var(--radius-pill);
    box-shadow: 0 14px 40px -12px rgba(34, 197, 94, 0.55);
    transition: transform 0.2s var(--ease);
}
.whats-float:hover { transform: translateY(-2px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
    .hero { padding-top: 110px; }
    .hero-inner, .final-inner { grid-template-columns: 1fr; gap: 40px; }
    .grid-3, .grid-pains { grid-template-columns: 1fr 1fr; }
    .chalk { display: none; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .grid-3, .grid-pains { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .stats { gap: 26px; padding: 30px 0; }
    .stat-num { font-size: 1.7rem; }
    .exam-chip { padding: 14px 20px; }
    .exam-chip img { height: 36px; }
    .header-school .label { display: none; }
    .whats-float { font-size: 0; padding: 14px; }
    .whats-float::after { content: '💬'; font-size: 1.3rem; }
}
