﻿/* =====================================================================
   Mecânica Águia — Estilos base
   1. Tokens        4. Header / Nav      7. Seções        10. Rodapé
   2. Reset         5. Botões            8. Carrinho      11. Utilitários
   3. Tipografia    6. Hero              9. Formulários
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Cores da marca (extraídas do logotipo e da fachada) */
  --red: #c61a20;
  --red-dark: #9e1319;
  --red-soft: #fdecec;

  --ink: #10141a;
  --ink-2: #1b222c;
  --graphite: #2b333f;
  --muted: #5b6675;
  --line: #e3e7ec;
  --line-strong: #cfd6de;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-dark: #10141a;

  --green: #128c4a;
  --green-dark: #0e6f3b;
  --amber: #b5730a;

  /* Tipografia
     As escalas maiores são fluidas: crescem com a largura da tela em vez de
     dar saltos em breakpoints. O mínimo é o tamanho confortável no celular. */
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
  --fs-xl: clamp(1.2rem, 1.1rem + 0.45vw, 1.375rem);
  --fs-2xl: clamp(1.45rem, 1.24rem + 0.95vw, 1.75rem);
  --fs-3xl: clamp(1.7rem, 1.32rem + 1.7vw, 2.25rem);
  --fs-4xl: clamp(2rem, 1.35rem + 2.9vw, 3rem);

  /* Espaçamento — os degraus maiores também acompanham a largura da tela */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: clamp(1.75rem, 1.35rem + 1.8vw, 3rem);
  --sp-8: clamp(2.25rem, 1.55rem + 3vw, 4rem);
  /* espaçamento entre seções: 40px no celular, 88px no desktop */
  --sp-9: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);

  /* Área mínima de toque recomendada (WCAG 2.5.8 / guias iOS e Android) */
  --tap: 44px;
  /* Recuos do sistema (notch, home indicator). Exige viewport-fit=cover. */
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  /* Espaço reservado pela barra de ações fixa do celular (0 no desktop) */
  --mobile-bar-h: 0px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 20, 26, 0.06), 0 2px 6px rgba(16, 20, 26, 0.05);
  --shadow: 0 4px 12px rgba(16, 20, 26, 0.08), 0 12px 28px rgba(16, 20, 26, 0.07);
  --shadow-lg: 0 18px 48px rgba(16, 20, 26, 0.18);

  --container: 1180px;
  --gutter: clamp(1rem, 0.45rem + 2.2vw, 1.5rem);
  --header-h: 76px;
  --topbar-h: 38px;
  --trustbar-h: 74px; /* usado para a barra de confiança já aparecer na primeira tela */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Menu e carrinho ficam estacionados fora da tela quando fechados. Como são
     `fixed`, eles são recortados pela viewport — e não pelo body. O clip aqui
     é o que impede que essa área intencional vire rolagem lateral. `clip` não
     cria contexto de rolagem, então o cabeçalho sticky continua funcionando. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--graphite);
  background: var(--bg);
  /* clip (e não hidden) evita transformar o body em contêiner de rolagem,
     o que quebraria o cabeçalho sticky. É rede de segurança: cada elemento
     que poderia vazar é tratado na origem. */
  overflow-x: clip;
  /* espaço para a barra de ações fixa do celular */
  padding-bottom: var(--mobile-bar-h);
}
/* Safari anterior ao 16 não conhece `clip`: cai no recorte clássico */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Trava de rolagem usada por menu e carrinho (preserva a posição no iOS) */
body.is-locked {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  overflow: hidden;
}

/* Links internos (#localizacao) param abaixo do cabeçalho fixo, e não atrás dele */
:target,
section[id],
main[id] { scroll-margin-top: calc(var(--header-h) + var(--sp-3)); }

/* o realce azul padrão do toque destoa da identidade do site */
a, button { -webkit-tap-highlight-color: rgba(198, 26, 32, 0.12); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: var(--sp-3) var(--sp-4);
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Tipografia ---------- */
h1, h2, h3, h4 {
  margin: 0 0 var(--sp-3);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  /* respeita o recorte da tela (notch) quando o aparelho está deitado */
  padding-left: max(var(--gutter), var(--safe-l));
  padding-right: max(var(--gutter), var(--safe-r));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--red);
}

