/* =========================================================
   Edio Serviços Gerais, estilos
   Paleta do cartão de visita: preto, verde neon e amarelo,
   sobre base off-white.
   ========================================================= */

:root {
  --ink: #0e0f0c;        /* preto do fundo escuro */
  --ink-2: #17191a;
  --neon: #2fe35a;       /* cor de ação */
  --neon-2: #20c449;
  --yellow: #f2e41c;     /* destaque pontual */
  --paper: #f3f2ec;      /* base clara */
  --paper-2: #e9e8e0;    /* fundo alternado */
  --text: #141512;
  --muted: #5b5e57;
  --muted-dark: #a6aa9f;
  --line: #d9d8cf;

  --font-display: "General Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --out: cubic-bezier(0.23, 1, 0.32, 1);
  --inout: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1200px;
  --header-h: 72px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a, button { touch-action: manipulation; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: manual;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
figure { margin: 0; }

.container { width: min(100% - var(--pad) * 2, var(--container)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--neon); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.45em;
  border: 0; border-radius: 999px;
  font: 600 1rem/1.1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s var(--out), background-color .2s var(--out), color .2s var(--out);
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1.1em 1.7em; font-size: 1.06rem; }
.btn-sm { padding: .7em 1.1em; font-size: .92rem; }
.btn-neon { background: var(--neon); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink .ico { color: var(--neon); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; text-decoration: none;
  padding: .6em .2em;
}
.link-arrow .ico { transition: transform .2s var(--out); }
.link-arrow:active .ico { transform: translateX(3px); }

@media (hover: hover) and (pointer: fine) {
  .btn-neon:hover { background: var(--neon-2); }
  .btn-ink:hover { background: var(--ink-2); }
  .link-arrow:hover .ico { transform: translateX(4px); }
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(243, 242, 236, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--out);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--neon);
  background: var(--paper-2);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font: 600 1.2rem/1 var(--font-display); letter-spacing: -.02em; }
.logo-text small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .2s var(--out); }
.header-cta { margin-left: 8px; }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--text); }
}

/* ---------- Topo ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: 24px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px;
  min-height: min(calc(100svh - var(--header-h) - 48px), 720px);
}

/* foto grande com o título por cima */
.hero-photo {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 560px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}
.hero-photo img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 55% 30%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14, 15, 12, .92) 0%, rgba(14, 15, 12, .72) 42%, rgba(14, 15, 12, 0) 78%);
}
.hero-copy { padding: clamp(24px, 3.4vw, 48px); }
.hero-copy .eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.2rem, 1rem + 3.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 13em;
}
.ln { display: block; padding: .14em .08em .16em; margin: -.14em -.08em -.16em; }
.ln > span { display: inline-block; }
.hero-sub {
  margin-top: 18px;
  max-width: 32em;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem);
  color: rgba(243, 242, 236, .86);
}

/* cartão de escolha de serviço */
.picker {
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border-radius: 10px;
  padding: clamp(22px, 2.6vw, 36px);
}
.picker-title { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.03em; }
.picker-hint { margin-top: 6px; color: var(--muted); font-size: 1rem; }
.opts {
  border: 0; margin: 20px 0 22px; padding: 0; min-width: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.opt {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-height: 60px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 1.05rem; font-weight: 500; line-height: 1.2;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color .18s var(--out), border-color .18s var(--out), color .18s var(--out), transform .16s var(--out);
}
.opt:active { transform: scale(.97); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt-box {
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid #b9b8ae;
  background: var(--paper);
  transition: background-color .18s var(--out), border-color .18s var(--out);
}
.opt-box svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .22s var(--out); }
.opt:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.opt:has(input:checked) .opt-box { background: var(--neon); border-color: var(--neon); }
.opt:has(input:checked) .opt-box svg { stroke-dashoffset: 0; }
.opt:has(input:focus-visible) { outline: 2.5px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .opt:hover { border-color: var(--ink); }
}

.bubble {
  margin-top: auto;
  padding: 12px 14px 12px;
  background: var(--paper);
  border-radius: 12px 12px 12px 4px;
  border: 1px solid var(--line);
}
.bubble-label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bubble-text { margin-top: 4px; font-size: .98rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.bubble-text.pulse { animation: bubblePulse .24s var(--out); }

.picker-btn { margin-top: 16px; white-space: normal; text-align: center; }
.picker-foot { margin-top: 10px; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 10vw, 144px) 0; }
.section-alt { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--paper); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.split-head {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22em);
  align-items: end; gap: 24px 48px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--neon-2); }
