/* =========================================================
   Baterias Rolândia — estilo
   Paleta: branco (60%) · azul (30%) · amarelo destaque (10%) · preto
   ========================================================= */
:root {
  --azul: #0a3fb8;
  --azul-esc: #062a7d;
  --azul-claro: #e9effc;
  --amarelo: #ffe500;
  --amarelo-esc: #f2cc00;
  --preto: #0b0d12;
  --preto-2: #141821;
  --texto: #1b2130;
  --texto-suave: #4a5366;
  --cinza: #f3f5fa;
  --linha: #dfe4ef;
  --branco: #ffffff;

  --f-titulo: "Saira", "Arial Narrow", system-ui, sans-serif;
  --f-texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
  --raio: 10px;
  --raio-lg: 18px;
  --sombra: 0 14px 40px -18px rgba(6, 22, 66, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 4px; }
.section :focus-visible, .contato :focus-visible { outline-color: var(--azul); }
.servicos :focus-visible { outline-color: var(--amarelo); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--amarelo); color: var(--preto); padding: 10px 16px;
  font-weight: 700; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-titulo); font-weight: 700; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--azul);
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 12px; height: 12px; border-radius: 3px;
  background: var(--amarelo); box-shadow: inset 0 0 0 2px var(--preto);
}
.kicker-light { color: var(--amarelo); }
.kicker-light::before { box-shadow: none; }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .sobre-hist h2, .aval-head h2, .serv-side h2, .contato-card h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800;
}
.section-head p { margin-top: 16px; color: var(--texto-suave); font-size: 1.06rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: 13px 22px; border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn-lg { padding: 16px 28px; font-size: 1.06rem; }
.btn-accent { background: var(--amarelo); color: var(--preto); border-color: var(--amarelo); }
.btn-accent:hover { background: var(--branco); color: var(--preto); border-color: var(--branco); transform: translateY(-2px); }
.section .btn-accent:hover, .contato .btn-accent:hover { background: var(--preto); color: var(--amarelo); border-color: var(--preto); }
.servicos .btn-accent:hover { background: var(--branco); color: var(--azul-esc); border-color: var(--branco); }
.btn-ghost-dark { background: rgba(255,255,255,.1); color: var(--branco); border-color: rgba(255,255,255,.6); }
.btn-ghost-dark:hover { background: var(--amarelo); color: var(--preto); border-color: var(--amarelo); }
.btn-outline { background: rgba(10,63,184,.08); color: var(--azul); border-color: rgba(10,63,184,.6); }
.btn-outline:hover { background: var(--azul); color: var(--branco); border-color: var(--azul); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(11,13,18,.96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s;
}
.header.scrolled { box-shadow: 0 8px 26px rgba(0,0,0,.35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.header-logo { flex-shrink: 0; display: block; }
.header-logo img { height: 50px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a:not(.btn) {
  white-space: nowrap; flex-shrink: 0;
  display: block; padding: 8px 12px; color: rgba(255,255,255,.85); text-decoration: none;
  font-family: var(--f-titulo); font-weight: 600; font-size: .98rem; border-radius: 6px;
  position: relative; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px;
  background: var(--amarelo); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav a:not(.btn):hover, .nav a.active { color: var(--branco); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-cta, .header-vitrine { padding: 10px 18px; }
.header-vitrine { margin-left: -16px; }
.nav-vitrine-item { display: none; }

.menu-toggle {
  display: none; width: 46px; height: 46px; margin-left: auto;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; cursor: pointer; padding: 0; position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--branco);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; padding: 72px 0 84px;
  background: var(--preto); color: var(--branco); overflow: hidden; isolation: isolate;
}
.hero { clip-path: inset(0); }
.hero-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1;
  background-image: url("../img/clamps.webp");
  background-size: cover; background-position: center;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,13,18,.97) 0%, rgba(11,13,18,.9) 42%, rgba(6,42,125,.78) 100%),
    radial-gradient(circle at 80% 30%, rgba(10,63,184,.5), transparent 60%);
}
.hero-bg::after {
  /* faixa amarela inferior, como a do logotipo */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--azul) 0 30%, var(--amarelo) 30% 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; align-items: center;
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  color: rgba(255,255,255,.92); margin-bottom: 26px;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa3b5; }
.status.aberto .status-dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.status.fechado .status-dot { background: #ff8a65; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.025em;
  line-height: 1; text-transform: uppercase;
}
.hero h1::after {
  content: ""; display: block; width: 110px; height: 8px; margin-top: 22px;
  background: var(--amarelo); border-radius: 2px; transform: skewX(-20deg);
}
.hero h2 {
  margin-top: 22px; max-width: 580px;
  font-family: var(--f-texto); font-weight: 500; font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.55; letter-spacing: 0; color: rgba(255,255,255,.88);
}
.hero-slogan {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--f-titulo); font-weight: 600; font-style: italic; font-size: 1.1rem;
  color: var(--amarelo);
}
.hero-slogan svg { width: 1.3em; height: 1.3em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* bateria ilustrada */
.hero-battery { display: flex; justify-content: center; }
.batt {
  position: relative; width: 100%; max-width: 420px;
  margin-top: 34px; padding: 22px;
  border: 4px solid var(--branco); border-radius: 26px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
}
.batt-terminal {
  position: absolute; top: -34px; width: 74px; height: 30px;
  border: 4px solid var(--branco); border-bottom: 0; border-radius: 8px 8px 0 0;
  display: grid; place-items: center;
  font-family: var(--f-titulo); font-weight: 800; font-size: 1.5rem; line-height: 1;
}
.batt-terminal.neg { left: 44px; background: var(--azul); }
.batt-terminal.pos { right: 44px; background: var(--amarelo); color: var(--preto); border-color: var(--amarelo); }
.batt-cells { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.cell {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px;
  min-height: 118px; padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  transition: background-color .5s, border-color .5s, color .5s;
}
.cell svg { width: 30px; height: 30px; color: var(--amarelo); transition: color .5s; }
.cell.on { background: var(--azul); border-color: rgba(255,255,255,.35); }
.cell.on:nth-child(4) { background: var(--amarelo); color: var(--preto); border-color: var(--amarelo); }
.cell.on:nth-child(4) svg { color: var(--preto); }
.batt-meter {
  margin-top: 16px; height: 10px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden;
}
.batt-meter span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--azul), #3d73ff 60%, var(--amarelo));
  transition: width 2.2s cubic-bezier(.2,.7,.2,1);
}
.batt.charged .batt-meter span { width: 100%; }

/* ---------- veículos ---------- */
.veic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.veic {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  height: 100%; padding: 30px 28px 24px; margin-top: 12px;
  background: var(--branco); border: 2px solid var(--linha); border-radius: var(--raio-lg);
  text-decoration: none; color: var(--texto);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
/* "terminais" no topo de cada card, lembrando uma bateria */
.veic::before, .veic::after {
  content: ""; position: absolute; top: -12px; width: 34px; height: 10px;
  border: 2px solid var(--linha); border-bottom: 0; border-radius: 5px 5px 0 0;
  background: var(--branco); transition: background-color .25s, border-color .25s;
}
.veic::before { left: 28px; }
.veic::after { right: 28px; }
.veic-ico {
  display: grid; place-items: center; width: 92px; height: 64px; border-radius: 12px;
  background: var(--azul-claro); color: var(--azul); transition: background-color .25s, color .25s;
}
.veic-ico svg { width: 64px; height: 40px; }
.veic h3 { font-size: 1.45rem; font-weight: 700; }
.veic-go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: var(--azul);
}
.veic-go svg { transition: transform .25s; }
.veic:hover { border-color: var(--azul); transform: translateY(-4px); box-shadow: var(--sombra); }
.veic:hover::before { background: var(--azul); border-color: var(--azul); }
.veic:hover::after { background: var(--amarelo); border-color: var(--amarelo); }
.veic:hover .veic-ico { background: var(--azul); color: var(--branco); }
.veic:hover .veic-go svg { transform: translateX(4px); }
.veic-note {
  display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left;
  margin: 44px auto 0; max-width: 720px; padding: 16px 22px;
  background: var(--cinza); border-radius: var(--raio); color: var(--texto-suave); font-weight: 600;
}
.veic-note svg { width: 26px; height: 26px; color: var(--azul); }

/* ---------- serviços ---------- */
.servicos {
  background: var(--azul); color: var(--branco); position: relative;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.08), transparent 45%),
    linear-gradient(160deg, var(--azul) 0%, var(--azul-esc) 100%);
}
.serv-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.serv-side { position: sticky; top: calc(var(--header-h) + 32px); }
.serv-side > p { margin-top: 18px; color: rgba(255,255,255,.88); font-size: 1.06rem; max-width: 470px; }
.serv-photo {
  margin: 34px 0 0; border-radius: var(--raio-lg); overflow: hidden; position: relative;
  aspect-ratio: 16 / 10; border: 3px solid rgba(255,255,255,.18);
}
.serv-photo img { width: 100%; height: 100%; object-fit: cover; }
.serv-photo::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 45%; height: 6px; background: var(--amarelo);
}

