/* ============================================================
   ELITE CAR DETAIL — Landing Page
   Identidade: industrial · premium · alto contraste
   ============================================================ */

:root {
  --black: #0D0D0D;
  --black-soft: #141414;
  --black-card: #1A1A1A;
  --red: #D62828;
  --red-dark: #A31D1D;
  --silver: #C8C8C8;
  --white: #FFFFFF;
  --gray-1: #B5B5B5;
  --gray-2: #8C8C8C;
  --line: rgba(255, 255, 255, 0.08);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", sans-serif;

  --container: 1180px;
  --header-h: 76px;
  --radius: 6px;

  --glow-red: 0 0 24px rgba(214, 40, 40, 0.45), 0 4px 14px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* textura sutil de hexágonos */
  --hex-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16z'/%3E%3Cpath d='M28 64l28 16v17M28 64L0 80v17'/%3E%3C/g%3E%3C/svg%3E");

  /* trama fina de fibra de carbono */
  --carbon-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'%3E%3Cpath d='M0 0l8 8M8 0L0 8'/%3E%3C/g%3E%3C/svg%3E");

  /* grão fino, tira o aspecto chapado do preto */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");

  /* cromo escovado para tipografia de destaque */
  --cement-base: #2E2E2E;
  --cement-texture:
    radial-gradient(150% 90% at 16% 6%, rgba(255, 255, 255, 0.05), transparent 56%),
    radial-gradient(130% 80% at 90% 20%, rgba(0, 0, 0, 0.34), transparent 62%),
    radial-gradient(120% 70% at 34% 58%, rgba(255, 255, 255, 0.032), transparent 52%),
    radial-gradient(130% 80% at 76% 86%, rgba(0, 0, 0, 0.42), transparent 60%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.035) 0%, transparent 34%, rgba(0, 0, 0, 0.16) 68%, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='620'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.034' numOctaves='5' seed='9'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='620' height='620' filter='url(%23m)' opacity='0.3'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.24'/%3E%3C/svg%3E");

  --chrome-grad: linear-gradient(170deg, #ffffff 0%, #dedede 22%, #a8a8a8 42%, #ffffff 56%, #b8b8b8 74%, #f4f4f4 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

/* camada de grão sobre a página inteira */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background-image: var(--grain);
  mix-blend-mode: overlay;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

section[id] {
  scroll-margin-top: var(--header-h);
}

::selection { background: var(--red); color: var(--white); }

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

/* ---------- Tipografia base ---------- */
h1, h2, h3, .logo__text {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 0 rgba(214, 40, 40, 0);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  border-radius: 0;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #E23535;
  box-shadow: var(--glow-red);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--silver);
  color: var(--silver);
  transform: translateY(-2px);
}

.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Kicker ---------- */
.section__kicker,
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 18px;
}

.kicker-line {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--silver));
  flex: none;
}

/* ============================================================
   EFEITOS COMPARTILHADOS — a "linguagem" de estética automotiva
   ============================================================ */

/* ---------- Varredura de polimento: faixa de luz que atravessa ---------- */
.sheen { position: relative; overflow: hidden; }

.sheen::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -75%;
  width: 45%;
  height: 220%;
  pointer-events: none;
  z-index: 3;
  transform: rotate(18deg) translateX(0);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 35%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.05) 65%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sheen:hover::after {
  opacity: 1;
  animation: sheenSweep 0.9s var(--ease);
}

@keyframes sheenSweep {
  from { transform: rotate(18deg) translateX(0); }
  to   { transform: rotate(18deg) translateX(360%); }
}

/* botão primário também recebe a varredura */
.btn--primary { position: relative; overflow: hidden; }

.btn--primary::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 40%;
  height: 220%;
  transform: rotate(18deg) translateX(0);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0;
  pointer-events: none;
}

.btn--primary:hover::after,
.btn--primary:focus-visible::after {
  opacity: 1;
  animation: sheenSweep 0.75s var(--ease);
}

/* ---------- Spotlight que segue o cursor ---------- */
.spot { position: relative; }

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(214, 40, 40, 0.16),
    transparent 62%
  );
}

.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---------- Tipografia cromada ---------- */
.chrome {
  color: var(--white);
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.12));
}

/* ---------- Corte diagonal entre seções ---------- */
.cut-top {
  clip-path: polygon(0 42px, 100% 0, 100% 100%, 0 100%);
  margin-top: -42px;
  padding-top: calc(96px + 42px);
}

