/* ==========================================================================
   Operação Chivunk · landing page v1
   Direção: chão quase preto, texto branco-quente, UMA cor cheia (o ouro da marca)
   ocupando campos inteiros, títulos em duas tonalidades, tipografia em Archivo.
   Para editar: as cores, as fontes e os espaços estão nos tokens logo abaixo.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* imagem do hero: troque none por url("img/hero.jpg") e apague data-placeholder no HTML */
  --hero-image: none;

  --ground: #0b0c0d;
  --surface: #141517;
  --surface-2: #1b1c1f;
  --stage: #101112;
  --ink: #f3f1ec;
  --ink-2: #a4a39d;
  --gold: #ffc53d;
  --gold-ink: #0b0c0d;
  --gold-ink-2: rgb(11 12 13 / 58%);
  --line: rgb(243 241 236 / 12%);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-meta: var(--font); /* mesma família do texto: metadados sem monoespaçada */

  --pad: clamp(16px, 2.2vw, 32px);      /* margem lateral única da página */
  --gap: clamp(64px, 7.2vw, 116px);      /* espaço entre seções */
  --radius: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar-h: 56px;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #3a3b3e var(--ground);
  background: var(--ground);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: fixed; left: var(--pad); top: -80px; z-index: 100;
  padding: 10px 14px; background: var(--gold); color: var(--gold-ink); font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- 3. TIPOGRAFIA ---------- */
.display {
  font-size: clamp(2.7rem, 7vw, 6rem);   /* 96px no máximo */
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 400;
}
.h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 400;
  text-wrap: balance;
}
.h2 span { display: block; }
.tone-1 { color: var(--ink); }
.tone-2 { color: var(--ink-2); }
.h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 500;
}
.lead { margin-top: 22px; max-width: 30em; color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; }
.meta { font-family: var(--font-meta); font-size: .8125rem; letter-spacing: .01em; color: var(--ink-2); }
.note { margin-top: 4px; color: var(--ink-2); font-size: .9rem; }

/* ---------- 4. BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 14px 14px 20px;
  border-radius: 6px;
  font-size: 1rem; font-weight: 500; letter-spacing: -.005em; line-height: 1.1;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s;
}
.btn__arrow { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: #ffd160; }
.btn--dark { background: var(--gold-ink); color: var(--ink); }
.btn--dark:hover { background: #1c1d1f; }
.btn--sm { padding: 10px 10px 10px 14px; font-size: .9375rem; gap: 10px; }

.link-quiet { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: rgb(243 241 236 / 40%); }
.link-quiet:hover { text-decoration-color: var(--gold); }

/* ---------- 5. CABEÇALHO FLUTUANTE ---------- */
.bar {
  position: fixed; z-index: 50;
  top: 12px; left: var(--pad); right: var(--pad);
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 8px 0 18px;
  background: rgb(24 25 27 / 92%);
  border-radius: var(--radius);
}
.bar__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; letter-spacing: -.01em; width: fit-content; }
.bar__logo { display: block; height: 38px; width: auto; }
.bar__nav { display: flex; gap: clamp(18px, 2.6vw, 36px); font-size: .9375rem; font-weight: 500; }
.bar__nav a, .menu__panel a { text-decoration: none; color: var(--ink); opacity: .86; transition: opacity .2s; }
.bar__nav a:hover, .menu__panel a:hover { opacity: 1; }
.bar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.bar__login { font-size: .9375rem; font-weight: 500; text-decoration: none; opacity: .86; }
.bar__login:hover { opacity: 1; }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; border-radius: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu[open] summary span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 18px); width: min(280px, calc(100vw - 2 * var(--pad)));
  display: grid; gap: 2px; padding: 8px; background: var(--surface-2); border-radius: var(--radius);
}
.menu__panel a { padding: 12px; font-size: 1.0625rem; border-radius: 6px; }
.menu__panel a:hover { background: rgb(243 241 236 / 6%); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(860px, max(620px, 94svh));
  display: flex;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: #16171a var(--hero-image) center / cover no-repeat;
}
/* Foto do hero: ocupa o quadro reservado (mesma posição e proporção do bloco provisório) */
.hero__photo {
  position: absolute; right: 0; top: 14%; width: min(60%, 1040px); height: auto; aspect-ratio: 2000 / 1116;
  object-fit: cover; background: #0e0f11;
}
/* Bloco provisório (só aparece se o HTML voltar a ter data-placeholder em .hero__media) */
.hero__media[data-placeholder]::before {
  content: ""; position: absolute; right: 0; top: 14%; width: min(54%, 880px); height: 66%;
  background: #212226;
}
.hero__media[data-placeholder]::after {
  content: "Espaço reservado para a imagem do hero";
  position: absolute; right: calc(var(--pad) + 4px); top: calc(14% + 20px);
  font-family: var(--font-meta); font-size: .8125rem; color: #6f706b;
}
/* Proteção de leitura para quando a foto entrar (faixa neutra, sem cor) */
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(11 12 13 / 78%) 0%, rgb(11 12 13 / 0%) 52%); /* taste-skill-ignore: faixa neutra sobre a foto */
}
.hero__inner {
  width: 100%;
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--bar-h) + 64px) var(--pad) clamp(24px, 3.4vw, 44px);
}
.hero__title { align-self: center; padding-bottom: clamp(24px, 6vh, 72px); }
/* O título fica à esquerda da foto do monitor (que ocupa 60% da largura, até 1040 px): em 3 linhas e com este tamanho a linha mais larga
   ("Mentoria policial", ~8,4 vezes o tamanho da letra) termina antes da foto em qualquer largura de computador. */
