/* ==========================================================
   Mecânica Total — estilos
   Paleta tirada da logo + vermelho dos elevadores da oficina
   ========================================================== */

:root {
  /* cores da marca */
  --petroleo: #0E2233;
  --azul: #1655A3;
  --azul-claro: #2f74c9;
  --prata: #C9D1DB;
  --creme: #F5EFD9;
  --vermelho: #D8362B;
  --vermelho-escuro: #b02a21;
  --branco: #FFFFFF;
  --estrela: #f2b01e;

  /* tema (escuro) */
  --bg: #0A1520;
  --bg-alt: #0F2232;
  --surface: #132A3D;
  --surface-alt: #173249;
  --ink: var(--creme);
  --text: #D9E1EA;
  --text-soft: #9DB0C3;
  --accent-text: #6AA6EE;
  --line: #36597A;
  --shadow-c: var(--azul);
  --shadow-hover: var(--vermelho);
  --dots: rgba(201,209,219,.06);
  --oficina-bg: linear-gradient(180deg, #060E16 0%, #0A1824 100%);
  --star-empty: #2a4560;
  --topo-bg: #071019;

  --f-titulo: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-texto: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --borda: 3px solid var(--line);
  --sombra: 6px 6px 0 var(--shadow-c);
  --raio: 10px;
  --gutter: 16px;

  /* só uma sombra suave: o prata das letras já se destaca no fundo escuro */
  --logo-filter: drop-shadow(0 2px 3px rgba(0,0,0,.55));

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.02; margin: 0; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 800; color: var(--ink); }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0; }
svg { flex-shrink: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--branco); color: var(--petroleo); padding: 8px 14px; border: 3px solid var(--petroleo);
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; }

/* ---------- Rótulos com traços de velocidade (eco da logo) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 10px;
}
.eyebrow--light { color: var(--prata); }
.speed {
  width: 34px; height: 12px; display: inline-block;
  background:
    linear-gradient(currentColor, currentColor) right 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) right 5px / 70% 2px no-repeat,
    linear-gradient(currentColor, currentColor) right 10px / 40% 2px no-repeat;
  opacity: .85;
}
.eyebrow .speed { color: var(--vermelho); }

.sec-head { margin-bottom: 36px; }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  border-radius: 8px; border: 3px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn svg { width: 22px; height: 22px; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.25rem; }
.btn--red { background: var(--vermelho); color: var(--branco); border-color: var(--vermelho); }
.btn--red:hover { background: var(--vermelho-escuro); border-color: var(--vermelho-escuro); }
.btn--ghost { color: var(--branco); border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { color: var(--ink); border-color: var(--line); background: var(--surface); box-shadow: 4px 4px 0 var(--shadow-c); }
.btn--outline:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow-c); }
.btn--shadow { border-color: var(--petroleo); box-shadow: 5px 5px 0 var(--petroleo); }
.btn--shadow:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--petroleo); }

/* ---------- 1. Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: var(--topo-bg);
  border-bottom: 3px solid var(--azul);
}
.topo__inner { display: flex; align-items: center; gap: 12px; min-height: 76px; padding-top: 6px; padding-bottom: 6px; }

.topo__logo { display: block; flex: 0 0 auto; }
.topo__logo img { width: 140px; filter: var(--logo-filter); }

.menu { display: none; }
.topo__cta { display: none; }

.icon-btn {
  width: 48px; height: 48px; flex: 0 0 48px;
  display: grid; place-items: center;
  background: transparent; color: var(--branco);
  border: 2px solid var(--prata); border-radius: 8px; cursor: pointer;
  transition: background-color .15s ease;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }

.menu-toggle { display: grid; place-content: center; gap: 6px; margin-left: auto; }
.menu-toggle span { display: block; width: 24px; height: 3px; background: var(--branco); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Menu aberto no celular */
.menu.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--topo-bg); border-bottom: 3px solid var(--azul);
  padding: 12px var(--gutter) 18px;
}
.menu a {
  color: var(--branco); text-decoration: none;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 0; border-bottom: 1px solid rgba(201,209,219,.18);
}
.menu a:hover { color: var(--prata); }