.on-dark .kicker { color: var(--muted-dark); }
.on-dark .kicker::before { background: var(--neon); }
.section h2, .cta h2 { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.4rem); letter-spacing: -0.04em; }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 34em; }
.on-dark .lead { color: var(--muted-dark); }

/* ---------- Serviços ---------- */
.svc-list { border-bottom: 1px solid var(--line); }
.svc-list li { position: relative; }
.svc-list li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--text); opacity: .18; transform-origin: left center;
}
.svc-row {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  align-items: center; gap: 8px 24px;
  padding: clamp(20px, 2.4vw, 30px) 0;
  text-decoration: none;
}
.svc-num { font: 500 .9rem/1 var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; align-self: start; padding-top: .7em; }
.svc-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24em); align-items: baseline; gap: 6px 40px; }
.svc-title {
  font: 600 clamp(1.5rem, 1rem + 1.7vw, 2.4rem)/1.08 var(--font-display);
  letter-spacing: -.03em;
  transition: transform .25s var(--out);
}
.svc-desc { color: var(--muted); font-size: 1rem; }
.svc-go {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color .2s var(--out), border-color .2s var(--out), transform .2s var(--out);
}
.svc-go .ico { transition: transform .2s var(--out); }
.svc-row:active .svc-go { background: var(--neon); border-color: var(--neon); transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover .svc-title { transform: translateX(8px); }
  .svc-row:hover .svc-go { background: var(--neon); border-color: var(--neon); }
  .svc-row:hover .svc-go .ico { transform: translateX(2px); }
}

/* ---------- Destaques ---------- */
.feature { display: grid; gap: clamp(32px, 5vw, 72px); }
.feature-solar { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.feature-photo {
  aspect-ratio: 4 / 3.4;
  border-radius: 6px; overflow: hidden;
  background: var(--paper);
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 78%; }
.feature h2 { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.5rem); }
.feature-text { margin-top: 20px; font-size: 1.08rem; color: var(--muted); max-width: 28em; }
.feature-copy .btn { margin-top: 30px; }

.feature-frete {
  margin-top: clamp(96px, 12vw, 160px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}
.feature-frete .feature-text { margin-top: 0; }

.lane {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding-top: 12px;
}
.truck {
  display: block;
  width: clamp(250px, 34vw, 460px); height: auto;
  overflow: visible;
}
.wheel { transform-box: fill-box; transform-origin: center; }
.ground { display: block; height: 0; border-top: 2px dashed #c9c8bd; margin-top: -2px; }

/* ---------- Trabalhos ---------- */
.works {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.work {
  position: relative; display: block;
  padding: 0; border: 0; border-radius: 6px;
  overflow: hidden;
  background: var(--ink-2);
  text-align: left;
  transition: transform .2s var(--out);
}
.work:active { transform: scale(.985); }
.work-big { grid-row: span 2; aspect-ratio: 3 / 4; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--out); }
.work::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 15, 12, .78) 0%, rgba(14, 15, 12, 0) 42%);
  pointer-events: none;
}
.work-cap {
  position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px;
  display: flex; flex-direction: column;
  color: var(--paper); font-size: .92rem;
}
.work-cap b { font: 600 1.35rem/1.15 var(--font-display); letter-spacing: -.02em; }
.work.clone { display: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) and (pointer: fine) {
  .work:hover img { transform: scale(1.03); }
}

