/* =========================================================
   Alves Automotive — folha de estilo principal
   Paleta extraída do logotipo: asfalto, grafite, vermelho, cromo
   ========================================================= */

:root {
  --asphalt: #15171a;
  --asphalt-2: #1c1f23;
  --graphite: #262a2f;
  --steel: #3a3f46;
  --red: #e1141c;
  --red-hover: #c40f16;
  --red-deep: #9e0c12;
  --chrome: #c6cbd1;
  --chrome-dim: #9aa1a9;
  --alu: #eceef1;
  --alu-2: #f6f7f8;
  --white: #ffffff;
  --ink: #15171a;
  --ink-soft: #4f5660;
  --wa: #1fae54;

  --font: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 6px;
  --header-h: 76px;
  --slant: 12deg;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-1: 0 1px 2px rgba(10, 12, 14, .06), 0 8px 24px -12px rgba(10, 12, 14, .18);
  --shadow-2: 0 2px 4px rgba(10, 12, 14, .08), 0 22px 40px -18px rgba(10, 12, 14, .35);
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 1px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--asphalt);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 10vw, 128px); }

/* ---------- Tipografia ---------- */
.h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  font-style: italic;
  font-stretch: 72%;
  line-height: .98;
  letter-spacing: -.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2-xl { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

/* traço inclinado — eco das linhas de velocidade do logotipo */
.slash {
  display: block;
  width: 64px;
  height: 6px;
  margin-bottom: 22px;
  background: var(--red);
  transform: skewX(calc(var(--slant) * -2));
  transform-origin: left;
}

/* ---------- Botões ---------- */
.btn {
  --bg: transparent;
  --fg: currentColor;
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .7em 1.35em;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  color: var(--fg);
  background: var(--bg);
  border: 2px solid var(--bd);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.3em; height: 1.3em; }
.btn:active { transform: translateY(1px); }

.btn-lg { min-height: 56px; font-size: 1.0625rem; padding-inline: 1.5em; }
.btn-xl { min-height: 64px; font-size: 1.15rem; padding-inline: 1.8em; }
.btn-block { width: 100%; }

.btn-red { --bg: var(--red); --fg: var(--white); --bd: var(--red); box-shadow: 0 10px 24px -12px rgba(225, 20, 28, .7); }
.btn-red:hover { --bg: var(--red-hover); --bd: var(--red-hover); }

.btn-white { --bg: var(--white); --fg: var(--ink); --bd: var(--white); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); }
.btn-white:hover { --bg: var(--asphalt); --fg: var(--white); --bd: var(--asphalt); }

.btn-dark { --bg: var(--asphalt); --fg: var(--white); --bd: var(--asphalt); }
.btn-dark:hover { --bg: var(--red); --bd: var(--red); }

.btn-ghost-light { --fg: var(--white); --bd: rgba(255, 255, 255, .45); background: rgba(21, 23, 26, .25); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { --bd: var(--white); background: rgba(255, 255, 255, .1); }

.btn-outline-red { --fg: var(--white); --bd: var(--red); }
.btn-outline-red:hover { --bg: var(--red); }

.btn-outline-dark { --fg: var(--ink); --bd: var(--ink); }
.btn-outline-dark:hover { --bg: var(--ink); --fg: var(--white); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color .2s var(--ease);
}
.text-link:hover { color: var(--red); }
.text-link.small { font-size: .95rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 13, .7), rgba(10, 11, 13, 0));
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(21, 23, 26, .94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -18px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header.is-scrolled::before { opacity: 0; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 1.32rem;
  font-weight: 800;
  font-style: italic;
  font-stretch: 78%;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.brand-red { color: var(--red); }
.brand-tag {
  margin-top: 5px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--chrome);
  text-transform: uppercase;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, .86);
  transition: color .2s var(--ease);
}
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0) skewX(-24deg);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav ul a:hover,
.main-nav ul a.is-active { color: var(--white); }
.main-nav ul a:hover::after,
.main-nav ul a.is-active::after { transform: scaleX(1) skewX(-24deg); }

