/* Célio Eletricista
   Mundo visual: o quadro de distribuição. Azul-marinho do uniforme,
   chapa de aço do quadro, fita crepe escrita a pincel, amarelo de fase.
   Ousadia gasta em dois lugares: o nome gigante do topo e o quadro de serviços. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 62% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Marker";
  src: url("../fonts/marker.woff2") format("woff2");
  font-display: swap;
}

:root {
  --navy: #13233f;
  --navy-deep: #0e1a30;
  --navy-3: #26406b;
  --steel: #eceeeb;
  --steel-2: #dfe3df;
  --steel-3: #c9cfca;
  --plate: #f7f8f6;
  --ink: #13233f;
  --ink-soft: #46546b;
  --on-navy: #e9edf4;
  --on-navy-soft: #aab6cb;
  --amber: #f5b800;
  --tape: #efe6c8;
  --tape-ink: #1d1d1b;
  --wa: #168a45;
  --wa-hover: #127a3c;
  --live: #3fd27a;

  --sans: "Archivo", system-ui, sans-serif;
  --marker: "Marker", "Comic Sans MS", cursive;

  /* curvas do Emil Kowalski */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 16px;

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--navy-3) var(--steel-2); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber); color: var(--navy); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }

h1, h2, h3 { margin: 0; line-height: 1; text-wrap: balance; }
h2 {
  font-stretch: 66%;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  letter-spacing: -0.01em;
  line-height: .92;
}

section[id] { scroll-margin-top: 64px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--amber); color: var(--navy); padding: 10px 14px; border-radius: var(--radius-s);
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Botões ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: .8em 1.45em;
  border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.15;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.35em; height: 1.35em; flex: none; }
.btn:active { transform: scale(0.97); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 60, 30, .6); }
.btn--ghost { color: var(--on-navy); box-shadow: inset 0 0 0 1.5px rgba(233, 237, 244, .4); }
@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover { background: var(--wa-hover); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-navy); }
}

