/* OMNIA Formação ACP: redesign de 08/10/2026.
   Tema escuro tirado da própria marca: a base puxa para o ameixa/roxo do
   canto da arte da OMNIA (só em fundos e brilhos suaves, para não pesar) e o
   único destaque de ação é o laranja da marca (#f15a24, o mesmo dos ícones
   das fases). Fontes servidas pelo próprio site: Outfit
   (títulos, eco do logotipo arredondado) e Geist (texto). Licenças em fonts/.
   Regra de cantos: cartões 20px, campos 12px, botões e etiquetas em pílula.
   Sem estilo nem script embutido no HTML (CSP sem 'unsafe-inline'). */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #150e1a;
  --bg-2: #1b1222;
  --surface: #22172b;
  --surface-2: #2c1f38;
  --line: rgba(236, 226, 248, 0.1);
  --line-strong: rgba(236, 226, 248, 0.18);
  --text: #f3edf6;
  --muted: #b7a9c4;
  /* Roxo da marca: só atmosfera (brilhos de fundo), nunca em botão ou texto. */
  --plum-glow: rgba(118, 52, 168, 0.36);
  --plum-soft: rgba(118, 52, 168, 0.15);
  --accent: #f15a24;
  --accent-hover: #ff6e3a;
  --accent-ink: #1a0c06;
  --accent-soft: rgba(241, 90, 36, 0.12);
  --danger: #ff8a7a;
  --ok: #8fd6a4;
  --radius: 20px;
  --radius-field: 12px;
  --shadow: 0 24px 60px -24px rgba(8, 2, 14, 0.75);
  --wrap: 1180px;
  --font-display: "Outfit", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Camadas: navegação, menu lateral. */
  --z-nav: 20;
  --z-drawer: 40;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; z-index: 100;
}
.skip-link:focus { top: 12px; }

:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: 0 0 auto; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; }

.round-btn {
  width: 44px; height: 44px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line); cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.round-btn:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- navegação ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(21, 14, 26, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); backdrop-filter: none; } }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-word { font-family: var(--font-display); font-weight: 300; font-size: 28px; letter-spacing: 0.02em; line-height: 1; }
.brand-sub { font-size: 13px; color: var(--muted); }
.nav-links { display: none; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text); cursor: pointer; font-size: 18px;
}

.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(10, 4, 16, 0.62);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); z-index: var(--z-drawer);
}
.nav-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(320px, 86vw);
  background: var(--surface); border-left: 1px solid var(--line);
  padding: 20px 24px; z-index: calc(var(--z-drawer) + 1);
  transform: translateX(100%); transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column; gap: 28px;
}
.drawer-close {
  align-self: flex-end; width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--text);
  cursor: pointer; font-size: 18px;
}
.drawer-links { display: grid; gap: 6px; }
.drawer-links a { text-decoration: none; font-family: var(--font-display); font-size: 26px; padding: 8px 0; }
body.nav-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.nav-open .nav-drawer { transform: translateX(0); }

/* ---------- topo ---------- */
.hero {
  position: relative;
  padding: 56px 0 64px;
  /* Brasa da marca saindo do canto: um só gradiente, sutil. */
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, var(--plum-glow), transparent 65%),
    radial-gradient(ellipse 60% 55% at 0% 100%, rgba(241, 90, 36, 0.14), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }

/* Contagem regressiva no topo (27/10/2026). */
.contagem {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin-bottom: 40px; padding: 16px 20px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(90deg, var(--accent-soft), var(--plum-soft));
}
.contagem[hidden] { display: none; }
.contagem-rotulo { font-family: var(--font-display); font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; }
.contagem-rotulo span { color: var(--muted); font-family: var(--font-body); font-size: 14px; font-weight: 400; }
.contagem-numeros { display: flex; gap: 10px; }
.contagem-numeros div {
  display: grid; justify-items: center; min-width: 64px; padding: 8px 10px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
}
.contagem-numeros strong {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.1;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.contagem-numeros span { font-size: 12px; color: var(--muted); }
@media (max-width: 520px) {
  .contagem { justify-content: center; text-align: center; }
  .contagem-numeros { width: 100%; justify-content: space-between; gap: 6px; }
  .contagem-numeros div { flex: 1; min-width: 0; }
}
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 600; max-width: 12ch; }
.lead { margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero .video { aspect-ratio: 3 / 2; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.video-poster:hover img { transform: scale(1.02); }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 72px; height: 72px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 26px;
  box-shadow: 0 10px 30px -8px rgba(241, 90, 36, 0.55);
  transition: transform 0.3s var(--ease);
}
.video-poster:hover .play { transform: scale(1.06); }

/* ---------- pilares ---------- */
.pillars { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.pillar-list { display: grid; grid-template-columns: 1fr; }
.pillar-list li { padding: 22px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.pillar-list li:last-child { border-bottom: 0; }
.pillar-list b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.pillar-list span { color: var(--muted); font-size: 15px; }

/* ---------- seções ---------- */
section { padding: 88px 0; }
.pillars { padding: 0; }
.section-title { font-size: clamp(30px, 4vw, 48px); max-width: 18ch; }
.section-lead { color: var(--muted); margin-top: 14px; max-width: 52ch; }

/* ---------- contato / formulário ---------- */
.contact {
  background:
    radial-gradient(ellipse 45% 60% at 80% 40%, var(--plum-soft), transparent 70%),
    var(--bg);
}
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-copy h2 { font-size: clamp(30px, 4vw, 46px); max-width: 14ch; }
.contact-copy > p { color: var(--muted); margin-top: 18px; max-width: 42ch; }
.facts { display: grid; gap: 12px; margin-top: 28px; }
.facts li { display: flex; align-items: center; gap: 12px; }
.facts .ic { color: var(--accent); }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.terms dt { font-size: 14px; color: var(--muted); }
.terms dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; }

.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.lead-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--text); }
.lead-form input, .lead-form select {
  width: 100%; min-height: 50px; padding: 0 16px;
  border-radius: var(--radius-field); border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text);
  font: 400 16px var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form input::placeholder { color: #8f8199; }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.lead-form select:disabled { opacity: 0.55; }
.lead-form input.is-invalid, .lead-form select.is-invalid { border-color: var(--danger); }
.lp-agenda { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .lp-agenda { grid-template-columns: 1fr 1fr; } }
.lp-agenda[hidden], [hidden] { display: none !important; }
.field-error { display: none; color: var(--danger); font-size: 13px; }
.field-error.show { display: block; }
.field-error-wide { grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.required-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: -6px; }
.form-feedback {
  display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-field);
  background: var(--surface-2); border: 1px solid var(--line); font-size: 15px;
}
.form-feedback a { color: var(--accent); font-weight: 600; }
.form-feedback.success { border-color: rgba(143, 214, 164, 0.4); }
.form-feedback.error { border-color: rgba(255, 138, 122, 0.4); }
.mini-note { font-size: 13px; color: var(--muted); }
.mini-note a { color: var(--text); }

