/* Master Sysfer — identidade do catálogo da empresa.
   Paleta: azul royal da marca (#004385) nas superfícies e ações, azul profundo para contraste,
   ciano do arco do logo (#28abe2) como destaque. Tipografia: Archivo; títulos em itálico pesado,
   como no logo e no catálogo, e texto corrido em romano. O arco do logo é o elemento gráfico
   assinatura: aparece uma vez, desenhado no topo da página inicial. */

@view-transition { navigation: auto; }

:root {
  --aco: #002b57;
  --aco-2: #003a73;
  --aco-3: #1b5a99;
  --marca: #004385;
  --azul: #004385;
  --azul-h: #00336a;
  --azul-t: #e6eff9;
  --ciano: #28abe2;
  --ciano-h: #4fbdeb;
  --papel: #f2f6fb;
  --linha: #d9e2ee;
  --titulo: #0b1f3a;
  --texto: #34445a;
  --muted: #5f6f85;
  --ok: #138a4a;
  --erro: #b42318;
  --wa: #1fa855;

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 18px;
  --sombra: 0 24px 60px -24px rgba(0, 43, 87, .45), 0 2px 6px rgba(0, 43, 87, .08);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); interpolate-size: allow-keywords; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--f);
  font-stretch: 100%;
  color: var(--texto);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg:not([width]) { width: 1.25em; height: 1.25em; flex: none; }
a { color: var(--azul); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--titulo); margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ciano); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--azul); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Tipografia */
.h1, .hero__title, .h2, .cta-band__title, .mega__title, .hero__quote-title, .sheet__title, .askbox__t, .timeline__year {
  font-style: italic;
  font-stretch: 106%;
  font-weight: 800;
  letter-spacing: -.015em;
}
.h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; }
.h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; }
.h3 { font-size: 22px; font-weight: 700; font-stretch: 110%; }
.prose { max-width: 68ch; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose h3 { font-size: 21px; font-stretch: 112%; font-weight: 750; margin: 1.6em 0 .5em; color: var(--titulo); }
.prose ul { display: grid; gap: .4em; }
.prose li { position: relative; padding-left: 1.4em; }
.prose li::before { content: ""; position: absolute; left: .15em; top: .62em; width: .5em; height: 2px; background: var(--azul); }
.prose--lg { font-size: 18px; }

.link { color: var(--azul); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--azul) 35%, transparent); background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration-color: currentColor; }
.link--more { display: inline-block; margin-top: 28px; }