.nav-mobile-actions { display: none; }

.header-cta { min-height: 46px; padding-inline: 1.1em; font-size: .95rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(640px, 100svh);
  color: var(--white);
  background: var(--asphalt);
  overflow: hidden;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-media img { object-fit: cover; object-position: 62% 40%; }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 15, 17, .94) 0%, rgba(14, 15, 17, .82) 34%, rgba(14, 15, 17, .35) 62%, rgba(14, 15, 17, .1) 100%),
    linear-gradient(0deg, rgba(14, 15, 17, .95) 0%, rgba(14, 15, 17, 0) 38%);
}
.hero-content {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 26px;
  padding: 8px 14px 8px 12px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(225, 20, 28, .16);
  border-left: 3px solid var(--red);
}
.hero-badge .icon { color: var(--red); }

.hero-title {
  max-width: 11ch;
  font-size: clamp(3rem, 8.2vw, 7rem);
  font-weight: 800;
  font-style: italic;
  font-stretch: 68%;
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero-title .line { display: block; }

.hero-sub {
  max-width: 36rem;
  margin-top: 26px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(21, 23, 26, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.proof-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  font-weight: 600;
  font-size: 1.02rem;
}
.proof-list li:first-child { padding-left: 0; }
.proof-list li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.proof-list .icon { width: 30px; height: 30px; color: var(--red); stroke-width: 1.6; }

/* Sequência de entrada do hero (único momento orquestrado) */
.js .hero-media img { animation: heroZoom 1.8s var(--ease) both; }
.js .hero-badge,
.js .hero-title .line,
.js .hero-sub,
.js .hero-actions,
.js .hero-proof { animation: rise .9s var(--ease) both; }
.js .hero-title .line:nth-child(1) { animation-delay: .12s; }
.js .hero-title .line:nth-child(2) { animation-delay: .24s; }
.js .hero-sub { animation-delay: .38s; }
.js .hero-actions { animation-delay: .5s; }
.js .hero-proof { animation-delay: .7s; }

@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* =========================================================
   BATERIAS
   ========================================================= */
.batteries { background: var(--alu); }

.batteries-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.batteries-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.batteries-intro .h2 { margin-bottom: 22px; }
.batteries-intro .lead { color: var(--ink); font-weight: 500; }
.batteries-intro > p:not(.lead) { color: var(--ink-soft); }

.tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 26px 0 30px;
  padding: 16px 18px;
  background: var(--white);
  border-left: 3px solid var(--red);
  box-shadow: var(--shadow-1);
}
.tip p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.tip strong { color: var(--ink); }
.tip .icon { color: var(--red); margin-top: 2px; }

.batteries-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.batteries-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
  padding-top: 12px;
}

/* Card de marca desenhado como o topo de uma bateria: dois polos sobre a caixa */
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  color: var(--chrome);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 45%),
    var(--asphalt-2);
  border: 1px solid #2c3036;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand-card::before,
.brand-card::after {
  position: absolute;
  top: -13px;
  width: 38px;
  height: 13px;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 3px 3px 0 0;
}
.brand-card::before { content: "+"; left: 26px; color: var(--white); background: var(--red); }
.brand-card::after { content: "−"; right: 26px; color: var(--asphalt); background: var(--chrome-dim); }
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -22px rgba(10, 12, 14, .55); }

.brand-mark {
  display: flex;
  align-items: flex-end;
  min-height: 92px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #343941;
}
.brand-mark span {
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  font-weight: 800;
  font-style: italic;
  font-stretch: 70%;
  line-height: .9;
  text-transform: uppercase;
  color: var(--white);
}
.brand-mark img { max-height: 64px; width: auto; }

.brand-card .btn { padding-inline: .9em; font-size: .97rem; white-space: nowrap; }
.brand-card p { flex: 1; margin-bottom: 24px; font-size: 1rem; line-height: 1.6; color: var(--chrome); }

/* ---------- Anúncios (vitrine de campanhas) ---------- */
.ads { margin-top: clamp(64px, 9vw, 112px); }