.hero__title.display { font-size: clamp(2.6rem, 4.2vw, 4.5rem); }
.hero__title .line { display: block; }
.hero__title .line--soft { color: var(--ink-2); }

.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: var(--pad); align-items: end; }
.hero__copy { max-width: 34rem; }
.hero__sub { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.5; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }

.hero__card {
  display: grid; gap: 8px; padding: 20px 22px;
  background: rgb(24 25 27 / 92%); border-radius: var(--radius);
}
.hero__card-title { font-size: 1.125rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.hero__card-note { color: var(--ink-2); font-size: .975rem; line-height: 1.45; }
.hero__card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; width: fit-content; font-weight: 500; font-size: .975rem; text-decoration: none; color: var(--gold); }
.hero__card-link:hover .btn__arrow { transform: translateX(3px); }

/* ---------- 7. ESTRUTURAS COMUNS ---------- */
.section { padding: var(--gap) var(--pad); }
.section--surface { background: var(--surface); }
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 112px); align-items: start;
}
.split__aside { position: sticky; top: 96px; }
.stats-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--pad) clamp(32px, 6vw, 112px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.stats-head .lead { margin-top: 0; }

/* ---------- 8. O CENÁRIO (campo de ouro) ---------- */
.statement { background: var(--gold); color: var(--gold-ink); padding: var(--gap) var(--pad); }
.statement__inner { display: grid; gap: clamp(36px, 5vw, 72px); max-width: 1180px; }
.statement .tone-1 { color: var(--gold-ink); }
.statement .tone-2 { color: var(--gold-ink-2); }
.statement__text {
  font-size: clamp(1.25rem, 2vw, 1.75rem);   /* 28px no máximo: é um parágrafo, não um título */
  line-height: 1.3; letter-spacing: -.015em; max-width: 34em; text-wrap: pretty;
}

/* ---------- 9. MÉTODO: quatro compromissos ---------- */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pad); }
.panel {
  display: flex; flex-direction: column; gap: 14px;
  min-height: clamp(220px, 20vw, 275px);
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--surface); border-radius: var(--radius);
}
.panel > p:not(.meta) { color: var(--ink-2); line-height: 1.5; }
.panel .meta { margin-top: auto; padding-top: 22px; color: var(--gold); }

/* ---------- 10. PLATAFORMA ---------- */
.toc { display: grid; gap: 4px; margin-top: 36px; }
.toc a {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  font-family: var(--font-meta); font-size: .875rem; text-decoration: none; color: var(--ink-2);
  transition: color .25s;
}
.toc a::before { content: ""; width: 6px; height: 6px; background: transparent; transition: background-color .25s; }
.toc a:hover, .toc a[aria-current="true"] { color: var(--ink); }
.toc a[aria-current="true"]::before { background: var(--gold); }

