/* =====================================================
   Lipecurso Médico — landing page (index.html)
   testemunhos.html continua usando css/style.css
   ===================================================== */

:root {
    /* Brand */
    --ink: #0a2e38;
    --ink-2: #0f4c5c;
    --ink-3: #145f72;
    --teal-soft: #e7f1f3;
    --accent: #e8683a;
    --accent-dark: #c9522a;
    --accent-soft: #fdeee7;
    --gold: #f2c46d;
    --whatsapp: #25d366;

    /* Neutrals */
    --white: #ffffff;
    --bg: #ffffff;
    --bg-soft: #f6f8f9;
    --text: #1d2b30;
    --text-2: #4a5a60;
    --text-3: #7a888d;
    --line: rgba(10, 46, 56, 0.1);
    --line-light: rgba(255, 255, 255, 0.14);

    /* Typography */
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

    /* Layout */
    --container: 1180px;
    --gutter: 1.25rem;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(10, 46, 56, 0.06), 0 8px 24px rgba(10, 46, 56, 0.06);
    --shadow-lg: 0 24px 60px rgba(4, 20, 26, 0.28);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only, .hp {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.hp { left: -9999px; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 200;
    background: var(--accent); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--text-3); }
.small { font-size: 0.875rem; margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 700; font-size: 0.975rem; line-height: 1.1;
    text-decoration: none; cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 10px 28px rgba(232, 104, 58, 0.35); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); box-shadow: 0 14px 34px rgba(232, 104, 58, 0.45); }
.btn-accent .fa-arrow-right { transition: transform 0.2s var(--ease); }
.btn-accent:hover .fa-arrow-right { transform: translateX(4px); }

.btn-primary { background: var(--ink-2); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }

.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--white); border-color: var(--line-light); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.btn-outline { background: transparent; color: var(--ink-2); border-color: var(--ink-2); }
.btn-outline:hover { background: var(--ink-2); color: var(--white); }

.btn-whatsapp { background: var(--whatsapp); color: #06331a; }
.btn-whatsapp:hover { background: #1fbd5a; color: #06331a; }

.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--gold); }

/* ---------- Announcement bar ---------- */
.announce {
    background: var(--accent);
    color: var(--white);
    font-size: 0.875rem;
}
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 40px; flex-wrap: wrap; text-align: center; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: pulse 1.8s infinite; flex: none; }
.announce-count { font-weight: 700; font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, 0.14); padding: 0.1rem 0.6rem; border-radius: 999px; }
.announce-count:empty, .announce-count[data-empty] { display: none; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 46, 56, 0.92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line-light);
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 10px 30px rgba(4, 20, 26, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }

.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--white); }
.logo:hover { color: var(--white); }
.logo-mark {
    width: 38px; height: 38px; border-radius: 11px; flex: none;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink);
}
.logo-words { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.logo-text em { font-style: italic; color: var(--gold); font-weight: 500; }
.logo-subtitle { font-size: 0.7rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    color: rgba(255, 255, 255, 0.78); text-decoration: none; font-weight: 600; font-size: 0.925rem;
    padding: 0.5rem 0.8rem; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav-cta { margin-left: 0.5rem; }

.menu-btn {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-light); color: var(--white);
    font-size: 1.15rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 600px at 85% -10%, #155d6f 0%, transparent 60%), var(--ink);
    color: rgba(255, 255, 255, 0.82);
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero-glow {
    position: absolute; inset: auto -20% -60% auto; width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 104, 58, 0.22), transparent 65%);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.hero-title {
    font-size: clamp(2.3rem, 5.2vw, 4.1rem);
    color: var(--white);
    margin-bottom: 1.25rem;
}
.hl {
    font-style: italic; color: var(--gold);
    background: linear-gradient(transparent 70%, rgba(232, 104, 58, 0.45) 70%);
    padding: 0 0.1em;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 36rem; margin-bottom: 2rem; }

.countdown { display: flex; gap: 0.6rem; margin-bottom: 2rem; }
.cd-box {
    min-width: 76px; padding: 0.7rem 0.6rem 0.55rem; text-align: center;
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-light); border-radius: 14px;
}
.cd-box span { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box small { display: block; margin-top: 0.35rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.925rem; color: rgba(255, 255, 255, 0.75); }
.hero-meta i { color: var(--gold); margin-right: 0.35rem; }

.hero-visual { position: relative; }
.hero-photo {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(1.5deg);
    border: 6px solid rgba(255, 255, 255, 0.08);
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

.float-card {
    position: absolute; background: var(--white); color: var(--text);
    border-radius: 16px; box-shadow: var(--shadow-lg); padding: 1rem 1.15rem;
}
.float-card-a { left: -1.75rem; bottom: 2.5rem; display: flex; align-items: center; gap: 0.8rem; max-width: 260px; }
.float-card-a strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); line-height: 1; }
.float-card-a span { font-size: 0.85rem; line-height: 1.35; color: var(--text-2); }
.float-card-b { right: -1rem; top: -1.5rem; max-width: 250px; }
.float-card-b i { color: var(--accent); font-size: 0.9rem; }
.float-card-b p { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; color: var(--ink); margin: 0.3rem 0 0.4rem; }
.float-card-b span { font-size: 0.75rem; color: var(--text-3); }

/* ---------- Proof strip ---------- */
.proof { background: var(--white); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 1.75rem 1.25rem; display: flex; align-items: center; gap: 0.9rem; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
.proof-item strong { font-family: var(--font-display); font-size: 2.1rem; color: var(--ink-2); line-height: 1; flex: none; }
.proof-item span { font-size: 0.875rem; line-height: 1.35; color: var(--text-2); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, 0.8); overflow: hidden; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head h2 { margin-bottom: 1rem; }
.lead { font-size: 1.1rem; color: var(--text-2); }
.section-dark .lead { color: rgba(255, 255, 255, 0.72); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Problem cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 2rem 1.75rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent-dark); font-size: 1.3rem; margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-2); }

/* ---------- Skills ---------- */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.skill { background: var(--white); padding: 2rem 1.75rem; }
.skill-n { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--accent); margin-bottom: 0.75rem; }
.skill h3 { margin-bottom: 0.4rem; }
.skill p { color: var(--text-2); font-size: 0.95rem; }

/* ---------- Programa ---------- */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; max-width: 760px; margin: 0 auto 1.5rem; }
.day-tab {
    text-align: left; padding: 1rem 1.25rem; border-radius: var(--radius);
    background: var(--bg-soft); border: 1.5px solid var(--line); cursor: pointer;
    transition: all 0.2s var(--ease);
}
.day-tab span { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.day-tab strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.day-tab:hover { border-color: var(--ink-3); }
.day-tab.is-active { background: var(--ink); border-color: var(--ink); }
.day-tab.is-active span { color: var(--gold); }
.day-tab.is-active strong { color: var(--white); }

.day-panel { max-width: 760px; margin: 0 auto; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.topics li {
    position: relative; padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.topics li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.75rem;
    position: absolute; left: 1rem; top: 1.1rem; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; background: var(--teal-soft); color: var(--ink-2);
}
.topics strong { display: block; color: var(--ink); font-size: 0.975rem; }
.topics span { display: block; font-size: 0.875rem; color: var(--text-2); }

.program-note { max-width: 760px; margin: 1.25rem auto 0; font-size: 0.875rem; color: var(--text-3); text-align: center; }
.program-note i { color: var(--ink-3); margin-right: 0.3rem; }

.bonus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; max-width: 960px; margin: 2.5rem auto 0; }
.bonus-item {
    display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.1rem;
    background: var(--accent-soft); border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; color: var(--ink);
}
.bonus-item i { color: var(--accent-dark); font-size: 1.15rem; }

/* ---------- Docentes ---------- */
.teachers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.teacher {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-light);
    border-radius: var(--radius-lg); overflow: hidden;
}
.teacher-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 25%; }
.teacher-body { padding: 1.75rem; }
.teacher-body h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.teacher-role { color: var(--gold); font-weight: 600; font-size: 0.925rem; margin-bottom: 1.25rem; }
.teacher-points { display: grid; gap: 0.65rem; margin-bottom: 1.25rem; }
.teacher-points li { display: flex; gap: 0.75rem; font-size: 0.95rem; }
.teacher-points i { color: var(--accent); margin-top: 0.3rem; width: 16px; flex: none; }
.teacher-points strong { color: var(--white); }
.teacher-more summary {
    cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--white);
    list-style: none; display: inline-flex; align-items: center; gap: 0.4rem;
}
.teacher-more summary::-webkit-details-marker { display: none; }
.teacher-more summary::after { content: "+"; font-size: 1.1rem; color: var(--gold); }
.teacher-more[open] summary::after { content: "–"; }
.teacher-more ul { margin-top: 0.75rem; display: grid; gap: 0.4rem; font-size: 0.9rem; padding-left: 1rem; list-style: disc; }

