/* ==========================================================================
   MAQ & TRUCK BRAZIL — estilos
   Tokens documentados em ../DESIGN.md. Zero sombra; profundidade por superfície.
   Raio em dois níveis: 8px (cards/painéis) e pill (botões, chips, badges).
   ========================================================================== */

:root {
  --canvas: #f2f4f7;
  --surface: #fbfcfd;
  --surface-2: #e8ecf2;
  --night: #0a1426;
  --asphalt: #111e36;
  --cab: #1a2a48;
  --brand: #1d3a6e;
  --ink: #0b1730;
  --steel: #4a5870;
  --concrete: #56637a;
  --hairline: #d9dee7;
  --line-dark: #253658;
  --on-night: #e9eef6;
  --on-night-2: #a9b6cc;

  --action: #ff5b1f;
  --action-strong: #ff7a45;
  --action-ink: #0a1426;
  --action-soft: rgba(255, 91, 31, 0.14);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;

  --fs-display: clamp(2.9rem, 1.6rem + 5.6vw, 6.4rem);
  --fs-h2: clamp(2.1rem, 1.5rem + 2.4vw, 3.6rem);
  --fs-h3: 1.35rem;
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-micro: 0.8125rem;

  --r-card: 8px;
  --r-pill: 999px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 136px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--action); color: var(--action-ink); padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--steel); max-width: 60ch; }
.kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--action);
  margin-bottom: 14px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-action { background: var(--action); color: var(--action-ink); }
.btn-ghost-light { color: var(--on-night); border-color: rgba(233, 238, 246, 0.45); }
.btn-dark { background: var(--night); color: var(--on-night); }
.btn-header { color: var(--on-night); border-color: var(--action); }
.btn-header .live-dot { width: 8px; height: 8px; }
.btn-action-outline { color: var(--ink); border-color: var(--ink); }
.btn-quiet { background: var(--surface-2); color: var(--ink); min-height: 48px; padding: 0 16px; border-radius: var(--r-card); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .btn-action:hover { background: var(--action-strong); }
  .btn-header:hover { background: var(--action); color: var(--action-ink); }
  .btn-ghost-light:hover { border-color: var(--on-night); background: rgba(233, 238, 246, 0.08); }
  .btn-dark:hover { background: var(--cab); }
  .btn-action-outline:hover { background: var(--ink); color: var(--surface); }
  .btn-quiet:hover { background: var(--hairline); }
}

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-night);
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out);
}
.site-header.is-solid {
  background: rgba(10, 20, 38, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-mark {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 1.75rem; letter-spacing: 0.01em;
}
.brand-mark .amp { color: var(--action); margin: 0 0.04em; }
.brand-sub { font-size: 0.75rem; letter-spacing: 0.08em; margin-top: 4px; color: var(--on-night-2); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.975rem; opacity: 0.88; padding: 6px 0; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-sister { opacity: 0.7; }
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--action); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .ic { width: 26px; height: 26px; }
.mobile-nav { background: var(--night); border-top: 1px solid var(--line-dark); padding: 8px var(--gutter) 20px; }
.mobile-nav a[aria-current="page"] { color: var(--action); }
.mobile-nav a { display: block; padding: 14px 0; text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; border-bottom: 1px solid var(--line-dark); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .header-phone span { display: none; }
  .header-actions .btn-header { display: none; }
  .brand-mark { font-size: 1.5rem; }
  .brand-sub { white-space: nowrap; font-size: 0.7rem; letter-spacing: 0.04em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100dvh, 920px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--night); color: var(--on-night);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 20, 38, 0.94) 0%, rgba(10, 20, 38, 0.78) 38%, rgba(10, 20, 38, 0.15) 75%),
    linear-gradient(0deg, rgba(10, 20, 38, 0.9) 0%, rgba(10, 20, 38, 0) 45%);
}
.hero-inner { padding-top: 140px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-display); line-height: 0.92; letter-spacing: -0.02em;
  max-width: 13ch; margin: 22px 0 24px;
  text-wrap: balance;
}
/* Marcador laranja sobre o trecho em destaque do título; entra varrendo da esquerda para a direita.
   O estado final (preenchido) é o estilo base, então sem animação o marcador já aparece completo. */
