/* =========================================================
   João Pedro Gomes · Direito Digital e Crimes Cibernéticos
   Estilos de todas as páginas (sem bibliotecas externas)
   ========================================================= */

/* ---------- Fontes (hospedadas no site · SIL OFL) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cinzel-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --bg-3: #16161a;
  --card: rgba(255, 255, 255, .025);
  --line: rgba(234, 211, 155, .14);
  --line-2: rgba(234, 211, 155, .28);
  --text: #ece7dc;
  --muted: #a39e93;
  --dim: #6f6b64;
  --gold: #c9a55c;
  --gold-hi: #ead39b;
  --gold-lo: #8e6a2f;
  --gold-grad: linear-gradient(180deg, #f1dfae 0%, #c9a55c 55%, #8e6a2f 100%);
  --gold-grad-x: linear-gradient(100deg, #8e6a2f 0%, #ead39b 45%, #a67f3b 100%);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(201, 165, 92, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
}

/* Barra de progresso de leitura */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--read, 0)); background: var(--gold-grad-x); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-gold { background: var(--gold-grad-x); background-size: 160% 100%; background-position: 0 0; color: #17130b; box-shadow: 0 10px 30px -12px rgba(201, 165, 92, .55); }
.btn-gold:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px -14px rgba(234, 211, 155, .7); }
.btn-line { border: 1px solid var(--line-2); color: var(--text); background: rgba(10, 10, 11, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link { color: var(--gold-hi); font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .3s, color .3s; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { border-color: var(--gold-hi); color: #fff; }

/* ---------- Tipografia de seções ---------- */
.section { padding-block: clamp(80px, 12vw, 150px); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.no-rule::before { display: none; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.section-title em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); max-width: 60ch; margin-top: 20px; text-wrap: pretty; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head.split { display: grid; gap: 24px; align-items: end; }
.side-note { color: var(--dim); font-size: 14px; max-width: 34ch; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr auto; } }

/* Revelação ao rolar */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background-color .4s, border-color .4s, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(10, 10, 11, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.15; margin-right: auto; }
.logo-mark { width: 38px; height: 44px; flex: none; }
.brand-name { display: block; white-space: nowrap; font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .01em; }
.brand-sub { display: block; margin-top: 3px; white-space: nowrap; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.main-nav ul { display: flex; gap: 22px; }
.main-nav a { white-space: nowrap; font-size: 14px; color: var(--muted); position: relative; padding-block: 6px; transition: color .3s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:hover, .main-nav a.is-current { color: var(--text); }
.main-nav a.nav-cursos { color: var(--gold-hi); padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 99px; transition: background-color .3s, border-color .3s, color .3s; }
.main-nav a.nav-cursos::after { display: none; }
.main-nav a.nav-cursos:hover, .main-nav a.nav-cursos.is-current { background: rgba(201, 165, 92, .12); border-color: var(--gold); color: #fff; }
@media (max-width: 1480px) { .site-header .brand-sub .long { display: none; } .main-nav ul { gap: 18px; } }
@media (max-width: 1360px) { .main-nav ul { gap: 14px; } .main-nav a { font-size: 13.5px; } .main-nav a.nav-cursos { padding-inline: 11px; } .header-cta { padding-inline: 16px; } }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header-cta { min-height: 44px; padding-inline: 18px; font-size: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), opacity .2s; }
.menu-btn::before { top: 17px; } .menu-btn span { top: 22px; } .menu-btn::after { top: 27px; }
.menu-btn[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span { opacity: 0; }
.menu-btn[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 90; background: #080809; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 32px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav ul { display: grid; }
.mobile-nav li { border-bottom: 1px solid var(--line); transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.mobile-nav.is-open li { transform: none; opacity: 1; }
.mobile-nav.is-open li:nth-child(2) { transition-delay: .04s; } .mobile-nav.is-open li:nth-child(3) { transition-delay: .08s; }
.mobile-nav.is-open li:nth-child(4) { transition-delay: .12s; } .mobile-nav.is-open li:nth-child(5) { transition-delay: .16s; }
.mobile-nav.is-open li:nth-child(6) { transition-delay: .2s; } .mobile-nav.is-open li:nth-child(7) { transition-delay: .24s; }
.mobile-nav a:not(.btn) { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-family: var(--serif); font-size: 30px; }
.mobile-nav small { font-family: var(--sans); font-size: 12px; color: var(--gold); letter-spacing: .15em; }
.mobile-nav a.mnav-cursos { color: var(--gold-hi); }
.mobile-nav.is-open li:nth-child(8) { transition-delay: .28s; } .mobile-nav.is-open li:nth-child(9) { transition-delay: .32s; }
@media (max-height: 760px) { .mobile-nav { gap: 22px; padding-top: calc(var(--header-h) + 10px); } .mobile-nav a:not(.btn) { padding: 9px 0; font-size: 25px; } }
.mobile-nav a.mnav-cursos em { display: block; margin-top: 2px; font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
body.nav-open { overflow: hidden; }

@media (max-width: 1240px) {
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 520px) {
  :root { --header-h: 66px; }
  .brand-sub .long { display: none; }
  .brand-name { font-size: 19px; }
  .logo-mark { width: 32px; height: 37px; }
}

/* =========================================================
   ABERTURA — a foto é o elemento principal
   --p (0→1) é definido pelo JS conforme a página rola
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; isolation: isolate; --p: 0; }

/* luzes da própria foto, bem desfocadas, preenchendo o resto da tela */
.hero-ambient { position: absolute; inset: -8%; z-index: -3; background: url("../img/fundo-noite.webp") 50% 40% / cover no-repeat; opacity: .5; transform: translateY(calc(var(--p) * 5%)); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, transparent 38%, rgba(10, 10, 11, .78) 62%, rgba(10, 10, 11, .9) 100%),
  linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, transparent 22%, transparent 68%, var(--bg) 100%); }

.hero-photo { position: absolute; z-index: -2; top: 0; bottom: 0; right: 46vw; aspect-ratio: 1122 / 1402; transform: translateY(calc(var(--p) * 7%));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 74%, transparent 100%), linear-gradient(180deg, #000 70%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 74%, transparent 100%), linear-gradient(180deg, #000 70%, transparent 100%); mask-composite: intersect; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: heroPhoto 1.8s var(--ease) both; }
@keyframes heroPhoto { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

.hero-inner { display: flex; justify-content: flex-end; }
.hero-copy { width: min(560px, 44vw); padding-block: 40px; opacity: calc(1 - var(--p) * 1.6); transform: translateY(calc(var(--p) * -40px)); }
.hero-copy > * { animation: heroUp 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + .25s); }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 4.9vw, 78px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.hero-title em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-sub { margin-top: 24px; font-size: clamp(16px, 1.25vw, 18px); color: #cfc9bd; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); opacity: calc(1 - var(--p) * 6); }
.scroll-cue i { width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero { align-items: flex-end; padding-bottom: 26px; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 10, 11, .5) 0%, transparent 16%, transparent 34%, rgba(10, 10, 11, .86) 62%, var(--bg) 100%); }
  .hero-ambient { display: none; }
  .hero-photo { right: 0; left: 0; bottom: auto; height: 72svh; aspect-ratio: auto; transform: translateY(calc(var(--p) * 5%));
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero-photo img { object-position: 50% 12%; }
  .hero-inner { justify-content: flex-start; }
  .hero-copy { width: 100%; padding-block: 0; }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub { margin-top: 14px; font-size: 15.5px; line-height: 1.55; }
  .hero-actions { margin-top: 20px; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .hero .hero-actions .btn { padding-inline: 8px; font-size: 13.5px; }
  .hero .hero-actions .arrow { display: none; }
}

/* ---------- Áreas de atuação ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; min-height: 280px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008)); overflow: hidden;
  transition: border-color .4s, background-color .4s; }
.area:hover { border-color: var(--line-2); background-color: rgba(201, 165, 92, .04); }
.area-num { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--gold); }
.area-icon { width: 26px; height: 26px; stroke: var(--gold-hi); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-back); }
.area h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; margin-top: auto; }
.area p { font-size: 14.5px; color: var(--muted); }
.area-go { font-size: 13px; font-weight: 600; color: var(--gold); display: inline-flex; gap: 8px; align-items: center; }
.area-go::after { content: "→"; transition: transform .3s var(--ease); }
.area:hover .area-go::after { transform: translateX(5px); }
@media (max-width: 1100px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .areas { grid-template-columns: 1fr; gap: 10px; }
  .area { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 4px 14px; align-items: start; min-height: 0; padding: 16px; }
  .area-num { grid-row: 1 / span 2; font-size: 0; width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-2); border-radius: 12px; }
  .area-icon { width: 22px; height: 22px; }
  .area h3 { grid-column: 2; margin-top: 0; font-size: 21px; }
  .area p { grid-column: 2; font-size: 14px; line-height: 1.5; }
  .area-go { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 0; gap: 0; }
  .area-go::after { font-size: 16px; }
}

/* =========================================================
   NA PRÁTICA — simulador de caso (circuito entre as partes)
   ========================================================= */
.sim { border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(170deg, #121216 0%, #0c0c0e 70%); overflow: hidden; box-shadow: 0 50px 110px -70px rgba(0, 0, 0, .9); }
.sim-cases { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.sim-cases::-webkit-scrollbar { display: none; }
.sim-case { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .3s, background-color .3s; }
.sim-case svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sim-case:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.sim-case[aria-selected="true"] { color: #17130b; background: var(--gold-grad-x); font-weight: 600; }

.sim-stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.sim-map { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 26px 26px 22px; border-right: 1px solid var(--line);
  background: radial-gradient(circle at 48% 46%, rgba(201, 165, 92, .09), transparent 62%), radial-gradient(rgba(234, 211, 155, .09) 1px, transparent 1.2px) 0 0 / 22px 22px; }
.sim-map svg { width: 100%; height: auto; max-height: 440px; overflow: visible; }
.sim-trace { fill: none; stroke: rgba(234, 211, 155, .16); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s, stroke-width .5s; }
.sim-trace.is-done { stroke: rgba(201, 165, 92, .6); }
.sim-trace.is-active { stroke: var(--gold-hi); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(234, 211, 155, .55)); }
.sim-node .hx { fill: #111114; stroke: rgba(234, 211, 155, .28); stroke-width: 1.5; transition: stroke .4s, fill .4s; }
.sim-node .ic { fill: none; stroke: var(--dim); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.sim-node text { font: 500 13px var(--sans); letter-spacing: .06em; fill: var(--dim); text-anchor: middle; transition: fill .4s; }
.sim-node-esc use { opacity: .55; transition: opacity .4s, filter .4s; }
.sim-node.is-active .hx { stroke: var(--gold-hi); fill: #1a160e; filter: drop-shadow(0 0 10px rgba(234, 211, 155, .35)); }
.sim-node.is-active .ic { stroke: var(--gold-hi); }
.sim-node.is-active text { fill: var(--text); }
.sim-node-esc.is-active use { opacity: 1; filter: drop-shadow(0 0 12px rgba(234, 211, 155, .45)); }
.sim-pulse { fill: #fff3d2; filter: drop-shadow(0 0 8px var(--gold-hi)); opacity: 0; }
.sim.is-moving .sim-pulse { opacity: 1; }
.sim-ring { fill: none; stroke: var(--gold-hi); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sim.is-thinking .sim-ring { animation: simRing 1.8s ease-out infinite; }
@keyframes simRing { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.5); } }
.sim-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; min-height: 34px; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sim-flow i { font-style: normal; color: var(--gold); }
.sim-flow b { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 13.5px; color: var(--gold-hi); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; }
.sim-flow b:empty { display: none; }

.sim-panel { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 44px); min-height: 470px; }
.sim-copy.is-in { animation: panelIn .5s var(--ease); }
.sim-count { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.sim-panel h3 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1.05; margin-top: 12px; text-wrap: balance; }
.sim-text { color: var(--muted); margin-top: 14px; max-width: 50ch; }
.sim-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.sim-steps button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--serif); font-size: 18px; color: var(--muted); transition: background-color .3s, color .3s, border-color .3s; }
.sim-steps button:hover { border-color: var(--gold); color: var(--gold-hi); }
.sim-steps button.is-done { border-color: var(--gold); color: var(--gold-hi); }
.sim-steps button[aria-current="step"] { background: var(--gold-grad-x); border-color: transparent; color: #17130b; font-weight: 600; }
.sim-nav { display: flex; gap: 10px; margin-top: 16px; }
.sim-nav .btn { min-height: 46px; padding-inline: 20px; font-size: 14.5px; }
.sim-nav .btn[disabled] { opacity: .35; pointer-events: none; }
.sim-cta { margin-top: 20px; font-size: 14.5px; }
.sim-foot { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); text-align: center; }
@media (max-width: 900px) {
  .sim-stage { grid-template-columns: 1fr; }
  .sim-map { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 10px 14px; }
  .sim-map svg { max-height: 236px; }
  .sim-flow { margin-top: 4px; min-height: 30px; }
  .sim-case { flex: 0 0 auto; min-height: 44px; padding: 0 14px; font-size: 14px; }
  .sim-panel { min-height: 372px; padding: 14px 18px 22px; }
  .sim-panel h3 { font-size: 27px; margin-top: 8px; }
  .sim-text { font-size: 15px; margin-top: 10px; }
  .sim-nav { order: -1; margin: 0 0 18px; }
  .sim-nav .btn { flex: 1 1 0; min-height: 44px; padding-inline: 10px; }
  .sim-steps { display: none; }
  .sim-cta { margin-top: auto; padding-top: 16px; }
}

/* ---------- Linha do tempo (prazos) ---------- */
.timeline-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.timeline { max-width: 1040px; margin-inline: auto; }
.tl-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tl-rail::before, .tl-progress { content: ""; position: absolute; left: 10%; right: 10%; top: 23px; height: 1px; background: var(--line-2); }
.tl-progress { right: auto; width: calc(80% * var(--tl, 0)); background: var(--gold-grad-x); height: 2px; top: 22.5px; transition: width .7s var(--ease); }
.tl-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px 10px; text-align: center; }
.tl-node .mark { width: 46px; height: 46px; display: grid; place-items: center; }
.tl-node .mark svg { width: 46px; height: 46px; }
.tl-node .hx { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.5; transition: stroke .4s, fill .4s; }
.tl-node .core { fill: var(--dim); transition: fill .4s, transform .5s var(--ease-back); transform-origin: 23px 23px; transform: scale(.7); }
.tl-node strong { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--muted); transition: color .3s; }
.tl-node small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.tl-node[aria-selected="true"] .hx, .tl-node.is-past .hx { stroke: var(--gold); fill: #17140e; }
.tl-node[aria-selected="true"] .core { fill: var(--gold-hi); transform: scale(1.1); }
.tl-node.is-past .core { fill: var(--gold); }
.tl-node[aria-selected="true"] strong { color: var(--text); }
.tl-panels { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); padding: clamp(24px, 4vw, 48px); min-height: 230px; }
.tl-panel { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; animation: panelIn .6s var(--ease); }
.tl-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tl-panel .big { font-family: var(--serif); font-size: clamp(52px, 7vw, 92px); font-weight: 600; line-height: .9; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-panel .big small { display: block; margin-top: 12px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.tl-panel h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.1; margin-bottom: 12px; }
.tl-panel p { color: var(--muted); }
.law { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--gold); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; }
.tl-foot { margin-top: 18px; text-align: center; font-size: 13px; color: var(--dim); }
@media (max-width: 700px) {
  .tl-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tl-rail::-webkit-scrollbar { display: none; }
  .tl-rail::before, .tl-progress { display: none; }
  .tl-node { flex: 0 0 31%; scroll-snap-align: center; }
  .tl-node strong { font-size: 20px; }
  .tl-panel { grid-template-columns: 1fr; gap: 16px; }
  .tl-panels { margin-top: 20px; }
}

/* =========================================================
   FAIXA "DO INCIDENTE À ESTRATÉGIA" — cena de rolagem
   ========================================================= */
.band { position: relative; height: 190vh; --p: 0; }
.band-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; align-content: center; background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(201, 165, 92, calc(.04 + var(--land, 0) * .1)), transparent 70%), var(--bg); }
.band-title { display: flex; flex-direction: column; align-items: center; font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: -.025em; line-height: .86; font-size: clamp(54px, 13.5vw, 230px); text-align: center; white-space: nowrap; gap: clamp(90px, 15vw, 200px); }
.band-line { display: block; }
.band-line > span { display: inline-block; padding-inline: .04em; }
.band-top { transform: translateX(calc((1 - min(var(--p) * 2.2, 1)) * -85vw)); }
.band-top > span { color: transparent; -webkit-text-stroke: 1.2px rgba(236, 231, 220, .7); transition: color .6s; }
.band.is-landed .band-top > span { color: var(--text); -webkit-text-stroke: 0; }
.band-bot { transform: translateX(calc((1 - min(var(--p) * 2.2, 1)) * 85vw)); }
.band-bot .gold-text { font-style: normal; }
.band-seal { position: absolute; left: 50%; top: 50%; width: clamp(96px, 13vw, 170px); aspect-ratio: 100 / 116; margin: calc(clamp(96px, 13vw, 170px) * -.58) 0 0 calc(clamp(96px, 13vw, 170px) * -.5);
  transform: translateY(calc((1 - min(var(--p) * 1.8, 1)) * -75vh)) rotate(calc((1 - min(var(--p) * 1.8, 1)) * -200deg)); }
.band-seal svg { width: 100%; height: 100%; filter: drop-shadow(0 0 calc(var(--land, 0) * 30px) rgba(234, 211, 155, .5)); }
.band-seal .ring { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; transform: translate(-50%, -50%) scale(calc(.6 + var(--land, 0) * 2.4)); opacity: calc((1 - var(--land, 0)) * .9 * min(var(--land, 0) * 8, 1)); }
.band-seal .ring.r2 { transform: translate(-50%, -50%) scale(calc(.6 + var(--land, 0) * 3.8)); opacity: calc((1 - var(--land, 0)) * .5 * min(var(--land, 0) * 8, 1)); }
.band-rail { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent); transform-origin: 50% 0; transform: scaleY(min(var(--p) * 1.8, 1)); opacity: .35; }
.band-sub { position: absolute; bottom: clamp(40px, 10vh, 90px); left: var(--gutter); right: var(--gutter); text-align: center; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); opacity: var(--land, 0); transform: translateY(calc((1 - var(--land, 0)) * 20px)); }
.band-sub b { color: var(--gold-hi); font-weight: 500; }
@media (max-width: 700px) {
  .band { height: 170vh; }
  .band-title { font-size: clamp(40px, 12.8vw, 120px); gap: 130px; }
}

/* ---------- Método ---------- */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.method-sticky { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.method-intro { color: var(--muted); margin-top: 18px; max-width: 46ch; }
.dossier { margin-top: 36px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, #121215, #0d0d0f); padding: 22px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); }
.dossier-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dossier-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 165, 92, .15); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.dossier-msg { margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; }
.dossier-msg small { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 11px; color: var(--dim); }
.dossier ol { display: grid; gap: 6px; }
.dossier-row { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; opacity: .4; transition: opacity .5s, border-color .5s, background-color .5s, transform .5s var(--ease); }
.dossier-row .n { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.dossier-row b { display: block; font-weight: 600; font-size: 14.5px; }
.dossier-row small { color: var(--dim); font-size: 12.5px; }
.dossier-row .ck { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .4s, border-color .4s; }
.dossier-row .ck svg { width: 12px; height: 12px; fill: none; stroke: #17130b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease-back); }
.dossier-row.is-active { opacity: 1; border-color: var(--line-2); background: rgba(201, 165, 92, .06); transform: translateX(6px); }
.dossier-row.is-done { opacity: 1; }
.dossier-row.is-done .ck, .dossier-row.is-active .ck { background: var(--gold); border-color: var(--gold); }
.dossier-row.is-done .ck svg, .dossier-row.is-active .ck svg { opacity: 1; transform: none; }
.dossier-foot { margin-top: 14px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.method-steps { position: relative; padding-left: 40px; }
.method-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.method-rail i { position: absolute; inset: 0 0 auto 0; height: calc(var(--mp, 0) * 100%); background: var(--gold-grad); width: 2px; left: -.5px; }
.m-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; position: relative; opacity: .35; transition: opacity .6s; }
.m-step.is-active { opacity: 1; }
.m-step::before { content: ""; position: absolute; left: -46px; top: 50%; width: 13px; height: 13px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.m-step.is-active::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201, 165, 92, .15); }
.m-step .num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); margin-bottom: 8px; }
.m-step h3 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: 1.05; margin-bottom: 14px; }
.m-step p { color: var(--muted); max-width: 44ch; }
.m-step .text-link { margin-top: 22px; align-self: flex-start; }
@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-sticky { position: relative; top: 0; }
  .dossier { display: none; }
  .m-step { min-height: 0; padding-block: 34px; opacity: 1; }
}

/* =========================================================
   TRIAGEM — "Monte o seu caso"
   ========================================================= */
.triage-section { background: radial-gradient(ellipse 60% 40% at 30% 40%, rgba(201, 165, 92, .07), transparent 70%); }
.triage-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }

.case-build { position: sticky; top: calc(var(--header-h) + 24px); }
.cb-folder { position: relative; border: 1px solid var(--line-2); border-radius: 22px; padding: 56px 20px 22px; background: linear-gradient(170deg, #17161a 0%, #0e0e10 60%); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04); display: grid; gap: 12px; min-height: 420px; align-content: start; overflow: hidden; }
.cb-tab { position: absolute; top: 0; left: 22px; right: 22px; display: flex; justify-content: space-between; padding: 14px 4px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); border-bottom: 1px dashed var(--line-2); }
.cb-slot { position: relative; display: grid; grid-template-columns: 30px 52px 1fr; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1.5px dashed rgba(234, 211, 155, .2); background: rgba(255, 255, 255, .012); transition: border-color .4s, background-color .4s; }
.cb-n { font-family: var(--serif); font-size: 22px; color: var(--dim); transition: color .4s; }
.cb-icon, .cb-sheets { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: background-color .4s, border-color .4s; }
.cb-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--dim); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.cb-text small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.cb-text b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; color: var(--dim); transition: color .4s; }
.cb-sheets { position: relative; }
.cb-sheets i { position: absolute; width: 24px; height: 30px; border-radius: 3px; background: #2a2823; border: 1px solid rgba(234, 211, 155, .2); transition: transform .6s var(--ease-back), background-color .4s, opacity .4s; opacity: .35; }
.cb-sheets i::before { content: ""; position: absolute; left: 5px; right: 5px; top: 7px; height: 9px; background: repeating-linear-gradient(180deg, rgba(234, 211, 155, .45) 0 1px, transparent 1px 4px); }
.cb-slot.is-filled { border-style: solid; border-color: var(--line-2); background: rgba(201, 165, 92, .07); animation: dropIn .7s var(--ease-back); }
.cb-slot.is-filled .cb-n { color: var(--gold); }
.cb-slot.is-filled .cb-icon { background: var(--gold-grad); border-color: transparent; }
.cb-slot.is-filled .cb-icon svg { stroke: #17130b; }
.cb-slot.is-filled .cb-text b { color: var(--text); }
.cb-slot.is-filled .cb-sheets { border-color: var(--line-2); }
.cb-slot.is-filled .cb-sheets i { opacity: 1; background: #f0e6cc; }
.cb-slot.is-filled .cb-sheets i::before { background: repeating-linear-gradient(180deg, rgba(23, 19, 11, .45) 0 1px, transparent 1px 4px); }
.cb-sheets[data-n="3"] i:nth-child(1) { transform: rotate(-14deg) translateX(-6px); }
.cb-sheets[data-n="3"] i:nth-child(3) { transform: rotate(12deg) translateX(6px); }
.cb-sheets[data-n="2"] i:nth-child(1) { transform: rotate(-9deg) translateX(-4px); }
.cb-sheets[data-n="2"] i:nth-child(3) { opacity: 0; }
.cb-sheets[data-n="1"] i:nth-child(1), .cb-sheets[data-n="1"] i:nth-child(3) { opacity: 0; }
@keyframes dropIn { 0% { transform: translateY(-36px) scale(.96); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.cb-stamp { position: absolute; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border: 2px solid var(--gold); border-radius: 14px; color: var(--gold-hi); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; line-height: 1.3; transform: rotate(-8deg) scale(2.4); opacity: 0; pointer-events: none; background: rgba(10, 10, 11, .7); }
.cb-stamp svg { width: 32px; height: 37px; }
.case-build.is-done .cb-stamp { animation: stamp .55s cubic-bezier(.5, 0, .6, 1.4) forwards; }
.case-build.is-done .cb-folder { animation: thud .5s .4s; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-8deg) scale(2.4); } 70% { opacity: 1; transform: rotate(-8deg) scale(.94); } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes thud { 0%, 100% { transform: none; } 30% { transform: translateY(3px) scale(.995); } }
.assurances { display: grid; gap: 12px; margin-top: 22px; }
.assurances li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); }
.assurances svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; margin-top: 2px; }
.assurances b { color: var(--text); font-weight: 600; }

.triage { border: 1px solid var(--line-2); border-radius: 22px; background: rgba(14, 14, 16, .85); overflow: hidden; }
.triage-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.triage-head .t { color: var(--gold); font-weight: 600; }
.triage-head .count { color: var(--muted); }
.triage-bar { height: 2px; background: var(--line); }
.triage-bar i { display: block; height: 100%; width: var(--p, 33%); background: var(--gold-grad-x); transition: width .6s var(--ease); }
.triage-body { padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 30px) 30px; }
.t-step[hidden] { display: none; }
.t-step { animation: panelIn .5s var(--ease); outline: none; }
.t-step h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); font-weight: 600; line-height: 1.1; }
.t-step > p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.options.one { grid-template-columns: 1fr; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; min-height: 58px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 14.5px; font-weight: 500; line-height: 1.3; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.opt svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.opt:hover { border-color: var(--gold); background: rgba(201, 165, 92, .07); transform: translateY(-2px); }
.opt.is-picked { border-color: var(--gold); background: rgba(201, 165, 92, .14); }
.t-nav { margin-top: 18px; display: flex; }
.back-btn { font-size: 14px; color: var(--muted); padding: 8px 0; transition: color .3s; }
.back-btn:hover { color: var(--gold-hi); }
.summary { display: grid; gap: 1px; margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); }
.summary div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 16px; background: var(--bg-2); }
.summary dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: 2px; }
.summary dd { font-weight: 500; }
.r-note { margin-top: 16px; padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(201, 165, 92, .06); border-radius: 0 12px 12px 0; color: #d9d3c6; font-size: 14.5px; }
.checklist-title { margin-top: 22px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.checklist { display: grid; gap: 10px; margin-top: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; color: #d6d0c4; opacity: 0; transform: translateX(-10px); animation: listIn .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 80ms + .15s); }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }
@keyframes listIn { to { opacity: 1; transform: none; } }
.r-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.r-legal { margin-top: 16px; font-size: 12.5px; color: var(--dim); }
@media (max-width: 900px) {
  .triage-wrap { grid-template-columns: 1fr; gap: 14px; }
  .case-build { top: calc(var(--header-h) + 8px); z-index: 5; }
  .cb-folder { min-height: 0; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; border-radius: 18px; background: rgba(16, 16, 18, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .cb-tab, .cb-n, .cb-text small { display: none; }
  .cb-slot { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 10px 6px; border-radius: 12px; }
  .cb-icon, .cb-sheets { width: 38px; height: 38px; border-radius: 10px; }
  .cb-icon svg { width: 20px; height: 20px; }
  .cb-sheets i { width: 18px; height: 23px; }
  .cb-sheets i::before { left: 4px; right: 4px; top: 5px; height: 7px; }
  .cb-text b { font-family: var(--sans); font-size: 11.5px; font-weight: 500; line-height: 1.25; }
  .cb-slot:not(.is-filled) .cb-text b { font-size: 0; }
  .cb-slot:not(.is-filled) .cb-text b::after { content: "—"; font-size: 12px; }
  .cb-stamp { right: 50%; top: 50%; bottom: auto; margin: -22px -70px 0 0; padding: 6px 12px 6px 8px; font-size: 9.5px; }
  .cb-stamp svg { width: 24px; height: 28px; }
  .case-build .assurances { display: none; }
}
@media (max-width: 560px) {
  .options { grid-template-columns: 1fr; }
  .opt { min-height: 52px; padding: 12px 14px; }
  .summary div { grid-template-columns: 1fr; gap: 2px; }
  .r-actions .btn { width: 100%; }
  .triage-head { padding: 14px 18px; }
}

/* ---------- Quem somos: fundadores e associados (regras trazidas do site no ar) ---------- */
#sobre { --ink: var(--bg); --ink-3: var(--bg-3); --line-strong: var(--line-2); --f-display: var(--serif); --f-caps: "Cinzel", Georgia, serif; }
:where(#sobre) h4 { letter-spacing: -.01em; }
/* largura fixa: sem isto, a foto alinhada à direita mede 0 até carregar e a legenda vaza da página */
.about-grid.reverse .about-photo { width: 100%; }
:where(#sobre) .eyebrow { font-family: var(--f-caps); font-weight: 500; letter-spacing: .2em; }
:where(#sobre) .section-title { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 20px; }
@media (max-width: 720px) { :where(#sobre) .section-title { font-size: 34px; margin-bottom: 14px; } :where(#sobre) .section-head { margin-bottom: 30px; } }
.quote { font-variant-numeric: lining-nums; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.about-grid + .about-grid { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.about-grid.reverse { grid-template-columns: 1.1fr .9fr; }
.about-grid.reverse .about-photo { order: 2; justify-self: end; }
.about-grid.reverse .about-photo::before { inset: 22px 22px -22px -22px; }
.about-grid.reverse .about-photo .caption { right: auto; left: -22px; }
.about-photo img.soft { object-position: 50% 30%; filter: saturate(.85) brightness(.94) contrast(1.04); }
.about-photo { position: relative; max-width: 460px; isolation: isolate; }
.about-photo .ph { aspect-ratio: 18 / 25; overflow: hidden; border-radius: 230px 230px 3px 3px; background: #222; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--line-strong); border-radius: 240px 240px 4px 4px; z-index: -1; }
.about-photo .caption { position: absolute; right: -22px; bottom: 34px; padding: 14px 18px; background: var(--ink); border: 1px solid var(--line-strong); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.about-copy p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.quote { margin: 34px 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--gold); font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); font-style: italic; line-height: 1.25; color: var(--gold-hi); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-bottom: 30px; }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 20px; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.facts dd { font-size: 15px; }
.channels { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) {
  .about-grid {grid-template-columns: 1fr; }
  .about-photo {margin-inline: auto; width: 100%; }
  .about-grid.reverse {grid-template-columns: 1fr; }
  .about-grid.reverse .about-photo {order: 0; justify-self: center; }
}
@media (max-width: 720px) {
  .about-photo::before {inset: 14px -10px -14px 14px; }
  .about-photo .caption {right: -8px; }
  .about-grid.reverse .about-photo::before {inset: 14px 14px -14px -10px; }
  .about-grid.reverse .about-photo .caption {left: -8px; }
  .facts {grid-template-columns: 1fr; }
  .facts div:nth-child(odd) {padding-right: 0; }
}
@media (max-width: 720px) {
  .about-grid {gap: 26px; }
  .about-grid + .about-grid {margin-top: 44px; padding-top: 44px; }
  .about-photo {max-width: 250px; }
  .about-photo::before {inset: 12px -12px -12px 12px; }
  .about-grid.reverse .about-photo::before {inset: 12px 12px -12px -12px; }
  .about-photo .caption {padding: 10px 12px; bottom: 22px; }
  .about-copy .section-title {font-size: 29px; }
  .about-copy p {font-size: 15px; margin-bottom: 12px; }
  .quote {margin: 18px 0; padding-left: 18px; font-size: 22px; }
  .facts {grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
  .facts div {padding: 12px 0; }
  .facts div:nth-child(odd) {padding-right: 12px; }
  .facts dd {font-size: 14px; }
  .channels .btn {flex: 1 1 auto; }
}
@media (max-width: 720px) {
  .about-grid, .about-grid.reverse {grid-template-columns: 108px 1fr; column-gap: 18px; row-gap: 0; align-items: center; }
  .about-copy {display: contents; }
  .about-photo, .about-grid.reverse .about-photo {grid-column: 1; grid-row: 1 / span 2; width: 108px; max-width: none; justify-self: start; align-self: start; order: 0; }
  .about-photo::before, .about-photo .caption {display: none; }
  .about-copy > * {grid-column: 1 / -1; }
  .about-copy > .eyebrow, .about-copy > .section-title {grid-column: 2; }
  .about-copy > .eyebrow {margin-bottom: 6px; align-self: end; }
  .about-copy > .section-title {font-size: 24px; margin-bottom: 0; align-self: start; }
  .about-copy > .section-title + * {margin-top: 18px; }
}
@media (max-width: 350px) {
  .about-grid, .about-grid.reverse {grid-template-columns: 90px 1fr; column-gap: 14px; }
  .about-photo, .about-grid.reverse .about-photo {width: 90px; }
}
.facts div:last-child:nth-child(odd) { grid-column: 1 / -1; padding-right: 0; }
.founders .about-photo { max-width: 500px; }
.associates { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.assoc-head { margin-bottom: clamp(36px, 5vw, 56px); }
.assoc-title { font-size: clamp(30px, 3.2vw, 44px); }
.assoc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: start; }
.assoc-card { position: relative; padding: 20px 20px 4px; border: 1px solid var(--line); border-radius: 3px; background: linear-gradient(170deg, var(--ink-3), var(--ink)); transition: border-color .4s; }
.assoc-card:hover { border-color: var(--line-strong); }
.assoc-photo { aspect-ratio: 18 / 22; overflow: hidden; border-radius: 170px 170px 3px 3px; background: #1d1d20; margin-bottom: 20px; }
.assoc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; transition: transform .8s var(--ease); }
.assoc-card:hover .assoc-photo img { transform: scale(1.03); }
.assoc-role { font-family: var(--f-caps); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.assoc-name { font-family: var(--f-display); font-size: 26px; font-weight: 500; line-height: 1.12; text-wrap: balance; }
.assoc-oab { margin: 6px 0 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.assoc-tag { font-family: var(--f-display); font-size: 20px; line-height: 1.3; margin-bottom: 16px; }
.assoc-tag em { color: var(--gold-hi); }
.assoc-area { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.assoc-area span { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.assoc-more { margin-top: 14px; border-top: 1px solid var(--line); }
.assoc-more summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; list-style: none; font-size: 14px; color: var(--gold-hi); }
.assoc-more summary::-webkit-details-marker { display: none; }
.assoc-more summary span { font-size: 20px; transition: transform .3s var(--ease); }
.assoc-more[open] summary span { transform: rotate(45deg); }
.assoc-more-body { padding-bottom: 18px; animation: panelIn .45s var(--ease); }
.assoc-more-body > p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.assoc-quote { margin: 16px 0; padding-left: 14px; border-left: 1px solid var(--gold); font-family: var(--f-display); font-size: 19px; font-style: italic; line-height: 1.3; color: var(--gold-hi); }
.assoc-facts div { padding: 10px 0; border-top: 1px solid var(--line); }
.assoc-facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.assoc-facts dd { font-size: 14px; }
@media (max-width: 1100px) {
  .assoc-grid {gap: 18px; }
  .assoc-card {padding: 16px 16px 4px; }
  .assoc-name {font-size: 23px; }
  .assoc-tag {font-size: 18px; }
}
@media (max-width: 960px) {
  .assoc-grid {grid-template-columns: 1fr; }
  .assoc-card {display: grid; grid-template-columns: 220px 1fr; column-gap: 28px; padding: 22px; }
  .assoc-photo {margin-bottom: 0; align-self: start; }
}
@media (max-width: 720px) {
  .founders .about-grid, .founders .about-grid.reverse {grid-template-columns: 132px 1fr; }
  .founders .about-photo, .founders .about-grid.reverse .about-photo {width: 132px; }
  .associates {margin-top: 48px; padding-top: 44px; }
  .assoc-title {font-size: 28px; }
  .assoc-grid {gap: 14px; }
  .assoc-card {grid-template-columns: 88px 1fr; column-gap: 16px; padding: 16px 16px 2px; }
  .assoc-body {display: contents; }
  .assoc-photo {grid-column: 1; grid-row: 1 / span 3; border-radius: 60px 60px 3px 3px; }
  .assoc-role, .assoc-name, .assoc-oab {grid-column: 2; }
  .assoc-role {margin-bottom: 4px; align-self: end; }
  .assoc-name {font-size: 22px; }
  .assoc-oab {margin: 4px 0 0; font-size: 12px; align-self: start; }
  .assoc-tag, .assoc-area, .assoc-more {grid-column: 1 / -1; }
  .assoc-tag {font-size: 19px; margin: 14px 0 12px; }
}
@media (max-width: 350px) {
  .founders .about-grid, .founders .about-grid.reverse {grid-template-columns: 108px 1fr; }
  .founders .about-photo, .founders .about-grid.reverse .about-photo {width: 108px; }
  .assoc-card {grid-template-columns: 76px 1fr; }
}
@media (max-width: 720px) {
  .about-grid, .about-grid.reverse {grid-template-columns: 108px minmax(0, 1fr); }
  .founders .about-grid, .founders .about-grid.reverse {grid-template-columns: 132px minmax(0, 1fr); }
  .about-copy > .eyebrow {letter-spacing: .12em; gap: 8px; }
  .about-copy > .eyebrow::before {width: 16px; }
  .assoc-card {grid-template-columns: 88px minmax(0, 1fr); }
}
@media (max-width: 350px) {
  .founders .about-grid, .founders .about-grid.reverse {grid-template-columns: 108px minmax(0, 1fr); }
  .assoc-card {grid-template-columns: 76px minmax(0, 1fr); }
}

/* ---------- Avaliações: atalho para o perfil público no Google ---------- */
.g-card { display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; margin-top: clamp(48px, 7vw, 90px); padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: 3px; background: linear-gradient(170deg, var(--bg-3), var(--bg)); }
.g-card > div { flex: 1 1 380px; }
.g-card .eyebrow { margin-bottom: 12px; }
.g-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.g-card h3 em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.g-card p:not(.eyebrow) { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 52ch; }
@media (max-width: 600px) { .g-card .btn { width: 100%; } }

/* ---------- Para advogados: e-book e curso ---------- */
.shelf-section { overflow: hidden; overflow: clip; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 16%, var(--bg-2) 84%, var(--bg) 100%); }
.shelf { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.shelf-stage { position: sticky; top: calc(var(--header-h) + 20px); height: clamp(440px, 46vw, 620px); }
.shelf-glow { position: absolute; inset: 2% -4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 165, 92, .26), transparent 74%); pointer-events: none; }
.shelf-item { position: absolute; top: 50%; left: 50%; perspective: 1400px; cursor: pointer; transition: transform .9s var(--ease), filter .9s var(--ease); }
.shelf-book { width: min(290px, 50%); }
.shelf-course { width: min(330px, 58%); }
.shelf-item.is-front { z-index: 2; transform: translate(-66%, -50%); cursor: default; }
.shelf-item:not(.is-front) { z-index: 1; transform: translate(-16%, -58%) scale(.8); filter: brightness(.42) saturate(.7); }
.shelf-item:not(.is-front):hover { filter: brightness(.62) saturate(.8); }
.book { --t: 30px; position: relative; aspect-ratio: 560 / 875; transform-style: preserve-3d; transform: rotateY(calc(-26deg + var(--tx, 0deg))) rotateX(calc(3deg + var(--ty, 0deg))); transition: transform .5s var(--ease); }
.book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 2px 4px 4px 2px; transform: translateZ(calc(var(--t) / 2)); box-shadow: inset 4px 0 6px rgba(255, 255, 255, .08); }
.book::before { content: ""; position: absolute; top: 1%; right: calc(var(--t) / -2 + 3px); width: var(--t); height: 98%; transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #d6cfbe 0 1px, #a69e8b 1px 2px); }
.book::after { content: ""; position: absolute; inset: 0; border-radius: 2px 4px 4px 2px; background: #0b0b0c; transform: translateZ(calc(var(--t) / -2)); box-shadow: -22px 26px 60px rgba(0, 0, 0, .75), 0 0 70px rgba(201, 165, 92, .14); }
.shelf .course-cover { transform: rotateY(calc(9deg + var(--tx, 0deg))) rotateX(calc(2deg + var(--ty, 0deg))); border-radius: 14px; padding: clamp(18px, 2vw, 26px); }
.shelf .course-cover .cc-title { font-size: clamp(26px, 2.5vw, 35px); }
.shelf .course-cover .top, .shelf .course-cover .bot { font-size: 10px; letter-spacing: .16em; white-space: nowrap; gap: 8px; }

.shelf-copy .lead { margin-top: 18px; }
.shelf-tabs { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; }
.shelf-tabs button { min-height: 44px; padding: 0 26px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .3s, background-color .3s; }
.shelf-tabs button:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.shelf-tabs button[aria-selected="true"] { color: #17130b; background: var(--gold-grad-x); font-weight: 600; }
.shelf-panel { margin-top: 26px; animation: panelIn .5s var(--ease); }
.shelf-panel h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.12; text-wrap: balance; }
.shelf-panel h3 em { font-style: italic; font-weight: 500; color: var(--gold-hi); }
.shelf-note { margin-top: 10px; color: var(--muted); }
.shelf-panel .btn { margin-top: 26px; }
.ebook-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; border-block: 1px solid var(--line); }
.ebook-facts li { padding: 14px 0; text-align: center; }
.ebook-facts li + li { border-left: 1px solid var(--line); }
.ebook-facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; color: var(--gold-hi); font-variant-numeric: lining-nums; }
.ebook-facts span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc { counter-reset: toc; margin-top: 18px; }
.ebook-facts + .toc { margin-top: 0; }
.shelf-note + .toc { border-top: 1px solid var(--line); }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--text); transition: padding-left .4s var(--ease), color .3s; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--gold); }
.toc li:hover { padding-left: 8px; color: var(--gold-hi); }
@media (max-width: 900px) {
  .shelf { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .shelf-copy { display: contents; }
  .shelf-copy > * { order: 3; }
  .shelf-copy > .eyebrow, .shelf-copy > .section-title, .shelf-copy > .lead, .shelf-copy > .shelf-tabs { order: 1; }
  .shelf-copy > .eyebrow { justify-self: start; }
  .shelf-stage { order: 2; position: relative; top: auto; height: 330px; margin-top: 6px; }
  .shelf-panel { margin-top: 4px; }
  .shelf .course-cover .top, .shelf .course-cover .bot { font-size: 8.5px; letter-spacing: .12em; }
  .ebook-facts span { font-size: 10.5px; letter-spacing: .08em; }
  .shelf-book { width: 176px; }
  .shelf-course { width: 206px; }
  .book { --t: 20px; }
  .shelf .course-cover .cc-title { font-size: 27px; }
  .shelf-tabs { display: flex; margin-top: 24px; }
  .shelf-tabs button { flex: 1 1 0; }
  .shelf-panel .btn { width: 100%; }
  .ebook-facts b { font-size: 28px; }
}

/* ---------- Artigos ---------- */
.articles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .015); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.article::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 165, 92, .12), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.article:hover { border-color: var(--line-2); transform: translateY(-4px); }
.article:hover::before { opacity: 1; }
.article .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.article h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.12; }
.article p { color: var(--muted); font-size: 15px; }
.article .go { margin-top: auto; display: inline-flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--gold-hi); }
.article .go::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 800px) { .articles { grid-template-columns: 1fr; } }

/* ---------- Dúvidas ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 25px); font-weight: 600; line-height: 1.25; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .4s var(--ease), background-color .3s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--gold); transition: transform .4s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm { transform: rotate(180deg); background: rgba(201, 165, 92, .1); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 52px 24px 0; color: var(--muted); display: grid; gap: 12px; }
.faq details[open] .ans { animation: panelIn .45s var(--ease); }
@media (max-width: 520px) { .faq .ans { padding-right: 0; } }

/* ---------- Chamada final ---------- */
.final-cta { text-align: center; overflow: hidden; }
.final-cta .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.final-cta .lead { margin-inline: auto; }
.final-cta .hero-actions { justify-content: center; }
.big-hex { position: absolute; left: 50%; top: 50%; width: min(760px, 130vw); transform: translate(-50%, -50%); fill: none; stroke: var(--gold); stroke-width: .5; opacity: .18; pointer-events: none; }
.big-hex { opacity: .1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 70px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 50px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 36ch; }
.site-footer h2 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.site-footer li { font-size: 14px; color: var(--muted); padding-block: 4px; }
.site-footer li a:hover { color: var(--gold-hi); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.footer-bottom a:hover { color: var(--gold-hi); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 76px; } }

/* Barra de contato fixa no celular */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 10, 11, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mobile-bar.is-on { transform: none; }
  .mobile-bar .btn { min-height: 46px; padding-inline: 14px; }
}

/* =========================================================
   Páginas internas (treinamento, privacidade)
   ========================================================= */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 10vw, 120px)) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 60% 70% at 80% 0%, rgba(201, 165, 92, .1), transparent 70%); }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 8vw, 104px); line-height: .98; letter-spacing: -.02em; }