.section { padding: var(--sp-9) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #c9d1dc; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin-bottom: 0; }
.section--dark .section-head p { color: #9aa6b5; }

/* ---------- 4. Header / Nav ---------- */
.topbar {
  background: var(--ink);
  color: #b8c2ce;
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar a { color: #e8edf3; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.topbar__list li { display: inline-flex; align-items: center; gap: var(--sp-2); }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }

/* O cabeçalho é sticky com z-index, ou seja, cria um contexto de
   empilhamento próprio: o z-index da gaveta lá dentro só vale entre os
   filhos do cabeçalho. Para a gaveta ficar ACIMA do véu (que é filho do
   body), quem precisa subir é o cabeçalho inteiro enquanto ela está
   aberta — senão o véu cobre o menu e nada fica clicável. */
.header.has-nav-open { z-index: 130; }

/* Com a trava de rolagem o body vira `fixed`, e um cabeçalho `sticky` perde a
   referência de rolagem: ele voltaria à posição original do documento (lá no
   topo, fora da tela). Enquanto um painel está aberto, ele é preso à tela. */
body.is-locked .header.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); flex: none; }
.brand img { width: 190px; }
.brand__tag {
  display: none;
  /* largura fixa: sem isso o slogan era espremido pelo menu e quebrava
     em seis linhas, esticando a altura do cabeçalho */
  flex: none;
  width: 168px;
  font-size: var(--fs-xs);
  color: var(--muted);
  border-left: 1px solid var(--line-strong);
  padding-left: var(--sp-3);
  line-height: 1.3;
}

.nav { display: flex; align-items: center; gap: var(--sp-2); }
/* na barra do desktop o espaço é disputado: o rótulo do CTA não quebra */
.nav__cta .btn { white-space: nowrap; }
/* Cabeçalho e bloco de contato existem apenas no menu em gaveta (celular) */
.nav__head,
.nav__contact { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--sp-1); }
.nav__link {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  color: var(--ink-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link:hover { background: var(--bg-alt); color: var(--red); }
.nav__link[aria-current='page'] { color: var(--red); }
.nav__link[aria-current='page']::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 2px;
}

.header__actions { display: flex; align-items: center; gap: var(--sp-2); }

.nav-toggle {
  display: none;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Botão do carrinho de orçamento */
.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cart-button:hover { border-color: var(--red); color: var(--red); }
.cart-button__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-button__count[hidden] { display: none; }

/* ---------- 5. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap);
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(198, 26, 32, 0.28); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }

.btn--whatsapp { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(18, 140, 74, 0.26); }
.btn--whatsapp:hover { background: var(--green-dark); color: #fff; }

.btn--outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }

.btn--ghost-light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.btn:disabled:hover { transform: none; }

.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0.6rem 1.1rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-base); }

.btn .icon { width: 18px; height: 18px; flex: none; }

/* Botão flutuante de WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.15rem;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.wa-float:hover { background: var(--green-dark); color: #fff; transform: translateY(-3px); }
.wa-float .icon { width: 22px; height: 22px; }

/* Barra de ações do celular
   Mantém as três ações principais (ligar, WhatsApp e orçamento) sempre
   ao alcance do polegar. Só aparece nas larguras de celular — ver
   responsive.css, onde --mobile-bar-h passa a valer. */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: var(--safe-b);
  box-shadow: 0 -2px 14px rgba(16, 20, 26, 0.08);
}
.mobile-bar__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; max-width: 520px; margin: 0 auto; }
.mobile-bar__list > li { display: flex; justify-content: center; }
.mobile-bar__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: var(--sp-2) var(--sp-1);
  border: 0;
  background: none;
  width: 100%;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}