.pcards { display: grid; gap: var(--pad); }
.pcard { background: var(--surface-2); border-radius: var(--radius); overflow: hidden; }
.pcard__stage { padding: clamp(14px, 2.2vw, 28px); background: var(--stage); }
/* prints reais da plataforma (área do aluno, conta de demonstração) */
.pcard__shot { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.pcard__body { display: grid; gap: 10px; padding: clamp(22px, 2.4vw, 32px); }
.pcard__body p { color: var(--ink-2); line-height: 1.5; max-width: 34em; }


/* ---------- 11. NÚMEROS ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pad); }
/* os seis cartões têm a mesma estrutura (destaque, título, nota) e o mesmo tamanho de destaque, seja palavra ou número: assim o título
   e a nota ficam alinhados de um cartão para o outro */
.stat {
  display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 10px;
  min-height: clamp(190px, 15vw, 230px); padding: clamp(22px, 2.4vw, 32px);
  background: var(--surface); border-radius: var(--radius);
}
.stat__num { margin-bottom: 8px; font-size: clamp(1.9rem, 2.9vw, 2.6rem); overflow-wrap: anywhere; font-weight: 300; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); }
.stat__num--word { font-size: clamp(1.9rem, 2.9vw, 2.6rem); font-weight: 300; letter-spacing: -.035em; }
.stat__note { color: var(--ink-2); font-size: .975rem; line-height: 1.45; }

/* ---------- 12. MENTORES ---------- */
.included-title { margin-top: 44px; font-weight: 500; }
.included { display: grid; gap: 10px; margin-top: 14px; color: var(--ink-2); }
.included li { padding-left: 20px; position: relative; line-height: 1.45; }
.included li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--gold); }

.mentors { display: grid; gap: var(--pad); }
.mentor { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 2.4vw, 28px); background: var(--surface-2); border-radius: var(--radius); }
/* Espaço da foto (4:5). Para colocar a foto: <img> dentro de .mentor__photo, com object-fit: cover */
.mentor__photo { aspect-ratio: 4 / 5; display: grid; place-items: center; background: #26272a; border-radius: 6px; overflow: hidden; }
.mentor__photo span { font-size: 3.5rem; font-weight: 300; letter-spacing: -.04em; color: #6a6b66; }
.mentor__photo img { width: 100%; height: 100%; object-fit: cover; }
.mentor__body { display: grid; align-content: start; gap: 16px; }
.mentor__body > p { color: var(--ink-2); line-height: 1.5; }
.seals { display: grid; gap: 6px; }
.seals li { padding-left: 20px; position: relative; font-size: .9375rem; font-weight: 500; line-height: 1.35; }
.seals li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--gold); }

/* ---------- 13. FEEDBACKS ---------- */
.quote-big { margin-bottom: var(--pad); padding: clamp(28px, 5vw, 72px); background: var(--surface); border-radius: var(--radius); }
.quote-big blockquote p { max-width: 38em; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.32; letter-spacing: -.015em; text-wrap: pretty; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pad); }
.quote { display: flex; flex-direction: column; gap: 28px; justify-content: space-between; padding: clamp(22px, 2.4vw, 32px); background: var(--surface); border-radius: var(--radius); }
.quote blockquote p { font-size: 1.0625rem; line-height: 1.5; }
figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
figcaption div { display: grid; gap: 2px; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.quote figcaption { margin-top: 0; }
figcaption b { font-weight: 500; }
figcaption div span { color: var(--ink-2); font-size: .9375rem; }

/* ---------- 14. DÚVIDAS ---------- */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(20px, 2.4vw, 28px); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.75rem; font-weight: 300; line-height: 1; color: var(--gold);
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 clamp(20px, 2.4vw, 28px) 26px; max-width: 38em; color: var(--ink-2); }
.faq a { color: var(--gold); text-underline-offset: .25em; }