/* ---------- Fita crepe ---------- */
.tape {
  display: inline-block;
  font-family: var(--marker); font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.1;
  color: var(--tape-ink);
  background: var(--tape);
  padding: 6px 16px 5px;
  transform: rotate(-1.4deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  clip-path: polygon(1.5% 6%, 99% 0, 100% 94%, 0 100%);
}

/* ---------- Parafusos ---------- */
.screw {
  position: absolute; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #a9b0aa 72%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 4.5px; height: 2px; background: #858c86; transform: rotate(35deg); }
.screw--tl { top: 10px; left: 10px; }
.screw--tr { top: 10px; right: 10px; }
.screw--bl { bottom: 10px; left: 10px; }
.screw--br { bottom: 10px; right: 10px; }
.screw--tr::after { transform: rotate(-20deg); }
.screw--bl::after { transform: rotate(80deg); }

/* ---------- Topo fixo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(19, 35, 63, .94);
  color: var(--on-navy);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.topbar__in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font-stretch: 70%; font-weight: 800; font-size: 1.4rem; line-height: 1; }
.brand__name span { font-weight: 400; color: var(--amber); }
.brand__lever { position: relative; width: 15px; height: 25px; border-radius: 3px; background: var(--plate); flex: none; }
.brand__lever::after { content: ""; position: absolute; left: 4px; right: 4px; top: 4px; height: 8px; background: var(--navy); border-radius: 2px; }
.topbar__nav { display: flex; gap: 24px; margin-left: auto; font-size: .97rem; }
.topbar__nav a { text-decoration: none; color: var(--on-navy-soft); transition: color 200ms ease; }
.topbar__call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; font-variant-numeric: tabular-nums;
  padding: 8px 14px; border-radius: 999px; background: var(--navy-3);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.topbar__call:active { transform: scale(0.97); }
.topbar__call svg { width: 18px; height: 18px; color: var(--amber); }
@media (hover: hover) and (pointer: fine) {
  .topbar__nav a:hover { color: #fff; }
  .topbar__call:hover { background: #31507f; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--on-navy);
  padding-top: clamp(28px, 6vw, 80px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.hero__name {
  font-stretch: 62%;
  font-weight: 800;
  font-size: clamp(4.6rem, 12.4vw, 11.5rem);
  line-height: .84;
  letter-spacing: -0.012em;
  color: #fff;
  text-wrap: nowrap;
}
.hero__line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-bottom: .02em; }
.hero__line > span { display: block; }
.hero__line--thin { font-weight: 300; color: #dfe5ef; }
.hero__lead {
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 40ch;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.5;
  color: var(--on-navy);
}
.hero .actions { margin-top: 28px; }

.hero__frame {
  position: relative; margin: 0;
  padding: 14px;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, #f1f3f0, #d9ded9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 40px 80px -30px rgba(0, 0, 0, .65);
  align-self: end;
  margin-bottom: 8px;
}
.hero__door { overflow: hidden; border-radius: 7px; aspect-ratio: 4 / 5; background: var(--steel-3); }
.hero__door img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__tape { position: absolute; left: -18px; bottom: 44px; z-index: 2; }

.hero__facts {
  list-style: none; margin: clamp(40px, 6vw, 72px) auto 0; padding-top: 0; padding-bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero__facts li {
  padding: 22px 24px 30px 0;
  border-top: 1px solid rgba(233, 237, 244, .16);
  display: grid; gap: 2px;
}
.hero__facts li + li { padding-left: 24px; border-left: 1px solid rgba(233, 237, 244, .1); }
.hero__facts strong { font-size: 1.05rem; color: #fff; }
.hero__facts span { color: var(--on-navy-soft); font-size: .97rem; }

/* entrada do topo: uma sequência só, vista uma vez por visita */
@media (prefers-reduced-motion: no-preference) {
  .hero__door { animation: door-open 1100ms var(--ease-in-out) 80ms both; }
  .hero__door img { animation: settle 1500ms var(--ease-out) 80ms both; }
  .hero__line > span { animation: rise 900ms var(--ease-out) both; }
  .hero__line:nth-child(1) > span { animation-delay: 160ms; }
  .hero__line:nth-child(2) > span { animation-delay: 250ms; }
  .hero__lead { animation: lift 700ms var(--ease-out) 420ms both; }
  .hero__tape { animation: fade 500ms ease 1000ms both; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__door, .hero__lead { animation: fade 300ms ease both; }
}
@keyframes door-open { from { clip-path: inset(0 100% 0 0 round 7px); } to { clip-path: inset(0 0 0 0 round 7px); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(104%); } to { transform: translateY(0); } }
@keyframes lift { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { display: contents; }
  .hero__name { order: 1; font-size: clamp(4.4rem, 29vw, 8rem); }
  .hero__frame { order: 2; margin: 22px 0 0; padding: 10px; border-radius: var(--radius-m); }
  .hero__door { aspect-ratio: 3 / 2; border-radius: 5px; }
  .hero__door img { object-position: 50% 30%; }
  .hero__tape { left: auto; right: -6px; bottom: -14px; font-size: 1.05rem; }
  .hero__lead { order: 3; margin-top: 30px; }
  .hero .actions { order: 4; margin-top: 24px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: 1fr; margin-top: 40px; }
  .hero__facts li, .hero__facts li + li { padding: 16px 0; border-left: 0; }
  .hero__facts li:last-child { padding-bottom: 32px; }
  .topbar__nav { display: none; }
  .topbar__call span { display: none; }
  .topbar__call { margin-left: auto; padding: 10px; }
  .topbar__call svg { width: 22px; height: 22px; }
  .screw { width: 9px; height: 9px; }
  .screw::after { top: 3.5px; }
  .screw--tl, .screw--tr { top: 7px; } .screw--bl, .screw--br { bottom: 7px; }
  .screw--tl, .screw--bl { left: 7px; } .screw--tr, .screw--br { right: 7px; }
}

/* ---------- Serviços: o quadro ---------- */
.services { background: var(--navy-deep); color: var(--on-navy); padding-block: clamp(72px, 10vw, 128px); }
.services__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 56px; align-items: end; margin-bottom: 44px; }
.services__head h2 { color: #fff; }
.services__head p { color: var(--on-navy-soft); max-width: 44ch; padding-bottom: .4em; }

.panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  background: linear-gradient(170deg, #eff1ee 0%, #e0e4e0 100%);
  color: var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.circuit + .circuit { margin-top: 30px; }
.circuit .tape { margin-bottom: 14px; }
.circuit:nth-child(2) .tape { transform: rotate(1deg); }
.circuit:nth-child(3) .tape { transform: rotate(-.6deg); }
.circuit:nth-child(4) .tape { transform: rotate(.5deg); }

/* o trilho DIN */
.rail {
  list-style: none; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, 82px); grid-auto-rows: 124px; gap: 8px 4px;
  padding: 12px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(180deg, transparent 0 25px, #c5cbc6 25px, #b9c0ba 37px, transparent 37px 132px) 0 12px / 100% 100% no-repeat,
    rgba(19, 35, 63, .045);
  box-shadow: inset 0 0 0 1px rgba(19, 35, 63, .06);
}

.breaker {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 82px; height: 124px; padding: 0;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.breaker:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 8px; }
.breaker__text strong { display: block; font-size: .84rem; font-weight: 600; line-height: 1.2; color: var(--ink-soft); transition: color 200ms ease; }
.breaker__text > span { display: none; }

/* o módulo e a alavanca */
.sw {
  position: relative; display: block; flex: none;
  width: 44px; height: 74px; border-radius: 6px;
  background: linear-gradient(180deg, #fff, #f1f3f1);
  box-shadow: inset 0 0 0 1px var(--steel-3), 0 2px 3px rgba(19, 35, 63, .12);
  transition: transform 160ms var(--ease-out);
}
.sw::before {
  content: ""; position: absolute; left: 11px; right: 11px; top: 13px; height: 38px;
  border-radius: 3px; background: #d5dad6; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
}
.sw i {
  position: absolute; left: 13px; right: 13px; height: 17px; top: 32px;
  background: var(--navy); border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .3);
  transition: top 200ms var(--ease-out);
}
.sw::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 14px; height: 4px; margin-left: -7px;
  border-radius: 2px; background: var(--steel-3);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.breaker.is-on .sw i { top: 15px; }
.breaker.is-on .sw::after { background: var(--live); box-shadow: 0 0 8px rgba(63, 210, 122, .7); }
.breaker:active .sw { transform: scale(0.96); }
.breaker[aria-pressed="true"] .breaker__text strong { color: var(--ink); }
.breaker[aria-pressed="true"] .sw { box-shadow: inset 0 0 0 1px var(--steel-3), 0 0 0 2px var(--amber), 0 2px 3px rgba(19, 35, 63, .12); }
@media (hover: hover) and (pointer: fine) {
  .breaker:hover .breaker__text strong { color: var(--ink); }
  .breaker:hover .sw { transform: translateY(-2px); }
}

/* o visor */
.visor { position: sticky; top: 96px; display: grid; gap: 14px; }
.visor__screen {
  background: var(--navy-deep);
  color: var(--on-navy);
  border-radius: var(--radius-m);
  padding: 26px 26px 30px;
  min-height: 220px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.visor__status { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--on-navy-soft); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px rgba(63, 210, 122, .8); }
.visor__title { margin-top: 18px; font-stretch: 66%; font-weight: 800; font-size: clamp(2rem, 3vw, 2.6rem); line-height: .98; color: #fff; text-wrap: balance; }
.visor__desc { margin-top: 12px; color: var(--on-navy-soft); }
.visor__cta { width: 100%; }

.services__more { margin-top: 28px; color: var(--on-navy-soft); }
.services__more a { color: #fff; font-weight: 700; }
.only-fine { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 960px) { .only-fine { display: inline; } }

@media (max-width: 959px) {
  .services__head { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; padding: 24px 16px 20px; }
  .visor { display: none; }
  .rail { display: flex; flex-direction: column; gap: 8px; padding: 0; background: none; box-shadow: none; }
  .breaker {
    cursor: default; pointer-events: none;
    flex-direction: row; align-items: flex-start; gap: 14px;
    width: 100%; height: auto; padding: 14px 14px 14px 12px; text-align: left;
    background: var(--plate); border-radius: var(--radius-s);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 1px 2px rgba(19, 35, 63, .1);
  }
  .breaker__text strong { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
  .breaker__text > span { display: block; margin-top: 3px; font-size: .97rem; color: var(--ink-soft); line-height: 1.45; }
  .sw { width: 30px; height: 48px; }
  .sw::before { left: 7px; right: 7px; top: 8px; height: 26px; }
  .sw i { left: 9px; right: 9px; height: 11px; top: 21px; transition-delay: var(--d, 0ms); }
  .sw::after { bottom: 5px; width: 10px; height: 3px; margin-left: -5px; transition-delay: var(--d, 0ms); }
  .breaker.is-on .sw i { top: 10px; }
  .breaker[aria-pressed="true"] .sw { box-shadow: inset 0 0 0 1px var(--steel-3), 0 2px 3px rgba(19, 35, 63, .12); }
}

/* ---------- Trabalhos ---------- */
.works { padding-block: clamp(72px, 10vw, 128px); }
.works__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 56px; align-items: end; }
.works__head p { color: var(--ink-soft); padding-bottom: .4em; }
.gallery {
  margin-top: 40px;
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.gallery:empty { display: none; }
.shot {
  all: unset; cursor: zoom-in; display: block; position: relative; overflow: hidden;
  border-radius: var(--radius-m); background: var(--steel-2); aspect-ratio: 4 / 5;
  transition: transform 160ms var(--ease-out);
}
.shot:active { transform: scale(0.98); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 32px 14px 12px;
  color: #fff; font-size: .95rem; line-height: 1.35;
  background: linear-gradient(180deg, rgba(19, 35, 63, 0), rgba(19, 35, 63, .88));
}
.shot:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .shot:hover img { transform: scale(1.03); } }

.works__empty {
  margin-top: 36px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-m);
  background: var(--plate); box-shadow: inset 0 0 0 1px var(--steel-2);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.works__empty p { max-width: 52ch; color: var(--ink-soft); }
.works__empty[hidden] { display: none; }
@media (max-width: 759px) {
  .works__head { grid-template-columns: 1fr; }
  .works__empty .btn { flex: 1 1 100%; }
  /* no celular a galeria vira uma fileira que se arrasta para o lado */
  .gallery {
    display: flex; overflow-x: auto; gap: 12px; margin-top: 28px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 80%; scroll-snap-align: start; }
}

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; color: #fff;
  opacity: 1; transform: none;
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), overlay 250ms allow-discrete, display 250ms allow-discrete;
}
.lightbox:not([open]) { opacity: 0; transform: scale(0.97); transition-duration: 180ms; }
@starting-style { .lightbox[open] { opacity: 0; transform: scale(0.97); } }
.lightbox::backdrop { background: rgba(10, 18, 34, .9); transition: opacity 250ms ease, overlay 250ms allow-discrete, display 250ms allow-discrete; }
@starting-style { .lightbox[open]::backdrop { opacity: 0; } }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--radius-s); }
.lightbox p { margin-top: 12px; text-align: center; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: transform 160ms var(--ease-out);
}
.lightbox__close:active { transform: scale(0.95); }
.lightbox__close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ---------- Como funciona: um diagrama unifilar ---------- */
.steps { background: var(--plate); padding-block: clamp(72px, 10vw, 128px); }
.steps__list {
  list-style: none; margin: 48px 0 0; padding: 0; counter-reset: s;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  position: relative;
}
.steps__list::before {
  content: ""; position: absolute; left: 20px; right: 33%; top: 19px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 10px, transparent 10px 16px);
  opacity: .35;
}
.steps__list li { counter-increment: s; position: relative; display: grid; gap: 6px; align-content: start; padding-right: 36px; }
.steps__list li::before {
  content: counter(s);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--plate);
  margin-bottom: 18px; position: relative;
}
.steps__list strong { font-stretch: 72%; font-size: 1.6rem; line-height: 1.05; }
.steps__list span { color: var(--ink-soft); max-width: 32ch; }
@media (max-width: 759px) {
  .steps__list { grid-template-columns: 1fr; gap: 30px; }
  .steps__list::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--navy) 0 10px, transparent 10px 16px); }
  .steps__list li { grid-template-columns: 40px 1fr; column-gap: 18px; padding-right: 0; }
  .steps__list li::before { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- Onde atende ---------- */
.area { padding-block: clamp(72px, 10vw, 128px); }
.area__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 64px; align-items: start; }
.area__head p { margin-top: 16px; color: var(--ink-soft); max-width: 30ch; }
.area__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--steel-3); }
.area__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0 12px; border-bottom: 1px solid var(--steel-3);
  font-stretch: 66%; font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1;
}
.area__list li:not(.is-home) { font-weight: 400; color: var(--ink-soft); }
.area__list em {
  font-style: normal; font-stretch: 100%; font-size: .9rem; font-weight: 600; color: var(--navy);
  background: var(--amber); padding: 4px 10px; border-radius: 999px; align-self: center;
}
.area__note { grid-column: 2; color: var(--ink-soft); }
@media (max-width: 759px) { .area__in { grid-template-columns: 1fr; } .area__note { grid-column: 1; } }