/* lista "circuito": fio vertical ligando cada serviço */
.circuit { position: relative; counter-reset: s; }
.circuit::before {
  content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 3px;
  background: rgba(255,255,255,.22); border-radius: 2px;
}
.circuit::after {
  content: ""; position: absolute; left: 25px; top: 26px; width: 3px; height: var(--fio, 0%);
  max-height: calc(100% - 52px); background: var(--amarelo); border-radius: 2px;
  transition: height .2s linear;
}
.node { position: relative; z-index: 1; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 22px; padding: 14px 0; }
.node-dot {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--azul-esc); border: 2px solid rgba(255,255,255,.35); color: var(--branco);
  transition: background-color .3s, border-color .3s, color .3s;
}
.node-dot svg { width: 26px; height: 26px; }
.node.lit .node-dot { background: var(--amarelo); border-color: var(--amarelo); color: var(--preto); }
.node > div {
  padding: 14px 20px 16px; border-radius: var(--raio);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
}
.node h3 { font-size: 1.28rem; font-weight: 700; }
.node p { margin-top: 6px; color: rgba(255,255,255,.86); }
.node-end > div { background: none; border: 0; padding: 6px 0 0; }

/* ---------- sobre ---------- */
.manifesto {
  font-family: var(--f-titulo); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.02em;
  color: var(--preto); max-width: 1000px; margin-bottom: 72px;
}
.manifesto mark {
  background: none; color: var(--azul); position: relative; white-space: nowrap;
}
.manifesto mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .22em; z-index: -1;
  background: var(--amarelo); transform: skewX(-18deg);
}
.manifesto { position: relative; z-index: 0; }
.sobre-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.sobre-hist p:not(.kicker) { margin-top: 18px; color: var(--texto-suave); font-size: 1.06rem; }
.sobre-hist h2 { margin-bottom: 6px; }
.mvv { background: var(--preto); color: var(--branco); border-radius: var(--raio-lg); padding: 10px 30px; }
.mvv-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 26px 0; }
.mvv-row + .mvv-row { border-top: 1px solid rgba(255,255,255,.14); }
.mvv-sign {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--f-titulo); font-weight: 800; font-size: 1.9rem; line-height: 1;
  background: var(--azul); color: var(--branco);
}
.mvv-sign svg { width: 24px; height: 24px; }
.mvv-row:nth-child(3) .mvv-sign { background: var(--amarelo); color: var(--preto); }
.mvv h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.mvv p { color: rgba(255,255,255,.85); }
.valores { display: flex; flex-wrap: wrap; gap: 8px; }
.valores li {
  padding: 6px 13px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28);
}

