/* Boston Tech Hub: landing page */
:root {
  --bg: #06101F;
  --surface: #0C1A30;
  --surface-2: #10223D;
  --line: rgba(34, 195, 238, .16);
  --line-2: rgba(201, 211, 224, .12);
  --ink: #EAF2F8;
  --soft: #97A8BD;
  --accent: #22C3EE;
  --accent-ink: #03111D;
  --steel: #C9D3E0;
  --warn: #E7A44B;
  --display: "Archivo", system-ui, sans-serif;
  --text: "Geist", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprites { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--soft); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .55em; min-height: 52px; padding: 0 1.5em;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px;
  font: 600 1rem/1.25 var(--text); text-decoration: none; cursor: pointer; padding-block: .2em;
  box-shadow: 0 10px 30px -12px rgba(34, 195, 238, .55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(34, 195, 238, .7); }
.btn:active { transform: translateY(0); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--steel); }
.btn-ghost:hover .i { transform: none; }
.btn-sm { min-height: 42px; padding: 0 1.15em; font-size: .94rem; }
.btn-xl { min-height: 64px; padding: 0 2.2em; font-size: 1.15rem; }
.link { display: inline-flex; align-items: center; gap: .4em; color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover .i { transform: translateX(3px); }
.link .i { transition: transform .25s var(--ease); }

/* Navegação */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px var(--gutter); transition: background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(6, 16, 31, .86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 var(--line-2); }
.nav-brand { display: block; width: 168px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--soft); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { color: var(--soft); text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .08em; padding: 8px 10px; border-radius: 8px; }
.lang:hover { color: var(--ink); background: var(--surface); }

/* Logo */
.bth-logo { width: 100%; height: auto; overflow: visible; }
.bth-w1, .bth-w2 { font-family: var(--display); font-weight: 900; font-stretch: 125%; letter-spacing: -.01em; }
.bth-w1 { font-size: 64px; }
.bth-w2 { font-size: 46px; letter-spacing: .02em; }
.bth-logo .bth-shield, .bth-logo .bth-inner, .bth-logo .bth-traces path { stroke-dasharray: 100; stroke-dashoffset: 0; }
.bth-logo .bth-sweep { transform: translateX(-200px); }
.bth-logo.play .bth-shield { animation: bth-draw 1.1s var(--ease) both, bth-fill 1.1s ease both; }
.bth-logo.play .bth-inner { animation: bth-draw 1s .25s var(--ease) both; }
.bth-logo.play .bth-traces path { animation: bth-draw .6s var(--ease) both; animation-delay: calc(.55s + var(--n, 0) * 60ms); }
.bth-logo.play .bth-nodes circle { transform-box: fill-box; transform-origin: center; animation: bth-pop .45s var(--ease) both; animation-delay: calc(.95s + var(--n, 0) * 50ms); }
.bth-logo.play .bth-phone { transform-box: fill-box; transform-origin: center; animation: bth-rise .7s .35s var(--ease) both; }
.bth-logo.play .bth-w1 { animation: bth-word .8s .5s var(--ease) both; }
.bth-logo.play .bth-w2 { animation: bth-word .8s .68s var(--ease) both; }
.bth-logo.play .bth-sweep { animation: bth-sweep 1.2s 1.35s ease-in-out both; }
.bth-logo:hover .bth-sweep { animation: bth-sweep 1s ease-in-out both; }
@keyframes bth-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes bth-fill { from { fill-opacity: 0; } 60% { fill-opacity: 0; } to { fill-opacity: 1; } }
@keyframes bth-pop { from { transform: scale(0); } 70% { transform: scale(1.35); } to { transform: scale(1); } }
@keyframes bth-rise { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bth-word { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes bth-sweep { from { transform: translateX(-200px); } to { transform: translateX(560px); } }

/* HERO */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; align-items: center; padding: 110px var(--gutter) 80px; isolation: isolate; }
.hero-plane { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero-grid {
  inset: -10% -5%;
  background:
    radial-gradient(60% 55% at 72% 48%, rgba(34, 195, 238, .13), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(80% 80% at 60% 45%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 80% at 60% 45%, #000 40%, transparent 100%);
  opacity: .7;
}
.hero-pad { display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 2vw 4vh 0; }
.pad-ghost { width: min(46vw, 640px); opacity: .22; transform: rotate(-8deg) translate(4vw, 6vh); }
.hero-copy { position: relative; z-index: 3; max-width: 860px; will-change: transform, opacity; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--steel); font-size: .92rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 195, 238, .18); }
.hero h1 { font-size: clamp(2.7rem, 5vw, 4.9rem); font-weight: 800; line-height: .98; letter-spacing: -.03em; }
.lede { margin: 24px 0 0; max-width: 34ch; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-phone { display: flex; align-items: center; justify-content: flex-end; padding-right: max(var(--gutter), 7vw); z-index: 2; perspective: 1400px; }
.hp-rig { position: relative; width: 300px; aspect-ratio: 230 / 470; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(9deg) rotateZ(4deg); transition: transform .6s var(--ease); }
.hp-layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.hp-layer svg { width: 100%; height: 100%; }
.hp-back { transform: translateZ(-90px); opacity: .9; }
.hp-mid { transform: translateZ(-20px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.hp-front { transform: translateZ(50px); }
.hero-fore { z-index: 4; }
.f-screw { position: absolute; width: 44px; filter: blur(1.2px); opacity: .85; }
.f-screw.s1 { right: 34vw; top: 22vh; transform: rotate(18deg); }
.f-screw.s2 { right: 8vw; bottom: 12vh; width: 58px; filter: blur(2.4px); }
.f-tool { position: absolute; right: 30vw; bottom: -6vh; width: 34px; height: 300px; transform: rotate(32deg); filter: blur(2px); opacity: .75; }

/* PICO: reparo */
.repair { position: relative; height: 520vh; }
.repair-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; align-items: center; gap: 2vw; padding: 80px var(--gutter) 40px; overflow: hidden; }
.repair-sticky::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 28px 28px;
  mask-image: radial-gradient(60% 70% at 64% 52%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 70% at 64% 52%, #000 20%, transparent 80%);
  opacity: .55;
}
.repair-copy { position: relative; align-self: center; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; min-height: 15rem; }
.step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(26px); transition: opacity .18s ease, transform .3s var(--ease); pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s .16s var(--ease), transform .6s .16s var(--ease); }
.step.past { transform: translateY(-26px); }
.step-k { display: inline-block; color: var(--accent); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.step-t { margin: 0; font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.55rem, 2.6vw, 2.35rem); line-height: 1.14; letter-spacing: -.015em; max-width: 19ch; }
.step-cta { margin-top: 28px; }
.meter { position: relative; height: 2px; width: min(320px, 80%); margin-top: 34px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.meter-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.bench { position: relative; height: 100%; display: grid; place-items: center; perspective: 1800px; perspective-origin: 50% 35%; }
.rig { --s: 1; --rx: 0deg; --rz: 0deg; position: relative; width: calc(230px * var(--s)); height: calc(470px * var(--s)); transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateZ(var(--rz)); }
.ly { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform, opacity; }
.ly > svg { width: 100%; height: 100%; }
.ly[data-ly="display"] > svg { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); }
.tag {
  position: absolute; left: 100%; top: 50%; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 600 .78rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--steel);
  transform-origin: left center; transform: rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)); opacity: var(--tag, 0);
}
.tag::before { content: ""; width: calc(60px * var(--s)); height: 1px; background: currentColor; opacity: .6; }
.tag.warn { color: var(--warn); }
.tag.ok { color: var(--accent); }
.screen-on {
  position: absolute; inset: 3% 6%; border-radius: 12% / 6%; display: grid; place-content: center; justify-items: center; gap: 8px;
  background: radial-gradient(90% 60% at 50% 30%, #1B6E92 0%, #0B2E4C 50%, #061427 100%);
  color: #E9FAFF; opacity: var(--on, 0); text-align: center;
}
.screen-on .i { width: calc(54px * var(--s)); height: calc(54px * var(--s)); color: var(--accent); }
.screen-on b { font: 800 calc(30px * var(--s)) / 1 var(--display); font-stretch: 112%; }
.screen-on span { font-size: calc(14px * var(--s)); color: #A9DDEF; letter-spacing: .08em; }
.bench-floor { position: absolute; left: 50%; bottom: 8%; width: 60%; height: 70px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(34, 195, 238, calc(.08 + var(--on, 0) * .22)), transparent 70%); pointer-events: none; }

/* iPhone 3D: só esconde o desenho em SVG depois que o 3D carregou */
.phone3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.has-3d .hp-rig, .has-3d .rig, .has-3d .bench-floor { visibility: hidden; }
.has-3d .hero-phone { padding: 0; left: 46%; right: -2%; top: 4%; bottom: -4%; }
.tags3d { position: absolute; inset: 0; pointer-events: none; }
.tag3d {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; opacity: 0;
  font: 600 .74rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--steel);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8); will-change: transform, opacity;
}
.tag3d::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.tag3d.warn { color: var(--warn); }
.tag3d.ok { color: var(--accent); }