/* ---------- Barra de progresso de leitura ---------- */
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--red), var(--silver));
  box-shadow: 0 0 12px rgba(214, 40, 40, 0.6);
  z-index: 2;
  transition: transform 0.1s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.header::before {
  /* filete vermelho industrial no topo */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 55%, var(--silver) 100%);
}

.header.is-scrolled {
  background: rgba(13, 13, 13, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.logo__text {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
}

.logo__text em {
  color: var(--red);
  margin-left: 7px;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-1);
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--silver);
  transition: width 0.3s var(--ease);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__link.is-active { color: var(--white); }
.nav__link.is-active::after { width: 100%; background: var(--red); }

.nav__cta { padding: 11px 20px; font-size: 0.85rem; }

/* ---------- Hamburger ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 104px;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
}

.hero__media {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: calc((100% - min(var(--container), 100%)) / 2 + 20px);
  width: clamp(300px, 32vw, 440px);
  aspect-ratio: 4 / 5;
  max-height: 70svh;
  transform: translateY(-50%);
  border-radius: var(--radius);
  overflow: hidden;
  outline: 1px solid var(--line);
  background: url("../assets/img/hero-box.webp") 50% 50% / cover no-repeat;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0) 70%, rgba(13, 13, 13, 0.45) 100%);
}

.hero__clip { display: none; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 54%) 1fr;
  align-items: center;
  width: 100%;
}

.hero__content {
  width: 100%;
  min-width: 0;
}

.hero__title {
  font-size: clamp(2.9rem, 5vw, 5.8rem);
  margin: 6px 0 26px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
}

.hero__title span { display: block; }

.hero__title-line { color: var(--white); }

.hero__title em {
  color: var(--red);
  text-shadow: 0 0 38px rgba(214, 40, 40, 0.55);
}

.hero__title .title-dot { display: inline; color: var(--silver); }

.hero__subtitle {
  max-width: 520px;
  font-size: 1.12rem;
  color: var(--gray-1);
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero__badges li {
  position: relative;
  padding-left: 17px;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-2);
}

.hero__badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--red);
}

/* ---------- indicador de scroll ---------- */
.hero__scroll {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gray-2);
  transition: color 0.3s ease;
}

.hero__scroll:hover { color: var(--white); }

@media (min-width: 980px) {
  .hero__scroll {
    left: calc((100% - min(var(--container), 100%)) / 2 + 20px);
    transform: none;
  }
}

/* mousinho: cápsula com trilho e a "gota" âmbar descendo */
.hero__mouse {
  position: relative;
  display: block;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 13px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.hero__scroll:hover .hero__mouse { border-color: rgba(255, 255, 255, 0.8); }

.hero__mouse-track {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
}

.hero__mouse-track::after {
  content: "";
  position: absolute;
  left: -1.5px;
  top: -14px;
  width: 4px;
  height: 14px;
  background: var(--silver);
  animation: scrollHint 2.2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%   { transform: translateY(0); opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translateY(56px); opacity: 0; }
}

/* notebook: aperta um pouco a tipografia */
@media (min-width: 980px) and (max-width: 1179px) {
  .hero__subtitle { font-size: 1.02rem; margin-bottom: 28px; }
  .hero__actions { gap: 14px; margin-bottom: 34px; }
  .hero__badges { gap: 8px 18px; }
  .hero__badges li { font-size: 0.72rem; padding-left: 15px; }
}

/* animação de entrada do hero */
.anim {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.9s var(--ease) forwards;
}

.anim-1 { animation-delay: 0.15s; }
.anim-2 { animation-delay: 0.3s; }
.anim-3 { animation-delay: 0.45s; }
.anim-4 { animation-delay: 0.65s; }
.anim-5 { animation-delay: 0.8s; }
.anim-6 { animation-delay: 1s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--black-soft);
  padding: 14px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--gray-2);
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SEÇÕES — base
   ============================================================ */
.section { padding: 96px 0; }

.section__head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section__head--center {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.section__head--center .section__kicker { justify-content: center; }

.section__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}

.section__title em { color: var(--red); }

.section__lead { color: var(--gray-1); }

.section__lead a {
  color: var(--silver);
  border-bottom: 1px solid rgba(200, 200, 200, 0.4);
  transition: border-color 0.2s ease;
}

.section__lead a:hover { border-bottom-color: var(--silver); }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.section--services {
  background: var(--black);
  background-image: var(--hex-pattern);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* A moldura é a camada de fora; o miolo fica 1px menor.
   É o que permite o canto chanfrado com contorno, igual ao dos botões. */
.service-card {
  --cut: 26px;
  position: relative;
  padding: 1px;
  background: linear-gradient(150deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.05) 38%,
    rgba(255, 255, 255, 0.02) 100%);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), filter 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-7px);
  background: linear-gradient(150deg,
    rgba(214, 40, 40, 0.95) 0%,
    rgba(255, 255, 255, 0.14) 42%,
    rgba(255, 255, 255, 0.07) 100%);
  filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 26px rgba(214, 40, 40, 0.18));
}