/* Botões */
.btn {
  --bg: var(--azul); --fg: #fff; --bd: var(--azul);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 650 16px/1 var(--f); font-stretch: 105%;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease);
}
.btn:hover { --bg: var(--azul-h); --bd: var(--azul-h); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--wa { --bg: var(--wa); --bd: var(--wa); }
.btn--wa:hover { --bg: #178a45; --bd: #178a45; }
.btn--line { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn--line:hover { --bg: rgba(255, 255, 255, .08); --bd: #fff; }
.btn--line-dark, .btn--ghost { --bg: #fff; --fg: var(--titulo); --bd: var(--linha); }
.btn--line-dark:hover, .btn--ghost:hover { --bg: #fff; --fg: var(--azul); --bd: var(--azul); }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r-sm); cursor: pointer; color: var(--titulo); }
.iconbtn:hover { background: var(--papel); }
.iconbtn svg { width: 22px; height: 22px; }

/* Barra superior */
.topbar { background: var(--aco); color: #b9c4d6; font-size: 14px; }
.topbar__in { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__addr, .topbar__tel { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; }
.topbar__tel { margin-left: auto; white-space: nowrap; color: #fff; text-decoration: none; font-weight: 600; }
.topbar__tel:hover { color: var(--ciano); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #8a94a6; }
.status.is-open i { background: var(--ciano); box-shadow: 0 0 0 0 rgba(40, 171, 226, .6); animation: blink 2.4s infinite; }
.status.is-open { color: #fff; }
@keyframes blink { 70% { box-shadow: 0 0 0 7px rgba(40, 171, 226, 0); } 100% { box-shadow: 0 0 0 0 rgba(40, 171, 226, 0); } }
.topbar__badge { font-size: 13px; font-weight: 600; color: #fff; border: 1px solid rgba(40, 171, 226, .6); border-radius: 99px; padding: 2px 10px; }
.topbar__fixo { margin-left: auto; }
.topbar__fixo + .topbar__tel { margin-left: 0; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--linha); box-shadow: 0 6px 24px -18px rgba(13, 27, 46, .5); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header__logo img { height: 52px; width: auto; }
.header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header__burger { display: none; }
.nav { margin-left: 12px; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  font: 600 15.5px/1 var(--f); color: var(--titulo); text-decoration: none;
  background: none; border: 0; border-radius: var(--r-sm); cursor: pointer;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--papel); }
.nav__link[aria-current="page"] { color: var(--azul); box-shadow: inset 0 -2px 0 var(--azul); border-radius: 0; }
.nav__link svg { width: 16px; height: 16px; transition: transform .2s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; grid-template-columns: minmax(240px, 1fr) 2.4fr; gap: 48px;
  padding: 32px max(24px, calc((100vw - 1192px) / 2)) 40px;
  background: #fff; border-top: 1px solid var(--linha); box-shadow: 0 30px 50px -30px rgba(13, 27, 46, .45);
  opacity: 0; visibility: hidden; translate: 0 -6px; transition: opacity .18s, translate .18s var(--ease), visibility 0s .18s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.mega__title { font: 800 26px/1.1 var(--f); font-stretch: 118%; color: var(--titulo); margin-bottom: 10px; }
.mega__intro p:not(.mega__title) { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.mega__list { columns: 3 200px; column-gap: 24px; }
.mega__list a { display: block; padding: 9px 12px; margin: 0 -12px; border-radius: var(--r-sm); color: var(--titulo); text-decoration: none; font-weight: 500; break-inside: avoid; }
.mega__list a:hover, .mega__list a[aria-current="page"] { background: var(--azul-t); color: var(--azul); }

.crumbs { padding-top: 22px; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--linha); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--azul); text-decoration: underline; }
.crumbs [aria-current] { color: var(--titulo); }

/* Hero */
.hero {
  position: relative; color: #d3e2f3; background-color: var(--marca);
  background-image: radial-gradient(120% 90% at 85% 10%, rgba(40, 171, 226, .22), transparent 60%), linear-gradient(180deg, var(--marca) 0%, var(--aco) 100%);
  padding-bottom: 1px;
  isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: #fff; z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero__title { color: #fff; font-size: clamp(40px, 6.2vw, 78px); line-height: .98; max-width: 13ch; }
.hero__lead { margin-top: 24px; font-size: 19px; line-height: 1.55; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: 15px; color: #e3e9f2; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--ciano); }
.hero .btn:not(.btn--line) { --bg: var(--ciano); --bd: var(--ciano); --fg: #00264d; }
.hero .btn:not(.btn--line):hover { --bg: var(--ciano-h); --bd: var(--ciano-h); }
.hero__media { position: relative; margin: 0; align-self: stretch; min-height: 440px; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.hero__media .hero__arc {
  position: absolute; left: -10%; top: -8%; width: 115%; height: 116%; overflow: visible; pointer-events: none;
  fill: none; stroke: var(--ciano); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.5s .35s var(--ease) both;
}
@keyframes draw { from { stroke-dashoffset: 1; } }

/* Momento de entrada (único) */
.hero__title, .hero__lead, .hero__actions, .hero__facts { animation: rise .7s var(--ease) both; }
.hero__lead { animation-delay: .08s; }
.hero__actions { animation-delay: .16s; }
.hero__facts { animation-delay: .24s; }
.hero__media img { animation: cut .9s .1s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes cut { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } }

/* Configurador de orçamento */
.hero__quote { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sombra); padding: 32px 36px; color: var(--texto); }
.hero__quote-title { font: 800 24px/1.1 var(--f); font-stretch: 115%; margin-bottom: 22px; }
.quote { display: grid; grid-template-columns: 1fr 2fr 1.6fr; gap: 28px 36px; align-items: start; }
.quote__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote__step legend { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--titulo); margin-bottom: 14px; padding: 0; }
.quote__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--azul); color: var(--azul); font-size: 13px; font-weight: 800; }
.quote__row { display: grid; gap: 12px; }
.quote__more summary { cursor: pointer; color: var(--azul); font-weight: 600; font-size: 15px; margin-top: 12px; list-style: none; }
.quote__more summary::-webkit-details-marker { display: none; }
.quote__more summary::before { content: "+ "; }
.quote__more[open] summary::before { content: "− "; }
.quote__more .field { margin-top: 10px; }
.quote__summary { grid-column: 1 / -1; min-height: 1.6em; color: var(--muted); font-size: 15.5px; border-top: 1px solid var(--linha); padding-top: 18px; }
.quote__summary strong { color: var(--titulo); }
.quote__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: -8px; }
.quote__err { color: var(--erro); font-size: 14px; font-weight: 600; margin-top: 8px; }
.quote__err:empty { display: none; }
.quote__done { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; background: #eaf7ef; color: #0b5a30; border-radius: var(--r); padding: 18px 20px; }
.quote__done svg { width: 26px; height: 26px; flex: none; }
.quote__done strong { display: block; font-size: 17px; }
.quote__done[hidden] { display: none; }
.quote.is-sent > :not(.quote__done):not(input) { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--linha); border-radius: 999px; background: #fff;
  font-size: 15px; font-weight: 550; color: var(--titulo); transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--azul); }
.chip input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip input[type="checkbox"]:checked + span::before { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -2px; }
.chip input:focus-visible + span { outline: 3px solid var(--ciano); outline-offset: 2px; }
.chips--seg { display: grid; grid-template-columns: 1fr; gap: 8px; }
.chips--seg .chip span { width: 100%; border-radius: var(--r-sm); justify-content: flex-start; padding: 0 16px; min-height: 46px; }

/* Campos */
.field { display: block; }
.field > span { display: block; font-size: 14px; font-weight: 600; color: var(--titulo); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--titulo);
  background: #fff; border: 1.5px solid var(--linha); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: #b8c3d4; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(31, 70, 163, .14); }
.field [aria-invalid="true"] { border-color: var(--erro); }
.field__err { display: block; color: var(--erro); font-size: 14px; font-weight: 600; margin-top: 6px; }
.field__err:empty { display: none; }

/* Clientes */
.clients { padding: 72px 0 24px; }
.clients__title { font: 600 17px/1.3 var(--f); color: var(--muted); text-align: center; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 50s linear infinite; padding: 6px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { width: 120px; height: 72px; display: grid; place-items: center; }
.marquee__track img { max-height: 72px; width: auto; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .7; transition: filter .2s, opacity .2s; }
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { translate: calc(-50% - 28px) 0; } }

/* Blocos */
.block { padding: 96px 0; }
.block--tight { padding: 40px 0 96px; }
.block--paper { background: var(--papel); }
.block--steel { background: var(--aco); color: #b9c4d6; }
.block--steel .h2, .block--steel h3 { color: #fff; }
.block__head { max-width: 760px; margin-bottom: 44px; }
.block__head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.block__lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 60ch; }

/* Abas de serviços */
.tabs__list { display: inline-flex; padding: 5px; gap: 4px; background: var(--papel); border-radius: 12px; margin-bottom: 32px; }
.tabs__list [role="tab"] {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px;
  font: 650 16px/1 var(--f); font-stretch: 108%; color: var(--muted); background: none; border: 0; border-radius: 9px; cursor: pointer;
}
.tabs__list [role="tab"] small { font-size: 13px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgba(13, 27, 46, .07); }
.tabs__list [role="tab"][aria-selected="true"] { background: #fff; color: var(--titulo); box-shadow: 0 1px 3px rgba(13, 27, 46, .12); }
.tabs__list [role="tab"][aria-selected="true"] small { background: var(--azul); color: #fff; }
.js .tabs__panel[data-hidden] { display: none; }
.js .tabs__panel { animation: fadein .3s var(--ease); }
.tabs__panel + .tabs__panel { margin-top: 56px; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
@keyframes fadein { from { opacity: 0; } }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border: 1px solid var(--linha); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color .2s, translate .2s var(--ease); }
.svc:hover { border-color: var(--azul); translate: 0 -2px; }
.svc__img { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--linha); overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: scale .35s var(--ease); }
.svc:hover .svc__img img { scale: 1.04; }
.svc__ph { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, var(--papel) 0 12px, #fff 12px 24px); }
.svc__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.svc__t { font: 700 18px/1.25 var(--f); font-stretch: 106%; color: var(--titulo); }
.svc:hover .svc__t { color: var(--azul); }
.svc__r { font-size: 14.5px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc--sm .svc__t { font-size: 16px; }

/* Etapas (sequência real) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1.5px; background: linear-gradient(90deg, var(--ciano), rgba(40, 171, 226, .15)); }
.steps__item { position: relative; }
.steps__n { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--aco); border: 1.5px solid var(--ciano); color: var(--ciano); font-weight: 800; font-size: 17px; margin-bottom: 18px; }
.steps__item h3 { font-size: 19px; font-stretch: 110%; font-weight: 750; margin-bottom: 8px; }
.steps__item p { font-size: 15.5px; line-height: 1.55; }

/* Contrato */
.contract { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contract__img { margin-top: 32px; }
.contract__img img { width: 100%; border-radius: var(--r); }
.compare { border: 1px solid var(--linha); border-radius: var(--r-lg); padding: 28px; background: #fff; }
.seg { display: none; }
.compare__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare__table th, .compare__table td { padding: 15px 12px; border-bottom: 1px solid var(--linha); text-align: center; }
.compare__table thead th { font-size: 14px; font-weight: 700; color: var(--muted); border-bottom-width: 2px; }
.compare__table thead th.is-pick { color: var(--azul); }
.compare__table tbody th { text-align: left; font-weight: 550; color: var(--titulo); }
.compare__table td.is-pick { background: var(--azul-t); }
.compare__table thead th.is-pick { background: var(--azul-t); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.compare__table tbody tr:last-child td.is-pick { border-radius: 0 0 var(--r-sm) var(--r-sm); }
.compare__table .yes { width: 22px; height: 22px; margin: 0 auto; color: var(--azul); }
.compare__table .no { color: #a2abba; font-weight: 700; }
.compare__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }

/* Sobre */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 24px 64px; align-items: start; }
.about__seal img { width: 100%; max-width: 220px; }
.about__copy .prose { margin-top: 20px; font-size: 17.5px; }
.brands { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 72px; padding-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.brands__title { font: 600 16px/1.3 var(--f); color: #cfe0f2; margin-right: auto; }
.brands__list { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.brands__list li { background: #fff; border-radius: var(--r); padding: 4px 10px; }
.brands__list img { height: 56px; width: auto; }

/* Depoimentos */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { border: 1px solid var(--linha); border-radius: var(--r); padding: 24px; }
.review__stars { color: #f5a623; letter-spacing: 2px; }
.review blockquote { margin: 10px 0 16px; font-size: 17px; color: var(--titulo); }
.review__who { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--linha); }
.faq__item { border-bottom: 1px solid var(--linha); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 650 18px/1.35 var(--f); color: var(--titulo); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--azul); }
.faq__item summary svg { width: 22px; height: 22px; color: var(--azul); transition: rotate .25s var(--ease); }
.faq__item[open] summary svg { rotate: 180deg; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__a { padding: 0 48px 24px 0; color: var(--texto); }

/* Chamada final */
.cta-band { background: var(--aco); color: #cfe0f2; border-top: 6px solid var(--ciano); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; padding-top: 72px; padding-bottom: 72px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; max-width: 18ch; margin-bottom: 12px; }
.cta-band p { max-width: 54ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Páginas internas */
.pagehead { padding-top: 28px; padding-bottom: 8px; }
.pagehead__lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 62ch; }
.filter { position: relative; display: block; max-width: 420px; margin-top: 28px; }
.filter svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.filter input { width: 100%; height: 50px; padding: 0 16px 0 44px; font: inherit; font-size: 16px; border: 1.5px solid var(--linha); border-radius: var(--r-sm); }
.filter input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(31, 70, 163, .14); }
.svc-grid--wide { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.svc-grid li[hidden] { display: none; }
.empty { padding: 24px; border: 1px dashed var(--linha); border-radius: var(--r); color: var(--muted); }
.cross { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linha); color: var(--muted); }

.service { padding-top: 24px; padding-bottom: 88px; }
.service__cat a { font-weight: 650; color: var(--azul); text-decoration: none; }
.service__cat { margin-bottom: 10px; }
.service__head { margin-bottom: 36px; }
.service__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.service__side { position: sticky; top: calc(var(--header-h) + 24px); }
.askbox { border: 1px solid var(--linha); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 14px; background: #fff; }
.askbox__t { font: 800 21px/1.15 var(--f); font-stretch: 112%; color: var(--titulo); }
.askbox p:not(.askbox__t) { font-size: 15.5px; color: var(--muted); }
.askbox__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; color: var(--titulo); text-decoration: none; padding-top: 6px; }
.askbox__tel svg { width: 18px; height: 18px; }

.gallery { margin-bottom: 40px; }
.gallery__main { position: relative; display: block; border: 1px solid var(--linha); border-radius: var(--r-lg); overflow: hidden; background: #fff; aspect-ratio: 16 / 10; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; background: rgba(13, 27, 46, .82); color: #fff; font-size: 13px; font-weight: 650; padding: 6px 10px; border-radius: 99px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery__thumbs a { display: block; aspect-ratio: 1; border: 1px solid var(--linha); border-radius: var(--r-sm); overflow: hidden; background: #fff; cursor: zoom-in; transition: border-color .15s; }
.gallery__thumbs a:hover { border-color: var(--azul); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail > li { scroll-snap-align: start; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.channels { display: grid; gap: 4px; }
.channel { display: flex; gap: 16px; padding: 18px 16px; margin: 0 -16px; border-radius: var(--r); color: var(--muted); text-decoration: none; font-size: 15.5px; line-height: 1.5; }
a.channel:hover { background: var(--papel); }
.channel > svg { width: 24px; height: 24px; color: var(--azul); margin-top: 2px; }
.channel--wa > svg { color: var(--wa); }
.channel strong { display: flex; align-items: center; gap: 8px; color: var(--titulo); font-size: 17px; }
.channel .status i { background: #a2abba; }
.channel .status.is-open { color: var(--titulo); }
.card { border: 1px solid var(--linha); border-radius: var(--r-lg); padding: 32px; background: #fff; }
.form { display: grid; gap: 18px; }
.form__group { border: 0; padding: 0; margin: 0; }
.form__group legend { font-size: 14px; font-weight: 600; color: var(--titulo); margin-bottom: 8px; padding: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: 14px; color: var(--muted); }
.form .btn { justify-self: start; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; }
.notice svg { width: 22px; height: 22px; }
.notice--ok { background: #eaf7ef; color: #0b5a30; }
.notice--err { background: #fdeceb; color: var(--erro); }
.notice[hidden] { display: none; }
.btn.is-loading { pointer-events: none; opacity: .7; }
.map { margin-top: 56px; height: 380px; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; background: var(--papel) repeating-linear-gradient(0deg, transparent 0 47px, var(--linha) 47px 48px), repeating-linear-gradient(90deg, transparent 0 47px, var(--linha) 47px 48px); }
.map iframe { width: 100%; height: 100%; border: 0; }

.notfound { padding-top: 72px; padding-bottom: 96px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pills a { display: inline-block; padding: 8px 14px; border: 1px solid var(--linha); border-radius: 99px; color: var(--titulo); text-decoration: none; font-size: 15px; }
.pills a:hover { border-color: var(--azul); color: var(--azul); }

/* Rodapé */
.footer { background: var(--aco); color: #9eabc0; font-size: 15px; padding-top: 72px; }
.footer a { color: #c9d3e3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 56px; }
.footer__brand img { width: 180px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 36ch; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--aco-3); border-radius: 50%; }
.footer__social a:hover { background: var(--azul); border-color: var(--azul); }
.footer__social svg { width: 20px; height: 20px; }
.footer__h { color: #fff; font-weight: 700; font-stretch: 110%; margin-bottom: 14px; font-size: 16px; }
.footer__h a { color: #fff; }
.footer__links { display: grid; gap: 8px; }
.footer__contact { font-style: normal; display: grid; gap: 12px; align-content: start; }
.footer__contact > a, .footer__contact > span { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ciano); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--aco-2); font-size: 14px; }
.footer__bottom a { color: #7d8aa1; }

/* WhatsApp flutuante e dock mobile */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  background: var(--wa); color: #fff; border-radius: 99px; text-decoration: none; font-weight: 650;
  box-shadow: 0 12px 30px -10px rgba(16, 120, 60, .7);
  transition: translate .2s var(--ease), box-shadow .2s;
}
.wa-float:hover { translate: 0 -2px; color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
.dock { display: none; }

/* Diálogos */
dialog { border: 0; padding: 0; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(13, 27, 46, .55); backdrop-filter: blur(4px); }
dialog[open] { animation: pop .22s var(--ease); }
dialog[open]::backdrop { animation: fadein .22s; }
@keyframes pop { from { opacity: 0; translate: 0 12px; } }
body:has(dialog[open]) { overflow: hidden; }

.sheet { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; border-radius: var(--r-lg); background: #fff; overflow: auto; box-shadow: var(--sombra); }
.sheet__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 16px 28px; background: #fff; border-bottom: 1px solid var(--linha); }
.sheet__title { font: 800 21px/1.1 var(--f); font-stretch: 115%; color: var(--titulo); }
.sheet .quote { grid-template-columns: 1fr; padding: 24px 28px 28px; gap: 24px; }
.sheet .chips--seg { grid-template-columns: repeat(3, 1fr); }
.sheet .quote__row { grid-template-columns: 1fr 1fr; }

.search { width: min(640px, calc(100vw - 32px)); margin: 12vh auto auto; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sombra); overflow: hidden; }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--linha); }
.search__bar svg { width: 22px; height: 22px; color: var(--muted); }
.search__bar input { flex: 1; height: 64px; border: 0; font: inherit; font-size: 18px; color: var(--titulo); background: none; }
.search__bar input:focus { outline: none; }
.search__bar kbd { font: 600 12px/1 var(--f); color: var(--muted); border: 1px solid var(--linha); border-radius: 4px; padding: 5px 7px; }
.search__results { max-height: min(60vh, 480px); overflow-y: auto; padding: 8px; }
.search__results a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--r); color: var(--titulo); text-decoration: none; }
.search__results a img, .search__results a .svc__ph { width: 52px; height: 52px; border-radius: var(--r-sm); border: 1px solid var(--linha); object-fit: contain; background: #fff; flex: none; }
.search__results a span { display: grid; }
.search__results a b { font-weight: 600; }
.search__results a small { color: var(--muted); font-size: 13.5px; }
.search__results [aria-selected="true"] a, .search__results a:hover { background: var(--azul-t); }
.search__results mark { background: none; color: var(--azul); font-weight: 700; }
.search__empty { padding: 20px; color: var(--muted); }

.lightbox { width: 100vw; height: 100dvh; background: rgba(8, 15, 27, .96); display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: min(1100px, 88vw); max-height: 78dvh; background: #fff; border-radius: var(--r); padding: 16px; object-fit: contain; }
.lightbox figcaption { color: #b9c4d6; font-size: 14px; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__prev svg { rotate: 90deg; }
.lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }
.lightbox__next svg { rotate: -90deg; }

/* Responsivo */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .quote { grid-template-columns: 1fr 1fr; }
  .quote__step:last-of-type { grid-column: 1 / -1; }
  .quote__row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__cta { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .header__logo img { height: 44px; }
  .header__burger { display: inline-grid; }
  .header__burger { position: relative; }
  .header__burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: rotate .2s, top .2s; }
  .header__burger span:first-child { top: 17px; }
  .header__burger span + span { top: 25px; }
  .header__burger[aria-expanded="true"] span { top: 21px; rotate: 45deg; }
  .header__burger[aria-expanded="true"] span + span { rotate: -45deg; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 40px) 0 0 0; margin: 0; background: #fff; overflow-y: auto;
    padding: 12px 24px 120px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
  }
  .header.is-scrolled .nav { inset-block-start: var(--header-h); }
  .nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--linha); }
  .nav__link { width: 100%; justify-content: space-between; height: 58px; padding: 0; font-size: 18px; border-radius: 0; }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: none; }
  .nav__link[aria-current="page"] { box-shadow: none; }
  .mega { position: static; display: none; grid-template-columns: 1fr; gap: 12px; padding: 0 0 18px; box-shadow: none; border: 0; opacity: 1; visibility: visible; translate: none; }
  .nav__item.is-open .mega { display: grid; }
  .mega__intro p, .mega__title { display: none; }
  .mega__list { columns: 1; }
  .mega__list a { margin: 0; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .hero__media { min-height: 0; order: -1; aspect-ratio: 16 / 10; margin: 0 -24px; }
  .hero__media img { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); border-radius: 0; }
  .hero__arc { display: none; }
  .hero::after { height: 80px; }
  .contract, .faq, .contact { grid-template-columns: 1fr; gap: 40px; }
  .service__grid { grid-template-columns: 1fr; gap: 32px; }
  .service__side { position: static; }
  .about { grid-template-columns: 140px 1fr; gap: 24px 32px; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; padding-bottom: 72px; }
  .wrap { padding: 0 18px; }
  .topbar__addr, .status__extra { display: none; }
  .topbar__in { gap: 16px; font-size: 13px; }
  .hero__media { margin: 0 -18px; }
  .hero__lead { font-size: 17.5px; }
  .hero__facts { display: grid; gap: 8px; }
  .hero__quote { padding: 24px 20px; border-radius: var(--r); margin: 0 -6px; }
  .quote { grid-template-columns: 1fr; gap: 24px; }
  .chips--seg { grid-template-columns: repeat(3, 1fr); }
  .chips--seg .chip span { justify-content: center; padding: 0 8px; }
  .quote__row, .sheet .quote__row, .form__row { grid-template-columns: 1fr; }
  .quote__actions .btn { width: 100%; }
  .block { padding: 72px 0; }
  .block--tight { padding: 32px 0 72px; }
  .block__head { margin-bottom: 32px; }
  .block__head--row { display: block; }
  .tabs__list { display: flex; width: 100%; }
  .tabs__list [role="tab"] { flex: 1; justify-content: center; padding: 0 10px; }
  .svc-grid, .svc-grid--wide { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc__body { padding: 12px 12px 14px; }
  .svc__t { font-size: 15.5px; }
  .svc__r { display: none; }
  .svc__img img { padding: 8px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps__item { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding-bottom: 28px; position: relative; }
  .steps__item::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1.5px; background: rgba(40, 171, 226, .3); }
  .steps__item:last-child::before { display: none; }
  .steps__n { grid-row: span 2; margin: 0; }
  .compare { padding: 18px; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; background: var(--papel); border-radius: 10px; margin-bottom: 12px; }
  .seg button { height: 42px; border: 0; border-radius: 7px; background: none; font-weight: 650; color: var(--muted); cursor: pointer; }
  .seg button[aria-pressed="true"] { background: #fff; color: var(--titulo); box-shadow: 0 1px 3px rgba(13, 27, 46, .12); }
  .compare__table[data-show="1"] :is(th, td):nth-child(3), .compare__table[data-show="2"] :is(th, td):nth-child(2) { display: none; }
  .compare__table td.is-pick, .compare__table thead th.is-pick { background: none; }
  .about { grid-template-columns: 1fr; }
  .about__seal img { max-width: 120px; }
  .brands { display: block; }
  .brands__list { margin-top: 18px; gap: 18px 28px; }
  .brands__list img { height: 52px; }
  .faq__item summary { font-size: 17px; }
  .faq__a { padding-right: 0; }
  .cta-band__in { padding-top: 56px; padding-bottom: 56px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .card { padding: 22px 18px; margin: 0 -6px; }
  .form .btn { justify-self: stretch; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { display: none; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--linha);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  }
  .dock a, .dock button { display: grid; justify-items: center; gap: 2px; padding: 6px 0; font: 600 12.5px/1.2 var(--f); color: var(--titulo); text-decoration: none; background: none; border: 0; border-radius: var(--r-sm); cursor: pointer; }
  .dock svg { width: 24px; height: 24px; color: var(--azul); }
  .dock a[data-track="whatsapp"] svg { color: var(--wa); }
  .sheet { width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .sheet[open] { animation: up .28s var(--ease); }
  .sheet .quote { padding: 20px 18px 28px; }
  .sheet .chips--seg { grid-template-columns: repeat(3, 1fr); }
  .search { margin-top: 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; translate: none; }
  .gallery__main img { padding: 12px; }
}
@keyframes up { from { translate: 0 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track li[aria-hidden] { display: none; }
}

@media print {
  .topbar, .header, .dock, .wa-float, .cta-band, .footer__social, dialog { display: none !important; }
  body { padding: 0; }
}

/* Trabalhos realizados (fotos reais) */
.works { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 240px; gap: 14px; }
.works__item:first-child { grid-row: span 2; }
.works__item:nth-child(4) { grid-column: span 2; }
.works__item a { position: relative; display: block; height: 100%; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--aco); }
.works__item img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.works__item a:hover img { scale: 1.04; }
.works__cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.35; background: linear-gradient(transparent, rgba(0, 30, 61, .85)); display: grid; }
.works__cap small { color: var(--ciano); font-weight: 600; font-size: 13px; }

/* Sede, frota e linha do tempo */
.block--brand { background: var(--marca); color: #d3e2f3; }
.block--brand .h2 { color: #fff; }
.block--brand .prose { color: #d3e2f3; }
.hq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.hq .prose { margin-top: 20px; }
.hq__facts { display: grid; gap: 18px; margin: 32px 0 0; }
.hq__facts div { border-left: 3px solid var(--ciano); padding-left: 16px; }
.hq__facts dt { font: italic 800 20px/1.2 var(--f); color: #fff; }
.hq__facts dd { margin: 2px 0 0; font-size: 15.5px; }
.hq__photo { margin: 0; position: relative; }
.hq__photo img { width: 100%; border-radius: var(--r-lg); box-shadow: 14px 14px 0 var(--ciano); }
.hq__photo figcaption { margin-top: 26px; font-size: 14px; color: #a9c3e0; }
.timeline { margin-top: 88px; }
.timeline__title { font: italic 800 26px/1.1 var(--f); color: #fff; margin-bottom: 36px; }
.timeline__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.timeline__list::before { content: ""; position: absolute; left: 0; right: 0; top: 188px; height: 2px; background: rgba(40, 171, 226, .5); }
.timeline__photo { background: #fff; padding: 8px 8px 0; border-radius: 4px; height: 170px; rotate: -2deg; box-shadow: 8px 8px 0 var(--ciano); transition: rotate .3s var(--ease); }
.timeline__item:nth-child(even) .timeline__photo { rotate: 2deg; }
.timeline__item:hover .timeline__photo { rotate: 0deg; }
.timeline__photo img { width: 100%; height: 154px; object-fit: cover; }
.timeline__year { position: relative; margin-top: 28px; padding-top: 14px; font-size: 30px; line-height: 1; color: var(--ciano); }
.timeline__year::before { content: ""; position: absolute; top: -9px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ciano); box-shadow: 0 0 0 4px var(--marca); }
.timeline__text { margin-top: 8px; font-size: 15.5px; }

@media (max-width: 960px) {
  .hq { grid-template-columns: 1fr; gap: 40px; }
  .hq__photo { order: -1; }
  .timeline__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline__list::before { display: none; }
  .works { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .works__item:first-child { grid-row: span 1; grid-column: span 2; }
  .works__item:nth-child(4) { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .topbar__badge, .topbar__fixo { display: none; }
  .works { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .works__item:first-child { grid-column: auto; }
  .timeline { margin-top: 64px; }
  .timeline__list { grid-template-columns: 1fr; }
  .timeline__item { display: grid; grid-template-columns: 120px 1fr; column-gap: 18px; align-items: start; }
  .timeline__photo { height: 96px; padding: 5px 5px 0; box-shadow: 5px 5px 0 var(--ciano); grid-row: span 2; }
  .timeline__photo img { height: 86px; }
  .timeline__year { margin-top: 0; padding-top: 0; font-size: 24px; }
  .timeline__year::before { display: none; }
  .hq__photo img { box-shadow: 8px 8px 0 var(--ciano); }
  .brands__list img { height: 44px; }
}
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
  .tabs__list { overflow-x: auto; scrollbar-width: none; }
  .tabs__list [role="tab"] { flex: 1 0 auto; font-size: 15px; padding: 0 12px; }
  .tabs__list [role="tab"] small { display: none; }
}
.topbar__in > * { white-space: nowrap; }
@media (max-width: 1500px) { .topbar__addr { display: none; } }
@media (max-width: 1100px) { .status__extra, .topbar__badge { display: none; } }

/* ===================== Motion e interações =====================
   Regra: movimento só quando conta algo. Revelações acontecem uma vez,
   ligadas ao assunto (portão que desliza, foto que assenta, linha que liga
   etapas). Tudo é desligado com "reduzir movimento". */

/* Progresso de leitura: a "solda" que corre sob o cabeçalho */
.header__progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--ciano); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Brilho que acompanha o cursor no topo */
.hero { --mx: 85%; --my: 10%; }
.hero { background-image: radial-gradient(42rem 30rem at var(--mx) var(--my), rgba(40, 171, 226, .24), transparent 70%), linear-gradient(180deg, var(--marca) 0%, var(--aco) 100%); }
.hero__media img { translate: 0 var(--sy, 0px); will-change: translate; }

/* Abas com indicador deslizante */
.tabs__list { position: relative; }
.tabs__ind { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; background: #fff; border-radius: 9px; box-shadow: 0 1px 3px rgba(0, 43, 87, .14); transition: left .35s var(--ease), width .35s var(--ease); z-index: 0; }
.tabs__list [role="tab"] { position: relative; z-index: 1; transition: color .2s; }
.tabs--ready .tabs__list [role="tab"][aria-selected="true"] { background: none; box-shadow: none; }
.js .tabs__panel:not([data-hidden]) .svc-grid > li { animation: cardIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; translate: 0 14px; } }

/* Cards de serviço: luz que segue o cursor */
.svc { position: relative; }
.svc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(220px circle at var(--x, 50%) var(--y, 50%), rgba(40, 171, 226, .16), transparent 70%); }
.svc:hover::after { opacity: 1; }

/* Chips: confirmação ao marcar */
.chip input:checked + span { animation: chipPop .28s var(--ease); }
@keyframes chipPop { 40% { scale: 1.06; } }

/* Progresso do orçamento */
.quote__progress { grid-column: 1 / -1; height: 4px; background: var(--papel); border-radius: 99px; overflow: hidden; margin-top: -6px; }
.quote__progress span { display: block; height: 100%; width: calc(var(--q, 0) * 100%); background: linear-gradient(90deg, var(--marca), var(--ciano)); border-radius: inherit; transition: width .45s var(--ease); }
.quote__n { transition: background-color .25s, color .25s, border-color .25s; }
.quote__step.is-done .quote__n { background: var(--ciano); border-color: var(--ciano); color: #00264d; }
.quote__done:not([hidden]) { animation: rise .5s var(--ease) both; }
.quote__done svg { stroke-dasharray: 1; animation: drawCheck .6s .15s var(--ease) both; }
@keyframes drawCheck { from { stroke-dashoffset: 1; } }

/* Lightbox: a foto cresce a partir do centro */
.lightbox[open] img { animation: zoomIn .3s var(--ease); }
@keyframes zoomIn { from { opacity: 0; scale: .94; } }

/* Balão do WhatsApp (uma vez por visita) */
.wa-nudge { position: fixed; right: 22px; bottom: 92px; z-index: 50; max-width: 260px; background: #fff; color: var(--titulo); border-radius: 14px 14px 4px 14px; box-shadow: var(--sombra); padding: 14px 40px 14px 16px; font-size: 15px; line-height: 1.45; animation: rise .45s var(--ease) both; }
.wa-nudge strong { display: block; }
.wa-nudge button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--muted); }
.wa-nudge button:hover { background: var(--papel); }
.wa-nudge button svg { width: 16px; height: 16px; margin: auto; }
.wa-float.is-nudging { animation: nudge 1.2s var(--ease) 2; }
@keyframes nudge { 0%, 100% { rotate: 0deg; } 20% { rotate: -6deg; } 40% { rotate: 5deg; } 60% { rotate: -3deg; } }

/* Transição entre páginas: a foto do serviço "viaja" do card para a página */
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

@media (prefers-reduced-motion: no-preference) {
  /* Estado inicial das revelações (só com JS; há uma rede de segurança no <head>) */
  .js:not(.reveal-all) :is(.block__head, .clients__title, .compare, .faq__list, .brands, .hq__copy, .cta-band__in) { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); }

  /* Fotos de obras: abrem como um portão deslizante */
  .js:not(.reveal-all) .works__item a { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
  .js:not(.reveal-all) .works__item img { scale: 1.12; transition: scale 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }

  /* Sede: a foto entra deslizando e a sombra ciano encaixa depois */
  .js:not(.reveal-all) .hq__photo img { clip-path: inset(0 0 0 100% round var(--r-lg)); box-shadow: 0 0 0 var(--ciano); transition: clip-path 1.1s var(--ease), box-shadow .6s .9s var(--ease); }
  .js:not(.reveal-all) .hq__facts > div { opacity: 0; translate: -16px 0; transition: opacity .6s var(--ease), translate .6s var(--ease); transition-delay: calc(.2s + var(--i, 0) * 120ms); }

  /* Linha do tempo: a linha avança e as fotos assentam em sequência */
  .js:not(.reveal-all) .timeline__list::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease); }
  .js:not(.reveal-all) .timeline__item { opacity: 0; translate: 0 -36px; transition: opacity .6s var(--ease), translate .8s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--i, 0) * 220ms); }
  .js:not(.reveal-all) .timeline__photo { rotate: -9deg; }
  .js:not(.reveal-all) .timeline__item:nth-child(even) .timeline__photo { rotate: 9deg; }

  /* Etapas: a linha liga um passo ao outro */
  .js:not(.reveal-all) .steps::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease); }
  .js:not(.reveal-all) .steps__item { opacity: 0; translate: 0 18px; transition: opacity .6s var(--ease), translate .6s var(--ease); transition-delay: calc(var(--i, 0) * 260ms); }
  .js:not(.reveal-all) .steps__n { scale: .4; transition: scale .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i, 0) * 260ms); }

  /* Comparativo: os checks são desenhados linha a linha */
  .js .compare .yes { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease); transition-delay: calc(.3s + var(--i, 0) * 90ms); }
  .js .compare.is-in .yes, .js.reveal-all .compare .yes { stroke-dashoffset: 0; }

  /* Estado final */
  .js:not(.reveal-all) .is-in { opacity: 1; translate: 0 0; }
  .js .works__item.is-in a { clip-path: inset(0 0 0 0); }
  .js .works__item.is-in img { scale: 1; }
  .js .hq__photo.is-in img { clip-path: inset(0 0 0 0 round var(--r-lg)); box-shadow: 14px 14px 0 var(--ciano); }
  .js .hq__facts > div.is-in { opacity: 1; translate: 0 0; }
  .js .timeline__list.is-in::before, .js .steps.is-in::before { transform: none; }
  .js .timeline__item.is-in { opacity: 1; translate: 0 0; }
  .js .timeline__item.is-in .timeline__photo { rotate: -2deg; }
  .js .timeline__item.is-in:nth-child(even) .timeline__photo { rotate: 2deg; }
  .js .timeline__item.is-in:hover .timeline__photo { rotate: 0deg; }
  .js .steps__item.is-in { opacity: 1; translate: 0 0; }
  .js .steps__item.is-in .steps__n { scale: 1; }
}

@media (max-width: 720px) {
  .js .hq__photo.is-in img { box-shadow: 8px 8px 0 var(--ciano); }
  .wa-nudge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img { translate: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