/* ---------- 15. FECHAMENTO E RODAPÉ (campo de ouro) ---------- */
.final {
  position: relative; overflow: hidden;
  margin: var(--gap) var(--pad) var(--pad);
  padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 56px) clamp(28px, 3.4vw, 48px);
  background: var(--gold); color: var(--gold-ink); border-radius: var(--radius);
}
.final .tone-1 { color: var(--gold-ink); }
.final .tone-2 { color: var(--gold-ink-2); }
.final__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.final__cta { display: grid; gap: 24px; justify-items: start; }
.final__text { max-width: 26em; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.45; }
.final__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: .9375rem; }
.final__colhead { margin-bottom: 12px; font-family: var(--font-meta); font-size: .8125rem; color: var(--gold-ink-2); }
.final__cols ul { display: grid; gap: 8px; }
.final__cols a { text-decoration: none; font-weight: 500; }
.final__cols a:hover { text-decoration: underline; text-underline-offset: .25em; }
.final__legal { margin-top: clamp(48px, 7vw, 96px); font-family: var(--font-meta); font-size: .8125rem; color: var(--gold-ink-2); }
/* ---------- 16. MOVIMENTO (só quando há script; conteúdo nunca fica escondido sem ele) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .btn__arrow, .toc a, .faq summary::after { transition: none; }
}

/* ---------- 17. TABLET ---------- */
@media (max-width: 1099px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar__nav { display: none; }
  .bar__login { display: none; }
  .menu { display: block; }

  .split, .split--platform, .split--mentors, .split--faq { grid-template-columns: 1fr; gap: 40px; }
  .split__aside { position: static; }
  .toc { display: none; }
  .stats-head { grid-template-columns: 1fr; align-items: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .final__top { grid-template-columns: 1fr; }
  .hero__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
}

/* ---------- 17b. TABLET E CELULAR: foto do hero em faixa, texto abaixo ---------- */
@media (max-width: 899px) {
  .hero { min-height: max(640px, 100svh); }
  .hero__photo { width: 100%; top: calc(var(--bar-h) + 24px); }
  .hero__media[data-placeholder]::before { width: 100%; height: 36svh; top: calc(var(--bar-h) + 24px); }
  .hero__inner { padding-top: calc(var(--bar-h) + 24px + 55.8vw + 32px); }
  .hero__title { align-self: start; padding-bottom: 32px; }
}
/* ---------- 18. CELULAR ---------- */
@media (max-width: 699px) {
  .bar__actions .btn { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; } /* celular: rolagem rápida, nada fica escondido */

  .hero__foot { grid-template-columns: 1fr; gap: 24px; }
  .hero__card { order: 2; }

  .panels, .stats { grid-template-columns: 1fr; }
  .panel, .stat { min-height: 0; }
  .panel .meta { padding-top: 14px; }
  .stat__num { margin-bottom: 24px; }
  .mentor { grid-template-columns: 1fr; }
  .mentor__photo { max-width: 240px; }
  .final__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- PLANO TRIMESTRAL: nova área comercial ---------- */
.plans-layout { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,6vw,100px); align-items:center; max-width:1250px; margin:auto; }
.plans-eyebrow { color:var(--gold); font-size:.75rem; letter-spacing:.14em; font-weight:700; margin-bottom:16px; }
.plan-card { border:1px solid rgb(255 197 61 / 42%); background:var(--stage); border-radius:14px; padding:clamp(26px,3.5vw,48px); box-shadow:0 18px 55px rgb(0 0 0 / 12%); }
.plan-card__label { font-size:1.08rem; color:var(--gold); font-weight:700; margin-bottom:12px; }
.plan-card__price { font-size:clamp(1.35rem,2vw,1.75rem); font-weight:400; letter-spacing:-.02em; line-height:1.2; }
.plan-card__equiv { color:var(--ink-2); margin:8px 0 28px; font-size:.97rem; }
.plan-card__features { display:grid; gap:15px; margin-bottom:32px; }
.plan-card__features li { position:relative; padding-left:27px; }
.plan-card__features li::before { content:'✓'; color:var(--gold); position:absolute; left:0; font-weight:700; }
.plan-card__action { width:100%; justify-content:center; text-align:center; }
.plan-card__disclaimer { color:var(--ink-2); font-size:.77rem; line-height:1.55; margin-top:15px; }
@media (max-width:850px) { .plans-layout { grid-template-columns:1fr; } }
@media (max-width:699px) { .hero { min-height:0; } .hero__inner { padding-bottom:40px; } .plan-card { padding:24px; } }