/* Seções comuns */
section { position: relative; }
.services, .drift, .how, .why, .area, .faq { padding: clamp(90px, 13vh, 150px) var(--gutter); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Serviços */
.services h2 { max-width: 14ch; margin-bottom: 48px; }
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc { position: relative; padding: clamp(26px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.svc p { color: var(--soft); margin: 12px 0 0; }
.svc-ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 22px; }
.svc-main { grid-column: span 7; grid-row: span 2; background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%); }
.svc-main h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; max-width: 16ch; }
.svc-main::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 420px; border-radius: 40px; border: 1.5px solid var(--line);
  transform: rotate(-14deg); box-shadow: inset 0 0 0 10px rgba(34, 195, 238, .03);
}
.svc-pad, .svc-acc { grid-column: span 5; }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; position: relative; z-index: 1; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; width: 14px; height: 8px; flex: none; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.svc .link { position: relative; z-index: 1; margin-top: 18px; }
.lab { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 22px 28px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--soft); }
.lab .svc-ico { margin: 0; }
.lab p { margin: 0; }
.lab b { color: var(--ink); }

/* Drift */
.drift { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; background: linear-gradient(180deg, transparent, rgba(16, 34, 61, .55) 30%, rgba(16, 34, 61, .55) 70%, transparent); }
.drift h2 { max-width: 12ch; }
.drift-copy > p { color: var(--soft); max-width: 44ch; margin: 22px 0 0; }
.pads { list-style: none; padding: 0; margin: 26px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.pads li { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; color: var(--steel); }
.btn-toggle[aria-pressed="true"] { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.drift-hint { color: var(--soft); font-size: .95rem; margin: 16px 0 0; min-height: 1.6em; }
.scope { position: relative; width: min(100%, 520px); justify-self: center; aspect-ratio: 1; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.scope:active { cursor: grabbing; }
.scope-svg { width: 100%; height: 100%; }
.sc-ring { fill: none; stroke: var(--accent); stroke-opacity: .55; stroke-width: 1.5; }
.sc-ring.faint { stroke-opacity: .16; stroke-dasharray: 3 6; }
.sc-axis { stroke: var(--steel); stroke-opacity: .14; }
.sc-trail { fill: none; stroke: var(--warn); stroke-width: 2; stroke-opacity: .45; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.sc-stick { fill: rgba(231, 164, 75, .16); stroke: var(--warn); stroke-width: 2; transition: fill .4s, stroke .4s; }
.sc-core { fill: var(--warn); transition: fill .4s; }
.scope[data-state="hall"] .sc-stick { fill: rgba(34, 195, 238, .16); stroke: var(--accent); }
.scope[data-state="hall"] .sc-core { fill: var(--accent); }
.scope[data-state="hall"] .sc-trail { stroke: var(--accent); }
.scope-read { position: absolute; right: 2%; bottom: 2%; display: grid; justify-items: end; gap: 2px; text-align: right; }
.scope-read span { font-size: .78rem; color: var(--soft); letter-spacing: .12em; text-transform: uppercase; }
.scope-read b { font: 800 2.2rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--warn); transition: color .4s; }
.scope-read em { font-style: normal; font-size: .85rem; color: var(--warn); transition: color .4s; }
.scope[data-state="hall"] .scope-read b, .scope[data-state="hall"] .scope-read em { color: var(--accent); }

/* Como funciona */
.how { text-align: center; }
.how h2 { margin: 0 auto 70px; }
.how-track { position: relative; max-width: 1120px; margin: 0 auto; }
.how-line { position: absolute; left: 16.6%; right: 16.6%; top: 26px; width: 66.8%; height: 20px; }
.how-line path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--how, 0)); vector-effect: non-scaling-stroke; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.how-n { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font: 800 1.35rem/1 var(--display); }
.how-steps p { color: var(--soft); max-width: 30ch; margin: 10px auto 0; }

/* Por que nós */
.why { display: grid; grid-template-columns: 1fr minmax(220px, 320px); gap: 40px clamp(32px, 6vw, 90px); align-items: start; }
.why h2 { grid-column: 1 / -1; max-width: 16ch; }
.why-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.why-list > div { padding: 26px 0; border-top: 1px solid var(--line-2); }
.why-list dt { display: flex; align-items: center; gap: 12px; font: 700 1.2rem/1.2 var(--display); font-stretch: 106%; }
.why-list dt .i { color: var(--accent); width: 24px; height: 24px; }
.why-list dd { margin: 10px 0 0 36px; color: var(--soft); }
.warranty { position: sticky; top: 120px; display: grid; justify-items: start; padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.warranty b { font: 900 clamp(6rem, 12vw, 9rem)/.85 var(--display); font-stretch: 118%; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.warranty span { margin-top: 12px; color: var(--accent); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; }

/* Área */
.area { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.area-copy > p { color: var(--soft); max-width: 40ch; margin: 22px 0 0; }
.towns { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.towns li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.towns li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.area .muted a { color: var(--accent); font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); }
.map svg { width: 100%; height: auto; }
.m-gridline { stroke: rgba(201, 211, 224, .06); }
.m-state { fill: rgba(34, 195, 238, .08); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.m-pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-origin: 476px 100px; opacity: 0; }
.map.in .m-pulse { animation: m-pulse 3.2s 1.2s ease-out infinite; }
@keyframes m-pulse { from { transform: scale(.4); opacity: .8; } to { transform: scale(5.5); opacity: 0; } }
.m-links path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.4s var(--ease); }
.map.in .m-links path { stroke-dashoffset: 0; }
.map.in .m-links path:nth-child(2) { transition-delay: .06s; }
.map.in .m-links path:nth-child(3) { transition-delay: .12s; }
.map.in .m-links path:nth-child(4) { transition-delay: .18s; }
.map.in .m-links path:nth-child(5) { transition-delay: .24s; }
.map.in .m-links path:nth-child(6) { transition-delay: .30s; }
.map.in .m-links path:nth-child(7) { transition-delay: .36s; }
.map.in .m-links path:nth-child(8) { transition-delay: .42s; }
.map.in .m-links path:nth-child(9) { transition-delay: .48s; }
.map.in .m-links path:nth-child(10) { transition-delay: .54s; }
.map.in .m-links path:nth-child(11) { transition-delay: .60s; }
.m-towns circle { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; }
.m-towns .base circle { fill: var(--accent); }
.m-towns text { fill: var(--ink); font: 600 15px var(--text); }

/* FAQ */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head h2 { margin-bottom: 20px; }
.faq-head p { color: var(--soft); margin: 0 0 28px; max-width: 32ch; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 600 1.15rem/1.35 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--soft); max-width: 62ch; }

/* Fechamento */
.close { text-align: center; padding: clamp(100px, 16vh, 180px) var(--gutter) clamp(120px, 18vh, 200px); overflow: hidden; }
.close::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 50% 40%, rgba(34, 195, 238, .14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(60% 60% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000 30%, transparent 100%);
}
.close-logo { width: min(440px, 80vw); margin: 0 auto 48px; }
.close h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); max-width: 16ch; margin: 0 auto; }
.close .lede { margin: 22px auto 40px; }
.channels { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.channels a { display: inline-flex; align-items: center; gap: 10px; color: var(--steel); text-decoration: none; padding: 8px 4px; }
.channels a:hover { color: var(--accent); }
.hours { color: var(--soft); margin: 22px 0 0; font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 28px var(--gutter) 34px; border-top: 1px solid var(--line-2); color: var(--soft); font-size: .88rem; }
.foot p { margin: 0; }

/* Chat flutuante e barra no celular */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -16px rgba(0, 0, 0, .7);
  transform: translateY(120%); opacity: 0; transition: transform .5s var(--ease), opacity .4s, background .2s;
}
.chat-fab .i { color: var(--accent); width: 22px; height: 22px; }
.chat-fab.show { transform: none; opacity: 1; }
.chat-fab:hover { background: #163056; }
.dock { display: none; }

/* Tablet e celular */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .svc-main, .svc-pad, .svc-acc { grid-column: 1 / -1; grid-row: auto; }
  .why { grid-template-columns: 1fr; }
  .warranty { position: static; grid-auto-flow: column; align-items: end; gap: 18px; justify-content: start; }
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq-head { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .nav { padding: 10px 16px; }
  .nav-brand { width: 132px; }
  .nav .btn-sm { display: none; }
  .hero { align-items: start; padding: 96px 16px 0; min-height: 100svh; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .lede { font-size: 1.04rem; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .hero-phone { align-items: flex-end; justify-content: center; padding: 0 0 2vh; }
  .has-3d .hero-phone { left: 18%; right: -30%; top: 46%; bottom: -14%; }
  .hp-rig { width: min(52vw, 210px); transform: rotateY(-20deg) rotateX(14deg) rotateZ(6deg) translateX(18vw); }
  .pad-ghost { width: 90vw; opacity: .14; transform: rotate(-8deg) translate(10vw, -2vh); }
  .f-screw.s1 { right: 5vw; top: 13vh; bottom: auto; width: 34px; }
  .f-screw.s2 { right: 4vw; bottom: 10vh; }
  .f-tool { right: 72vw; bottom: -10vh; height: 220px; }
  .repair { height: 560vh; }
  .repair-sticky { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 64px 16px calc(96px + env(safe-area-inset-bottom)); gap: 0; }
  .bench { grid-row: 1; perspective: 1200px; }
  .repair-copy { grid-row: 2; }
  .steps { min-height: 9.5rem; }
  .step-k { margin-bottom: 8px; font-size: .78rem; }
  .step-t { font-size: 1.28rem; max-width: 26ch; }
  .step-cta { margin-top: 14px; min-height: 46px; }
  .meter { margin-top: 12px; }
  .tag { font-size: .64rem; letter-spacing: .06em; }
  .drift, .area { grid-template-columns: 1fr; }
  .scope { width: min(100%, 380px); }
  .how h2 { margin-bottom: 40px; }
  .how-line { display: none; }
  .how-steps { grid-template-columns: 1fr; gap: 36px; }
  .why-list { grid-template-columns: 1fr; }
  .towns { grid-template-columns: 1fr 1fr; }
  .faq summary { font-size: 1.04rem; }
  .chat-fab { display: none; }
  .dock {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 6px; position: fixed; inset: auto 0 0; z-index: 45;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(6, 16, 31, .94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line-2);
  }
  .dock a { display: grid; justify-items: center; gap: 3px; padding: 7px 4px; border-radius: 12px; color: var(--steel); text-decoration: none; font-size: .74rem; font-weight: 600; }
  .dock a .i { width: 22px; height: 22px; }
  .dock .dock-main { background: var(--accent); color: var(--accent-ink); }
}

/* Movimento reduzido: tudo visível, sem cena presa no scroll */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .repair { height: auto; }
  .repair-sticky { position: relative; height: auto; min-height: 100svh; }
  .steps { min-height: 0; display: grid; gap: 22px; }
  .step { position: static; opacity: 1; transform: none; }
  .step-t { font-size: 1.2rem; }
  .meter { display: none; }
  .bth-logo .bth-sweep { display: none; }
  .map .m-pulse { animation: none !important; }
  .faq-head { position: static; }
  .chat-fab { transition: none; }
}

/* Painel do agendamento e do chat (CellRepair dentro da página) */
html.embed-open { overflow: hidden; }
dialog.embed {
  position: fixed; inset: 0 0 0 auto; width: min(520px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0;
  border: 0; border-left: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  display: none; flex-direction: column; box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .8);
}
dialog.embed[open] { display: flex; animation: embed-in .45s var(--ease) both; }
dialog.embed::backdrop { background: rgba(3, 8, 16, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes embed-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.embed-head { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line-2); flex: none; }
.embed-head h2 { flex: 1; font: 700 1.1rem/1 var(--display); font-stretch: 108%; letter-spacing: 0; }
.embed-out { color: var(--soft); font-size: .85rem; text-decoration: none; }
.embed-out:hover { color: var(--accent); }
.embed-close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.embed-close:hover { background: var(--surface-2); }
.embed-close svg { width: 22px; height: 22px; }
.embed-body { position: relative; flex: 1; min-height: 0; background: var(--bg); }
.embed-body iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--bg); }
.embed-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--bg); color: var(--soft); text-align: center; padding: 24px; }
.embed-loading[hidden] { display: none; }
.embed-spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: embed-spin .8s linear infinite; }
@keyframes embed-spin { to { transform: rotate(360deg); } }
.embed-slow a { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) {
  dialog.embed { width: 100vw; border-left: 0; padding-bottom: env(safe-area-inset-bottom); }
  dialog.embed[open] { animation-name: embed-up; }
  @keyframes embed-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  dialog.embed[open] { animation: none; }
  .embed-spin { animation-duration: 2.4s; }
}