/* ---------- avaliações ---------- */
.avaliacoes { background: var(--cinza); }
.aval-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.google-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--branco); border: 1px solid var(--linha); border-radius: 999px;
  font-weight: 700; font-size: .92rem; color: var(--texto);
}
.google-tag svg { width: 22px; height: 22px; }
.reviews { columns: 3; column-gap: 22px; }
.review {
  break-inside: avoid; margin-bottom: 22px; padding: 24px;
  background: var(--branco); border-radius: var(--raio-lg); border: 1px solid var(--linha);
  box-shadow: 0 6px 20px -14px rgba(6,22,66,.3);
}
.review header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--c, var(--azul)); color: var(--branco);
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem;
}
.review h3 { font-family: var(--f-texto); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }
.stars {
  display: block; width: 92px; height: 17px; margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23f5b400' d='M10 1.5l2.6 5.5 6 .7-4.4 4.1 1.2 6L10 14.9l-5.4 2.9 1.2-6L1.4 7.7l6-.7z'/%3E%3C/svg%3E") repeat-x left center / 18.4px 17px;
}
.review p { color: var(--texto); }

/* ---------- contato ---------- */
.contato { position: relative; background: var(--cinza); }
.map-wrap { position: absolute; inset: 0; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.contato-layer { position: relative; padding-top: 80px; padding-bottom: 80px; pointer-events: none; }
.contato-card {
  pointer-events: auto; max-width: 520px; padding: 38px 36px;
  background: var(--branco); border-radius: var(--raio-lg); box-shadow: 0 30px 60px -24px rgba(6,22,66,.45);
  border-top: 6px solid var(--amarelo);
}
.contato-card h2 { margin-bottom: 26px; }
.contato-list { display: grid; gap: 18px; }
.contato-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.c-ico {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--azul-claro); color: var(--azul);
}
.c-ico svg { width: 21px; height: 21px; }
.contato-list h3 { font-family: var(--f-texto); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--texto-suave); font-weight: 700; }
.contato-list p { font-weight: 600; overflow-wrap: anywhere; }
.contato-list a { color: var(--azul); text-decoration: none; }
.contato-list a:hover { text-decoration: underline; }
.contato-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- footer ---------- */
.footer { background: var(--preto); color: rgba(255,255,255,.8); }
.footer-charge { height: 6px; background: rgba(255,255,255,.08); }
.footer-charge span { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--azul), var(--amarelo)); }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; gap: 48px; align-items: center;
  padding-top: 52px; padding-bottom: 36px;
}
.footer-brand img { height: 62px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 420px; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { text-decoration: none; font-family: var(--f-titulo); font-weight: 600; color: rgba(255,255,255,.85); }
.footer-nav a:hover { color: var(--amarelo); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); color: var(--branco);
  transition: background-color .2s, color .2s, border-color .2s;
}
.footer-social a:hover { background: var(--amarelo); color: var(--preto); border-color: var(--amarelo); }
.footer-social svg { width: 21px; height: 21px; }
.footer-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .86rem; color: rgba(255,255,255,.65);
}