.hl {
  color: var(--night);
  background: linear-gradient(var(--action), var(--action)) no-repeat 0 55% / 100% 0.9em;
  padding: 0 0.14em; margin-inline: -0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  border-radius: var(--r-card);
}
/* O marcador só varre quando o título aparece na tela (js/main.js troca hl-wait por hl-go). */
.hl.hl-wait { background-size: 0% 0.9em; color: var(--on-night); }
.hl.hl-go { animation: hlSweep 800ms var(--ease-out) 700ms both, hlInk 800ms linear 700ms both !important; }
@keyframes hlSweep { from { background-size: 0% 0.9em; } to { background-size: 100% 0.9em; } }
@keyframes hlInk { 0%, 34% { color: var(--on-night); } 35%, 100% { color: var(--night); } }
.hero-lead { font-size: var(--fs-lead); color: var(--on-night-2); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 28px;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid rgba(233, 238, 246, 0.2);
  font-size: var(--fs-small); color: var(--on-night-2);
}
.hero-facts strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--on-night); line-height: 1.1; }

.live {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 16px 8px 12px; border-radius: var(--r-pill);
  background: rgba(10, 20, 38, 0.6); border: 1px solid rgba(233, 238, 246, 0.18);
  font-size: var(--fs-small); font-weight: 500;
}
.live-time { font-variant-numeric: tabular-nums; color: var(--on-night-2); }
.live-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--action); flex: none; }
.live-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--action);
  animation: ping 2.2s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