@media (min-width: 960px) {
  .topo__inner { min-height: 92px; gap: 16px; }
  .topo__logo img { width: 180px; }
  .menu, .menu.is-open {
    display: flex; flex-direction: row; gap: 4px;
    position: static; padding: 0; background: none; border: 0;
    margin-left: auto;
  }
  .menu a { font-size: 1.1rem; padding: 8px 14px; border: 0; position: relative; }
  .menu a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
    background: var(--vermelho); transform: scaleX(0); transform-origin: left; transition: transform .2s;
  }
  .menu a:hover::after { transform: scaleX(1); }
  .topo__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- 2. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--petroleo);
  color: var(--branco);
  padding: 72px 0 110px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,16,25,.98) 0%, rgba(7,16,25,.9) 45%, rgba(14,34,51,.55) 100%),
    url("assets/fotos/mecanica_total_foto_12.jpg") center 55% / cover no-repeat;
}
/* Linhas de velocidade em prata, como as da logo */
.hero__bg::after {
  content: ""; position: absolute; right: -40px; top: 18%; width: 46%; height: 120px;
  background:
    linear-gradient(90deg, transparent, rgba(201,209,219,.55)) right 0 / 100% 3px no-repeat,
    linear-gradient(90deg, transparent, rgba(201,209,219,.45)) right 26px / 80% 3px no-repeat,
    linear-gradient(90deg, transparent, rgba(201,209,219,.35)) right 52px / 60% 3px no-repeat,
    linear-gradient(90deg, transparent, rgba(201,209,219,.25)) right 78px / 40% 3px no-repeat;
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(3.1rem, 13vw, 6.2rem);
  font-weight: 800; line-height: .92; margin: 6px 0 20px;
  text-shadow: 3px 3px 0 rgba(0,0,0,.35);
}
.hero__title em {
  font-style: italic; color: var(--branco);
  background: linear-gradient(transparent 62%, var(--azul) 62%, var(--azul) 92%, transparent 92%);
  padding: 0 .08em;
}
.hero__text { max-width: 34rem; font-size: 1.15rem; color: #e6ebf1; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__actions .btn { flex: 1 1 240px; }
@media (min-width: 600px) { .hero__actions .btn { flex: 0 0 auto; } }

.selos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.selo {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(201,209,219,.45);
  border-radius: 10px; padding: 10px 16px 10px 12px;
  backdrop-filter: blur(4px);
}
.selo strong { display: block; font-family: var(--f-titulo); font-size: 1.25rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
.selo small { display: block; color: var(--prata); font-size: .9rem; }
.selo__stars, .selo__icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--creme); border: 2px solid var(--petroleo);
}
.selo__stars svg { width: 24px; height: 24px; fill: var(--estrela); stroke: var(--petroleo); stroke-width: 1.4; }
.selo__icon svg { width: 22px; height: 22px; color: var(--azul); }

@media (min-width: 960px) {
  .hero { padding: 120px 0 150px; }
}

/* Borda rasgada entre seções */
.tear { position: absolute; left: 0; width: 100%; height: 34px; display: block; fill: var(--bg); transition: fill .3s ease; }
.tear--white { bottom: -1px; }
.tear--top { top: -1px; }

/* ---------- 3. Serviços ---------- */
.servicos { padding: 64px 0 80px; }
.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border: var(--borda); border-radius: var(--raio);
  box-shadow: var(--sombra);
  padding: 26px 22px 24px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .3s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--shadow-hover); }
.card h3 { color: var(--ink); margin: 18px 0 8px; font-size: 1.6rem; }
.card p { color: var(--text-soft); font-size: 1rem; }
.card__icon {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--creme); border: 3px solid var(--petroleo);
  display: grid; place-items: center;
  box-shadow: 5px 5px 0 var(--vermelho); /* sombra chapada do círculo */
}
.card__icon svg { width: 60px; height: 60px; overflow: visible; }