/* Páginas legais (privacidade, termos, programa de SMS) */
.legal { max-width: 780px; margin: 0 auto; padding: clamp(96px, 14vw, 140px) var(--gutter) 72px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 0 0 8px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--steel); line-height: 1.7; font-size: 1rem; }
.legal ul { padding-left: 1.25em; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal .updated { color: var(--soft); font-size: .9rem; margin: 0 0 26px; }
.consent-box { margin: 18px 0; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.consent-line { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.consent-check { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; border-radius: 6px; border: 2px solid var(--steel); background: transparent; }
.consent-shot { margin: 18px 0; }
.consent-shot img { width: 100%; max-width: 560px; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); }
.consent-shot figcaption { color: var(--soft); font-size: .88rem; margin-top: 8px; }
.msg-sample { margin: 12px 0; padding: 4px 18px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); max-width: 560px; }
.msg-sample p { margin: 12px 0; font-size: .96rem; }
.foot-links a { color: var(--soft); }
.foot-links a:hover { color: var(--ink); }
.consent-input { flex: 0 0 22px; width: 22px; height: 22px; margin: 3px 14px 0 0; accent-color: var(--accent); opacity: 1; }
.consent-line label { cursor: default; }
.consent-line { display: flex; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot-links a { text-decoration: underline; text-underline-offset: 3px; }
