/* ==== fonts.css ==== */
/* Fontes servidas pelo próprio blog (26/11/2026, rodada 2): antes vinham do Google Fonts (2 domínios a mais
   na abertura). Só o subconjunto latino, que cobre o português. Licença SIL Open Font License (as três). */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==== base.css ==== */
/* ==========================================================================
   BASE — tokens, reset, tipografia, revelações, cursor, header, progresso
   ========================================================================== */
:root {
  --ink: #0F1111;
  --ink-2: #131921;
  --ink-3: #1B2330;
  --paper: #EFE8DC;
  --paper-2: #E2D8C6;
  --kraft: #C49A6C;
  --orange: #FF9900;
  --orange-2: #FFB547;
  --orange-deep: #E47911;
  --green: #10B981;
  --green-2: #34D399;
  --red: #B42318;

  /* cores do contexto (trocadas por tema de painel) */
  --fg: var(--paper);
  --fg-2: rgba(239, 232, 220, .68);
  --fg-3: rgba(239, 232, 220, .42);
  --line: rgba(239, 232, 220, .14);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1320px;
  --header-h: 72px;
  --radius-panel: clamp(22px, 3vw, 36px);

  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --motion: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }   /* não quebra position: sticky */

img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

html { scrollbar-color: #2b3440 var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2b3440; border-radius: 10px; border: 2px solid var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--orange); color: var(--ink); font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.mono { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.nowrap { white-space: nowrap; }
.text-green { color: var(--green); }

.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: clamp(40px, 6.6vw, 108px);
  line-height: .95;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.display--sm { font-size: clamp(36px, 5vw, 80px); }
.display .serif { font-size: 1.1em; line-height: .8; letter-spacing: -.02em; }

.index { display: flex; align-items: center; gap: 12px; color: var(--fg-2); margin-bottom: clamp(18px, 3vw, 32px); }
.index b { font-weight: 500; color: var(--orange); }
.index b::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .6; }

/* ---------- Revelação reversível (aparece ao entrar, some ao sair) ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, calc(48px * var(--motion)), 0);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s);
}
.js .reveal.is-above { transform: translate3d(0, calc(-48px * var(--motion)), 0); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Títulos divididos em linhas com máscara */
.js [data-split]:not(.is-split) { visibility: hidden; }
[data-split] .sl { display: block; overflow: hidden; padding: .08em 0 .16em; margin: -.08em 0 -.16em; }
[data-split] .sl > span { display: block; }
.js [data-split] .sl > span {
  transform: translate3d(0, 115%, 0) rotate(calc(3deg * var(--motion)));
  transform-origin: 0 100%;
  transition: transform 1.25s var(--ease) calc(var(--i, 0) * 90ms + var(--d, 0s));
}
.js [data-split].is-in .sl > span { transform: none; }
.js [data-split].is-above .sl > span { transform: translate3d(0, -115%, 0); }

/* Entrada da primeira dobra (após fontes carregadas) */
.js .intro { opacity: 0; transform: translate3d(0, calc(32px * var(--motion)), 0); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.is-loaded .intro { opacity: 1; transform: none; }

/* ---------- Grão de papel (textura estática, custo zero por frame) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Cursor (só mouse) ---------- */
.cursor { display: none; color: var(--paper); }
.has-cursor .cursor { display: block; }
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 80; pointer-events: none; will-change: transform; }
.cursor-ring {
  width: 80px; height: 80px;
  margin: -40px 0 0 -40px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease, background-color .3s ease, border-color .3s ease;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--orange); opacity: 0; transition: opacity .3s; }
.cursor.is-visible .cursor-ring { opacity: .55; }
.cursor.is-visible .cursor-dot { opacity: 1; }
.cursor.is-hover .cursor-ring { opacity: 1; background: rgba(255, 153, 0, .14); border-color: var(--orange); }
.cursor.is-area .cursor-ring { opacity: 1; border-color: var(--orange); }
.cursor.is-text .cursor-ring { opacity: 0; }
.cursor-label { font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); opacity: 0; transition: opacity .2s; }
.cursor.is-area .cursor-label { opacity: 1; }
html[data-under="light"] .cursor { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top);
  color: var(--paper);
  transition: transform .7s var(--ease), color .4s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -24px 0;
  background: linear-gradient(180deg, rgba(15, 17, 17, .85), rgba(15, 17, 17, 0));
  pointer-events: none;
  transition: opacity .4s ease;
}
html[data-under="light"] .site-header { color: var(--ink); }
html[data-under="light"] .site-header::before { opacity: 0; }
.site-header.is-hidden { transform: translate3d(0, -110%, 0); }

.header-inner {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 105%;
  font-size: 19px;
  letter-spacing: -.03em;
}
.wordmark i { font-style: normal; color: var(--orange); margin: 0 .06em; }
.header-meta { display: none; align-items: center; gap: 10px; opacity: .8; }
.header-meta .sep { opacity: .4; }
@media (min-width: 920px) { .header-meta { display: flex; } }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.header-cta:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
@media (max-width: 380px) { .header-cta { padding: 0 12px; font-size: 13px; } .wordmark { font-size: 17px; } }

.live-dot { position: relative; display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--green); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Progresso vertical (desktop) ---------- */
.progress {
  position: fixed;
  left: 14px;
  top: 50%;
  z-index: 55;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  color: var(--paper);
  transition: color .4s ease;
}
html[data-under="light"] .progress { color: var(--ink); }
@media (min-width: 1100px) and (hover: hover) { .progress { display: flex; } }
.progress-num { font-size: 11px; }
.progress-bar { position: relative; width: 1px; height: 22vh; background: currentColor; opacity: .25; }
.progress-bar i { position: absolute; inset: 0; background: var(--orange); transform-origin: top; transform: scaleY(0); }
.progress-bar { opacity: 1; background: rgba(128, 128, 128, .35); }
.progress-name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; opacity: .7; }

/* ---------- Movimento reduzido ----------
   Windows com "Efeitos de animação" desligado e macOS/iOS com "Reduzir movimento"
   ativam .motion-soft (tudo mantido, deslocamentos menores). "respect" → .motion-off. */
.motion-soft { --motion: .55; }
.motion-off { --motion: 0; }
.motion-off *, .motion-off *::before, .motion-off *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  transition-delay: 0s !important;
}

/* ---------- Impressão / PDF ---------- */
@media print {
  .js .reveal, .js .intro, .js [data-split] .sl > span { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .grain, .cursor, .site-header, .progress, .sticky-cta, .bands, .hero-scene { display: none !important; }
  .panel, .journey { position: static !important; }
}

/* ==== components.css ==== */
/* ==========================================================================
   COMPONENTES — botões, ingresso (formulário), campos, sucesso, facts, selo
   ========================================================================== */

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .3s var(--spring), background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .icon { font-size: 18px; }
.btn-block { width: 100%; }
.btn-green { background: var(--green); color: #04130D; }
.btn-green:hover { background: var(--green-2); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-deep); }

/* CTA: glow pulsante em loop (pseudo-elemento: só opacity/transform) + scale 1.05 no hover */
.btn-cta {
  isolation: isolate;
  min-height: 58px;
  font-family: var(--f-display);
  font-stretch: 100%;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  background: var(--orange);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset;
}
.btn-cta::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: 16px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(255, 153, 0, .8), rgba(255, 153, 0, 0) 70%);
  filter: blur(12px);
  opacity: .4;
  animation: glow 2.4s ease-in-out infinite;
  will-change: opacity, transform;
  pointer-events: none;
}
@keyframes glow { 0%, 100% { opacity: .3; transform: scale(.95); } 50% { opacity: .95; transform: scale(1.06); } }
.btn-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 100%;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 4.2s ease-in-out infinite 1.2s;
}
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-cta .btn-label, .btn-cta .icon { position: relative; z-index: 1; }
.btn-arrow { transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover { transform: scale(1.05); }
  .btn-cta:hover .btn-arrow { transform: translateX(5px); }
}
.btn-cta:active { transform: scale(.98); }
.btn-spinner { display: none; }
.is-loading .btn-cta { pointer-events: none; }
.is-loading .btn-cta .btn-arrow { display: none; }
.is-loading .btn-cta .btn-spinner { display: block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ingresso (card do formulário) ---------- */
.ticket {
  --t-bg: var(--paper);
  --t-fg: var(--ink);
  --t-fg-2: rgba(15, 17, 17, .62);
  --t-line: rgba(15, 17, 17, .22);
  --t-notch: var(--ink);
  --t-err: var(--red);
  position: relative;
  width: 100%;
  background: var(--t-bg);
  color: var(--t-fg);
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 2px 0 rgba(255, 255, 255, .5) inset;
}
.ticket--dark {
  --t-bg: var(--ink-2);
  --t-fg: var(--paper);
  --t-fg-2: rgba(239, 232, 220, .6);
  --t-line: rgba(239, 232, 220, .2);
  --t-notch: var(--paper);
  --t-err: #FF8A7A;
  box-shadow: 0 40px 80px -30px rgba(15, 17, 17, .55);
}
/* Picote lateral */
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 104px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--t-notch);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }

.ticket-tape {
  position: absolute;
  top: -14px; left: 50%;
  width: 110px; height: 28px;
  margin-left: -55px;
  transform: rotate(-3deg);
  background: rgba(239, 232, 220, .55);
  border-left: 2px dashed rgba(255, 255, 255, .25);
  border-right: 2px dashed rgba(255, 255, 255, .25);
  pointer-events: none;
}
.ticket--dark .ticket-tape { background: rgba(255, 153, 0, .55); }

.ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 10px;
  font-size: 11px;
  color: var(--t-fg-2);
}
.ticket-code {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px 18px;
  border-bottom: 1.5px dashed var(--t-line);
  font-size: 11px;
  color: var(--t-fg-2);
}
.barcode {
  display: block;
  width: 120px; height: 34px;
  color: var(--t-fg, var(--ink));
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 5px, transparent 5px 8px, currentColor 8px 11px, transparent 11px 13px);
}
.barcode.is-drawn { background: none; }
.barcode svg { width: 100%; height: 100%; fill: currentColor; }

.ticket-body { padding: 22px 24px 24px; }
.ticket-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 90%;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1;
  letter-spacing: -.03em;
}
.ticket-title .serif { display: block; font-size: 1.12em; line-height: 1; color: var(--orange-deep); }
.ticket--dark .ticket-title .serif { color: var(--orange); }
.form-note { margin-top: 10px; font-size: 14px; color: var(--t-fg-2); }
.form-card-head { margin-bottom: 18px; }

/* Selo giratório (adesivo no canto do ingresso) */
.seal { width: 112px; height: 112px; overflow: visible; }
.seal text { font: 500 10.5px var(--f-mono); letter-spacing: 1.6px; fill: currentColor; }
.seal--ticket {
  position: absolute;
  top: -44px; right: -34px;
  z-index: 2;
  color: var(--ink);
}
/* Gira só o texto por dentro do SVG: a caixa do selo fica parada
   (girar o elemento inteiro faz a caixa "crescer" e gera rolagem lateral no celular) */
.seal-rot { transform-origin: 60px 60px; animation: rotate 22s linear infinite; }
@media (max-width: 1099px) {
  .seal--ticket { top: -46px; right: -6px; width: 96px; height: 96px; }   /* dentro da tela */
}
.seal--ticket circle { fill: var(--orange); }
.seal-arrow { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rotate { to { transform: rotate(360deg); } }

/* ---------- Campos ---------- */
.lead-form { display: grid; gap: 14px; }
.field label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--t-fg);
}
.field label .mono { font-size: 10px; color: var(--t-fg-2); }
.input-wrap input {
  width: 100%;
  height: 46px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1.5px solid var(--t-line);
  border-radius: 0;
  background: transparent;
  color: var(--t-fg);
  font-size: 17px;               /* ≥16px: sem zoom automático no iOS */
  font-weight: 500;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s ease;
}
.input-wrap { position: relative; }
.input-wrap::after {             /* sublinhado laranja que cresce no foco */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--orange-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.ticket--dark .input-wrap::after { background: var(--orange); }
.input-wrap:focus-within::after { transform: scaleX(1); }
.input-wrap input::placeholder { color: var(--t-fg-2); opacity: .7; }
.input-wrap input:-webkit-autofill,
.input-wrap input:-webkit-autofill:hover,
.input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--t-fg);
  caret-color: var(--t-fg);
  -webkit-box-shadow: 0 0 0 1000px var(--t-bg) inset;
  box-shadow: 0 0 0 1000px var(--t-bg) inset;
  transition: background-color 9999s ease-out 0s;
}
.field.is-invalid input { border-bottom-color: var(--t-err); }
.field.is-valid input { border-bottom-color: var(--green); }
.field-error { margin-top: 6px; font-size: 13px; color: var(--t-err); }
.field-error:empty { display: none; }
.field-error .suggest { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn-cta { margin-top: 8px; }
.form-status { font-size: 14px; color: var(--t-err); text-align: center; }
.form-status:empty { display: none; }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 10.5px; color: var(--t-fg-2); text-align: center; }
.form-privacy .icon { font-size: 13px; }

.shake { animation: shake .45s var(--ease); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }

/* ---------- Sucesso: carimbo ---------- */
.form-success { display: grid; gap: 12px; text-align: left; outline: none; }
.form-success h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 90%; font-size: 26px; line-height: 1.05; letter-spacing: -.02em; }
.form-success p { color: var(--t-fg-2); font-size: 15px; margin-bottom: 6px; }
.stamp {
  justify-self: start;
  padding: 6px 14px;
  border: 3px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  font: 800 20px/1 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-7deg);
  animation: stamp .7s var(--spring) both;
}
@keyframes stamp { 0% { opacity: 0; transform: rotate(-7deg) scale(2.4); } 55% { opacity: 1; } 100% { transform: rotate(-7deg) scale(1); } }

/* ---------- Lista de fatos (dl) ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-size: 10.5px; color: var(--fg-3); margin-bottom: 4px; }
.facts dd { font-size: 12.5px; color: var(--fg); text-transform: none; letter-spacing: .01em; }

/* ---------- CTA fixo no mobile ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 58;
  padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(15, 17, 17, 0), rgba(15, 17, 17, .92) 40%);
  transform: translate3d(0, 110%, 0);
  transition: transform .5s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
@media (min-width: 1100px) { .sticky-cta { display: none; } }

/* ==== sections.css ==== */
/* ==========================================================================
   SEÇÕES I — pilha de cartas, hero, faixas cruzadas, resultados, produto 3D
   ========================================================================== */

/* ---------- Pilha de cartas: cada seção gruda e a próxima desliza por cima ---------- */
.stack { position: relative; z-index: 1; }
.panel { position: relative; min-height: 100vh; }
@supports (min-height: 100svh) { .panel { min-height: 100svh; } }
.js .panel[data-panel] { position: sticky; top: 0; }
/* Seção mais alta que a tela: gruda pela base (rola inteira antes de ser coberta) */
@supports (top: min(0px, calc(100svh - 1px))) {
  .js .panel[data-panel] { top: min(0px, calc(100svh - var(--ph, 100svh))); }
}
.stack.is-measuring .panel[data-panel] { position: relative !important; top: auto !important; }

.hero { z-index: 1; }
.metrics { z-index: 2; }
.product { z-index: 3; }
.journey { z-index: 4; }
.final { z-index: 5; }

.panel + .panel { border-radius: var(--radius-panel) var(--radius-panel) 0 0; box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .55); }
.panel-inner {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 56px) 0 clamp(64px, 8vw, 104px);
}
.panel.is-covered > .panel-inner { visibility: hidden; }   /* totalmente coberta: não pinta */
.panel-shade {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #050606;
  opacity: 0;
  border-radius: inherit;
  pointer-events: none;
}

.panel--ink { background: var(--ink); color: var(--paper); }
.panel--orange, .panel--paper {
  --fg: var(--ink);
  --fg-2: rgba(15, 17, 17, .72);
  --fg-3: rgba(15, 17, 17, .5);
  --line: rgba(15, 17, 17, .2);
  color: var(--ink);
}
.panel--orange { background: var(--orange); }
.panel--paper { background: var(--paper); }
.panel--ink .display .serif { color: var(--orange); }
.panel--paper .display .serif, .panel--paper .index b { color: var(--orange-deep); }
.panel--orange .index b { color: var(--ink); }

/* ---------- 01 · HERO ---------- */
.hero .panel-inner { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 24px); padding-bottom: 72px; }
.hero-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.layer { position: absolute; will-change: transform; }
.layer > div { will-change: transform; }
.ghost-word {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 70%;
  line-height: .8;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 232, 220, .1);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
.layer--word { left: -3vw; bottom: -3vw; }
.layer--word .ghost-word { font-size: 38vw; }
.art-box { display: block; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.layer--box { width: clamp(150px, 16vw, 250px); }
.layer--box .art-box { height: clamp(156px, 16.7vw, 260px); }
.layer--box2 { width: clamp(70px, 7vw, 110px); }
.layer--box2 .art-box { height: clamp(73px, 7.3vw, 115px); }

.float { animation: float 7s ease-in-out infinite; }
.float--slow { animation-duration: 9s; animation-delay: -2s; }
.float--alt { animation-duration: 8s; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, calc(-14px * var(--motion)), 0) rotate(calc(2deg * var(--motion))); }
}

.ship-label {
  width: 210px;
  padding: 12px 14px 10px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  transform: rotate(-8deg);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7);
}
.sl-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 9.5px; border-bottom: 1px solid rgba(15, 17, 17, .18); }
.sl-row span:first-child { opacity: .55; }
.ship-label .barcode { width: 100%; height: 38px; margin: 10px 0 6px; color: var(--ink); }
.sl-code { font-size: 9.5px; text-align: center; }

/* Cena: mobile só a palavra-fantasma; tablet ganha 1 caixa; desktop, a cena completa */
.layer--box, .layer--box2, .layer--label { display: none; }
@media (min-width: 700px) {
  .layer--box { display: block; top: calc(var(--header-h) + 8px); right: 4%; }
}
@media (min-width: 1100px) {
  .layer--box { top: 8%; right: auto; left: 50%; }
  .layer--box2 { display: block; bottom: 11%; left: 56%; }
}
/* Etiqueta só onde sobra espaço entre o texto (máx. 560px) e o ingresso */
@media (min-width: 1280px) {
  .layer--label { display: block; top: 53%; left: 49%; }
}

.hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: end; }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: center; }
}
.kicker { display: flex; align-items: center; gap: 10px; color: var(--fg-2); margin-bottom: 22px; }

.hero-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: clamp(54px, 15vw, 128px);
  line-height: .9;
  letter-spacing: -.045em;
}
@media (min-width: 1100px) { .hero-title { font-size: clamp(56px, 8.6vw, 150px); } }
.hero-title .line { display: block; overflow: hidden; padding: .06em 0 .16em; margin: -.06em 0 -.16em; }
.hero-title .line-in { display: block; }
.js .hero-title .line-in { transform: translate3d(0, 112%, 0); transition: transform 1.4s var(--ease) var(--d, 0s); }
.is-loaded .hero-title .line-in { transform: none; }

/* "real" riscado à mão → "dólar." */
.strike { position: relative; display: inline-block; text-decoration: none; transition: color .6s ease 1.6s; }
.is-loaded .strike, html:not(.js) .strike { color: var(--fg-3); }
.strike-mark { position: absolute; left: -5%; top: 34%; width: 110%; height: .36em; overflow: visible; }
.strike-mark path { fill: none; stroke: var(--orange); stroke-width: 11; stroke-linecap: round; }
.js .strike-mark { transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--ease-io) 1.1s; }
.is-loaded .strike-mark { transform: none; }
.hero-title .accent { display: inline-block; color: var(--orange); font-size: 1.12em; line-height: .8; letter-spacing: -.02em; }
.js .hero-title .accent { opacity: 0; transform: translate3d(0, .25em, 0) rotate(-4deg); transition: opacity .8s ease 1.55s, transform 1.2s var(--spring) 1.55s; }
.is-loaded .hero-title .accent { opacity: 1; transform: none; }

.hero-bottom { display: grid; gap: 24px; max-width: 560px; margin-top: 30px; }
.hero-sub { max-width: 520px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }

.hero-ticket { width: 100%; max-width: 440px; }
@media (min-width: 1100px) { .hero-ticket { justify-self: end; } }

.scroll-cue { position: absolute; left: max(var(--gutter), env(safe-area-inset-left)); bottom: 24px; display: none; align-items: center; gap: 12px; color: var(--fg-3); }
@media (min-width: 1100px) and (min-height: 700px) { .scroll-cue { display: flex; } }
.scroll-cue i { position: relative; width: 56px; height: 1px; background: rgba(239, 232, 220, .2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 1px; background: var(--orange); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { transform: translateX(350%); } }

/* ---------- Faixas cruzadas (ticker) ---------- */
/* Contêiner recortado: as faixas giradas não podem vazar pelas laterais
   (causaria rolagem horizontal e "zoom out" automático no celular) */
.bands { position: absolute; left: 0; right: 0; top: -96px; height: 172px; z-index: 6; overflow: hidden; pointer-events: none; }
.band { position: absolute; left: -4%; width: 108%; height: 50px; display: flex; align-items: center; overflow: hidden; }
.band--a { top: 66px; z-index: 2; background: var(--ink); color: var(--paper); transform: rotate(-2deg); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.band--b { top: 88px; z-index: 1; background: var(--paper); color: var(--ink); transform: rotate(1.4deg); }
.band-track { display: flex; width: max-content; animation: marquee 60s linear infinite; will-change: transform; }
.band-track--rev { animation-direction: reverse; }
.band-group { display: flex; flex: none; }
.band-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; white-space: nowrap; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.band-item time { opacity: .5; }
.band-item b { font-weight: 500; color: var(--orange); }
.band--b .band-item b { color: var(--orange-deep); }
.band-item::after { content: "///"; margin-left: 20px; opacity: .3; }
.bands.is-paused .band-track, .bands.is-offscreen .band-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.band-toggle {
  position: absolute;
  right: max(14px, env(safe-area-inset-right));
  top: 16px;
  z-index: 3;
  pointer-events: auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6);
}
.band-toggle .icon-play { display: none; }
.bands.is-paused .icon-play { display: block; }
.bands.is-paused .icon-pause { display: none; }

/* ---------- 02 · RESULTADOS (bloco laranja) ---------- */
.metrics .panel-inner { padding-top: calc(var(--header-h) + 80px); }
.panel-head { margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 1100px) {
  .panel-head { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: end; }
  .panel-head .index { margin-bottom: .9em; }
}
.stats { border-top: 1.5px solid var(--ink); }
.stat { display: grid; gap: 10px 32px; align-items: end; padding: clamp(14px, 2vw, 22px) 0; border-bottom: 1.5px solid var(--ink); }
@media (min-width: 760px) { .stat { grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); } }
.stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(64px, 13vw, 190px);
  line-height: .82;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.unit { font-size: .38em; font-stretch: 90%; letter-spacing: -.02em; vertical-align: .95em; margin-right: .05em; }
.unit--end { font-size: .5em; vertical-align: baseline; margin: 0 0 0 .04em; }
.stat-cap { display: flex; gap: 12px; max-width: 340px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.35; }
.stat-cap .mono { font-size: 11px; padding-top: 3px; opacity: .6; }
.metrics-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.fineprint { font-size: 11px; color: var(--fg-2); }
.seal--metrics { flex: none; width: 96px; height: 96px; color: var(--ink); }
.seal--metrics .seal-rot { animation-duration: 26s; }
.seal-mid { font: 900 34px var(--f-display); fill: var(--ink); }

/* ---------- 03 · PRODUTO (card 3D em camadas) ---------- */
.product { overflow: hidden; }
.ghost-word--fba { position: absolute; right: -3vw; top: 12%; font-size: 32vw; -webkit-text-stroke-color: rgba(239, 232, 220, .07); pointer-events: none; }
.product-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.lead { margin-top: 24px; max-width: 520px; font-size: clamp(17px, 1.4vw, 19px); color: var(--fg-2); text-wrap: pretty; }
.notes { max-width: 560px; margin-top: 36px; border-top: 1px solid var(--line); }
.notes li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notes .mono { padding-top: 4px; color: var(--orange); }
.notes h3 { margin-bottom: 4px; font-family: var(--f-display); font-weight: 700; font-stretch: 95%; font-size: 19px; letter-spacing: -.01em; }
.notes p { font-size: 15px; color: var(--fg-2); }