/* ---------- Dúvidas ---------- */
.faq { background: var(--plate); padding-block: clamp(72px, 10vw, 128px); }
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px 64px; }
.faq__list { border-top: 1px solid var(--steel-3); }
.faq details { border-bottom: 1px solid var(--steel-3); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy);
  transform: translateY(-3px) rotate(45deg); transition: transform 250ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }
.faq details::details-content {
  block-size: 0; overflow: clip; opacity: 0;
  transition: block-size 260ms var(--ease-out), opacity 200ms ease, content-visibility 260ms allow-discrete;
}
.faq details[open]::details-content { block-size: auto; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: opacity 200ms ease, content-visibility 200ms allow-discrete; } }
@media (max-width: 759px) { .faq__in { grid-template-columns: 1fr; } }

/* ---------- Chamada final ---------- */
.closing { background: var(--navy); color: var(--on-navy); padding-block: clamp(80px, 11vw, 144px); }
.closing__in { display: grid; gap: 36px; }
.closing h2 { color: #fff; font-stretch: 62%; font-size: clamp(3.2rem, 9vw, 7.5rem); line-height: .88; max-width: 12ch; }
.closing h2 span { display: block; font-weight: 300; color: #dfe5ef; }
@media (max-width: 759px) { .closing .btn { flex: 1 1 100%; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy-soft); padding-block: 40px 112px; font-size: .97rem; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px 40px; align-items: start; }
.footer .brand__name { color: #fff; }
.footer a { color: #fff; }
@media (max-width: 759px) { .footer__in { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 12px 28px -10px rgba(5, 40, 20, .7), 0 2px 6px rgba(0, 0, 0, .15);
  transition: transform 250ms var(--ease-out), opacity 250ms var(--ease-out), background-color 200ms ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:active { transform: scale(0.96); }
.wa-float.is-hidden { transform: translateY(16px) scale(0.96); opacity: 0; pointer-events: none; transition-duration: 180ms; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: var(--wa-hover); } }
@media (max-width: 759px) {
  .wa-float { right: 14px; bottom: 14px; padding: 15px; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float.is-hidden { transform: none; }
}