.service-card__inner {
  --cut: 25px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(214, 40, 40, 0.07), transparent 55%),
    linear-gradient(158deg, #1F1F1F 0%, #171717 46%, #101010 100%);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  overflow: hidden;
}

/* número grande, cortado pela borda — vira elemento gráfico */
.service-card__num {
  position: absolute;
  right: -4px;
  bottom: -22px;
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.045);
  transition: color 0.4s ease;
  pointer-events: none;
}

.service-card:hover .service-card__num { color: rgba(214, 40, 40, 0.2); }

/* ícone na placa hexagonal, ecoando o escudo da marca */
.service-card__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 74px;
  flex: none;
  margin-bottom: 24px;
  color: var(--red);
  background: linear-gradient(160deg, rgba(214, 40, 40, 0.20), rgba(214, 40, 40, 0.05));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background 0.35s var(--ease), color 0.35s ease, transform 0.4s var(--ease);
}

.service-card__icon svg { width: 35px; height: 35px; }

.service-card:hover .service-card__icon {
  background: linear-gradient(160deg, var(--red), var(--red-dark));
  color: var(--white);
  transform: translateY(-3px);
}

.service-card__title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

/* filete que cresce sob o título */
.service-card__title::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--red), var(--silver));
  transition: width 0.4s var(--ease);
}

.service-card:hover .service-card__title::after { width: 62px; }

.service-card__text {
  color: var(--gray-1);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

/* o CTA encosta no rodapé do card: as 6 colunas alinham */
.service-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.25s ease, gap 0.25s var(--ease);
}

.service-card__link:hover { color: var(--silver); gap: 13px; }

.service-card__prices {
  display: grid;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.service-card__prices div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.service-card__prices dt,
.service-card__from span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-2);
}

.service-card__prices dd,
.service-card__from {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--white);
  white-space: nowrap;
}

.service-card__from {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 0;
  border-block: 1px solid var(--line);
}

.services-note {
  max-width: 720px;
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--gray-2);
}

/* hidrofobia: gotas de água no card de Vitrificação */
.service-card--beads::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.45s ease;
  background-image:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,0.16) 0 5px, transparent 6px),
    radial-gradient(circle at 90% 40%, rgba(255,255,255,0.11) 0 3px, transparent 4px),
    radial-gradient(circle at 74% 46%, rgba(255,255,255,0.13) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 62%, rgba(255,255,255,0.09) 0 6px, transparent 7px),
    radial-gradient(circle at 68% 70%, rgba(255,255,255,0.10) 0 3px, transparent 4px),
    radial-gradient(circle at 94% 78%, rgba(255,255,255,0.12) 0 4px, transparent 5px);
}

.service-card--beads:hover::after { opacity: 1; }

/* ============================================================
   SOBRE
   ============================================================ */
.section--about { background: var(--black-soft); }

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.about__media {
  position: relative;
  max-width: 520px;
}

/* vídeo da Hilux ocupando a moldura do "Sobre" */
.about__media .about__video {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-inline: 0;
}

.about__media .about__video .video-card__frame { aspect-ratio: 4 / 5; }

.about__frame {
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(214, 40, 40, 0.6);
  z-index: 0;
}

.about__frame::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 90px;
  height: 90px;
  background:
    linear-gradient(45deg, transparent 48%, var(--silver) 48%, var(--silver) 52%, transparent 52%),
    linear-gradient(45deg, transparent 62%, rgba(200,200,200,0.5) 62%, rgba(200,200,200,0.5) 66%, transparent 66%);
}

.about__tag {
  position: absolute;
  z-index: 2;
  left: -14px;
  bottom: 30px;
  background: var(--red);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  box-shadow: var(--glow-red);
}

