/*
 * Raclavi · "Este site é uma cartela"
 * Marca: só os tokens de brand/tokens/tokens.css (5 cores + neutros), Onest,
 * símbolo via <raclavi-symbol>. Âmbar apenas no ponto do símbolo, no estado
 * 5/5 e em um único CTA. Site claro (sem tema escuro).
 */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: var(--raclavi-blue);
  --blue-2: var(--raclavi-blue-2);
  --green: var(--raclavi-green);
  --amber: var(--raclavi-amber);
  --paper: var(--raclavi-paper);
  --paper-2: var(--raclavi-paper-2);
  --paper-3: var(--raclavi-paper-3);
  --ink: var(--raclavi-ink);
  --ink-2: var(--raclavi-ink-2);
  --rule: var(--raclavi-rule);
  --ease: var(--raclavi-ease-out);
  --ease-io: var(--raclavi-ease-in-out);
  --slow: var(--raclavi-duration-slow);
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --nav-h: 64px;
  --sheet-r: clamp(26px, 3vw, 40px);
  --paper-a12: color-mix(in srgb, var(--paper) 12%, transparent);
  --paper-a20: color-mix(in srgb, var(--paper) 20%, transparent);
  --paper-a40: color-mix(in srgb, var(--paper) 40%, transparent);
  --paper-a70: color-mix(in srgb, var(--paper) 70%, transparent);
  --paper-a82: color-mix(in srgb, var(--paper) 82%, transparent);
  --blue-a08: color-mix(in srgb, var(--blue) 8%, transparent);
  --blue-a18: color-mix(in srgb, var(--blue) 18%, transparent);
  --blue-a35: color-mix(in srgb, var(--blue) 35%, transparent);
  --shadow-deep: 0 28px 56px -34px color-mix(in srgb, var(--ink) 42%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--blue);
  color: var(--ink);
  font-family: var(--raclavi-font-family);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--raclavi-tracking-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