/* Momento de entrada único e orquestrado */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: heroImg 1400ms var(--ease-out) both; }
  .hero-inner > * { animation: rise 700ms var(--ease-out) both; }
  .hero-inner > :nth-child(2) { animation-delay: 90ms; }
  .hero-inner > :nth-child(3) { animation-delay: 180ms; }
  .hero-inner > :nth-child(4) { animation-delay: 260ms; }
  .hero-inner > :nth-child(5) { animation-delay: 340ms; }
}
@keyframes heroImg { from { transform: scale(1.06); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 720px) {
  .hero-media img { object-position: 70% 30%; }
  .hero-scrim { background: linear-gradient(0deg, rgba(10, 20, 38, 0.97) 0%, rgba(10, 20, 38, 0.82) 55%, rgba(10, 20, 38, 0.35) 100%); }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .hero-facts li { display: flex; gap: 10px; align-items: baseline; }
  .hero-facts strong { display: inline; font-size: 1.25rem; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Topo das páginas internas ---------- */
.hero-page { min-height: 0; }
.hero-page::before {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; right: -6%; width: 58%;
  background: repeating-linear-gradient(115deg, rgba(29, 58, 110, 0.5) 0 70px, transparent 70px 140px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.hero-page .hero-inner { padding-top: clamp(124px, 13vw, 176px); padding-bottom: clamp(48px, 6vw, 84px); }
.hero-page .hero-title { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem); max-width: 15ch; margin: 18px 0 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: var(--fs-small); color: var(--on-night-2); }
.crumbs a { color: var(--on-night-2); text-underline-offset: 4px; }
.crumbs a:hover { color: var(--on-night); }
.crumbs [aria-current] { color: var(--on-night); }

/* Topo com foto mesclada ao fundo escuro (ex.: oficina.html) */
.hero-photo::before { display: none; }
.hero-photo .hero-media {
  inset: 0 0 0 auto; width: min(72%, 1100px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(0deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(0deg, transparent 0%, #000 38%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero-photo .hero-media img { object-position: 60% 50%; }
.hero-photo .hero-scrim {
  background:
    linear-gradient(90deg, rgba(10, 20, 38, 0.92) 0%, rgba(10, 20, 38, 0.55) 45%, rgba(10, 20, 38, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 20, 38, 0.7) 0%, rgba(10, 20, 38, 0) 40%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo .hero-media { animation: photoIn 1200ms var(--ease-out) 120ms both; }
  .hero-photo .hero-media img { animation: photoZoom 2000ms var(--ease-out) 120ms both; }
}
@keyframes photoIn { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: none; } }
@keyframes photoZoom { from { transform: scale(1.12); filter: blur(6px); } to { transform: scale(1); filter: blur(0); } }
@media (max-width: 720px) {
  .hero-photo .hero-media {
    inset: 0; width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .hero-photo .hero-media img { object-position: 60% 30%; }
  .hero-photo .hero-scrim { background: linear-gradient(0deg, rgba(10, 20, 38, 0.97) 0%, rgba(10, 20, 38, 0.6) 55%, rgba(10, 20, 38, 0.3) 100%); }
}
.link-light { color: var(--on-night); }
.sos-more { margin-top: 28px; }

/* ---------- Socorro ---------- */
.sos { background: var(--night); color: var(--on-night); padding-block: clamp(24px, 3vw, 36px); }
.sos .lead { color: var(--on-night-2); }

/* Seção retrátil: a barra com o botão fica sempre visível; o resto recolhe. */
.sos-bar { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center; padding-block: 8px; }
.sos-bar .kicker { margin: 0; }
.sos-toggle { position: relative; background: transparent; }
/* Fechada, o botão pulsa (anel laranja) chamando para abrir; roda mesmo com "reduzir movimento" ligado. */
.sos-toggle::after {
  content: ''; position: absolute; inset: -2px; border-radius: var(--r-pill); border: 2px solid var(--action);
  opacity: 0; pointer-events: none;
}
.sos.is-collapsed .sos-toggle { border-color: var(--action); }
.sos.is-collapsed .sos-toggle::after { animation: sosPulse 1.8s ease-out infinite !important; }
@keyframes sosPulse { 0% { inset: -2px; opacity: 0.9; } 100% { inset: -14px; opacity: 0; } }
.sos-toggle .sos-chev {
  width: 9px; height: 9px; margin: -3px 0 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-135deg); margin-top: 3px; transition: transform 260ms var(--ease-out);
}
.sos.is-collapsed .sos-toggle .sos-chev { transform: rotate(45deg); margin-top: -3px; }
.sos-collapse { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 460ms var(--ease-out), visibility 0s linear 0s; }
.sos-collapse-inner { min-height: 0; overflow: hidden; overflow: clip; padding-top: clamp(20px, 2.5vw, 32px); padding-bottom: calc(var(--section) - clamp(24px, 3vw, 36px)); }
.sos.is-collapsed .sos-collapse { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 460ms var(--ease-out), visibility 0s linear 460ms; }
.sos.is-collapsed .sos-collapse-inner { padding-block: 0; }
.sos-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.sos-copy .lead { margin-top: 18px; }
.steps { margin-top: 44px; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.step-n {
  font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 0.9;
  color: var(--on-night-2);
}
.steps h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; margin-bottom: 6px; }
.steps p { color: var(--on-night-2); max-width: 52ch; }
.sos-photo { margin-top: 44px; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 9; background: var(--asphalt); }
.sos-photo img { width: 100%; height: 100%; object-fit: cover; }

.sos-card {
  position: sticky; top: 100px;
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-card); padding: clamp(22px, 3vw, 36px);
  display: grid; gap: 20px;
}
.sos-card-title { font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1; }
.sos-card-note { color: var(--steel); font-size: var(--fs-small); margin-top: -8px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field legend { font-weight: 600; font-size: var(--fs-small); padding: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.opt { font-weight: 400; color: var(--concrete); }
input[type="text"], textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--canvas); border: 1.5px solid var(--hairline); border-radius: var(--r-card);
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
textarea { resize: vertical; min-height: 72px; }
input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
input::placeholder, textarea::placeholder { color: var(--concrete); opacity: 1; }
.input-plate { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.input-plate::placeholder { font-weight: 400; letter-spacing: 0.04em; }
.input-row { display: flex; gap: 8px; }
.input-row input { flex: 1; }
.hint { font-size: var(--fs-micro); color: var(--steel); min-height: 1em; }
.hint.is-ok { color: #12663a; }
.hint.is-error { color: #a3290a; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1.5px solid var(--hairline); background: var(--canvas);
  font-size: var(--fs-small); font-weight: 500;
  transition: background-color 140ms var(--ease-out), border-color 140ms var(--ease-out), color 140ms var(--ease-out);
}
.chip input:checked + span { background: var(--night); border-color: var(--night); color: var(--on-night); }
.chip input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { border-color: var(--steel); } }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; font-weight: 500 !important; }
.check input { width: 20px; height: 20px; accent-color: var(--night); }
.sos-alt { text-align: center; font-size: var(--fs-small); color: var(--steel); }
.sos-alt a { font-weight: 600; color: var(--ink); }
.sos-privacy { font-size: var(--fs-micro); color: var(--concrete); text-align: center; margin-top: -10px; }
.sos-done { background: var(--surface-2); border-radius: var(--r-card); padding: 12px 14px; font-weight: 600; font-size: var(--fs-small); }

@media (max-width: 960px) {
  .sos-grid { grid-template-columns: 1fr; }
  .sos-card { position: static; }
}
@media (max-width: 480px) {
  .field-pair { grid-template-columns: 1fr; }
  .input-row { flex-direction: column; }
}

/* ---------- Oficina ---------- */
.shop-title { margin-bottom: 36px; }
.shop { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 52px; }
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, auto);
}
.bento-photo { grid-row: span 2; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.svc { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; }
.svc-wide { grid-column: span 2; background: var(--night); color: var(--on-night); border-color: var(--night); }
.svc.svc-wide p { color: var(--on-night-2); }
.svc-ic { width: 36px; height: 36px; margin-bottom: auto; padding-bottom: 18px; box-sizing: content-box; }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; margin-bottom: 6px; }
.svc p { color: var(--steel); font-size: var(--fs-small); line-height: 1.5; }
/* Cards com foto: a foto ocupa o topo e o ícone fica sobre ela */
.svc-photo { position: relative; padding: 0; overflow: hidden; min-height: 250px; }
.svc-photo .svc-img { flex: 1 1 0; min-height: 120px; width: 100%; object-fit: cover; background: var(--surface-2); }
.svc-photo .svc-ic {
  position: absolute; top: 12px; left: 12px; width: 22px; height: 22px; margin: 0; padding: 7px;
  background: var(--surface); border-radius: var(--r-pill); color: var(--ink);
}
.svc-photo .svc-body { padding: 18px 24px 22px; }
.svc-cta { grid-column: span 2; background: var(--surface-2); border-color: var(--surface-2); justify-content: space-between; gap: 18px; }
.svc-cta p { font-size: 1.0625rem; max-width: 44ch; color: var(--ink); }
.svc-cta .btn { align-self: flex-start; }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc-cta { grid-column: 1 / -1; } }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-photo { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-photo, .svc-wide, .svc-cta { grid-column: auto; }
  .svc-cta .btn { width: 100%; }
}

/* ---------- Peças ---------- */
.parts { background: var(--surface-2); padding-block: var(--section); }
.parts-copy { max-width: 760px; }
.parts-copy .lead { margin-top: 20px; }
.parts-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

/* ---------- Marcas ---------- */
.brands { padding-block: clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--hairline); }
.brands-title { font-size: var(--fs-lead); font-weight: 500; color: var(--steel); margin-bottom: 26px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 6px 40px; }
.brand-list li {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem);
  line-height: 1.05; letter-spacing: -0.01em; color: var(--ink);
}
.brand-list li:nth-child(even) { color: var(--concrete); }

/* Carrossel contínuo (js/main.js cria o .marquee e duplica a lista para o loop ser sem emenda).
   Roda sempre, mesmo com "reduzir movimento" ligado no sistema, e sem botão de pausa. */
.marquee {
  overflow: hidden; margin-top: 4px; padding-bottom: 14px; /* folga para o "g" de Volkswagen não ser cortado */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee .brand-list { flex-wrap: nowrap; gap: 0; width: max-content; will-change: transform; }
.marquee .brand-list li { flex: none; margin-right: clamp(36px, 5vw, 72px); white-space: nowrap; }
.marquee .brand-list { animation: marquee 36s linear infinite !important; }
.marquee:not(.is-visible) .brand-list { animation-play-state: paused !important; } /* só gira quando está na tela */
@media (max-width: 720px) { .marquee .brand-list { animation-duration: 32s !important; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Loja de peças (pecas.html) ---------- */
select {
  width: 100%; min-height: 48px; padding: 12px 40px 12px 14px; cursor: pointer;
  background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m2 5 5 5 5-5' fill='none' stroke='%230b1730' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid var(--hairline); border-radius: var(--r-card);
  -webkit-appearance: none; appearance: none;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
select:focus { outline: none; border-color: var(--ink); background-color: var(--surface); }
select:disabled { cursor: not-allowed; color: var(--concrete); opacity: 0.8; }

/* Avatar da cintura para cima ao lado do título, em pé na borda inferior do topo (frotas.html) */
.hero-avatar {
  position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; right: 0;
  display: flex; align-items: flex-end; justify-content: flex-end; pointer-events: none;
}
.hero-avatar img {
  width: auto; max-width: min(100%, 42vw); height: calc(100% - 104px); object-fit: contain; object-position: right bottom;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-avatar img { animation: avatarIn 900ms var(--ease-out) 250ms both; }
}
@keyframes avatarIn { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@media (max-width: 1040px) {
  .hero-avatar { position: static; order: 2; justify-content: center; padding-top: 8px; }
  .hero-avatar img { max-width: 100%; height: clamp(260px, 56vw, 400px); object-position: center bottom; }
  .hero-page:has(.hero-avatar) .hero-inner { padding-bottom: 8px; }
}

/* Topo com vídeo em loop ao fundo */
.hero-video::before { display: none; }
.hero-video .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-video .hero-scrim {
  background:
    linear-gradient(90deg, rgba(10, 20, 38, 0.93) 0%, rgba(10, 20, 38, 0.74) 45%, rgba(10, 20, 38, 0.38) 100%),
    linear-gradient(0deg, rgba(10, 20, 38, 0.8) 0%, rgba(10, 20, 38, 0) 45%);
}
@media (max-width: 720px) {
  .hero-video .hero-media video { object-position: 62% 50%; }
  .hero-video .hero-scrim { background: linear-gradient(0deg, rgba(10, 20, 38, 0.94) 0%, rgba(10, 20, 38, 0.78) 60%, rgba(10, 20, 38, 0.6) 100%); }
}

.store-hero .hero-inner { padding-bottom: clamp(40px, 5vw, 64px); }
.store-hero .hero-title { max-width: 18ch; }
.garage {
  margin-top: 34px; max-width: 1020px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr) auto; gap: 16px; align-items: end;
  padding: 22px; background: var(--surface); color: var(--ink); border-radius: var(--r-card);
}
.garage-search { grid-column: 1 / -1; }
.garage-hint { grid-column: 1 / -1; margin: -4px 0 0; }
.search-box { position: relative; }
.search-box .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--concrete); pointer-events: none; }
.search-box input { padding-left: 46px; }
.garage-go { align-self: end; }

.perks { background: var(--surface); border-bottom: 1px solid var(--hairline); }
.perks-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; padding-block: 8px; }
.perks-row li { display: flex; gap: 14px; align-items: flex-start; padding-block: 20px; }
.perks-row .ic { width: 28px; height: 28px; margin-top: 2px; }
.perks-row strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; }
.perks-row span { display: block; font-size: var(--fs-small); color: var(--steel); line-height: 1.4; margin-top: 4px; }
.perks-row a { text-underline-offset: 3px; }

.lines, .garage-pick { padding-block: clamp(56px, 7vw, 104px); }
.garage-pick { background: var(--surface); border-block: 1px solid var(--hairline); }
.store-head { display: grid; gap: 10px; margin-bottom: 32px; }
.store-head .lead { max-width: 52ch; }

.line-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.line-tile {
  position: relative; display: block; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--r-card);
  background: var(--night); color: var(--on-night); text-decoration: none;
}
.line-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.line-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 20, 38, 0.92) 0%, rgba(10, 20, 38, 0) 55%); }
.line-name {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.05;
}
.line-name .ic { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .line-tile:hover img { transform: scale(1.05); }
  .line-tile:hover .line-name .ic { transform: translateX(4px); }
}
.line-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.line-chips a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-pill); border: 1.5px solid var(--hairline); background: var(--surface);
  font-weight: 500; text-decoration: none;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.line-chips .ic { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .line-chips a:hover { background: var(--night); border-color: var(--night); color: var(--on-night); } }

