/* ==========================================================================
   SAMUEL DETAILER - Estetica Automotiva Premium
   Design System "Obsidiana & Verde" - cores da marca
   Mobile First -> media queries em min-width 640 / 900 / 1200
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Cores base */
  --bg-950: #0A0A0B;
  --bg-900: #111114;
  --bg-800: #18181C;
  --bg-700: #202027;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  /* Verde da marca - amostrado dos pixels do logo (assets/logo.png) */
  --green-300: #A8E85C;
  --green-400: #8FDD2A;
  --green-500: #6FC71A;
  --green-600: #47A50C;
  --green-700: #178607;
  --green-glow: rgba(111, 199, 26, .28);

  /* Texto */
  --text: #F4F4F5;
  --text-mut: #A1A1AA;
  --text-dim: #71717A;

  /* WhatsApp */
  --wa: #25D366;
  --wa-dark: #128C7E;

  /* Estrelas: ambar, a cor que o Google usa. Verde aqui nao leria como
     "nota de avaliacao". Troque por var(--green-400) se preferir. */
  --star: #FFC107;

  /* Gradientes */
  --grad-green: linear-gradient(135deg, var(--green-400), var(--green-600));
  --grad-green-text: linear-gradient(135deg, var(--green-300), var(--green-500));

  /* Espacamento (escala 4px) */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem;  --sp-8: 2rem;    --sp-10: 2.5rem;
  --sp-12: 3rem;   --sp-16: 4rem;   --sp-20: 5rem;   --sp-24: 6rem;

  /* Forma */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .45);
  --shadow-green: 0 8px 32px var(--green-glow);

  /* Layout */
  --container: 1200px;
  --header-h: 72px;

  /* Movimento */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .3s;
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg-950);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.text-accent {
  background: var(--grad-green-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--green-500);
  color: #000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. BOTOES ---------- */
.btn {
  --btn-py: .8rem;
  --btn-px: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: var(--btn-py) var(--btn-px);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
  will-change: transform;
}

.btn__icon { width: 20px; height: 20px; flex-shrink: 0; }

.btn--sm { --btn-py: .6rem; --btn-px: 1.1rem; font-size: .875rem; }
.btn--lg { --btn-py: 1rem; --btn-px: 1.75rem; font-size: 1rem; }

.btn--primary {
  background: var(--grad-green);
  color: #08160A;
  box-shadow: var(--shadow-green);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(111, 199, 26, .42);
}
.btn--primary:active { transform: translateY(0) scale(.985); }

.btn--outline {
  border-color: var(--green-500);
  color: var(--green-400);
  background: rgba(111, 199, 26, .05);
}
.btn--outline:hover {
  background: rgba(111, 199, 26, .14);
  border-color: var(--green-400);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, .04);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}

/* Pulso do CTA principal (anel externo, nao afeta o layout) */
.btn--pulse { position: relative; }
.btn--pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulse 2.4s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(111, 199, 26, .5); }
  70%  { box-shadow: 0 0 0 18px rgba(111, 199, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 199, 26, 0); }
}

/* ---------- 4. HEADER ---------- */
/* z-index acima do drawer: o header cria o contexto de empilhamento onde
   vivem a nav e o burger, garantindo que o botao de fechar fique clicavel. */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

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

/* Logo da marca (PNG com fundo recortado, ver assets/logo.png) */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }

.logo img {
  height: 48px;
  width: auto;
  transition: transform .4s var(--ease-out), filter .4s var(--ease);
}
.logo:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px var(--green-glow));
}

.logo--footer img { height: 92px; }

/* Nav: drawer no mobile */
.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 84vw);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-8);
  padding: var(--sp-8) var(--sp-6);
  background: var(--bg-900);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .38s var(--ease-out);
}
.nav.is-open { transform: translateX(0); }

.nav__list { display: flex; flex-direction: column; gap: var(--sp-2); }

.nav__link {
  position: relative;
  display: block;
  padding: var(--sp-3) 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-mut);
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--green-400); }

.nav__cta { align-self: flex-start; }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.nav-overlay.is-visible { opacity: 1; }

.burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  z-index: 120;
  border-radius: var(--radius-sm);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + var(--sp-10));
  padding-bottom: var(--sp-20);
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* A foto e retrato (1536x2048). No mobile ela aparece inteira;
     no desktop vira faixa horizontal - ver ajuste em min-width: 900px. */
  object-position: center center;
  animation: heroZoom 18s var(--ease-out) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

/* Overlay duplo: gradiente vertical + vinheta, garante contraste do texto */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.93) 0%, rgba(10,10,11,.72) 38%, rgba(10,10,11,.95) 100%),
    radial-gradient(120% 90% at 60% 45%, rgba(10,10,11,0) 0%, rgba(10,10,11,.6) 100%);
}