.about__tag em { color: #FFD9A0; }

.about__body p {
  color: var(--gray-1);
  margin-bottom: 18px;
}

.about__body strong { color: var(--white); font-weight: 600; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about__stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.about__stats span {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* ============================================================
   GALERIA
   ============================================================ */
.section--gallery {
  background: var(--black);
  background-image: var(--hex-pattern);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}

/* moldura que acende no hover */
.gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gallery__item:hover::before {
  border-color: rgba(214, 40, 40, 0.65);
  box-shadow: inset 0 0 30px rgba(214, 40, 40, 0.18);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, transparent, rgba(13, 13, 13, 0.92));
  color: var(--gray-1);
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--gray-2);
  color: var(--gray-1);
}

.tag--red { background: var(--red); border-color: var(--red); color: var(--white); }
.tag--gray { background: var(--silver); border-color: var(--silver); color: var(--black); }

/* vídeo como um azulejo da galeria: mesmo formato e mesma legenda das fotos */
.gallery .gallery__item--video {
  max-width: none;
  margin-inline: 0;
}

.gallery .gallery__item--video .video-card__frame {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border: 0;
}

.gallery .gallery__item--video figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(13, 13, 13, 0.92));
}


/* ============================================================
   ENTREGAS
   ============================================================ */
.section--delivery {
  background: var(--black-soft);
  background-image: var(--carbon-pattern);
}

.delivery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.delivery__body > p { color: var(--gray-1); margin-bottom: 26px; }

.delivery__checks {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.delivery__checks li {
  position: relative;
  padding-left: 30px;
  color: var(--gray-1);
  font-size: 0.98rem;
}

.delivery__checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

/* ============================================================
   CARD DE VÍDEO (usado em Processo, Sobre e Estrutura)
   ============================================================ */
.video-card {
  position: relative;
  /* vertical 9:16 — nunca mais alto que a tela */
  width: 100%;
  max-width: min(360px, 46vh);
  margin-inline: auto;
}

.video-card__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--black);
  border: 1px solid var(--line);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.video-card:hover .video-card__frame {
  border-color: rgba(214, 40, 40, 0.55);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.video-card__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(13, 13, 13, 0.75));
  pointer-events: none;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Indicador de play (aparece quando o vídeo está pausado) */
.video-card__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card__play:focus-visible { opacity: 1; }

.video-card__play svg {
  display: block;
  width: 62px;
  height: 62px;
  padding: 18px;
  border-radius: 50%;
  background: rgba(214, 40, 40, 0.9);
  color: var(--white);
  box-shadow: var(--glow-red);
}

.video-card.is-paused .video-card__play { opacity: 1; }

.video-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 2px 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray-1);
}

/* ============================================================
   PROCESSO — timeline + vídeo da espuma
   ============================================================ */
.section--process {
  background: var(--black-soft);
  background-image: var(--carbon-pattern);
  position: relative;
}

.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: start;
}

.steps {
  position: relative;
  display: grid;
  gap: 34px;
  padding-left: 4px;
}

/* trilho que liga as etapas */
.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--silver) 55%, transparent);
  opacity: 0.55;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  background: var(--black-card);
  border: 1px solid var(--line);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.step:hover .step__num {
  color: var(--white);
  background: var(--red);
  box-shadow: var(--glow-red);
}