/* ---------- Como funciona ---------- */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 36px;
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--ink); transform-origin: left center;
}
.step-num {
  display: block;
  font: 600 clamp(3rem, 2rem + 3vw, 4.6rem)/1 var(--font-display);
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}
.steps li:nth-child(2) .step-num { color: var(--neon-2); }
.steps h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.8rem); margin-bottom: 10px; }
.steps p { color: var(--muted); max-width: 22em; }

/* ---------- Região ---------- */
.region-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.region-copy .lead { margin-top: 20px; }
.region-copy .btn { margin-top: 32px; }

.route { position: relative; padding-left: 4px; }
.route-label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-left: 40px; }
.route ul { position: relative; margin: 14px 0; }
.route ul::before {
  content: ""; position: absolute; left: 9px; top: 26px; bottom: 26px; width: 2px;
  background: var(--ink); transform-origin: top center;
}
.route li {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  padding: 8px 0;
  font: 600 clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem)/1.15 var(--font-display);
  letter-spacing: -.03em;
}
.route li::before {
  content: ""; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  position: relative; z-index: 1;
}
.route li:first-child::before, .route li:last-child::before { background: var(--yellow); }

/* ---------- Contato ---------- */
.cta {
  background: var(--ink); color: var(--paper);
  padding: clamp(96px, 12vw, 168px) 0 clamp(72px, 9vw, 120px);
}
.cta .cta-title { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 6.2rem); max-width: 11em; }
.cta-sub { margin-top: 20px; font-size: 1.1rem; color: var(--muted-dark); }
.cta-phones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(36px, 4vw, 52px); }
.phone {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px 18px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(243, 242, 236, .22);
  color: var(--paper);
  text-decoration: none;
  transition: transform .16s var(--out), border-color .2s var(--out), background-color .2s var(--out);
}
.phone:active { transform: scale(.97); }
.phone .ico { width: 26px; height: 26px; color: var(--neon); }
.phone-num { font: 600 clamp(1.3rem, 1rem + 1vw, 1.75rem)/1 var(--font-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone .phone-arrow { width: 20px; height: 20px; color: currentColor; transition: transform .2s var(--out); }
.phone-main { background: var(--neon); border-color: var(--neon); color: var(--ink); }
.phone-main .ico { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .phone:hover { border-color: rgba(243, 242, 236, .6); }
  .phone-main:hover { background: var(--neon-2); border-color: var(--neon-2); }
  .phone:hover .phone-arrow { transform: translateX(4px); }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--ink); color: rgba(243, 242, 236, .7);
  padding: 0 0 calc(28px + env(safe-area-inset-bottom));
  font-size: .95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px;
  padding-top: 56px; border-top: 1px solid rgba(243, 242, 236, .1);
}
.logo-footer { color: var(--paper); }
.logo-footer .logo-text small { color: var(--muted-dark); }
.footer-tag { margin-top: 14px; }
.footer-h { font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; }
.site-footer li { padding: 3px 0; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(243, 242, 236, .1);
  font-size: .85rem; color: rgba(243, 242, 236, .45);
}
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: var(--neon); }
}

/* ---------- Barra fixa do WhatsApp ---------- */
.wa-bar {
  position: fixed; z-index: 60;
  right: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  visibility: hidden;
  transition: transform .45s var(--out), opacity .3s var(--out), visibility 0s linear .45s;
}
.wa-bar.show {
  transform: none; opacity: 1; visibility: visible;
  transition: transform .5s var(--out), opacity .3s var(--out), visibility 0s;
}
.wa-bar-btn { box-shadow: 0 14px 32px -12px rgba(14, 15, 12, .55); }

/* ---------- Foto ampliada ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14, 15, 12, .94);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s var(--out);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox figure { max-width: min(92vw, 900px); transform: scale(.95); transition: transform .35s var(--out); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 82svh; width: auto; margin-inline: auto; border-radius: 6px; }
.lightbox figcaption { margin-top: 14px; text-align: center; color: var(--paper); font: 600 1.15rem/1.3 var(--font-display); }
.lightbox-close {
  position: absolute; top: calc(16px + env(safe-area-inset-top)); right: 16px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(243, 242, 236, .12); border: 0; color: var(--paper);
  display: grid; place-items: center;
  transition: background-color .2s var(--out), transform .16s var(--out);
}
.lightbox-close:active { transform: scale(.94); }
.lightbox-close svg { width: 24px; height: 24px; }
.lightbox-close:focus-visible { outline-color: var(--neon); }
@media (hover: hover) and (pointer: fine) {
  .lightbox-close:hover { background: rgba(243, 242, 236, .22); }
}

/* =========================================================
   Animações
   ========================================================= */