.tilt-scene { -webkit-perspective: 1200px; perspective: 1200px; padding: 48px 6% 40px 10%; }
.tilt-card {
  --mx: 50%; --my: 50%;
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.tilt-card.is-tilting { transition: transform .12s linear; }
.tilt-card.is-idle { animation: idleTilt 8s ease-in-out infinite; }
.tilt-card.is-idle.is-paused { animation-play-state: paused; }
@keyframes idleTilt {
  0%, 100% { transform: rotateX(calc(7deg * var(--motion))) rotateY(calc(-10deg * var(--motion))); }
  50% { transform: rotateX(calc(-4deg * var(--motion))) rotateY(calc(9deg * var(--motion))); }
}
.t-box {
  position: absolute;
  left: 14%; right: -10%; top: 12%; bottom: -8%;
  border-radius: 8px;
  background: linear-gradient(135deg, #C9A06F, #A47444);
  transform: translateZ(-110px) rotate(4deg);
  box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .6);
}
.t-box::before { content: ""; position: absolute; top: 0; bottom: 0; left: 42%; width: 16%; background: rgba(235, 203, 153, .55); }
.t-box-print { position: absolute; right: 12px; bottom: 12px; font-size: 10px; color: rgba(60, 38, 16, .75); }
.t-label {
  position: absolute;
  left: -12%; top: -10%;
  width: 54%;
  padding: 12px 12px 10px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  transform: translateZ(-50px) rotate(-7deg);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
}
.t-label .barcode { width: 100%; height: 40px; color: var(--ink); }
.t-label .mono { margin-top: 4px; font-size: 10px; }
.fnsku-name { margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.25; }
.fnsku-cond { opacity: .6; }
.t-dash {
  position: relative;
  padding: 22px;
  border-radius: 16px;
  background: var(--ink-2);
  border: 1px solid rgba(239, 232, 220, .12);
  color: var(--paper);
  transform: translateZ(40px);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.tilt-shine { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 190, 90, .14), transparent 45%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.tilt-card.is-tilting .tilt-shine { opacity: 1; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.dash-name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.dash-meta { margin-top: 4px; font-size: 10.5px; color: var(--fg-3); }
.dash-delta { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(16, 185, 129, .12); color: var(--green-2); font-size: 11px; white-space: nowrap; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 16px; border-radius: 10px; overflow: hidden; background: rgba(239, 232, 220, .1); }
.dash-kpis > div { padding: 12px; background: var(--ink-2); }
.dash-kpis small { display: block; font-size: 9.5px; color: var(--fg-3); white-space: nowrap; }
.dash-kpis strong { font: 800 clamp(17px, 2vw, 22px)/1.1 var(--f-display); font-stretch: 85%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-chart { height: 76px; margin-bottom: 14px; }
.dash-chart svg { width: 100%; height: 100%; }
.spark-line { vector-effect: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tilt-scene.is-in .spark-line { animation: draw 2s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-breakdown { display: grid; margin-bottom: 18px; font-size: 13px; }
.dash-breakdown .row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(239, 232, 220, .12); font-variant-numeric: tabular-nums; }
.dash-breakdown .muted { color: var(--fg-3); }
.dash-breakdown .total { padding-top: 10px; border-bottom: 0; font-size: 15px; font-weight: 800; }
.dash-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ring { --p: 0; --c: var(--orange); position: relative; width: 68px; height: 68px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(239, 232, 220, .08) 0); }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ink-2); }
.ring span, .ring small { position: relative; line-height: 1.1; }
.ring span { font: 800 15px var(--f-display); }
.ring small { font-size: 10px; color: var(--fg-3); }
.ring--green { --c: var(--green); }
.dash-disclaimer { flex: 1 1 140px; font-size: 11px; line-height: 1.4; color: var(--fg-3); }
@media (max-width: 520px) {
  .tilt-scene { padding: 40px 2% 32px 6%; }
  .t-label { left: -4%; width: 60%; }
  .t-box { right: -4%; }
}

/* ==== story.css ==== */
/* ==========================================================================
   SEÇÕES II — rota (horizontal fixada), ingresso final, rodapé revelado
   ========================================================================== */

/* ---------- 04 · A ROTA ---------- */
.journey {
  position: relative;
  background: var(--ink-2);
  color: var(--paper);
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .55);
}
.journey-pin { position: relative; padding: calc(var(--header-h) + 56px) 0 80px; }
.journey-head { margin-bottom: 40px; }
.journey-viewport { position: relative; }

/* Padrão (mobile, sem JS, movimento desligado): linha vertical que preenche */
.journey-track {
  display: grid;
  gap: 22px;
  padding-left: calc(max(var(--gutter), env(safe-area-inset-left)) + 36px);
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.journey-rail {
  position: absolute;
  top: 8px; bottom: 8px;
  left: calc(max(var(--gutter), env(safe-area-inset-left)) + 11px);
  width: 2px;
  border-radius: 2px;
  background: rgba(239, 232, 220, .12);
  overflow: hidden;
}
.journey-rail span { position: absolute; inset: 0; background: linear-gradient(var(--orange), var(--green)); transform-origin: top center; transform: scaleY(0); will-change: transform; }
.stop {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 17, 17, .45);
  transition: border-color .5s ease;
}
.stop::before {
  content: "";
  position: absolute;
  left: -32px; top: 30px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 2px solid rgba(239, 232, 220, .35);
  transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.stop.is-active { border-color: rgba(255, 153, 0, .4); }
.stop.is-active::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px rgba(255, 153, 0, .18); }
.stop-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 70%;
  font-size: 84px;
  line-height: .8;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(239, 232, 220, .3);
  transition: color .6s ease, -webkit-text-stroke-color .6s ease;
}
.stop.is-active .stop-num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.stop-kicker { margin-bottom: 10px; font-size: 11px; color: var(--orange); }
.stop h3 { margin-bottom: 12px; font-family: var(--f-display); font-weight: 800; font-stretch: 90%; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.stop p { max-width: 460px; font-size: 16px; color: var(--fg-2); }
.stub { display: inline-grid; grid-template-columns: repeat(3, auto); margin-top: 20px; border: 1px dashed rgba(239, 232, 220, .25); border-radius: 8px; }
.stub > div { padding: 10px 14px; border-right: 1px dashed rgba(239, 232, 220, .25); }
.stub > div:last-child { border-right: 0; }
.stub dt { font-size: 9.5px; color: var(--fg-3); }
.stub dd { margin-top: 3px; font-size: 12px; color: var(--paper); text-transform: none; }
@media (max-width: 420px) { .stub { grid-template-columns: 1fr; } .stub > div { border-right: 0; border-bottom: 1px dashed rgba(239, 232, 220, .25); } .stub > div:last-child { border-bottom: 0; } }
.route { display: none; }

/* Desktop: a seção gruda e as etapas correm na horizontal */
.journey.is-pinned .journey-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: calc(var(--header-h) + 28px) 0 30px;
}
@supports (height: 100svh) { .journey.is-pinned .journey-pin { height: 100svh; } }
.journey.is-pinned .journey-head { margin-bottom: 0; }
.journey.is-pinned .journey-head .index { margin-bottom: 14px; }
.journey.is-pinned .journey-viewport { flex: 1; min-height: 0; display: flex; align-items: center; }
.journey.is-pinned .journey-rail { display: none; }
.journey.is-pinned .journey-track {
  display: flex;
  gap: 6vw;
  width: max-content;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: 34vw;
  will-change: transform;
}
.journey.is-pinned .stop {
  width: min(64vw, 800px);
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
}
.journey.is-pinned .stop::before { display: none; }
.journey.is-pinned .stop-num { margin: 0; font-size: clamp(140px, 17vw, 250px); will-change: transform; }
.journey.is-pinned .stop-body { padding-top: 12px; }
.journey.is-pinned .route { display: block; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }
.route-ends { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; color: var(--fg-3); }
.route-ends [data-route-pct] { color: var(--orange); }
.route-line { position: relative; height: 40px; }
.route-svg { width: 100%; height: 100%; overflow: visible; }
.route-bg { fill: none; stroke: rgba(239, 232, 220, .22); stroke-width: 1.5; stroke-dasharray: 4 6; }
.route-fg { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-pkg {
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: 20px;
  box-shadow: 0 0 0 8px rgba(255, 153, 0, .15);
  will-change: transform;
}

/* ---------- 05 · INGRESSO FINAL ---------- */
.final .panel-inner { padding-top: calc(var(--header-h) + 56px); }
.final-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .final-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; } }
.final-ticket { width: 100%; max-width: 440px; }
@media (min-width: 1100px) { .final-ticket { justify-self: end; } }

