/* ============================================================
   Blips UI — Color tokens
   shadcn/ui neutral (cold oklch, chroma 0) palette + the single
   Blips brand accent: yellow #fcba28 (--primary). Values are
   literal from packages/ui/src/globals.css — do not invent.

   Roles:
   - primary  → the ONLY brand accent. CTA / selected / brand focus.
                Target ~5–10% of pixels. Identical in light & dark.
   - semantic → success / warning / destructive / info — STATE meaning
                only, never decoration.
   - neutrals → background / card / muted / border build all structure.
   ============================================================ */

/* ----- Light theme (default) ----- */
:root {
  --radius: 0.625rem; /* 10px — single generous radius */

  --background: oklch(1 0 0);
  --foreground: oklch(0% 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0% 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0% 0 0);

  /* Amarelo Blips — único token de marca */
  --primary: #fcba28;
  --primary-foreground: #000000;

  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);

  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.97 0.01 17);
  --warning: oklch(0.828 0.189 84.429);
  --warning-foreground: oklch(0.205 0 0);
  --success: oklch(0.62 0.13 155);
  --success-foreground: oklch(0.985 0 0);
  --info: oklch(0.546 0.215 262.881);
  --info-foreground: oklch(0.985 0 0);

  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);

  /* Categorical chart palette — out of brand, for data series only */
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);

  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0% 0 0);
  --sidebar-primary: #fcba28;
  --sidebar-primary-foreground: #000000;
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);

  --surface: oklch(0.98 0 0);
  --surface-foreground: var(--foreground);
  --code: var(--surface);
  --code-foreground: var(--surface-foreground);
  --code-highlight: oklch(0.96 0 0);
  --code-number: oklch(0.56 0 0);
  --selection: oklch(0% 0 0);
  --selection-foreground: oklch(1 0 0);
}

/* ----- Dark theme — borders carry elevation, not shadows ----- */
.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);

  --primary: #fcba28;
  --primary-foreground: #000000;

  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.371 0 0);
  --accent-foreground: oklch(0.985 0 0);

  --destructive: oklch(0.704 0.191 22.216);
  --destructive-foreground: oklch(0.58 0.22 27);
  --warning: oklch(0.828 0.189 84.429);
  --warning-foreground: oklch(0.205 0 0);
  --success: oklch(0.7 0.14 155);
  --success-foreground: oklch(0.205 0 0);
  --info: oklch(0.707 0.165 254.624);
  --info-foreground: oklch(0.205 0 0);

  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.556 0 0);

  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);

  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: #fcba28;
  --sidebar-primary-foreground: #000000;
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.439 0 0);

  --surface: oklch(0.2 0 0);
  --surface-foreground: oklch(0.708 0 0);
  --code: var(--surface);
  --code-foreground: var(--surface-foreground);
  --code-highlight: oklch(0.27 0 0);
  --code-number: oklch(0.72 0 0);
  --selection: oklch(0.922 0 0);
  --selection-foreground: oklch(0.205 0 0);
}

/* ============================================================
   Blips UI — Typography tokens
   Two reading voices, one function family.
   - --font-sans    Inter      → UI, body, headings (font-heading is an alias)
   - --font-display Quicksand  → the single "announce" voice (display/marketing)
   - --font-mono    JetBrains  → data: money, IDs, tabular numbers (tabular-nums)
   Hierarchy comes from WEIGHT (600 titles / 400–500 body), not big size jumps.
   ============================================================ */

:root {
  --font-sans:
    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  --font-heading: var(--font-sans); /* alias of Inter — NOT Quicksand */
  --font-display: "Quicksand", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Weights */
  --font-weight-body: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Type scale (rem) — hierarchy via weight more than size */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */

  /* Tracking — titles tighten, body normal */
  --tracking-tight: -0.02em;
  --tracking-normal: 0em;

  /* Line-height */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
}

/* ============================================================
   Blips UI — Spacing, radius & elevation tokens
   - 4px spacing grid (multiples of 4 only — never 13/18/25px).
   - Single generous radius (--radius 10px) with derived scale.
   - Depth by BORDER first; shadow is the exception. In dark mode,
     borders beat shadows.
   ============================================================ */

