/* =========================================================
   ELETROCAR — elétrica automotiva e chaves
   Noite, asfalto e luz elétrica. Tudo em curvas.
   ========================================================= */
:root {
  --night: #0b0f0d;
  --asphalt: #131917;
  --asphalt-2: #1b2321;
  --line: #26302d;
  --green: #18a944;
  --green-2: #3ee07a;
  --green-dk: #0c6b2a;
  --red: #e5252c;
  --red-2: #ff5157;
  --amber: #ffb21f;
  --paper: #f3f6f1;
  --paper-2: #e6ede4;
  --ink: #0d1411;
  --muted: #5e6b65;
  --muted-l: rgba(243,246,241,.66);

  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(16px, 5vw, 72px);
  --blob: 46% 54% 44% 56% / 52% 46% 54% 48%;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.locked, body.is-intro { overflow: hidden; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.55; color: var(--paper); background: var(--night); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; letter-spacing: -.04em; line-height: 1; font-weight: 800; }
p { margin: 0; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; border-radius: 999px; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); padding: .65em 1.15em; border-radius: 999px; background: rgba(62,224,122,.1); margin-bottom: 1.3rem; }
.eyebrow.dark { color: var(--green-dk); background: rgba(24,169,68,.1); }
.eyebrow.red { color: var(--red-2); background: rgba(229,37,44,.12); }
.spark { display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; margin-left: -.5em; border-radius: 50%; background: var(--green); color: #fff; }
.spark .ico { width: 1em; height: 1em; }
.h2 { font-size: clamp(2.2rem, 5.6vw, 5.2rem); color: var(--ink); }
.h2.light { color: var(--paper); }
h1 em, .h2 em { font-style: normal; color: var(--green); position: relative; }
.h2.light em, .hero-title em { color: var(--green-2); }
.lead { font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 36em; margin-top: 1.3rem; }
.lead.light { color: var(--muted-l); }

/* ---------- botões ---------- */
.btn { --bg: var(--green); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.55em; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--f-display); font-weight: 700; font-size: .9rem; letter-spacing: -.01em; position: relative; overflow: hidden; isolation: isolate; white-space: nowrap; transition: box-shadow .5s var(--ease), background .3s; }
.btn::before { content: ''; position: absolute; inset: auto -10% -220% -10%; height: 220%; background: rgba(255,255,255,.16); border-radius: 50% 50% 0 0; transition: transform .6s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateY(-55%); }
.btn .ico { transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(3px) rotate(-6deg); }
.btn-lg { padding: 1.15em 1.9em; font-size: .98rem; }
.btn-block { width: 100%; }
.btn-red { --bg: var(--red); box-shadow: 0 0 0 0 rgba(229,37,44,.6); }
.btn-red:hover { box-shadow: 0 14px 40px -10px rgba(229,37,44,.7); }
.btn-green:hover { box-shadow: 0 14px 40px -10px rgba(24,169,68,.7); }
.btn-ghost { --bg: rgba(243,246,241,.06); --fg: var(--paper); box-shadow: inset 0 0 0 2px rgba(243,246,241,.18); }
.sos-dot { width: .6em; height: .6em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.8); animation: sos 1.4s infinite; flex: none; }
@keyframes sos { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: radial-gradient(90% 70% at 50% 60%, #17211d, var(--night) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 16px; clip-path: circle(150% at 50% 50%); text-align: center; }
.intro-kicker { display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); }
.intro-title { font-size: clamp(2rem, 6vw, 4.4rem); }
.intro-title span { color: var(--green-2); }
.intro-car { width: min(760px, 96vw); margin: 10px 0 0; }
.fob { position: relative; display: grid; grid-template-columns: auto auto; gap: 12px; align-items: center; padding: 14px 18px 14px 26px; border-radius: 60px 60px 60px 60px / 70px 70px 50px 50px; background: linear-gradient(145deg, #2b3331, #0c100f); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 40px -14px rgba(0,0,0,.8); }
.fob-led { position: absolute; top: 12px; left: 14px; width: 7px; height: 7px; border-radius: 50%; background: #2a332f; transition: background .2s, box-shadow .2s; }
.fob-led.on { background: var(--red-2); box-shadow: 0 0 10px var(--red-2); }
.fob-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1d2422; color: #9aa7a3; box-shadow: inset 0 -3px 0 rgba(0,0,0,.4); }
.fob-open { color: var(--green-2); animation: fobPulse 1.6s ease-in-out infinite; }
@keyframes fobPulse { 50% { box-shadow: inset 0 -3px 0 rgba(0,0,0,.4), 0 0 0 8px rgba(62,224,122,.15); } }
.fob-btn .ico { width: 24px; height: 24px; }
.fob-hint { grid-column: 1 / -1; font-size: .78rem; font-weight: 700; color: var(--muted-l); letter-spacing: .04em; }
.intro-skip { position: absolute; bottom: 18px; right: 22px; color: var(--muted-l); font-size: .85rem; text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 5px; }

/* ---------- carro (SVG) ---------- */
.car { width: 100%; height: auto; overflow: visible; }
.car .beam { opacity: 0; transition: opacity .35s; mix-blend-mode: screen; }
.car.lights .beam { opacity: 1; }
.car .head { transition: fill .3s; }
.car.lights .head { fill: #fff8cf; filter: drop-shadow(0 0 8px #fff3a0); }
.car .ind { fill: #6e4a12; }
.car .ind.on { fill: var(--amber); filter: drop-shadow(0 0 10px var(--amber)); }
.car .tail.on { fill: #ff3b3b; filter: drop-shadow(0 0 10px #ff3b3b); }
.car .lockbadge circle { transition: fill .4s; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 18px var(--green-2); display: grid; place-items: center; opacity: 0; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s; }
.cursor.big { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--green-2); }
.cursor span { font-family: var(--f-display); font-weight: 800; font-size: .78rem; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.big span { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 90; top: 14px; left: 12px; right: 12px; margin: 0 auto; max-width: 1280px; display: flex; align-items: center; gap: 1rem; padding: 8px 8px 8px 10px; border-radius: 999px; transition: background .5s var(--ease), box-shadow .5s; }
.nav.solid { background: rgba(11,15,13,.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 20px 50px -20px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.05); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(62,224,122,.4); transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-14deg); }
.wordmark { font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: 1.15rem; letter-spacing: -.03em; color: var(--green-2); }
.wordmark b { color: var(--red-2); font-weight: 900; }
.nav-links { margin-left: auto; display: flex; gap: .2rem; padding: 6px; border-radius: 999px; background: rgba(243,246,241,.05); }
.nav-links a { font-weight: 700; font-size: .92rem; padding: .6em 1.05em; border-radius: 999px; transition: background .35s, color .35s; }
.nav-links a:hover { background: var(--paper); color: var(--ink); }
.nav-sos { padding: .85em 1.3em; font-size: .85rem; }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; background: var(--paper); position: relative; flex: none; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2.5px; border-radius: 3px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 20px; } .burger span:last-child { top: 28px; }
.burger[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 80; background: var(--green); visibility: hidden; display: flex; align-items: center; padding: 100px var(--gut) 40px; }
.menu nav { display: flex; flex-direction: column; gap: .3rem; }
.menu a { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 10vw, 3.6rem); letter-spacing: -.04em; color: var(--night); line-height: 1.1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 120px var(--gut) 130px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(100% 80% at 70% 60%, #142019, var(--night) 70%); }
.hero-glow { position: absolute; border-radius: var(--blob); filter: blur(60px); pointer-events: none; animation: morph 12s ease-in-out infinite alternate; }
.g1 { width: 40vw; height: 40vw; right: -6vw; top: 10vh; background: rgba(24,169,68,.22); }
.g2 { width: 26vw; height: 26vw; left: -8vw; bottom: 0; background: rgba(229,37,44,.14); }
@keyframes morph { 0% { border-radius: 46% 54% 44% 56% / 52% 46% 54% 48%; } 50% { border-radius: 58% 42% 38% 62% / 42% 60% 40% 58%; } 100% { border-radius: 37% 63% 51% 49% / 60% 38% 62% 40%; } }
.hero-inner { position: relative; z-index: 2; width: min(1320px, 100%); margin: 0 auto; display: grid; grid-template-columns: .95fr 1.15fr; gap: 2.5rem; align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 5.6rem); }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--muted-l); max-width: 32em; margin-top: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-stage { position: relative; }
.hero-car { position: relative; z-index: 2; cursor: pointer; margin-bottom: -6%; }
.road { width: 112%; margin-left: -6%; height: 90px; }
.road-bed { fill: var(--asphalt); }
.road-line { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 34 30; opacity: .75; }
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.ctl { display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.15em; border-radius: 999px; background: var(--asphalt-2); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: .88rem; transition: background .3s, box-shadow .3s, color .3s; user-select: none; -webkit-user-select: none; touch-action: none; }
.ctl:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
.ctl[aria-pressed="true"] { background: var(--amber); color: var(--ink); box-shadow: 0 0 24px rgba(255,178,31,.45); }
#ctlHead[aria-pressed="true"] { background: #fff3b0; box-shadow: 0 0 24px rgba(255,243,176,.5); }
.ctl-gas.active { background: var(--red); color: #fff; box-shadow: 0 0 24px rgba(229,37,44,.6); }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(50px, 7vw, 110px); }
.hero-wave path { fill: var(--paper); }

/* ---------- faixa ---------- */
.ribbon { position: relative; z-index: 3; height: clamp(150px, 20vw, 280px); margin: -40px 0 -30px; background: var(--paper); pointer-events: none; }
.ribbon svg { width: 100%; height: 100%; overflow: visible; }
.ribbon-band { fill: none; stroke: var(--green); stroke-width: 78; stroke-linecap: round; }
.ribbon-text { font-family: var(--f-display); font-weight: 800; font-size: 34px; fill: #fff; dominant-baseline: middle; letter-spacing: 1px; }

/* ---------- emergência ---------- */
.sos { background: var(--paper); color: var(--ink); padding: clamp(70px, 9vw, 130px) var(--gut) clamp(70px, 8vw, 110px); }
.sos-head { max-width: 1280px; margin: 0 auto 40px; }
.sos-head .eyebrow { color: var(--red); }
.sos-head .sos-dot { background: var(--red); animation-name: sosR; }
@keyframes sosR { 70% { box-shadow: 0 0 0 10px rgba(229,37,44,0); } 100% { box-shadow: 0 0 0 0 rgba(229,37,44,0); } }
.sos-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sos-card { position: relative; text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 40px; background: #fff; color: var(--ink); overflow: hidden; isolation: isolate; box-shadow: 0 30px 60px -40px rgba(13,20,17,.4); transition: transform .6s var(--ease), color .4s; }
.sos-card::before { content: ''; position: absolute; z-index: -1; width: 160%; aspect-ratio: 1; left: -30%; top: 110%; background: var(--red); border-radius: var(--blob); transition: top .7s var(--ease), border-radius 1.2s var(--ease); }
.sos-card:hover { transform: translateY(-6px); color: #fff; }
.sos-card:hover::before { top: -30%; border-radius: 58% 42% 38% 62% / 42% 60% 40% 58%; }
.sos-ico { width: 62px; height: 62px; display: grid; place-items: center; border-radius: var(--blob); background: rgba(229,37,44,.1); color: var(--red); margin-bottom: 10px; transition: background .4s, color .4s; }
.sos-card:hover .sos-ico { background: rgba(255,255,255,.18); color: #fff; }
.sos-ico .ico { width: 30px; height: 30px; }
.sos-card h3 { font-size: 1.25rem; }
.sos-card p { font-size: .95rem; opacity: .75; }
.sos-go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-display); font-weight: 700; font-size: .85rem; color: var(--red); transition: color .4s; }
.sos-card:hover .sos-go { color: #fff; }
.sos-loc { max-width: 1280px; margin: 22px auto 0; display: flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; }
.sos-loc small { font-weight: 500; color: var(--muted); }
.sos-loc input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 52px; height: 30px; border-radius: 999px; background: var(--paper-2); position: relative; flex: none; transition: background .3s; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.sos-loc input:checked + .switch { background: var(--green); }
.sos-loc input:checked + .switch::after { transform: translateX(22px); }
.sos-loc input:focus-visible + .switch { outline: 3px solid var(--green-2); outline-offset: 2px; }

/* ---------- manifesto ---------- */
.manifesto { background: var(--paper); color: var(--ink); padding: 40px var(--gut) clamp(90px, 10vw, 150px); }
.manifesto-text { max-width: 1180px; margin: 0 auto; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 4.1rem); line-height: 1.12; letter-spacing: -.04em; }
.hl { display: inline-block; padding: 0 .3em .05em; border-radius: 999px; background: var(--green); color: #fff; }
.manifesto-sign { max-width: 1180px; margin: 22px auto 0; font-weight: 800; color: var(--red); }

/* ---------- painel ---------- */
.dash { position: relative; background: var(--night); padding: clamp(90px, 10vw, 150px) var(--gut); border-radius: 60px 60px 0 0 / 50px 50px 0 0; margin-top: -50px; }
.dash-head { text-align: center; max-width: 860px; margin: 0 auto 40px; }
.dash-head .lead { margin-left: auto; margin-right: auto; }
.cluster-wrap { max-width: 1000px; margin: 0 auto; }
.cluster { width: 100%; height: auto; overflow: visible; }
.cl-shell { fill: #0e1312; stroke: #26302d; stroke-width: 3; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.dial-face { fill: url(#dialBg); stroke: #2a3532; stroke-width: 3; }
.tick { stroke: #4b5a55; stroke-width: 2.5; stroke-linecap: round; }
.tick.big { stroke: #cfd8d3; stroke-width: 4; }
.tick.red { stroke: var(--red); }
.dial-num { font-family: var(--f-display); font-weight: 700; font-size: 17px; fill: #9fb0a9; }
.dial-label { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: 2px; fill: #6d7d77; }
.needle { fill: var(--red-2); filter: drop-shadow(0 0 6px rgba(255,81,87,.8)); }
.needle-hub { fill: #2a3532; stroke: #45524e; stroke-width: 3; }
.cl-odo { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: 3px; fill: #4c5a55; }
.wl { cursor: pointer; }
.wl-bg { fill: #141b19; stroke: #26302d; stroke-width: 2; transition: fill .3s, stroke .3s; }
.wl use { color: #34403c; transition: color .25s, filter .25s; }
.wl.on use, .wl:hover use, .wl:focus-visible use { color: var(--c); filter: drop-shadow(0 0 8px var(--c)); }
.wl.sel .wl-bg { stroke: var(--c); fill: #18201e; }
.wl:focus { outline: none; }
.wl-chips { display: none; }
.wl-chip { display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.05em; border-radius: 999px; background: var(--asphalt); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: .88rem; }
.wl-chip .ico { color: var(--c); }
.wl-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--c), 0 0 18px color-mix(in srgb, var(--c) 40%, transparent); }
@media (max-width: 640px) { .wl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; } }
.wl-info { max-width: 760px; margin: 30px auto 0; display: flex; gap: 18px; align-items: center; padding: 22px 26px; border-radius: 40px; background: var(--asphalt); box-shadow: inset 0 0 0 1.5px var(--line); }
.wl-info-ico { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: var(--blob); background: rgba(62,224,122,.1); color: var(--green-2); animation: morph 7s ease-in-out infinite alternate; }
.wl-info-ico .ico { width: 30px; height: 30px; }
.wl-info h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.wl-info p { color: var(--muted-l); font-size: .97rem; }
.wl-info .btn { margin-top: 12px; padding: .7em 1.2em; font-size: .82rem; }

/* ---------- serviços ---------- */
.services { background: var(--paper); color: var(--ink); padding: clamp(90px, 10vw, 150px) var(--gut); border-radius: 60px 60px 0 0 / 50px 50px 0 0; margin-top: -50px; position: relative; }
.sec-head { max-width: 1280px; margin: 0 auto 46px; }
.sec-head.center { text-align: center; }
.svc-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { position: relative; padding: 26px 24px 24px; border-radius: 38px; background: #fff; overflow: hidden; isolation: isolate; min-height: 250px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -44px rgba(13,20,17,.45); transition: transform .6s var(--ease), color .4s; }
.svc::before { content: ''; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -18%; top: -22%; background: var(--paper-2); border-radius: var(--blob); transition: all .9s var(--ease); }
.svc:hover { transform: translateY(-6px); color: #fff; }
.svc:hover::before { width: 260%; right: -80%; top: -80%; background: var(--asphalt); }
.svc-ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: var(--blob); background: var(--green); color: #fff; margin-bottom: auto; transition: transform .7s var(--ease), box-shadow .4s; }
.svc:hover .svc-ico { transform: rotate(-10deg) scale(1.08); box-shadow: 0 0 30px rgba(62,224,122,.5); }
.svc-ico .ico { width: 28px; height: 28px; }
.svc h3 { font-size: 1.12rem; margin: 26px 0 8px; letter-spacing: -.03em; line-height: 1.15; }
.svc p { font-size: .93rem; color: var(--muted); transition: color .4s; }
.svc:hover p { color: var(--muted-l); }
.svc.feat { grid-column: span 2; background: var(--green); color: #fff; }
.svc.feat::before { background: rgba(255,255,255,.12); }
.svc.feat .svc-ico { background: #fff; color: var(--green); }
.svc.feat p { color: rgba(255,255,255,.82); }

/* ---------- chaves ---------- */
.keys { background: var(--night); padding: clamp(90px, 10vw, 150px) var(--gut); position: relative; overflow: hidden; border-radius: 60px 60px 0 0 / 50px 50px 0 0; margin-top: -50px; }
.keys-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.keys-art { position: relative; }
.keysvg { position: relative; z-index: 2; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.keys-glow { position: absolute; inset: 10% 15%; border-radius: var(--blob); background: rgba(24,169,68,.25); filter: blur(60px); animation: morph 9s ease-in-out infinite alternate; }
.kled.on { fill: var(--red-2); filter: drop-shadow(0 0 6px var(--red-2)); }
.keys-list { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; gap: 12px; }
.keys-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 30px; background: var(--asphalt); box-shadow: inset 0 0 0 1.5px var(--line); }
.keys-list .ico { width: 26px; height: 26px; color: var(--green-2); margin-top: 2px; }
.keys-list b { display: block; font-family: var(--f-display); font-size: 1rem; letter-spacing: -.02em; }
.keys-list span { color: var(--muted-l); font-size: .93rem; }

/* ---------- diagnóstico ---------- */
.diag { background: var(--paper); color: var(--ink); padding: clamp(90px, 10vw, 150px) var(--gut); border-radius: 60px 60px 0 0 / 50px 50px 0 0; margin-top: -50px; position: relative; }
.diag-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.diag-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.25em; border-radius: 999px; background: #fff; font-weight: 700; font-size: .98rem; box-shadow: 0 16px 30px -24px rgba(13,20,17,.5), inset 0 0 0 2px transparent; transition: background .35s var(--ease), color .35s, box-shadow .35s, transform .35s var(--ease); }
.chip .ico { color: var(--green); transition: color .3s; }
.chip:hover { box-shadow: inset 0 0 0 2px var(--green); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; transform: scale(1.03); }
.chip[aria-pressed="true"] .ico { color: var(--green-2); }
.card { background: #fff; border-radius: 40px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 30px 70px -44px rgba(13,20,17,.5); }
.diag-result { position: sticky; top: 100px; min-height: 260px; }
.diag-result h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.diag-empty { color: var(--muted); }
.diag-empty .ico { width: 54px; height: 54px; color: var(--green); margin-bottom: 14px; }
.res-list { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 10px; }
.res-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 26px; background: var(--paper); }
.res-list .ico { width: 26px; height: 26px; color: var(--green); flex: none; margin-top: 2px; }
.res-list b { display: block; font-family: var(--f-display); font-size: .95rem; letter-spacing: -.02em; }
.res-list span { font-size: .9rem; color: var(--muted); }
.res-urgent { display: flex; align-items: center; gap: 8px; padding: .7em 1.1em; border-radius: 999px; background: rgba(229,37,44,.1); color: var(--red); font-weight: 700; font-size: .9rem; margin-bottom: 14px; }

/* ---------- passos ---------- */
.steps { background: var(--paper); color: var(--ink); padding: 0 var(--gut) clamp(90px, 10vw, 150px); }
.steps-track { position: relative; max-width: 1200px; margin: 0 auto; }
.steps-svg { position: absolute; left: 0; top: 0; width: 100%; height: 240px; overflow: visible; }
.st-bg { fill: none; stroke: var(--paper-2); stroke-width: 12; stroke-linecap: round; }
.st-fg { fill: none; stroke: var(--green); stroke-width: 12; stroke-linecap: round; }
.steps-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 170px; }
.steps-list li { background: #fff; border-radius: 36px; padding: 26px; box-shadow: 0 30px 60px -44px rgba(13,20,17,.5); }
.steps-list b { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--blob); background: var(--green); color: #fff; font-family: var(--f-display); margin-bottom: 14px; }
.steps-list h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.steps-list p { color: var(--muted); font-size: .95rem; }
.steps-list li:nth-child(2) { margin-top: 40px; }
.steps-list li:nth-child(3) { margin-top: -20px; }

/* ---------- oficina ---------- */
.shop { background: var(--night); padding: clamp(90px, 10vw, 150px) var(--gut); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; border-radius: 60px 60px 0 0 / 50px 50px 0 0; margin-top: -50px; position: relative; }
.shop-copy { max-width: 560px; justify-self: end; }
.shop-copy .btn { margin-top: 2rem; }
.shop-photos { position: relative; height: clamp(380px, 46vw, 600px); max-width: 620px; width: 100%; }
.ph { position: absolute; margin: 0; overflow: hidden; border-radius: var(--blob); box-shadow: 0 40px 60px -30px rgba(0,0,0,.8); animation: morph 10s ease-in-out infinite alternate; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-1 { width: 56%; height: 74%; left: 0; top: 0; }
.ph-2 { width: 54%; height: 70%; right: 0; bottom: 0; animation-delay: -4s; }
.ph-badge { position: absolute; z-index: 2; left: 38%; top: 54%; width: 110px; height: 110px; border-radius: 50%; padding: 6px; background: var(--night); box-shadow: 0 0 0 3px var(--green), 0 20px 40px rgba(0,0,0,.6); }
.ph-badge img { width: 100%; height: 100%; border-radius: 50%; }

/* ---------- agendar ---------- */
.book { background: var(--paper); color: var(--ink); padding: clamp(90px, 10vw, 150px) var(--gut); border-radius: 60px 60px 0 0 / 50px 50px 0 0; margin-top: -50px; position: relative; }
.book-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-list { display: grid; gap: 10px; margin-top: 2rem; }
.contact-list a, .contact-list p { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 30px; background: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; transition: transform .5s var(--ease), box-shadow .3s; }
.contact-list a:hover { transform: translateX(6px); box-shadow: inset 0 0 0 2px var(--green); }
.contact-list .ico { width: 30px; height: 30px; color: var(--green); }
.contact-list small { display: block; font-family: var(--f-body); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-weight: 700; font-size: .9rem; padding-left: 16px; color: var(--ink); }
.field span i { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .95em 1.2em; border: 0; border-radius: 999px; background: var(--paper); transition: box-shadow .3s, background .3s; appearance: none; }
.field textarea { border-radius: 28px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--green); }
.field input.bad { box-shadow: inset 0 0 0 2px var(--red); }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: .7em 1.2em; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .35s var(--ease), color .35s; }
.pills input:checked + span { background: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--green-2); outline-offset: 2px; }
.form-err { color: var(--red); font-weight: 700; text-align: center; min-height: 1.2em; margin-top: 10px; }

/* ---------- rodapé ---------- */
.footer { position: relative; background: var(--night); padding: 40px var(--gut) 30px; margin-top: -1px; }
.foot-wave { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(50px, 7vw, 110px); }
.foot-wave path { fill: var(--night); }
.foot-inner { max-width: 1280px; margin: 0 auto; }
.foot-big { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(3.4rem, 13vw, 12rem); letter-spacing: -.06em; line-height: .95; color: var(--green-2); }
.foot-big b { color: var(--red-2); }
.foot-row { display: flex; align-items: center; gap: 18px; margin-top: 40px; color: var(--muted-l); flex-wrap: wrap; }
.foot-row img { border-radius: 50%; }
.foot-links { margin-left: auto; display: flex; gap: 10px; }
.foot-links a { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--blob); background: var(--asphalt-2); transition: background .3s, color .3s; }
.foot-links a:hover { background: var(--green); color: #fff; }
.foot-copy { margin-top: 26px; font-size: .85rem; color: rgba(243,246,241,.4); }

/* ---------- FAB ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: .55em; padding: 1em 1.3em; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--f-display); font-weight: 800; box-shadow: 0 16px 40px -10px rgba(229,37,44,.8); transform: translateY(160%); transition: transform .7s var(--ease); }
.fab.show { transform: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 250; width: max-content; max-width: min(420px, calc(100% - 32px)); translate: -50% 30px; background: var(--paper); color: var(--ink); padding: .9em 1.4em; border-radius: 999px; font-weight: 700; text-align: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .4s, translate .6s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-sos { margin-left: auto; }
  .burger { display: block; }
  .sos-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero-inner, .keys-inner, .diag-grid, .shop, .book-inner { grid-template-columns: 1fr; }
  .hero-stage { order: -1; }
  .shop-copy { justify-self: start; }
  .diag-result { position: static; }
  .keys-art { max-width: 520px; }
}
@media (max-width: 640px) {
  .wordmark { display: none; }
  .nav-sos { padding: .8em 1.1em; }
  .sos-grid, .svc-grid { grid-template-columns: 1fr; }
  .svc.feat { grid-column: auto; }
  .svc { min-height: 0; }
  .steps-svg { display: none; }
  .steps-list { grid-template-columns: 1fr; padding-top: 0; }
  .steps-list li:nth-child(n) { margin-top: 0; }
  .field-row { flex-direction: column; gap: 0; }
  .wl-info { flex-direction: column; text-align: center; border-radius: 34px; }
  .ribbon-text { font-size: 44px; }
  .ribbon-band { stroke-width: 96; }
  .ctl span { font-size: .8rem; }
  .foot-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