.ads-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  margin-bottom: 28px;
  padding-top: 26px;
  border-top: 1px solid #d3d7dc;
}
.ads-title {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  font-stretch: 72%;
  line-height: 1;
  text-transform: uppercase;
}
.ads-head p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.ads-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ad-card { display: flex; flex-direction: column; gap: 12px; }
.ad-card .btn { padding-inline: .8em; font-size: .97rem; }

.ad-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--asphalt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  cursor: zoom-in;
}
.ad-thumb picture,
.ad-thumb img { width: 100%; height: 100%; }
.ad-thumb img { object-fit: contain; transition: transform .5s var(--ease); }
.ad-thumb:hover img { transform: scale(1.03); }

.ad-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(21, 23, 26, .78);
  border-radius: var(--radius);
  transition: background-color .2s var(--ease);
}
.ad-thumb:hover .ad-zoom { background: var(--red); }

/* ---------- Visualizador ampliado ---------- */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(10, 11, 13, .96);
}
.lightbox[open] {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: 64px minmax(0, 1fr) auto;
  align-items: center;
}
.lightbox::backdrop { background: rgba(10, 11, 13, .9); }
.lb-open { overflow: hidden; }

.lb-figure {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  min-height: 0;
  margin: 0;
}
.lb-img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}

.lb-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn .icon { width: 26px; height: 26px; }
.lb-close { grid-column: 3; grid-row: 1; justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 2; justify-self: center; }
.lb-next { grid-column: 3; grid-row: 2; justify-self: center; }

.lb-bar {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  flex-wrap: wrap;
  padding: 18px var(--gutter) max(18px, env(safe-area-inset-bottom));
}
.lb-count { color: var(--chrome-dim); font-weight: 600; }

/* =========================================================
   ENTREGA
   ========================================================= */
.delivery {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--red);
}
.delivery::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--red) 0%, var(--red) 46%, var(--red-deep) 100%);
}
.delivery-media {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 46%;
  z-index: -1;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.delivery-media picture,
.delivery-media img { width: 100%; height: 100%; object-fit: cover; }
.delivery-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(158, 12, 18, .75), rgba(21, 23, 26, .55));
}

.delivery-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(72px, 9vw, 120px);
}

.delivery-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  color: var(--red);
  background: var(--white);
  border-radius: var(--radius);
  transform: skewX(calc(var(--slant) * -1));
}
.delivery-icon .icon { width: 34px; height: 34px; transform: skewX(var(--slant)); }

.delivery-copy .h2 { max-width: 14ch; margin-bottom: 22px; }
.delivery-copy .lead { max-width: 32rem; margin-bottom: 34px; color: rgba(255, 255, 255, .92); }

.delivery-steps {
  padding: 30px 30px 14px;
  background: rgba(21, 23, 26, .82);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-2);
}
.delivery-steps h3 {
  margin-bottom: 18px;
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  font-stretch: 75%;
  text-transform: uppercase;
}
.delivery-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-block: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.delivery-steps li p { margin: 0; color: var(--chrome); }
.step-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  font-weight: 800;
  font-style: italic;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.reasons { background: var(--asphalt); color: var(--white); }

.reasons-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(36px, 6vw, 96px);
}
.reasons-head .h2 { margin-bottom: 22px; }
.reasons-head .lead { color: var(--chrome); max-width: 26rem; }

.reasons-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--steel);
  border-left: 1px solid var(--steel);
}
.reasons-list li {
  padding: 36px 32px 30px;
  border-right: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  transition: background-color .3s var(--ease);
}
.reasons-list li:hover { background: var(--asphalt-2); }
.reasons-list .icon { width: 40px; height: 40px; margin-bottom: 26px; color: var(--red); stroke-width: 1.5; }
.reasons-list h3 {
  margin-bottom: 10px;
  font-size: 1.32rem;
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.2;
}
.reasons-list p { margin: 0; color: var(--chrome-dim); font-size: 1rem; }

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services { background: var(--alu-2); }

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.services-head .h2 { max-width: 19ch; }
.services-head .lead { margin: 0; color: var(--ink-soft); font-size: 1.1rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e0e3e7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

.service-media { position: relative; }
.service-media picture { overflow: hidden; }
.service-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
  transition: transform .6s var(--ease), filter .3s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.04); filter: saturate(1) contrast(1.05); }