:root {
  /* Radius scale derived from --radius (0.625rem = 10px) */
  --radius-sm: calc(var(--radius) - 4px); /* 6px  */
  --radius-md: calc(var(--radius) - 2px); /* 8px  */
  --radius-lg: var(--radius); /* 10px */
  --radius-xl: calc(var(--radius) + 4px); /* 14px */
  --radius-2xl: calc(var(--radius) + 8px); /* 18px */

  /* 4px spacing grid */
  --space-1: 0.25rem; /* 4   micro */
  --space-2: 0.5rem; /* 8   internal */
  --space-3: 0.75rem; /* 12  related */
  --space-4: 1rem; /* 16  section */
  --space-5: 1.25rem; /* 20 */
  --space-6: 1.5rem; /* 24  between sections */
  --space-8: 2rem; /* 32  larger separation */
  --space-10: 2.5rem; /* 40 */
  --space-12: 3rem; /* 48 */
  --space-16: 4rem; /* 64 */

  /* Subtle, minimal shadow scale — overlays only, never decorative.
     In dark mode prefer borders over shadows. */
  --shadow-xs: 0 1px 2px 0 oklch(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 oklch(0 0 0 / 0.08), 0 1px 2px -1px oklch(0 0 0 / 0.06);
  --shadow-md: 0 4px 6px -1px oklch(0 0 0 / 0.08), 0 2px 4px -2px oklch(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px oklch(0 0 0 / 0.08), 0 4px 6px -4px oklch(0 0 0 / 0.05);

  /* Motion — calm, no spring/bounce in product */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1); /* @kind other */
  --duration-micro: 150ms; /* @kind other */
  --duration-base: 200ms; /* @kind other */
  --duration-slow: 250ms; /* @kind other */
}

/* ============================================================
   Blips UI — base resets & element defaults.
   Applies the brand voice to bare HTML so specimen cards and
   kits inherit the right type, colors and selection.
   ============================================================ */

* {
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: var(--font-weight-body);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

::selection {
  background: var(--selection);
  color: var(--selection-foreground);
}

/* Tabular numbers helper for money / IDs / data columns. */
.tabular {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

*:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 50%, transparent);
  border-color: var(--ring);
}

/* Página de produto Blips — tokens são lei: amarelo é o único acento. */
* { box-sizing: border-box; }
svg.i { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -0.125em; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: hidden; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--foreground); color: var(--background); padding: 8px 12px; border-radius: var(--radius-md); font-size: 14px; }
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border-radius: var(--radius-lg); border: 1px solid transparent; background: var(--primary); color: var(--primary-foreground); font: 600 15px/1.2 var(--font-sans); text-align: center; cursor: pointer; transition: background var(--duration-micro) var(--ease-out), border-color var(--duration-micro) var(--ease-out); }
.btn:hover { background: color-mix(in oklch, var(--primary) 90%, black); }
.btn-sm { min-height: 36px; padding: 4px 16px; font-size: 14px; }
.btn-outline { background: var(--background); color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { background: var(--accent); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); background: var(--background); color: var(--foreground); font-size: 18px; cursor: pointer; transition: background var(--duration-micro) var(--ease-out); }
.icon-btn:hover { background: var(--accent); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; height: 64px; background: color-mix(in oklch, var(--background) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-brand img { height: 26px; width: auto; display: block; }

/* ---------- narrativa por scroll ---------- */
:root { --nav-h: 64px; --stage-h: 52svh; }
.story { position: relative; background: var(--surface); }
/* passagem suave do estúdio para a seção seguinte: o fim do palco se dissolve no fundo da página */
.story::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: min(32svh, 280px); z-index: 4; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in oklch, var(--background) 70%, transparent) 55%, var(--background)); }
.stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); z-index: 1; overflow: hidden; }
.stage-bg, .stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-poster { object-position: 75% 50%; transition: opacity 500ms var(--ease-out); }
.stage.has-canvas .stage-poster { opacity: 0; }

.callout { position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(12,12,12,.62); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 28px rgba(0,0,0,.28); border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--duration-slow) var(--ease-out); will-change: transform; }
.callout.is-on { opacity: 1; }
.callout-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 3px rgba(252,186,40,.35), 0 0 10px rgba(252,186,40,.6); }

.story-steps { position: relative; z-index: 5; margin-top: calc(-1 * (100svh - var(--nav-h))); pointer-events: none; }
.step { min-height: 100svh; display: flex; align-items: center; padding: 48px max(24px, calc((100vw - 1180px) / 2 + 24px)); }
.step-hero { min-height: calc(100svh - var(--nav-h)); }
.step > * { pointer-events: auto; }
.hero-copy { max-width: 460px; }
.hero-copy h1, .hero-copy .hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin: 16px 0 0; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted-foreground); margin: 20px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.card { width: min(400px, 100%); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; }
.card h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted-foreground); margin: 12px 0 0; }
.materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.materials li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); font-size: 13px; font-weight: 500; text-align: center; }
.materials .i { font-size: 22px; color: var(--foreground); }

/* ---------- produto ---------- */
.product { scroll-margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 64px; }

.gallery { min-width: 0; }
.viewport { position: relative; aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
#view { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 300ms var(--ease-out); touch-action: pan-y; }
.has-canvas > #view { opacity: 1; }
.viewport > #view { cursor: grab; }
.viewport > #view:active { cursor: grabbing; }
.viewport .photo, .viewport .hint, .viewport .icon-btn, .viewport .zoom { z-index: 2; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; transition: opacity 300ms var(--ease-out); }
.viewport.has-canvas .poster { opacity: 0; }
.photo { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--surface); object-fit: contain; touch-action: pan-y; }
.photo.fit-cover { object-fit: cover; }
.photo { will-change: transform, opacity; user-select: none; -webkit-user-drag: none; }
.viewport[data-mode="photo"] > #view { visibility: hidden; }

.hint { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; background: var(--background); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 600; pointer-events: none; }
.hint .i { font-size: 16px; }
.nav-prev, .nav-next { position: absolute; top: 50%; transform: translateY(-50%); }
.nav-prev { left: 12px; }
.nav-next { right: 12px; }
.zoom { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }

.thumbs { display: flex; gap: 8px; margin-top: 12px; padding: 4px; overflow-x: auto; scrollbar-width: thin; }
.thumb { position: relative; flex: 1 1 0; min-width: 64px; max-width: 112px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; cursor: pointer; transition: border-color var(--duration-micro) var(--ease-out); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { border-color: var(--ring); }
.thumb[aria-current="true"] { border-color: var(--primary); }
.thumb .tag { position: absolute; left: 4px; bottom: 4px; padding: 0 4px; border-radius: 4px; background: var(--foreground); color: var(--background); font: 600 10px/16px var(--font-sans); }

.buy { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted-foreground); }
.buy-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.14; letter-spacing: -0.02em; margin: 12px 0 0; }

.highlights { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.highlights li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.4; }
.highlights .i { flex: 0 0 auto; font-size: 18px; margin-top: 1px; color: var(--foreground); }