.faculty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.faculty-card {
    display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem;
    border-radius: var(--radius-lg); border: 1px solid var(--line-light); background: rgba(255, 255, 255, 0.04);
}
.faculty-card h3 { font-size: 1.2rem; margin-bottom: 0.15rem; }
.faculty-card .teacher-role { margin-bottom: 0.5rem; }
.faculty-card p { font-size: 0.9rem; }
.faculty-avatar {
    width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--gold)); color: var(--ink);
    font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.faculty-guests { border-style: dashed; }
.faculty-guests .faculty-avatar { background: rgba(255, 255, 255, 0.08); color: var(--gold); }

.pubs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 2rem; }
.pub { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1.1rem; border-radius: var(--radius); border: 1px solid var(--line-light); }
.pub i { color: var(--gold); margin-top: 0.2rem; }
.pub strong { display: block; color: var(--white); font-size: 0.9rem; line-height: 1.3; }
.pub span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Depoimentos ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.video { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 9 / 13; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { padding: 1rem 1.1rem 1.2rem; }
.video strong { display: block; color: var(--ink); }
.video figcaption > span { display: block; font-size: 0.8rem; color: var(--text-3); margin-bottom: 0.4rem; }
.video q { font-family: var(--font-display); font-style: italic; color: var(--text-2); font-size: 0.975rem; line-height: 1.35; }

.marquee {
    margin: 3rem 0 2.5rem; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee blockquote {
    width: 340px; flex: none; padding: 1.25rem 1.4rem; border-radius: var(--radius);
    background: var(--bg-soft); border: 1px solid var(--line);
}
.marquee p { font-size: 0.95rem; color: var(--text); margin-bottom: 0.6rem; }
.marquee cite { font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.5rem)); } }

/* ---------- Consenso (lead magnet) ---------- */
.magnet {
    display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
    background: var(--white); border: 1px solid var(--line); border-radius: 28px;
    padding: clamp(1.75rem, 4vw, 3.5rem); box-shadow: var(--shadow);
}
.magnet-doc { display: grid; place-items: center; }
.doc-sheet {
    position: relative; width: 100%; max-width: 250px; aspect-ratio: 3 / 4; padding: 1.5rem 1.3rem;
    border-radius: 12px; background: linear-gradient(160deg, var(--ink-2), var(--ink));
    color: var(--white); box-shadow: 14px 14px 0 var(--accent-soft), var(--shadow-lg);
    transform: rotate(-4deg); display: flex; flex-direction: column; gap: 0.5rem;
}
.doc-tag { align-self: flex-start; background: var(--accent); font-size: 0.7rem; font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 6px; }
.doc-sheet strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; margin-top: 0.5rem; }
.doc-sheet > span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); }
.doc-lines { margin-top: auto; display: grid; gap: 0.45rem; }
.doc-lines i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.doc-lines i:nth-child(2) { width: 85%; }
.doc-lines i:nth-child(4) { width: 60%; }
.magnet-body h2 { margin-bottom: 0.75rem; }
.magnet-body .lead { margin-bottom: 1.5rem; }
.magnet-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.6rem; }

