/* =========================================================
   VITOR TATAGIBA | sites e aplicativos
   Sistema visual derivado do logo: verde-petróleo + preto,
   cortes a 30° (a inclinação das hastes do V e do T).
   ========================================================= */

/* ---------- Fontes (hospedadas aqui; só os pesos e larguras usados, em latim) ---------- */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 700 800; font-stretch: 100% 108%; font-display: swap;
  src: url("../assets/fonts/archivo-roman-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/hanken-latin.woff2") format("woff2");
}
/* ---------- Tokens ---------- */
:root {
  --teal: #487D8C;
  --teal-deep: #2F5E6C;
  --teal-soft: #9CC4D0;
  --teal-mist: #E5EDEF;
  --ink: #1A1A1A;
  --paper: #F2F5F6;
  --white: #FFFFFF;
  --gray-700: #34444A;
  --gray-500: #7B8B91;
  --line: #D5DDDF;
  --line-dark: #363B3D;
  --wa: #25D366;
  --wa-hover: #1FB855;

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, "Segoe UI", sans-serif;

  /* escala: capa, título de seção, título de cartão, frase de apoio, texto, nota, mínimo */
  --t1: clamp(2.3rem, 1.1rem + 4.6vw, 4.4rem);
  --t2: clamp(1.75rem, .9rem + 3.1vw, 3.3rem);
  --t3: 1.625rem;
  --t4: 1.25rem;
  --t5: 1.0625rem;
  --t6: .9375rem;
  --t7: .8125rem;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;

  /* chanfro a 30° (tan 30° = .577): 56px de altura → 32px de recuo */
  --cx: 32px;
  --cy: 56px;

  --ease-out: cubic-bezier(.2, .7, .1, 1);

  --shadow-frame: 0 34px 60px -24px rgba(0, 0, 0, .6), 0 14px 26px -14px rgba(0, 0, 0, .45); /* taste-skill-ignore */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }
/* toque rápido, sem o atraso do zoom por toque duplo, e com um realce de toque da cor da marca */
a, button, input, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(72, 125, 140, .22); }
::selection { background: var(--teal); color: var(--white); }

:focus-visible { outline: 3px solid var(--teal-soft); outline-offset: 4px; }
.section--paper :focus-visible, .section:not([class*="--"]) :focus-visible { outline-color: var(--teal-deep); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--ink); color: var(--white);
  font: 600 var(--t6) var(--font-body); text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -.028em;
  line-height: 1.02;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--em, var(--teal-deep)); }
.section .display { position: relative; padding-top: 30px; }
.section .display::before {
  content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 22px; background: var(--accent); transform: skewX(-30deg);
}

.label { display: inline-flex; align-items: center; gap: .7em; font: 700 var(--t6)/1.3 var(--font-body); }
.label::before { content: ""; flex: none; width: .45em; height: 1.1em; background: currentColor; transform: skewX(-30deg); }
.lead {
  font-size: var(--t4);
  line-height: 1.55; color: var(--muted, var(--gray-700)); max-width: 58ch;
}

/* ---------- Seções (cor de fundo por variável) ---------- */
.section {
  --bg: var(--white); --fg: var(--ink); --muted: var(--gray-700);
  --em: var(--teal); --accent: var(--teal); --rule: var(--line);
  background: var(--bg); color: var(--fg);
  padding-block: clamp(72px, 9vw, 128px);
  overflow-x: clip;
}
.section--paper { --bg: var(--paper); }
.section--ink {
  --bg: var(--ink); --fg: var(--white); --muted: #B7C4C8;
  --em: var(--teal-soft); --accent: var(--teal-soft); --rule: var(--line-dark);
}
.section--deep {
  --bg: var(--teal-deep); --fg: var(--white); --muted: #FFFFFF;
  --em: var(--white); --accent: var(--teal-soft); --rule: rgba(255, 255, 255, .3);
}
.section--teal {
  --bg: var(--teal); --fg: var(--ink); --muted: var(--white);
  --em: var(--white); --accent: var(--ink); --rule: rgba(255, 255, 255, .45);
}
.sec-head {
  display: grid; gap: 22px; justify-items: start;
  max-width: 900px; margin-bottom: clamp(56px, 8vw, 112px);
}
.sec-head .display { font-size: var(--t2); }

/* ---------- Botões (paralelogramo a 30°) ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--white); --b-hover: var(--teal-deep);
  --k: var(--skew, 16px); --px: 2.7rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 56px; padding: 0 calc(var(--px) + var(--k));
  font: 700 var(--t5)/1 var(--font-display); font-stretch: 108%; letter-spacing: .01em;
  color: var(--b-fg); text-decoration: none; text-align: center;
  background: var(--b-bg); border: 0; cursor: pointer;
  /* a caixa já tem a inclinação de 30° do logo: o preenchimento é do próprio botão */
  clip-path: polygon(calc(2 * var(--k)) 0, 100% 0, calc(100% - 2 * var(--k)) 100%, 0 100%);
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--b-hover); }
.btn:focus-visible { outline: 0; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; background: var(--b-hover); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--ink { --b-bg: var(--ink); --b-fg: var(--white); --b-hover: #000; }
.btn--teal { --b-bg: var(--teal); --b-fg: var(--white); --b-hover: var(--teal-deep); }
.btn--white { --b-bg: var(--white); --b-fg: var(--ink); --b-hover: var(--teal-mist); }
.btn--wa { --b-bg: var(--wa); --b-fg: var(--ink); --b-hover: var(--wa-hover); }
.btn--wa svg, .btn--wa:hover svg { transform: none; width: 22px; height: 22px; }
.btn--line { --b-bg: transparent; --b-fg: var(--white); --b-hover: transparent; isolation: isolate; padding: 0 var(--px); margin-left: var(--k); background: none; clip-path: none; }
.btn--line::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid currentColor;
  transform: skewX(-30deg); transition: background .2s ease;
}
.btn--line:hover { background: none; }
.btn--line:hover::before { background: rgba(255, 255, 255, .16); }
.btn--line:focus-visible { outline: 3px solid var(--teal-soft); outline-offset: 4px; }
.btn--sm { --skew: 13px; --px: 2.1rem; min-height: 44px; font-size: var(--t6); }
.btn--lg { --skew: 18px; --px: 3.2rem; min-height: 64px; }

/* ---------- Header ---------- */
.site-header {
  --hfg: var(--white); --hmark: var(--ink);
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--hfg); transition: background .25s ease, height .25s ease, translate .4s var(--ease-out);
}
.site-header.is-solid { --hmark: var(--teal); background: rgba(26, 26, 26, .96); height: 64px; }
.site-header.is-hidden { translate: 0 -100%; }
.site-header:focus-within { translate: none; }