.step__body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.step__body p {
  color: var(--gray-1);
  font-size: 0.98rem;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.section--reviews {
  background: var(--black-soft);
  background-image: var(--hex-pattern);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.review-card {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 30px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.review-card__stars {
  color: var(--silver);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.review-card p {
  color: var(--gray-1);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 22px;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.review-card cite {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.review-card footer span {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact__list {
  display: grid;
  margin-bottom: 32px;
  border-top: 1px solid var(--line);
}

.contact__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.contact__list li:hover { border-bottom-color: rgba(214, 40, 40, 0.55); }

.contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--red);
}

.contact__icon svg { width: 22px; height: 22px; }

.contact__list strong {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 4px;
}

.contact__list a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact__list a:hover { color: var(--silver); border-color: var(--silver); }

.contact__map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  /* sem invert: o Google já entrega o mapa em tema escuro em alguns
     navegadores, e inverter deixava um bloco branco no meio da página */
  filter: grayscale(1) brightness(0.55) contrast(1.18);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* ---------- Formulário ---------- */
.contact__form {
  position: relative;
  background: linear-gradient(180deg, #181818 0%, #121212 100%);
  border-radius: 18px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.contact__form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(214, 40, 40, 0.16), transparent 70%);
}

.contact__steps {
  list-style: none;
  margin: 4px 0 30px;
  counter-reset: step;
}

.contact__steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact__steps li:last-child { border-bottom: 0; }

.contact__steps li span {
  flex: none;
  width: 34px;
  padding-top: 1px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--red);
}

.contact__steps strong {
  display: block;
  margin-bottom: 2px;
}

.contact__steps em {
  font-style: normal;
  color: var(--gray-2);
  font-size: 0.92rem;
}

.contact__form h3 {
  position: relative;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact__form > p {
  position: relative;
  color: var(--gray-2);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.contact__form small {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: var(--gray-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--black-soft);
  padding: 46px 0 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-bottom: 34px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer__nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-2);
  transition: color 0.2s ease;
}

.footer__nav a:hover { color: var(--silver); }

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gray-1);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.footer__social a:hover {
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(214, 40, 40, 0.35);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--gray-2);
  text-align: center;
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger nos grids */
.services-grid .reveal:nth-child(2),
.reviews-grid .reveal:nth-child(2),
.gallery .reveal:nth-child(2) { transition-delay: 0.1s; }

.services-grid .reveal:nth-child(3),
.reviews-grid .reveal:nth-child(3),
.gallery .reveal:nth-child(3) { transition-delay: 0.2s; }

.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .reveal:nth-child(4) { transition-delay: 0.24s; }

.services-grid .reveal:nth-child(4),
.gallery .reveal:nth-child(4) { transition-delay: 0.1s; }

.services-grid .reveal:nth-child(5),
.gallery .reveal:nth-child(5) { transition-delay: 0.2s; }

.services-grid .reveal:nth-child(6),
.gallery .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }

  .about { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

  /* Processo: vídeo fixo à esquerda, etapas rolando à direita */
  .process { grid-template-columns: 360px 1fr; gap: 64px; }
  .process__video { position: sticky; top: calc(var(--header-h) + 34px); margin-inline: 0; }

  /* Entregas: vídeo à esquerda, texto à direita */
  .delivery { grid-template-columns: 360px 1fr; gap: 64px; }
  .delivery__video { margin-inline: 0; }

  .section { padding: 120px 0; }
  .cut-top { padding-top: calc(120px + 42px); }
}

@media (min-width: 1100px) {
  .cut-top { clip-path: polygon(0 64px, 100% 0, 100% 100%, 0 100%); margin-top: -64px; padding-top: calc(120px + 64px); }
}

/* ---------- Hero em coluna única ---------- */
@media (max-width: 979px) {
  .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 26px) 0 46px;
  }

  .hero__title { margin-bottom: 16px; }

  .hero__subtitle { margin-bottom: 22px; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-bottom: 18px;
  }

  .hero__actions .btn--ghost {
    align-self: flex-start;
    width: auto;
    padding: 8px 2px;
    border-color: transparent;
    background: none;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: rgba(255, 255, 255, 0.35);
  }

  .hero__clip {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 40svh;
    margin: 0 auto 24px;
    border-radius: 14px;
    overflow: hidden;
    outline: 1px solid var(--line);
    background: #101010 url("../assets/img/hero-bmw-poster.jpg") 50% 50% / cover no-repeat;
  }

  .hero__clip video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__scroll { display: none; }

  .hero__media {
    inset: 0;
    width: 100%;
    max-height: none;
    aspect-ratio: auto;
    transform: none;
    border-radius: 0;
    outline: none;
    background: var(--cement-base);
    background-image: var(--cement-texture);
  }


  .hero__media::after {
    background:
      linear-gradient(180deg,
        rgba(10, 10, 10, 0.72) 0%,
        rgba(10, 10, 10, 0.12) 22%,
        rgba(10, 10, 10, 0.18) 60%,
        var(--black) 100%);
  }

  .hero__inner { grid-template-columns: 1fr; }
}

/* celular: os dois botões do hero ocupam a largura toda */
@media (max-width: 560px) {
  .btn--block.btn--lg { padding: 15px 14px; font-size: 0.88rem; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn--primary { width: 100%; padding: 15px 20px; font-size: 0.92rem; }
}

/* ---------- Nav mobile ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: flex; }

  /* no celular só a parede: o brasão brigaria com o título */
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(320px, 84vw);
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 34px 28px;
    background: var(--black);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s 0.4s;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s var(--ease);
  }

  body.nav-locked .header {
    background: rgba(13, 13, 13, 0.97);
    border-bottom-color: var(--line);
  }

  .header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(13, 13, 13, 0.96);
  }

  .nav__link {
    font-size: 1.15rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    margin-top: 22px;
    width: 100%;
    padding: 15px 20px;
  }

  body.nav-locked { overflow: hidden; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .anim,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .marquee__track { animation: none; }
  .wa-float::after { animation: none; }
  .hero__mouse-track::after { animation: none; }

  /* sem varredura de polimento, sem spotlight, sem sanfona animada */
  .sheen::after,
  .btn--primary::after { display: none; }
  .spot::before { display: none; }
  .process__video { position: static; }
}