.hero__content { position: relative; text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .45rem 1rem;
  margin-bottom: var(--sp-6);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-400);
  background: rgba(111, 199, 26, .1);
  border: 1px solid rgba(111, 199, 26, .3);
  border-radius: var(--radius-full);
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulse 2.4s var(--ease-out) infinite;
}

.hero__title {
  font-size: clamp(2.1rem, 8.5vw, 4.2rem);
  margin-bottom: var(--sp-4);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.hero__support {
  font-size: clamp(.95rem, 3vw, 1.05rem);
  color: var(--text-mut);
  max-width: 46ch;
  margin-inline: auto;
  /* respiro maior antes do CTA, ja que o selo de nota saiu daqui */
  margin-bottom: var(--sp-10);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: stretch;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: var(--sp-6);
  translate: -50% 0;
  display: grid;
  place-items: start center;
  width: 26px;
  height: 42px;
  padding-top: 8px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-full);
  opacity: .7;
  transition: opacity var(--dur) var(--ease);
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--green-400);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 0; }
  35%  { opacity: 1; }
  70%  { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(13px); opacity: 0; }
}

/* ---------- 6. SECOES ---------- */
.section { padding-block: var(--sp-20); }
.section--alt { background: var(--bg-900); }

.section__head {
  max-width: 62ch;
  margin: 0 auto var(--sp-12);
  text-align: center;
}

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: var(--sp-3);
}

.section__title {
  font-size: clamp(1.8rem, 5.5vw, 2.9rem);
  margin-bottom: var(--sp-4);
  text-wrap: balance;
}

.section__lead {
  color: var(--text-mut);
  font-size: 1.02rem;
  text-wrap: pretty;
}

.section__actions { margin-top: var(--sp-12); text-align: center; }

/* ---------- 7. CARDS DE SERVICO ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-8) var(--sp-6);
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease-out),
              border-color .4s var(--ease),
              box-shadow .4s var(--ease);
}

/* Brilho verde que aparece no hover */
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(60% 60% at 50% 0%, rgba(111, 199, 26, .16), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 199, 26, .38);
  box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--green-400);
  background: rgba(111, 199, 26, .1);
  border: 1px solid rgba(111, 199, 26, .22);
  border-radius: var(--radius-sm);
  transition: transform .4s var(--ease-out), background-color .4s var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon {
  transform: scale(1.06) rotate(-4deg);
  background: rgba(111, 199, 26, .18);
}

.card__title { font-size: 1.3rem; }

.card__text {
  color: var(--text-mut);
  font-size: .94rem;
  flex-grow: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  min-height: 44px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--green-400);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card__link:hover { gap: var(--sp-3); color: var(--green-500); }

.card--featured {
  border-color: rgba(111, 199, 26, .32);
  background:
    linear-gradient(180deg, rgba(111, 199, 26, .07), transparent 55%),
    var(--bg-800);
}

.card__tag {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  padding: .25rem .7rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #08160A;
  background: var(--grad-green);
  border-radius: var(--radius-full);
}

/* ---------- 9. ESTATISTICAS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  max-width: 720px;
  margin: 0 auto var(--sp-12);
  padding: var(--sp-6) var(--sp-4);
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat { text-align: center; }
.stat__value {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  background: var(--grad-green-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  display: block;
  margin-top: var(--sp-1);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--text-dim);
}

/* ---------- 10. DEPOIMENTOS ---------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease-out), border-color .4s var(--ease);
}
.quote:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.quote__stars { color: var(--star); letter-spacing: .14em; }

.quote__text {
  color: var(--text-mut);
  font-size: .96rem;
  flex-grow: 1;
  text-wrap: pretty;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--green-400);
  background: rgba(111, 199, 26, .12);
  border: 1px solid rgba(111, 199, 26, .25);
  border-radius: 50%;
}
.quote__author strong { display: block; font-size: .92rem; }
.quote__author em {
  display: block;
  font-style: normal;
  font-size: .76rem;
  color: var(--text-dim);
}

/* ---------- 11. FAIXA DE CTA ---------- */
.cta-band {
  padding-block: var(--sp-20);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(111, 199, 26, .14), transparent 65%),
    var(--bg-950);
  border-block: 1px solid var(--line);
  text-align: center;
}
.cta-band__title {
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  margin-bottom: var(--sp-3);
  text-wrap: balance;
}
.cta-band__text {
  color: var(--text-mut);
  max-width: 48ch;
  margin: 0 auto var(--sp-8);
  text-wrap: pretty;
}

/* ---------- 12. CONTATO ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.contact__info { display: flex; flex-direction: column; gap: var(--sp-4); }

.info {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
a.info:hover { border-color: rgba(111, 199, 26, .38); transform: translateX(4px); }

.info__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--green-400);
  background: rgba(111, 199, 26, .1);
  border-radius: var(--radius-sm);
}
.info__icon svg { width: 21px; height: 21px; }

.info__title {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--sp-1);
}
.info__text { font-size: .98rem; line-height: 1.55; }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.contact__map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.85);
}

/* ---------- 13. FOOTER ---------- */
.footer {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
  background: var(--bg-900);
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-10);
}