section[id], main [id] { scroll-margin-top: calc(var(--nav-h) - 8px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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 {
  position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; border-radius: 999px;
  background: var(--paper); color: var(--blue); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--raclavi-duration) var(--ease);
}
.skip:focus { transform: none; }
html:not(.js) [data-js-only], html:not(.js) .seal, html:not(.js) .seal-toast, html:not(.js) .hero-stage, html:not(.js) .cartela, html:not(.js) .kicker raclavi-symbol, html:not(.js) .marquee, html:not(.js) .studio-toggle, html:not(.js) .studio-caption { display: none; }

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Ícones e símbolo ─── */
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-fill { fill: currentColor; stroke: none; }

raclavi-symbol { display: inline-block; line-height: 0; color: var(--blue); vertical-align: middle; }
raclavi-symbol svg { display: block; width: 100%; height: auto; overflow: visible; }
raclavi-symbol .rs-bar { fill: currentColor; transform-box: fill-box; transform-origin: 50% 100%; transition: opacity var(--slow) var(--ease); }
raclavi-symbol .rs-ring { fill: none; stroke: currentColor; stroke-width: 10; transition: opacity var(--slow) var(--ease); }
raclavi-symbol .rs-ring.is-ghost { opacity: 0.15; }
raclavi-symbol .rs-ring.is-dashed { stroke-dasharray: 3 4; animation: dashPulse 1.4s var(--ease-io) infinite; }
raclavi-symbol .rs-dot { fill: var(--amber); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity 0.3s var(--ease); }
raclavi-symbol .rs-dot.is-on { opacity: 1; }
raclavi-symbol .rs-ink { fill: currentColor; transform-box: fill-box; transform-origin: 50% 50%; pointer-events: none; }
@keyframes dashPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.wm { font-weight: 600; letter-spacing: -0.027em; white-space: nowrap; }
.wm-t { font-weight: 800; }

/* ─── Tipografia comum ─── */
.eyebrow {
  margin: 0 0 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--raclavi-tracking-caps);
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow-light { color: var(--paper-a82); }

/* ─── Botões ─── */
.btn {
  --bg: var(--blue);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--raclavi-radius-pill);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--raclavi-duration-fast) var(--ease), background-color var(--raclavi-duration-fast), color var(--raclavi-duration-fast), border-color var(--raclavi-duration-fast), box-shadow var(--raclavi-duration-fast);
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 3px solid var(--blue-a35); outline-offset: 3px; }
.btn[disabled] { opacity: 0.5; cursor: progress; transform: none; }
.btn-blue { --bg: var(--blue); --fg: var(--paper); box-shadow: 0 10px 24px -14px var(--blue); }
.btn-blue:hover { --bg: var(--blue-2); }
.btn-paper { --bg: var(--paper); --fg: var(--blue); }
.btn-paper:hover { --bg: var(--paper-2); }
.btn-ghost-light { --bg: transparent; --fg: var(--paper); border-color: var(--paper-a40); }
.btn-ghost-light:hover { --bg: var(--paper-a12); border-color: var(--paper); }
.btn-outline { --bg: transparent; --fg: var(--blue); border-color: var(--blue-a35); }
.btn-outline:hover { --bg: var(--blue-a08); border-color: var(--blue); }
.btn-amber { --bg: var(--amber); --fg: var(--ink); box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--ink) 60%, transparent); }
.btn-amber:hover { box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--ink) 70%, transparent); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 1.05rem; font-size: 0.9rem; }
.btn-lg { min-height: 60px; padding: 0 1.9rem; font-size: 1.06rem; }
.btn-block { width: 100%; }
.hero .btn:focus-visible, .tone-blue .btn:focus-visible { outline-color: var(--paper-a70); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--blue); text-decoration: none;
}
.link-arrow .i { width: 18px; height: 18px; transition: transform var(--raclavi-duration) var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow:focus-visible { outline: 3px solid var(--blue-a35); outline-offset: 4px; border-radius: 6px; }

/* ─── Navegação ─── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  color: var(--paper);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-solid {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 1.32rem; line-height: 1; }
.brand-mark { width: 46px; color: inherit; }
.nav.is-solid .brand-mark { color: var(--blue); }
.brand:focus-visible { outline: 3px solid var(--paper-a70); outline-offset: 6px; border-radius: 8px; }
.nav.is-solid .brand:focus-visible { outline-color: var(--blue-a35); }
.nav-links { display: none; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 0.95rem; font-weight: 500; text-decoration: none; opacity: 0.86; transition: opacity var(--raclavi-duration-fast); }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.btn-nav { --bg: var(--paper); --fg: var(--blue); margin-left: auto; }
.nav.is-solid .btn-nav { --bg: var(--blue); --fg: var(--paper); }
@media (min-width: 820px) {
  .nav-links { display: flex; }
  .btn-nav { margin-left: 0; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) 0 calc(var(--sheet-r) + clamp(36px, 7vh, 88px));
  color: var(--paper);
  background:
    radial-gradient(90% 70% at 88% 18%, color-mix(in srgb, var(--blue-2) 75%, transparent) 0%, transparent 62%),
    radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, var(--ink) 22%, transparent) 0%, transparent 70%),
    var(--blue);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), color-mix(in srgb, var(--paper) 5%, transparent) calc(25% - 1px) 25%);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: clamp(22px, 3.4vh, 40px);
  grid-template-areas: "eyebrow" "title" "stage" "foot" "cue";
}
.hero-eyebrow { grid-area: eyebrow; margin: 0; }
.hero-title {
  grid-area: title;
  margin: 0;
  font-size: clamp(2.2rem, 11.6vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: var(--raclavi-tracking-display);
}
.hero-line { display: block; }
.hero-line:first-child { color: color-mix(in srgb, var(--paper) 58%, transparent); }
.hero-line > span { display: inline-block; }
.hero-stage { grid-area: stage; position: relative; }
.hero-slot { width: min(100%, 760px); aspect-ratio: 210 / 90; margin-left: auto; }
.hero-static { width: 100%; color: var(--paper); }
.js:not(.reduced) .hero-static { visibility: hidden; }
.hero-caption {
  min-height: 1.5em;
  margin: 14px 0 0;
  text-align: right;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--paper-a82);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.hero-caption.is-on { opacity: 1; transform: none; }
.hero-foot { grid-area: foot; display: grid; gap: 24px; max-width: 34rem; }
.hero-lead { margin: 0; font-size: clamp(1.06rem, 1.45vw, 1.28rem); line-height: 1.55; color: var(--paper-a82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue {
  grid-area: cue;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--raclavi-tracking-caps);
  text-transform: uppercase;
  color: var(--paper-a70);
}
.scroll-cue i { position: relative; display: block; width: 64px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--paper-a20); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: var(--paper); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

.js:not(.reduced) .hero-line > span { animation: rise 1s var(--ease) both; }
.js:not(.reduced) .hero-line:first-child > span:nth-child(2) { animation-delay: 70ms; }
.js:not(.reduced) .hero-line:last-child > span:first-child { animation-delay: 140ms; }
.js:not(.reduced) .hero-line:last-child > span:nth-child(2) { animation-delay: 210ms; }
.js:not(.reduced) .hero-foot, .js:not(.reduced) .hero-eyebrow { animation: fadeUp 0.9s 0.25s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas: "eyebrow eyebrow" "title title" "foot stage" "cue cue";
    align-items: end;
    column-gap: clamp(32px, 4vw, 72px);
  }
  .hero-stage { padding-bottom: 6px; }
  .hero-caption { text-align: left; }
}

/* ─── Capítulos (folhas sobrepostas, como o ContentSheet do app) ─── */
.chapter { position: relative; padding: clamp(80px, 12vh, 150px) 0 clamp(88px, 13vh, 160px); }
.sheet, .chapter, .final, .faq, .footer {
  isolation: isolate;
  margin-top: calc(var(--sheet-r) * -1);
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
}
.tone-paper { background: var(--paper); color: var(--ink); }
.tone-paper2 { background: var(--paper-2); color: var(--ink); }
.tone-blue { background: var(--blue); color: var(--paper); }
.tone-paper::before, .tone-paper2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.07;
  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 .078 0 0 0 0 .094 0 0 0 0 .122 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ch-head { max-width: 60rem; margin-bottom: clamp(44px, 7vh, 80px); }
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--raclavi-tracking-caps);
  text-transform: uppercase;
  color: var(--blue);
}
.kicker raclavi-symbol { width: 46px; }
.kicker-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.tone-blue .kicker { color: var(--paper-a82); }
.tone-blue .kicker raclavi-symbol { color: var(--paper); }
.ch-title {
  margin: 0;
  font-size: clamp(2.5rem, 6.4vw, 5.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: var(--raclavi-tracking-display);
  text-wrap: balance;
}
.ch-title em { display: block; font-style: normal; color: var(--blue); }
.tone-blue .ch-title em { color: color-mix(in srgb, var(--paper) 58%, transparent); }
.ch-lead { margin: 24px 0 0; max-width: 42rem; font-size: clamp(1.05rem, 1.4vw, 1.24rem); line-height: 1.6; color: var(--ink-2); }
.tone-blue .ch-lead { color: var(--paper-a82); }
.ch-note { margin: 32px 0 0; font-size: 0.95rem; color: var(--paper-a70); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js.reduced .reveal { transform: none; transition: opacity 0.2s linear; }

/* ─── Visita 1 · balcão com dois celulares ─── */
.sim-label {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 30px; font-size: 0.9rem; color: var(--ink-2); text-align: center;
}
.sim-label span {
  padding: 4px 11px; border: 1px solid var(--blue-a35); border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; color: var(--blue);
}
.counter-stage {
  --mx: 0;
  --my: 0;
  display: grid;
  grid-template-columns: auto minmax(200px, 280px) auto;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.4vw, 56px);
  perspective: 1800px;
}
.counter-center { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.counter-status { margin: 0; min-height: 3em; font-size: 0.98rem; line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.counter-beam {
  position: relative; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-a18) 0 8px, transparent 8px 15px);
}
.counter-beam span {
  position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 5px var(--blue-a18); opacity: 0;
}
.is-running .counter-beam span { animation: beam 1.05s var(--ease-io) forwards; }
@keyframes beam { 0% { opacity: 0; left: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 12px); } }