.countdown { display: flex; align-items: flex-start; gap: clamp(4px, 1vw, 14px); margin: 26px 0 26px; }
.cd-unit { display: grid; gap: 10px; }
.cd-num {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 68%;
  font-size: clamp(60px, 11vw, 168px);
  line-height: .82;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.cd-unit:last-child .cd-num { color: var(--orange-deep); }
.cd-sep { padding-top: .04em; font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 6.5vw, 100px); line-height: 1; color: var(--orange-deep); }
.cd-unit small { font-size: 11px; color: var(--fg-2); }
.countdown-live { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #0B7A55; }
.final-line { max-width: 540px; margin-bottom: 28px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; }
.final-line .serif { font-size: 1.35em; color: var(--orange-deep); }
.final .facts { max-width: 560px; grid-template-columns: 1fr; }
.final .facts > div { padding-right: 0; display: grid; grid-template-columns: 110px 1fr; align-items: baseline; }
.final .facts dt { margin: 0; }

/* ---------- Rodapé revelado por baixo ---------- */
.site-footer { position: relative; z-index: 0; overflow: hidden; background: var(--ink); color: var(--paper); padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-reveal .site-footer { position: fixed; left: 0; right: 0; bottom: 0; }
.footer-reveal .final { border-radius: var(--radius-panel); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--fg-2); }
.footer-top a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; }
.footer-top a:hover { color: var(--orange); }
.footer-word {
  margin: 20px 0 26px;
  padding-bottom: .04em;
  overflow: hidden;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 75%;
  font-size: 15vw;
  line-height: .8;
  letter-spacing: -.055em;
  text-align: center;
  white-space: nowrap;
}
.footer-word span, .footer-word i { display: inline-block; will-change: transform; }
.footer-word i { font-style: normal; color: var(--orange); }
.footer-bottom { display: grid; gap: 14px; }
@media (min-width: 900px) { .footer-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.footer-legal { max-width: 820px; font-size: 12px; line-height: 1.6; color: var(--fg-3); }
.footer-copy { color: var(--fg-3); }
@media (max-width: 1099px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Windows Alto Contraste (fica por último para vencer a cascata) ---------- */
@media (forced-colors: active) {
  .btn, .btn-cta, .header-cta, .band-toggle { border: 2px solid ButtonText !important; }
  .btn-cta::before, .btn-shine, .grain, .cursor { display: none !important; }
  .ticket, .stop, .t-dash, .band { border: 1px solid CanvasText; }
  .input-wrap input { border-bottom: 1px solid CanvasText; }
  /* O sistema força a cor do texto: as palavras vazadas virariam blocos brancos gigantes sobre o conteúdo */
  .ghost-word { display: none !important; }
  .stop-num { -webkit-text-stroke-color: CanvasText; }
  .route-fg { stroke: Highlight; }
  .journey-rail span, .progress-bar i { forced-color-adjust: none; background: Highlight; }
  .live-dot, .live-dot::after, .seal--ticket circle { forced-color-adjust: none; }
}

/* ==== light.css ==== */
/* ==========================================================================
   TEMA CLARO — carregado por último; sobrescreve só cores, sombras e contraste.
   Para voltar à versão escura, remova o <link> deste arquivo no index.html.
   ========================================================================== */
:root {
  --bg: #FAF7F1;            /* fundo principal */
  --bg-2: #F3EDE2;          /* fundo alternado (rota, rodapé) */
  --card: #FFFFFF;          /* cartões, ingresso, painel do produto */
  --orange-ink: #D96A00;    /* laranja para títulos grandes sobre fundo claro */
  --orange-text: #B85400;   /* laranja para textos pequenos (contraste AA) */
  --green-text: #0B7A55;
  --shadow: 60, 42, 14;     /* sombra quente (r, g, b) */

  --fg: var(--ink);
  --fg-2: rgba(15, 17, 17, .72);
  --fg-3: rgba(15, 17, 17, .52);
  --line: rgba(15, 17, 17, .14);
}

html { background: var(--bg); scrollbar-color: #CFC5B3 var(--bg); }
body { background: var(--bg); color: var(--ink); }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #CFC5B3; border-color: var(--bg); }

.text-green { color: var(--green-text); }
.index b { color: var(--orange-text); }

/* Grão escuro e bem sutil (o branco some em fundo claro) */
.grain {
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Cursor, header, progresso: sempre tinta escura ---------- */
.cursor { color: var(--ink); }
.cursor-label { color: var(--orange-text); }
.site-header { color: var(--ink); }
.site-header::before { background: linear-gradient(180deg, rgba(250, 247, 241, .94), rgba(250, 247, 241, 0)); }
.progress { color: var(--ink); }
.progress-bar { background: rgba(15, 17, 17, .18); }

/* ---------- Painéis ---------- */
.panel + .panel, .journey { box-shadow: 0 -18px 50px -24px rgba(var(--shadow), .28); }
.panel-shade { background: #B9AC93; }
.panel--ink { background: var(--bg); color: var(--ink); }
.panel--paper { background: var(--bg); }
.product { background: var(--card); }
.panel--ink .display .serif { color: var(--orange-ink); }

/* ---------- Ingresso / formulário ---------- */
.ticket, .ticket--dark {
  --t-bg: var(--card);
  --t-fg: var(--ink);
  --t-fg-2: rgba(15, 17, 17, .64);
  --t-line: rgba(15, 17, 17, .22);
  --t-notch: var(--bg);
  --t-err: var(--red);
  border: 1px solid rgba(15, 17, 17, .08);
  box-shadow: 0 30px 70px -32px rgba(var(--shadow), .45), 0 2px 6px rgba(var(--shadow), .06);
}
.ticket::before, .ticket::after { box-shadow: inset 0 0 0 1px rgba(15, 17, 17, .08); }
.ticket-tape, .ticket--dark .ticket-tape { background: rgba(255, 153, 0, .5); border-color: rgba(255, 255, 255, .45); }
.ticket-title .serif, .ticket--dark .ticket-title .serif { color: var(--orange-ink); }
.ticket--dark .input-wrap::after { background: var(--orange-deep); }
.field.is-valid input { border-bottom-color: var(--green-text); }
.stamp { color: var(--green-text); border-color: var(--green-text); }
.btn-ghost:hover { color: var(--orange-text); border-color: var(--orange-text); }
.sticky-cta { background: linear-gradient(180deg, rgba(250, 247, 241, 0), rgba(250, 247, 241, .95) 40%); }

/* ---------- Hero ---------- */
.ghost-word { -webkit-text-stroke-color: rgba(15, 17, 17, .09); }
.ghost-word--fba { -webkit-text-stroke-color: rgba(15, 17, 17, .07); }
.art-box { filter: drop-shadow(0 24px 30px rgba(var(--shadow), .28)); }
.ship-label { background: var(--card); border: 1px solid rgba(15, 17, 17, .1); box-shadow: 0 20px 36px -18px rgba(var(--shadow), .4); }
.hero-title .accent { color: var(--orange-ink); }
.scroll-cue i { background: rgba(15, 17, 17, .18); }

/* ---------- Faixas ---------- */
.band--a { box-shadow: 0 12px 26px -14px rgba(var(--shadow), .5); }
.band--b { background: var(--card); }
.band-toggle { box-shadow: 0 8px 18px -8px rgba(var(--shadow), .5); }

/* ---------- Produto ---------- */
.notes .mono { color: var(--orange-text); }
.t-box { box-shadow: 0 34px 50px -22px rgba(var(--shadow), .4); }
.t-label { background: var(--card); border: 1px solid rgba(15, 17, 17, .1); box-shadow: 0 18px 34px -18px rgba(var(--shadow), .4); }
.t-dash {
  background: var(--card);
  color: var(--ink);
  border-color: rgba(15, 17, 17, .1);
  box-shadow: 0 44px 80px -34px rgba(var(--shadow), .5), 0 2px 6px rgba(var(--shadow), .06);
}
.tilt-shine { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 153, 0, .12), transparent 45%); }
.dash-delta { background: rgba(16, 185, 129, .14); color: var(--green-text); }
.dash-kpis { background: rgba(15, 17, 17, .1); border: 1px solid rgba(15, 17, 17, .1); }
.dash-kpis > div { background: var(--bg); }
.dash-breakdown .row { border-bottom-color: rgba(15, 17, 17, .14); }
.ring { background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(15, 17, 17, .08) 0); }
.ring::before { background: var(--card); }

/* ---------- Rota ---------- */
.journey { background: var(--bg-2); color: var(--ink); }
.journey-rail { background: rgba(15, 17, 17, .12); }
.stop { background: var(--card); }
.stop::before { background: var(--bg-2); border-color: rgba(15, 17, 17, .3); }
.stop.is-active { border-color: rgba(228, 121, 17, .55); }
.stop-num { -webkit-text-stroke-color: rgba(15, 17, 17, .26); }
.stop-kicker { color: var(--orange-text); }
.stub, .stub > div { border-color: rgba(15, 17, 17, .22); }
.stub dd { color: var(--ink); }
.route-ends [data-route-pct] { color: var(--orange-text); }
.route-bg { stroke: rgba(15, 17, 17, .25); }

/* ---------- Final e rodapé ---------- */
.countdown-live { color: var(--green-text); }
.site-footer { background: var(--bg-2); color: var(--ink); }
.footer-top a:hover { color: var(--orange-text); }
.footer-legal, .footer-copy { color: rgba(15, 17, 17, .6); }

/* ==== blog.css ==== */
/* ==========================================================================
   BLOG: camada do site pessoal (carregada por último).
   Tudo que é novo em relação ao modelo de evento fica aqui:
   hero com vídeo, espaços de mídia, artigos, depoimentos e painel escuro.
   ========================================================================== */

/* ---------- Ordem da pilha (cada seção cobre a anterior) ---------- */
.guia { z-index: 2; }
.metrics { z-index: 3; }
.product { z-index: 4; }
.journey { z-index: 5; }
.posts { z-index: 6; }
.depo { z-index: 7; }
.final { z-index: 8; }
.posts .panel-inner, .depo .panel-inner { padding-top: calc(var(--header-h) + 56px); }
/* Respiro no fim das seções altas: o último bloco fica na tela por mais tempo antes de ser coberto */
.posts .panel-inner, .depo .panel-inner, .product .panel-inner { padding-bottom: clamp(120px, 20vh, 220px); }

/* ---------- Painel escuro (contraste para os depoimentos) ---------- */
.panel--night {
  --fg: var(--paper);
  --fg-2: rgba(239, 232, 220, .7);
  --fg-3: rgba(239, 232, 220, .45);
  --line: rgba(239, 232, 220, .16);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.panel--night .index { color: var(--fg-2); }
.panel--night .index b, .panel--night .display .serif { color: var(--orange); }
html[data-under="night"] .site-header { color: var(--paper); }
html[data-under="night"] .site-header::before { background: linear-gradient(180deg, rgba(15, 17, 17, .9), rgba(15, 17, 17, 0)); opacity: 1; }
html[data-under="night"] .progress { color: var(--paper); }
html[data-under="night"] .cursor { color: var(--paper); }
html[data-under="night"] .cursor-label { color: var(--orange); }

/* ---------- 01 · Hero pessoal ---------- */
.hero-title { font-size: clamp(54px, 15.5vw, 120px); }
@media (min-width: 1100px) {
  .hero-title { font-size: clamp(56px, 7.4vw, 128px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, 560px); align-items: end; gap: 40px; }
}
.layer--word .ghost-word { font-size: 34vw; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-width: 0; }
/* Fabio em recorte sobre o arco laranja + cartão de vídeo sobreposto */
.hero-figure { position: relative; width: 100%; max-width: 440px; margin: 28px auto 0; aspect-ratio: 5 / 6; }
@media (min-width: 1100px) { .hero-figure { max-width: none; margin: 0; justify-self: end; align-self: end; height: min(74vh, 700px); aspect-ratio: auto; width: min(100%, 560px); } }
.hero-arch {
  position: absolute; left: 9%; right: 3%; bottom: 0; height: 80%;
  border-radius: 999px 999px 26px 26px;
  background: var(--orange);
  will-change: transform;
}
.hero-arch::after {   /* textura de etiqueta: linhas finas, bem discretas */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(15, 17, 17, .06) 0 1px, transparent 1px 14px);
}
.hero-cut { position: absolute; left: 6%; right: 0; bottom: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; will-change: transform; }
.hero-cut img { display: block; width: auto; height: 100%; max-width: none; filter: drop-shadow(0 22px 26px rgba(var(--shadow, 0, 0, 0), .28)); }
/* O recorte termina reto no tronco: a máscara arredonda os cantos de baixo junto com o arco */
.hero-cut { border-radius: 0 0 26px 26px; overflow: hidden; }
.hero-media { position: absolute; z-index: 2; left: -4%; bottom: 7%; width: 40%; max-width: 190px; will-change: transform; }
.media-card {
  position: relative;
  padding: 8px 8px 10px;
  border-radius: 14px;
  background: var(--card, #fff);
  border: 1px solid rgba(15, 17, 17, .08);
  box-shadow: 0 26px 50px -24px rgba(var(--shadow, 0, 0, 0), .6), 0 2px 6px rgba(var(--shadow, 0, 0, 0), .08);
  transform: rotate(-5deg);
}
.media-card .ticket-tape { top: -12px; width: 76px; margin-left: -38px; height: 22px; }
.media-card .media-ph { padding: 10px; gap: 6px; }
.media-card .media-ph p { font-size: 10.5px; line-height: 1.3; }
.media-card .media-ph .mono { font-size: 9px; }
.media-card .media-ph .icon { width: 34px; height: 34px; padding: 9px; }
.media-card .ph-tag { top: 6px; left: 6px; font-size: 8px !important; padding: 3px 6px; }
.media-cap { display: flex; justify-content: space-between; gap: 6px; margin-top: 8px; font-size: 8.5px; color: rgba(15, 17, 17, .6); white-space: nowrap; overflow: hidden; }
.seal--media { position: absolute; z-index: 3; top: 12%; right: -2%; width: 104px; height: 104px; color: var(--ink); }
.seal--media circle { fill: var(--ink); }
.seal--media text { font: 500 11px var(--f-mono); letter-spacing: .14em; fill: var(--paper); }
.seal--media .seal-arrow { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.seal--media .seal-rot { transform-origin: 60px 60px; animation: sealSpin 22s linear infinite; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
@media (max-width: 1099px) { .seal--media { width: 84px; height: 84px; top: 14%; right: 0; } }

/* ---------- Espaços de mídia (vídeo, capa, depoimento) ---------- */
.media-slot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(15, 17, 17, .05) 0 12px, rgba(15, 17, 17, .02) 12px 24px);
  outline: 1.5px dashed rgba(15, 17, 17, .28);
  outline-offset: -1.5px;
}
.media-slot--tall { aspect-ratio: 4 / 5; }
.media-slot.has-media { outline: 0; background: var(--ink); }
.media-slot video, .media-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 20px; text-align: center; color: rgba(15, 17, 17, .62);
}
.media-ph p { max-width: 240px; font-size: 13px; line-height: 1.4; }
.media-ph .mono { font-size: 11px; }
.media-ph .icon { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.media-slot.has-media .media-ph { display: none; }
.ph-tag {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 8px; border-radius: 4px;
  font-size: 9.5px !important;
  background: var(--ink); color: var(--paper);
}
.media-play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--orange); color: var(--ink); font-size: 22px;
  box-shadow: 0 0 0 10px rgba(255, 153, 0, .2);
  transition: transform .4s var(--spring);
}
.media-play:hover { transform: scale(1.08); }
.media-play .icon { width: 22px; height: 22px; }

/* ---------- 03 · Ferramenta ---------- */
.dash-delta .icon { width: 14px; height: 14px; }
.dash-breakdown .row span:last-child { text-align: right; white-space: nowrap; }
.dash-breakdown .total span:last-child { white-space: normal; }

/* ---------- 04 · Temas ---------- */
.stub a { text-decoration: underline; text-underline-offset: 3px; }
.stub a:hover { color: var(--orange-text, var(--orange)); }
.route-pkg .icon { width: 18px; height: 18px; }
/* O número gigante corre em parallax horizontal: o vão precisa caber esse deslocamento */
.journey.is-pinned .stop { gap: clamp(72px, 8vw, 130px); }

/* ---------- 05 · Artigos ---------- */
.posts-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.posts-head .btn { flex: none; }
.post-grid { display: grid; gap: 40px 28px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post--lead { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .post-grid { grid-template-columns: 1.35fr 1fr 1fr; align-items: start; }
  .post--lead { grid-column: auto; }
}
.post { display: flex; flex-direction: column; }
.post-cover { transition: transform .8s var(--ease); }
.post:hover .post-cover { transform: translate3d(0, -6px, 0); }
.post-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 11px; color: var(--fg-2); }
.post-meta b { font-weight: 500; color: var(--orange-text, var(--orange-deep)); }
.post-meta b::after { content: ""; display: inline-block; width: 20px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .6; }
.post-title {
  margin-top: 12px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 90%;
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance;
}
.post--lead .post-title { font-size: clamp(28px, 3vw, 46px); }
.post-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.post:hover .post-title a { background-size: 100% 2px; }
.post-excerpt { margin-top: 12px; max-width: 460px; font-size: 16px; color: var(--fg-2); }
.post-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 11px; }
.post-link .icon { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.post:hover .post-link .icon { transform: translate3d(5px, 0, 0); }

/* ---------- 06 · Depoimentos ---------- */
.depo-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 24px); margin-bottom: 14px; }
.depo-photo { margin: 0; border-radius: 14px; overflow: hidden; background: #1b1b1b; }
.depo-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.depo-photo:hover img { transform: scale(1.04); }
.depo-photo:nth-child(1) { transform: rotate(-1.2deg); }
.depo-photo:nth-child(3) { transform: rotate(1.2deg); }
.js .depo-photo.reveal:nth-child(1).is-in { transform: rotate(-1.2deg); }
.js .depo-photo.reveal:nth-child(3).is-in { transform: rotate(1.2deg); }
@media (max-width: 759px) {
  .depo-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depo-photo:nth-child(1) { grid-column: 1 / -1; }
}
.depo-photos-cap { margin-bottom: clamp(40px, 6vw, 72px); font-size: 11px; color: var(--fg-3); }
.ghost-word--thanks {
  position: absolute; left: -2vw; bottom: 4%;
  font-size: 22vw; white-space: nowrap; pointer-events: none;
  -webkit-text-stroke-color: rgba(239, 232, 220, .07);
}
.depo .container { position: relative; }
.depo-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .depo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 760px) { .depo-card:nth-child(2) { margin-top: 48px; } }
.depo-card { margin: 0; display: flex; flex-direction: column; }
.depo .media-slot { background: repeating-linear-gradient(135deg, rgba(239, 232, 220, .07) 0 12px, rgba(239, 232, 220, .03) 12px 24px); outline-color: rgba(239, 232, 220, .32); }
.depo .media-ph { color: rgba(239, 232, 220, .7); }
.depo .ph-tag { background: var(--paper); color: var(--ink); }
@media (max-width: 759px) { .depo .media-slot--tall { aspect-ratio: 4 / 3; } }
.depo-quote {
  margin: 20px 0 0;
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; text-wrap: pretty;
}
.depo-quote.is-placeholder { font-family: var(--f-body); font-style: normal; font-size: 15px; line-height: 1.5; color: var(--fg-3); }
.depo-who { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--fg-2); }
.depo-who b { font-weight: 500; color: var(--paper); }