/* ---------- whatsapp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1fa855; color: var(--branco); box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: background-color .2s;
}
.wa-float:hover { background: #178a45; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }




/* ---------- fundos de seção com efeito parallax (imagem fixa, efeito janela) ---------- */
.has-bg { position: relative; isolation: isolate; clip-path: inset(0); }
.sec-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  pointer-events: none;
}
.sec-bg::after { content: ""; position: absolute; inset: 0; }
.sec-bg--moto { background-image: url("../img/bg-moto.webp"); }
.sec-bg--moto::after { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.84)); }
.sec-bg--farois { background-image: url("../img/bg-farois.webp"); }
.sec-bg--farois::after { background: linear-gradient(100deg, rgba(11,13,18,.94) 0%, rgba(11,13,18,.82) 55%, rgba(11,13,18,.7) 100%); }
.sec-bg--trilhas { background-image: url("../img/bg-trilhas.webp"); }
.sec-bg--trilhas::after { background: linear-gradient(160deg, rgba(10,63,184,.9) 0%, rgba(6,42,125,.93) 100%); }
.sec-bg--estrada { background-image: url("../img/bg-estrada.webp"); }
.sec-bg--estrada::after { background: rgba(255,255,255,.88); }
.sec-bg--noite { background-image: url("../img/bg-noite.webp"); background-position: center bottom; }
.sec-bg--noite::after { background: linear-gradient(180deg, rgba(6,20,60,.86), rgba(11,13,18,.8)); }