/* Traço grosso + cores chapadas dos ícones ilustrados */
.ic-silver, .ic-blue, .ic-cream, .ic-dark, .ic-red { stroke: var(--petroleo); stroke-width: 3; stroke-linejoin: round; }
.ic-silver { fill: var(--prata); }
.ic-blue   { fill: var(--azul); }
.ic-cream  { fill: var(--creme); }
.ic-dark   { fill: var(--petroleo); }
.ic-red    { fill: var(--vermelho); stroke-width: 0; }
.ic-line      { fill: none; stroke: var(--petroleo); stroke-width: 3; stroke-linecap: round; }
.ic-red-line  { fill: none; stroke: var(--vermelho); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-blue-line { fill: none; stroke: var(--azul); stroke-width: 3.5; stroke-linecap: round; }
.ic-pins      { fill: none; stroke: var(--petroleo); stroke-width: 3.5; stroke-linecap: round; }

/* ---------- 4. Por que escolher ---------- */
.porque {
  background-color: var(--bg-alt);
  background-image: radial-gradient(var(--dots) 1.2px, transparent 1.3px);
  background-size: 16px 16px;
  border-top: var(--borda); border-bottom: var(--borda);
  padding: 72px 0;
  overflow: hidden;
}
.porque__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .porque__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

.lead { color: var(--text-soft); margin: 14px 0 30px; max-width: 30rem; }

.motivos { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.motivos li { display: flex; gap: 18px; align-items: flex-start; }
.motivo__num {
  font-family: var(--f-titulo); font-weight: 800; font-size: 1.6rem; line-height: 1;
  color: var(--branco); background: var(--azul);
  border: 3px solid var(--petroleo); border-radius: 8px; box-shadow: 4px 4px 0 var(--vermelho);
  min-width: 56px; height: 56px; display: grid; place-items: center;
}
.motivos h3 { color: var(--ink); font-size: 1.55rem; margin: 2px 0 4px; }
.motivos p { color: var(--text-soft); }

.porque__foto { position: relative; margin: 0 auto; max-width: 420px; width: 100%; }
.splash {
  position: absolute; inset: -14% -18% -10% -14%;
  width: 132%; height: 124%; fill: var(--azul); z-index: 0;
  transform: rotate(-6deg);
}
.porque__foto img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 40%;
  border: 4px solid var(--petroleo); border-radius: 14px;
  box-shadow: 10px 10px 0 var(--petroleo);
  transform: rotate(2deg);
}
.porque__foto figcaption {
  position: absolute; z-index: 2; left: -6px; bottom: 18px;
  background: var(--vermelho); color: var(--branco);
  font-family: var(--f-titulo); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 14px; border: 3px solid var(--petroleo); border-radius: 6px;
  transform: rotate(-3deg);
}

/* ---------- 5. A oficina ---------- */
.oficina {
  background: var(--oficina-bg);
  color: var(--branco);
  padding: 72px 0 64px;
}
.oficina h2 { color: var(--branco); }
.galeria { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .galeria { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.galeria button {
  all: unset; cursor: zoom-in; display: block; position: relative;
  border: 3px solid var(--prata); border-radius: 10px; overflow: hidden;
  aspect-ratio: 1 / 1; width: 100%; box-sizing: border-box;
}
.galeria button:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.galeria button:hover img { transform: scale(1.06); }
.galeria span {
  position: absolute; left: 8px; bottom: 8px; right: 8px;
  font-family: var(--f-titulo); font-weight: 700; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--branco); text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.galeria li:nth-child(1) button { border-color: var(--vermelho); }
.galeria li:nth-child(6) button { border-color: var(--azul-claro); }

.oficina__insta { margin-top: 28px; text-align: center; color: var(--prata); }
.oficina__insta a {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 6px;
  color: var(--branco); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--vermelho);
}
.oficina__insta svg { width: 20px; height: 20px; }

/* ---------- 6. Avaliações ---------- */
.avaliacoes { padding: 72px 0 96px; background: var(--bg); }
/* Resumo da ficha do Google */
.g-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  margin-bottom: 32px;
}
.g-head__brand { display: flex; align-items: center; gap: 18px; }
.g-head__logo {
  width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%;
  background: var(--branco); display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--line);
}
.g-head__logo svg { width: 36px; height: 36px; }
.g-head__label {
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft);
}
.g-head__score { display: flex; align-items: center; gap: 14px; }
.g-head__num { font-family: var(--f-titulo); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--ink); }
.g-head__count { color: var(--text-soft); font-size: .95rem; }