/* ---------- 07 · Final e rodapé ---------- */
.final-copy .final-line { margin-top: 28px; }
.footer-social { display: none; gap: 24px; }
@media (min-width: 700px) { .footer-social { display: inline-flex; } }

/* ---------- Sem JS / movimento desligado ---------- */
html:not(.js) .seal--media .seal-rot { animation: none; }
@media print { .media-slot { outline: 1px solid #999; } }

/* ---------- Celular: o hero termina antes das faixas e o cartão de vídeo não sai da tela ---------- */
@media (max-width: 1099px) {
  .hero .panel-inner { padding-bottom: 132px; }
  .hero-media { left: 0; }
}

/* ---------- Palco em vídeo (topo da seção de depoimentos) ---------- */
.depo .panel-inner { padding-top: 0; justify-content: flex-start; }
.depo-stage {
  position: relative;
  height: min(88vh, 860px);
  min-height: 460px;
  display: flex; align-items: flex-end;
  margin-bottom: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  overflow: hidden;
}
@supports (height: 100svh) { .depo-stage { height: min(88svh, 860px); } }
.depo-stage-inner { position: relative; z-index: 1; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-bottom: clamp(24px, 4vw, 48px); }
.depo-stage .panel-head { margin-bottom: 0; }
.depo-stage-cap { display: inline-flex; align-items: center; gap: 10px; padding-bottom: .5em; font-size: 11px; color: var(--fg-2); white-space: nowrap; }
.bg-video {
  position: absolute; inset: 0;
  pointer-events: none;
  background: var(--ink) 62% 40% / cover no-repeat;
}
.bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; opacity: 0; transition: opacity 1.2s ease; }
.bg-video.is-playing video { opacity: 1; }
/* Véu só onde há texto: topo (menu) e base (título). O centro, onde o Fabio está, fica limpo. */
.bg-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 17, 17, .62) 0%, rgba(15, 17, 17, 0) 20%, rgba(15, 17, 17, 0) 50%, rgba(15, 17, 17, .7) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(15, 17, 17, .45) 0%, rgba(15, 17, 17, 0) 42%),
    rgba(15, 17, 17, .08);
}
.depo .ghost-word--thanks { display: none; }
@media (max-width: 759px) {
  .depo-stage { height: min(74vh, 620px); }
  .bg-video::after {
    background:
      linear-gradient(180deg, rgba(15, 17, 17, .6) 0%, rgba(15, 17, 17, 0) 22%, rgba(15, 17, 17, 0) 48%, rgba(15, 17, 17, .78) 76%, var(--ink) 100%),
      rgba(15, 17, 17, .06);
  }
}
@media print { .bg-video { display: none; } }

