/* Social Certo: mesa de luz escura, quadros marcados a lápis dourado. Mobile-first. */
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Allura"; src: url("/assets/fonts/allura-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0D0B14;
  --bg-2: #14111F;
  --panel: #1A1826;
  --line: #2E2A3E;
  --text: #F8F8F8;
  --muted: #A9A7B5;
  --gold: #F7AD00;
  --gold-hi: #FFC233;
  --ink: #0D0B14;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Allura", cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; color-scheme: dark; scrollbar-color: var(--gold) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--body); caret-color: var(--gold); font-synthesis: none; -webkit-font-smoothing: antialiased; }
body.has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
::selection { background: var(--gold); color: var(--ink); }
img, svg { max-width: 100%; }
a { color: var(--gold); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:not(.btn):hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
code { font-family: ui-monospace, monospace; font-size: .92em; background: var(--panel); padding: .1em .35em; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 12px 16px; font-weight: 700; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1, h2 { text-transform: uppercase; font-weight: 900; letter-spacing: -.02em; line-height: 1.02; }
h1 { font-size: clamp(2.25rem, 7.4vw, 4.9rem); }
h2 { font-size: clamp(1.75rem, 4.6vw, 3.1rem); margin-bottom: .55em; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.script { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--gold); font-size: 1.32em; line-height: .8; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1875rem; color: #E4E2EC; max-width: 60ch; }
.muted { color: var(--muted); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--gold); color: var(--ink); font: 800 .9375rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--gold); border-radius: 8px; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn.secondary:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn.ink { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.btn.ink:hover { background: #1b1730; border-color: #1b1730; color: #fff; }
.btn[hidden] { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Faixa de divulgação */
.band { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.band .wrap { padding-top: 8px; padding-bottom: 8px; }
.band a { color: var(--text); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.125rem/1 var(--display); letter-spacing: -.01em; color: var(--text); text-decoration: none; text-transform: uppercase; min-height: 44px; }
.brand:hover { color: var(--text); }
.brand b { font-family: var(--script); font-weight: 400; text-transform: none; color: var(--gold); font-size: 1.6em; letter-spacing: 0; margin-left: -2px; }
.menu-btn { width: 48px; height: 48px; background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; content: ""; position: relative; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; }
.menu.open { display: flex; flex-direction: column; gap: 4px; }
.menu a:not(.btn) { color: var(--text); text-decoration: none; padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--line); min-height: 48px; display: flex; align-items: center; }
.menu a:not(.btn):hover { color: var(--gold); }
.menu .btn { margin-top: 12px; }

/* Hero + folha de contato */
.hero { background: var(--bg) url("/assets/img/textura.svg") center top / 240px 240px; padding: 32px 0 56px; border-bottom: 1px solid var(--line); }
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 1.4em; }
.hero .actions { margin-bottom: clamp(28px, 4vw, 44px); }

.sheet { background: radial-gradient(110% 120% at 50% -10%, #3d3858 0%, #25203a 55%, #1b1728 100%); border-radius: 14px; padding: 16px 0 14px; }
.sheet-head { padding: 0 16px; display: grid; gap: 14px; margin-bottom: 14px; }
.sheet-head h2 { font-size: 1.25rem; margin: 0; letter-spacing: 0; }
.ctrls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.ctrls label { display: grid; gap: 4px; font-size: .875rem; color: var(--muted); font-weight: 600; }
.ctrls select { min-height: 48px; background: var(--bg); color: var(--text); border: 1px solid transparent; border-radius: 8px; padding: 0 36px 0 12px; width: 100%; font: 500 1rem var(--body); appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.ctrls select:hover { border-color: var(--gold); }
.ctrls .btn { min-height: 48px; }

.frames { display: grid; grid-auto-flow: column; grid-template-rows: auto; grid-auto-columns: min(66vw, 240px); gap: 10px; overflow-x: auto; padding: 4px 16px 12px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.frame { min-width: 0; position: relative; min-height: 210px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 10px 11px 10px; background: var(--bg); color: var(--text); border: 1px solid transparent; border-radius: 6px; font: 400 .9375rem/1.35 var(--body); cursor: pointer; transition: border-color .2s, opacity .25s, background .2s; }
button.frame:hover { border-color: var(--gold); }
.frame .n { font: 900 1.375rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--muted); }
.frame .fmt { font: 800 .75rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.frame .idea { flex: 1; font-weight: 500; overflow-wrap: anywhere; }
.frame .fase { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.frame .st { font: 800 .75rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-height: 1em; }
.frame .ring, .frame .cross { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); max-width: none; pointer-events: none; overflow: visible; visibility: hidden; }
.frame[data-state="ok"] .ring, .frame[data-state="no"] .cross { visibility: visible; }
.frame .ring path, .frame .cross path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease); }
.frame .ring path, .frame .cross path { opacity: 0; }
.frame .ring path { stroke: var(--gold); stroke-width: 2.4; }
.frame .cross path { stroke: var(--muted); stroke-width: 2.4; }
.frame[data-state="ok"] { border-color: var(--gold); background: #151122; }
.frame[data-state="ok"] .ring path { stroke-dashoffset: 0; opacity: 1; }
.frame[data-state="ok"] .st { color: var(--gold); }
.frame[data-state="no"] { opacity: .6; }
.frame[data-state="no"] .cross path { stroke-dashoffset: 0; opacity: 1; }
.frame[data-state="no"] .idea { text-decoration: line-through; text-decoration-thickness: 1px; }
.frame.rest { cursor: default; background: transparent; border: 1px dashed rgba(248, 248, 248, .28); justify-content: space-between; }
.rest-t { font-size: .875rem; color: var(--muted); }
.sheet-foot { padding: 4px 16px 0; display: grid; gap: 4px; }
.sheet-foot p { margin: 0; }
.sheet-foot .btn { justify-self: start; min-height: 44px; margin-top: 8px; }
#resumo { font-weight: 600; min-height: 1.65em; }
.sheet-foot .muted { font-size: .875rem; }

/* Seções */
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2) url("/assets/img/textura.svg") center top / 240px 240px; }
.section h2 { max-width: 20ch; }
.section .lead { margin-bottom: 1.6em; }
.prose { max-width: 70ch; }
.wrap.prose { max-width: var(--wrap); }
.prose h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: .6em; }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; max-width: none; letter-spacing: -.01em; }
.prose p, .prose li { max-width: 68ch; }

/* Etapas (módulos em ordem de curso) */
.etapas { display: grid; gap: 0; border-top: 1px solid var(--line); }
.etapa { display: grid; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.etapa-head p { margin: 10px 0 0; font-size: .9375rem; max-width: 34ch; }
.etapa h3 { font: 900 clamp(1.4rem, 3.4vw, 2rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: m; }
.mods li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 14px; align-items: start; }
.mods .num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; font: 900 .9375rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--gold); }
.mods strong { font-weight: 600; display: block; }
.mods span.d { color: var(--muted); font-size: .9375rem; display: block; }

/* Duas colunas de texto (para quem é / talvez não) */
.duo { display: grid; gap: 36px; }
.duo h3 { font-size: 1.25rem; margin-bottom: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold); }
.checks.no li::before { border-color: var(--muted); background: linear-gradient(var(--muted), var(--muted)) center / 8px 2px no-repeat; }

.wrap.produtor > *, .wrap.prose > * { max-width: 70ch; }

/* Ofertas (dourado cheio) */
.offers-sec { background: var(--gold); color: var(--ink); }
.offers-sec h2 { color: var(--ink); }
.offers-sec .lead { color: #2a2200; }
.offers-sec a:not(.btn) { color: var(--ink); }
.offers { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 1rem; }
.offers caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.offers th, .offers td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 2px solid var(--ink); vertical-align: top; }
.offers thead th { font: 900 1.0625rem/1.1 var(--display); text-transform: uppercase; border-bottom-width: 4px; }
.offers tbody th { font-weight: 600; width: 26%; font-size: .9375rem; }
.offers td { font-weight: 600; }
.offers td.big { white-space: nowrap; font: 900 clamp(1.2rem, 4vw, 2rem)/1 var(--display); }
.offers th, .offers td { padding-right: 8px; }
.offers-sec .actions .btn { flex: 1 1 240px; }
.offers-sec .fine { font-size: .9375rem; margin: 18px 0 0; max-width: 70ch; color: #2a2200; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); padding-top: 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; padding: 14px 40px 14px 0; font: 600 1.0625rem/1.4 var(--body); position: relative; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; width: 14px; height: 14px; background: linear-gradient(var(--gold), var(--gold)) center / 100% 2px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 2px 100% no-repeat; transition: background-size .2s var(--ease); }
.faq details[open] summary::after { background-size: 100% 2px, 2px 0; }
.faq details > div { padding: 0 0 18px; color: #DAD8E3; max-width: 66ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Transparência */
.transp { max-width: 70ch; border: 1px solid var(--line); border-radius: 12px; padding: 24px 20px 8px; background: var(--bg-2); }
.transp h2 { font-size: 1.5rem; margin-bottom: .6em; max-width: none; letter-spacing: -.01em; }

/* CTA final */
.cta-end { text-align: left; }
.cta-end h2 { max-width: 16ch; }

/* Rodapé */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .9375rem; }
.foot .cols { display: grid; gap: 32px; margin-bottom: 32px; }
.foot .fh { font: 800 .8125rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { color: var(--text); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot ul a:hover { color: var(--gold); }
.legal { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); }
.legal p { max-width: 80ch; margin-bottom: .6em; }

/* Sticky CTA mobile */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--gold); }
.sticky-cta .btn { white-space: nowrap; padding: 0 16px; }
.sticky-cta span { font: 800 .8125rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }

.consent { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; background: var(--panel); border: 1px solid var(--gold); border-radius: 12px; padding: 16px; display: grid; gap: 12px; font-size: .9375rem; }
.consent p { margin: 0; }
.consent div { display: flex; gap: 8px; flex-wrap: wrap; }

/* 404 */
.nf { padding: clamp(64px, 12vw, 140px) 0; }
.nf h1 { max-width: 12ch; margin-bottom: .5em; }

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .section { padding: 104px 0; }
  .hero { padding: 48px 0 80px; }
  body.has-sticky { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .consent { bottom: 16px; max-width: 520px; left: auto; right: 16px; }
  .menu-btn { display: none; }
  .menu { display: flex; position: static; flex-direction: row; align-items: center; gap: 24px; border: 0; padding: 0; background: none; }
  .menu a:not(.btn) { border: 0; padding: 0; min-height: 44px; font-size: .9375rem; }
  .menu .btn { margin: 0; min-height: 44px; }
  .sheet { padding: 24px 0 20px; }
  .sheet-head { padding: 0 24px; grid-template-columns: 1fr auto; align-items: end; }
  .ctrls { display: flex; flex-wrap: wrap; }
  .ctrls select { width: auto; min-width: 190px; }
  .frames { padding: 4px 24px 12px; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; }
  .sheet-foot { padding: 4px 24px 0; }
  .etapa { grid-template-columns: minmax(220px, 1fr) 2fr; gap: 40px; }
  .mods { grid-template-columns: 1fr 1fr; gap: 16px 32px; }
  .duo { grid-template-columns: 1fr 1fr; gap: 64px; }
  .foot .cols { grid-template-columns: 2fr 1fr 1fr; }
  .offers th, .offers td { padding-right: 24px; }
}
@media (min-width: 1100px) {
  .frames { grid-template-columns: repeat(7, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.offers-sec a:not(.btn):hover { color: var(--ink); text-decoration-thickness: 2px; }

/* Sublinhado a lápis dourado sob os títulos de seção */
.section h2::after { content: ""; display: block; width: 132px; height: 10px; margin-top: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 10' fill='none'%3E%3Cpath d='M2 6C22 2 46 8 70 4s46 2 60 0' stroke='%23F7AD00' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.offers-sec h2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 10' fill='none'%3E%3Cpath d='M2 6C22 2 46 8 70 4s46 2 60 0' stroke='%230D0B14' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cta-end h2::after, .nf h1::after { content: none; }
.split { display: grid; gap: 24px; }
.split .prose p { max-width: 62ch; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; } }
