/* Redesign agência (Figma "W3bsite — Redesign Agência", home v2).
   Usada pelas páginas já migradas (home, /shopify, /solucoes). As demais seguem em
   site.css até serem redesenhadas — não misturar as duas folhas na mesma página. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("./fonts/geist-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("./fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --paper: #f3f1ea;
  --paper-2: #e8e5db;
  --ink: #0f0f0d;
  --ink-2: #3a3935;
  --muted: #65645d;
  --line: #d5d1c4;
  --line-dark: #2a2a27;
  --card-dark: #1d1d1a;
  --orange: #ff5701;
  --orange-ink: #c24100;
  --on-dark-muted: #a9a79e;

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(72px, 9.4vw, 136px);
  --max: 1440px;
  --radius: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 3px; border-radius: 6px; }
.is-dark :focus-visible, .site-header :focus-visible { outline-color: var(--orange); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 999px; background: var(--orange); color: var(--ink);
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.is-dark { background: var(--ink); color: var(--paper); }
.is-sunk { background: var(--paper-2); }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------ tipografia */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(2.75rem, 6.4vw, 6rem); line-height: 0.96; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2.125rem, 4.6vw, 4.5rem); line-height: 1; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.375rem, 2vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; }
.hl { color: var(--orange-ink); }
.is-dark .hl { color: var(--orange); }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 38ch; margin: 0; }
.body { color: var(--ink-2); margin: 0; max-width: 62ch; }
.is-dark .lead, .is-dark .body { color: var(--on-dark-muted); }
.data { font: 400 14px/1.4 var(--mono); color: var(--muted); letter-spacing: 0; }
.is-dark .data { color: var(--on-dark-muted); }
.tag { font: 500 13px/1 var(--mono); padding: 7px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); width: fit-content; }

/* ---------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 20px 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent;
  font: 500 15px/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #ff6d24; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #2a2a27; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 44px; padding: 10px 16px 10px 18px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* botão redondo (setas do carrossel, atalhos dos cards) */