/* ---------- Depoimentos em vídeo: 3 verticais em cima, 2 horizontais embaixo ---------- */
.depo-grid { display: grid; grid-template-columns: 1fr; gap: 36px 24px; }
@media (min-width: 760px) {
  .depo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 24px; }
  .depo-card--v { grid-column: span 2; }
  .depo-card--h { grid-column: span 3; }
  .depo-card:nth-child(2) { margin-top: 48px; }
}
.depo-card--v .media-slot { aspect-ratio: 9 / 16; }
.depo-card--h .media-slot { aspect-ratio: 16 / 9; }
@media (max-width: 759px) { .depo-card--v .media-slot { aspect-ratio: 4 / 5; } }
.depo .media-slot.has-media { background: #0b0b0b; }
.depo .media-slot video { object-fit: contain; background: #0b0b0b; }
.depo .media-slot img { transition: transform 1.2s var(--ease); }
.depo-card:hover .media-slot img { transform: scale(1.03); }
.depo .media-play { z-index: 1; }
.depo .media-slot.has-media::after {   /* leve escurecida na base da capa, para o botão destacar */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0) 55%, rgba(11, 11, 11, .45) 100%);
}
.depo .media-slot.has-media:has(video)::after { display: none; }
.depo-quote { quotes: none; }
/* Botão de play no canto, para não cobrir o rosto de quem fala */
.depo .media-play { left: 14px; top: auto; bottom: 14px; margin: 0; width: 52px; height: 52px; box-shadow: 0 0 0 8px rgba(255, 153, 0, .22); }
.media-cap { justify-content: center; }

/* ---------- 02 · Guia gratuito (ebook + formulário) ---------- */
.guia .panel-inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: 150px; }
.ghost-word--guia { position: absolute; right: -3vw; top: 6%; font-size: 26vw; white-space: nowrap; pointer-events: none; -webkit-text-stroke-color: rgba(239, 232, 220, .06); }
.guia-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .guia-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); } }
.guia-art { position: relative; display: flex; justify-content: center; }
.guia-mockup { position: relative; display: block; width: auto; max-width: min(100%, 420px); height: auto; max-height: 66vh; transform: rotate(-4deg); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); will-change: transform; }
.guia-glow { position: absolute; left: 50%; top: 52%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 153, 0, .34) 0%, rgba(255, 153, 0, .1) 42%, transparent 68%); }
.guia-tag { position: absolute; right: 8%; bottom: 6%; padding: 8px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 10.5px; transform: rotate(5deg); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
@media (max-width: 999px) { .guia-mockup { max-width: min(58%, 270px); } .guia-tag { right: 14%; } .guia-grid { gap: 28px; } }
.guia-copy .lead { margin-top: 20px; max-width: 560px; color: var(--fg-2); }
.guia-copy .lead strong { font-weight: 600; color: var(--paper); }
.guia-list { margin-top: 24px; max-width: 580px; border-top: 1px solid var(--line); }
.guia-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.guia-list .mono { padding-top: .3em; font-size: 11px; color: var(--orange); }
.guia-list p { font-size: 16px; color: var(--fg-2); }
.guia-list b { font-weight: 600; color: var(--paper); }
.guia-form { margin-top: 28px; max-width: 580px; padding: 20px; border-radius: 16px; background: rgba(239, 232, 220, .06); border: 1px solid var(--line); }
.guia-form form { margin: 0; }
.guia-fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .guia-fields { grid-template-columns: 1fr 1fr; } }
.guia-field { min-width: 0; }
.guia-field label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--paper); }
.guia-field label .mono { font-size: 10px; color: var(--orange); }
.guia-field input {
  display: block; width: 100%; height: 54px; margin: 0; padding: 0 14px;
  border: 1.5px solid transparent; border-radius: 10px;
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 16px;   /* 16px evita zoom automático no iPhone */
}
.guia-field input::placeholder { color: rgba(15, 17, 17, .45); }
.guia-field input:focus { outline: 3px solid rgba(255, 153, 0, .6); outline-offset: 1px; border-color: var(--orange); }
.guia-form .fg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.guia-form .btn { margin-top: 14px; }
.guia-aviso { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 10px; line-height: 1.5; color: var(--fg-3); letter-spacing: .02em; text-transform: none; }
.guia-aviso .icon { flex: none; width: 12px; height: 12px; margin-top: 1px; }
.guia-fine { margin-top: 14px; max-width: 580px; font-size: 13px; color: var(--fg-3); }
/* A faixa escura cruza sobre este painel escuro: um fio claro mantém o desenho dela visível */
.guia + .metrics .band--a { box-shadow: 0 0 0 1px rgba(239, 232, 220, .22), 0 14px 30px -12px rgba(0, 0, 0, .55); }

/* ==== blog-crm.css ==== */
/* ==========================================================================
   BLOG ADMINISTRADO PELO CRM (26/11/2026) — camada carregada depois do blog.css (teste7).
   Página de artigo, listas (todos os artigos, categorias), formulário do guia dentro do texto
   e ajustes da capa. Usa os mesmos tokens do modelo do Henrique.
   ========================================================================== */

/* ---------- Ordem da pilha nas páginas novas ---------- */
.p-hero { z-index: 1; }
.p-body { z-index: 2; }
.p-guia { z-index: 3; }
.p-mais { z-index: 4; }
.p-lista { z-index: 2; }

/* ---------- Faixa de teste / prévia ---------- */
.b-aviso { position: fixed; z-index: 90; left: 16px; bottom: 16px; max-width: min(420px, calc(100vw - 32px)); padding: 8px 12px; border-radius: 10px; background: #FFE7B3; color: #5A3B00; border: 1px solid rgba(90, 59, 0, .2); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); font-family: var(--f-mono); font-size: 10.5px; line-height: 1.45; letter-spacing: .03em; pointer-events: none; }
@media (max-width: 1099px) { .b-aviso { position: absolute; bottom: auto; top: calc(var(--header-h) + 4px); left: 50%; transform: translateX(-50%); width: max-content; text-align: center; } }

/* ---------- Header: link "Blog" ---------- */
.header-meta a { color: inherit; }
.header-meta a:hover { color: var(--orange-text, var(--orange-deep)); }

/* ---------- Cabeçalho do artigo ---------- */
.p-hero .panel-inner { justify-content: flex-end; padding-bottom: clamp(56px, 7vw, 96px); }
.a-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 22px; font-size: 11px; color: var(--fg-2); }
.a-crumbs a:hover { color: var(--orange-text); }
.a-crumbs .sep { opacity: .5; }
.a-head { display: grid; gap: clamp(28px, 4vw, 56px); align-items: end; }
@media (min-width: 1000px) { .a-head--capa { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.a-title { font-family: var(--f-display); font-weight: 800; font-stretch: 88%; font-size: clamp(38px, 5.4vw, 84px); line-height: .98; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
.a-title--longo { font-size: clamp(32px, 4.2vw, 64px); }
.a-resumo { margin-top: 22px; max-width: 620px; font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-2); text-wrap: pretty; }
.a-meta { margin-top: 26px; max-width: 620px; }
.a-meta.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-meta.facts > div:nth-child(odd) { padding-right: 0; }
.a-meta.facts > div { padding-right: 12px; }
@media (max-width: 560px) { .a-meta.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.a-capa { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); box-shadow: 0 30px 70px -32px rgba(var(--shadow), .5); }
.a-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Corpo do artigo ---------- */
.p-body .panel-inner { justify-content: flex-start; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(96px, 14vh, 160px); }
.a-wrap { display: grid; gap: 40px; }
@media (min-width: 1100px) { .a-wrap { grid-template-columns: 200px minmax(0, 720px) 1fr; } }
.a-side { font-size: 11px; color: var(--fg-2); }
.a-side p + p { margin-top: 10px; }
.a-side a { color: var(--orange-text); }
@media (max-width: 1099px) { .a-side { display: none; } }

.a-txt { min-width: 0; max-width: 720px; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.7; color: rgba(15, 17, 17, .86); overflow-wrap: break-word; }
.a-txt > * + * { margin-top: 1.1em; }
.a-txt h2, .a-txt h3, .a-txt h4 { font-family: var(--f-display); font-stretch: 92%; color: var(--ink); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.a-txt h2 { margin-top: 1.9em; font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; }
.a-txt h3 { margin-top: 1.6em; font-size: clamp(21px, 1.8vw, 26px); font-weight: 750; }
.a-txt h4 { margin-top: 1.4em; font-size: 19px; font-weight: 700; }
.a-txt p, .a-txt li { text-wrap: pretty; }
.a-txt a { color: var(--orange-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.a-txt a:hover { color: var(--ink); }
.a-txt strong, .a-txt b { color: var(--ink); font-weight: 650; }
.a-txt ul, .a-txt ol { padding-left: 1.3em; }
.a-txt ul { list-style: disc; }
.a-txt ol { list-style: decimal; }
.a-txt li + li { margin-top: .45em; }
.a-txt li::marker { color: var(--orange-text); }
.a-txt blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange); font-family: var(--f-serif); font-style: italic; font-size: 1.3em; line-height: 1.4; color: var(--ink); }
.a-txt img, .a-txt video, .a-txt iframe { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.a-txt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.a-txt figure { margin: 1.6em 0; }
.a-txt figcaption { margin-top: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); letter-spacing: .03em; }
.a-txt hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.a-txt table { width: 100%; border-collapse: collapse; font-size: .9em; display: block; overflow-x: auto; }
.a-txt th, .a-txt td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.a-txt pre { overflow-x: auto; padding: 14px; border-radius: 10px; background: var(--bg-2); font-size: .85em; }
.a-txt code { font-family: var(--f-mono); font-size: .88em; }
.a-txt .aligncenter { margin-left: auto; margin-right: auto; }

.a-fim { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--fg-2); }
.a-fim .btn { flex: none; }

/* ---------- Formulário do guia dentro do texto ---------- */
.b-guia {
  --fg: var(--paper); --fg-2: rgba(239, 232, 220, .72); --fg-3: rgba(239, 232, 220, .48); --line: rgba(239, 232, 220, .16);
  position: relative; margin: 2.4em 0 !important; padding: clamp(22px, 3vw, 34px); border-radius: 18px;
  background: var(--ink); color: var(--paper); overflow: hidden; font-size: 16px; line-height: 1.55;
}
.b-guia::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 153, 0, .3), transparent 68%); pointer-events: none; }
.b-guia-in { position: relative; display: grid; gap: 22px; align-items: center; }
@media (min-width: 640px) { .b-guia-in { grid-template-columns: 120px minmax(0, 1fr); } }
.b-guia-art img { width: 120px; height: auto; transform: rotate(-5deg); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }
@media (max-width: 639px) { .b-guia-art { display: none; } }
.b-guia .b-kicker { margin: 0 0 8px; color: var(--orange); font-size: 11px; }
.b-guia .b-tit { margin: 0 0 8px !important; font-family: var(--f-display); font-stretch: 90%; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--paper); }
.b-guia .b-tit em { font-family: var(--f-serif); font-weight: 400; color: var(--orange); }
.b-guia .b-sub { margin: 0 !important; color: var(--fg-2); font-size: 15px; }
.b-guia .guia-form { margin-top: 16px; max-width: none; padding: 0; background: none; border: 0; }
.b-guia .guia-field label { color: var(--paper); }
.b-guia .guia-aviso { color: var(--fg-3); }