.phone {
  --pw: 284px;
  --ry: 0deg;
  position: relative;
  width: var(--pw);
  height: calc(var(--pw) * 2.07);
  margin: 0;
  padding: 9px;
  border-radius: 50px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--paper) 14%, transparent), var(--raclavi-shadow-lg), var(--shadow-deep);
  transform: rotateY(calc(var(--ry) + var(--mx) * 12deg)) rotateX(calc(var(--my) * -9deg));
  transition: transform 0.6s var(--ease), opacity 0.5s var(--ease), filter 0.5s var(--ease);
}
.phone-client { --ry: 9deg; }
.phone-merchant { --ry: -9deg; }
.phone-screen {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 41px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.phone-screen::before {
  content: ""; position: absolute; z-index: 9; top: 9px; left: 50%; width: 88px; height: 25px;
  border-radius: 999px; background: var(--ink); transform: translateX(-50%);
}
.ph-status { flex: none; display: flex; align-items: center; height: 46px; padding: 0 30px; background: var(--blue); color: var(--paper); font-size: 12.5px; font-weight: 600; }
.ph-head { flex: none; padding: 2px 18px 36px; background: var(--blue); color: var(--paper); }
.ph-brand { margin: 0 0 14px; font-size: 13px; opacity: 0.94; }
.ph-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-brand-row > span:last-child { font-size: 10.5px; font-weight: 500; opacity: 0.8; }
.ph-eyebrow { margin: 0; font-size: 11px; color: var(--paper-a82); }
.ph-title { margin: 2px 0 0; font-size: 27px; font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; }
.ph-sheet {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px;
  margin-top: -22px; padding: 14px 12px 92px; border-radius: 22px 22px 0 0; background: var(--paper-2);
}
.ph-card {
  position: relative;
  padding: 13px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--raclavi-shadow-sm);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.ph-card-top { display: flex; align-items: center; gap: 10px; }
.ph-avatar {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px;
  background: var(--blue); color: var(--paper); font-size: 15px; font-weight: 700;
}
.ph-avatar.is-soft { background: color-mix(in srgb, var(--blue) 13%, var(--paper)); color: var(--blue); }
.ph-name { margin: 0; font-size: 13.5px; font-weight: 700; }
.ph-sub { margin: 1px 0 0; font-size: 11px; color: var(--ink-2); }
.ph-progress { width: 132px; margin: 14px 0 9px; color: var(--blue); }
.ph-progress.is-small { width: 86px; margin: 10px 0 2px; }
.ph-count { margin: 0; font-size: 12px; color: var(--ink-2); }
.ph-count strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.ph-prize { margin: 3px 0 0; font-size: 11.5px; color: var(--ink-2); }
.ph-sub.is-flash { color: var(--blue); font-weight: 700; animation: subIn 0.4s var(--ease); }
.ph-card-live.is-complete .ph-sub.is-flash { color: var(--paper); }
@keyframes subIn { from { opacity: 0; transform: translateY(3px); } }
.ph-card-live.is-bumped { transform: scale(1.03); box-shadow: var(--raclavi-shadow-lg); }
.ph-card-live.is-complete { background: var(--blue); color: var(--paper); border-color: transparent; }
.ph-card-live.is-complete .ph-sub,
.ph-card-live.is-complete .ph-count,
.ph-card-live.is-complete .ph-prize { color: var(--paper-a82); }
.ph-card-live.is-complete .ph-count strong { color: var(--paper); }
.ph-card-live.is-complete .ph-progress { color: var(--paper); }
.ph-card-live.is-complete .ph-avatar { background: var(--paper); color: var(--blue); }
.ph-card-live.is-complete .ph-prize { font-weight: 700; color: var(--paper); }
.ph-card-muted { opacity: 0.72; }
.ph-tabs {
  position: absolute; z-index: 3; left: 10px; right: 10px; bottom: 12px;
  display: flex; justify-content: space-around; padding: 8px 4px;
  border: 1px solid var(--rule); border-radius: 20px; background: var(--paper); box-shadow: var(--raclavi-shadow-md);
}
.ph-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; font-size: 8.5px; font-weight: 500; color: var(--ink-2); }
.ph-tab .i { width: 17px; height: 17px; stroke-width: 1.9; }
.ph-tab.is-active { color: var(--blue); font-weight: 700; }