.brand-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.brand-tabs button {
  min-height: 46px; padding: 0 22px; cursor: pointer;
  border-radius: var(--r-pill); border: 1.5px solid var(--hairline); background: var(--canvas);
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.brand-tabs button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--on-night); }
@media (hover: hover) and (pointer: fine) { .brand-tabs button[aria-pressed="false"]:hover { border-color: var(--steel); } }
.model-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.model-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 64px; padding: 14px 18px;
  border-radius: var(--r-card); border: 1.5px solid var(--hairline); background: var(--canvas); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.05;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.model-list .ic { width: 18px; height: 18px; color: var(--concrete); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .model-list a:hover { border-color: var(--ink); background: var(--surface); }
  .model-list a:hover .ic { transform: translateX(3px); color: var(--ink); }
}
.model-note { margin-top: 22px; color: var(--steel); font-size: var(--fs-small); }

/* "Como comprar" com o atendente em pé na borda inferior da seção */
.parts:has(.parts-mascot) { padding-bottom: 0; }
.parts-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 88px); align-items: end; }
.parts-split .parts-copy { align-self: center; padding-bottom: var(--section); }
/* Do bolso para cima, colado na borda da seção e alinhado à margem direita do site */
.parts-mascot { justify-self: end; align-self: end; display: flex; line-height: 0; }
.parts-split { grid-template-columns: minmax(0, 1fr) auto; }
.parts-mascot img { width: auto; max-width: none; height: clamp(400px, 52vw, 700px); }
@media (max-width: 860px) {
  .parts-split { grid-template-columns: minmax(0, 1fr); }
  .parts-split .parts-copy { padding-bottom: 0; }
  .parts-mascot { justify-self: center; }
  .parts-mascot img { max-width: 100%; height: clamp(320px, 86vw, 520px); object-fit: contain; object-position: bottom; }
}
.buy-steps li, .buy-steps li:last-child { border-color: var(--hairline); }
.buy-steps .step-n { color: var(--concrete); }
.buy-steps p { color: var(--steel); }
.buy-steps a { text-underline-offset: 3px; }
.buy-steps { margin-top: 28px; }
@media (max-width: 1080px) {
  .perks-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .garage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .garage-go { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 560px) {
  .garage { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .perks-row { grid-template-columns: 1fr; gap: 0; }
  .perks-row li { padding-block: 14px; border-top: 1px solid var(--hairline); }
  .perks-row li:first-child { border-top: 0; }
  .line-name { font-size: 1.3rem; padding: 14px; }
  .model-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Frotas ---------- */
.fleet { padding-block: var(--section); }
.fleet-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.fleet-photo { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 5 / 4; background: var(--surface-2); }
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; }
.fleet-copy .lead { margin-top: 18px; }
.ticks { margin: 28px 0 34px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.45em; width: 18px; height: 10px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg) translateY(-3px);
}
@media (max-width: 860px) { .fleet-grid { grid-template-columns: 1fr; } }

/* ---------- Instagram ---------- */
.social { padding-bottom: var(--section); }
.social-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.social-grid li { aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.social-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); padding-block: var(--section); border-block: 1px solid var(--hairline); }
/* A seção inteira é retrátil: o título centralizado abre e fecha a lista. */
.faq-box { max-width: 820px; margin-inline: auto; }
.faq-head {
  list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; border-radius: var(--r-card, 8px);
}
.faq-head::-webkit-details-marker { display: none; }
.faq-head .h2 { margin: 0; text-wrap: balance; }
.faq-chev {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--hairline); position: relative; flex: none;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.faq-chev::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -9px 0 0 -6px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
  transition: transform 220ms var(--ease-out);
}
.faq-box[open] .faq-chev::after { transform: rotate(-135deg); margin-top: -4px; }
.faq-head:focus-visible { outline: 3px solid var(--action); outline-offset: 8px; }
@media (hover: hover) and (pointer: fine) { .faq-head:hover .faq-chev { background: var(--surface-2); border-color: var(--steel); } }
.faq-box[open] > .faq-list { margin-top: 36px; }
@media (prefers-reduced-motion: no-preference) {
  .faq-box[open] > .faq-list { animation: rise 420ms var(--ease-out) both; }
}
.faq-list details { border-top: 1px solid var(--hairline); }
.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 22px; color: var(--steel); max-width: 62ch; }