/* ---------- Mensagens do formulário (sucesso e erro) ---------- */
.guia-ok { padding: 18px 20px; border-radius: 14px; background: rgba(255, 153, 0, .12); border: 1px solid rgba(255, 153, 0, .4); }
.guia-ok:focus { outline: 0; }
.guia-ok h3 { margin: 0 0 6px; font-family: var(--f-display); font-size: 22px; font-weight: 800; color: var(--orange); }
.guia-ok p { margin: 0; color: var(--fg); }
.guia-erro { margin: 10px 0 0; color: #FFB4A8; font-size: 14px; }
.ticket .guia-erro { color: var(--red); }
.guia-form button[disabled] { opacity: .7; cursor: wait; }

/* Formulário no ingresso da seção final (tema claro) */
.ticket .guia-form { margin-top: 18px; max-width: none; padding: 0; background: none; border: 0; }
.ticket .guia-fields { grid-template-columns: 1fr; }
.ticket .guia-field label { color: var(--t-fg, var(--ink)); }
.ticket .guia-field input { background: #fff; border-color: rgba(15, 17, 17, .22); }
.ticket .guia-aviso { color: var(--t-fg-2, var(--fg-3)); }
.ticket .guia-ok { background: rgba(255, 153, 0, .1); }
.ticket .guia-ok h3 { color: var(--orange-text); }
.ticket .guia-ok p { color: var(--ink); }

/* ---------- Listas (capa, todos os artigos, categorias, leia também) ---------- */
.post-cover { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post-cover img { transform: scale(1.03); }
.post-cover--vazia { display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(135deg, var(--ink) 0%, #2A2116 100%); color: var(--orange); }
.post-cover--vazia span { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; letter-spacing: -.02em; color: var(--paper); }
.post-cover--vazia span i { font-family: var(--f-serif); font-weight: 400; color: var(--orange); }
.post-grid--lista { display: grid; gap: 44px 28px; }
@media (min-width: 700px) { .post-grid--lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid--lista { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-grid--lista .post-title { font-size: clamp(22px, 1.9vw, 28px); }
.posts-vazio { padding: 28px; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--fg-2); max-width: 640px; }
.p-lista .panel-inner, .p-mais .panel-inner { justify-content: flex-start; }
.p-lista .panel-inner { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(96px, 14vh, 160px); }
.p-mais .panel-inner { padding-bottom: clamp(96px, 14vh, 160px); }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cats a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); transition: background .3s, color .3s, border-color .3s; }
.cats a:hover, .cats a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.paginas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 56px; }
.paginas a, .paginas span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; }
.paginas span.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.paginas a:hover { border-color: var(--ink); }

/* Cabeçalho das listas (todos os artigos / categoria) */
.l-head .display { overflow-wrap: anywhere; }
.l-head .lead { max-width: 640px; }

/* ==========================================================================
   Rodada 2 (26/11/2026): desempenho, acessibilidade e robustez
   ========================================================================== */
/* Contraste AA nos textos pequenos (antes 3,7:1) */
:root { --fg-3: rgba(15, 17, 17, .66); }
.panel--night, .b-guia { --fg-3: rgba(239, 232, 220, .66); }
.stub dt, .facts dt { color: var(--fg-2); }
.panel--paper .display .serif { color: var(--orange-ink); }
.panel--paper .index b { color: var(--orange-text); }

/* Rodapé "revelado": só aparece depois que o motor o posiciona (evitava salto de layout/CLS de 0,5) */
.js .site-footer { visibility: hidden; }
.js.is-loaded .site-footer { visibility: visible; }

/* Entrada do cabeçalho do artigo sem esconder o texto (o título é o maior elemento da tela: LCP) */
@keyframes aIn { from { transform: translate3d(0, 22px, 0); } to { transform: none; } }
.js .a-in { animation: aIn 1s var(--ease) both; animation-delay: var(--d, 0s); }
.a-capa img { height: 100%; }

/* Imagem do texto que não abre: some (blog-crm.js marca com .img-falhou) */
.a-txt .img-falhou { display: none !important; }
.a-txt figure:has(> .img-falhou:only-child) { display: none; }

/* Foco do teclado bem visível nos cartões e botões */
.post-title a:focus-visible, .cats a:focus-visible, .paginas a:focus-visible, .a-crumbs a:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 3px; border-radius: 4px; }
.guia-field input:focus-visible { outline: 3px solid rgba(255, 153, 0, .75); }

/* Títulos e palavras longas não estouram a tela no celular */
.post-title, .a-title, .display { overflow-wrap: break-word; hyphens: auto; }
.a-txt a { word-break: break-word; }

/* Vídeo do YouTube responsivo, também quando vem num <figure> do WordPress */
.a-txt figure iframe, .a-txt p > iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Movimento reduzido: sem animação de entrada nem zoom nas capas */
@media (prefers-reduced-motion: reduce) {
  .js .a-in { animation: none; }
  .post:hover .post-cover img, .post:hover .post-cover { transform: none; }
}
.motion-off .a-in { animation: none !important; }

/* Capa desenhada para artigo sem imagem */
.post-cover--vazia span { font-size: clamp(24px, 2.6vw, 36px); text-wrap: balance; }
/* Números grandes dos temas e % da rota: laranja um pouco mais escuro no fundo claro (contraste ≥ 3:1 / 4,5:1) */
.stop.is-active .stop-num { color: #C25E00; -webkit-text-stroke-color: #C25E00; }
.route-ends [data-route-pct] { color: #9A4700; }
.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; }
/* Cabeçalho do artigo e das listas sem a tela inteira vazia acima do título */
.p-hero { min-height: 0; }
.p-hero .panel-inner { min-height: clamp(560px, 82vh, 920px); }
.p-hero.sem-capa .panel-inner { min-height: clamp(460px, 64vh, 760px); }
@media (max-width: 999px) {
  .p-hero .panel-inner, .p-hero.sem-capa .panel-inner { min-height: 0; padding-top: calc(var(--header-h) + 64px); }
  .l-head .panel-inner { min-height: 0 !important; }
}
/* O cabeçalho do artigo é curto: a 2ª seção já aparece na 1ª tela, então o escurecimento/encolhimento da pilha
   deixava o topo cinza logo ao abrir. Aqui o cabeçalho fica sempre limpo. */
.p-hero > .panel-shade { display: none; }
.p-hero > .panel-inner { transform: none !important; }
/* Faixa de aviso (teste/prévia) no celular: empurra o conteúdo da 1ª seção para não cobrir o texto */
@media (max-width: 1099px) { .tem-aviso main > .panel:first-child > .panel-inner { padding-top: calc(var(--header-h) + 104px) !important; } }
/* A faixa de aviso some sozinha depois de alguns segundos (não fica por cima do texto durante a leitura) */
@keyframes avisoSome { to { opacity: 0; visibility: hidden; } }
@media (min-width: 1100px) { .b-aviso { animation: avisoSome .6s ease 9s forwards; } }