.ph-scan-card {
  display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 18px;
  background: var(--blue); color: var(--paper); box-shadow: var(--raclavi-shadow-md);
}
.ph-scan-card .i { width: 30px; height: 30px; stroke-width: 1.8; }
.ph-scan-title { margin: 0; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.ph-scan-sub { margin: 3px 0 0; font-size: 11px; color: var(--paper-a82); }
.ph-today { padding: 14px; border-radius: 18px; background: var(--blue); color: var(--paper); }
.ph-today-k { margin: 0 0 9px; font-size: 9.5px; font-weight: 700; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; color: var(--paper-a70); }
.ph-today-row { display: flex; gap: 20px; }
.ph-today-row p { display: flex; flex-direction: column; margin: 0; }
.ph-today-row strong { font-size: 27px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ph-today-row span { margin-top: 3px; font-size: 10px; color: var(--paper-a82); }
.ph-today-row strong.is-ticked { animation: tick 0.6s var(--ease); }
@keyframes tick { 0% { transform: translateY(40%); opacity: 0; } 100% { transform: none; opacity: 1; } }

.ph-activity { padding: 4px 4px 0; }
.ph-activity-k { margin: 2px 0 6px; font-size: 9.5px; font-weight: 700; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; color: var(--ink-2); }
.ph-activity-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ph-activity-list li { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--rule); border-radius: 13px; background: var(--paper); }
.ph-activity-list li.is-new { animation: rowIn 0.55s var(--ease) both; border-color: var(--blue-a35); }
.ph-activity-list .ph-avatar { width: 24px; height: 24px; border-radius: 8px; font-size: 11px; }
.ph-activity-list div { flex: 1; min-width: 0; }
.ph-act-name { margin: 0; font-size: 11px; font-weight: 700; }
.ph-act-what { margin: 0; overflow: hidden; font-size: 9.5px; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.ph-act-time { font-size: 9.5px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); } }

.ph-scanner {
  position: absolute; z-index: 6; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--ink); color: var(--paper);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.phone.is-scanning .ph-scanner { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease); }
.ph-scanner-hint { margin: 0; font-size: 13px; font-weight: 600; }
.ph-scanner-alt { margin: 0; font-size: 11px; color: color-mix(in srgb, var(--paper) 60%, transparent); }
.scan-frame {
  --c: var(--paper);
  --l: 30px;
  --t: 3px;
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  background:
    linear-gradient(var(--c) 0 0) 0 0 / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) 0 0 / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) 0 100% / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) 0 100% / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--t) var(--l);
  background-repeat: no-repeat;
}
.scan-qr {
  width: 112px; height: 112px; padding: 8px; border-radius: 10px; background: #FFFFFF;
  opacity: 0; transform: translateY(72px) scale(0.85) rotate(-7deg);
}
.phone.is-scanning .scan-qr { animation: qrIn 0.6s 0.1s var(--ease) forwards; }
@keyframes qrIn { to { opacity: 1; transform: none; } }
.scan-line {
  position: absolute; left: 14px; right: 14px; top: 18px; height: 2px; border-radius: 2px;
  background: var(--paper); box-shadow: 0 0 14px color-mix(in srgb, var(--paper) 70%, transparent); opacity: 0;
}
.phone.is-scanning .scan-line { animation: scan 0.85s 0.55s var(--ease-io) forwards; }
@keyframes scan { 0% { opacity: 0; top: 18px; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: calc(100% - 20px); } }
.ph-success {
  position: absolute; z-index: 7; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px; text-align: center; background: color-mix(in srgb, var(--paper-2) 95%, transparent);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.phone.is-success .ph-success { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease); }