/* ---------- Contato ---------- */
.contact { padding-block: var(--section); }
.contact .h2 { margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
/* Quatro cartões iguais: ícone, textos e um botão fixo na base. O botão estica o clique para o cartão inteiro. */
.contact-card {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 24px;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--hairline);
}
.contact-card > .ic { width: 28px; height: 28px; }
.contact-text { display: grid; gap: 4px; align-content: start; }
.contact-label { font-size: var(--fs-small); color: var(--steel); }
.contact-card strong { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.contact-hint { font-size: var(--fs-small); color: var(--steel); }
.contact-card .btn { margin-top: auto; }
.contact-card .btn[hidden] { display: none; }
.contact-card .btn .ic { width: 20px; height: 20px; }
.contact-card .btn::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-card); }
.contact-card:focus-within { border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .contact-card { transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .contact-card:hover { border-color: var(--ink); transform: translateY(-3px); }
  .contact-card:hover .btn-action { background: var(--action-strong); }
  .contact-card:hover .btn-action-outline { background: var(--ink); color: var(--surface); }
}
@media (max-width: 1000px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { min-height: 0; } }

/* ---------- Reels ---------- */
.reels { padding-block: var(--section); }
.reels-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.reels-copy .lead { margin: 18px 0 30px; }
.reels-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.reel { flex: 0 0 clamp(220px, 22vw, 280px); scroll-snap-align: start; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-card); overflow: hidden; background: var(--night); }
.reel-frame img, .reel-frame video, .reel-frame iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel-play { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.reel-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 20, 38, 0.55) 0%, rgba(10, 20, 38, 0) 40%); }
.reel-play:focus-visible { outline-offset: -4px; }
.reel-icon {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  display: grid; place-items: center; border-radius: 50%; background: var(--action); color: var(--action-ink);
  transition: transform 200ms var(--ease-out);
}
.reel-icon svg { width: 28px; height: 28px; margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .reel-play:hover .reel-icon { transform: scale(1.08); } }
.reel-title { margin-top: 12px; font-weight: 600; line-height: 1.3; }
.reel-meta { font-size: var(--fs-micro); color: var(--steel); }
.reel-follow {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; padding: 24px;
  background: var(--asphalt); color: var(--on-night); text-decoration: none;
  background-image: repeating-linear-gradient(115deg, rgba(29, 58, 110, 0.6) 0 40px, transparent 40px 80px);
}
.reel-follow .ic { width: 34px; height: 34px; margin-bottom: auto; }
.reel-follow strong { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; line-height: 1.05; }
.reel-follow span { color: var(--on-night-2); font-size: var(--fs-small); }
@media (hover: hover) and (pointer: fine) { .reel-follow:hover strong { text-decoration: underline; text-underline-offset: 5px; } }
@media (max-width: 900px) {
  .reels-grid { grid-template-columns: 1fr; }
  .reel { flex-basis: min(64vw, 280px); }
}

