/* Fonts served from this site instead of Google Fonts (LGPD: the visitor's IP is not sent to Google).
   Latin subset of the Google Fonts files, downloaded 03/11/2026; licenses in /assets/fonts/OFL-*.txt.
   Space Grotesk and Inter are variable fonts: one file covers every weight in the range. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-700-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-800-italic-latin.woff2") format("woff2");
}

/* ─── Design plan ─────────────────────────────────────────────────────────
   Dark editorial automotive site. Minimal black canvas, large light-weight
   display headlines, Ki Pneus red reserved for one accent moment per section
   (CTA border, numbered steps, inline marks). Hero splits headline/body
   like a magazine. Pill CTA opens WhatsApp. 3-step process mirrors
   Center Gravity's "How we work" structure. */

:root {
  color-scheme: dark;
  --bg:        #0a0a0a;
  --surface:   #141414;
  --fg:        #ffffff;
  --muted:     rgba(255,255,255,0.62);
  /* 0.5 keeps 12-13px labels above WCAG AA (4.5:1) on --bg. */
  --faint:     rgba(255,255,255,0.5);
  --line:      rgba(255,255,255,0.08);
  --line-soft: rgba(255,255,255,0.04);
  --accent:    #e11b22;
  /* Brand red is 4.1:1 on --bg; small red text uses this lighter tone (5:1). */
  --accent-text: #f2353c;
  --accent-ink:#ffffff;

  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--fg); }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
/* Anchor jumps land below the sticky header. */
html { scroll-padding-top: 96px; }
@media (max-width: 560px) { html { scroll-padding-top: 76px; } }

/* ─── Layout primitives ─── */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.band { padding-block: clamp(72px, 10vw, 128px); }
.band--tight { padding-block: clamp(48px, 7vw, 88px); }

/* ─── Header ─── */
body::before {
  content: "";
  position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  z-index: 50;
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: rgba(10,10,10,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.brand-logo { height: 46px; width: auto; aspect-ratio: 300 / 92; }
@media (max-width: 560px) { .brand-logo { height: 42px; } }

nav.primary {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
nav.primary a:hover { color: var(--fg); }
nav.primary { align-items: center; gap: clamp(16px, 1.9vw, 28px); white-space: nowrap; }
.nav-sep { width: 1px; height: 16px; background: var(--line); overflow: hidden; color: transparent; font-size: 0; }
.nav-ext { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.nav-ext svg { width: 11px; height: 11px; color: var(--accent); flex-shrink: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Keyboard users can jump past the header; hidden until focused. */
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display); font-size: 14px; font-weight: 500;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--fg); outline-offset: 3px; }

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg);
  transition: background 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.cta-pill:hover { background: var(--accent); color: var(--accent-ink); }
.cta-pill svg { width: 15px; height: 15px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.menu-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* The nav has 6 links, so it collapses into the ☰ menu earlier than the rest of the layout. */
@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  nav.primary {
    display: none;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter-r) 16px var(--gutter);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 18px;
    color: var(--fg);
  }
  nav.primary a { padding-block: 14px; border-top: 1px solid var(--line-soft); }
  nav.primary a:first-child { border-top: 0; }
  .nav-sep {
    width: auto; height: auto;
    margin-top: 18px; padding-bottom: 4px;
    background: none;
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--faint);
  }
  .nav-sep + a { border-top: 0; }
  .nav-ext { justify-content: space-between; }
  .nav-ext svg { width: 14px; height: 14px; }
  .site-header.is-open nav.primary { display: flex; }
}
@media (max-width: 560px) {
  .site-header .row { padding-block: 10px; }
  /* The floating WhatsApp button already covers this on phones. */
  .site-header .cta-pill { display: none; }
}