@keyframes rise   { from { transform: translateY(135%); } to { transform: none; } }
@keyframes unmask { 0%, 99% { clip-path: inset(0 -.3em); } 100% { clip-path: none; } }
@keyframes fade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes nudge  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop    { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
@keyframes wipe   { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

/* --- Topo: entrada em CSS --- */
@keyframes bubblePulse { from { transform: scale(.97); opacity: .6; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  /* a foto abre de cima para baixo */
  .hero-photo { animation: wipe 1.1s var(--out) .05s both; }
  .hero-photo img { animation: settle 1.6s var(--out) .05s both; }

  /* protagonista: o título sobe de dentro da máscara */
  .hero-title .ln { animation: unmask 1.1s linear .3s both; }
  .hero-title .ln > span { animation: rise .8s var(--out) .3s both; }

  .hero-copy .eyebrow { animation: fade .5s var(--out) .2s both; }
  .hero-sub { animation: nudge .55s var(--out) .55s both; }

  /* o cartão entra inteiro, sem os filhos animarem de novo */
  .picker { animation: pop .6s var(--out) .42s both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo, .picker { animation: fade .8s ease-out both; }
  .picker { animation-delay: .15s; }
  .bubble-text.pulse { animation: fade .3s ease-out; }
}

/* --- Revelações ao rolar (o JS adiciona .in) --- */
.js .reveal-title .ln { clip-path: inset(0 -.3em); }
.js .reveal-title .ln > span { transform: translateY(135%); transition: transform .9s var(--out); }
.js .reveal-title.in .ln > span { transform: none; }
.js .reveal-title.done .ln { clip-path: none; }

.js [data-reveal="clip"] { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--out) var(--d, 0ms); }
.js [data-reveal="clip"] img { transform: scale(1.08); transition: transform 1.4s var(--out) var(--d, 0ms); }
.js [data-reveal="clip"].in { clip-path: inset(0); }
.js [data-reveal="clip"].in img { transform: none; }
.js [data-reveal="clip"].done { clip-path: none; transition: none; }
.js [data-reveal="clip"].done img { transition: transform .6s var(--out); }

.js [data-reveal="rows"] li::before { transform: scaleX(0); transition: transform .9s var(--out) calc(var(--i) * 55ms); }
.js [data-reveal="rows"] .svc-row { opacity: 0; transition: opacity .6s var(--out) calc(var(--i) * 55ms + 140ms); }
.js [data-reveal="rows"].in li::before { transform: scaleX(1); }
.js [data-reveal="rows"].in .svc-row { opacity: 1; }

.js [data-reveal="steps"]::before { transform: scaleX(0); transition: transform 1.1s var(--inout); }
.js [data-reveal="steps"] li { opacity: 0; transition: opacity .6s var(--out) calc(var(--d) + 250ms); }
.js [data-reveal="steps"].in::before { transform: scaleX(1); }
.js [data-reveal="steps"].in li { opacity: 1; }

.js [data-reveal="route"] ul::before { transform: scaleY(0); transition: transform 1.2s var(--inout) .1s; }
.js [data-reveal="route"] li { opacity: 0; transition: opacity .5s var(--out) calc(var(--i) * 70ms + 150ms); }
.js [data-reveal="route"] li:nth-child(2) { transition-delay: 260ms; }
.js [data-reveal="route"] li:nth-child(4) { transition-delay: 470ms; }
.js [data-reveal="route"].in ul::before { transform: scaleY(1); }
.js [data-reveal="route"].in li { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  /* versão calma: só opacidade */
  .js .reveal-title .ln { clip-path: none; }
  .js .reveal-title .ln > span { transform: none; opacity: 0; transition: opacity .7s ease-out; }
  .js .reveal-title.in .ln > span { opacity: 1; }
  .js [data-reveal="clip"] { clip-path: none; opacity: 0; transition: opacity .8s ease-out var(--d, 0ms); }
  .js [data-reveal="clip"] img { transform: none; transition: none; }
  .js [data-reveal="clip"].in { opacity: 1; }
  .js [data-reveal="rows"] li::before, .js [data-reveal="steps"]::before { transform: none; transition: none; }
  .js [data-reveal="route"] ul::before { transform: none; transition: none; }
  .work img, .svc-title { transition: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */

@media (max-width: 1020px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
  body { font-size: 16px; }

  .hero { display: block; min-height: 0; padding: 0 0 72px; }
  .hero-copy, .picker-title, .picker-hint, .picker-foot { text-align: center; }
  .hero-title, .hero-sub { margin-inline: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  .hero-photo {
    min-height: 0; height: clamp(380px, 58svh, 520px);
    margin-inline: calc(var(--pad) * -1);
    border-radius: 0;
  }
  .hero-photo img { object-position: 60% 22%; }
  .hero-copy { padding: 20px var(--pad) 56px; }
  .hero-copy .eyebrow { margin-bottom: 10px; font-size: .74rem; }
  .hero-title { font-size: clamp(1.95rem, 8.4vw, 3rem); line-height: 1.04; }
  .hero-sub { margin-top: 12px; font-size: 1rem; }
  .picker { position: relative; margin-top: -36px; padding: 22px 18px; }
  .opt { min-height: 50px; padding: 8px 10px; font-size: .95rem; }
  .split-head { grid-template-columns: minmax(0, 1fr); align-items: start; }

  .svc-row { grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 6px 14px; }
  .svc-main { grid-template-columns: minmax(0, 1fr); }
  .svc-desc { font-size: .95rem; }
  .svc-go { width: 42px; height: 42px; }

  .feature-solar, .feature-frete { grid-template-columns: minmax(0, 1fr); }
  .feature-frete { gap: 20px; }
  .lane { margin-top: 20px; }

  .works {
    display: flex; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .works::-webkit-scrollbar { display: none; }
  .work, .work-big { flex: 0 0 80%; aspect-ratio: 3 / 4; scroll-snap-align: start; }

  /* galeria passando sozinha, bem devagar (o JS liga com .is-marquee) */
  #trabalhos { overflow: clip; }
  .works.is-marquee {
    width: max-content;
    overflow: visible;
    margin-inline: 0; padding-inline: 0 12px;
    scroll-snap-type: none;
    animation: marquee var(--dur, 60s) linear infinite;
    animation-play-state: paused;
  }
  .works.is-marquee.running { animation-play-state: running; }
  .works.is-marquee.held { animation-play-state: paused; }
  .works.is-marquee .work { flex: 0 0 auto; width: min(76vw, 340px); }
  .works.is-marquee .work.clone { display: block; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .step-num { margin-bottom: 12px; }

  .region-grid { grid-template-columns: minmax(0, 1fr); }

  .cta-phones { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  /* barra fixa no celular: largura toda, respeitando a área segura */
  .wa-bar {
    left: 0; right: 0; bottom: 0;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: rgba(243, 242, 236, .94);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex; justify-content: center;
    transform: translateY(100%);
  }
  .wa-bar-btn { box-shadow: none; padding-inline: 2em; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 520px) {
  /* no celular estreito o quadradinho vai para cima do texto,
     para os nomes caberem inteiros sem quebrar no hífen */
  .picker { padding: 20px 16px; }
  .opts { gap: 6px; }
  .opt {
    flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 8px; min-height: 0; padding: 12px 10px;
    text-align: center;
    font-size: .95rem;
  }
  .opt-box { width: 20px; height: 20px; }
}

@media (max-width: 420px) {
  :root { --pad: 18px; }
  .logo-text small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