/* ---------- Caminhos (oficina, peças, frotas) ---------- */
.paths { padding-block: var(--section); background: var(--surface-2); }
.paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.path {
  position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r-card); background: var(--night); color: var(--on-night); text-decoration: none;
}
.path img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 600ms var(--ease-out); }
.path::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 20, 38, 0.96) 0%, rgba(10, 20, 38, 0.7) 38%, rgba(10, 20, 38, 0) 68%); }
.path-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: clamp(20px, 2.4vw, 30px); }
.path strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); line-height: 1; }
.path-body > span { color: var(--on-night-2); font-size: var(--fs-small); max-width: 34ch; }
.path-body > .path-more {
  margin-top: 10px; color: var(--on-night); font-weight: 600; font-size: 1rem;
  text-decoration: underline; text-decoration-color: var(--action); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
@media (hover: hover) and (pointer: fine) { .path:hover img { transform: scale(1.04); } }
@media (max-width: 860px) {
  .paths-grid { grid-template-columns: 1fr; }
  .path { aspect-ratio: 4 / 3; }
}

/* ---------- Chamada final ---------- */
.cta-band { background: var(--asphalt); color: var(--on-night); padding-block: clamp(56px, 7vw, 104px); }
.cta-band .lead { color: var(--on-night-2); margin-top: 14px; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px 56px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 560px) { .cta-actions, .cta-actions .btn { width: 100%; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--night); color: var(--on-night); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 40px; padding-block: 64px 40px; }
.brand-footer { margin-bottom: 14px; }
.footer-text { color: var(--on-night-2); max-width: 34ch; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a { text-decoration: none; color: var(--on-night-2); }
.footer-nav a:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }
.sister {
  display: grid; gap: 4px; padding: 22px; border-radius: var(--r-card); text-decoration: none;
  background: var(--asphalt); border: 1px solid var(--line-dark);
}
.sister-label { font-size: var(--fs-micro); color: var(--on-night-2); }
.sister strong { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.1; }
.sister strong::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 10px; background: #ffc20e; vertical-align: 2px; }
.sister span:last-child { color: var(--on-night-2); font-size: var(--fs-small); }
@media (hover: hover) and (pointer: fine) { .sister { transition: border-color 160ms var(--ease-out); } .sister:hover { border-color: var(--on-night-2); } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px 32px; border-top: 1px solid var(--line-dark); font-size: var(--fs-micro); color: var(--on-night-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante de socorro (celular) ---------- */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--action); color: var(--action-ink); font-weight: 700; text-decoration: none;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}
.fab .live-dot { background: var(--action-ink); }
.fab .live-dot::after { background: var(--action-ink); }
.fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 960px) { .fab { display: inline-flex; } }