/* ---------- na prática (bento) ---------- */
.practice { background: var(--bg-2); }
.bento { display: grid; gap: 16px; margin-top: 40px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.tile > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tile-body { padding: 24px; display: grid; gap: 10px; align-content: start; }
.tile h3 { font-size: 24px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .when { color: var(--accent); font-weight: 600; font-size: 14px; }
.tile-sup > img { object-fit: contain; background: #f6f1ec; }

.shelf { padding: 0 24px 24px; display: grid; gap: 14px; }
.shelf-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 12px; scroll-snap-align: start; }
.shelf-nav { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- fases (linha do tempo) ---------- */
.timeline { display: grid; gap: 16px; margin-top: 44px; counter-reset: none; }
.phase {
  position: relative; padding: 28px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.phase img { width: 56px; height: 56px; object-fit: contain; }
.phase h3 { font-size: 24px; margin-top: 18px; }
.phase ul { margin-top: 14px; display: grid; gap: 8px; }
.phase li { color: var(--muted); font-size: 15px; padding-left: 16px; position: relative; }
.phase li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 6px; height: 1.5px; background: var(--accent);
}

/* ---------- para quem ---------- */
.audience { background: var(--bg-2); }
.audience-grid { display: grid; gap: 32px; }
.check-list { display: grid; gap: 18px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.check-list .ic {
  margin-top: 3px; width: 26px; height: 26px; padding: 5px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}

/* ---------- depoimentos ---------- */
.testimonials {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, var(--plum-soft), transparent 70%),
    var(--bg);
}
.testimonials .video-featured { margin-top: 36px; }
.thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%;
  gap: 12px; margin-top: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent;
}
.depo-thumb {
  position: relative; padding: 0; border: 2px solid transparent; border-radius: 14px;
  overflow: hidden; background: var(--surface); cursor: pointer; scroll-snap-align: start;
  transition: border-color 0.2s var(--ease), opacity 0.2s;
  opacity: 0.72;
}
.depo-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.depo-thumb:hover { opacity: 1; }
.depo-thumb.active { border-color: var(--accent); opacity: 1; }

/* ---------- professor ---------- */
.teacher { background: var(--bg-2); }
.teacher-grid { display: grid; gap: 40px; align-items: center; }
.teacher-photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.teacher-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.teacher-copy { display: grid; gap: 18px; }
.teacher-copy p { color: var(--muted); max-width: 60ch; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--text); line-height: 1; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.signature { width: 200px; opacity: 0.85; margin-top: 8px; }

/* ---------- bônus ---------- */
.bonus-grid { display: grid; gap: 32px; align-items: start; }
.check-list-2 { margin-top: 32px; }
.guarantee {
  background: linear-gradient(160deg, rgba(241, 90, 36, 0.16), rgba(241, 90, 36, 0.04) 60%), var(--surface);
  border: 1px solid rgba(241, 90, 36, 0.28); border-radius: var(--radius);
  padding: 32px; display: grid; gap: 14px;
}
.guarantee img { width: 84px; }
.guarantee h3 { font-size: 30px; }
.guarantee p { color: var(--muted); }
.guarantee .fine { font-size: 13px; }

/* ---------- perguntas frequentes ---------- */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; gap: 32px; }
.faq-list { display: grid; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 19px; font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-body { display: grid; gap: 12px; padding: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* ---------- fechamento e rodapé ---------- */
.closing {
  background:
    radial-gradient(ellipse 50% 120% at 0% 100%, var(--plum-glow), transparent 65%),
    radial-gradient(ellipse 55% 120% at 100% 0%, rgba(241, 90, 36, 0.18), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.closing-inner { display: grid; gap: 28px; justify-items: start; }
.closing h2 { font-size: clamp(30px, 4.4vw, 52px); max-width: 16ch; }
.footer { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 20px; }
.footer img { width: 170px; opacity: 0.7; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- entrada ao rolar (só com JS e sem "menos movimento") ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js .reveal.visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- telas maiores ---------- */
@media (min-width: 768px) {
  .wrap { padding: 0 40px; }
  .pillar-list { grid-template-columns: repeat(4, 1fr); }
  .pillar-list li { padding: 28px 24px 28px 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .pillar-list li + li { padding-left: 24px; }
  .pillar-list li:last-child { border-right: 0; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile-ia { grid-column: span 4; }
  .tile-aulas { grid-column: span 2; }
  .tile-sup, .tile-atend { grid-column: span 3; }
  .tile-area { grid-column: span 6; display: grid; grid-template-columns: 1fr 1.6fr; align-items: center; }
  .tile-area .shelf { padding: 24px 24px 24px 0; }
  .shelf-track { grid-auto-columns: 28%; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .thumbs { grid-auto-columns: 23%; }
  .check-list-2 { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer nav { justify-content: flex-end; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  section { padding: 120px 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .form-card { padding: 36px; }
  .tile-ia > img { aspect-ratio: 21 / 9; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  /* A sequência das fases: um traço laranja liga os cartões. */
  .timeline .phase::after {
    content: ""; position: absolute; top: 56px; right: -16px; width: 16px; height: 1.5px; background: var(--accent);
  }
  .timeline .phase:last-child::after { display: none; }
  .audience-grid, .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .teacher-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
  .bonus-grid { grid-template-columns: 1.5fr 1fr; gap: 56px; }
  .thumbs { grid-auto-columns: calc((100% - 5 * 12px) / 6); }
  .closing-inner { grid-template-columns: 1fr auto; align-items: center; }
}