/* ---------- Barra lateral própria (substitui a barra de rolagem padrão) ---------- */
html.has-rail { scrollbar-width: none; }
html.has-rail::-webkit-scrollbar { width: 0; height: 0; display: none; }
.rail {
  position: fixed; z-index: 55; right: 18px; top: 96px; bottom: 124px; width: 24px;
  pointer-events: none; transition: opacity .3s ease;
}
.rail[hidden] { display: none; }
body.menu-open .rail { opacity: 0; visibility: hidden; }
.rail-track { position: relative; height: 100%; }
.rail-hit { position: absolute; inset: 0; pointer-events: auto; cursor: pointer; }
.rail-tick {
  position: absolute; left: 0; right: 0; height: 28px; margin-top: -14px; z-index: 1;
  display: flex; align-items: center; justify-content: center; pointer-events: auto; text-decoration: none;
}
.rail-tick span {
  display: block; width: 8px; height: 3px; background: #7B8B91; transform: skewX(-30deg);
  transition: width .35s var(--ease-out), height .2s ease, background .2s ease;
}
.rail-tick:hover span, .rail-tick:focus-visible span { width: 16px; background: var(--teal); }
.rail-tick.is-on span { width: 18px; height: 4px; background: var(--teal-soft); outline: 1.5px solid var(--ink); }
.rail-thumb {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; pointer-events: auto; cursor: grab; touch-action: none;
}
.rail-thumb::before {
  content: ""; position: absolute; inset: 0 7px; background: var(--teal-soft);
  outline: 2px solid var(--ink); transform: skewX(-30deg);
}
.rail.is-drag .rail-thumb { cursor: grabbing; }
.rail-label, .rail-tick::after {
  position: absolute; right: calc(100% + 8px); top: 50%; padding: 8px 14px; background: var(--ink); color: var(--white);
  font: 600 var(--t7)/1 var(--font-body); white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  opacity: 0; translate: 12px -50%; transition: opacity .25s ease, translate .35s var(--ease-out); pointer-events: none;
}
.rail-tick::after { content: attr(data-label); }
.rail-tick:hover::after, .rail-tick:focus-visible::after { opacity: 1; translate: 0 -50%; }
.rail.is-live .rail-label, .rail.is-drag .rail-label, .rail-thumb:hover .rail-label { opacity: 1; translate: 0 -50%; }
/* o rótulo do trilho não cobre títulos largos em telas médias e pequenas (aparece só ao arrastar) */
/* o rótulo do trilho só aparece ao arrastar a peça (não cobre o conteúdo enquanto se rola) */
.rail.is-live:not(.is-drag) .rail-label { opacity: 0; }
@media (max-width: 1100px) {
  .rail { right: 4px; width: 20px; }
}
@media (max-width: 640px) {
  .rail { right: 3px; top: 84px; bottom: 104px; width: 16px; }
  .rail-tick span { width: 6px; }
  .rail-tick.is-on span, .rail-tick:hover span { width: 12px; }
  .rail-thumb::before { inset: 0 4px; }
  .rail-tick::after { display: none; }
  .rail.is-live:not(.is-drag) .rail-label { opacity: 0; }
}
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand::before { content: ""; position: absolute; inset: -12px -6px; }
.footer .brand::before { inset: -12px -6px -6px; }
.brand-mark { width: 40px; height: auto; flex: none; color: var(--hmark); transition: color .25s ease; }
.brand-name { font: 800 var(--t5)/1 var(--font-display); font-stretch: 108%; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 36px); }
.nav a {
  position: relative; padding: 8px 0; text-decoration: none; white-space: nowrap;
  font: 600 var(--t6)/1 var(--font-body); letter-spacing: .01em;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-tools { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; }
.site-header .btn { --b-bg: var(--white); --b-fg: var(--ink); --b-hover: var(--teal-mist); }
.site-header.is-solid .btn { --b-bg: var(--teal); --b-fg: var(--white); --b-hover: var(--teal-deep); }

.sound {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 4px;
  background: none; border: 0; cursor: pointer;
  font: 600 var(--t6)/1 var(--font-body);
}
.sound::before { content: ""; position: absolute; inset: -6px -3px; }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.sound-bars i { display: block; width: 3px; height: 8px; background: currentColor; transform: skewX(-30deg); transform-origin: bottom; }
.sound.is-on .sound-bars i { animation: eq 1s ease-in-out infinite; }
.sound.is-on .sound-bars i:nth-child(2) { animation-delay: .2s; }
.sound.is-on .sound-bars i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }

.menu-btn {
  display: none; position: relative; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 26px; }
body.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* idioma: bandeiras no cabeçalho */
.langs { display: flex; align-items: center; gap: 12px; }
.lang-flag {
  position: relative; display: block; width: 32px; height: 22px; padding: 0; border: 0; background: none;
  cursor: pointer; opacity: .85; transition: opacity .2s ease, transform .25s var(--ease-out);
}
.lang-flag::before { content: ""; position: absolute; inset: -11px -4px; }
.lang-flag svg { display: block; width: 100%; height: 100%; clip-path: inset(0 round 3px); }
.lang-flag:hover, .lang-flag:focus-visible { opacity: 1; transform: translateY(-1px); }
.lang-flag.is-on { opacity: 1; }
.lang-flag::after {
  content: ""; position: absolute; left: 5px; right: 5px; bottom: -9px; height: 3px;
  background: var(--teal-soft); transform: skewX(-30deg) scaleX(0); transition: transform .3s var(--ease-out);
}
.lang-flag.is-on::after { transform: skewX(-30deg) scaleX(1); }
@media (max-width: 480px) {
  .lang-flag::before { inset: -14px -2px; }
  .brand { gap: 10px; }
  .brand-mark { width: 34px; }
  .brand-name { white-space: nowrap; font-size: .92rem; }
  .header-tools { gap: 8px; }
  .langs { gap: 6px; }
  .lang-flag { width: 26px; height: 18px; }
}

@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .menu-btn { display: block; }
  .header-tools .btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; padding: calc(var(--header-h) + 16px) var(--gutter) 48px;
    background: var(--ink); color: var(--white); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav a { font: 800 clamp(2rem, 8vw, 3rem)/1.15 var(--font-display); font-stretch: 108%; letter-spacing: -.02em; padding: 6px 0; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { visibility: visible; opacity: 1; transform: none; }
  body.menu-open .site-header { --hmark: var(--teal); background: transparent; translate: none; }
  body.menu-open .wa-float { display: none; }
}
@media (max-width: 480px) { .sound-label { display: none; } }
@media (max-width: 400px) {
  .header-row { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; }
  .brand-name { font-size: .84rem; }
  .header-tools { gap: 4px; }
  .langs { gap: 4px; }
  .lang-flag { width: 24px; height: 16px; }
  .lang-flag::before { inset: -14px -1px; }
  .sound { padding: 8px 2px; }
}
@media (max-width: 340px) {
  .brand { gap: 6px; }
  .brand-mark { width: 26px; }
  .brand-name { font-size: .76rem; }
  .header-tools { gap: 3px; }
  .langs { gap: 3px; }
  .lang-flag { width: 22px; height: 15px; }
}