.price { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.price-label { font-size: 13px; color: var(--muted-foreground); }
.price-value { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-value small { font: 400 14px var(--font-sans); color: var(--muted-foreground); letter-spacing: 0; }
.price-alt { font-size: 14px; color: var(--muted-foreground); }
.price-alt .tabular { color: var(--foreground); font-weight: 500; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.actions .btn:first-child { flex: 1 1 240px; }
.perks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted-foreground); }
.perks li { display: inline-flex; align-items: center; gap: 8px; }
.perks .i { font-size: 18px; color: var(--foreground); }

/* ---------- seções ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.sec-head { max-width: 680px; }
.sec-eyebrow { font-size: 13px; font-weight: 600; color: var(--muted-foreground); }
.sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -0.02em; margin: 8px 0 0; }
.sec-head p { font-size: 16px; line-height: 1.55; color: var(--muted-foreground); margin: 12px 0 0; }

.benefits { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefits li { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--card); font-size: 15px; font-weight: 600; line-height: 1.3; }
.benefits .ic { flex: 0 0 auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-lg); background: var(--muted); color: var(--foreground); font-size: 22px; }

.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { padding-top: 16px; border-top: 2px solid var(--foreground); }
.steps .num { display: block; font: 600 14px var(--font-mono, monospace); color: var(--muted-foreground); }
.steps h3 { font-size: 18px; margin: 12px 0 0; }
.steps p { font-size: 15px; line-height: 1.55; color: var(--muted-foreground); margin: 8px 0 0; }

.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted-foreground); }
.footer-in img { height: 22px; width: auto; }

/* ---------- celular ---------- */
@media (max-width: 899px) {
  .wrap { padding: 0 16px; }
  :root { --nav-h: 56px; }
  /* no celular o menu rola junto com a página, e o palco 3D gruda no topo da tela */
  .nav { position: static; }
  .nav-cta { display: none; }
  .stage { top: 0; }
  html { scroll-padding-top: 16px; }
  .nav { height: 56px; }
  .stage { height: var(--stage-h); z-index: 3; background: var(--surface); }
  /* no celular o palco fica preso no topo: a base dele se funde com a área dos cartões, sem linha */
  .stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--surface)); }
  .story::after { height: 120px; background: linear-gradient(to bottom, transparent, var(--background)); }
  .product { padding-top: 8px; }
  .stage-poster { object-position: 50% 50%; }
  .story-steps { margin-top: calc(-1 * var(--stage-h)); }
  .step { align-items: flex-start; padding: calc(var(--stage-h) + 24px) 16px 24px; }
  .hero-copy { max-width: none; }
  .hero-copy h1, .hero-copy .hero-title { font-size: clamp(30px, 8.4vw, 40px); margin-top: 12px; }
  .lead { font-size: 16px; margin: 12px 0 20px; }
  .card { width: 100%; padding: 20px; }
  .card h2 { font-size: 24px; }
  .card p { font-size: 15px; }
  .product { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; padding-bottom: 40px; }
  .buy-title { font-size: 26px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  /* duas colunas: ícone em cima, texto embaixo, para caber sem apertar a frase */
  .benefits { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .benefits li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; font-size: 14px; }
  .benefits .ic { width: 40px; height: 40px; font-size: 20px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  }

/* ---------- animações de surgir (calmas; desligadas com "reduzir movimento") ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(16px); animation: rise 700ms var(--ease-out) forwards; }
  .rv.d1 { animation-delay: 80ms; }
  .rv.d2 { animation-delay: 160ms; }
  .rv.d3 { animation-delay: 240ms; }
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
/* números na mesma fonte do restante da página (Inter), mantendo os algarismos alinhados */
.tabular { font-family: inherit; font-variant-numeric: tabular-nums; }


/* ---------- ajustes locais do kit Formulário Blips (form.css fica intacto) ---------- */
.vz-form .blips-campo[data-campo="interesse"] { grid-column: 1 / -1; }
.vz-form select.blips-controle { padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%23111' d='M213.7 101.7l-80 80a8 8 0 0 1-11.4 0l-80-80a8 8 0 0 1 11.4-11.4L128 164.7l74.3-74.4a8 8 0 0 1 11.4 11.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
@media (max-width: 640px) { .vz-form .blips-enviar { height: auto; min-height: 56px; padding: 12px 24px; } }

/* botões do carrossel: mesmo vidro das etiquetas do 3D */
.viewport .icon-btn { background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); border-color: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 6px 18px rgba(0,0,0,.12); color: #111; }
.viewport .icon-btn:hover { background: rgba(255,255,255,.75); }

/* ---------- cartão da mesa (dobra 3D): amarelo ---------- */
.card--mesa { background: var(--primary); border-color: transparent; color: #000; }
.card--mesa p { color: rgba(0,0,0,.78); }
.card--mesa .materials li { background: rgba(255,255,255,.88); border-color: transparent; color: #000; }
.card--mesa .materials .i { color: #000; }


/* ---------- Blips em números: mapa em fundo preto ---------- */
.nums { background: #000; color: #fff; }
.nums-in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .nums-in { grid-template-columns: 1fr 1fr; gap: 56px; } }
.nums .sec-eyebrow { color: var(--primary); }
.nums-copy h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; color: #fff; }
.nums-copy p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.78); margin: 14px 0 24px; max-width: 46ch; }
.nums-btn { background: #fff; color: #000; }
.nums-btn:hover { background: var(--primary); }
.nums-map { position: relative; width: 100%; max-width: 480px; margin-inline: auto; aspect-ratio: 613 / 639; }
.num__svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 16px 32px rgba(0,0,0,.45)); }
.num__states path { fill: var(--primary); stroke: #000; stroke-width: 1.2; stroke-linejoin: round; transition: fill 150ms ease-out; }
.num__states path:hover { fill: #FFD061; }
.num__pin path { fill: #000; } .num__pin circle { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .js .nums-map .num__pin { opacity: 0; transition: opacity .4s var(--ease-out); transition-delay: calc(var(--pi) * 40ms); }
  .js .nums-map.is-in .num__pin { opacity: 1; }
  .num-chip { animation: num-float 4.5s var(--d, 0s) ease-in-out infinite; }
}
@keyframes num-float { 50% { translate: 0 -6px; } }
.num-chip { position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; white-space: nowrap; cursor: grab; touch-action: none; user-select: none;
  background: rgba(12,12,12,.62); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 28px rgba(0,0,0,.35); color: #fff; }
.num-chip b { display: block; font-size: 17px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; line-height: 1; }
.num-chip small { display: block; font-size: 11px; color: rgba(255,255,255,.85); margin-top: 3px; }
.num-chip-ic { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--primary); color: #000; font-size: 17px; }
.num-chip.is-drag { animation: none; cursor: grabbing; z-index: 5; }
@media (max-width: 899px) {
  .nums-map { max-width: 340px; }
  .num-chip { padding: 4px 10px 4px 4px; gap: 8px; }
  .num-chip b { font-size: 14px; } .num-chip small { font-size: 10px; }
  .num-chip-ic { width: 26px; height: 26px; font-size: 14px; }
}

/* ---------- banner final: Precisa de ajuda? ---------- */
.ajuda { padding-top: 72px; padding-bottom: 64px; }
.ajuda-card { position: relative; max-width: 760px; min-height: 240px; margin: 0 auto; background: #F4F4F4; border-radius: 20px; display: grid; grid-template-columns: 270px 1fr; align-items: center; }
.ajuda-media { position: relative; align-self: stretch; }
.ajuda-media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 150px; background: var(--primary); border-radius: 20px 0 0 20px; }
.ajuda-foto { position: absolute; left: 40px; bottom: 0; width: 200px; height: auto; display: block; }
.ajuda-conteudo { padding: 32px 40px; }
.ajuda-titulo { margin: 0 0 12px; font-family: var(--font-sans); font-size: clamp(28px, 1.2rem + 1.6vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #000; }
.ajuda-texto { margin: 0 0 24px; max-width: 32ch; font-size: 18px; line-height: 1.4; color: #262626; }
.ajuda-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 28px; background: #000; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 999px; transition: transform .2s ease, background-color .2s ease; }
.ajuda-btn span { color: var(--primary); font-weight: 800; }
.ajuda-btn:hover { background: #1a1a1a; transform: translateY(-1px); }
.ajuda-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (max-width: 640px) {
  .ajuda { padding-top: 72px; padding-bottom: 32px; }
  .ajuda-card { grid-template-columns: 1fr; min-height: 0; }
  .ajuda-media { height: 196px; }
  .ajuda-media::before { width: 100%; border-radius: 20px 20px 0 0; }
  .ajuda-foto { left: 50%; transform: translateX(-50%); width: 170px; }
  .ajuda-conteudo { padding: 24px 20px; text-align: center; }
  .ajuda-texto { margin: 0 auto 20px; font-size: 16px; }
  .ajuda-btn { width: 100%; min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .ajuda-btn { transition: none; } .ajuda-btn:hover { transform: none; } }

/* fundos das dobras finais */
.beneficios { background: var(--primary); }
.beneficios .sec-head h2 { color: #000; }
.beneficios .benefits li { border-color: transparent; background: #fff; }
.ajuda { background: #000; }
/* o banner sobe 50px: entra um pouco na dobra de cima, que também é preta */
.ajuda-card { top: -50px; margin-bottom: -50px; }

.price-note { font-size: 12px; color: var(--muted-foreground); }

/* ---------- formulário: botão de enviar em preto ---------- */
.vz-form .blips-form .blips-enviar { background: #000; border-color: #000; color: #fff; }
.vz-form .blips-form .blips-enviar:hover { background: #1F1F1F; border-color: #1F1F1F; }
.vz-form .blips-form .blips-enviar:focus-visible { box-shadow: 0 0 0 3px rgba(252,186,40,.6); }

/* ---------- perguntas frequentes ---------- */
.faq-list { margin-top: 28px; display: grid; gap: 8px; max-width: 820px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { font-size: 16px; color: var(--muted-foreground); transition: transform 200ms ease-out; }
.faq-item[open] summary .i { transform: rotate(90deg); }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.55; color: var(--muted-foreground); }

/* ---------- celular: ritmo das dobras do 3D ---------- */
@media (max-width: 899px) {
  /* textos e cards passam por baixo do palco: cada um some atrás da imagem antes de o próximo aparecer */
  .story-steps { z-index: 2; margin-top: calc(-1 * (var(--stage-h) + var(--release, 0px))); }
  /* o palco solta antes do fim: o último card (amarelo) sobe junto com a imagem, como uma dobra normal */
  .stage { margin-bottom: var(--release, 0px); box-shadow: 0 2px 0 var(--surface); }
  /* sem linha na base do palco: o degradê cobre até passar da borda */
  .stage::after { bottom: -2px; height: 60px; background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 92%); }
  .step-hero { min-height: 0; padding-bottom: 0; }
  .step-hero + .step { padding-top: 100px; }
  .step:not(.step-hero) { min-height: 0; padding-bottom: 0; }
  /* o card seguinte só entra na tela quando o anterior acabou de sumir atrás do palco */
  .step:not(.step-hero) + .step { padding-top: calc(100svh - var(--stage-h) - 16px); }
  .step:last-child { padding-bottom: 120px; }
}


/* o fundo de estúdio novo é mais escuro: clareia um pouco para o texto da hero manter o contraste */
.stage-bg, .stage-poster { filter: brightness(1.14); }


/* ---------- hero (produto): destaques com ícone em ladrilho amarelo e CTA para o 3D ---------- */
.highlights { gap: 12px; }
.highlights li { align-items: center; gap: 12px; }
.highlights .ic { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--primary); color: var(--primary-foreground); font-size: 20px; }
.highlights .ic .i { margin-top: 0; font-size: 20px; color: inherit; }
.buy .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.buy .actions .btn { flex: 1 1 auto; min-height: 48px; }
.buy .actions .btn .i { font-size: 18px; }
/* a dobra do 3D começa logo abaixo da hero: o topo do palco nasce do fundo branco da página */
.story::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(18svh, 160px); z-index: 4; pointer-events: none; background: linear-gradient(to bottom, var(--background), transparent); }
/* o CTA "Descubra o equipamento" para com o palco 3D encostado no menu (compensa o scroll-padding da página) */
.story { scroll-margin-top: -16px; }
@media (max-width: 899px) {
  .story::before { height: 72px; }
}
/* ---------- hero compacta: tudo visível ao abrir a página ---------- */
.buy-title { font-size: clamp(24px, 2.3vw, 32px); margin-top: 8px; }
.buy-lead { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted-foreground); }
.highlights { grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 16px; }
.highlights li { min-width: 0; }
.hl-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hl-text strong { font-size: 14px; font-weight: 600; }
.hl-text small { font-size: 12px; color: var(--muted-foreground); }
.highlights .ic { transition: transform var(--duration-base) var(--ease-out); }
.highlights li:hover .ic { transform: translateY(-2px); }
.price { margin-top: 16px; padding: 12px 16px; }
.price-value { font-size: 26px; }
.buy .actions { margin-top: 16px; }
.buy .actions .btn .i { transition: transform var(--duration-base) var(--ease-out); }
.buy .actions .btn:hover .i { transform: translateY(3px); }
.perks { margin-top: 16px; }
@media (min-width: 900px) {
  .product { min-height: calc(100svh - var(--nav-h)); align-items: center; padding-top: 24px; padding-bottom: 24px; }
  .viewport { max-height: calc(100svh - var(--nav-h) - 168px); }   /* sobra espaço para as miniaturas e as margens */
}
@media (max-width: 899px) {
  .product { gap: 16px; padding-top: 12px; padding-bottom: 32px; }
  .viewport { aspect-ratio: 16 / 10; max-height: 26svh; }
  .thumbs { margin-top: 8px; padding: 2px; }
  .thumb { max-width: 52px; min-width: 44px; }
  .buy-title { font-size: 21px; margin-top: 4px; }
  .buy-lead { display: none; }                 /* no celular o espaço vai para preço e botão */
  .hl-text small { font-size: 11px; }
  .price-label { font-size: 12px; }
  .price-note { font-size: 11px; }
  .perks { margin-top: 12px; font-size: 12px; }
  .highlights { gap: 8px 12px; margin-top: 12px; }
  .highlights .ic { width: 32px; height: 32px; font-size: 18px; }
  .hl-text strong { font-size: 13px; }
  .price { margin-top: 12px; padding: 8px 12px; }
  .price-value { font-size: 24px; }
  .buy .actions { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .highlights .ic, .buy .actions .btn .i { transition: none; } }

/* ---------- primeira dobra: foto fixa, preço e formulário de uma etapa (form.css do kit fica intacto) ---------- */
/* a foto tem margem em volta da máquina: o tamanho é calculado para a máquina ocupar o quadro, seja ele largo ou baixo */
.viewport { container-type: size; }
/* foto da página original: cabe inteira no quadro, sem recorte */
.viewport .photo { inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; background: none; transform: none; }
/* celular: texto, foto, preço e formulário, nesta ordem */
@media (max-width: 899px) {
  .product { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .product > .buy { display: contents; }
  .product .eyebrow { order: 1; align-self: flex-start; }
  .product .buy-title { order: 2; }
  .product .buy-lead { order: 3; }
  .product > .gallery { order: 4; margin-top: 16px; }
  .product .price { order: 5; }
  .product .form-title { order: 6; }
  .product .vz-form { order: 7; }
}
.form-title { margin: 20px 0 0; font: 600 16px/1.3 var(--font-sans); letter-spacing: -0.01em; color: var(--foreground); }
.buy .vz-form { margin-top: 10px; }
.buy .vz-form .blips-form { grid-template-columns: 1fr; gap: 10px; }
.buy .vz-form .blips-campo { gap: 0; }
/* o nome de cada campo aparece dentro dele; o rótulo do kit fica só para leitores de tela */
.buy .vz-form .blips-rotulo { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.buy .vz-form .blips-controle { height: 48px; }
.buy .vz-form .blips-controle::placeholder { color: #767676; }
/* aceite: o kit exige que fique visível; aqui vai sem moldura e em letra menor */
.buy .vz-form .blips-consent { gap: 8px; padding: 0; border: 0; background: none; }
.buy .vz-form .blips-consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 0; }
.buy .vz-form .blips-consent label { font-size: 11px; line-height: 1.35; }
.buy .vz-form .blips-form .blips-enviar { width: 100%; min-width: 0; min-height: 0; justify-self: stretch; height: 52px; margin-top: 0; padding: 0 16px; }
@media (min-width: 900px) {
  .viewport { max-height: calc(100svh - var(--nav-h) - 48px); }
}
@media (max-width: 899px) {
  /* celular: a dobra ocupa exatamente uma tela. Título, preço, formulário e vantagens têm altura fixa; a foto fica com o que sobra */
  .product { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-height: calc(100svh - var(--nav-h)); padding-top: 8px; padding-bottom: 12px; }
  .gallery { flex: 1 1 96px; min-height: 96px; display: flex; }
  .viewport { flex: 1 1 auto; aspect-ratio: auto; height: auto; max-height: none; }
  .buy { flex: none; }
  .price { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 8px 12px; }
  .price-note { max-width: 100px; text-align: right; line-height: 1.25; }
  .form-title { margin-top: 14px; font-size: 15px; }
  .buy .vz-form { margin-top: 8px; }
  .buy .vz-form .blips-form { gap: 8px; }
  .buy .vz-form .blips-controle { height: 46px; }
  .buy .vz-form .blips-form .blips-enviar { height: 50px; }
}
/* telas baixas (celular com as barras do navegador abertas): tudo um pouco mais junto, para a foto não encolher demais */
@media (max-width: 899px) and (max-height: 700px) {
  .product { gap: 8px; padding-bottom: 8px; }
  .gallery { flex-basis: 80px; min-height: 80px; }
  .price { margin-top: 6px; padding: 6px 12px; }
  .form-title { margin-top: 10px; }
  .buy .vz-form { margin-top: 6px; }
  .buy .vz-form .blips-form { gap: 6px; }
  .buy .vz-form .blips-controle { height: 44px; }
  .buy .vz-form .blips-form .blips-enviar { height: 48px; }
}

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0 48px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; }
.footer-top img { height: 30px; width: auto; display: block; }
.footer-copy { margin: 0; font-size: 13px; line-height: 1.45; text-align: right; color: var(--foreground); }
.footer-legal { margin: 32px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted-foreground); text-align: justify; }
@media (max-width: 899px) {
  .footer { padding: 32px 0 40px; }
  .footer-copy { text-align: left; font-size: 12px; }
  .footer-legal { margin-top: 24px; text-align: left; }
}

/* ---------- última cena do 3D: a máquina vai para o centro, o título surge e ela pode ser girada ---------- */
.card--livre { background: transparent; border: 0; padding: 0; text-align: center; pointer-events: none; outline-offset: 8px; }
.card--livre h2 { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; }
.card--livre p { display: inline-flex; align-items: center; gap: 12px; max-width: 640px; margin-left: auto; margin-right: auto; text-align: left; }
.card--livre p .ic { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--primary); color: var(--primary-foreground); font-size: 20px; }
.stage.is-free > #view { cursor: grab; }
.stage.is-free > #view:active { cursor: grabbing; }
@media (prefers-reduced-motion: no-preference) {
  /* cada palavra do título sobe de trás de uma máscara, uma depois da outra; a frase e a dica vêm em seguida */
  .card--livre .w, .stage-free .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.14em; margin-bottom: -0.14em; }
  .card--livre .w > span, .stage-free .w > span { display: inline-block; transform: translateY(110%); transition: transform 300ms var(--ease-out); }
  .card--livre.is-in .w > span, .stage-free.is-in .w > span { transform: none; transition: transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .card--livre p, .stage-free p { opacity: 0; transform: translateY(12px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
  .card--livre.is-in p, .stage-free.is-in p { opacity: 1; transform: none; transition-duration: 600ms; transition-delay: 420ms; }
}
@media (min-width: 900px) {
  /* a cena é mais alta que a tela: o título fica preso no topo enquanto a máquina está parada no centro, livre para girar */
  .step--livre { min-height: 125svh; align-items: flex-start; padding-top: 0; padding-bottom: 0; }
  /* o bloco do título tem a altura do palco e fica preso junto com ele: os dois soltam e sobem ao mesmo tempo */
  .card--livre { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); width: min(860px, 100%); margin: 0 auto; padding-top: 40px;
    display: flex; flex-direction: column; align-items: center; }
}
/* fim do palco: ele se dissolve direto na cor da seção do formulário, sem faixa entre as dobras */
.story::after { height: min(24svh, 200px); background: linear-gradient(to bottom, transparent, color-mix(in oklch, var(--primary) 40%, transparent) 60%, var(--primary)); }
@media (max-width: 899px) {
  .story::after { height: 120px; background: linear-gradient(to bottom, transparent, var(--primary)); }
}

/* ---------- celular, última cena: o palco cresce até a tela inteira, a máquina desce para o centro e a cena fica parada para girar ---------- */
.stage-free { display: none; }
@media (max-width: 899px) {
  /* a caixa do palco passa a ter a altura da tela, mas só a parte de cima (--vis-h) aparece;
     --grow (0 a 1) vem da rolagem (app.js, setGrow) e leva essa parte de --stage-h até a tela inteira */
  .story.has-free { --vis-h: calc(var(--stage-h) + var(--grow, 0) * (100svh - var(--stage-h))); }
  .story.has-free .stage { height: 100svh; margin-bottom: 0; box-shadow: none; clip-path: inset(0 0 calc(100% - var(--vis-h)) 0); }
  .story.has-free .stage-bg, .story.has-free .stage-poster, .story.has-free #view { height: var(--vis-h); bottom: auto; }
  .story.has-free .stage::after { top: calc(var(--vis-h) - 60px); bottom: auto; }
  .story.has-free .story-steps { margin-top: -100svh; }
  /* sem cartão: a dobra só dá a distância de rolagem. Os primeiros 100svh trazem a cena; o resto é o tempo parado antes do formulário */
  .story.has-free .step.step--livre { min-height: 175svh; padding: 0; }
  .story.has-free .step--livre .card { display: none; }

  /* título em cima, dica embaixo; a máquina fica livre no meio e recebe o toque */
  .stage-free { display: block; position: absolute; left: 0; right: 0; top: 0; height: var(--vis-h); z-index: 2; pointer-events: none;
    opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease-out), visibility 0s 300ms; }
  .stage-free.is-in { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease-out), visibility 0s; }
  .stage-free h2 { position: absolute; left: 16px; right: 16px; top: max(28px, 6svh); margin: 0; text-align: center; text-wrap: balance;
    font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 6.8vw, 30px); line-height: 1.12; letter-spacing: -0.02em; color: var(--foreground); }
  .stage-free p { position: absolute; left: 16px; right: 16px; bottom: max(88px, 12svh); margin: 0; display: flex; align-items: center; justify-content: center; gap: 12px;
    font-size: 15px; line-height: 1.45; color: var(--muted-foreground); }
  .stage-free p > span:last-child { max-width: 300px; }
  .stage-free p .ic { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--primary); color: var(--primary-foreground); font-size: 20px; }
}

/* ============================================================================
   FORMULARIO BLIPS — estilo da Home Vuze (pizza)

   Segue o sistema da marca: amarelo #FCBA28 como UNICO acento (5-10% dos
   pixels, so acao/selecao/foco), neutros de croma zero, escala de raio de
   10px, grade de 4px, profundidade por BORDA antes de sombra, movimento
   calmo (150-250ms, sem mola).

   A fonte NAO e a do design system (Inter): a pagina inteira usa Poppins e
   trocar so o formulario criaria um corpo estranho no meio das secoes. O
   sistema manda em forma, cor e estado; a pagina manda na tipografia.

   Prefixado com .vz-form para vencer o CSS base da secao 08 por
   especificidade, sem !important e sem depender de ordem de carregamento.
   Nao toca em name, data-blips nem na estrutura do HTML.
   ============================================================================ */

.vz-form{
  --f-ink:#111111;            /* texto forte            */
  --f-ink-2:#5A5A5A;          /* texto de apoio         */
  --f-linha:#E3E3E3;          /* borda neutra           */
  --f-linha-forte:#C9C9C9;    /* borda em hover         */
  --f-campo:#FFFFFF;
  --f-acento:#FCBA28;
  --f-acento-ink:#000000;
  --f-acento-fraco:#FEF6E4;   /* fundo da opcao marcada */
  --f-erro:#D84B3C;

  --f-r:10px;                 /* raio base do sistema   */
  --f-r-card:14px;
}

/* ─── Grade ──────────────────────────────────────────────────────────────── */
.vz-form .blips-form{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px 20px;
  align-items:start;
}

/* Ordem das linhas:
     nome    | telefone
     e-mail  (linha inteira)
     empresa | cnpj
   O e-mail e o campo mais longo dos cinco, entao ganha a linha toda; empresa
   e cnpj descem e fecham o par. */
.vz-form .blips-campo[data-campo="email"]{ grid-column:1 / -1; }
.vz-form .blips-grupo,
.vz-form .blips-consent,
.vz-form .blips-enviar,
.vz-form .blips-msg{ grid-column:1 / -1; }

/* ─── Campo e rotulo ─────────────────────────────────────────────────────── */
.vz-form .blips-campo{ display:grid; gap:8px; min-width:0; }

.vz-form .blips-rotulo{
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  color:var(--f-ink);
  letter-spacing:-.005em;
}

/* Obrigatorio: marca discreta. O asterisco nao e decoracao, e informacao. */
.vz-form .blips-obrig{ color:var(--f-erro); font-weight:600; margin-left:2px; }

/* ─── Controles ──────────────────────────────────────────────────────────── */
.vz-form .blips-controle{
  width:100%;
  height:52px;
  padding:0 16px;
  font:inherit;
  font-size:16px;              /* 16px evita zoom automatico no iOS */
  color:var(--f-ink);
  background:var(--f-campo);
  border:1px solid var(--f-linha);
  border-radius:var(--f-r);
  outline:none;
  transition:border-color 180ms ease-out, box-shadow 180ms ease-out;
  -webkit-appearance:none;
  appearance:none;
}
.vz-form .blips-controle::placeholder{ color:#A5A5A5; }
.vz-form .blips-controle:hover{ border-color:var(--f-linha-forte); }

/* Foco: halo translucido de 3px + borda no acento, como o sistema define */
.vz-form .blips-controle:focus{
  border-color:var(--f-acento);
  box-shadow:0 0 0 3px rgba(252,186,40,.45);
}

/* Erro nativo so depois que a pessoa mexeu — nao acusa campo intocado */
.vz-form .blips-controle:user-invalid{
  border-color:var(--f-erro);
  box-shadow:0 0 0 3px rgba(216,75,60,.18);
}

/* ─── Escolha de equipamento: cada opcao vira um cartao selecionavel ─────── */
.vz-form .blips-grupo{
  border:0;
  margin:4px 0 0;
  padding:0;
  display:grid;
  gap:12px;
}
.vz-form .blips-grupo > .blips-rotulo{ margin-bottom:4px; padding:0; }

.vz-form .blips-grupo{ --cols:3; }
.vz-form .blips-grupo .blips-opcao{ min-width:0; }

/* container das opcoes: o markup nao tem wrapper, entao a propria fieldset
   vira a grade e o legend ocupa a linha inteira */
.vz-form .blips-grupo{
  grid-template-columns:repeat(var(--cols), minmax(0, 1fr));
}
.vz-form .blips-grupo > legend{ grid-column:1 / -1; float:none; }

.vz-form .blips-opcao{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  font-size:15px;
  line-height:1.3;
  color:var(--f-ink);
  background:var(--f-campo);
  border:1px solid var(--f-linha);
  border-radius:var(--f-r-card);
  cursor:pointer;
  transition:border-color 180ms ease-out, background-color 180ms ease-out;
}
.vz-form .blips-opcao:hover{ border-color:var(--f-linha-forte); }

/* radio custom, para o estado marcado ser visivel de longe */
.vz-form .blips-opcao input[type="radio"]{
  appearance:none;
  -webkit-appearance:none;
  flex:0 0 auto;
  width:20px; height:20px;
  margin:0;
  border:1px solid var(--f-linha-forte);
  border-radius:50%;
  background:#fff;
  display:grid;
  place-content:center;
  transition:border-color 180ms ease-out, border-width 180ms ease-out;
}
.vz-form .blips-opcao input[type="radio"]::after{
  content:"";
  width:10px; height:10px;
  border-radius:50%;
  background:var(--f-acento);
  transform:scale(0);
  transition:transform 180ms ease-out;
}
.vz-form .blips-opcao input[type="radio"]:checked{ border-color:var(--f-acento); }
.vz-form .blips-opcao input[type="radio"]:checked::after{ transform:scale(1); }
.vz-form .blips-opcao input[type="radio"]:focus-visible{
  box-shadow:0 0 0 3px rgba(252,186,40,.45);
}

/* o cartao inteiro reage a selecao */
.vz-form .blips-opcao:has(input:checked){
  border-color:var(--f-acento);
  background:var(--f-acento-fraco);
}

/* ─── Aceite LGPD ────────────────────────────────────────────────────────── */
.vz-form .blips-consent{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:start;
  padding:16px;
  border:1px solid var(--f-linha);
  border-radius:var(--f-r-card);
  background:#FAFAFA;
}
.vz-form .blips-consent input[type="checkbox"]{
  appearance:none;
  -webkit-appearance:none;
  width:20px; height:20px;
  margin:2px 0 0;
  border:1px solid var(--f-linha-forte);
  border-radius:6px;
  background:#fff;
  display:grid;
  place-content:center;
  cursor:pointer;
  transition:border-color 180ms ease-out, background-color 180ms ease-out;
}
.vz-form .blips-consent input[type="checkbox"]::after{
  content:"";
  width:11px; height:7px;
  border-left:2px solid var(--f-acento-ink);
  border-bottom:2px solid var(--f-acento-ink);
  transform:rotate(-45deg) scale(0);
  transition:transform 180ms ease-out;
  margin-top:-2px;
}
.vz-form .blips-consent input[type="checkbox"]:checked{
  background:var(--f-acento);
  border-color:var(--f-acento);
}
.vz-form .blips-consent input[type="checkbox"]:checked::after{ transform:rotate(-45deg) scale(1); }
.vz-form .blips-consent input[type="checkbox"]:focus-visible{
  box-shadow:0 0 0 3px rgba(252,186,40,.45);
}
.vz-form .blips-consent label{
  font-size:13px;
  line-height:1.5;
  color:var(--f-ink-2);
  cursor:pointer;
}

/* ─── Botao ──────────────────────────────────────────────────────────────── */
.vz-form .blips-enviar{
  justify-self:center;
  min-width:260px;
  height:56px;
  margin-top:4px;
  padding:0 40px;
  font:inherit;
  font-size:16px;
  font-weight:600;
  color:var(--f-acento-ink);
  background:var(--f-acento);
  border:1px solid var(--f-acento);
  border-radius:999px;
  cursor:pointer;
  transition:background-color 180ms ease-out, box-shadow 180ms ease-out;
}
.vz-form .blips-enviar:hover{ background:#F0AE18; border-color:#F0AE18; }
.vz-form .blips-enviar:focus-visible{ box-shadow:0 0 0 3px rgba(252,186,40,.5); }
.vz-form .blips-enviar:disabled{ opacity:.55; cursor:progress; }

/* ─── Mensagem de retorno ────────────────────────────────────────────────── */
.vz-form .blips-msg{
  margin:0;
  min-height:0;
  text-align:center;
  font-size:14px;
  line-height:1.5;
}
.vz-form .blips-msg:not(:empty){
  padding:12px 16px;
  border-radius:var(--f-r);
  border:1px solid var(--f-linha);
}
.vz-form .blips-msg[data-blips-estado="erro"]{
  color:#8A2E22;
  background:#FDF1EF;
  border-color:#F3C9C2;
}
.vz-form .blips-msg[data-blips-estado="ok"]{
  color:#1F5B37;
  background:#EFF7F1;
  border-color:#C6E2CF;
}
.vz-form .blips-msg[data-blips-estado="enviando"]{ color:var(--f-ink-2); }

/* ─── Responsivo ─────────────────────────────────────────────────────────── */
@media (max-width:860px){
  .vz-form .blips-grupo{ --cols:2; }
}
@media (max-width:640px){
  .vz-form .blips-form{ grid-template-columns:1fr; gap:18px; }
  .vz-form .blips-grupo{ --cols:1; }
  .vz-form .blips-enviar{ width:100%; min-width:0; justify-self:stretch; }
}

/* Movimento calmo: quem pediu menos movimento, recebe menos movimento. */
@media (prefers-reduced-motion:reduce){
  .vz-form .blips-controle,
  .vz-form .blips-opcao,
  .vz-form .blips-opcao input[type="radio"],
  .vz-form .blips-opcao input[type="radio"]::after,
  .vz-form .blips-consent input[type="checkbox"],
  .vz-form .blips-consent input[type="checkbox"]::after,
  .vz-form .blips-enviar{ transition:none; }
}

/* celular (2026-11-27, pedido do Vitor): a foto tinha só a sobra da tela (~96px) e o quadro ficava uma faixa larga e baixa
   com a máquina minúscula. Agora o quadro tem altura própria, proporcional à largura, e a foto cabe inteira nele. */
@media (max-width: 899px) {
  .gallery { flex: none; display: block; min-height: 0; }
  .viewport { flex: none; width: 100%; height: min(68vw, 300px); aspect-ratio: auto; max-height: none; }
}

/* celular (2026-12-02): foto deitada (1.8945) — a moldura segue a proporção da foto, sem faixa vazia em cima e embaixo */
@media (max-width: 899px) {
  .viewport { height: min(300px, calc((100vw - 64px) / 1.8945)); }
}