/* avaliações passa a ser seção escura */
.avaliacoes.has-bg { background: var(--preto); }
.avaliacoes .aval-head h2 { color: var(--branco); }
.avaliacoes .aval-head .kicker { color: var(--amarelo); }
.avaliacoes .aval-head .kicker::before { box-shadow: none; }
.avaliacoes .google-tag { border-color: transparent; }
.avaliacoes :focus-visible { outline-color: var(--amarelo); }

/* ---------- seção vitrine ---------- */
.vitrine-cta { background: var(--preto); color: var(--branco); position: relative; }
.vitrine-cta::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(10,63,184,.45), transparent); pointer-events: none;
}
.vit-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.vit-text h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; }
.vit-text p:not(.kicker) { margin-top: 18px; color: rgba(255,255,255,.85); font-size: 1.06rem; max-width: 520px; }
.vit-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.vit-window {
  display: block; text-decoration: none; color: var(--texto);
  background: var(--branco); border-radius: var(--raio-lg); overflow: hidden;
  box-shadow: 0 34px 70px -28px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1);
  transform: rotate(1.5deg); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.vit-window:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 40px 80px -28px rgba(10,63,184,.7), 0 0 0 3px var(--amarelo); }
.vit-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--cinza); border-bottom: 1px solid var(--linha); }
.vit-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d9e6; }
.vit-bar i:first-child { background: var(--azul); }
.vit-bar i:nth-child(2) { background: var(--amarelo); }
.vit-bar b { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 6px; background: var(--branco); font-size: .8rem; font-weight: 600; color: var(--texto-suave); }
.vit-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px; }
.vit-item {
  display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 10px;
  border: 1px solid var(--linha); background: var(--branco);
}
.vit-item svg {
  width: 100%; height: 54px; padding: 12px; border-radius: 8px; color: var(--azul); background: var(--azul-claro);
  transition: background-color .3s, color .3s;
}
.vit-item em { display: block; height: 7px; border-radius: 4px; background: #e3e8f2; }
.vit-item em + em { width: 60%; background: var(--amarelo); }
.vit-window:hover .vit-item svg { background: var(--azul); color: var(--branco); }
.vit-window:hover .vit-item:nth-child(2n) svg { transition-delay: .08s; }
.vit-go {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px;
  background: var(--azul); color: var(--branco); font-family: var(--f-titulo); font-weight: 700; font-size: 1.05rem;
}
.vit-go svg { transition: transform .25s; }
.vit-window:hover .vit-go svg { transform: translateX(5px); }

/* ---------- página da vitrine (iframe) ---------- */
html.page-vitrine, html.page-vitrine body { height: 100%; overflow: hidden; scrollbar-width: none; -ms-overflow-style: none; }
html.page-vitrine::-webkit-scrollbar, html.page-vitrine body::-webkit-scrollbar { display: none; }
html.page-vitrine body { --header-h: 80px; overscroll-behavior: none; }
.page-vitrine .header { height: 80px; }
.page-vitrine .nav { top: 80px; max-height: calc(100vh - 80px); }
.page-vitrine .nav a.is-current { color: var(--branco); }
.page-vitrine .nav a.is-current::after { transform: scaleX(1); }
.vitrine-frame { position: fixed; top: 80px; left: 0; right: 0; width: 100%; background: var(--branco); }
.vitrine-frame iframe { display: block; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================
   EFEITOS
   ========================================================= */

/* barra de progresso de leitura, como uma carga */
.scroll-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.scroll-bar span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--azul), #3d73ff 55%, var(--amarelo));
}