/* ---------- Hero: a tela do cliente ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--teal); color: var(--white); }
.hero::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 58%; width: 90%;
  background: var(--ink); transform: skewX(-30deg);
  animation: slab-in 1.3s var(--ease-out) backwards;
}
@keyframes slab-in { from { translate: 38% 0; } }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 88px); align-items: center;
  min-height: min(100svh, 960px);
  padding-block: calc(var(--header-h) + clamp(24px, 3vw, 44px)) clamp(44px, 5vw, 72px);
}
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.2vw, 28px); justify-items: start; min-width: 0; }
.hero-title {
  font: 800 var(--t1)/1 var(--font-display);
  font-stretch: 100%; letter-spacing: -.03em; word-spacing: .1em; color: var(--ink);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-title .line > span { display: block; animation: rise .9s cubic-bezier(.2, .7, .1, 1) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.hero-title .line:nth-child(3) > span { animation-delay: .16s; }
.hero-title .ask { color: var(--white); }
@keyframes rise { from { transform: translateY(106%); } to { transform: none; } }
.hero .lead { color: var(--white); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 4px; }

/* campo: o nome do negócio alimenta a tela ao lado */
.biz { display: grid; gap: 12px; width: min(100%, 540px); margin-top: 6px; }
.biz label { font: 700 var(--t5)/1.3 var(--font-display); font-stretch: 104%; letter-spacing: -.005em; }
.biz-field {
  --k: 20px; position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 0 34px 0 38px;
  background: var(--white); color: var(--ink);
  clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
}
.biz-field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.biz-field:focus-within::after { transform: scaleX(1); }
.biz-field svg { width: 22px; height: 22px; flex: none; color: var(--teal-deep); }
.biz-field input {
  flex: 1 1 auto; width: 0; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: 700 var(--t4)/1.2 var(--font-display); font-stretch: 104%; letter-spacing: -.01em;
}
.biz-field input::placeholder { color: #6B7C82; opacity: 1; font-weight: 600; }
.biz-hint { font-size: var(--t6); color: var(--white); max-width: 44ch; }
.cta-note { font-size: var(--t6); color: var(--white); max-width: 44ch; text-wrap: balance; }

/* a tela do celular do cliente: de um lado o que ele vê hoje, do outro o que poderia ver */
.demo { position: relative; display: grid; justify-items: end; gap: 18px; }
.demo .demo-tabs { justify-self: end; }
.demo-note { text-align: right; padding-right: 88px; }
.phone-demo {
  --pw: clamp(250px, 22vw, 336px);
  container-type: inline-size;
  width: var(--pw); aspect-ratio: 9 / 18; padding: 9px; border-radius: 40px;
  background: #0B0C0D; box-shadow: var(--shadow-frame), 0 0 0 2px rgba(255, 255, 255, .14); /* taste-skill-ignore */
}
.pd-body { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr; border-radius: 31px; overflow: hidden; background: #fff; }
.pd-search {
  display: flex; align-items: center; gap: 3cqw; margin: 6.5cqw 5cqw 3cqw; padding: 0 4.5cqw; min-height: 12cqw;
  border-radius: 99px; background: #EEF1F2; color: var(--ink); font: 600 4.3cqw/1.2 var(--font-body);
}
.pd-search svg { width: 5.4cqw; height: 5.4cqw; flex: none; color: #6B7C82; }
.pd-q { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-q::after {
  content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -.15em;
  background: var(--ink); animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.pd-results { position: relative; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; --xt: 0px; --xb: -300px; --xm: -150px; }
.pd-layer { position: absolute; inset: 0; display: grid; align-content: start; gap: 4.2cqw; padding: 11.5cqw 4.5cqw 4cqw; font-size: 4cqw; line-height: 1.3; }
.pd-hoje { background: #F0F2F3; color: #4F5E64; }
.pd-depois { background: #fff; color: var(--ink); clip-path: polygon(var(--xt) 0, 100% 0, 100% 100%, var(--xb) 100%); }
.pd-tag { position: absolute; top: 2.8cqw; padding: 1.6cqw 3.4cqw; border-radius: 99px; font: 700 3.5cqw/1 var(--font-body); }
.pd-hoje .pd-tag { left: 4.5cqw; background: #DFE4E6; color: #55656B; }
.pd-depois .pd-tag { right: 4.5cqw; background: var(--teal); color: #fff; }

.pd-card { display: grid; gap: 1.3cqw; }
.pd-map {
  position: relative; display: grid; place-items: center; height: 31cqw; margin-bottom: 2.4cqw; border-radius: 3cqw;
  background:
    linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, .85) 44% 49%, transparent 49%), /* taste-skill-ignore */
    linear-gradient(30deg, transparent 58%, rgba(255, 255, 255, .85) 58% 62%, transparent 62%), /* taste-skill-ignore */
    #C9D6DA;
}
.pd-map svg { width: 11cqw; height: 11cqw; translate: 0 1cqw; color: var(--teal); filter: drop-shadow(0 1.5cqw 1.2cqw rgba(0, 0, 0, .25)); } /* taste-skill-ignore */
.pd-hoje .pd-map { background-color: #D8DEE0; }
.pd-hoje .pd-map svg { color: #9AA7AB; }
.pd-name {
  font: 800 5.4cqw/1.15 var(--font-display); font-stretch: 104%; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.pd-hoje .pd-name { color: #4F5E64; }
.pd-dim { color: #55646A; }
.pd-card .pd-dim { font-size: 3.8cqw; }
.pd-open { color: var(--teal-deep); font-weight: 700; }
.pd-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; margin-top: 2cqw; }
.pd-acts span {
  display: grid; justify-items: center; gap: 1.2cqw; padding: 2.4cqw 0; background: var(--teal-mist); color: var(--teal-deep);
  font: 700 3.4cqw/1 var(--font-body);
}
.pd-acts svg { width: 5.4cqw; height: 5.4cqw; }
.pd-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqw; margin-top: 2cqw; }
.pd-stars { display: flex; align-items: center; gap: 2.4cqw; margin-top: 1cqw; font-size: 3.5cqw; font-weight: 600; }
.pd-star-row { display: flex; gap: .6cqw; color: var(--teal); }
.pd-star-row svg { width: 4.2cqw; height: 4.2cqw; }
.pd-hoje .pd-star-row { color: #B4BEC2; }
.pd-photos i { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--teal-soft), var(--teal)); } /* taste-skill-ignore */
.pd-photos i:nth-child(2) { background: linear-gradient(135deg, var(--teal-deep), var(--ink)); } /* taste-skill-ignore */
.pd-photos i:nth-child(3) { background: linear-gradient(135deg, var(--teal-mist), var(--teal-soft)); } /* taste-skill-ignore */

.pd-none { display: grid; gap: 3.2cqw; padding-top: 3cqw; }
.pd-none b { font: 800 4.8cqw/1.15 var(--font-display); color: #4F5E64; }
.pd-ghost { display: flex; align-items: center; gap: 3.4cqw; opacity: .8; }
.pd-ghost i { flex: none; width: 14cqw; height: 14cqw; background: #DFE4E6; }
.pd-ghost span { flex: 1; display: grid; gap: 2cqw; }
.pd-ghost span::before, .pd-ghost span::after { content: ""; height: 2.8cqw; border-radius: 99px; background: #DFE4E6; }
.pd-ghost span::after { width: 58%; }

.pd-site { display: grid; gap: 1.8cqw; }
.pd-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 3.4cqw; color: #55646A; }
.pd-hero {
  display: grid; gap: 2.8cqw; align-content: center; min-height: 31cqw; padding: 4.5cqw; background: var(--ink); color: #fff;
  clip-path: polygon(3cqw 0, 100% 0, 100% calc(100% - 3cqw), calc(100% - 3cqw) 100%, 0 100%, 0 3cqw);
}
.pd-hero b {
  font: 800 6.2cqw/1.05 var(--font-display); font-stretch: 106%; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.pd-hero span {
  justify-self: start; padding: 2cqw 4.6cqw; background: var(--teal); color: #fff; font: 700 3.4cqw/1 var(--font-display);
  clip-path: polygon(2cqw 0, 100% 0, calc(100% - 2cqw) 100%, 0 100%);
}
.pd-app { display: flex; align-items: center; gap: 3.4cqw; padding: 3cqw 3.4cqw; background: #F2F5F6; border-radius: 2.6cqw; }
.pd-ico { flex: none; display: grid; place-items: center; width: 11.5cqw; height: 11.5cqw; border-radius: 2.8cqw; background: var(--teal); color: #fff; font: 800 5.6cqw/1 var(--font-display); }
.pd-app-t { flex: 1; min-width: 0; display: grid; }
.pd-app-t small { font-size: 3.2cqw; color: #55646A; }
.pd-app-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 4.2cqw/1.2 var(--font-display); }
.pd-install { flex: none; padding: 2cqw 4cqw; border-radius: 99px; background: var(--ink); color: #fff; font: 700 3.5cqw/1 var(--font-body); }

/* a linha a 30° (o ângulo do logo) que separa os dois lados */
.pd-line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--xm); width: 0; pointer-events: none; }
.pd-line::before {
  content: ""; position: absolute; top: -2px; bottom: -2px; left: -1.5px; width: 3px;
  background: var(--ink); box-shadow: 0 0 0 1.5px #fff; transform: skewX(-30deg); /* taste-skill-ignore */
}
.pd-grip {
  position: absolute; z-index: 4; top: var(--gy, 50%); left: var(--gx, -99px); width: 11cqw; height: 15cqw; translate: -50% -50%; pointer-events: none;
  background: var(--ink); box-shadow: 0 0 0 1.5px #fff, 0 2cqw 4cqw rgba(0, 0, 0, .35); transform: skewX(-30deg); /* taste-skill-ignore */
}
.pd-grip::before, .pd-grip::after { content: ""; position: absolute; top: 50%; translate: 0 -50%; border: 1.7cqw solid transparent; }
.pd-grip::before { left: 1.1cqw; border-left-width: 0; border-right-color: #fff; }
.pd-grip::after { right: 1.1cqw; border-right-width: 0; border-left-color: #fff; }

.demo-tabs, .demo-note { display: none; }
.js .demo-tabs { display: flex; gap: 10px; }
.js .demo-note { display: block; }
/* com JavaScript a tela começa em "Hoje" (sem piscar); sem JavaScript fica só "Com o Vitor" */
.js .pd-results { --xt: 3000px; --xb: 3000px; --xm: 3000px; }
.demo-tab {
  min-height: 44px; padding: 0 26px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .14); color: var(--white);
  font: 700 var(--t6)/1 var(--font-display); font-stretch: 104%;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .2s ease, color .2s ease;
}
.demo-tab:hover { background: rgba(255, 255, 255, .26); }
.demo-tab[aria-pressed="true"] { background: var(--teal-soft); color: var(--ink); }
.demo-note { font-size: var(--t6); color: var(--white); text-align: center; }
.demo:has(.sr-only:focus-visible) .phone-demo { outline: 3px solid var(--teal-soft); outline-offset: 6px; }

.browser {
  background: #0E0F10; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-frame); /* taste-skill-ignore */
  translate: calc(var(--mx, 0) * -10px) calc(var(--my, 0) * -8px); transition: translate .35s ease-out;
}
.browser-bar {
  display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px;
  background: #25292B; color: #AEBDC2;
  font: 500 .75rem/1 var(--font-body); letter-spacing: .03em;
}
.browser-bar::before { content: ""; width: 6px; height: 12px; background: var(--teal); transform: skewX(-30deg); }
.browser-screen { position: relative; aspect-ratio: 16 / 10; background: #202324; }
.browser-screen img, .phone-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top; opacity: 0;
  translate: calc(var(--dir, 1) * 7%) 0; transition: opacity .6s ease, translate .8s var(--ease-out);
}
.browser-screen img.is-on, .phone-screen img.is-on { opacity: 1; translate: 0 0; }
.browser-screen img.is-out, .phone-screen img.is-out { opacity: 0; translate: calc(var(--dir, 1) * -7%) 0; }
.phone {
  position: absolute; left: -48px; bottom: -44px; width: 128px; aspect-ratio: 9 / 19;
  padding: 5px; background: #0E0F10; border-radius: 24px; box-shadow: var(--shadow-frame); /* taste-skill-ignore */
  translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 10px); transition: translate .35s ease-out;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 19px; overflow: hidden; background: #202324; }

@media (max-width: 920px) {
  .demo { justify-items: center; }
  .demo .demo-tabs { justify-self: center; }
  .demo-note { text-align: center; padding-right: 0; }
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; min-height: 0; padding-bottom: 0; }
  .hero-title { font-size: clamp(2.2rem, 1rem + 6.6vw, 3.4rem); }
  .demo {
    margin-inline: calc(var(--gutter) * -1); padding: 48px var(--gutter) 40px; background: var(--ink);
    clip-path: polygon(var(--cx) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cy));
  }
  .phone-demo { --pw: min(76vw, 300px); }
}
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; }
  .phone { width: 92px; right: -6px; border-radius: 20px; }
  .phone-screen { border-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) { .pd-q::after { animation: none; } }

/* ---------- Realidade ---------- */
.belief-title { font-size: var(--t2); }
.belief-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.belief-head { display: grid; gap: 28px; justify-items: start; }
.belief-points { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.point { display: grid; gap: 14px; align-content: start; justify-items: start; }
.point::before {
  content: ""; width: 10px; height: 28px; margin-bottom: 8px; background: var(--accent);
  transform: skewX(-30deg); transform-origin: bottom left; transition: scale .9s var(--ease-out) .15s;
}
.point h3 { font: 800 var(--t3)/1.15 var(--font-display); font-stretch: 108%; letter-spacing: -.02em; }
.point p { color: var(--muted); max-width: 44ch; font-size: var(--t5); }
@media (max-width: 860px) {
  .belief-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Serviços ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.shard {
  clip-path: polygon(var(--cx) 0, 100% 0, 100% calc(100% - var(--cy)), calc(100% - var(--cx)) 100%, 0 100%, 0 var(--cy));
  position: relative; overflow: hidden;
  padding: clamp(40px, 4.8vw, 72px) clamp(32px, 4vw, 64px) clamp(48px, 5vw, 76px);
  min-height: 0;
}
.shard--teal { background: var(--teal); color: var(--white); }
.shard--ink { background: var(--ink); color: var(--white); }
.shard--deep { background: var(--teal-deep); color: var(--white); }
.shard--wide { grid-column: 1 / -1; min-height: 520px; }
.shard-body { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; align-content: start; }
.shard--ink .shard-list { width: min(100%, 19rem); }
.shard h3 {
  font: 800 var(--t2)/.98 var(--font-display);
  font-stretch: 108%; letter-spacing: -.035em;
}
.shard-tag { font: 700 var(--t4)/1.3 var(--font-display); font-stretch: 104%; letter-spacing: -.01em; }
.shard--teal .shard-tag { color: var(--ink); }
.shard--ink .shard-tag, .shard--deep .shard-tag { color: var(--teal-soft); }
.shard-list { display: grid; gap: 16px; margin-block: 8px 16px; }
.shard-list li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: baseline; }
.shard-list li::before { content: ""; width: 6px; height: 14px; background: var(--ink); transform: skewX(-30deg); }
.shard--ink .shard-list li::before { background: var(--teal); }
.shard--deep .shard-list li::before { background: var(--teal-soft); }
.shard-actions { display: grid; gap: 22px; justify-items: start; }
.shard-more {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; margin-left: var(--skew, 16px);
  font: 600 var(--t6)/1.2 var(--font-body); text-decoration: none;
  color: var(--white); border-bottom: 2px solid var(--teal-soft); transition: color .2s ease, border-color .2s ease;
}
.shard-more::before { content: ""; position: absolute; inset: -14px -4px -8px; }
.shard-more:hover { color: var(--teal-soft); }
.shard-more svg { width: 16px; height: 16px; }

/* tela de aplicativo (ilustrativa) */
.shard--wide .app-wrap { right: clamp(28px, 9%, 150px); }
.app-wrap { position: absolute; right: 28px; bottom: -150px; z-index: 0; display: grid; justify-items: center; gap: 14px; }
.app {
  width: 212px; padding: 12px 12px 0; height: 470px;
  background: #0E0F10; border: 6px solid #2B2F31; border-radius: 34px;
  font-size: .72rem; color: #fff; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); /* taste-skill-ignore */
}
.app-status { display: flex; justify-content: space-between; font: 500 var(--t7)/1 var(--font-body); color: #B7C4C8; padding: 4px 6px 0; }
.app-top { display: flex; align-items: center; gap: 10px; }
.app-top svg { width: 32px; height: auto; flex: none; color: var(--teal); }
.app-top small { display: block; color: #B7C4C8; font-size: var(--t7); }
.app-top strong { font: 800 .95rem/1.1 var(--font-display); }
.app-card { background: var(--teal); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.app-card small { font: 500 var(--t7)/1 var(--font-body); color: #FFFFFF; }
.app-card strong { font: 800 1.35rem/1.1 var(--font-display); }
.app-chip { justify-self: start; margin-top: 6px; padding: 5px 10px; background: var(--ink); font: 600 var(--t7)/1 var(--font-body); border-radius: 99px; }
.app-rows { display: grid; gap: 8px; align-content: start; }
.app-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 12px; background: #1E2224; border-radius: 10px; }
.app-row em { font-style: normal; color: var(--teal-soft); font-weight: 600; }
.app-meter { display: flex; gap: 3px; }
.app-meter i { width: 5px; height: 12px; background: var(--teal); transform: skewX(-30deg); }
.app-meter i.off { background: #3A4043; }
.app-tabs { display: flex; justify-content: space-around; padding: 14px 0 16px; border-top: 1px solid #2B2F31; } /* taste-skill-ignore */
.app-tabs i { width: 22px; height: 4px; background: #3A4043; border-radius: 2px; }
.app-tabs i.on { background: var(--teal); }
.app-note { font: 500 var(--t7)/1 var(--font-body); color: #B7C4C8; }

@media (max-width: 1100px) {
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .shard { min-height: 0; }
  .shard--ink .shard-list { width: auto; }
  .app-wrap, .shard--wide .app-wrap { position: relative; right: auto; bottom: auto; margin: 40px auto -190px; }
  .shard--wide { min-height: 0; }
}


/* ---------- Google Maps ---------- */
.maps-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.maps-copy { display: grid; gap: 22px; justify-items: start; }
.maps-copy .display { font-size: var(--t2); }
.maps-copy .lead { max-width: 50ch; }
.maps-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px); margin-top: clamp(16px, 3vw, 40px); }
.maps-col { display: grid; gap: 18px; align-content: start; }
.maps-col h3 { font: 800 var(--t4)/1.15 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; }
.maps-col ul { display: grid; gap: 14px; }
.maps-col li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; color: var(--muted); }
.maps-col li::before { content: ""; width: 6px; height: 14px; background: var(--accent); transform: skewX(-30deg); }

/* duas fichas lado a lado: sem cuidado x configurada (ilustrativas) */
.maps-demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
.maps-note { order: -1; grid-column: 1 / -1; font: 500 var(--t7)/1.3 var(--font-body); color: var(--gray-700); }
.gcard {
  --gx: 20px; --gy: 36px;
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  clip-path: polygon(var(--gx) 0, 100% 0, 100% calc(100% - var(--gy)), calc(100% - var(--gx)) 100%, 0 100%, 0 var(--gy));
}
.gcard--off { background: #EDF1F2; color: var(--gray-700); }
.gcard--on { background: var(--ink); color: var(--white); }
.gcard-tag {
  position: absolute; z-index: 1; top: 14px; left: 26px; padding: 7px 12px 7px 14px;
  font: 700 var(--t7)/1 var(--font-body);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.gcard--off .gcard-tag { background: var(--white); color: var(--gray-700); }
.gcard--on .gcard-tag { background: var(--teal-soft); color: var(--ink); }
.gcard-map {
  height: 128px; display: grid; place-items: center;
  background:
    linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, .85) 44% 49%, transparent 49%), /* taste-skill-ignore */
    linear-gradient(30deg, transparent 58%, rgba(255, 255, 255, .85) 58% 62%, transparent 62%), /* taste-skill-ignore */
    linear-gradient(60deg, transparent 22%, rgba(255, 255, 255, .55) 22% 25%, transparent 25%), /* taste-skill-ignore */
    #C9D6DA;
}
.gcard--off .gcard-map { background-color: #D3DADC; }
.gcard-map svg { width: 38px; height: 38px; translate: 0 6px; filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .25)); } /* taste-skill-ignore */
.gcard--off .gcard-map svg { color: #8E9B9F; }
.gcard--on .gcard-map svg { color: var(--teal); }
.gcard-body { display: flex; flex-direction: column; padding: 22px clamp(18px, 2vw, 26px) 40px; }
.gcard-name { font: 800 var(--t4)/1.1 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; }
.gcard--off .gcard-name { color: var(--gray-700); }
.gcard-cat { margin-top: 4px; font-size: var(--t6); opacity: .85; }
.gcard-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.gcard-actions span {
  display: grid; justify-items: center; gap: 6px; padding: 10px 2px 9px; background: #25292B; color: var(--teal-soft);
  font: 600 var(--t7)/1 var(--font-body);
}
.gcard-actions svg { width: 20px; height: 20px; }
.gcard-rows { display: grid; gap: 13px; margin-top: 18px; }
.gline { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: center; font-size: var(--t6); line-height: 1.35; }
.gline svg { width: 18px; height: 18px; }
.gcard--off .gline { color: #55646A; }
.gcard--off .gline span { text-decoration: line-through; text-decoration-color: rgba(123, 139, 145, .5); text-decoration-thickness: 1px; }
.gcard--on .gline svg { color: var(--teal-soft); }
.gcard-result {
  position: relative; margin-top: auto; padding-top: 22px; padding-left: 20px; font: 700 var(--t5)/1.3 var(--font-display); font-stretch: 104%; letter-spacing: -.01em;
}
.gcard-result::before { content: ""; position: absolute; left: 0; top: calc(22px + .2em); width: 6px; height: 1em; background: currentColor; transform: skewX(-30deg); }
.gcard--off .gcard-result { color: var(--ink); }
.gcard--on .gcard-result { color: var(--teal-soft); }
/* as linhas da ficha configurada entram uma a uma */
.gline { transition: opacity .5s ease, translate .7s var(--ease-out); transition-delay: calc(.35s + var(--i, 0) * .09s); }
.js-anim .gcard.is-pre .gline { opacity: 0; translate: -14px 0; }

.maps-foot {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start;
  margin-top: clamp(64px, 9vw, 128px);
}
.maps-todo { display: grid; gap: 22px; }
.maps-todo h3 { font: 800 var(--t3)/1.15 var(--font-display); font-stretch: 108%; letter-spacing: -.02em; }
.maps-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.maps-tags li {
  padding: 13px 24px; background: var(--teal-mist); color: var(--ink); font: 600 var(--t6)/1.2 var(--font-body);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.maps-cta { display: grid; gap: 16px; justify-items: start; }
.maps-cta p { color: var(--muted); max-width: 50ch; }
.maps-cta .maps-promise { font-size: var(--t6); }
.maps-cta .btn { margin-top: 10px; }

@media (max-width: 1000px) {
  .maps-grid, .maps-foot { grid-template-columns: minmax(0, 1fr); }
  .maps-demo { max-width: 680px; }
}
@media (max-width: 640px) {
  .maps-why { grid-template-columns: minmax(0, 1fr); }
  .maps-demo { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .maps-cta .btn { width: 100%; }
}

/* ---------- Trabalhos ---------- */
.works { overflow-x: clip; }
.cases {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(36px, 6vw, 96px); align-items: start;
}
.case { display: contents; }
.case-head { grid-column: 1; position: relative; padding-block: 56px 20px; }
.case-head::before {
  content: ""; position: absolute; left: 0; top: 10px; height: 3px; width: 0; background: var(--accent);
  transition: width .45s cubic-bezier(.2, .7, .1, 1);
}
.case.is-active .case-head::before { width: 44px; }
.case:not(.is-active) .case-meta { display: none; }
.case-title {
  font: 800 var(--t3)/1.1 var(--font-display);
  font-stretch: 108%; letter-spacing: -.03em; color: #6B7C82; transition: color .3s ease;
}
.case.is-active .case-title, .case-head:hover .case-title { color: var(--white); }
.case-btn {
  display: block; padding: 0; margin: 0; background: none; border: 0; color: inherit;
  font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.case-btn::after { content: ""; position: absolute; inset: 0; }
.case-btn { position: relative; }
.case-btn::before { content: ""; position: absolute; inset: -9px 0; }
.case-meta { margin-top: 12px; font: 500 var(--t6)/1.4 var(--font-body); color: var(--teal-soft); }
.case-body { grid-column: 1; display: none; gap: 20px; justify-items: start; padding-bottom: 32px; }
.case.is-active .case-body { display: grid; }
.case-body p { color: var(--muted); max-width: 46ch; }
.case-link {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  font: 600 var(--t6)/1.2 var(--font-body); text-decoration: none;
  color: var(--white); border-bottom: 2px solid var(--accent); transition: color .2s ease, border-color .2s ease;
}
.case-link::before { content: ""; position: absolute; inset: -14px -4px -8px; }
.case-link:hover { color: var(--teal-soft); border-color: var(--teal-soft); }
.case-link svg { width: 16px; height: 16px; }

.case-media {
  grid-column: 2; grid-row: 1 / span 8; position: sticky; top: calc(var(--header-h) + 36px); align-self: start;
  isolation: isolate; margin-bottom: 56px;
  opacity: 0; visibility: hidden; translate: calc(var(--dir, 1) * 56px) 0;
  transition: opacity .5s ease, visibility .5s, translate .8s var(--ease-out);
}
.case.is-active .case-media { opacity: 1; visibility: visible; translate: 0 0; }
.case.is-out .case-media { opacity: 0; visibility: visible; translate: calc(var(--dir, 1) * -56px) 0; }
.case-media::before {
  content: ""; position: absolute; z-index: -1; inset: 9% -7% -7% 20%;
  background: var(--teal); transform: skewX(-30deg);
}
.case-media .browser { translate: var(--drag, 0px) 0; transition: translate .5s var(--ease-out); }
.case-media .phone { left: auto; right: -14px; bottom: -40px; width: 118px; translate: calc(var(--drag, 0px) * 1.35) 0; transition: translate .5s var(--ease-out); }
.case-media.is-dragging .browser, .case-media.is-dragging .phone { transition: none; }
.cases-dots { display: none; }
.works-foot {
  margin-top: clamp(56px, 8vw, 112px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px;
}
.works-foot p { font: 700 var(--t3)/1.3 var(--font-display); max-width: 34ch; letter-spacing: -.01em; }

/* no celular, os trabalhos viram um carrossel que se arrasta para o lado */
@media (max-width: 920px) {
  .cases {
    display: flex; align-items: stretch; gap: 14px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cases::-webkit-scrollbar { display: none; }
  .case {
    display: flex; flex-direction: column; flex: 0 0 min(84%, 420px); scroll-snap-align: start;
    padding: 24px 20px 32px; background: #212527; overflow: hidden;
  }
  .case:not(.is-active) .case-meta { display: block; }
  .case-head { padding: 0 0 12px; border-top: 0; }
  .case-head::before { display: none; }
  .case-btn::after { display: none; }
  .case-title { color: var(--white); }
  .case-body { display: grid; padding-bottom: 0; gap: 16px; }
  .case-media {
    order: -1; position: relative; top: auto; opacity: 1; visibility: visible; translate: none;
    margin: 0 8px 56px 0;
  }
  .case.is-out .case-media { translate: none; opacity: 1; }
  .case-media.swipeable { touch-action: auto; cursor: auto; user-select: auto; -webkit-user-select: auto; }
  .case-media::before { inset: 10% 0 -6% 24%; }
  .case-media .phone { right: 4px; width: 96px; bottom: -34px; }
  .cases.js-cases .case { transition: opacity .35s ease, scale .35s ease; }
  .cases.js-cases .case:not(.is-center) { opacity: .5; scale: .96; }
  .cases-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
  .cases-dot { position: relative; width: 28px; height: 8px; padding: 0; border: 0; background: rgba(255, 255, 255, .25); transform: skewX(-30deg); cursor: pointer; transition: background .2s ease, width .3s var(--ease-out); }
  .cases-dot::before { content: ""; position: absolute; inset: -18px -2px; }
  .cases-dot.is-on { width: 46px; background: var(--teal-soft); }
}

/* ---------- Diferenciais: título em cima, quatro colunas largas embaixo ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); }
.why-head { display: grid; gap: 22px; justify-items: start; }
.why-head .display { font-size: var(--t2); max-width: 18ch; }
.why-head .lead { max-width: 46ch; }
.why-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 56px); }
.why-item { display: grid; gap: 14px; align-content: start; }
.why-item::before {
  content: ""; width: 12px; height: 44px; margin-bottom: 6px;
  background: var(--accent); transform: skewX(-30deg); transform-origin: bottom left;
  transition: scale .8s var(--ease-out) .2s;
}
.why-item h3 { font: 800 var(--t3)/1.15 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.why-item p { color: var(--muted); max-width: 30ch; font-size: var(--t5); }
@media (max-width: 1100px) { .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .why-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Processo ---------- */
/* trilha: zigue-zague a 30° (o ângulo do logo) que se desenha conforme a rolagem */
#processo .sec-head { margin-bottom: 0; }
.trail { position: relative; --ax: 62px; --pitch: 216px; padding-top: 118px; padding-bottom: 24px; }
.trail-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail-base { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 3; stroke-dasharray: 3 10; stroke-linejoin: miter; }
.trail-draw { fill: none; stroke: var(--teal-soft); stroke-width: 4; stroke-linejoin: miter; stroke-linecap: butt; }
.trail-head { fill: var(--white); transition: opacity .3s ease; }

.steps { position: relative; }
.step { position: relative; min-height: var(--pitch); }
.step:nth-child(odd) { --side: 1; }
.step:nth-child(even) { --side: -1; }
.node {
  position: absolute; top: 14px; z-index: 1; width: 12px; height: 26px; margin: -13px 0 0 -6px;
  background: #3A4043; transform: skewX(-30deg); transition: background .35s ease, scale .5s var(--ease-out);
}
.node::after { content: ""; position: absolute; inset: -7px; border: 2px solid var(--teal-soft); opacity: 0; }
.step:nth-child(odd) .node { left: calc(50% - var(--ax)); }
.step:nth-child(even) .node { left: calc(50% + var(--ax)); }
.step-body { position: absolute; top: 0; width: min(calc(50% - var(--ax) - 56px), 440px); display: grid; gap: 10px; }
.step:nth-child(odd) .step-body { right: calc(50% + var(--ax) + 44px); text-align: right; justify-items: end; }
.step:nth-child(even) .step-body { left: calc(50% + var(--ax) + 44px); }
.step h3 { font: 800 var(--t3)/1.1 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: var(--t5); max-width: 34ch; }

/* estado da trilha (só quando o JavaScript está ativo) */
.trail-js .step-body { opacity: 0; translate: calc(var(--side, 1) * 36px) 0; transition: opacity .7s ease, translate .9s var(--ease-out); }
.trail-js .step.is-on .step-body { opacity: 1; translate: 0 0; }
.trail-js .step.is-on .node { background: var(--teal-soft); scale: 1.25; }
.trail-js .step.is-on .node::after { animation: node-ping 1.1s ease-out; }
@keyframes node-ping { 0% { opacity: .9; scale: .8; } 100% { opacity: 0; scale: 2.2; } }

@media (max-width: 860px) {
  .trail { --pitch: 200px; padding-top: 60px; }
  .step:last-child { min-height: 120px; }
  .step:nth-child(odd) .node { left: 14px; }
  .step:nth-child(even) .node { left: 36px; }
  .step-body, .step:nth-child(odd) .step-body, .step:nth-child(even) .step-body {
    position: static; width: auto; margin-left: 68px; right: auto; left: auto; text-align: left; justify-items: start;
  }
  .step p { max-width: 40ch; }
  .trail-js .step-body { translate: 28px 0; }
}

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 112px); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; background: var(--teal); overflow: hidden;
  clip-path: polygon(var(--cx) 0, 100% 0, 100% calc(100% - var(--cy)), calc(100% - var(--cx)) 100%, 0 100%, 0 var(--cy));
}
.portrait-mark { position: absolute; left: 50%; top: 50%; width: 78%; transform: translate(-50%, -50%); color: var(--ink); }
.portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--zoom, 1)); transform-origin: var(--origin, 50% 50%);
  translate: var(--sx, 0px) 0; transition: opacity .25s ease, translate .4s var(--ease-out), scale 1.6s var(--ease-out);
}
.about-visual { display: grid; gap: 20px; }
.thumbs { display: flex; gap: 14px; }
.thumb {
  --tx: 14px; --ty: 24px;
  position: relative; width: 76px; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; cursor: pointer;
  background: var(--ink); opacity: .55; transition: opacity .2s ease;
  clip-path: polygon(var(--tx) 0, 100% 0, 100% calc(100% - var(--ty)), calc(100% - var(--tx)) 100%, 0 100%, 0 var(--ty));
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); transform-origin: var(--origin, 50% 50%); }
.thumb::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; transition: border-color .2s ease; }
.thumb:hover, .thumb:focus-visible, .thumb.is-on { opacity: 1; }
.thumb.is-on::after { border-color: var(--teal); }
.thumb:focus-visible::after { border-color: var(--ink); }
.about-copy { display: grid; gap: 22px; justify-items: start; }
.about-copy .display { font-size: var(--t2); max-width: 16ch; }
.about-copy p { color: var(--muted); max-width: 54ch; }
.about-copy .btn { margin-top: 10px; }
@media (max-width: 920px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-visual { max-width: 420px; }
}

/* ---------- Dúvidas ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 36px); display: grid; gap: 22px; justify-items: start; }
.faq-head .display { font-size: var(--t2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px;
  font: 700 var(--t4)/1.3 var(--font-display); font-stretch: 104%; letter-spacing: -.01em;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); transition: transform .3s ease; }
.faq-icon::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq-icon::after { top: 0; bottom: 0; left: 10px; width: 2px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item p { padding-bottom: 26px; color: var(--muted); max-width: 58ch; }
.faq-item p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq-item p a:hover { text-decoration-color: var(--ink); }
@media (max-width: 920px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}

/* ---------- Chamada final ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; }
.cta-mark { position: absolute; z-index: -1; right: -5%; top: 50%; width: min(56%, 820px); transform: translateY(-50%); color: var(--ink); }
.cta-inner { display: grid; gap: 26px; justify-items: start; max-width: 660px; }
.cta-inner .display { font-size: var(--t2); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.cta-note { font: 500 var(--t6)/1.4 var(--font-body); color: var(--white); }
@media (max-width: 920px) {
  .cta { display: flex; flex-direction: column; }
  .cta .wrap { order: 1; }
  .cta-mark { order: 2; position: relative; right: auto; top: auto; transform: none; width: 46%; margin: 36px 0 -12px auto; z-index: auto; }
}

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: #B7C4C8; padding-top: clamp(56px, 7vw, 96px); overflow-x: clip; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 5vw, 80px); padding-bottom: clamp(44px, 6vw, 80px); }
.footer .brand { color: var(--white); --hmark: var(--teal); }
.footer-about { margin-top: 20px; max-width: 38ch; font-size: var(--t6); }
.footer h2 { font: 700 var(--t6)/1 var(--font-display); font-stretch: 104%; color: var(--teal-soft); margin-bottom: 18px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col a { text-decoration: none; width: fit-content; transition: color .2s ease; }
@media (max-width: 860px), (pointer: coarse) {
  .footer-col { gap: 0; }
  .footer-col a { padding-block: 9px; }
}
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-block: 8px 32px; font: 500 var(--t6)/1.5 var(--font-body); color: #A9B8BD; }
.footer-bottom a { padding-block: 6px; color: inherit; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-right: 88px; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { padding-bottom: 92px; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 64px; height: 64px; display: grid; place-items: center;
  background: var(--wa); color: #fff; border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); opacity: 0; animation: ring 4s ease-out infinite; }
@keyframes ring { 0%, 70% { transform: scale(1); opacity: 0; } 72% { opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { background: var(--wa-hover); transform: scale(1.08); }
.wa-float-tip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(6px);
  padding: 10px 16px; background: var(--ink); color: #fff; white-space: nowrap; pointer-events: none;
  font: 600 var(--t7)/1 var(--font-body); opacity: 0; transition: opacity .2s ease, transform .2s ease;
}
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; transform: translateY(-50%); }
@media (max-width: 640px) {
  .wa-float { width: 52px; height: 52px; right: 12px; bottom: 12px; transition: transform .35s var(--ease-out), opacity .25s ease, visibility .35s, background .2s ease; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float-tip { display: none; }
  body.wa-away .wa-float { transform: translateX(calc(100% + 16px)); opacity: 0; visibility: hidden; }
}

/* ---------- Marca do chamado final: peças entram deslizando ---------- */
.cta-mark path { fill: currentColor; transition: translate 1.3s var(--ease-out), opacity 1s ease; }
.cta-mark .m-i { transition-delay: .15s; }
.cta-mark .m-t { transition-delay: .3s; }
.js-anim .cta-mark.is-pre .m-v { translate: -120px 90px; opacity: 0; }
.js-anim .cta-mark.is-pre .m-i { translate: 60px -90px; opacity: 0; }
.js-anim .cta-mark.is-pre .m-t { translate: 140px -60px; opacity: 0; }

/* ---------- Animações ao rolar a página ---------- */
.js-anim [data-fx] {
  transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), scale .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js-anim [data-fx].is-pre { opacity: 0; }
.js-anim [data-fx="up"].is-pre { translate: 0 38px; }
.js-anim [data-fx="left"].is-pre { translate: -64px 0; }
.js-anim [data-fx="right"].is-pre { translate: 64px 0; }
.js-anim .point.is-pre::before { scale: 1 0; }
.js-anim .why-item.is-pre::before { scale: 1 0; }
.js-anim .portrait.is-pre img { scale: 1.22; }

/* títulos: palavras sobem de dentro de uma máscara */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .16em 0; margin: 0 -.08em -.16em 0; }
.w > span { display: inline-block; transition: translate 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.js-anim .display.is-pre .w > span { translate: 0 112%; }

/* gestos de arrastar */
.swipeable { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.swipeable.is-dragging { cursor: grabbing; }
.swipeable img { -webkit-user-drag: none; user-drag: none; }

/* ---------- Idiomas: ajustes de tipografia ---------- */
html[lang="zh-CN"] {
  --font-display: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Hanken Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html[lang="zh-CN"] body { line-height: 1.75; }
html[lang="zh-CN"] em { font-style: normal; }
html[lang="zh-CN"] .display, html[lang="zh-CN"] .hero-title, html[lang="zh-CN"] .lost-title,
html[lang="zh-CN"] .shard h3, html[lang="zh-CN"] .case-title, html[lang="zh-CN"] .step h3,
html[lang="zh-CN"] .point h3, html[lang="zh-CN"] .why-item h3, html[lang="zh-CN"] .faq-item summary,
html[lang="zh-CN"] .maps-col h3, html[lang="zh-CN"] .maps-todo h3, html[lang="zh-CN"] .gcard-name, html[lang="zh-CN"] .gcard-result { letter-spacing: 0; word-spacing: 0; }
html[lang="zh-CN"] .label, html[lang="zh-CN"] .case-meta,
html[lang="zh-CN"] .rail-label, html[lang="zh-CN"] .rail-tick::after,
html[lang="zh-CN"] .cta-note, html[lang="zh-CN"] .app-note, html[lang="zh-CN"] .maps-note, html[lang="zh-CN"] .gcard-tag, html[lang="zh-CN"] .footer h2, html[lang="zh-CN"] .sound { letter-spacing: .06em; }
html[lang="zh-CN"] .hero-title { font-size: clamp(2.2rem, .9rem + 4.3vw, 3.8rem); line-height: 1.12; }
html[lang="zh-CN"] .biz label, html[lang="zh-CN"] .demo-tab, html[lang="zh-CN"] .biz-field input, html[lang="zh-CN"] .pd-name, html[lang="zh-CN"] .pd-hero b { letter-spacing: 0; }
html[lang="en-US"] .hero-title { font-size: clamp(2.1rem, .8rem + 4.1vw, 3.6rem); }

/* ---------- Página 404 ---------- */
.page-lost { background: var(--teal); }
.lost {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: flex; align-items: center; background: var(--teal); color: var(--white);
  padding-block: calc(var(--header-h) + 48px) 96px;
}
.lost .wrap { position: relative; }
.lost-inner { display: grid; gap: 28px; justify-items: start; max-width: 680px; }
.lost-title { font-size: clamp(2.6rem, 1rem + 4.6vw, 4.6rem); color: var(--ink); }
.lost-title em { color: var(--white); }
.lost .lead { color: var(--white); }
.lost-path {
  max-width: 100%; overflow-wrap: anywhere; padding: 8px 14px; background: var(--ink); color: var(--teal-soft);
  font: 500 var(--t6)/1.4 var(--font-body);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.lost-actions { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 8px; }
.lost-mark { position: absolute; z-index: -1; right: -4%; top: 50%; width: min(54%, 760px); translate: 0 -50%; color: var(--ink); }
.lost-mark path { fill: currentColor; }
.lost-mark .m-v { animation: lost-in 1.2s var(--ease-out) backwards; }
.lost-mark .m-t { animation: lost-in 1.2s var(--ease-out) .3s backwards; }
.lost-mark .m-i { animation: lost-in 1.2s var(--ease-out) .15s backwards, lost-drift 6s ease-in-out 1.4s infinite; }
@keyframes lost-in { from { opacity: 0; translate: 90px -60px; } }
@keyframes lost-drift { 0%, 100% { translate: 0 0; } 50% { translate: 26px -34px; } }
@media (max-width: 920px) {
  .lost { flex-direction: column; align-items: stretch; justify-content: center; }
  .lost .wrap { order: 1; }
  .lost-mark { order: 2; position: relative; right: auto; top: auto; translate: none; width: 74%; margin: 56px 0 0 auto; z-index: auto; }
}
@media (max-width: 560px) {
  .lost-actions .btn { width: 100%; }
  .page-lost .site-header .btn { display: none; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* telas de 320 px: o título do topo cabe sem deixar palavra sozinha na linha */
@media (max-width: 340px) { .hero-title { font-size: 2.2rem; } }

/* ---------- Auditoria gratuita e link do meu perfil ---------- */
.maps-self {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; margin-top: 6px;
  font: 600 var(--t6)/1.2 var(--font-body); text-decoration: none; color: var(--teal-deep); border-bottom: 2px solid var(--teal);
  transition: color .2s ease;
}
.maps-self::before { content: ""; position: absolute; inset: -14px -4px -8px; }
.maps-self:hover { color: var(--ink); }
.maps-self svg { width: 16px; height: 16px; flex: none; }
.audit {
  --gx: 32px; --gy: 56px;
  scroll-margin-top: calc(var(--header-h) + 24px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start;
  margin-top: clamp(56px, 8vw, 112px); padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px);
  background: var(--ink); color: var(--white);
  clip-path: polygon(var(--gx) 0, 100% 0, 100% calc(100% - var(--gy)), calc(100% - var(--gx)) 100%, 0 100%, 0 var(--gy));
}
.audit-copy { display: grid; gap: 16px; }
.audit-copy h3 { font: 800 var(--t3)/1.1 var(--font-display); font-stretch: 106%; letter-spacing: -.025em; }
.audit-copy p { color: #C3CFD3; max-width: 44ch; }
.audit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; align-items: end; }
.audit-field { display: grid; gap: 8px; }
.audit-field--wide { grid-column: 1 / -1; }
.audit-field span { font: 600 var(--t6)/1.3 var(--font-body); color: var(--white); }
.audit-field input {
  width: 100%; min-height: 56px; padding: 0 18px; border: 0; border-radius: 0; background: var(--white); color: var(--ink);
  font: 600 var(--t5)/1.2 var(--font-body); outline: 0; border-bottom: 4px solid transparent; transition: border-color .25s ease;
}
.audit-field input:focus { border-bottom-color: var(--teal); }
.audit-field input:focus-visible { outline: 2px solid var(--teal-soft); outline-offset: 2px; }
.audit-error { grid-column: 1 / -1; color: var(--teal-soft); font-weight: 600; }
.audit .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.audit-note { grid-column: 1 / -1; font-size: var(--t6); color: #C3CFD3; max-width: 52ch; }
@media (max-width: 900px) {
  .audit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .audit-fields { grid-template-columns: minmax(0, 1fr); }
  .audit .btn { width: 100%; }
}

/* ---------- Páginas internas (segmentos, cidade e guias) ---------- */
.pg-hero { padding-block: calc(var(--header-h) + clamp(40px, 6vw, 88px)) clamp(52px, 7vw, 96px); }
.pg-hero .display { font-size: var(--t2); max-width: 20ch; }
.pg-hero .lead { margin-top: 24px; max-width: 54ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 36px; font-size: var(--t6); color: #B7C4C8; }
.crumbs a { position: relative; color: inherit; text-underline-offset: 3px; }
.crumbs a::before { content: ""; position: absolute; inset: -10px -4px; }
.crumbs a:hover { color: var(--white); }
.pg-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; }
.pg-date { margin-top: 22px; font-size: var(--t6); color: #B7C4C8; }
.pg-h2 { font-size: var(--t2); max-width: 22ch; margin-bottom: clamp(28px, 4vw, 48px); }
.pg-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); }
.pg-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.pg-list { display: grid; gap: 16px; }
.pg-list li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: baseline; }
.pg-list li::before { content: ""; width: 6px; height: 14px; background: var(--accent); transform: skewX(-30deg); }
.pg-list a { color: var(--teal-deep); font-weight: 600; }
.pg-text { max-width: 52ch; margin-bottom: 22px; color: var(--muted); }
.pg-case { display: grid; gap: 18px; justify-items: start; }
.pg-case h3 { font: 800 var(--t3)/1.15 var(--font-display); font-stretch: 108%; letter-spacing: -.02em; }
.pg-case p { color: var(--muted); }
.pg-case-img { display: block; width: 100%; }
.pg-case-img img { width: 100%; height: auto; border-radius: 10px; }
.pg-narrow { width: min(100% - 2 * var(--gutter), 860px); margin-left: calc((100% - min(100% - 2 * var(--gutter), var(--max))) / 2); margin-right: auto; }
.pg-more { margin-top: 40px; color: var(--muted); }
.pg-links { display: inline-flex; flex-wrap: wrap; gap: 8px 18px; }
.pg-links a { color: var(--teal-deep); font-weight: 600; }
.pg-cta-in { display: grid; gap: 22px; justify-items: start; }
.pg-cta .display { font-size: var(--t2); max-width: 20ch; }
.prose h2 { margin: 2.2em 0 .7em; font: 800 var(--t3)/1.12 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; font: 800 var(--t4)/1.2 var(--font-display); font-stretch: 104%; letter-spacing: -.015em; }
.prose p { max-width: 68ch; margin-bottom: 1em; color: var(--gray-700); }
.prose a { color: var(--teal-deep); text-underline-offset: 3px; }
.steps-list { counter-reset: s; display: grid; gap: 14px; margin: 0 0 1.4em; max-width: 68ch; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; color: var(--gray-700); }
.steps-list li::before { content: counter(s); font: 800 var(--t4)/1 var(--font-display); color: var(--teal-deep); }
.prose .pg-list { margin-bottom: 1.4em; max-width: 68ch; color: var(--gray-700); }
.check-list { display: grid; gap: 26px; }
.check-list li { display: grid; grid-template-columns: 14px 1fr; gap: 0 14px; align-items: baseline; }
.check-list li::before { content: ""; grid-row: 1 / span 2; width: 6px; height: 14px; background: var(--teal); transform: skewX(-30deg); }
.check-list h3 { margin: 0; }
.check-list p { margin: .35em 0 0; }
.note { max-width: 68ch; margin: 1.6em 0; padding: 20px 24px; background: var(--teal-mist); border-left: 6px solid var(--teal); color: var(--ink); }
.guide-list { display: grid; gap: 20px; }
.guide-card {
  display: grid; gap: 10px; padding: 30px 34px; background: var(--paper); color: inherit; text-decoration: none;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); transition: background .2s ease;
}
.guide-card:hover { background: var(--teal-mist); }
.guide-card h2 { font: 800 var(--t4)/1.2 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; }
.guide-card p { color: var(--gray-700); }
.guide-card h2 { overflow-wrap: anywhere; }
.maps-self-text { font-weight: 600; color: var(--teal-deep); }
@media (max-width: 860px) { .pg-points, .pg-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .pg-actions .btn { width: 100%; } }

/* ---------- Rodapé: o nome volta na largura toda ---------- */
.footer-word {
  padding: clamp(8px, 2vw, 24px) var(--gutter) 0; overflow: hidden; white-space: nowrap; user-select: none;
  font: 800 clamp(2.6rem, 9.6vw, 9.4rem)/.86 var(--font-display); font-stretch: 108%; letter-spacing: -.045em; color: var(--teal);
}
.footer-word + .footer-bottom { padding-top: clamp(18px, 3vw, 36px); }

/* título dos trabalhos em duas linhas também em telas médias (não corre até a borda direita) */
.works .sec-head .display { max-width: 16ch; }

.biz-hint { text-wrap: balance; }

/* ---------- Páginas internas: topo com imagem, duas colunas e miniaturas ---------- */
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pg-hero-copy { display: grid; justify-items: start; align-content: center; min-width: 0; }
.pg-hero-media { position: relative; min-width: 0; }
.pg-shot { position: relative; display: block; margin-bottom: 48px; animation: pg-in .9s var(--ease-out) .15s backwards; }
.pg-shot .phone { left: auto; right: -14px; bottom: -40px; width: 118px; }
.pg-hero-card { max-width: 440px; margin-left: auto; animation: pg-in .9s var(--ease-out) .15s backwards; }
@keyframes pg-in { from { opacity: 0; translate: 56px 0; } }
.pg-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.pg-split-head { display: grid; gap: 22px; justify-items: start; }
.pg-split .pg-h2 { margin-bottom: 0; }
.pg-split .steps-list { margin: 0; max-width: none; }
.pg-split .faq-list { margin: 0; }
.pg-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; }
.pg-thumb { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.pg-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 10px; transition: translate .3s var(--ease-out); }
.pg-thumb:hover img, .pg-thumb:focus-visible img { translate: 0 -6px; }
.pg-thumb span { font: 700 var(--t6)/1.2 var(--font-body); }
.pg-case-note { margin-top: 28px; }
.pg-cta-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; justify-items: stretch; gap: clamp(32px, 6vw, 96px); }
.pg-cta-copy { display: grid; gap: 18px; justify-items: start; }
.pg-cta .pg-actions { margin-top: 0; }
.pg-sum { display: grid; gap: 20px; max-width: 44ch; }
.pg-sum h2 { font: 800 var(--t3)/1.15 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; }
.pg-sum .pg-list { color: var(--muted); font-size: var(--t5); }
.pg-article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pg-aside {
  position: sticky; top: calc(var(--header-h) + 36px); display: grid; gap: 18px; justify-items: start; padding: 36px 36px 44px;
  background: var(--ink); color: var(--white);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.pg-aside h2 { font: 800 var(--t3)/1.1 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; }
.pg-aside p { color: #DCE8EC; }
.pg-aside .btn { --b-bg: var(--white); --b-fg: var(--ink); --b-hover: var(--teal-mist); margin-top: 6px; }
.guide-list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 920px) {
  .pg-hero-grid, .pg-split, .pg-cta-in, .pg-article-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-aside { position: static; }
  .pg-hero-card { margin-left: 0; }
}