/* ─── Hero ─── */
.hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}
h1.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1.display em {
  font-style: normal;
  color: var(--accent);
  font-weight: 400;
}
.hero-body {
  padding-top: 8px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.68;
}
.hero-body p + p { margin-top: 18px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: background-color 180ms ease, border-color 180ms ease;
}
/* Red on hover; on touch screens, red while pressed (hover would stick after a tap). */
.cta-ghost:active { background: var(--accent); border-color: var(--accent); }
@media (hover: hover) {
  .cta-ghost:hover { background: var(--accent); border-color: var(--accent); }
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta div { min-width: 0; }
.hero-meta .k {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.hero-meta .v { font-size: 15px; color: var(--fg); font-weight: 400; }

/* ─── Hero visual (SVG scene) ─── */
.hero-visual {
  margin-top: clamp(56px, 8vw, 96px);
  position: relative;
  height: clamp(360px, 46vw, 560px);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(1200px 400px at 50% 0%, rgba(225,27,34,0.18), transparent 65%),
    radial-gradient(900px 500px at 50% 100%, rgba(255,255,255,0.03), transparent 60%),
    #050505;
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-video.is-ready { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 28%),
    linear-gradient(to top, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0) 40%);
}
.hero-visual .label {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: 24px;
  display: flex;
  gap: 24px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 560px) {
  .hero-visual .label { flex-direction: column; gap: 10px; right: var(--gutter); }
}

/* Phones and tablets: headline, then the car video, then the copy, so the video is on the first screen. */
@media (max-width: 820px) {
  .hero { display: flex; flex-direction: column; padding-top: 36px; padding-bottom: 56px; }
  .hero > .wrap, .hero-grid { display: contents; }
  .hero-grid > div:first-child, .hero-body, .hero-meta {
    margin-inline: var(--gutter) var(--gutter-r);
  }
  .hero-grid > div:first-child { order: 1; }
  .hero-visual { order: 2; margin-top: 28px; }
  .hero-body { order: 3; margin-top: 32px; padding-top: 0; }
  .hero-meta { order: 4; margin-top: 40px; }
  .eyebrow { margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
}
.hero-visual .label span strong {
  display: block;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-top: 4px;
  font-size: 12px;
}

/* ─── Benefits row ─── */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.benefits > div {
  background: var(--bg);
  padding: 36px 28px;
}
@media (max-width: 820px) {
  .benefits { grid-template-columns: 1fr; }
}
.benefit-icon {
  width: 32px; height: 32px;
  margin-bottom: 20px;
  color: var(--accent);
}
.benefit h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.benefit p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ─── Section heading ─── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 72px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }
.sec-head h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.sec-head p { color: var(--muted); max-width: 54ch; font-size: 16px; }

/* ─── Services list ─── */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }
.service {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 220ms ease;
}
.services .service:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.services .service:nth-child(even) { padding-left: 24px; }
@media (max-width: 820px) {
  .services .service { border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
}
.service-num {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--faint);
}
.service-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.005em;
}
.service-desc {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 4px;
  letter-spacing: 0;
}
.service-arrow { color: var(--faint); transition: color 180ms, transform 220ms; }
.service:hover .service-arrow { color: var(--accent); transform: translateX(4px); }
/* Services are buttons that open the detail dialog; reset the native button look. */
button.service {
  appearance: none;
  width: 100%;
  margin: 0;
  background: none;
  border-style: solid;
  border-width: 0 0 1px;
  border-color: var(--line);
  color: inherit;
  font: inherit;
  text-align: left;
}
.service { cursor: pointer; }
.service:hover .service-name { color: var(--fg); }
.service:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* Odd count: the last service spans both columns. */
.services .service:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.service-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  vertical-align: 3px;
}
.sec-hint { color: var(--fg); font-weight: 500; }