/* ---------- Acessibilidade de movimento e contraste ---------- */
/* Entrada ao rolar: cada bloco aparece quando o visitante chega nele (js/main.js, initReveal).
   Com "reduzir movimento" ligado, só esmaece (sem deslocar). */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out) var(--rd, 0ms), transform 700ms var(--ease-out) var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 600ms var(--ease-out) var(--rd, 0ms) !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-solid { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --steel: #2c3850; --concrete: #3b4760; --on-night-2: #d3dbe8; --hairline: #9aa6ba; }
}

/* ==========================================================================
   Rodapé completo, aviso de cookies (LGPD) e páginas de política
   ========================================================================== */
.footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px 48px; }
.footer-h { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; color: var(--on-night); margin: 0 0 14px; }
.footer-col { display: grid; gap: 10px; align-content: start; color: var(--on-night-2); font-size: var(--fs-small); }
.footer-col a, .footer-btn { color: var(--on-night-2); text-decoration: none; }
.footer-col a:hover, .footer-btn:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }
.footer-col a[aria-current="page"] { color: var(--on-night); }
.footer-btn { justify-self: start; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
.footer-col .sister { margin-top: 8px; color: var(--on-night); }
.footer-contact { display: grid; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base a { color: inherit; margin-left: 14px; }
.footer-base a:first-child { margin-left: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Aviso de cookies */
.consent {
  position: fixed; z-index: 90; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(460px, calc(100% - 32px));
  padding: 20px 22px; border-radius: var(--r-card); background: var(--night); color: var(--on-night); border: 1px solid var(--line-dark);
}
.consent-title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.1; margin: 0 0 8px; }
.consent-text { font-size: var(--fs-small); color: var(--on-night-2); margin: 0; }
.consent-text a, .consent-more a { color: var(--on-night); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.consent-btn {
  min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--on-night-2);
  background: transparent; color: var(--on-night); font: inherit; font-weight: 600; cursor: pointer;
}
.consent-btn:hover { border-color: var(--on-night); }
.consent-link { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--on-night); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.has-consent-banner .fab { display: none; }
.consent-dialog {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-dark);
  border-radius: var(--r-card); background: var(--night); color: var(--on-night);
}
.consent-dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
.consent-form { padding: 24px; }
.consent-row { padding: 14px 0; border-top: 1px solid var(--line-dark); }
.consent-row:first-of-type { margin-top: 16px; }
.consent-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.consent-switch input { width: 22px; height: 22px; accent-color: var(--action); flex: none; }
.consent-switch input:disabled { opacity: 0.7; }
.consent-name { font-weight: 700; }
.consent-name em { font-style: normal; font-weight: 400; color: var(--on-night-2); font-size: var(--fs-small); margin-left: 6px; }
.consent-items { margin: 8px 0 0 34px; padding: 0; list-style: none; display: grid; gap: 4px; font-size: var(--fs-small); color: var(--on-night-2); }
.consent-items strong { font-weight: 500; color: var(--on-night); }
.consent-more { margin: 16px 0 0; font-size: var(--fs-small); }
@media (max-width: 560px) {
  .consent { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 0; border-width: 1px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .consent-btn { flex: 1; }
}

/* Páginas de política */
.legal { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-block: clamp(48px, 6vw, 88px) var(--section); }
.legal-toc { position: sticky; top: 100px; align-self: start; font-size: var(--fs-small); }
.legal-toc-title { font-weight: 700; margin: 0 0 10px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; border-left: 2px solid var(--hairline); }
.legal-toc a { display: block; padding-left: 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--steel); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--action); }
.legal-updated { margin: 18px 0 0; color: var(--steel); }
.legal-body { max-width: 70ch; }
.legal-sec { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--hairline); scroll-margin-top: 100px; }
.legal-sec h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; margin: 0 0 14px; }
.legal-sec p, .legal-sec li { color: var(--steel); }
.legal-sec strong { color: var(--ink); }
.legal-sec p + p, .legal-sec ul + p, .legal-sec ol + p, .legal-sec p + ul, .legal-sec p + ol, .legal-sec .table-wrap + p { margin-top: 12px; }
.legal-sec ul, .legal-sec ol { padding-left: 1.25em; }
.legal-sec li + li { margin-top: 8px; }
.legal-sec li::marker { color: var(--ink); }
.legal-sec ul { list-style: disc; }
.legal-sec ol { list-style: decimal; }
.legal-sec a, .legal-note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--hairline); border-radius: var(--r-card); }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); background: var(--surface); }
.legal th, .legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.legal th { font-weight: 700; color: var(--ink); }
.legal tr:last-child td { border-bottom: 0; }
.legal code { font-size: 0.85em; }
.btn-legal { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.btn-legal:hover { background: var(--ink); color: var(--surface); }
.legal-note { color: var(--steel); }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