.ph-success-icon {
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  background: var(--green); color: var(--paper); transform: scale(0.4);
}
.phone.is-success .ph-success-icon { animation: pop 0.55s var(--ease) forwards; }
.ph-success-icon .i { width: 34px; height: 34px; stroke-width: 2.6; }
.ph-success-title { margin: 8px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.ph-success-sub { margin: 0; font-size: 12px; color: var(--ink-2); }
@keyframes pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

.facts {
  display: grid; gap: 14px; margin: clamp(48px, 8vh, 88px) 0 0; padding: 0; list-style: none;
}
.facts li { padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--raclavi-radius-xl); background: color-mix(in srgb, var(--paper-2) 60%, transparent); font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.facts strong { display: block; margin-bottom: 4px; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); }
@media (min-width: 820px) { .facts { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 939px) {
  .counter-stage {
    grid-template-columns: min(100%, 440px);
    grid-template-areas: "deck" "center";
    row-gap: 28px;
    perspective: none;
  }
  .phone { --pw: min(258px, 72vw); grid-area: deck; transform: none; }
  .phone-client { justify-self: start; }
  .phone-merchant { justify-self: end; margin-top: 44px; }
  .phone.is-front { z-index: 2; }
  .phone:not(.is-front) { z-index: 1; transform: scale(0.92); filter: saturate(0.85) brightness(0.96); }
  .counter-center { grid-area: center; }
  .counter-beam { display: none; }
}

/* ─── Visita 2 · a cartela ─── */
.cartela { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 1000px) { .cartela { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.cartela-card {
  position: relative;
  padding: clamp(26px, 4.5vw, 56px);
  border-radius: 30px;
  background: var(--paper);
  color: var(--blue);
  box-shadow: var(--shadow-deep), 0 0 0 1.5px transparent;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.cartela-card::before, .cartela-card::after {
  content: ""; position: absolute; top: 50%; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); transform: translateY(-50%);
}
.cartela-card::before { left: -15px; clip-path: inset(0 0 0 50%); }
.cartela-card::after { right: -15px; clip-path: inset(0 50% 0 0); }
.cartela-card.is-complete { background: var(--blue); color: var(--paper); box-shadow: var(--shadow-deep), inset 0 0 0 1.5px var(--paper-a40); }
.cartela-card.is-complete::before, .cartela-card.is-complete::after { box-shadow: inset 0 0 0 1.5px var(--paper-a40); }
.cartela-k {
  display: flex; justify-content: space-between; gap: 12px; margin: 0 0 clamp(20px, 3.4vw, 36px);
  font-size: 0.75rem; font-weight: 700; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; opacity: 0.72;
}
.cartela-symbol { width: 100%; color: currentColor; }
.cartela-caption { margin: clamp(20px, 3.4vw, 32px) 0 0; font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.1; letter-spacing: var(--raclavi-tracking-display); }
.cartela-steps { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) and (max-width: 999px) { .cartela-steps { grid-template-columns: 1fr 1fr; } }
.cartela-steps button {
  display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 12px; align-items: center;
  width: 100%; min-height: 64px; padding: 12px 14px; border: 1px solid transparent; border-radius: 18px;
  background: transparent; color: var(--paper-a70); font: inherit; text-align: left; cursor: pointer;
  transition: background-color var(--raclavi-duration) var(--ease), color var(--raclavi-duration) var(--ease), border-color var(--raclavi-duration) var(--ease);
}
.cartela-steps button:hover { background: color-mix(in srgb, var(--paper) 7%, transparent); color: var(--paper); }
.cartela-steps button[aria-pressed="true"] { background: var(--paper-a12); border-color: var(--paper-a20); color: var(--paper); }
.cartela-steps button:focus-visible { outline: 3px solid var(--paper-a70); outline-offset: 2px; }
.step-n { grid-row: 1 / 3; font-size: 1.7rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.step-t { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.step-d { font-size: 0.9rem; opacity: 0.82; }

/* ─── Visita 3 · Avaliar ─── */
.review { display: grid; gap: clamp(26px, 3vw, 44px); align-items: start; }
@media (min-width: 980px) {
  .review { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .review-side:first-child { position: sticky; top: calc(var(--nav-h) + 24px); }
}
.side-k { margin: 0 0 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; color: var(--blue); }
.rv-card, .inbox {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--rule);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--raclavi-shadow-md);
}
.rv-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.rv-top .ph-avatar { width: 46px; height: 46px; border-radius: 15px; font-size: 20px; }
.rv-name { margin: 0; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.rv-sub { margin: 2px 0 0; font-size: 0.86rem; color: var(--ink-2); }
.rv-form { display: grid; }
.rv-stars { min-width: 0; margin: 0; padding: 0; border: 0; }
.rv-stars legend { margin-bottom: 14px; padding: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; }
.rv-star-row { display: flex; gap: 4px; }
.rv-star-row label {
  position: relative; display: grid; place-items: center; width: clamp(46px, 7vw, 58px); aspect-ratio: 1;
  border-radius: 14px; color: var(--blue-a18); cursor: pointer;
  transition: color var(--raclavi-duration-fast) var(--ease), transform var(--raclavi-duration-fast) var(--ease);
}
.rv-star-row label .i { width: 82%; height: 82%; }
.rv-star-row input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.rv-star-row label.is-lit { color: var(--blue); }
.rv-star-row label:active { transform: scale(0.9); }
.rv-star-row label:has(input:focus-visible) { outline: 3px solid var(--blue-a35); outline-offset: 1px; }
.rv-field { display: grid; gap: 8px; margin: 24px 0 18px; font-size: 0.92rem; color: var(--ink-2); }
.rv-field textarea, .rv-editor textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; resize: vertical;
  border: 1.5px solid transparent; border-radius: var(--raclavi-radius-lg);
  background: var(--paper-2); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.45;
}
.rv-field textarea:focus, .rv-editor textarea:focus { outline: none; border-color: var(--blue); }
.rv-fine { margin: 12px 0 0; font-size: 0.82rem; color: var(--ink-2); text-align: center; }
.rv-check { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--paper); }
.rv-done:not([hidden]) .rv-check { animation: pop 0.55s var(--ease); }
.rv-check .i { width: 30px; height: 30px; stroke-width: 2.6; }
.rv-done-title { margin: 16px 0 6px; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; }
.rv-done-title:focus { outline: none; }
.rv-done-text { margin: 0 0 22px; font-size: 1.06rem; line-height: 1.55; color: var(--ink-2); }
.rv-actions { display: grid; gap: 10px; }
@media (min-width: 520px) { .rv-actions { grid-template-columns: 1fr 1fr; } }
.rv-hint { min-height: 1.45em; margin: 14px 0 0; font-size: 0.88rem; line-height: 1.45; color: var(--ink-2); }
.link-btn {
  margin-top: 6px; padding: 8px 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.link-btn:focus-visible { outline: 3px solid var(--blue-a35); outline-offset: 2px; border-radius: 6px; }

.inbox-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 14px; margin-bottom: 18px; }
.inbox-title { margin: 0; font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; }
.inbox-avg { grid-row: 1 / 3; grid-column: 2; display: flex; align-items: baseline; gap: 4px; margin: 0; }
.inbox-avg strong { font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.inbox-avg span { font-weight: 600; color: var(--ink-2); }
.inbox-meta { margin: 0; font-size: 0.84rem; color: var(--ink-2); }
.inbox-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 0.8rem; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips button {
  min-height: 40px; padding: 0 15px; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper-2); color: var(--ink); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: background-color var(--raclavi-duration-fast), color var(--raclavi-duration-fast);
}
.chips button:hover { background: var(--paper-3); }
.chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chips button:focus-visible { outline: 3px solid var(--blue-a35); outline-offset: 2px; }
.inbox-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rv-item { padding: 15px 16px; border: 1px solid transparent; border-radius: 20px; background: var(--paper-2); }
.rv-item.is-new { border-color: var(--blue-a35); background: color-mix(in srgb, var(--blue) 5%, var(--paper-2)); }
.rv-item.is-entering { animation: itemIn 0.6s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }
.rv-item-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rv-item-stars { display: flex; gap: 2px; color: var(--blue); }
.rv-item-stars .i { width: 15px; height: 15px; }
.rv-item-stars .is-off { color: var(--blue-a18); }
.rv-meta { font-size: 0.8rem; color: var(--ink-2); }
.tag {
  padding: 2px 8px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.tag-qr { border-color: var(--blue-a35); color: var(--blue); }
.status { padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.status-pend { border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); background: var(--paper); color: var(--ink); }
.status-ok { background: var(--green); color: var(--paper); }
.rv-comment { margin: 9px 0 0; font-size: 0.96rem; line-height: 1.45; color: var(--ink); }
.rv-comment.is-empty { font-style: italic; color: var(--ink-2); }
.rv-note { margin: 10px 0 0; padding: 10px 12px; border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 12px; background: var(--paper); font-size: 0.88rem; line-height: 1.45; }
.rv-note b { display: block; margin-bottom: 2px; font-size: 0.66rem; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; color: var(--ink-2); }
.rv-item-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mini-btn {
  min-height: 38px; padding: 0 14px; border: 1.5px solid var(--blue-a35); border-radius: 999px;
  background: transparent; color: var(--blue); font: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer;
  transition: background-color var(--raclavi-duration-fast), border-color var(--raclavi-duration-fast);
}
.mini-btn:hover { border-color: var(--blue); background: var(--blue-a08); }
.mini-btn.is-primary { border-color: var(--blue); background: var(--blue); color: var(--paper); }
.mini-btn.is-primary:hover { background: var(--blue-2); }
.mini-btn:focus-visible { outline: 3px solid var(--blue-a35); outline-offset: 2px; }
.rv-editor { display: grid; gap: 8px; margin-top: 12px; }
.rv-editor label { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.rv-editor small { font-size: 0.8rem; color: var(--ink-2); }
.inbox-empty { padding: 20px; border-radius: 18px; background: var(--paper-2); font-size: 0.94rem; color: var(--ink-2); text-align: center; }
.inbox-foot { margin: 16px 0 0; font-size: 0.84rem; line-height: 1.45; color: var(--ink-2); }

/* ─── Visita 4 · para quem + Studio ─── */
.marquee { position: relative; z-index: 1; display: grid; gap: clamp(6px, 1vw, 14px); margin: 0 0 clamp(64px, 10vh, 120px); color: var(--blue); }
.marquee-row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track {
  display: flex; flex: none; align-items: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px);
  animation: marquee 56s linear infinite;
}
.marquee-row.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 64s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { font-size: clamp(2.8rem, 8.4vw, 7.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; white-space: nowrap; }
.marquee-row.is-reverse .mq-item { color: transparent; -webkit-text-stroke: 1.6px var(--blue); }
.mq-sep { width: clamp(56px, 7.5vw, 104px); color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

.studio {
  display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; overflow: hidden;
  padding: clamp(30px, 5vw, 68px); border-radius: 34px; background: var(--blue); color: var(--paper);
}
@media (min-width: 960px) { .studio { grid-template-columns: 1fr 1fr; } }
.studio-title { margin: 0 0 16px; font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 700; line-height: 0.98; letter-spacing: var(--raclavi-tracking-display); }
.studio-copy p:not(.eyebrow) { max-width: 30rem; margin: 0 0 28px; font-size: 1.06rem; line-height: 1.6; color: var(--paper-a82); }
.studio-demo { display: grid; justify-items: center; gap: 16px; }
.studio-browser {
  container-type: inline-size;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 34px 70px -30px color-mix(in srgb, var(--ink) 65%, transparent);
  transform: rotate(-2deg);
  transition: width 0.75s var(--ease-io), border-radius 0.75s var(--ease-io), transform 0.75s var(--ease-io);
}
.studio-demo.is-mobile .studio-browser { width: min(100%, 250px); border-radius: 30px; transform: rotate(0deg); }
.sb-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.sb-bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--paper-3); }
.sb-bar span { overflow: hidden; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--paper); font-size: 0.76rem; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.sb-page { display: grid; gap: 14px; padding: 14px 16px 16px; }
.sb-nav { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; }
.sb-logo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--blue); color: var(--paper); font-size: 0.72rem; font-weight: 700; }
.sb-nav b { font-weight: 700; letter-spacing: -0.01em; }
.sb-links { display: flex; gap: 14px; margin-left: auto; }
.sb-links i { font-style: normal; font-size: 0.74rem; color: var(--ink-2); }
.sb-burger { display: none; flex-direction: column; gap: 4px; margin-left: auto; }
.sb-burger i { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); }
.sb-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: stretch; gap: 12px; padding: 16px; border-radius: 14px; background: var(--blue); color: var(--paper); }
.sb-kicker { margin: 0 0 6px; font-size: 0.6rem; font-weight: 700; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; color: var(--paper-a70); }
.sb-title { margin: 0; font-size: 1.55rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.sb-sub { margin: 8px 0 12px; font-size: 0.72rem; line-height: 1.4; color: var(--paper-a82); }
.sb-cta { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--blue); font-size: 0.7rem; font-weight: 700; }
.sb-photo {
  min-height: 96px; border-radius: 10px;
  background:
    radial-gradient(circle at 50% 46%, var(--paper) 0 17%, transparent 18%),
    radial-gradient(circle at 50% 46%, var(--paper-3) 0 26%, transparent 27%),
    linear-gradient(160deg, var(--blue-2), color-mix(in srgb, var(--ink) 40%, var(--blue)));
}
.sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sb-item { display: grid; gap: 6px; }
.sb-item b { font-size: 0.7rem; font-weight: 700; }
.sb-img { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(150deg, var(--paper-3), var(--paper-2)); }
.sb-item:nth-child(2) .sb-img { background: linear-gradient(150deg, color-mix(in srgb, var(--blue) 25%, var(--paper-2)), var(--paper-2)); }
.sb-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 0.7rem; color: var(--ink-2); }
.sb-pill { padding: 5px 11px; border-radius: 999px; background: var(--blue); color: var(--paper); font-size: 0.66rem; font-weight: 700; white-space: nowrap; }
@container (max-width: 330px) {
  .sb-links { display: none; }
  .sb-burger { display: flex; }
  .sb-hero { grid-template-columns: 1fr; }
  .sb-photo { order: -1; min-height: 84px; }
  .sb-title { font-size: 1.35rem; }
  .sb-grid { grid-template-columns: 1fr 1fr; }
  .sb-item:nth-child(3) { display: none; }
  .sb-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .sb-pill { padding: 8px 11px; text-align: center; }
}
.studio-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-a12); box-shadow: inset 0 0 0 1px var(--paper-a20); }
.studio-toggle button {
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--paper-a82); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: background-color var(--raclavi-duration) var(--ease), color var(--raclavi-duration) var(--ease);
}
.studio-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--blue); }
.studio-toggle button:focus-visible { outline: 3px solid var(--paper-a70); outline-offset: 2px; }
.studio-caption { margin: 0; font-size: 0.82rem; color: var(--paper-a70); text-align: center; }
.js:not(.reduced) .studio .sb-hero, .js:not(.reduced) .studio .sb-item, .js:not(.reduced) .studio .sb-foot, .js:not(.reduced) .studio .sb-nav { opacity: 0; transform: translateY(10px); }
.js:not(.reduced) .studio.in .sb-nav, .js:not(.reduced) .studio.in .sb-hero, .js:not(.reduced) .studio.in .sb-item, .js:not(.reduced) .studio.in .sb-foot { animation: build 0.7s var(--ease) forwards; }
.js:not(.reduced) .studio.in .sb-hero { animation-delay: 0.15s; }
.js:not(.reduced) .studio.in .sb-item:nth-child(1) { animation-delay: 0.35s; }
.js:not(.reduced) .studio.in .sb-item:nth-child(2) { animation-delay: 0.45s; }
.js:not(.reduced) .studio.in .sb-item:nth-child(3) { animation-delay: 0.55s; }
.js:not(.reduced) .studio.in .sb-foot { animation-delay: 0.7s; }
@keyframes build { to { opacity: 1; transform: none; } }