.estrelas { position: relative; width: 160px; height: 30px; }
.estrelas > div { position: absolute; inset: 0; display: flex; gap: 2px; overflow: hidden; white-space: nowrap; }
.estrelas svg { width: 30px; height: 30px; flex: 0 0 30px; }
.estrelas__base svg { fill: var(--star-empty); }
.estrelas__fill svg { fill: #fbbc04; }

/* Carrossel de avaliações no visual dos cards do Google */
.g-carousel { position: relative; }
.g-reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; scrollbar-width: thin;
}
@media (min-width: 1040px) { .g-reviews { grid-auto-columns: calc((100% - 32px) / 3); } }
.g-reviews:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 4px; }

.g-card {
  scroll-snap-align: start;
  background: #fff; color: #202124;
  border-radius: 14px; padding: 20px 20px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
  font-family: Roboto, Arial, var(--f-texto);
  display: flex; flex-direction: column; gap: 10px;
}
.g-card__head { display: flex; align-items: center; gap: 12px; }
.g-avatar {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center;
}
.g-avatar--ini { color: #fff; font-weight: 600; font-size: 1.2rem; }
.g-avatar--g { background: #f1f3f4; }
.g-avatar--g svg { width: 24px; height: 24px; }
.g-card__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.g-card__name {
  font-weight: 600; font-size: .98rem; color: #202124; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
a.g-card__name:hover { text-decoration: underline; color: #1a0dab; }
.g-card__time { font-size: .83rem; color: #70757a; }
.g-card__logo { width: 22px; height: 22px; margin-left: auto; }

.g-stars { display: flex; gap: 2px; }
.g-stars i {
  width: 17px; height: 17px; display: block; background: #dadce0;
  clip-path: polygon(50% 0, 61.8% 35.3%, 100% 35.3%, 69.1% 57.1%, 80.9% 92.6%, 50% 71%, 19.1% 92.6%, 30.9% 57.1%, 0 35.3%, 38.2% 35.3%);
}
.g-stars i.on { background: #fbbc04; }

.g-card__text {
  font-size: .98rem; line-height: 1.55; color: #3c4043;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden;
}
.g-card.is-open .g-card__text { -webkit-line-clamp: unset; display: block; }
.g-card__more {
  align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer;
  color: #1a73e8; font: 600 .9rem Roboto, Arial, sans-serif;
}

.g-nav {
  position: absolute; top: 50%; transform: translateY(-60%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--line); box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.g-nav svg { width: 22px; height: 22px; }
.g-nav--prev { left: -12px; }
.g-nav--prev svg { transform: rotate(180deg); }
.g-nav--next { right: -12px; }
.g-nav:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 700px) { .g-nav { display: none; } }

.g-attrib {
  margin-top: 18px; text-align: center; font-size: .9rem; color: var(--text-soft);
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.g-attrib svg { width: 16px; height: 16px; }

/* ---------- 7. Como agendar ---------- */
.agendar {
  position: relative;
  background: #123f7a;
  background-image:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px);
  color: var(--branco);
  padding: 96px 0 80px;
  border-bottom: var(--borda);
}
.agendar h2 { color: var(--branco); }
.agendar .eyebrow { color: var(--creme); }

/* Dois caminhos: urgência e agendamento */
.vias { display: grid; gap: 26px; }
@media (min-width: 900px) { .vias { grid-template-columns: 1fr 1fr; } }
.via {
  background: var(--surface); color: var(--text);
  border: 3px solid var(--petroleo); border-top-width: 8px; border-radius: var(--raio);
  box-shadow: 6px 6px 0 var(--petroleo);
  padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.via--urgente { border-top-color: var(--vermelho); }
.via--agendar { border-top-color: var(--azul-claro); }
.via__tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--f-titulo); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px 4px 10px; border-radius: 99px;
}
.via__tag svg { width: 18px; height: 18px; }
.via--urgente .via__tag { color: #ff8a80; background: rgba(216,54,43,.15); }
.via--agendar .via__tag { color: #8cbcf4; background: rgba(47,116,201,.18); }
.via h3 { color: var(--ink); font-size: 2rem; }
.via__passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: passo; flex: 1; }
.via__passos li { position: relative; padding-left: 44px; color: var(--text-soft); counter-increment: passo; }
.via__passos li::before {
  content: counter(passo);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; display: grid; place-items: center;
  font-family: var(--f-titulo); font-weight: 800; font-size: 1.1rem;
  color: var(--branco); background: var(--azul); border: 2px solid var(--petroleo); border-radius: 50%;
}
.via--urgente .via__passos li::before { background: var(--vermelho); }
.via__passos strong { color: var(--ink); }
.via .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 520px) { .via .btn { align-self: stretch; } }

/* ---------- 8. Contato ---------- */
.contato { padding: 72px 0; background: var(--bg-alt); }
.contato__grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .contato__grid { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.info { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info strong {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--f-titulo); font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.info a { font-weight: 600; }
.info__icon {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: var(--borda); color: var(--accent-text);
}
.info__icon svg { width: 22px; height: 22px; }

.status {
  font-family: var(--f-texto); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: 2px 10px; border-radius: 99px; border: 2px solid currentColor;
}
.status--aberto { color: #7fe0a0; background: rgba(127,224,160,.12); }
.status--fechado { color: #ff8a80; background: rgba(255,138,128,.12); }

.mapa {
  border: var(--borda); border-radius: var(--raio); overflow: hidden;
  box-shadow: var(--sombra); background: var(--prata);
  aspect-ratio: 4 / 3;
}
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.8); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--topo-bg); color: var(--prata); padding: 56px 0 0; }
.rodape__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rodape__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .rodape__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.rodape h3 { color: var(--branco); font-size: 1.25rem; letter-spacing: .08em; margin-bottom: 12px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rodape a { color: var(--prata); text-decoration: none; }
.rodape a:hover { color: var(--branco); text-decoration: underline; }
.rodape__logo { display: inline-block; margin-bottom: 16px; }
.rodape__logo img { width: 200px; filter: var(--logo-filter); }
.rodape__marca p { max-width: 22rem; }
.rodape__base {
  margin-top: 40px; padding-top: 18px; padding-bottom: 96px;
  border-top: 1px solid rgba(201,209,219,.2);
  font-size: .9rem;
}
@media (min-width: 960px) { .rodape__base { padding-bottom: 24px; } }

/* ---------- Botão fixo de WhatsApp (celular) ---------- */
.wa-fixo {
  position: fixed; z-index: 60; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vermelho); color: var(--branco); text-decoration: none;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.2rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 12px 20px 12px 16px; min-height: 56px;
  border: 3px solid var(--petroleo); border-radius: 99px;
  box-shadow: 4px 4px 0 var(--petroleo);
}
.wa-fixo svg { width: 26px; height: 26px; }
@media (min-width: 960px) { .wa-fixo { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  padding: 0; border: 4px solid var(--prata); border-radius: 12px;
  background: var(--petroleo); max-width: min(92vw, 900px); max-height: 90vh;
}
.lightbox::backdrop { background: rgba(8,18,28,.88); }
.lightbox img { max-width: 100%; max-height: calc(90vh - 8px); object-fit: contain; margin: 0 auto; }
.lightbox__close {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--vermelho); color: var(--branco); border: 3px solid var(--petroleo);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* ---------- Animação de entrada dos blocos (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Abertura: a logo se monta em camadas e voa para o topo
   Cada camada é a mesma imagem recortada (clip-path) numa parte:
   chave, emblema (turbo/pistões/engrenagem), MECÂNICA e TOTAL.
   ========================================================== */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  cursor: pointer;
  /* garantia: se o JS falhar, a abertura some sozinha */
  animation: intro-failsafe .4s ease 5s forwards;
}
.intro::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, #17344f 0%, var(--petroleo) 55%, #060e16 100%);
}
/* na saída o fundo some enquanto a logo voa para o topo */
.intro.is-moving::before { animation: intro-out .75s ease forwards; }
.intro.is-moving .intro__skip { display: none; }
.intro.is-leaving { animation: intro-out .25s ease forwards; }
.intro:not(.is-ready) * { animation-play-state: paused; } /* espera a logo carregar */
.intro-on { overflow: hidden; }
.intro-on .topo__logo img { opacity: 0; }

.intro__logo {
  position: relative;
  width: min(78vw, 560px);
  filter: var(--logo-filter);
  transform-origin: 0 0;
  will-change: transform;
}
.intro__logo img { width: 100%; }
.intro__size { visibility: hidden; }
.lg { position: absolute; inset: 0; }
.lg img { width: 100%; height: 100%; }

.lg--wrench img { clip-path: polygon(-1% 38.5%, 15.1% 38.5%, 15.1% 48.1%, 86.8% 48.1%, 86.8% 39.3%, 101% 39.3%, 101% 73.2%, 86.8% 73.2%, 86.8% 61.8%, 15.1% 61.8%, 15.1% 71.7%, -1% 71.7%); }
.lg--emblem img { clip-path: polygon(21.5% -2%, 80.5% -2%, 80.5% 48.6%, 21.5% 48.6%); }
.lg--mecanica img { clip-path: polygon(13% 61.8%, 85.8% 61.8%, 85.8% 80.7%, 13% 80.7%); }
.lg--total img { clip-path: polygon(-1% 80.7%, 101% 80.7%, 101% 103%, -1% 103%); }

/* 1. a chave entra varrendo da esquerda e gira até encaixar */
.lg--wrench {
  clip-path: inset(0 100% 0 0);
  transform-origin: 50% 55%;
  animation: wrench-in .7s cubic-bezier(.2,.8,.25,1.15) .15s forwards;
}
/* 2. o emblema cai por cima da chave com um quique */
.lg--emblem {
  opacity: 0; transform-origin: 50% 48%;
  animation: emblem-in .55s cubic-bezier(.3,1.5,.5,1) .7s forwards;
}
/* 3. MECÂNICA chega rápido da esquerda; 4. TOTAL da direita */
.lg--mecanica { opacity: 0; animation: from-left .45s cubic-bezier(.2,.9,.3,1.1) 1.1s forwards; }
.lg--total    { opacity: 0; animation: from-right .45s cubic-bezier(.2,.9,.3,1.1) 1.35s forwards; }

/* brilho metálico passando pela logo pronta */
.intro__logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%) -150% 0 / 60% 100% no-repeat;
  -webkit-mask: url("assets/logo.png") center / 100% 100% no-repeat;
          mask: url("assets/logo.png") center / 100% 100% no-repeat;
  animation: shine .7s ease 1.8s forwards;
}

.intro__skip {
  position: absolute; right: 16px; bottom: 16px;
  background: transparent; color: var(--prata);
  border: 2px solid rgba(201,209,219,.4); border-radius: 99px;
  padding: 8px 16px; font: 600 .9rem var(--f-texto); cursor: pointer;
}
.intro__skip:hover { color: var(--branco); border-color: var(--prata); }

@keyframes wrench-in {
  0%   { clip-path: inset(0 100% 0 0); transform: rotate(-14deg) translateX(-6%); }
  70%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes emblem-in {
  0%   { opacity: 0; transform: translateY(-38%) scale(.55) rotate(-10deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes from-left {
  0%   { opacity: 0; transform: translateX(-28%) skewX(-22deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes from-right {
  0%   { opacity: 0; transform: translateX(28%) skewX(22deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes shine { to { background-position: 250% 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .intro { display: none; }
  .intro-on { overflow: auto; }
  .intro-on .topo__logo img { opacity: 1; }
}