.page-hero .gold-text { padding-right: .06em; }
.site-header:has(+ main .page-hero), .site-header.solid { background: rgba(10, 10, 11, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }

.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 600; margin: 44px 0 12px; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.prose a { color: var(--gold-hi); border-bottom: 1px solid var(--line-2); }

.course-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.course-cover { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; border: 1px solid var(--line-2); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(201, 165, 92, .22), transparent 70%), linear-gradient(170deg, #17161a, #0b0b0c); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9); transform: perspective(1200px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)); transition: transform .6s var(--ease); }
.course-cover .top, .course-cover .bot { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); position: relative; z-index: 1; }
.course-cover h2, .course-cover .cc-title { font-family: var(--serif); font-size: clamp(38px, 4.6vw, 60px); font-weight: 500; line-height: 1; position: relative; z-index: 1; }
.course-cover em { display: block; }
.course-cover h2 > span, .course-cover .cc-title > span { display: block; margin-top: 14px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.course-cover > svg { position: absolute; right: -14%; top: 50%; width: 70%; transform: translateY(-50%); opacity: .14; }
.topics { margin-top: 26px; border-top: 1px solid var(--line); }
.topics details { border-bottom: 1px solid var(--line); }
.topics summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.topics summary::-webkit-details-marker { display: none; }
.topics summary span { color: var(--gold); font-family: var(--sans); font-weight: 400; transition: transform .3s var(--ease); }
.topics details[open] summary span { transform: rotate(45deg); }
.topics details p { color: var(--muted); padding-bottom: 18px; }
.course-grid .btn { margin-top: 30px; }
@media (max-width: 900px) { .course-grid { grid-template-columns: 1fr; } .course-cover { max-width: 440px; } }
.course-grid .ebook-facts { margin-top: 26px; }
.course-grid .hero-actions { margin-top: 30px; }
.course-grid .hero-actions .btn { margin-top: 0; }
.ebook-cover { justify-self: center; width: min(360px, 78%); perspective: 1400px; }
.course-band { background: var(--bg-2); border-top: 1px solid var(--line); }
.page-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.page-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; color: var(--gold-hi); transition: background-color .3s, border-color .3s; }
.page-jump a:hover { background: rgba(201, 165, 92, .12); border-color: var(--gold); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border: 1px solid var(--line); background: var(--bg-3); border-radius: 3px; }
.review-product { align-self: flex-start; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 99px; }
.review-stars { color: var(--gold); letter-spacing: 3px; }
.review blockquote { font-family: var(--serif); font-size: 20px; line-height: 1.4; font-style: italic; color: var(--text); flex: 1; }
.review figcaption { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.review figcaption b { display: block; font-weight: 500; }
.review figcaption span { font-size: 13px; color: var(--muted); }
.r-legal a { color: var(--gold-hi); border-bottom: 1px solid var(--line-2); }
.back-short { display: none; }
@media (max-width: 720px) { .back-long { display: none; } .back-short { display: inline; } .ebook-cover { width: 210px; margin-bottom: 10px; } }

/* =========================================================
   Abertura e música ambiente
   ========================================================= */
.intro { display: none; position: fixed; inset: 0; z-index: 300; place-items: center; padding: 24px; text-align: center; }
.has-intro .intro, .intro.is-leaving { display: grid; }
.has-intro body { overflow: hidden; }
.has-intro .hero-photo img, .has-intro .hero-copy > * { animation-play-state: paused; }
.intro::before, .intro::after { content: ""; position: absolute; left: 0; right: 0; height: 50.5%; z-index: -1; transition: transform 1s var(--ease) .28s; }
.intro::before { top: 0; background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(201, 165, 92, .11), transparent 70%), #060607; }
.intro::after { bottom: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201, 165, 92, .11), transparent 70%), #060607; }
.intro-seam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold-grad-x); transform: scaleX(0); opacity: 0; transition: transform .45s var(--ease), opacity .3s 1s; }
.intro-inner { display: grid; justify-items: center; transition: opacity .4s, transform .7s var(--ease); }
.intro-logo { width: min(400px, 80vw); height: auto; overflow: visible; }
.intro-logo .ih { fill: none; stroke: url(#goldStroke); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: introDraw 1.3s var(--ease) .15s forwards; }
.intro-logo .ih2 { stroke-width: 1.2; animation-delay: .4s; }
.intro-logo .ic path { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 1; animation: introDraw 1s var(--ease) .85s forwards; }
.intro-logo .ic circle { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: 0; animation: introFade .5s ease 1.6s forwards; }
.intro-logo text { font-family: var(--serif); font-weight: 600; font-size: 50px; letter-spacing: -2px; fill: url(#goldFill); opacity: 0; animation: introFade .9s ease .75s forwards; }
.intro-name { margin-top: 26px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; opacity: 0; animation: introUp .8s var(--ease) 1.15s forwards; }
.intro-sub { margin-top: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: introUp .8s var(--ease) 1.3s forwards; }
.intro-actions { display: grid; justify-items: center; gap: 6px; margin-top: 38px; opacity: 0; animation: introUp .8s var(--ease) 1.75s forwards; }
.intro-actions .btn { min-width: 240px; gap: 12px; }
.intro-quiet { min-height: 44px; padding: 0 14px; font-size: 14px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; transition: color .3s; }
.intro-quiet:hover { color: var(--text); }
.intro.is-leaving { pointer-events: none; }
.intro.is-leaving .intro-inner { opacity: 0; transform: scale(1.05); }
.intro.is-leaving .intro-seam { transform: scaleX(1); opacity: 1; }
.intro.is-leaving::before { transform: translateY(-101%); }
.intro.is-leaving::after { transform: translateY(101%); }
@keyframes introDraw { to { stroke-dashoffset: 0; } }
@keyframes introFade { to { opacity: 1; } }
@keyframes introUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 16px; height: 14px; flex: none; }
.eq i { flex: 1; height: 100%; border-radius: 1px; background: currentColor; transform: scaleY(.28); transform-origin: bottom; }
.eq.is-on i { animation: eq 1s ease-in-out infinite alternate; }
.eq.is-on i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.eq.is-on i:nth-child(3) { animation-duration: 1.2s; animation-delay: -.6s; }
.eq.is-on i:nth-child(4) { animation-duration: .85s; animation-delay: -.15s; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

.sound-toggle { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 10, 11, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; color: var(--muted); transition: color .3s, border-color .3s, bottom .4s var(--ease), opacity .4s; }
.sound-toggle:hover { color: var(--text); border-color: var(--gold); }
.sound-toggle[aria-pressed="true"] { color: var(--gold-hi); border-color: var(--gold); }
.has-intro .sound-toggle { opacity: 0; pointer-events: none; }
/* com o menu recolhido, o botão de música fica no cabeçalho, ao lado do botão do menu */
@media (max-width: 1240px) {
  .sound-toggle { left: auto; bottom: auto; right: calc(var(--gutter) + 56px); top: calc((var(--header-h) - 44px) / 2); z-index: 101; width: 44px; padding: 0; justify-content: center; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: color .3s, border-color .3s, transform .45s var(--ease), opacity .4s; }
  .site-header.is-hidden ~ .sound-toggle { transform: translateY(calc(-1 * var(--header-h) - 12px)); }
  .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* =========================================================
   Movimento reduzido: tudo estático, sem cenas fixas
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .band { height: auto; --p: 1; --land: 1; }
  .band-stage { position: relative; height: auto; padding-block: 120px; min-height: 80svh; }
  .js .reveal { opacity: 1; transform: none; }
  .hero { --p: 0 !important; }
}