.service-icon {
  position: absolute;
  left: 24px;
  bottom: -24px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
  box-shadow: 0 10px 20px -10px rgba(225, 20, 28, .8);
}
.service-icon .icon { width: 26px; height: 26px; }

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 42px 24px 24px;
}
.service-body h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  font-style: italic;
  font-stretch: 75%;
  line-height: 1.05;
  text-transform: uppercase;
}
.service-body p { flex: 1; margin-bottom: 22px; color: var(--ink-soft); font-size: 1rem; }

/* =========================================================
   SOBRE
   ========================================================= */
.about { background: var(--graphite); color: var(--white); overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}

.about-media { position: relative; padding-bottom: 72px; }
.about-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.about-detail {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: 44%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid var(--graphite);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.about-media::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 32px;
  bottom: 120px;
  width: 8px;
  background: var(--red);
  transform: skewY(calc(var(--slant) * -1));
}

.about-copy .h2 { margin-bottom: 24px; }
.about-copy .lead { color: var(--white); }
.about-copy > p:not(.lead) { color: var(--chrome); }

.checklist { display: grid; gap: 12px; margin: 30px 0 34px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checklist .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  color: var(--white);
  background: var(--red);
  border-radius: 3px;
  stroke-width: 3;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 11vw, 140px);
  color: var(--white);
  background: linear-gradient(115deg, var(--red-deep) 0%, var(--red) 55%, #ef2a31 100%);
}
.cta-graphic {
  position: absolute;
  z-index: -1;
  right: -40px;
  top: 50%;
  width: min(560px, 60vw);
  height: auto;
  transform: translateY(-50%) rotate(-8deg);
  fill: none;
  stroke: rgba(255, 255, 255, .14);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-inner .h2 { max-width: 16ch; margin-bottom: 22px; }
.cta-inner .lead { max-width: 34rem; margin-bottom: 38px; color: rgba(255, 255, 255, .92); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, .5);
  padding-bottom: 2px;
}
.cta-phone:hover { border-color: var(--white); }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { background: var(--alu); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: stretch;
}
.contact-info .h2 { margin-bottom: 20px; }
.contact-info .lead { color: var(--ink-soft); font-size: 1.1rem; }