.round {
  display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; padding: 0;
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.round svg { width: 18px; height: 18px; }
.round:hover:not(:disabled) { border-color: var(--ink); }
.round--dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.round--dark:hover:not(:disabled) { background: #2a2a27; }
.round--sm { width: 44px; height: 44px; }
.round:disabled { opacity: 0.35; cursor: default; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40; color: var(--paper);
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 80px; }
.brand img { width: 143px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) { font-weight: 500; font-size: 15px; color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"] { text-decoration: underline; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--paper); cursor: pointer; place-items: center;
}
/* why: site.js troca o textContent do botão por ☰/× — as barras vêm do CSS e
   seguem aria-expanded, então o glifo é zerado com font-size. */
.menu-toggle { position: relative; font-size: 0; }
.menu-toggle::before,
.menu-toggle::after {
  content: ""; position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px;
  background: currentColor; transition: transform 0.25s var(--ease-out);
}
.menu-toggle::before { top: calc(50% - 4px); }
.menu-toggle::after { top: calc(50% + 3px); }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-3.5px) rotate(-45deg); }
.nav-mobile-cta { display: none; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(560px 560px at 76% 52%, rgb(255 87 1 / 0.13), transparent 70%), var(--ink);
}
/* véus sobre a vitrine: some à esquerda (atrás do texto) e na base */
.hero::before,
.hero::after { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.hero::before { inset: 0; background: linear-gradient(90deg, var(--ink) 42%, rgb(15 15 13 / 0) 70%); }
.hero::after { left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(rgb(15 15 13 / 0), var(--ink)); }
.hero-grid {
  position: relative; z-index: 2;
  min-height: clamp(640px, calc(100svh - 80px), 900px);
  display: grid; align-content: center; gap: 40px;
  padding-block: clamp(56px, 7vw, 104px);
}
.hero-copy { display: grid; gap: 32px; max-width: 680px; }
.hero .h1 { font-size: clamp(2.75rem, 7.2vw, 6.5rem); }
.hero .lead { max-width: 44ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.proof {
  display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 0; padding: 28px 0 0; max-width: 680px;
  border-top: 1px solid var(--line-dark);
}
.proof div { display: grid; gap: 6px; max-width: 200px; }
.proof dt { font: 500 2rem/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof dd { margin: 0; }

.reel {
  position: absolute; z-index: 0; top: -14%; right: -5%;
  width: min(52vw, 800px); height: 132%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px;
  transform: rotate(7deg);
}
.reel-col:nth-child(2) { margin-top: -120px; }
.reel-col:nth-child(3) { margin-top: -40px; }
.reel-track { display: flex; flex-direction: column; gap: 22px; }
.reel img {
  width: 100%; aspect-ratio: 540 / 960; object-fit: cover; object-position: top center;
  border: 7px solid var(--line-dark); border-radius: 30px; background: var(--line-dark);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
}

/* Movimento autoral: a primeira dobra se monta ao carregar e a vitrine roda em loop. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .proof { animation: rise 0.9s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.14s; }
  .proof { animation-delay: 0.2s; }
  .reel { animation: fade 1.4s ease 0.2s both; }
  /* loop: cada trilho tem as imagens duas vezes; anda metade (+ meio gap) e volta ao início sem salto */
  .reel-track { animation: reel-y 70s linear infinite; }
  .reel-col:nth-child(2) .reel-track { animation-direction: reverse; animation-duration: 80s; }
  .reel-col:nth-child(3) .reel-track { animation-duration: 64s; }
  .reel:hover .reel-track { animation-play-state: paused; }
  .split-hero .hero-side > *, .sol-hero .hero-side > *, .index { animation: rise 0.9s var(--ease-out) both; }
  .split-hero .devices { animation: lift 1.1s var(--ease-out) 0.14s both; }
  .marquee ul { animation: marquee 48s linear infinite; }
  .marquee:hover ul { animation-play-state: paused; }
  .cc-hero .hero-side > * { animation: rise 0.9s var(--ease-out) both; }
  .doc-hero .hero-side > *, .doc-summary { animation: rise 0.9s var(--ease-out) both; }
  .chat { animation: lift 1.1s var(--ease-out) 0.14s both; }
  .chat-body > * { animation: rise 0.7s var(--ease-out) both; }
  .chat-body > :nth-child(1) { animation-delay: 0.6s; }
  .chat-body > :nth-child(2) { animation-delay: 1.3s; }
  .chat-body > :nth-child(3) { animation-delay: 1.9s; }
  .typing i { animation: blink 1.2s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: 0.2s; }
  .typing i:nth-child(3) { animation-delay: 0.4s; }
  @keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
  .modal[open] { animation: sheet 0.45s var(--ease-out); }
  .modal[open]::backdrop { animation: fade 0.3s ease; }
  @keyframes sheet { from { opacity: 0; transform: translateY(32px); } }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
  @keyframes lift { from { opacity: 0; transform: translateY(56px); clip-path: inset(12% 0 0 0 round 20px); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes reel-y { to { transform: translateY(calc(-50% - 11px)); } }
  @keyframes reel-x { to { transform: translateX(calc(-50% - 7px)); } }
  @keyframes marquee { to { transform: translateX(-100%); } }
}

/* ------------------------------------------------------------ lojas no ar */
.strip { border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 40px; padding-block: 36px; }
.strip-inner > .data { margin: 0; }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; flex: none; align-items: center; }
.marquee li {
  display: flex; align-items: center; gap: 40px; padding-right: 40px; white-space: nowrap;
  font: 500 clamp(1.25rem, 2.2vw, 2rem)/1.1 var(--display); letter-spacing: -0.02em;
}
.marquee li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------------------------------------------------------------- seções */
.section { padding-block: var(--section); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 80px; margin-bottom: clamp(40px, 5vw, 56px); }
.head .h2 { max-width: 15ch; }
.head .body { max-width: 40ch; }
.head-copy { display: grid; gap: 20px; }

/* ------------------------------------------------------ trabalhos (carrossel)
   O arraste e o encaixe são do navegador (scroll-snap); site.js só liga setas,
   barra e contador. O recuo inicial acompanha a margem do .wrap. */
.carousel {
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge); scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -2px; }
.carousel-list { list-style: none; margin: 0; padding: 0 var(--edge); display: flex; gap: 24px; width: max-content; }
.slide { width: min(820px, 76vw); scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 12px; }
.case-card { display: grid; gap: 22px; color: inherit; text-decoration: none; }
.case-shot { aspect-ratio: 820 / 500; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--paper-2); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease-out); }
a.case-card:hover .case-shot img { transform: scale(1.02); }
.case-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.case-row .h3 { display: block; }
.case-row .data { display: block; margin-top: 6px; }
.case-link { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1.2 var(--sans); white-space: nowrap; }
.case-link svg { width: 18px; height: 18px; color: var(--orange-ink); transition: transform 0.25s var(--ease-out); }
a.case-card:hover .case-link svg { transform: translate(2px, -2px); }
.carousel-foot { display: flex; align-items: center; gap: 16px 40px; margin-top: 56px; }
.progress { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.progress span { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0.2); transition: transform 0.2s linear; }
/* carrossel em seção escura (/shopify) */
.is-dark .round { border-color: var(--line-dark); color: var(--paper); }
.is-dark .round:hover:not(:disabled) { border-color: var(--paper); }
.is-dark .round--dark { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.is-dark .round--dark:hover:not(:disabled) { background: #fff; }
.is-dark .case-shot { border-color: var(--line-dark); background: var(--card-dark); }
.is-dark .case-link svg { color: var(--orange); }
.is-dark .progress { background: var(--line-dark); }

/* ------------------------------------------------------- serviços (bento) */
.bento { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
.bento-feature {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px; overflow: hidden;
  padding: clamp(28px, 3.4vw, 48px) clamp(24px, 3.4vw, 48px) 0; border-radius: 28px;
}
.bento-feature .body { max-width: 46ch; }
.bento-feature img { width: 100%; aspect-ratio: 648 / 300; object-fit: cover; margin-top: auto; border-radius: 18px 18px 0 0; }
.bento-side { display: grid; grid-auto-rows: 1fr; gap: 24px; }
.bento-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: 32px; border-radius: 24px; background: var(--paper); color: inherit; text-decoration: none;
  transition: box-shadow 0.25s var(--ease-out);
}
.bento-card:hover { box-shadow: 0 12px 32px rgb(15 15 13 / 0.08); }
.bento-card:hover .round { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bento-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bento-card h3 { margin: 0; font: 600 1.375rem/1.3 var(--sans); letter-spacing: -0.01em; }
.bento-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 46ch; }
.bento-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bento-list li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font: 500 14px/1.2 var(--sans); color: var(--ink-2); }

/* ------------------------------------------ posicionamento + o que toda loja leva */
.stance-title { font-size: clamp(2.75rem, 7.2vw, 6.5rem); line-height: 0.96; letter-spacing: -0.04em; max-width: 13ch; }
.stance-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 80px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
}
.stance-cols p { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 46ch; }
.pillars-title { font-size: clamp(1.875rem, 3.4vw, 3rem); margin: clamp(80px, 8vw, 112px) 0 clamp(32px, 4vw, 48px); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { display: grid; align-content: start; gap: 22px; padding: 10px 10px 28px; border-radius: 24px; background: var(--paper-2); }
.pillar img { width: 100%; aspect-ratio: 280 / 260; object-fit: cover; border-radius: 16px; }
.pillar div { display: grid; gap: 10px; padding-inline: 14px; }
.pillar h3 { margin: 0; font: 600 1.375rem/1.3 var(--sans); letter-spacing: -0.01em; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------------------------------------------------------------- processo */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 340px;
  padding: 32px; border-radius: 24px; background: var(--card-dark); border: 1px solid var(--line-dark);
}
.step-n { font: 600 clamp(3rem, 5vw, 4.5rem)/1 var(--display); letter-spacing: -0.03em; color: var(--orange); font-variant-numeric: tabular-nums; }
.step h3 { margin: 0; font: 600 1.375rem/1.3 var(--sans); letter-spacing: -0.01em; }
.step p { margin: 10px 0 0; color: var(--on-dark-muted); font-size: 15px; line-height: 1.5; }

/* ---------------------------------------------------------------- proposta */
.pitch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 80px); align-items: end; }
.pitch-copy { display: grid; gap: 28px; }
.pitch-copy .h2 { max-width: 13ch; }
.direct { display: grid; gap: 10px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.direct a { font: 600 1.375rem/1.3 var(--sans); letter-spacing: -0.01em; color: var(--paper); text-decoration: none; width: fit-content; }
.direct a:hover { text-decoration: underline; }

.form { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(20px, 3vw, 40px); display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .choices legend { font: 500 15px/1.2 var(--sans); color: var(--ink); padding: 0; }
.field input, .field select {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: #fbfaf6; color: var(--ink);
  font: 400 16px/1.3 var(--sans); caret-color: var(--orange-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f0f0d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px; }
.field input::placeholder { color: var(--muted); }
.field input:hover, .field select:hover { border-color: #b9b4a4; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 35%, transparent); }
.form.was-validated :is(input, select):invalid { border-color: #b3261e; }
.choices { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); font: 500 15px/1.2 var(--sans); color: var(--ink);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--orange-ink); outline-offset: 2px; }
.form .btn { width: 100%; }
.form-status { margin: 0; min-height: 1.4em; font: 500 14px/1.4 var(--sans); color: var(--ink-2); }
/* o card do formulário é claro dentro de seção escura: não herdar o cinza de fundo escuro */
.form .data { margin: 0; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* A seção final chama o pop-up; o formulário mora no dialog.modal. */
.pitch-card { display: grid; gap: 28px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--card-dark); border: 1px solid var(--line-dark); }
.pitch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: passo; }
.pitch-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: baseline; font: 500 1.0625rem/1.4 var(--sans); color: var(--paper); }
.pitch-steps li::before { counter-increment: passo; content: "0" counter(passo); font: 400 14px/1 var(--mono); color: var(--orange); }
.pitch-card .btn { width: 100%; }

.modal {
  width: min(600px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink);
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgb(15 15 13 / 0.72); backdrop-filter: blur(6px); }
html:has(.modal[open]) { overflow: hidden; }
/* o padding fica na caixa interna: clique que cai no próprio dialog é backdrop */
.modal-box { display: grid; gap: 24px; padding: clamp(20px, 3vw, 36px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head > div { display: grid; gap: 10px; }
.modal-head .round { width: 44px; height: 44px; }
.modal .form { padding: 0; border-radius: 0; background: none; }

/* ------------------------------------------------------------------ footer */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand p { margin: 0; color: var(--on-dark-muted); font-size: 15px; max-width: 38ch; }
.footer h2 { font: 400 14px/1.4 var(--mono); color: var(--on-dark-muted); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { text-decoration: none; font-size: 15px; }
.footer ul a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer-base a { text-decoration: none; }

/* ------------------------------------------------ barra fixa (só celular) */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgb(15 15 13 / 0.12);
  transform: translateY(110%); transition: transform 0.35s var(--ease-out);
}
.dock.is-on { transform: none; }
.dock .btn:first-child { flex: 1; }

/* ================================================= páginas de serviço */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 400 14px/1.4 var(--mono); color: var(--muted); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.is-dark .eyebrow { color: var(--on-dark-muted); }
.hero-side { display: grid; gap: 28px; align-content: center; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* topo escuro: o mesmo clima do hero da home, com uma loja real em tela */
.page-top { background: radial-gradient(640px 640px at 74% 56%, rgb(255 87 1 / 0.14), transparent 70%), var(--ink); overflow: hidden; }
.split-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 96px) clamp(56px, 7vw, 112px); }
.split-hero .h1 { font-size: clamp(2.75rem, 4.6vw, 4.25rem); }
.split-hero .proof { max-width: none; flex-wrap: nowrap; gap: 20px 32px; }
.split-hero .proof div { flex: 1 1 0; min-width: 0; align-content: start; }

/* navegador + celular */
.devices { position: relative; margin: 0; padding: 28px 0 72px; }
.browser { width: 86%; overflow: hidden; border-radius: 16px; background: var(--card-dark); border: 1px solid var(--line-dark); box-shadow: 0 24px 48px rgb(0 0 0 / 0.45); }
.devices:not(:has(.phone)) .browser { width: 100%; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3935; }
.browser-bar .data { margin-left: 10px; font-size: 13px; color: var(--on-dark-muted); }
.browser img { width: 100%; aspect-ratio: 1164 / 656; object-fit: cover; object-position: top center; }
.phone { position: absolute; right: 0; bottom: 0; width: 27%; overflow: hidden; border: 6px solid var(--line-dark); border-radius: 30px; background: var(--ink); box-shadow: 0 24px 48px rgb(0 0 0 / 0.45); }
.phone img { width: 100%; aspect-ratio: 540 / 960; object-fit: cover; object-position: top center; }
.note { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 14px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 12px 28px rgb(0 0 0 / 0.35); }
.note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.note--a { left: -3%; bottom: 26%; }
.note--b { right: 16%; top: 6px; }
.note--c { left: 34%; bottom: 16px; }

/* atrai / retém / vende */
.triad { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.triad li { display: grid; align-content: start; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.triad-n { font: 600 clamp(1.5rem, 2.2vw, 2rem)/1 var(--display); color: var(--orange-ink); }
.triad img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 16px; }
.triad .h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; }
.triad p { margin: 0; color: var(--ink-2); max-width: 42ch; }

/* o que entra na loja */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { display: grid; align-content: start; gap: 10px; min-height: 250px; padding: 32px; border-radius: 24px; background: var(--paper); }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 28px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0; font: 600 1.375rem/1.3 var(--sans); letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 40ch; }
.feature.is-dark { background: var(--ink); }
.feature.is-dark .feature-icon { background: var(--orange); color: var(--ink); }
.feature.is-dark p { color: var(--on-dark-muted); }

/* vitrine de cases em abas: os radios são a fonte da verdade e o site.js
   (bloco .vitrine) gira sozinho; palco e rodapé empilham as 4 lojas na
   mesma célula e só a marcada aparece. */
.showroom {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas: "head stage" "tabs stage" "foot stage"; grid-template-rows: auto auto 1fr;
  gap: 32px clamp(40px, 6vw, 96px); align-items: start;
}
.showroom-head { grid-area: head; display: grid; gap: 20px; }
.showroom-head .h2 { max-width: 12ch; }
.showroom-tabs { grid-area: tabs; display: grid; }
.store-tab {
  --tab-fg-on: var(--paper); --tab-bg-on: transparent;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px;
  padding: 18px 0 18px 22px; border-top: 1px solid var(--line-dark);
  background: var(--tab-bg, transparent); color: var(--tab-fg, var(--on-dark-muted)); cursor: pointer; transition: color 0.2s, background-color 0.2s;
}
.store-tab:last-child { border-bottom: 1px solid var(--line-dark); }
.store-tab::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--orange); transform: scaleY(var(--bar, 0)); transition: transform 0.3s var(--ease-out); }
.store-tab b { font: 500 1.375rem/1.2 var(--display); letter-spacing: -0.01em; }
.store-tab .data { grid-column: 1; color: inherit; }
.store-tab .store-n { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.store-tab:hover { color: var(--paper); }
.showroom-stage { grid-area: stage; display: grid; }
.showroom-foot { grid-area: foot; display: grid; }
.showroom-stage > *, .showroom-foot > * { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease-out), visibility 0.45s; }
.store-foot { display: grid; gap: 18px; justify-items: start; }
.store-meta { display: flex; justify-content: space-between; align-items: end; gap: 16px; width: 100%; }
.store-cap { display: none; }
.store-foot .progress { width: 100%; flex: none; }
.store-foot .progress span { transform: scaleX(var(--p)); }
.vitrine-radio:nth-of-type(1):checked ~ .showroom-tabs > :nth-child(1),
.vitrine-radio:nth-of-type(2):checked ~ .showroom-tabs > :nth-child(2),
.vitrine-radio:nth-of-type(3):checked ~ .showroom-tabs > :nth-child(3),
.vitrine-radio:nth-of-type(4):checked ~ .showroom-tabs > :nth-child(4) { --tab-fg: var(--tab-fg-on); --tab-bg: var(--tab-bg-on); --bar: 1; }
.vitrine-radio:nth-of-type(1):checked ~ :is(.showroom-stage, .showroom-foot) > :nth-child(1),
.vitrine-radio:nth-of-type(2):checked ~ :is(.showroom-stage, .showroom-foot) > :nth-child(2),
.vitrine-radio:nth-of-type(3):checked ~ :is(.showroom-stage, .showroom-foot) > :nth-child(3),
.vitrine-radio:nth-of-type(4):checked ~ :is(.showroom-stage, .showroom-foot) > :nth-child(4) { opacity: 1; visibility: visible; }
.vitrine-radio:nth-of-type(1):focus-visible ~ .showroom-tabs > :nth-child(1),
.vitrine-radio:nth-of-type(2):focus-visible ~ .showroom-tabs > :nth-child(2),
.vitrine-radio:nth-of-type(3):focus-visible ~ .showroom-tabs > :nth-child(3),
.vitrine-radio:nth-of-type(4):focus-visible ~ .showroom-tabs > :nth-child(4) { outline: 2px solid var(--orange); outline-offset: 2px; }