input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--white); color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none; appearance: none;
}
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a888d' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem;
}
input:focus, select:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(20, 95, 114, 0.14); }
input.is-invalid, select.is-invalid { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.12); }

.form-fine { font-size: 0.8rem; color: var(--text-3); margin-top: 0.75rem; }
.form-ok { display: flex; gap: 0.8rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius); background: #e9f8ef; color: #135c32; }
.form-ok[hidden] { display: none; }
.form-ok i { font-size: 1.5rem; }
.form-ok strong { display: block; }
.form-ok span { font-size: 0.9rem; }

/* ---------- Inscrição ---------- */
.enroll { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.enroll-info h2 { margin-bottom: 2rem; }
.event-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 2rem; }
.event-facts > div {
    display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 1.1rem;
    border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04);
}
.event-facts i { color: var(--gold); margin-top: 0.25rem; }
.event-facts strong { display: block; color: var(--white); }
.event-facts span { font-size: 0.85rem; line-height: 1.35; }

.schedule-note {
    display: flex; gap: 0.7rem; align-items: flex-start; margin: -0.75rem 0 2rem;
    padding: 0.85rem 1rem; border-radius: var(--radius);
    background: rgba(232, 104, 58, 0.12); border: 1px solid rgba(232, 104, 58, 0.35); font-size: 0.9rem;
}
.schedule-note i { color: var(--accent); margin-top: 0.2rem; }
.schedule-note strong { color: var(--white); }
.seats-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse-accent 1.8s infinite; }
@keyframes pulse-accent {
    0% { box-shadow: 0 0 0 0 rgba(232, 104, 58, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(232, 104, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 104, 58, 0); }
}

.includes-title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 0.8rem; }
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.25rem; margin-bottom: 2rem; }
.includes li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; }
.includes li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0.1rem; font-size: 0.8rem; color: var(--whatsapp); }

.guarantee { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: rgba(242, 196, 109, 0.1); border: 1px solid rgba(242, 196, 109, 0.3); }
.guarantee i { color: var(--gold); font-size: 1.5rem; }
.guarantee p { font-size: 0.925rem; }
.guarantee strong { color: var(--white); }
.guarantee a { color: var(--gold); }

.enroll-card {
    background: var(--white); color: var(--text); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.section-dark .enroll-card h3 { font-size: 1.6rem; margin-bottom: 0.4rem; color: var(--ink); }
.form-sub { color: var(--text-2); font-size: 0.925rem; margin-bottom: 1.25rem; }
.field { margin-bottom: 0.85rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 0.35rem; }
.field label small { font-weight: 500; color: var(--text-3); }
.field-row { display: grid; grid-template-columns: 1fr 110px; gap: 0.75rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--text-2); margin: 0.4rem 0 1.1rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--ink-2); flex: none; }
.check.is-invalid span { color: #b83232; }
.form-error { background: #fdecec; color: #9b2c2c; font-size: 0.875rem; padding: 0.7rem 0.9rem; border-radius: 10px; margin-bottom: 0.9rem; }
.form-error[hidden] { display: none; }

.lead-ok { text-align: center; padding: 1rem 0; }
.lead-ok[hidden] { display: none; }
.ok-icon { font-size: 3rem; color: var(--whatsapp); margin-bottom: 0.75rem; }
.lead-ok p { color: var(--text-2); margin: 0.5rem 0 1.25rem; }

.enroll-alt { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--text-3); }
.enroll-alt a { font-weight: 700; text-decoration: none; color: #128c4a; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.6rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
    cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
    font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg-soft); color: var(--ink-2); font-size: 1.1rem; transition: transform 0.2s;
}
.faq details[open] summary::after { content: "–"; background: var(--ink-2); color: var(--white); }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--text-2); }

