/* ==========================================================================
   DevOficial — design system das páginas de topo de funil
   Paleta e tipografia extraídas do site atual (devoficial.com.br)
   ========================================================================== */

@font-face {
  font-family: 'Red Hat Display';
  src: url('../font/redhatdisplay.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* superfícies */
  --bg:          #060606;
  --bg-2:        #0d0d0f;
  --surface:     #141417;
  --surface-2:   #1c1c21;
  --border:      #2a2a31;

  /* dourado da marca */
  --gold:        #e5bb78;
  --gold-2:      #cd963c;
  --gold-3:      #c18a2d;
  --gold-soft:   rgba(229, 187, 120, .12);

  /* texto */
  --fg:          #ffffff;
  --fg-2:        #a3bac6;
  --fg-3:        #5e6c7b;

  /* semânticos */
  --ok:          #2daf7d;
  --danger:      #e5544b;
  --warn:        #e0a33a;

  --radius:      14px;
  --radius-lg:   22px;
  --maxw:        1120px;
  --font:        'Red Hat Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- tipografia ---------- */
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p  { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--fg-2); line-height: 1.6; }
.gold { color: var(--gold); }
.muted { color: var(--fg-2); }
.small { font-size: .875rem; line-height: 1.55; }
strong { font-weight: 700; color: var(--fg); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { max-width: 780px; }
section { padding: clamp(36px, 4.5vw, 60px) 0; }
.section-tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 15px 30px;
  font: inherit; font-weight: 900; font-size: 1.02rem; letter-spacing: -.01em;
  border: 0; border-radius: 999px; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #1a1206;
  box-shadow: 0 8px 30px rgba(229, 187, 120, .28);
}
.btn-primary:hover { box-shadow: 0 12px 38px rgba(229, 187, 120, .4); }
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold); }
.btn-block { width: 100%; }
.btn-mini {
  min-height: 40px; padding: 8px 18px; font-size: .88rem; white-space: nowrap;
}
.cta-support { font-size: .85rem; color: var(--fg-3); margin-top: 12px; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 6, 6, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-header img { width: 148px; }
.site-header .btn { min-height: 44px; padding: 9px 22px; font-size: .92rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 60px);
  background:
    radial-gradient(900px 460px at 50% 8%, rgba(229, 187, 120, .17), transparent 70%),
    radial-gradient(600px 380px at 82% 96%, rgba(205, 150, 60, .10), transparent 70%),
    var(--bg);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(229,187,120,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,187,120,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 400px at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 400px at 50% 20%, #000 20%, transparent 78%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 56ch; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
/* itens de grid têm min-width:auto por padrão — sem isto, uma imagem ou vídeo de
   largura intrínseca maior que a viewport estica a coluna e estoura a página no mobile */
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 8px; margin-bottom: 22px;
  background: var(--gold-soft); border: 1px solid rgba(229,187,120,.28);
  border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--gold);
}
.eyebrow img { width: 84px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- barra de confiança ---------- */
.trustbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border);
}
.trustbar span { display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--fg-2); font-weight: 700; }
.trustbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }

/* ---------- cartões ---------- */
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 52px; height: 52px; margin-bottom: 18px; }

.card-gold {
  background: linear-gradient(160deg, rgba(229,187,120,.13), rgba(20,20,23,.6));
  border-color: rgba(229,187,120,.34);
}

/* numerada (passo a passo) */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps > * { min-width: 0; }
/* duas colunas: usa quando são 4+ passos curtos e a coluna única vira um paredão */
@media (min-width: 820px) {
  .steps-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.step {
  position: relative; padding: 22px 22px 22px 68px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .18s ease;
}
.steps-2 .step { display: flex; flex-direction: column; }
.steps-2 .step ul { margin-bottom: 0; }
.step:hover { border-color: rgba(229, 187, 120, .34); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1206; font-weight: 900; font-size: 1.05rem;
}
@media (max-width: 560px) {
  /* no celular o recuo de 68px espremia o texto: o número sobe para a linha própria.
     Precisa vir DEPOIS de .step::before, senão a regra base (position:absolute) vence. */
  .step { padding: 20px 18px; }
  .step::before {
    position: static; display: grid; margin-bottom: 12px;
  }
  .step h3 { font-size: 1.05rem; }
}

.step h3 { margin-bottom: .3em; }
.step p:last-child { margin-bottom: 0; }

/* ---------- tabela comparativa ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface); font-size: .95rem; }
caption { text-align: left; padding: 16px 20px; color: var(--fg-3); font-size: .85rem; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); font-weight: 900; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
tbody tr:last-child td { border-bottom: 0; }
th[scope="row"] { font-weight: 700; color: var(--fg); }
.col-good { color: var(--ok); font-weight: 700; }
.col-bad  { color: var(--danger); font-weight: 700; }
.tick::before { content: '✓ '; }
.cross::before { content: '✕ '; }

/* ---------- listas ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--fg-2); }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold);
  display: grid; place-items: center; font-size: .72rem; font-weight: 900;
}
.checklist.bad li::before { content: '✕'; background: rgba(229,84,75,.14); color: var(--danger); }
.checklist strong { color: var(--fg); }

/* ---------- destaque / aviso ---------- */
.callout {
  border-left: 3px solid var(--gold-2);
  background: linear-gradient(90deg, var(--gold-soft), transparent);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 30px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.danger { border-left-color: var(--danger); background: linear-gradient(90deg, rgba(229,84,75,.1), transparent); }

/* ---------- prova social ---------- */
.proof { text-align: center; }
.proof img { margin-inline: auto; border-radius: var(--radius); }
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 34px; margin-top: 30px;
}
.logos img { width: 118px; opacity: .62; filter: grayscale(1) brightness(1.7); transition: opacity .2s, filter .2s; }
.logos img:hover { opacity: 1; filter: grayscale(0) brightness(1); }

/* ---------- mídia ---------- */
figure { margin: 0; }
figure video, figure img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; }
figcaption { margin-top: 12px; font-size: .84rem; color: var(--fg-3); text-align: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 54px 20px 24px;
  font-weight: 700; font-size: 1.04rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gold); line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--gold); }