/* hero: entrada, zoom lento da foto, brilho que segue o mouse e trilhas de corrente */
.hero-bg { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(61,115,255,.22), transparent 70%);
}
.hero:hover .hero-glow { opacity: 1; }
.hero-circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-circuit path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-circuit .trilhas path { stroke: rgba(255,255,255,.07); }
.hero-circuit .pulsos path {
  stroke: var(--amarelo); stroke-width: 2.5; stroke-dasharray: 70 1400; stroke-dashoffset: 1470;
  filter: drop-shadow(0 0 6px rgba(255,229,0,.8)); animation: corrente 6s linear infinite;
}
.hero-circuit .pulsos path:nth-child(2) { stroke: #5b8cff; filter: drop-shadow(0 0 6px rgba(91,140,255,.9)); animation-delay: -1.5s; animation-duration: 7s; }
.hero-circuit .pulsos path:nth-child(3) { animation-delay: -3s; animation-duration: 8s; }
.hero-circuit .pulsos path:nth-child(4) { stroke: #5b8cff; filter: drop-shadow(0 0 6px rgba(91,140,255,.9)); animation-delay: -4.2s; }
.hero-circuit .pulsos path:nth-child(5) { animation-delay: -2.2s; animation-duration: 7.5s; }
.hero-circuit .pulsos path:nth-child(6) { stroke: #5b8cff; filter: drop-shadow(0 0 6px rgba(91,140,255,.9)); animation-delay: -5s; animation-duration: 6.5s; }
@keyframes corrente { to { stroke-dashoffset: 0; } }
.hero-circuit .nos circle { fill: rgba(255,255,255,.18); animation: no-pisca 3s ease-in-out infinite; }
.hero-circuit .nos circle:nth-child(2n) { animation-delay: -1.5s; }
@keyframes no-pisca { 50% { fill: rgba(255,229,0,.55); } }

.hero-text > * { animation: sobe .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > :nth-child(1) { animation-delay: .1s; }
.hero-text > :nth-child(2) { animation-delay: .2s; }
.hero-text > :nth-child(3) { animation-delay: .35s; }
.hero-text > :nth-child(4) { animation-delay: .5s; }
.hero-text > :nth-child(5) { animation-delay: .65s; }
.hero h1::after { animation: risca .7s .7s cubic-bezier(.2,.7,.2,1) both; transform-origin: left; }
@keyframes sobe { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes risca { from { transform: skewX(-20deg) scaleX(0); } to { transform: skewX(-20deg) scaleX(1); } }
.status.aberto .status-dot { animation: online 2s ease-in-out infinite; }
@keyframes online { 50% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } }

/* raio do slogan com leve oscilação de "neon" */
.hero-slogan svg { animation: neon 5s infinite; }
@keyframes neon {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(255,229,0,.7)); }
  20%, 24%, 55% { opacity: .35; filter: none; }
}

/* bateria: entra, flutua e tem brilho percorrendo a carga */
.hero-battery { animation: sobe .9s .4s cubic-bezier(.2,.7,.2,1) both; }
.batt { animation: flutua 6s 1.4s ease-in-out infinite; transition: box-shadow .3s; }
@keyframes flutua { 50% { transform: translateY(-10px); } }
.batt-meter span { position: relative; overflow: hidden; }
.batt.charged .batt-meter span::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  animation: brilho 2.6s 2.4s ease-in-out infinite;
}
@keyframes brilho { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
.cell.on { animation: acende .5s ease-out; }
@keyframes acende { 0% { transform: scale(.94); filter: brightness(1.8); } 100% { transform: none; filter: none; } }
.batt-terminal.pos { animation: faisca 3.2s 2.8s infinite; }
@keyframes faisca { 0%, 88%, 100% { box-shadow: none; } 92% { box-shadow: 0 0 0 4px rgba(255,229,0,.35), 0 0 24px 6px rgba(255,229,0,.55); } }
.cell { cursor: default; }
.cell.on:hover { transform: translateY(-3px); }
.cell { transition: background-color .5s, border-color .5s, color .5s, transform .25s; }

/* botões de destaque: reflexo atravessando */
.btn-accent { position: relative; overflow: hidden; isolation: isolate; }
.btn-accent::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-accent:hover::after { left: 130%; }
.btn-accent:active, .btn-ghost-dark:active, .btn-outline:active { transform: scale(.97); }

/* reveal com atraso escalonado (definido pelo JS em --d) */
.reveal { transition-delay: var(--d, 0s); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-zoom { transform: scale(.94); }

/* cards de veículos: luz que segue o cursor + leve inclinação 3D */
.veic-grid { perspective: 1000px; }
.veic {
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(10,63,184,.09), transparent 70%), var(--branco);
  transform-style: preserve-3d;
}
.veic-ico svg { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.veic:hover .veic-ico svg { transform: translateX(6px); }
.veic:hover .veic-ico { box-shadow: 0 0 0 6px rgba(10,63,184,.12); }

/* serviços: faísca na ponta do fio + anel ao acender */
.circuit-spark {
  position: absolute; left: 26.5px; top: 26px; width: 14px; height: 14px; margin: -7px 0 0 -7px; z-index: 2;
  border-radius: 50%; background: #fff7a8; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 4px rgba(255,229,0,.35), 0 0 18px 6px rgba(255,229,0,.7);
  transition: opacity .3s;
}
.circuit.ativo .circuit-spark { opacity: 1; }
.node.lit .node-dot { animation: anel .7s ease-out; }
@keyframes anel { from { box-shadow: 0 0 0 0 rgba(255,229,0,.7); } to { box-shadow: 0 0 0 16px rgba(255,229,0,0); } }
.node > div { transition: background-color .3s, border-color .3s, transform .3s; }
.node.lit > div { background: rgba(255,255,255,.11); border-color: rgba(255,229,0,.35); }
.node:not(.node-end):hover > div { transform: translateX(6px); }
.serv-photo img { transition: transform .8s ease; }
.serv-photo:hover img { transform: scale(1.05); }

/* manifesto: palavras acendem conforme a rolagem */
.manifesto .w { color: #c9cfdb; transition: color .35s; }
.manifesto .w.on { color: var(--preto); }
.manifesto mark .w.on { color: var(--azul); }
.manifesto.split mark::after { transform: skewX(-18deg) scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.manifesto.split mark.on::after { transform: skewX(-18deg) scaleX(1); }

/* missão/visão/valores */
.mvv-sign { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.mvv-row:hover .mvv-sign { transform: rotate(-8deg) scale(1.1); }
.valores li { transition: background-color .2s, color .2s, border-color .2s; }
.valores li:hover { background: var(--amarelo); color: var(--preto); border-color: var(--amarelo); }

/* avaliações: estrelas se preenchem ao aparecer */
.stars { transition: width .9s .35s ease-out; }
.review.reveal:not(.visible) .stars { width: 0; }
.review { transition: opacity .7s ease, transform .7s ease, box-shadow .3s, border-color .3s; }
.review.visible:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: rgba(10,63,184,.35); }
.review.visible:hover .avatar { transform: scale(1.08); }
.avatar { transition: transform .3s; }

/* contato */
.c-ico { transition: background-color .25s, color .25s, transform .3s; }
.contato-list li:hover .c-ico { background: var(--azul); color: var(--branco); transform: rotate(-6deg); }
.wa-float { transition: background-color .2s, transform .2s; }
.wa-float:hover { transform: scale(1.06); }

/* rodapé: barra de carga preenche ao aparecer */
.footer-charge span { transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.footer-charge.fx:not(.visible) span { width: 0; }

@media (hover: none) {
  .hero-glow { display: none; }
}
@media (max-width: 640px) {
  .circuit-spark { left: 22.5px; }
  .hero-circuit .pulsos path { stroke-width: 3; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1260px) {
  .nav a:not(.btn) { padding: 8px 9px; font-size: .95rem; }
  .header-inner { gap: 18px; }
  .header-vitrine { margin-left: -8px; }
}

@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .header-logo img { height: 42px; }
  .menu-toggle { display: block; }
  .header-cta, .header-vitrine { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: var(--preto); padding: 14px 24px 26px;
    border-top: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.08rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav a.active { color: var(--amarelo); }
  .nav-vitrine-item { display: block; }
  .nav-vitrine-item a { display: flex !important; align-items: center; gap: 10px; color: var(--amarelo) !important; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 18px; }
}

@media (max-width: 980px) {
  .hero { min-height: 0; padding: 64px 0 76px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-battery { justify-content: center; }
  .batt { max-width: 520px; }

  .veic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .vit-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .vit-window { max-width: 560px; }
  .serv-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .serv-side { position: static; }
  .serv-photo { max-width: 560px; }

  .sobre-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .reviews { columns: 2; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 720px) {
  .btn { white-space: normal; text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 76px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-actions .btn, .vit-actions .btn { width: 100%; }
  .vit-shelf { gap: 8px; padding: 12px; }
  .vit-item { padding: 8px; }
  .vit-item svg { height: 44px; padding: 10px; }
  .vit-window { transform: none; }
  .batt { padding: 16px; border-radius: 20px; }
  .batt-terminal { width: 58px; height: 26px; top: -30px; font-size: 1.3rem; }
  .batt-terminal.neg { left: 30px; }
  .batt-terminal.pos { right: 30px; }
  .cell { min-height: 100px; padding: 14px; font-size: .98rem; gap: 12px; }
  .cell svg { width: 26px; height: 26px; }

  .veic-grid { gap: 18px 12px; }
  .veic { padding: 22px 16px 18px; gap: 10px; }
  .veic::before { left: 16px; width: 26px; }
  .veic::after { right: 16px; width: 26px; }
  .veic-ico { width: 72px; height: 50px; }
  .veic-ico svg { width: 50px; height: 32px; }
  .veic h3 { font-size: 1.15rem; }
  .veic-go { font-size: .82rem; }
  .veic-go svg { display: none; }

  .circuit::before, .circuit::after { left: 21px; }
  .node { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; }
  .node-dot { width: 46px; height: 46px; border-radius: 12px; }
  .node-dot svg { width: 22px; height: 22px; }
  .node > div { padding: 12px 16px 14px; }
  .node h3 { font-size: 1.12rem; }
  .node-end .btn { white-space: normal; text-align: center; }

  .manifesto { margin-bottom: 52px; }
  .mvv { padding: 4px 20px; }
  .mvv-row { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .mvv-sign { width: 40px; height: 40px; font-size: 1.6rem; }

  .reviews { columns: 1; }

  .contato { display: flex; flex-direction: column-reverse; }
  .map-wrap { position: relative; height: 320px; }
  .contato-layer { padding-top: 0; padding-bottom: 0; }
  .contato-card { max-width: none; margin: 0 -18px; border-radius: 0; padding: 56px 18px 44px; box-shadow: none; }
  .contato-actions .btn { width: 100%; }

  .footer-legal { flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 380px) {
  .veic-grid { grid-template-columns: minmax(0, 1fr); }
  .cell { font-size: .9rem; }
}


/* telas grandes (2K, ultrawide): conteúdo acompanha a largura */
@media (min-width: 1600px) {
  html { font-size: 17px; }
  .container { max-width: 1360px; }
  .batt { max-width: 460px; }
}
@media (min-width: 2200px) {
  html { font-size: 19px; }
  .container { max-width: 1560px; }
  .batt { max-width: 520px; }
}

/* celular deitado / telas baixas: menos respiro vertical e hero em duas colunas */
@media (orientation: landscape) and (max-height: 520px) {
  .section { padding: 60px 0; }
  .hero { min-height: 0; padding: 36px 0 44px; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .hero h1::after { margin-top: 14px; height: 6px; }
  .hero h2 { margin-top: 14px; font-size: 1rem; }
  .hero-slogan { margin-top: 12px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { width: auto; }
  .status { margin-bottom: 14px; }
  .manifesto { margin-bottom: 40px; }
  .serv-side { position: static; }
  .contato-layer { padding-top: 40px; padding-bottom: 40px; }
}
@media (orientation: landscape) and (max-height: 520px) and (min-width: 700px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; }
  .batt { margin-top: 30px; padding: 12px; border-radius: 18px; }
  .batt-terminal { width: 50px; height: 24px; top: -28px; font-size: 1.2rem; }
  .batt-terminal.neg { left: 24px; }
  .batt-terminal.pos { right: 24px; }
  .batt-cells { gap: 8px; }
  .cell { min-height: 0; padding: 10px; gap: 8px; font-size: .88rem; }
  .cell svg { width: 22px; height: 22px; }
  .batt-meter { margin-top: 10px; height: 7px; }
  .serv-photo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-circuit .pulsos, .circuit-spark, .hero-glow { display: none; }
}
