/* Aprender Z — folha de estilos única.
   Identidade: azul-escuro, roxo, detalhes neon (ciano), laranja nos CTAs. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/inter-latin-var.woff2') format('woff2');
}

:root {
  --bg: #070b1f;
  --bg-2: #0d1233;
  --ink: #f7f8ff;
  --ink-soft: #d5dbf5;
  --muted: #a9b2d6;
  --violet: #7038ec;
  --violet-2: #9e7bff;
  --orange: #ff801b;
  --orange-2: #ff6710;
  --cyan: #00d9f5;
  --green: #17d68a;
  --paper: #f4f5fd;
  --card: #ffffff;
  --line: #e2e5f5;
  --text: #101533;
  --text-soft: #535d7e;
  --radius: 20px;
  --shadow: 0 10px 30px rgb(27 30 93 / 0.07);
  --shadow-lg: 0 24px 60px rgb(27 30 93 / 0.16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
p { text-wrap: pretty; }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }

.container { width: min(1180px, 100% - 44px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 44px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: #1a0d00; font-weight: 800;
  padding: 10px 16px; border-radius: 10px; transition: top 0.15s;
}
.skip:focus { top: 12px; }

/* ---------- Ícones ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Superfícies escuras ---------- */
.dark {
  color: var(--ink);
  background:
    radial-gradient(60rem 34rem at 12% -6%, rgb(86 24 178 / 0.62), transparent 62%),
    radial-gradient(52rem 32rem at 92% 8%, rgb(8 74 168 / 0.6), transparent 62%),
    var(--bg);
}
.dark-flat { background: var(--bg); color: var(--ink); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(7 11 31 / 0.94);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  color: var(--ink);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--orange); }
.navlinks { display: flex; align-items: center; gap: 4px; }
.navlinks a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 12px; border-radius: 10px; transition: color 0.15s, background 0.15s;
}
.navlinks a:hover { color: #fff; background: rgb(255 255 255 / 0.08); }
.navlinks a[aria-current='page'] { color: #fff; background: rgb(112 56 236 / 0.38); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded='true'] .x { display: block; }
.nav-toggle[aria-expanded='true'] .bars { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 24px; border-radius: 14px; border: 0; cursor: pointer;
  background: linear-gradient(125deg, #ffa22a, var(--orange-2));
  color: #1c0d00; font-weight: 800; font-size: 16px; line-height: 1.2;
  box-shadow: 0 12px 26px rgb(255 108 24 / 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgb(255 108 24 / 0.36); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: rgb(255 255 255 / 0.06); color: var(--ink);
  border: 1px solid rgb(184 195 239 / 0.55); box-shadow: none;
}
.btn.ghost:hover { background: rgb(255 255 255 / 0.12); }
.btn.outline { background: transparent; color: var(--violet); border: 1.5px solid #c9bbf7; box-shadow: none; }
.btn.outline:hover { background: #efeaff; }
.btn.small { padding: 10px 16px; font-size: 14.5px; border-radius: 11px; }
.btn[disabled], .btn.is-disabled {
  cursor: not-allowed; transform: none; filter: none;
  background: #e6e8f5; color: #5b6486; box-shadow: none; border: 1px dashed #b9c0de;
}
.dark .btn.is-disabled, .dark-flat .btn.is-disabled, .band .btn.is-disabled {
  background: rgb(255 255 255 / 0.07); color: var(--ink-soft); border-color: rgb(255 255 255 / 0.3);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Etiquetas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgb(103 54 199 / 0.4); border: 1px solid rgb(158 123 255 / 0.75);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ebe5ff; color: #5420ba; border-radius: 999px;
  padding: 6px 13px; font-weight: 700; font-size: 13px;
}
.pill.soon { background: #fff1de; color: #8a4a00; }
.pill.neon { background: rgb(0 217 245 / 0.12); color: var(--cyan); border: 1px solid rgb(0 217 245 / 0.4); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 76px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 900; letter-spacing: -0.045em; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--cyan), #8f7bff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 60ch; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 28px 0 32px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; }
.checks .tick, .tick {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #05231a;
}
.tick .ico { width: 14px; height: 14px; stroke-width: 3.2; }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.glow {
  position: absolute; inset: 6% 4%; border-radius: 42%;
  background: radial-gradient(circle at 35% 28%, rgb(0 215 249 / 0.85), rgb(88 57 239 / 0.8) 48%, rgb(24 27 101 / 0) 74%);
  filter: blur(34px); opacity: 0.75;
  animation: drift 9s ease-in-out infinite alternate;
}
.chat {
  position: relative; width: min(100%, 430px);
  background: rgb(15 20 56 / 0.86); border: 1px solid rgb(118 129 255 / 0.5);
  border-radius: 24px; padding: 18px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
  backdrop-filter: blur(8px);
}
.chat-top { display: flex; align-items: center; gap: 7px; padding: 2px 4px 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.chat-top i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.22); }
.chat-top span { margin-left: auto; }
.bubble { border-radius: 16px; padding: 13px 15px; font-size: 14.5px; line-height: 1.5; margin-top: 10px; max-width: 92%; }
.bubble.me { background: linear-gradient(125deg, #6a35e4, #4a2bd0); margin-left: auto; border-bottom-right-radius: 5px; }
.bubble.ai { background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.1); border-bottom-left-radius: 5px; color: var(--ink-soft); }
.bubble.ai b { color: #fff; }
.chat-note {
  display: flex; gap: 10px; align-items: center; margin-top: 14px;
  background: rgb(23 214 138 / 0.1); border: 1px solid rgb(23 214 138 / 0.45);
  color: #b9f5dd; border-radius: 14px; padding: 11px 13px; font-size: 13.5px; font-weight: 600;
}
.float-card {
  position: absolute; right: -6px; bottom: 6px;
  background: #171d4d; border: 1px solid rgb(118 129 255 / 0.8); border-radius: 16px;
  padding: 12px 16px; font-size: 14px; font-weight: 700; box-shadow: 0 15px 40px rgb(0 0 0 / 0.5);
  display: flex; align-items: center; gap: 8px; color: #fff;
  animation: bob 5s ease-in-out infinite;
}
.float-card .ico { color: var(--cyan); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgb(255 255 255 / 0.16); border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 0; transform: translateY(0);
}
.stats div { padding: 22px 16px; text-align: center; background: rgb(13 18 51 / 0.88); }
.stats strong { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: -0.03em; display: block; line-height: 1.2; }
.stats small { color: var(--muted); font-size: 13.5px; }
.hero-wrap { padding-bottom: 56px; }

/* ---------- Seções ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: #ebedfa; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2, .h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 850; }
.section-head p { color: var(--text-soft); margin-top: 14px; }
.dark .section-head p, .dark-flat .section-head p { color: var(--muted); }
.kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.dark .kicker, .dark-flat .kicker { color: var(--cyan); }

.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card.hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfc3fa; }
.card h3 { font-size: 20px; margin: 18px 0 8px; }
.card p { color: var(--text-soft); font-size: 16px; }
.badge {
  width: 52px; height: 52px; flex: none; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, #efe9ff, #dff6ff); color: var(--violet);
}
.badge .ico { width: 26px; height: 26px; }
.badge.orange { background: linear-gradient(135deg, #fff0df, #ffe2cc); color: #d65a00; }
.badge.cyan { background: linear-gradient(135deg, #dbfaff, #e6ecff); color: #0079a8; }
.badge.green { background: linear-gradient(135deg, #dcfbee, #e8f6ff); color: #0a8a57; }

.dark-flat .card, .dark .card {
  background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.12); box-shadow: none;
}
.dark-flat .card p, .dark .card p { color: var(--muted); }
.dark-flat .badge, .dark .badge { background: rgb(112 56 236 / 0.3); color: var(--cyan); }

/* Áreas de aplicação */
.tile {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.tile:hover { transform: translateY(-4px); border-color: #cfc3fa; box-shadow: var(--shadow-lg); }
.tile h3 { font-size: 18px; margin-bottom: 4px; }
.tile p { color: var(--text-soft); font-size: 15.5px; line-height: 1.55; }
.tile .meta { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--violet); }

/* Duas colunas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.split p + p { margin-top: 14px; }
.dark-flat .split p, .dark .split p { color: var(--ink-soft); }
.quote-card {
  border-radius: 24px; padding: 32px;
  background: linear-gradient(140deg, rgb(112 56 236 / 0.35), rgb(8 74 168 / 0.3));
  border: 1px solid rgb(158 123 255 / 0.5);
}
.quote-card .big { font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }
.quote-card .big em { font-style: normal; color: var(--cyan); }
.quote-card ul { margin-top: 22px; display: grid; gap: 12px; }
.quote-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 16px; }
.quote-card li .tick { margin-top: 2px; }

/* Listas com marca */
.list { display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list li .tick { margin-top: 3px; }
.list.no .tick { background: #ffd9d2; color: #a3200b; }

/* Cartão de curso */
.course {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; overflow: hidden; padding: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg);
}
.course-art { background: var(--bg); display: grid; place-items: center; }
.course-art img { width: 100%; height: auto; }
.course-body { padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.course-body h2, .course-body h3 { font-size: clamp(26px, 3vw, 36px); text-align: left; }
.course-body p { color: var(--text-soft); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; font-weight: 700; color: var(--text); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .ico { color: var(--violet); }
.dark .facts, .dark-flat .facts { color: var(--ink); }
.dark .facts .ico, .dark-flat .facts .ico { color: var(--cyan); }

.card.future {
  border-style: dashed; background: transparent; box-shadow: none; text-align: center;
  display: grid; place-items: center; gap: 6px; padding: 40px 28px;
}
.card.future .badge { margin-inline: auto; }

/* Ferramentas */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 16px; font-weight: 700; font-size: 15px;
}
.dark-flat .chips li, .dark .chips li { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.14); }
.chips.left { justify-content: flex-start; }
.fine { font-size: 14px; color: var(--text-soft); text-align: center; max-width: 720px; margin: 22px auto 0; }
.dark-flat .fine, .dark .fine { color: var(--muted); }

/* Passos */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding: 28px 26px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: linear-gradient(135deg, var(--violet), #4a2bd0); color: #fff;
  font-weight: 900; margin-bottom: 16px;
}
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--text-soft); font-size: 15.5px; }

/* Plataformas */
.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.platform {
  border: 1px dashed #bcc3e2; border-radius: 16px; padding: 18px 14px; text-align: center; background: var(--card);
}
.platform strong { display: block; font-size: 17px; }
.platform span { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.platform.live { border-style: solid; border-color: var(--orange); }
.platform.live span { color: #b85300; }

/* Avisos */
.note {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff6e9; border: 1px solid #ffd9a8; border-left: 5px solid var(--orange);
  padding: 18px 20px; border-radius: 14px; color: #53390f; font-size: 15.5px;
}
.note .ico { color: #c55f00; margin-top: 3px; }
.note.info { background: #eef2ff; border-color: #cdd6ff; border-left-color: var(--violet); color: #27306b; }
.note.info .ico { color: var(--violet); }
.note strong { color: inherit; }

/* Sanfonas */
.accordion { display: grid; gap: 12px; }
.accordion details {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.accordion details[open] { border-color: #cfc3fa; box-shadow: var(--shadow); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 750; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ''; flex: none; width: 11px; height: 11px; margin-right: 4px;
  border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet);
  transform: rotate(45deg); transition: transform 0.2s;
}
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion .answer { padding: 0 22px 22px; color: var(--text-soft); }
.accordion .answer p + p { margin-top: 10px; }
.accordion .answer a, .prose a, .inline-link { color: var(--violet); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 24px; margin-bottom: 16px; }

/* Grade de aulas */
.module { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.module + .module { margin-top: 18px; }
.module summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
}
.module summary::-webkit-details-marker { display: none; }
.module .num {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--violet), #3d25c4); color: #fff;
}
.module .num .ico { width: 26px; height: 26px; }
.module h2 { font-size: clamp(19px, 2.2vw, 23px); letter-spacing: -0.02em; }
.module .over { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }
.module .sum { color: var(--text-soft); font-size: 15px; margin-top: 3px; }
.module .count { text-align: right; font-size: 14px; font-weight: 700; color: var(--text-soft); white-space: nowrap; }
.module .count b { display: block; color: var(--text); font-size: 15px; }
.lessons { border-top: 1px solid var(--line); }
.lessons li {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 24px; border-bottom: 1px solid #eef0fa;
}
.lessons li:last-child { border-bottom: 0; }
.lessons li:hover { background: #f8f8ff; }
.lessons .cod {
  font-size: 12.5px; font-weight: 800; color: #5420ba; background: #ebe5ff;
  border-radius: 8px; padding: 5px 0; text-align: center;
}
.lessons .tit { font-weight: 650; }
.lessons .dur { font-variant-numeric: tabular-nums; color: var(--text-soft); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar p { color: var(--text-soft); font-weight: 600; }

/* Cabeçalho de página interna */
.pagehead { padding: 60px 0 72px; text-align: center; }
.pagehead h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 900; letter-spacing: -0.04em; margin: 18px 0 16px; }
.pagehead p.lead { margin-inline: auto; max-width: 720px; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.6; }
.pagehead .btn-row { justify-content: center; margin-top: 28px; }
.pagehead .facts { justify-content: center; margin-top: 22px; }

/* Texto corrido (páginas legais) */
.prose { font-size: 16.5px; color: #2a3154; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; }
.prose .updated { font-size: 14px; color: var(--text-soft); margin-bottom: 26px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-bottom: 36px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { color: var(--violet); font-weight: 600; }
.toc a:hover { text-decoration: underline; }

/* Contato */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.field { display: block; margin-top: 16px; font-weight: 700; font-size: 15px; }
.field input, .field textarea, .field select {
  display: block; width: 100%; margin-top: 7px; font: inherit; font-weight: 400; color: var(--text);
  background: #fff; border: 1.5px solid #cfd5ec; border-radius: 12px; padding: 13px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgb(112 56 236 / 0.16); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:disabled, .field textarea:disabled, .field select:disabled { background: #f0f1f9; color: #6b7394; cursor: not-allowed; }
.form-foot { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-foot small { color: var(--text-soft); font-size: 13.5px; flex: 1 1 220px; }
.channel { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.channel:last-child { border-bottom: 0; padding-bottom: 0; }
.channel h3 { font-size: 17px; margin: 0 0 2px; }
.channel p { font-size: 15px; }

/* Faixa de chamada */
.band { background: linear-gradient(110deg, #170a4a, #5724b7 55%, #101d5b); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; width: 380px; height: 380px; right: -90px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgb(0 217 245 / 0.35), transparent 65%); }
.band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { font-size: clamp(24px, 3vw, 34px); max-width: 22ch; }
.band p { color: #dcd7ff; margin-top: 8px; max-width: 52ch; }

/* Rodapé */
.footer { background: #060920; color: #c9cfea; padding: 56px 0 28px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 14px; }
.foot ul { display: grid; gap: 9px; list-style: none; padding: 0; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot .logo { color: #fff; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgb(255 255 255 / 0.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #8e97bb; }

/* 404 */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound .code { font-size: clamp(90px, 18vw, 180px); font-weight: 900; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(100deg, var(--cyan), #8f7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Utilidades */
.rounded { border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.gap-top { margin-top: 28px; }
.center { display: flex; justify-content: center; }
.center-text { margin-inline: auto; }
.center-row { justify-content: center; margin-top: 28px; }
.h3 { font-size: 22px; margin-bottom: 10px; }
.outcome { margin-top: 12px; color: var(--ink) !important; font-size: 17px !important; font-weight: 550; }
.card.mini { padding: 22px; display: block; }
.card.mini h3 { font-size: 17px; margin: 14px 0 4px; letter-spacing: -0.01em; }
.card.mini p { font-size: 14.5px; }
.card.mini.cta { border-color: #ffd0a6; background: #fff8f0; }
.card h3 + .list { margin-top: 14px; }
.card .list + h3 { margin-top: 26px; }
.card .list li { color: var(--text-soft); font-size: 16px; }
.notfound h1 { font-size: clamp(28px, 4vw, 44px); margin: 8px 0 14px; }

/* ---------- Animações ---------- */
@keyframes drift { from { transform: translate3d(-10px, 6px, 0) rotate(-6deg) scale(0.97); } to { transform: translate3d(12px, -10px, 0) rotate(6deg) scale(1.04); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .enter > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .enter > *:nth-child(2) { animation-delay: 0.08s; }
  .enter > *:nth-child(3) { animation-delay: 0.16s; }
  .enter > *:nth-child(4) { animation-delay: 0.24s; }
  .enter > *:nth-child(5) { animation-delay: 0.32s; }
  .chat { animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .chat .bubble.me { animation: pop 0.5s 0.7s both; }
  .chat .bubble.ai { animation: pop 0.5s 1.25s both; }
  .chat .chat-note { animation: pop 0.5s 1.8s both; }

  /* Revelação ao rolar: só em navegadores com animação guiada por rolagem.
     Nos demais o conteúdo simplesmente aparece, sem depender de JavaScript. */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .navlinks {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 22px 20px;
    background: #070b1f; border-bottom: 1px solid rgb(255 255 255 / 0.12);
    display: none;
  }
  .navlinks.open { display: flex; }
  .navlinks a { font-size: 17px; padding: 14px 14px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 56px; }
  .hero-visual { min-height: 0; padding: 10px 0 24px; }
  .float-card { right: 0; bottom: -6px; }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .course { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(1180px, 100% - 36px); }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .grid.c2, .grid.c3, .grid.c4, .steps { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .course-body { padding: 26px 22px; }
  .card { padding: 24px; }
  .module summary { grid-template-columns: auto 1fr; padding: 18px; gap: 14px; }
  .module .count { grid-column: 1 / -1; text-align: left; display: flex; gap: 8px; }
  .module .count b { display: inline; }
  .module .num { width: 46px; height: 46px; }
  .lessons li { grid-template-columns: 46px 1fr; padding: 13px 18px; gap: 4px 12px; }
  .lessons .dur { grid-column: 2; font-size: 13.5px; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
  .toc ol { columns: 1; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .pagehead { padding: 44px 0 56px; }
  .quote-card { padding: 24px; }
}