.faq .faq-body { padding: 0 24px 22px; color: var(--fg-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(229,187,120,.16), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-final h2 { max-width: 20ch; margin-inline: auto; }
.cta-final .lead { max-width: 54ch; margin-inline: auto; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- rodapé ---------- */
.site-footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 46px 0 34px; color: var(--fg-3); font-size: .88rem;
}
.site-footer img { width: 132px; margin-bottom: 18px; }
.site-footer a { color: var(--fg-2); }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); line-height: 1.6; }

/* ---------- formulário de contato comercial ---------- */
.form-comercial {
  max-width: 620px; margin: 34px auto 0; text-align: left;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 34px);
}
.form-comercial > p:first-child { margin-top: 0; }
.campos { display: grid; gap: 16px; }
@media (min-width: 560px) { .campos.duas { grid-template-columns: 1fr 1fr; } }
.campos > * { min-width: 0; }
.campo { display: grid; gap: 6px; }
.campo label { font-size: .86rem; font-weight: 700; color: var(--fg-2); }
.campo label .obrig { color: var(--gold); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 13px 16px;
  font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 10px; -webkit-appearance: none; appearance: none;
  transition: border-color .18s ease, background .18s ease;
}
.campo textarea { min-height: 92px; resize: vertical; }
.campo select {
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-3) 50%),
                    linear-gradient(135deg, var(--fg-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 42px;
}
.campo input::placeholder, .campo textarea::placeholder { color: var(--fg-3); }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--gold-2); background: var(--surface-2);
}
.campo input:invalid:not(:placeholder-shown) { border-color: var(--danger); }
/* preferência de contato — controle segmentado */
.pref { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pref input { position: absolute; opacity: 0; width: 0; height: 0; }
.pref label {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 14px; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px;
  font-weight: 700; font-size: .95rem; color: var(--fg-2);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.pref label:hover { border-color: var(--gold-3); }
.pref input:checked + label {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: var(--gold); color: #1a1206;
}
.pref input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 3px; }

.form-comercial .btn { margin-top: 22px; }
.form-comercial [aria-live] { margin-top: 18px; }
.form-aviso {
  padding: 16px 18px; border-radius: 10px; font-size: .93rem; line-height: 1.55;
}
.form-aviso.ok { background: rgba(45,175,125,.12); border: 1px solid rgba(45,175,125,.4); color: #7fe0bb; }
.form-aviso.erro { background: rgba(229,84,75,.12); border: 1px solid rgba(229,84,75,.4); color: #f0a09a; }
.form-aviso strong { color: inherit; }
.form-privacidade {
  margin: 16px 0 0; font-size: .8rem; color: var(--fg-3); line-height: 1.55;
}
.form-privacidade a { color: var(--fg-2); }

/* ---------- modal de vídeo ---------- */
.vmodal {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  padding: 20px;
  background: rgba(4, 4, 5, .88);
  backdrop-filter: blur(6px);
}
.vmodal[open], .vmodal.aberto { display: grid; }
.vmodal-caixa {
  position: relative; width: 100%; max-width: 980px;
}
/* vídeo vertical (9:16): a largura passa a ser derivada da altura livre,
   senão sobra tarja preta ocupando dois terços do modal */
.vmodal-caixa.vertical { max-width: min(430px, calc(76vh * 9 / 16)); }
.vmodal-quadro {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}
.vmodal-quadro.vertical { aspect-ratio: 9 / 16; }
.vmodal-quadro iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal-carregando {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--fg-3); font-size: .9rem;
}
.vmodal-fechar {
  position: absolute; top: -46px; right: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; min-height: 38px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px; color: var(--fg);
  font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
}
.vmodal-fechar:hover { border-color: var(--gold-2); color: var(--gold); }
.vmodal-legenda { margin: 16px 2px 0; color: var(--fg-2); font-size: .9rem; }
.vmodal-legenda a { font-weight: 700; }
@media (max-width: 560px) {
  .vmodal { padding: 14px; }
  .vmodal-fechar { top: auto; bottom: -46px; right: 50%; transform: translateX(50%); }
}
body.vmodal-travado { overflow: hidden; }

/* ---------- faixa de segmentos ---------- */
.segmentos { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 640px) { .segmentos { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.segmentos > * { min-width: 0; }
.seg-card {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.seg-card:hover {
  text-decoration: none; transform: translateY(-2px);
  border-color: var(--gold-3); background: var(--surface-2);
}
.seg-card .emoji { font-size: 1.5rem; line-height: 1; flex: none; }
.seg-card strong { display: block; font-size: .98rem; }
.seg-card span.q { display: block; color: var(--fg-3); font-size: .82rem; margin-top: 2px; }

/* ---------- resumo rápido (topo de funil) ---------- */
.resumo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-2);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(24px, 4vw, 34px);
}
.resumo h2 {
  font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.resumo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.resumo li { position: relative; padding-left: 38px; font-size: 1.05rem; line-height: 1.55; color: var(--fg-2); }
.resumo li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 22px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-3));
}
.resumo strong { color: var(--fg); }
.resumo .fecho { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--fg-2); }