/* ---------- Final CTA ---------- */
.final-cta { background: linear-gradient(120deg, var(--accent), #d9552b); color: var(--white); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.final-cta h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 720px; margin-bottom: 0.5rem; }
.final-cta p { opacity: 0.9; font-weight: 600; }
.final-cta .btn-accent { background: var(--ink); box-shadow: 0 12px 30px rgba(10, 46, 56, 0.35); }
.final-cta .btn-accent:hover { background: #051b21; }

/* ---------- Footer ---------- */
.footer { background: #061e25; color: rgba(255, 255, 255, 0.65); padding: 3.5rem 0 1.5rem; font-size: 0.925rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 0.5rem; }
.footer-brand em { color: var(--gold); }
.footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer ul { display: grid; gap: 0.5rem; }
.footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer i { margin-right: 0.4rem; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: 0.8rem; }

/* ---------- Floating / sticky ---------- */
.wa-float {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: var(--whatsapp); color: var(--white); font-size: 1.8rem; text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45); transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }

.sticky-cta {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    align-items: center; justify-content: space-between; gap: 0.75rem;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(10, 46, 56, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: var(--white); border-top: 1px solid var(--line-light);
    transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.sticky-cta span { display: block; font-size: 0.78rem; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .videos { grid-template-columns: repeat(2, 1fr); }
    .pubs { grid-template-columns: repeat(2, 1fr); }
    .bonus { grid-template-columns: repeat(2, 1fr); }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-item:nth-child(3) { border-left: 0; }
    .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
    .menu-btn { display: grid; place-items: center; }
    .nav {
        position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0.25rem;
        background: var(--ink); padding: 1rem var(--gutter) 1.5rem;
        border-bottom: 1px solid var(--line-light);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: all 0.25s var(--ease);
    }
    .nav.active { transform: none; opacity: 1; visibility: visible; }
    .nav-link { padding: 0.85rem 1rem; font-size: 1rem; }
    .nav-cta { margin: 0.5rem 0 0; padding: 0.95rem; }

    .hero-grid, .enroll, .magnet { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; margin: 1rem auto 0; width: 100%; }
    .enroll-card { position: static; }
    .cards-3, .skills { grid-template-columns: 1fr 1fr; }
    .teachers { grid-template-columns: 1fr; }
    .faculty { grid-template-columns: 1fr; }
    .magnet-doc { display: none; }
    .final-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    :root { --header-h: 62px; }
    .announce { font-size: 0.8rem; }
    .logo-subtitle { display: none; }
    .hero-actions .btn { width: 100%; }
    .countdown { gap: 0.4rem; }
    .cd-box { min-width: 0; flex: 1; }
    .cd-box span { font-size: 1.6rem; }
    .float-card-a { left: 0.5rem; bottom: -1.25rem; }
    .float-card-b { display: none; }
    .hero-photo { transform: none; }
    .proof-item { padding: 1.25rem 0.75rem; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
    .proof-item strong { font-size: 1.7rem; }
    .cards-3, .skills, .topics, .event-facts, .includes, .pubs, .videos, .bonus { grid-template-columns: 1fr; }
    .videos { max-width: 360px; margin: 0 auto; }
    .days { grid-template-columns: 1fr 1fr; }
    .day-tab { padding: 0.8rem 0.9rem; }
    .day-tab strong { font-size: 1rem; }
    .magnet-fields { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .sticky-cta { display: flex; }
    .wa-float { bottom: 5.25rem; width: 52px; height: 52px; font-size: 1.6rem; }
    body { padding-bottom: 70px; }
    .final-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