.mobile-bar__item .icon { width: 23px; height: 23px; }
.mobile-bar__list > li:first-child .mobile-bar__item { color: #d11b22; }
.mobile-bar__list > li:last-child .mobile-bar__item { color: var(--ink); }
.mobile-bar__item--wa {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: var(--sp-2) var(--sp-1);
  color: #128c4a;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.mobile-bar__item--wa .icon { width: 25px; height: 25px; color: #25d366; }
.mobile-bar__item--wa:active { color: #075e54; background: #e9f9ef; }
.mobile-bar__item:not(.mobile-bar__item--wa):active { background: var(--bg-alt); }
.mobile-bar__count {
  position: absolute;
  top: 4px;
  left: 50%;
  margin-left: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-bar__count[hidden] { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Ocupa a tela abaixo do cabeçalho, deixando a barra de confiança visível */
  min-height: 560px;
  min-height: max(560px, calc(100vh - var(--header-h) - var(--topbar-h) - var(--trustbar-h)));
  min-height: max(560px, calc(100svh - var(--header-h) - var(--topbar-h) - var(--trustbar-h)));
}
/* Telas baixas (celular deitado): a altura passa a ser ditada pelo conteúdo,
   senão o texto fica espremido em uma área alta demais para rolar. */
@media (max-height: 620px) {
  .hero { min-height: 0; }
}
.hero > .container { width: 100%; }
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 15, 20, 0.94) 0%, rgba(12, 15, 20, 0.86) 38%, rgba(12, 15, 20, 0.5) 66%, rgba(12, 15, 20, 0.3) 100%),
    linear-gradient(to top, rgba(12, 15, 20, 0.55) 0%, rgba(12, 15, 20, 0) 42%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: var(--sp-8) 0;
  max-width: 680px;
}
.hero h1 { color: #fff; font-size: var(--fs-4xl); margin-bottom: var(--sp-4); }
.hero h1 em { font-style: normal; color: #ff6b70; }
.hero__lead { font-size: var(--fs-lg); color: #cdd6e0; margin-bottom: var(--sp-6); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(198, 26, 32, 0.22);
  margin-bottom: var(--sp-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-6); }
.hero__fact strong { display: block; color: #fff; font-size: var(--fs-xl); line-height: 1.2; }
.hero__fact span { font-size: var(--fs-sm); color: #9fb0c0; }

/* Barra de confiança */
.trustbar { background: var(--ink-2); color: #c3ccd8; }
.trustbar ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
}
.trustbar li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.trustbar .icon { width: 22px; height: 22px; color: #ff6b70; flex: none; }

/* ---------- 7. Seções e cards ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  counter-increment: service-card;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.card__media::after {
  content: counter(service-card, decimal-leading-zero);
  position: absolute;
  right: var(--sp-3);
  bottom: -.2rem;
  color: rgba(255,255,255,.82);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}
#featured-services { counter-reset: service-card; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute;
  left: var(--sp-3);
  top: var(--sp-3);
  background: rgba(16, 20, 26, 0.82);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
/* categoria em texto: só entra em cena no card compacto do celular */
.card__cat { display: none; }
.card__body h3 { margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.card__body p { color: var(--muted); font-size: var(--fs-sm); }
.card__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  border-top: 1px solid var(--line);
}
.card__price { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.card__price small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }

/* Botão "adicionar ao orçamento" */
.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-xs);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.add-btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
/* Já no orçamento: o botão passa a oferecer a ação contrária (remover) */
.add-btn.is-added {
  background: #e8f5ed;
  border-color: #bfe3cd;
  color: var(--green-dark);
}
.add-btn.is-added:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Navegação do catálogo por categorias */
.category-picker { display: grid; grid-template-columns: minmax(210px, .7fr) 1.3fr; align-items: center; gap: var(--sp-6); max-width: 900px; margin-bottom: var(--sp-5); padding: var(--sp-5); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 4px; box-shadow: 0 12px 30px rgba(16,20,26,.08); }
.category-picker__intro .eyebrow { margin-bottom: .4rem; }
.category-picker__intro strong { display: block; color: var(--ink); font-size: var(--fs-lg); line-height: 1.25; }
.category-picker__intro small { display: block; margin-top: .35rem; color: var(--muted); font-size: var(--fs-xs); }
.category-picker__field { min-width: 0; }
.category-picker label { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.category-picker__select { position: relative; }
.category-picker__select::after { content: ''; position: absolute; right: 1rem; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.category-picker select { width: 100%; min-height: 52px; padding: .7rem 3rem .7rem 1rem; color: var(--ink); background: var(--bg-alt); border: 1px solid var(--line-strong); border-radius: 3px; outline: 0; appearance: none; font: inherit; font-weight: 750; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.category-picker select:hover { background: #fff; border-color: #aeb8c4; }
.category-picker select:focus-visible { background: #fff; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.category-picker__field > small { display: block; margin-top: .5rem; color: var(--muted); font-size: var(--fs-xs); }
.catalog-nav { margin-bottom: var(--sp-4); padding: var(--sp-4); background: var(--ink); border-radius: 5px; box-shadow: 0 14px 34px rgba(16,20,26,.12); }
.catalog-nav__intro { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-3); color: #fff; }
.catalog-nav__intro span { font-size: var(--fs-sm); font-weight: 800; }
.catalog-nav__intro small { color: #9da8b5; font-size: var(--fs-xs); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  padding: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.catalog-count { display: flex; align-items: center; gap: .5rem; margin-bottom: var(--sp-4); color: var(--muted); font-size: var(--fs-sm); }
.catalog-count > span { width: 7px; height: 7px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 5px var(--red-soft); }
.filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 180px;
  min-height: var(--tap);
  padding: 0.65rem 1rem;
  border-radius: 3px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-weight: 700;
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.filter + .filter::before { content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.filter:hover { color: var(--red); background: rgba(255,255,255,.62); }
.filter[aria-pressed='true'] { z-index: 1; background: var(--ink); color: #fff; box-shadow: 0 7px 18px rgba(16,20,26,.16); }
.filter[aria-pressed='true']::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.filter[aria-pressed='true'] + .filter::before,
.filter[aria-pressed='true']::before { opacity: 0; }

/* Bloco de conteúdo com imagem */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-8); align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Auto elétrica: foto de serviço + placa real em uma composição de oficina */
.electric-visual {
  position: relative;
  margin: 0;
  padding: 0 0 3.5rem 1.25rem;
}
.electric-visual::before {
  content: '';
  position: absolute;
  inset: 1.5rem 2rem 1.75rem 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 4px;
}
.electric-visual__frame {
  position: relative;
  min-height: 470px;
  overflow: visible;
}
.split__media .electric-visual__photo {
  display: block;
  width: calc(100% - 2rem);
  height: 430px;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(4, 7, 12, 0.58);
  filter: saturate(.85) contrast(1.06);
}
.electric-visual__frame::after {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: calc(100% - 2rem);
  height: 430px;
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(9, 13, 19, 0.02) 40%, rgba(9, 13, 19, 0.72));
  pointer-events: none;
}
.electric-visual__bolt {
  position: absolute;
  z-index: 3;
  top: -22px;
  left: 0;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: #fff;
  background: var(--red);
  border: 7px solid var(--bg-dark);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(198, 26, 32, .35);
}
.electric-visual__bolt svg { width: 30px; fill: currentColor; }
.electric-visual__status {
  position: absolute;
  z-index: 3;
  right: -10px;
  top: 2rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  color: #aeb8c5;
  font-size: .72rem;
  line-height: 1.25;
  background: rgba(15, 20, 27, .9);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 3px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
}
.electric-visual__status strong { display: block; color: #fff; font-size: .8rem; }
.electric-visual__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #43d477;
  box-shadow: 0 0 0 6px rgba(67, 212, 119, .12);
}
.electric-visual figcaption {
  position: absolute;
  right: 0;
  bottom: .25rem;
  max-width: 12rem;
  margin: 0;
  color: #7f8a98;
  text-align: right;
  font-size: .7rem;
  line-height: 1.4;
}
.electric-visual > figcaption { display: none; }

/* A placa da oficina: leve inclinação e moldura, para parecer uma placa de verdade */
.split__media--plaque img {
  border-radius: 6px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.2deg);
  transition: transform 0.4s var(--ease);
}
.split__media--plaque img:hover { transform: rotate(0deg) scale(1.01); }
.split__media figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-3); }

/* Foto real da Kombi: prova visual da experiência com veículos antigos */
.workshop-proof { position: relative; margin: 0; padding: 2rem 2rem 3.6rem 0; }
.workshop-proof::before {
  content: '';
  position: absolute;
  inset: 0 0 1.7rem 2rem;
  border: 1px solid var(--line-strong);
  background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(198,26,32,.045) 12px 13px);
  border-radius: 3px;
}
.workshop-proof__frame { position: relative; z-index: 1; overflow: hidden; border-radius: 3px; box-shadow: 0 28px 55px rgba(18,25,34,.22); }
.split__media .workshop-proof__frame img { display: block; aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: none; transition: transform .6s var(--ease), filter .6s var(--ease); }
.workshop-proof:hover .workshop-proof__frame img { transform: scale(1.025); filter: contrast(1.04); }
.workshop-proof__label { position: absolute; z-index: 3; top: .75rem; left: -1rem; padding: .6rem .85rem; color: #fff; background: var(--ink); border-left: 3px solid var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; box-shadow: 0 8px 20px rgba(18,25,34,.2); }
.workshop-proof__stamp { position: absolute; z-index: 2; right: 0; bottom: 1.2rem; display: grid; place-items: center; width: 126px; height: 126px; padding: 1rem; color: #fff; background: var(--red); border: 7px solid #fff; border-radius: 50%; box-shadow: 0 16px 35px rgba(198,26,32,.25); text-align: center; text-transform: uppercase; transform: rotate(-7deg); }
.workshop-proof__stamp strong { font-size: .72rem; line-height: 1; letter-spacing: .06em; }
.workshop-proof__stamp span { margin: -.25rem 0; font-family: Georgia, serif; font-size: 1.8rem; font-style: italic; line-height: 1; }
.workshop-proof figcaption { position: relative; z-index: 2; max-width: calc(100% - 8.5rem); margin: .9rem 0 0; line-height: 1.45; }
.workshop-proof figcaption strong { display: block; color: var(--ink); font-size: var(--fs-sm); }

/* Fachada: composição de destino confirmado sem alterar a foto real */
.facade-proof { position: relative; margin: 0; padding: 1.25rem 0 0 1.25rem; }
.facade-proof::before { content: ''; position: absolute; inset: 0 1.5rem 3.2rem 0; background-image: radial-gradient(var(--line-strong) 1px, transparent 1px); background-size: 16px 16px; border-radius: 3px; }
.facade-proof__frame { position: relative; z-index: 1; overflow: hidden; border-radius: 3px; box-shadow: 0 26px 55px rgba(18,25,34,.2); }
.split__media .facade-proof__frame img { display: block; border-radius: 3px; box-shadow: none; transition: transform .6s var(--ease), filter .6s var(--ease); }
.facade-proof:hover .facade-proof__frame img { transform: scale(1.025); filter: contrast(1.04) saturate(1.04); }
.facade-proof__frame::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(10,14,19,.72)); pointer-events: none; }
.facade-proof__address { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; min-width: 220px; padding: .75rem 1rem; color: #aeb8c5; background: rgba(15,20,27,.9); border-left: 3px solid var(--red); backdrop-filter: blur(8px); }
.facade-proof__address small, .facade-proof__address strong, .facade-proof__address span { display: block; }
.facade-proof__address small { margin-bottom: .15rem; color: #ff777b; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.facade-proof__address strong { color: #fff; font-size: var(--fs-base); }
.facade-proof__address span { font-size: .72rem; }
.facade-proof__number { position: absolute; z-index: 2; right: 1rem; top: 1rem; padding: .45rem .65rem; color: #fff; background: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .08em; box-shadow: 0 8px 20px rgba(198,26,32,.3); }
.facade-proof__pin { position: absolute; z-index: 3; left: 49%; top: 51%; width: 34px; height: 34px; background: var(--red); border: 5px solid rgba(255,255,255,.94); border-radius: 50% 50% 50% 0; box-shadow: 0 8px 22px rgba(0,0,0,.28); transform: translate(-50%,-100%) rotate(-45deg); }
.facade-proof__pin i { position: absolute; inset: 8px; background: #fff; border-radius: 50%; }
.facade-proof__route { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 0 2rem; padding: .8rem 1rem; color: #c4ccd6; background: var(--ink); font-size: .7rem; font-weight: 700; }
.facade-proof__route > span { display: flex; align-items: center; gap: .5rem; }
.facade-proof__route i { width: 7px; height: 7px; background: #45ce78; border-radius: 50%; box-shadow: 0 0 0 5px rgba(69,206,120,.12); }
.facade-proof__route a { color: #fff; white-space: nowrap; }
.facade-proof__route a:hover { color: #ff777b; }
.facade-proof figcaption { margin: .65rem 0 0 2rem; color: var(--muted); font-size: .7rem; }

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--sp-3);
  color: var(--graphite);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c61a20' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .checklist li { color: #c9d1dc; }

/* Passos */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.step { position: relative; padding-top: var(--sp-5); border-top: 3px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.step h3 { font-size: var(--fs-base); }
.step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.service-route { position: relative; gap: 0; }
.service-route::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #e8b1b3 72%, var(--red));
}
.service-route .step { padding: 5rem var(--sp-4) 0; border: 0; text-align: center; }
.service-route .step::before { display: none; }
.step__icon {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: var(--ink);
  border: 6px solid #fff;
  outline: 2px solid var(--red-soft);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}
.service-route .step p { max-width: 17rem; margin-inline: auto; }
.service-route .step:last-child .step__icon { background: var(--red); }

/* História da oficina */
.history-visual { position: relative; margin: 2rem 0 0; padding: 0 0 3.5rem 3rem; }
.history-visual__photo { position: relative; z-index: 1; overflow: hidden; border-radius: 3px; box-shadow: 0 28px 55px rgba(18,25,34,.22); }
.history-visual__photo::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none; }
.split__media .history-visual__photo img { display: block; border-radius: 3px; box-shadow: none; transition: transform .6s var(--ease); }
.history-visual:hover .history-visual__photo img { transform: scale(1.025); }
.history-visual__seal { position: absolute; z-index: 2; right: -1.5rem; bottom: 1.6rem; display: flex; align-items: center; gap: .6rem; width: 148px; height: 148px; padding: 1rem; color: #fff; background: var(--red); border: 8px solid var(--bg-alt); border-radius: 50%; box-shadow: 0 18px 40px rgba(198,26,32,.27); transform: rotate(-7deg); }
.history-visual__seal strong { font-size: 2.7rem; line-height: 1; letter-spacing: -.08em; }
.history-visual__seal span { font-size: .68rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.history-visual__timeline { position: absolute; z-index: 2; left: 0; bottom: 1rem; display: flex; align-items: center; width: 62%; gap: .75rem; color: var(--ink); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.history-visual__timeline i { flex: 1; height: 2px; background: var(--red); }
.history-visual figcaption { margin: .7rem 9rem 0 0; text-align: right; color: var(--muted); font-style: italic; }

/* Faixa de CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  padding: var(--sp-8) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin: 0; max-width: 620px; }
.cta-band__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.cta-band__kicker { display: block; margin-bottom: var(--sp-2); color: rgba(255,255,255,.7); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.symptom-copy { flex: 1 1 600px; }
.symptom-panel { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: var(--sp-5); }
.symptom-chip { min-height: 40px; padding: .55rem .9rem; color: #fff; background: rgba(96,0,5,.25); border: 1px solid rgba(255,255,255,.34); border-radius: 3px; font-size: var(--fs-xs); font-weight: 700; transition: background .2s var(--ease), transform .2s var(--ease); }
.symptom-chip:hover, .symptom-chip[aria-pressed='true'] { background: #fff; color: var(--red); transform: translateY(-2px); }
.cta-band__actions { flex: 0 1 300px; flex-direction: column; align-items: stretch; }
.symptom-display { min-height: 66px; padding: .75rem 1rem; background: rgba(91,0,4,.24); border-left: 3px solid #fff; }
.symptom-display small, .symptom-display strong { display: block; }
.symptom-display small { margin-bottom: .2rem; color: rgba(255,255,255,.68); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.symptom-display strong { font-size: .82rem; line-height: 1.35; }
.cta-band .btn--primary { background: #fff; color: var(--red); box-shadow: none; }
.cta-band .btn--primary:hover { background: #f4f4f4; color: var(--red-dark); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(240px, .72fr) 1.55fr; gap: var(--sp-8); align-items: start; }
.faq { max-width: none; margin: 0; }
.faq-contact { position: sticky; top: calc(var(--header-h) + 2rem); padding: var(--sp-7); color: #c8d0da; background: var(--ink); border-radius: 4px; overflow: hidden; }
.faq-contact::after { content: ''; position: absolute; inset: auto -30% -40% 20%; height: 220px; background: radial-gradient(circle, rgba(198,26,32,.34), transparent 66%); }
.faq-contact > * { position: relative; z-index: 1; }
.faq-contact__mark { position: absolute; z-index: 0; top: -3rem; right: .75rem; color: rgba(255,255,255,.055); font-size: 14rem; font-weight: 900; line-height: 1; }
.faq-contact h3 { color: #fff; font-size: var(--fs-2xl); }
.faq-contact p { color: #aab4c1; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--ink);
}
.faq__q:hover { color: var(--red); }
.faq__q .chev {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.faq__q[aria-expanded='true'] .chev { transform: rotate(180deg); background: var(--red-soft); }
.faq__a { display: none; padding-bottom: var(--sp-5); color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }
.faq__item.is-open .faq__a { display: block; }

/* Info / contato */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  height: 100%;
}
.info-card h3 { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.info-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.info-card address { font-style: normal; color: var(--muted); font-size: var(--fs-sm); }
.section--dark .info-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.section--dark .info-card p { color: #9aa6b5; }
.info-card .icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--red-soft);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.info-card .icon { width: 22px; height: 22px; }

.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours th, .hours td { text-align: left; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--graphite); }
.hours td { text-align: right; font-weight: 700; color: var(--ink); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .is-closed { color: var(--muted); font-weight: 600; }

.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius);
  display: block;
  background: var(--bg-alt);
}

/* Moldura do mapa + botão próprio, sempre visível
   (o botão do embed do Google só aparece depois que o usuário clica) */
.map-frame { position: relative; height: 100%; }
.info-card--wide { grid-column: 1 / -1; }
.map-destination { border-radius: var(--radius); }
.map-destination .map-embed { border-radius: var(--radius); filter: saturate(.78) contrast(1.03); box-shadow: var(--shadow); }
.map-destination__badge { position: absolute; z-index: 3; left: 28px; bottom: 28px; min-width: 220px; padding: .8rem 1rem; color: #aeb8c5; background: rgba(15,20,27,.92); border-left: 3px solid var(--red); border-radius: 2px; backdrop-filter: blur(8px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.map-destination__badge span, .map-destination__badge strong, .map-destination__badge small { display: block; }
.map-destination__badge span { color: #ff777b; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.map-destination__badge strong { color: #fff; }
.map-destination__badge small { margin-top: .15rem; }

.map-open {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: var(--sp-2);
  padding: 0.55rem 0.95rem;
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.map-open:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.map-open .icon { width: 15px; height: 15px; }

/* Mapa e Street View lado a lado */
.map-figure { margin: 0; display: flex; flex-direction: column; }
.map-figure .map-embed { min-height: 380px; box-shadow: var(--shadow-sm); }
.map-figure figcaption {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: var(--sp-3);
  text-align: center;
}

/* Abas
   No desktop os painéis aparecem lado a lado (a lista de abas fica oculta);
   no celular viram abas, para não empilhar dois blocos altos de mapa. */
.tabs__list { display: none; }
/* fora do celular todos os painéis ficam visíveis, mesmo marcados com
   `hidden` — quem controla a exibição ali é o layout, não a aba */
.tabs__pane[hidden] { display: flex; }
.tabs__pane { min-width: 0; }

/* Página interna — cabeçalho */
.page-head {
  background: var(--ink);
  color: #cdd6e0;
  padding: var(--sp-8) 0 var(--sp-7);
}
.page-head h1 { color: #fff; font-size: var(--fs-3xl); }
.page-head p { max-width: 680px; margin: 0; color: #9fb0c0; font-size: var(--fs-lg); }
.breadcrumb { font-size: var(--fs-xs); color: #8592a3; margin-bottom: var(--sp-4); }
.breadcrumb a { color: #c9d3de; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 8. Carrinho de orçamento ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 18, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
  z-index: 120;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 130;
  width: min(430px, 100%);
  height: 100%;
  /* dvh acompanha as barras do navegador e o teclado virtual no celular */
  height: 100dvh;
  max-height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  /* Fechado: fora da tela e fora da ordem de tabulação. A visibilidade volta
     junto com o início da abertura, senão o foco não consegue entrar. */
  visibility: hidden;
  transition: transform 0.32s var(--ease), visibility 0s linear 0.32s;
  box-shadow: var(--shadow-lg);
}
.cart-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.32s var(--ease), visibility 0s;
}

.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.cart-panel__head h2 { margin: 0; font-size: var(--fs-lg); }
.cart-panel__head p { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.cart-close {
  width: var(--tap);
  height: var(--tap);
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-close:hover { border-color: var(--red); color: var(--red); }

.cart-back {
  width: var(--tap);
  height: var(--tap);
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-back:hover { border-color: var(--red); color: var(--red); }
.cart-back[hidden] { display: none; }

/* Indicador de etapas */
.cart-steps {
  display: flex;
  gap: var(--sp-2);
  margin: 0;
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.cart-steps li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
}
.cart-steps li span {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}
.cart-steps li.is-current { color: var(--ink); }
.cart-steps li.is-current span { background: var(--red); color: #fff; }
.cart-steps li.is-done span { background: var(--green); color: #fff; }

.cart-panel__body {
  flex: 1;
  overflow-y: auto;
  /* a rolagem do painel não “vaza” para a página atrás dele */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-5);
}
.cart-step[hidden] { display: none; }

/* Limpar orçamento */
.cart-clear-wrap { margin-top: var(--sp-5); text-align: center; }
.cart-clear-wrap[hidden] { display: none; }
.cart-clear {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  gap: var(--sp-2);
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.cart-clear:hover { border-color: var(--red); color: var(--red); }
.cart-clear .icon { width: 15px; height: 15px; }
.cart-clear.is-armed { background: var(--red); border-color: var(--red); color: #fff; }
.cart-totals[hidden] { display: none; }

.cart-empty { text-align: center; padding: var(--sp-7) var(--sp-3); color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; color: var(--line-strong); margin-bottom: var(--sp-4); }
.cart-empty h3 { font-size: var(--fs-base); }

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:first-child { padding-top: 0; }
.cart-item__thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-item__name { font-weight: 700; color: var(--ink); font-size: var(--fs-sm); margin: 0 0 2px; }
.cart-item__price { font-size: var(--fs-xs); color: var(--muted); margin: 0 0 var(--sp-3); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }

.cart-item__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: #e8f5ed;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cart-remove {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  border: 0;
  background: none;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: underline;
  padding: var(--sp-2);
  /* compensa o acréscimo de área de toque para não desalinhar a linha */
  margin: calc(var(--sp-2) * -1) calc(var(--sp-2) * -1) calc(var(--sp-2) * -1) 0;
}
.cart-remove:hover { color: var(--red); }

.cart-form h3 { font-size: var(--fs-base); margin-bottom: var(--sp-4); }
#cart-next[hidden], #cart-send[hidden] { display: none; }

.cart-panel__foot {
  border-top: 1px solid var(--line);
  padding: var(--sp-5);
  padding-bottom: calc(var(--sp-5) + var(--safe-b));
  background: var(--bg-alt);
}
.cart-totals { margin-bottom: var(--sp-4); font-size: var(--fs-sm); }
.cart-totals__row { display: flex; justify-content: space-between; padding: var(--sp-1) 0; color: var(--muted); }
.cart-totals__row--total {
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--ink);
  border-top: 1px dashed var(--line-strong);
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
}
.cart-note { font-size: var(--fs-xs); color: var(--muted); margin: var(--sp-3) 0 0; text-align: center; }

/* Aviso flutuante ao adicionar item */
.toast {
  position: fixed;
  left: 50%;
  /* sobe acima da barra de ações do celular / do botão flutuante */
  bottom: calc(24px + var(--mobile-bar-h));
  transform: translate(-50%, 140%);
  z-index: 140;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease);
  /* Um elemento fixo ancorado em `left: 50%` sem `right` só consegue usar a
     metade direita da tela — a frase quebrava em duas linhas estreitas mesmo
     havendo espaço. `max-content` mede pelo texto; o `max-width` segura na
     borda da tela quando a frase for longa demais. */
  width: max-content;
  max-width: calc(100% - 32px);
  /* aviso é informativo: nunca deve interceptar um toque destinado à barra */
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); }
/* Com o painel do orçamento aberto, o rodapé dele ocupa a base da tela:
   o aviso passa para o topo para não cobrir o botão de continuar.
   (o aviso é sempre inserido no fim do body, depois do painel) */
.cart-panel.is-open ~ .toast {
  bottom: auto;
  top: calc(12px + env(safe-area-inset-top, 0px));
  transform: translate(-50%, -160%);
}
.cart-panel.is-open ~ .toast.is-visible { transform: translate(-50%, 0); }

/* ---------- 9. Formulários ---------- */
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.field .hint { font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-height: var(--tap);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  /* 16px é o mínimo que evita o zoom automático do Safari no iOS ao focar
     o campo; abaixo disso o navegador amplia a página inteira. */
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field select {
  /* seta própria: o select nativo do Android/iOS mantém o menu do sistema */
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6675' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
}
.field textarea { min-height: 120px; resize: vertical; }
/* Erro só aparece depois da primeira tentativa de envio */
.form-card.was-validated :invalid,
.cart-form.was-validated :invalid {
  border-color: var(--red);
  background: var(--red-soft);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198, 26, 32, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.services-help { max-width: 760px; }
.services-help__head { margin-bottom: var(--sp-6); text-align: center; }
.services-help__head p { max-width: 620px; margin-inline: auto; color: var(--muted); }
.services-help__form { padding: var(--sp-7); }

/* ---------- 10. Rodapé ---------- */
.footer { background: var(--ink); color: #98a4b3; font-size: var(--fs-sm); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-6);
  padding: var(--sp-8) 0 var(--sp-7);
}
.footer h3 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-4); }
.footer a { color: #c3ccd8; }
.footer a:hover { color: #fff; }
.footer__logo { width: 200px; margin-bottom: var(--sp-4); }
.footer li { margin-bottom: var(--sp-2); }
.footer address { font-style: normal; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--sp-5) 0;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: #7d8a99;
}
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social a {
  width: var(--tap);
  height: var(--tap);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__social .icon { width: 18px; height: 18px; }

/* ---------- 11. Utilitários ---------- */
.icon { width: 20px; height: 20px; stroke-width: 2; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--sp-5); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