/* ---------- glossário ---------- */
.glossario { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 700px) { .glossario { grid-template-columns: 1fr 1fr; } }
.glossario > * { min-width: 0; }
.termo {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
}
.termo dt { font-weight: 900; font-size: 1.05rem; color: var(--gold); margin-bottom: 6px; }
.termo dd { margin: 0; color: var(--fg-2); font-size: .95rem; line-height: 1.6; }
.termo .traducao {
  display: block; margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--border); color: var(--fg-3); font-size: .87rem;
}

/* ---------- próximo passo (encadeamento do funil) ---------- */
.next { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 720px) { .next { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); } }
.next > * { min-width: 0; }

.next-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.next-card:hover {
  text-decoration: none; transform: translateY(-3px);
  border-color: var(--gold-3); background: var(--surface-2);
}
.next-stage {
  align-self: flex-start; margin-bottom: 14px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
.stage-topo  { background: rgba(163,186,198,.14); color: #a3bac6; }
.stage-meio  { background: rgba(229,187,120,.16); color: var(--gold); }
.stage-fundo { background: rgba(45,175,125,.16);  color: var(--ok); }

.next-card h3 { font-size: 1.12rem; margin-bottom: .35em; }
.next-card p { color: var(--fg-2); font-size: .93rem; margin-bottom: 1em; flex: 1; }
.next-card .go { font-weight: 900; color: var(--gold); font-size: .93rem; }
.next-card:hover .go { text-decoration: underline; }

/* ---------- simulador de custo ---------- */
.sim {
  background: linear-gradient(160deg, rgba(229,187,120,.10), rgba(20,20,23,.7));
  border: 1px solid rgba(229,187,120,.3);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
}
.sim fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.sim legend {
  padding: 0; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-2);
}
.sim-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-opts label {
  cursor: pointer; padding: 11px 18px;
  background: var(--surface-2); border: 1.5px solid var(--border);
  border-radius: 999px; font-weight: 700; font-size: .92rem;
  transition: border-color .18s, background .18s, color .18s;
}
.sim-opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.sim-opts label:hover { border-color: var(--gold-3); }
.sim-opts input:checked + span,
.sim-opts label:has(input:checked) {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: var(--gold); color: #1a1206;
}
.sim-opts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }

.sim-out { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 620px) { .sim-out { grid-template-columns: repeat(3, 1fr); } }
.sim-cell {
  background: rgba(6,6,6,.5); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
}
.sim-cell dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.sim-cell dd { margin: 0; font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 900; letter-spacing: -.02em; }
.sim-cell.total { border-color: rgba(229,187,120,.45); background: rgba(229,187,120,.08); }
.sim-cell.total dd { color: var(--gold); }
.sim-note { margin-top: 20px; font-size: .82rem; color: var(--fg-3); line-height: 1.6; }

/* ---------- índice de conteúdo ---------- */
.toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px; margin-bottom: 40px;
}
.toc h2 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 14px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--fg-2); }

/* ---------- utilidades ---------- */
/* visível só para leitor de tela */
.sr-apenas {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 42px; }
.stack > * + * { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