.contact-list { margin: 30px 0 34px; }
.contact-list > div {
  padding-block: 18px;
  border-top: 1px solid #d5d9de;
}
.contact-list > div:last-child { border-bottom: 1px solid #d5d9de; }
.contact-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.contact-list dt .icon { color: var(--red); }
.contact-list dd { margin: 0; padding-left: calc(1.25em + 10px); font-size: 1.12rem; font-weight: 600; }
.contact-list dd a:not(.text-link) { text-decoration: none; }
.contact-list dd a:not(.text-link):hover { color: var(--red); }
.contact-list address { margin-bottom: 8px; }

.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-actions .btn-red { grid-column: 1 / -1; }

.contact-map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #d5d9de;
  box-shadow: var(--shadow-2);
}
.contact-map::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  width: 100%;
  height: 6px;
  background: var(--red);
}
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer { color: var(--chrome); background: #0f1012; padding-top: 72px; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { width: 96px; height: 96px; margin-bottom: 20px; }
.footer-brand p { max-width: 24rem; color: var(--chrome-dim); }

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 800;
  font-style: italic;
  font-stretch: 75%;
  text-transform: uppercase;
  color: var(--white);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: var(--red); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid #24272c;
  font-size: .9rem;
  color: var(--chrome-dim);
}
.footer-bottom p { margin: 0; }
@media (min-width: 721px) { .footer-bottom { padding-right: calc(var(--gutter) + 80px); } }
.to-top { text-decoration: none; }
.to-top:hover { color: var(--white); }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed;
  z-index: 90;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 16px;
  color: var(--white);
  text-decoration: none;
  background: var(--wa);
  border-radius: 30px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55);
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  transition: max-width .35s var(--ease);
}
.wa-float:hover { background: #17964a; }
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label { max-width: 180px; }

/* =========================================================
   REVELAÇÃO AO ROLAR (discreta)
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1140px) {
  .main-nav ul a { padding-inline: 10px; }
  .main-nav ul a::after { left: 10px; right: 10px; }
  .header-inner { gap: 16px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .brand img { width: 46px; height: 46px; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    margin: 0;
    padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom));
    background: var(--asphalt);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
  }
  .nav-open .site-header { background: var(--asphalt); }
  .nav-open { overflow: hidden; }

  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a {
    padding: 18px 0;
    font-size: 1.9rem;
    font-weight: 800;
    font-style: italic;
    font-stretch: 72%;
    text-transform: uppercase;
    border-bottom: 1px solid var(--graphite);
  }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.is-active { color: var(--red); }

  .nav-mobile-actions { display: grid; gap: 12px; }

  .batteries-grid,
  .reasons-grid,
  .about-grid,
  .contact-grid,
  .services-head { grid-template-columns: 1fr; }

  .batteries-intro { position: static; }
  .batteries-photo { display: none; }

  .delivery-inner { grid-template-columns: 1fr; }
  .delivery-media { width: 100%; clip-path: none; opacity: .28; }

  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ads-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }

  .about-media { max-width: 720px; }
  .about-detail { right: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

}

@media (max-width: 720px) {
  body { font-size: 1rem; }

  .brand-tag { display: none; }
  .brand-name { font-size: 1.18rem; }

  .hero { min-height: auto; }
  .hero-media img { object-position: 70% 30%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(14, 15, 17, .55) 0%, rgba(14, 15, 17, .78) 45%, rgba(14, 15, 17, .97) 100%);
  }
  .hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 36px; }
  .hero-badge { font-size: .88rem; margin-bottom: 20px; }
  .hero-title { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; min-height: 58px; }

  .proof-list { grid-template-columns: 1fr; }
  .proof-list li { padding: 15px 0; }
  .proof-list li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }

  .brand-grid { grid-template-columns: 1fr; gap: 34px; }
  .brand-mark { min-height: 0; }
  .brand-card .btn { min-height: 56px; }

  /* vitrine vira carrossel com rolagem lateral no celular */
  .ads-track {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ads-track::-webkit-scrollbar { display: none; }
  .ad-card { flex: 0 0 74%; scroll-snap-align: start; }
  .ad-card .btn { min-height: 54px; }

  .lightbox[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 60px minmax(0, 1fr) auto auto;
  }
  .lb-close { grid-column: 2; justify-self: end; margin-right: var(--gutter); }
  .lb-figure { grid-column: 1 / -1; margin-inline: 12px; }
  .lb-prev { grid-column: 1; grid-row: 3; justify-self: end; margin: 14px 8px 0; }
  .lb-next { grid-column: 2; grid-row: 3; justify-self: start; margin: 14px 8px 0; }
  .lb-bar { grid-row: 4; }
  .lb-cta { width: 100%; }

  .delivery-copy .btn,
  .cta-actions .btn { width: 100%; padding-inline: 1em; font-size: 1.04rem; }
  .delivery-steps { padding: 24px 20px 8px; }

  .reasons-list { grid-template-columns: 1fr; }
  .reasons-list li { padding: 28px 22px; }
  .reasons-list .icon { margin-bottom: 18px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-body .btn { min-height: 54px; }

  .about-media { padding-bottom: 48px; }
  .about-detail { width: 48%; border-width: 4px; }
  .about-media::before { left: -10px; width: 6px; }

  .cta-graphic { width: 90vw; right: -30vw; opacity: .7; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-phone { align-self: flex-start; }

  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions .btn { min-height: 58px; }
  .contact-map { min-height: 340px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { padding-bottom: 96px; }

  .wa-float { height: 58px; width: 58px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