/* ─── Visita 5 · plano ─── */
.plan { display: grid; justify-items: center; gap: 26px; }
.plan-pick {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-width: 0; margin: 0; padding: 5px;
  border: 0; border-radius: 30px; background: var(--paper-a12); box-shadow: inset 0 0 0 1px var(--paper-a20);
}
.plan-pick label { position: relative; }
.plan-pick input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.plan-pick span { display: block; padding: 12px 20px; border-radius: 999px; font-size: 0.96rem; font-weight: 600; color: var(--paper-a82); transition: background-color var(--raclavi-duration) var(--ease), color var(--raclavi-duration) var(--ease); }
.plan-pick input:checked + span { background: var(--paper); color: var(--blue); }
.plan-pick input:focus-visible + span { outline: 3px solid var(--paper-a70); outline-offset: 2px; }
.price-card {
  display: grid; gap: clamp(22px, 3vw, 34px); width: min(100%, 1000px);
  padding: clamp(26px, 4.6vw, 60px); border-radius: 34px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-deep);
}
@media (min-width: 860px) {
  .price-card { grid-template-columns: 1fr 1fr; }
  .price-list, .price-cta, .price-fine { grid-column: 1 / -1; }
}
.price-k { margin: 0 0 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; color: var(--ink-2); }
.price-big { margin: 0; font-size: clamp(3.6rem, 9vw, 6.6rem); font-weight: 700; line-height: 0.9; letter-spacing: var(--raclavi-tracking-display); color: var(--blue); }
.price-sub { margin: 8px 0 0; font-weight: 600; color: var(--ink-2); }
.price-later { padding-top: 22px; border-top: 1px solid var(--rule); }
@media (min-width: 860px) { .price-later { padding: 0 0 0 clamp(22px, 3vw, 44px); border-top: 0; border-left: 1px solid var(--rule); } }
.price-val { display: flex; align-items: baseline; gap: 6px; margin: 0; font-weight: 700; perspective: 500px; }
.price-val .cur { font-size: 1.4rem; }
.price-val .num { display: inline-block; font-size: clamp(2.7rem, 6vw, 4.3rem); line-height: 1; letter-spacing: var(--raclavi-tracking-display); font-variant-numeric: tabular-nums; }
.price-val .per { font-size: 1.1rem; font-weight: 600; color: var(--ink-2); }
.price-val.is-flip .num { animation: flip 0.55s var(--ease-io); }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); opacity: 0.2; } 100% { transform: rotateX(0); } }
.price-line { margin: 14px 0 2px; font-size: 1.06rem; font-weight: 700; color: var(--blue); }
.price-note { margin: 0; font-size: 0.94rem; color: var(--ink-2); }
.price-list { display: grid; gap: 12px; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--rule); list-style: none; }
@media (min-width: 700px) { .price-list { grid-template-columns: 1fr 1fr; } }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; line-height: 1.45; }
.price-list .i { width: 22px; height: 22px; margin-top: 1px; color: var(--blue); stroke-width: 2.4; }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.price-fine { margin: 0; font-size: 0.84rem; line-height: 1.55; color: var(--ink-2); }