.footer__tagline {
  margin-top: var(--sp-4);
  color: var(--text-mut);
  font-size: .92rem;
}

.socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }

.social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text-mut);
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease-out);
}
.social svg { width: 20px; height: 20px; }
.social:hover {
  color: var(--green-400);
  border-color: rgba(111, 199, 26, .4);
  transform: translateY(-3px);
}

.footer__title {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: var(--sp-4);
}

.footer__list { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__list li { color: var(--text-mut); font-size: .92rem; }
.footer__list a { transition: color var(--dur) var(--ease); }
.footer__list a:hover { color: var(--green-400); }

.footer__closing {
  padding: var(--sp-6) var(--sp-4);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.05rem, 3.4vw, 1.4rem);
  line-height: 1.5;
  text-align: center;
  color: var(--text);
  border-block: 1px solid var(--line);
  text-wrap: balance;
}

.footer__bottom {
  padding-top: var(--sp-6);
  text-align: center;
  font-size: .82rem;
  color: var(--text-dim);
}

/* ---------- 14. FAB WHATSAPP ---------- */
.fab {
  position: fixed;
  right: var(--sp-5);
  bottom: calc(var(--sp-5) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--wa);
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.85);
  transition: opacity .35s var(--ease-out),
              transform .35s var(--ease-out),
              visibility .35s,
              background-color var(--dur) var(--ease);
}
.fab.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.fab.is-visible:hover { background: var(--wa-dark); transform: translateY(-3px) scale(1.06); }
.fab svg { width: 30px; height: 30px; position: relative; }

/* Anel de pulso do FAB */
.fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: pulseWa 2.2s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes pulseWa {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fab__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: .5rem .85rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out);
  pointer-events: none;
  display: none;
}

/* ---------- 15. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   16. RESPONSIVO - min-width (mobile first)
   ========================================================================== */

/* --- >= 640px : tablets pequenos --- */
@media (min-width: 640px) {
  .container { padding-inline: var(--sp-8); }

  .hero__actions { flex-direction: row; justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }

  /* Com 3 itens em 2 colunas o ultimo ficaria orfao: faz ele ocupar a linha */
  .cards--3 > :last-child { grid-column: 1 / -1; }
  .stats { gap: var(--sp-6); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .fab { width: 62px; height: 62px; }
}

/* --- >= 900px : desktop --- */
@media (min-width: 900px) {
  :root { --header-h: 84px; }

  .section { padding-block: var(--sp-24); }

  /* Header volta a ser horizontal */
  .burger { display: none; }
  .nav-overlay { display: none !important; }

  .nav {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-8);
    padding: 0;
    background: none;
    border: 0;
    transform: none;
  }
  .nav__list { flex-direction: row; gap: var(--sp-6); }
  .nav__link { padding: var(--sp-2) 0; font-size: .92rem; }
  .nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--grad-green);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--dur) var(--ease-out);
  }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

  .logo img { height: 60px; }
  .logo--footer img { height: 110px; }

  /* Hero alinhado a esquerda */
  .hero__content { text-align: left; max-width: 720px; }
  .hero__support { margin-inline: 0; }
  .hero__actions { justify-content: flex-start; }
  /* 68% enquadra o carro inteiro (capo, farois e para-choque) na faixa visivel */
  .hero__media img { object-position: center 68%; }
  /* 4 paradas: protege a zona do texto (esquerda/centro) e deixa a frente do
     carro, as luminarias e a faixa verde do piso aparecerem a direita. */
  .hero::before {
    background:
      linear-gradient(100deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.82) 30%, rgba(10,10,11,.45) 60%, rgba(10,10,11,.05) 100%),
      linear-gradient(180deg, rgba(10,10,11,.42) 0%, transparent 30%, rgba(10,10,11,.72) 100%);
  }

  .cards { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .cards--3 > :last-child { grid-column: auto; }

  .contact { grid-template-columns: 1fr 1.15fr; gap: var(--sp-10); }
  .contact__map { align-self: stretch; }
  .contact__map iframe { height: 100%; min-height: 460px; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-8); }
  .footer__brand { grid-column: auto; }

  .fab__tooltip { display: block; }
  .fab.is-visible:hover .fab__tooltip { opacity: 1; transform: translateX(0); }
}

/* --- >= 1200px : telas grandes --- */
@media (min-width: 1200px) {
  .card { padding: var(--sp-10) var(--sp-8); }
}

/* ==========================================================================
   17. ACESSIBILIDADE - movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; }
  .btn--pulse::after, .fab::after, .badge__dot { animation: none; }
  .fab { opacity: 1; visibility: visible; transform: none; }
}