/* processo em trilho */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.track li { position: relative; display: grid; align-content: start; gap: 10px; padding-top: 44px; }
.track li::before { content: ""; position: absolute; top: 7px; left: 0; right: -32px; height: 1px; background: var(--line); }
.track li:last-child::before { display: none; }
.track li::after { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.track li:last-child::after { background: var(--orange); border-color: var(--orange); }
.track li:last-child .data { color: var(--orange-ink); }
.track .h3 { font-size: clamp(1.375rem, 2vw, 1.875rem); font-weight: 600; }
.track p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* manifesto em laranja */
.manifesto { background: var(--orange); color: var(--ink); }
.manifesto ::selection { background: var(--ink); color: var(--paper); }
.manifesto-inner { display: grid; gap: clamp(28px, 3vw, 40px); }
.manifesto .data { margin: 0; color: var(--ink); }
.manifesto-title { margin: 0; max-width: 24ch; font: 600 clamp(2.75rem, 7.2vw, 6.5rem)/0.96 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.manifesto-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 80px; }
.manifesto .lead { color: var(--ink); max-width: 46ch; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; font: 500 15px/1.2 var(--sans); }

/* ============================================================== soluções */
.sol-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 112px); }
.sol-hero .h1 { max-width: 12ch; }
.index { border-radius: 28px; padding: 32px 32px 12px; box-shadow: 0 24px 48px rgb(15 15 13 / 0.28); }
.index-head { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.index ol { list-style: none; margin: 0; padding: 0; }
.index a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-dark); text-decoration: none; }
.index a > .data { color: var(--orange); }
.index b { display: block; font: 600 1.375rem/1.3 var(--sans); letter-spacing: -0.01em; }
.index small { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: 15px; line-height: 1.4; }
.index a:hover .round { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.sol-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.sol-row--rev .sol-visual { order: 2; }
.sol-visual { margin: 0; overflow: hidden; border-radius: 28px; aspect-ratio: 620 / 460; }
.sol-visual > img { width: 100%; height: 100%; object-fit: cover; }
.sol-visual.is-dark { display: grid; align-items: center; padding: 6% 7% 0; background: radial-gradient(420px 420px at 70% 60%, rgb(255 87 1 / 0.28), transparent 70%), var(--ink); }
.sol-visual .devices { padding: 0 0 48px; }
.sol-copy { display: grid; justify-items: start; gap: 22px; }
.sol-top { display: flex; align-items: center; gap: 14px; }
.sol-n { font: 600 2rem/1 var(--display); color: var(--orange-ink); }
.tag--ink { background: var(--ink); color: var(--paper); }
.sol-copy .h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.sol-copy .lead { max-width: 46ch; }
.sol-copy > .data { margin: 6px 0 -8px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.4; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f0f0d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* escolha rápida: pelo que a pessoa vende */
.pick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pick-card {
  display: flex; flex-direction: column; height: 100%; min-height: 360px; padding: 32px 32px 28px;
  border: 1px solid var(--line-dark); border-radius: 24px; background: var(--card-dark); color: var(--paper); text-decoration: none;
  transition: transform 0.3s var(--ease-out), border-color 0.2s;
}
.pick-card:hover { transform: translateY(-4px); border-color: #3a3935; }
.pick-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 56px; border-radius: 14px; background: var(--paper); color: var(--ink); }
.pick-icon svg { width: 24px; height: 24px; }
.pick-title { margin: 8px 0 40px; font: 500 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--display); letter-spacing: -0.02em; }
.pick-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.pick-foot b { display: block; margin-top: 4px; font: 600 1.375rem/1.3 var(--sans); color: var(--orange); }
.pick-card .round { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.pick-card.is-hot { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.pick-card.is-hot .data, .pick-card.is-hot .pick-foot b { color: var(--ink); }
.pick-card.is-hot .pick-icon { background: var(--ink); color: var(--orange); }
.pick-card.is-hot .pick-foot { border-color: var(--ink); }
.pick-card.is-hot .round { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ------------------------------------------------------------ chat central */
.cc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 128px); }
.cc-hero .h1 { font-size: clamp(2.75rem, 5.2vw, 4.75rem); max-width: 12ch; }
.hours { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hours li { display: inline-flex; align-items: center; gap: 8px; }
.hours li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* conversa ilustrativa: a primeira mensagem é a mesma que o formulário envia */
.chat { margin: 0; overflow: hidden; border-radius: 28px; background: var(--card-dark); border: 1px solid var(--line-dark); box-shadow: 0 24px 48px rgb(0 0 0 / 0.45); }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line-dark); }
.chat-avatar, .chat-send { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.chat-avatar svg { width: 24px; height: 24px; }
.chat-send svg { width: 20px; height: 20px; }
.chat-who { display: grid; gap: 4px; flex: 1; min-width: 0; }
.chat-who b { font: 600 16px/1.2 var(--sans); }
.chat-tag { padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 999px; white-space: nowrap; }
.chat-body { display: grid; gap: 14px; padding: 28px 24px; }
.bubble { display: grid; gap: 8px; max-width: 82%; padding: 14px 16px 12px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.bubble p { margin: 0; }
.bubble time { justify-self: end; font: 400 11px/1 var(--mono); opacity: 0.7; }
.bubble--out { justify-self: end; background: var(--orange); color: var(--ink); border-top-right-radius: 6px; }
.bubble--in { background: #2a2a27; color: var(--paper); border-top-left-radius: 6px; }
.typing { display: flex; gap: 5px; width: fit-content; padding: 16px; border-radius: 18px; background: #2a2a27; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--on-dark-muted); }
.typing i:nth-child(2) { opacity: 0.6; }
.typing i:nth-child(3) { opacity: 0.3; }
.chat-foot { display: flex; align-items: center; gap: 12px; padding: 16px 24px 20px; }
.chat-field { flex: 1; padding: 14px 18px; border-radius: 999px; background: #2a2a27; color: var(--on-dark-muted); font-size: 15px; }

.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.channel { display: flex; flex-direction: column; gap: 24px; min-height: 440px; padding: 32px; border-radius: 24px; background: #fbfaf6; border: 1px solid var(--line); }
.channel-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper-2); color: var(--orange-ink); }
.channel-icon svg { width: 24px; height: 24px; }
.channel h3 { margin: 0; font: 600 1.75rem/1.2 var(--sans); letter-spacing: -0.01em; }
.channel-value { margin: 8px 0 0; font: 500 1.125rem/1.3 var(--sans); color: var(--orange-ink); overflow-wrap: anywhere; }
.channel-best { display: grid; gap: 8px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.channel-best p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.channel .btn { width: 100%; }
.channel.is-dark { background: var(--ink); border-color: var(--ink); }
.channel.is-dark .channel-icon { background: var(--orange); color: var(--ink); }
.channel.is-dark .channel-value { color: var(--orange); }
.channel.is-dark .channel-best { border-color: var(--line-dark); }
.channel.is-dark .channel-best p { color: var(--paper); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.facts li { display: grid; align-content: start; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts .data { color: var(--orange-ink); }
.facts h3 { margin: 0; font: 600 1.375rem/1.3 var(--sans); letter-spacing: -0.01em; }
.facts p { margin: 0; color: var(--ink-2); line-height: 1.5; }

.cc-prep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(40px, 6vw, 80px); align-items: center; }
.cc-list { list-style: none; margin: 0; padding: 12px 32px; border-radius: 28px; background: var(--card-dark); border: 1px solid var(--line-dark); }
.cc-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 18px; padding: 24px 0; }
.cc-list li + li { border-top: 1px solid var(--line-dark); }
.cc-list li::before {
  content: ""; grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f0f0d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.cc-list b { font: 600 18px/1.3 var(--sans); }
.cc-list span { color: var(--on-dark-muted); font-size: 16px; line-height: 1.5; }

.made-by { display: inline-flex; align-items: center; gap: 10px; }
.made-by img { width: 88px; height: auto; }

/* ------------------------------------------------------ documentos legais */
.doc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(40px, 6vw, 80px); align-items: end; padding-block: clamp(40px, 5vw, 64px) clamp(64px, 7vw, 96px); }
.doc-hero .h1 { font-size: clamp(3rem, 6vw, 5.5rem); max-width: 11ch; }
.doc-hero .lead { max-width: 44ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--paper); }
.doc-switch { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; padding: 4px; border: 1px solid var(--line-dark); border-radius: 999px; }
.doc-switch a { padding: 10px 18px; border-radius: 999px; font: 500 14px/1.2 var(--sans); color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.doc-switch a:hover { color: var(--paper); }
.doc-switch a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.doc-summary { display: grid; gap: 16px; padding: 28px; border-radius: 24px; background: rgb(243 241 234 / 0.05); border: 1px solid var(--line-dark); }
.doc-summary > .data { margin: 0; color: var(--orange); }
.doc-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.doc-summary li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.doc-summary b { font: 600 18px/1.3 var(--sans); color: var(--paper); }
.doc-summary span { font-size: 15px; line-height: 1.45; color: var(--on-dark-muted); }

/* sumário fixo ao rolar; no celular vira a barra "Nesta página" */
.doc-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 96px; align-items: start; }
.doc-aside { position: sticky; top: 112px; display: grid; gap: 32px; }
.toc summary { list-style: none; margin-bottom: 16px; color: var(--muted); pointer-events: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 9px 0 9px 16px; border-left: 2px solid var(--line); font: 500 15px/1.35 var(--sans); color: var(--ink-2); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.toc a .data { font-size: 12px; line-height: 1.7; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { border-left-color: var(--orange); color: var(--ink); }
.toc a[aria-current] .data { color: var(--orange-ink); }
.doc-help { display: grid; gap: 12px; justify-items: start; padding: 24px; border-radius: 20px; background: var(--paper-2); }
.doc-help-title { margin: 0; font: 600 17px/1.3 var(--sans); }
.doc-help .data { margin: 0; line-height: 1.7; }
.doc-help .data a, .doc-contact .data a { color: inherit; }

.doc-body { max-width: 860px; }
.doc-sec { display: grid; gap: 18px; padding-block: 48px; border-top: 1px solid var(--line); }
.doc-sec:first-child { padding-top: 0; border-top: 0; }
.doc-sec:last-child { padding-bottom: 0; }
.doc-sec h2 { display: flex; align-items: baseline; gap: 16px; margin: 0; font: 600 clamp(1.375rem, 2.2vw, 1.875rem)/1.2 var(--sans); letter-spacing: -0.015em; }
.doc-sec h2 .data { color: var(--orange-ink); }
.doc-sec > p { margin: 0; font-size: 18px; line-height: 1.66; color: var(--ink-2); }
.doc-sec > p.data { font-size: 13px; color: var(--muted); }
.doc-sec > p a { color: var(--orange-ink); }
.doc-sec strong { font-weight: 600; color: var(--ink); }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { display: grid; grid-template-columns: 6px minmax(0, 1fr); gap: 14px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.doc-list li::before { content: ""; width: 6px; height: 6px; margin-top: 0.72em; border-radius: 1px; background: var(--orange); }
.doc-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc-list--grid li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.doc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doc-cards li { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 18px; background: var(--paper-2); }
.doc-cards b { font: 600 17px/1.35 var(--sans); }
.doc-cards span { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.doc-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 32px 32px 36px; border-radius: 24px; }
.doc-contact-title { margin: 0 0 8px; font: 600 22px/1.3 var(--sans); }
.doc-contact .data { margin: 0; }

/* -------------------------------------------------------------- responsivo */
@media (max-width: 1080px) {
  .cc-hero, .cc-prep { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; gap: 12px; }
  .channel { min-height: 0; }
  .split-hero, .sol-hero, .pitch { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showroom { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "tabs" "stage" "foot"; gap: 28px; }
  .track { grid-template-columns: 1fr; gap: 0; }
  .track li { padding: 0 0 32px 36px; }
  .track li:last-child { padding-bottom: 0; }
  .track li::before { top: 18px; bottom: -3px; left: 7px; right: auto; width: 1px; height: auto; }
  .track li::after { top: 3px; }
  .lead { max-width: 52ch; }
  .reel { width: 58vw; right: -14%; }
  .bento { grid-template-columns: 1fr; }
  .bento-side { grid-auto-rows: auto; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { min-height: 280px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-hero, .doc-grid { grid-template-columns: 1fr; }
  .doc.section { padding-top: 0; }
  .doc-grid { gap: 0; }
  .doc-aside { top: 88px; z-index: 5; gap: 0; margin: 0 calc(var(--gutter) * -1) 40px; }
  .doc-help { display: none; }
  .toc { background: var(--paper-2); border-bottom: 1px solid var(--line); }
  .toc summary { display: flex; justify-content: space-between; margin: 0; padding: 16px var(--gutter); color: var(--ink-2); pointer-events: auto; cursor: pointer; }
  .toc summary::after { content: "↓"; font: 500 16px/1 var(--sans); color: var(--ink); }
  .toc[open] summary::after { content: "↑"; }
  .toc ol { max-height: 60vh; overflow: auto; padding: 0 var(--gutter) 16px; }
  .doc-sec { scroll-margin-top: 48px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav { min-height: 68px; }
  .brand img { width: 116px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .nav-links .btn { margin-top: 16px; }
  .nav-actions { display: flex; align-items: center; gap: 8px; }
  .nav-mobile-cta { display: inline-flex; }
  .ctas .btn { flex: 1 1 100%; }

  /* hero: texto, depois a vitrine em faixa horizontal, depois os números */
  .hero { display: flex; flex-direction: column; background: var(--ink); }
  .hero::before, .hero::after { display: none; }
  .hero-grid { display: contents; }
  .hero-copy { order: 1; gap: 22px; padding: 44px var(--gutter) 0; }
  .reel {
    order: 2; position: relative; top: auto; right: auto; width: auto; height: 400px;
    display: block; transform: none; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 72%, transparent);
    mask-image: linear-gradient(#000 72%, transparent);
  }
  .reel-col:not(:first-child) { display: none; }
  .reel-col:first-child { width: max-content; margin: 88px 0 0 -260px; transform: rotate(6deg); }
  .reel-track { flex-direction: row; gap: 14px; animation-name: reel-x; }
  .reel img { width: 170px; border-width: 5px; border-radius: 24px; }
  .proof { order: 3; flex-direction: column; gap: 0; margin: 0 var(--gutter); padding: 0 0 40px; border-top: 0; }
  .proof div { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; max-width: none; padding-block: 14px; border-top: 1px solid var(--line-dark); }
  .proof dt { font-size: 1.375rem; font-family: var(--sans); font-weight: 600; }

  .strip-inner { grid-template-columns: 1fr; padding-block: 24px; }
  .strip-inner > .data { display: none; }
  .marquee li { gap: 20px; padding-right: 20px; }
  .marquee li::after { width: 6px; height: 6px; }

  .head { flex-direction: column; align-items: flex-start; }
  .carousel-nav { display: none; }
  .carousel-list { gap: 14px; }
  .slide { width: 82vw; }
  .case-shot { aspect-ratio: 316 / 230; border-radius: 20px; }
  .case-card { gap: 14px; }
  .case-link { font-size: 0; gap: 0; }
  .carousel-foot { flex-wrap: wrap; margin-top: 32px; }
  .carousel-foot .btn { width: 100%; }

  .bento-feature .h2 { font-size: 2.125rem; }
  .bento-feature .btn { width: 100%; }
  .bento-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; padding: 22px; border-radius: 20px; }
  .bento-top { display: contents; }
  .bento-card h3 { font-size: 1.25rem; }
  .bento-card .round { grid-row: 1 / span 2; grid-column: 2; }
  .bento-list { display: none; }

  .stance-title { font-size: clamp(2.5rem, 11vw, 2.75rem); line-height: 1; }
  .stance-cols { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; padding-top: 24px; }
  .pillars-title { margin-top: 64px; }
  .pillars {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 280px; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar { scroll-snap-align: start; padding: 8px 8px 22px; gap: 16px; border-radius: 20px; }
  .pillar img { border-radius: 14px; }
  .pillar div { padding-inline: 10px; gap: 6px; }
  .pillar h3 { font-size: 1.25rem; }

  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { flex-direction: row; justify-content: flex-start; align-items: flex-start; gap: 18px; min-height: 0; padding: 22px; border-radius: 20px; }
  .step-n { font-size: 2rem; width: 44px; flex: none; }
  .step h3 { font-size: 1.25rem; }
  .step p { margin-top: 6px; }

  /* páginas de serviço: texto, aparelhos, números */
  .split-hero { display: flex; flex-direction: column; gap: 22px; padding-block: 44px 8px; }
  .split-hero .hero-side { display: contents; }
  .split-hero .devices { order: 1; margin-top: 14px; }
  .split-hero .proof { order: 2; margin: 0; padding: 0 0 32px; }
  .split-hero .proof div { flex: none; }
  .devices { padding: 24px 0 52px; }
  .browser { border-radius: 12px; }
  .browser-bar { height: 28px; padding: 0 10px; gap: 5px; }
  .browser-bar i { width: 7px; height: 7px; }
  .browser-bar .data { font-size: 11px; margin-left: 6px; }
  .phone { width: 30%; border-width: 4px; border-radius: 22px; }
  .note { font-size: 13px; padding: 7px 12px 7px 10px; }
  .note--a { left: -8px; bottom: 18%; }
  .note--b { right: 10%; top: 0; }
  .note--c { display: none; }

  .triad { grid-template-columns: 1fr; gap: 32px; }
  .triad li { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n t" "i i" "p p"; gap: 16px 12px; align-items: baseline; }
  .triad-n { grid-area: n; font-size: 1.75rem; }
  .triad .h3 { grid-area: t; font-size: 1.75rem; }
  .triad img { grid-area: i; }
  .triad p { grid-area: p; }

  .features { grid-template-columns: 1fr; gap: 10px; }
  .feature { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; min-height: 0; padding: 20px; border-radius: 20px; }
  .feature-icon { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature h3 { font-size: 1.0625rem; }

  .showroom-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .showroom-tabs::-webkit-scrollbar { display: none; }
  .store-tab { --tab-fg-on: var(--ink); --tab-bg-on: var(--paper); display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 999px; }
  .store-tab:last-child { border-bottom: 1px solid var(--line-dark); }
  /* a barra lateral vira o ponto laranja da pílula; sem aba marcada ele some e devolve o gap */
  .store-tab::before { position: static; width: calc(7px * var(--bar, 0)); height: 7px; margin-right: calc(-8px + 8px * var(--bar, 0)); border-radius: 50%; transform: none; }
  .store-tab b { font: 500 15px/1.2 var(--sans); }
  .store-tab .data { display: none; }
  .store-cap { display: grid; gap: 4px; }
  .store-cap b { font: 600 1.375rem/1.2 var(--sans); }
  .store-foot .btn { width: 100%; }

  .manifesto-foot { flex-direction: column; align-items: flex-start; }

  .sol-hero { gap: 36px; padding-block: 44px 56px; }
  .index { padding: 22px 20px 6px; border-radius: 24px; }
  .index a { gap: 14px; padding: 16px 0; }
  .index b { font-size: 1.0625rem; }
  .index small { font-size: 14px; }
  .sol-row { grid-template-columns: 1fr; gap: 20px; padding-block: 32px 40px; }
  .sol-row--rev .sol-visual { order: 0; }
  .sol-visual { border-radius: 20px; }
  .sol-copy { gap: 16px; }
  .sol-n { font-size: 1.5rem; }
  .sol-copy .h2 { font-size: 2rem; }
  .sol-copy .ctas { width: 100%; }
  .checks li { font-size: 15px; }
  .checks li::before { width: 22px; height: 22px; background-size: 13px; }

  .pick { grid-template-columns: 1fr; gap: 12px; }
  .pick-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; min-height: 0; padding: 22px 20px 20px; border-radius: 20px; }
  .pick-card:hover { transform: none; }
  .pick-icon { grid-row: 1 / span 2; align-self: center; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .pick-icon svg { width: 20px; height: 20px; }
  .pick-title { margin: 0; font-size: 1.25rem; }
  .pick-foot { grid-column: 1 / -1; margin-top: 16px; padding-top: 14px; }
  .pick-foot b { font-size: 1rem; }
  .pick-card .round { width: 40px; height: 40px; }

  .form { border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; }
  /* no celular o pop-up vira folha presa embaixo */
  .modal { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .modal-box { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; }

  .cc-hero { gap: 32px; padding-block: 40px 64px; }
  .cc-hero .ctas { width: 100%; }
  .hours { flex-direction: column; gap: 8px; }
  .chat { border-radius: 22px; }
  .chat-head { padding: 16px; }
  .chat-avatar { width: 40px; height: 40px; }
  .chat-avatar svg { width: 20px; height: 20px; }
  .chat-tag, .typing, .chat-foot { display: none; }
  .chat-body { padding: 16px; gap: 12px; }
  .bubble { max-width: 88%; font-size: 14px; }
  .channel { gap: 18px; padding: 24px 20px; border-radius: 22px; }
  .channel-icon { width: 48px; height: 48px; }
  .channel h3 { font-size: 1.375rem; }
  .channel-value { font-size: 1rem; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
  .facts h3 { font-size: 1.1875rem; }
  .cc-list { padding: 4px 20px; border-radius: 22px; }
  .cc-list li { grid-template-columns: 24px minmax(0, 1fr); gap: 3px 14px; padding: 18px 0; }
  .cc-list li::before { width: 24px; height: 24px; background-size: 13px; }
  .cc-list b { font-size: 16px; }
  .cc-list span { font-size: 14px; }
  .doc-aside { top: 68px; }
  .doc-switch a { padding: 8px 14px; font-size: 13px; }
  .doc-summary { padding: 22px; }
  .doc-sec { gap: 14px; padding-block: 32px; }
  .doc-sec h2 { flex-direction: column; gap: 8px; }
  .doc-sec > p { font-size: 16px; line-height: 1.62; }
  .doc-list li { font-size: 16px; }
  .doc-list--grid, .doc-cards--2, .doc-cards--3 { grid-template-columns: 1fr; }
  .doc-contact { flex-direction: column; align-items: stretch; padding: 24px 22px; }
  .doc-contact .ctas { width: 100%; }
  .dock { display: flex; }
  .footer { padding-bottom: 116px; }
}

@media (min-width: 861px) {
  .nav-actions { display: contents; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  /* loops infinitos com duração ~0 piscariam: desliga de vez */
  .reel-track, .marquee ul, .typing i { animation: none !important; }
}