/* ─── Dúvidas ─── */
.faq { position: relative; padding: clamp(80px, 11vh, 140px) 0 clamp(88px, 13vh, 150px); }
.faq-grid { display: grid; gap: 34px; }
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .faq-grid > header { position: sticky; top: calc(var(--nav-h) + 40px); }
}
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: grid; grid-template-columns: 2.8rem 1fr 26px; align-items: center; gap: 12px;
  padding: 24px 0; list-style: none; cursor: pointer;
  font-size: clamp(1.06rem, 1.8vw, 1.32rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 3px solid var(--blue-a35); outline-offset: 4px; border-radius: 8px; }
.faq-n { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--blue); }
.faq-list summary i { position: relative; width: 26px; height: 26px; }
.faq-list summary i::before, .faq-list summary i::after {
  content: ""; position: absolute; top: 12px; left: 5px; right: 5px; height: 2px; border-radius: 2px;
  background: var(--blue); transition: transform var(--raclavi-duration) var(--ease);
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list p { max-width: 42rem; margin: 0 0 24px 3.55rem; font-size: 1.02rem; line-height: 1.65; color: var(--ink-2); }

/* ─── Volte sempre ─── */
.final { position: relative; padding: clamp(88px, 13vh, 160px) 0 calc(var(--sheet-r) + clamp(72px, 11vh, 130px)); }
.final-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .final-grid { grid-template-columns: 1fr auto; } }
.final-symbol { width: clamp(160px, 22vw, 270px); margin-bottom: 28px; color: var(--paper); }
.final-title { margin: 0; font-size: clamp(3.6rem, 11.5vw, 10rem); font-weight: 700; line-height: 0.9; letter-spacing: var(--raclavi-tracking-display); }
.final-text { max-width: 36rem; margin: 24px 0 32px; font-size: clamp(1.06rem, 1.5vw, 1.26rem); line-height: 1.6; color: var(--paper-a82); }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.final-qr { display: none; flex-direction: column; align-items: center; gap: 14px; max-width: 220px; margin: 0; text-align: center; }
@media (min-width: 960px) and (hover: hover) { .final-qr { display: flex; } }
.final-qr img { width: 172px; height: 172px; padding: 14px; border-radius: 24px; background: #FFFFFF; }
.final-qr figcaption { font-size: 0.86rem; line-height: 1.45; color: var(--paper-a70); }

/* ─── Rodapé ─── */
.footer { position: relative; z-index: 1; padding: 72px 0 32px; background: var(--paper-2); color: var(--ink); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.brand-lg { font-size: 1.75rem; color: var(--ink); }
.brand-lg .brand-mark { width: 62px; color: var(--blue); }
.brand-lg:focus-visible { outline-color: var(--blue-a35); }
.footer-brand p { max-width: 19rem; margin: 14px 0 0; color: var(--ink-2); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-k { margin: 0 0 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: var(--raclavi-tracking-caps); text-transform: uppercase; color: var(--ink-2); }
.footer-col a { font-weight: 500; text-decoration: none; }
.footer-col a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.footer-col a:focus-visible { outline: 3px solid var(--blue-a35); outline-offset: 3px; border-radius: 6px; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 52px; padding-top: 22px; font-size: 0.84rem; color: var(--ink-2);
}
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule); }
.footer-base p { margin: 0; }

/* ─── Selo: a cartela deste site ─── */
.seal {
  --p: 1;
  --p-bg: 1;
  position: fixed;
  z-index: 40;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.seal.is-docked { pointer-events: auto; }
.seal.is-away, .seal.is-typing, .seal.is-away-top, .seal.is-yield { opacity: 0; pointer-events: none; }
.seal-bg {
  position: absolute; inset: 0; border-radius: inherit;
  background: var(--paper); box-shadow: var(--raclavi-shadow-lg), 0 0 0 1px var(--rule);
  opacity: var(--p-bg); transition: background-color 0.5s var(--ease);
}
.seal-slot { position: relative; display: block; width: 62px; aspect-ratio: 210 / 90; }
.seal-label { position: relative; font-size: 0.92rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: var(--p-bg); }
.seal-symbol {
  --big-w: 600px;
  position: fixed;
  top: 0;
  left: 0;
  width: var(--big-w);
  transform-origin: 0 0;
  pointer-events: none;
  color: color-mix(in srgb, var(--blue) calc(var(--p) * 100%), var(--paper));
  transition: opacity 0.3s var(--ease);
}
.seal-symbol.is-fading { opacity: 0; }
.seal.is-complete { color: var(--paper); }
.seal.is-complete .seal-bg { background: var(--blue); }
.seal.is-complete .seal-symbol { color: var(--paper); }
.seal.is-bump .seal-bg { animation: bump 0.55s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.seal:focus-visible { outline: none; }
.seal:focus-visible .seal-bg { box-shadow: var(--raclavi-shadow-lg), 0 0 0 3px var(--blue-a35); }
.seal-toast {
  position: fixed; z-index: 39;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 64px);
  max-width: min(330px, calc(100vw - 32px));
  margin: 0; padding: 12px 16px; border-radius: 16px;
  background: var(--ink); color: var(--paper); box-shadow: var(--raclavi-shadow-lg);
  font-size: 0.92rem; font-weight: 600; line-height: 1.4;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.seal-toast.is-on { opacity: 1; transform: none; }
.seal-toast:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none !important; }
  .phone { transform: none !important; }
}

/* ─── 404 ─── */
.nf { display: flex; align-items: center; }
.nf-grid { display: grid; gap: 22px; justify-items: start; }
.nf-symbol { width: min(100%, 380px); margin-bottom: 12px; color: var(--paper); }
.nf-title { max-width: 14ch; margin: 0; font-size: clamp(2.4rem, 7vw, 5.4rem); font-weight: 700; line-height: 0.96; letter-spacing: var(--raclavi-tracking-display); }