/* ─── Service detail dialog ─── */
/* Follows the dialog's own state, so the page never stays locked if a browser skips the close event. */
html:has(.svc-dialog[open]) { overflow: hidden; }
.svc-dialog {
  width: min(1040px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}
.svc-dialog::backdrop { background: rgba(0,0,0,0.78); backdrop-filter: blur(6px); }
.svc-dialog[open] { animation: svc-in 260ms ease-out; }
@keyframes svc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.svc-dialog-inner { position: relative; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.svc-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: rgba(10,10,10,0.7);
  color: var(--fg);
  cursor: pointer;
}
.svc-close svg { width: 18px; height: 18px; }
.svc-close:focus-visible, .svc-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.svc-panel { display: grid; grid-template-columns: 1.1fr 1fr; }
.svc-media { margin: 0; position: relative; background: var(--surface); display: flex; flex-direction: column; }
.svc-photo { width: 100%; height: 100%; min-height: 420px; object-fit: cover; flex: 1; }
.svc-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; background: var(--bg); }
.svc-thumb {
  padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--surface); color: var(--muted); cursor: pointer; text-align: left;
  font-family: var(--display); font-size: 12px;
}
.svc-thumb img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-thumb span { display: block; padding: 6px 8px 8px; }
.svc-thumb[aria-pressed="true"] { border-color: var(--accent); color: var(--fg); }
.svc-body { padding: 44px 40px 40px; }
.svc-eyebrow {
  margin: 0 0 14px;
  font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-text);
}
.svc-body h3 {
  margin: 0 0 16px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.015em;
  text-wrap: balance;
}
.svc-body > p:not(.svc-eyebrow) { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.svc-points { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 12px; }
.svc-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.svc-points svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) {
  /* Phones and tablets: full-screen sheet, photo on top. */
  .svc-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .svc-dialog-inner { height: 100dvh; max-height: 100dvh; }
  .svc-panel { grid-template-columns: 1fr; }
  .svc-photo { min-height: 0; aspect-ratio: 3 / 2; flex: none; }
  /* Fixed so it stays reachable while the sheet scrolls. */
  .svc-close { position: fixed; top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
  .svc-body { padding: 26px var(--gutter-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gutter); }
  /* The WhatsApp button stays pinned to the bottom of the sheet on small screens. */
  .svc-actions { display: contents; }
  .svc-actions .cta-primary {
    position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 1;
    width: 100%; justify-content: center;
    box-shadow: 0 0 0 12px var(--bg), 0 -20px 24px 12px var(--bg);
  }
  .svc-actions .cta-ghost { width: 100%; justify-content: center; margin-top: 12px; }
}

/* ─── Process ─── */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
@media (max-width: 820px) { .process { grid-template-columns: 1fr; } }
.step .num {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--accent-text);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.step .num::after {
  content: "";
  width: 36px; height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.step p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* ─── Testimonial ─── */
.quote-band {
  border-block: 1px solid var(--line);
  text-align: center;
}
.quote {
  max-width: 820px;
  margin-inline: auto;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  text-wrap: balance;
  color: var(--fg);
}
.quote::before, .quote::after {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 14px;
}
.quote-byline {
  margin-top: 22px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
}
.quote-stars {
  display: inline-flex;
  gap: 4px;
  color: var(--accent);
  margin-bottom: 24px;
}

/* ─── Hours / Address grid ─── */
.info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } }
.info-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.info-cell:last-child { border-right: 0; }
@media (max-width: 820px) {
  .info-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-cell:last-child { border-bottom: 0; }
}
.info-label {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.info-value {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.info-value span { color: var(--muted); font-size: 14px; display: block; margin-top: 4px; font-family: var(--body); font-weight: 300; letter-spacing: 0; }
.info-link {
  display: inline-flex; align-items: center;
  /* Taller tap target without shifting the layout. */
  padding-block: 10px; margin-block: -10px;
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: color 180ms ease;
}
.info-link:hover { color: var(--accent); }
.info-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.info-link svg { width: 14px; height: 14px; margin-left: 6px; color: var(--accent); flex-shrink: 0; }
.hours-rows { display: grid; gap: 10px; }
.hours-rows div { display: flex; justify-content: space-between; font-size: 14.5px; }
.hours-rows div span:first-child { color: var(--muted); font-family: var(--body); font-weight: 300; }
.hours-rows div span:last-child { color: var(--fg); font-family: var(--display); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* ─── Como chegar ─── */
.visit-stack { display: grid; gap: 28px; }
.visit-stack .sec-head { margin-bottom: 12px; }
.visit-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}
@media (max-width: 820px) { .visit-grid { grid-template-columns: 1fr; } }
.map-card, .storefront { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); min-width: 0; }
.map-card { aspect-ratio: 800 / 520; max-width: 100%; background: #101013; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-bg { fill: #101013; }
.r { stroke: #26272c; }
.r-trunk, .r-primary, .r-secondary { stroke: #36373d; }
.r-tertiary { stroke: #2f3036; }
.r-service { stroke: #1d1e22; }
.r-case { stroke: #0a0a0b; }
.r-shop { stroke: rgba(225, 27, 34, 0.62); }
.lbl { font: 500 11px var(--body); fill: #80828a; letter-spacing: 0.02em; }
.lbl-shop { fill: #ffffff; }
@media (max-width: 560px) {
  .map-card { aspect-ratio: 1 / 1; }
  .lbl { font-size: 17px; }
}
.map-pin {
  position: absolute; left: 50%; top: 50%;
  width: 28px; height: 38px;
  transform: translate(-50%, -100%);
}
.map-marker { width: 28px; height: 38px; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.6)); }
.map-pulse {
  position: absolute; left: 50%; top: 100%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--accent);
  animation: map-pulse 2s ease-out infinite;
}
@keyframes map-pulse {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(4); opacity: 0; }
}
.map-tag {
  position: absolute; left: calc(100% + 8px); top: 2px;
  white-space: nowrap;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10,10,10,0.85);
  font-family: var(--display); font-size: 12px; font-weight: 500;
}
/* The whole map is a link to the same Google Maps route as the button below it. */
.map-link { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.map-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.map-hint {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10,10,10,0.85);
  color: var(--fg);
  font-family: var(--display); font-size: 12px; font-weight: 500;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.map-hint svg { width: 12px; height: 12px; color: var(--accent); }
.map-link:hover .map-hint, .map-link:focus-visible .map-hint { background: var(--accent); border-color: var(--accent); }
.map-link:hover .map-hint svg, .map-link:focus-visible .map-hint svg { color: var(--fg); }
.map-attr {
  position: absolute; right: 8px; bottom: 6px; z-index: 2;
  padding: 0 8px;
  background: rgba(10,10,10,0.7);
  font-size: 12px; line-height: 24px; color: var(--faint);
}
.map-attr a { display: inline-block; text-decoration: underline; text-underline-offset: 2px; }
.storefront img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .storefront { aspect-ratio: 4 / 3; } }
.storefront figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
  font-size: 13px; color: var(--fg);
}
.route-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 32px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}
.route-address { min-width: 0; }
.route-address .info-label { margin-bottom: 8px; }
.route-address p {
  margin: 0;
  font-family: var(--display); font-size: clamp(17px, 2vw, 21px); font-weight: 400;
  letter-spacing: -0.005em;
}
.route-actions { display: flex; flex-wrap: wrap; gap: 10px; }
button.cta-ghost { background: transparent; cursor: pointer; }
.cta-ghost:focus-visible, .cta-primary:focus-visible, .cta-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─── Final CTA ─── */
.final-cta {
  text-align: left;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
}
@media (max-width: 820px) { .final-cta { grid-template-columns: 1fr; } }
.final-cta h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.final-cta h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.final-side p { color: var(--muted); margin: 0 0 24px; font-size: 15.5px; }
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  transition: transform 180ms ease, background 180ms ease;
}
.cta-primary:hover { transform: translateX(2px); background: #c6151c; }
.cta-primary svg { width: 18px; height: 18px; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--line);
  padding-block: 44px 36px;
  color: var(--faint);
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; min-width: 0; }
.footer-logo { height: 56px; width: auto; aspect-ratio: 300 / 92; }
.footer-row { align-items: center; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.footer-links a { padding-block: 12px; }
.footer-links a:hover { color: var(--fg); }
@media (max-width: 820px) {
  /* Leave room under the footer so the floating WhatsApp button never covers it. */
  footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ─── Floating WhatsApp ─── */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25D366;
  color: #0a0a0a;
  border-radius: 50%;
  z-index: 60;
  transition: transform 220ms ease;
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }

/* ─── Hero scene animations ─── */
@keyframes wheel-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes lane-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-220px); }
}
@keyframes streak-dash {
  0%   { transform: translateX(0);    opacity: 0; }
  15%  {                              opacity: 1; }
  100% { transform: translateX(-480px); opacity: 0; }
}
@keyframes car-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(1.6px); }
}
@keyframes beam-pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: .72; }
}
@keyframes lamp-flicker {
  0%, 92%, 100% { opacity: .55; }
  94%           { opacity: .35; }
  96%           { opacity: .62; }
  98%           { opacity: .45; }
}
@keyframes window-twinkle {
  0%, 100% { opacity: .7; }
  50%      { opacity: .35; }
}

.scene-wheel { animation: wheel-spin 180ms linear infinite; transform-origin: center; transform-box: fill-box; }
.scene-lane { animation: lane-scroll 900ms linear infinite; }
.scene-streak { animation: streak-dash 1.1s linear infinite; }
.scene-streak.s2 { animation-delay: .15s; animation-duration: 1.3s; }
.scene-streak.s3 { animation-delay: .35s; animation-duration: .95s; }
.scene-streak.s4 { animation-delay: .55s; animation-duration: 1.4s; }
.scene-streak.s5 { animation-delay: .25s; animation-duration: 1.15s; }
.scene-streak.s6 { animation-delay: .45s; animation-duration: 1.5s; }
.scene-car { animation: car-bob 420ms ease-in-out infinite; }
.scene-beam { animation: beam-pulse 2.4s ease-in-out infinite; }
.scene-lamp { animation: lamp-flicker 4.5s ease-in-out infinite; }
.scene-twinkle { animation: window-twinkle 3.2s ease-in-out infinite; }
.scene-twinkle.t2 { animation-duration: 4.6s; animation-delay: .8s; }
.scene-twinkle.t3 { animation-duration: 5.2s; animation-delay: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
