/* ============================================================
   TR AGUIAR LOGISTICA - sinalizacao rodoviaria brasileira
   ============================================================ */

:root {
  /* cores amostradas do arquivo original da logo */
  --vinho: #811101;
  --vinho-vivo: #A31703;
  --vinho-profundo: #4F0A00;
  --concreto: #EFECE4;
  --concreto-2: #E4E0D5;
  --amarelo: #FABD04;
  --ambar: #F5A800;
  /* verde do WhatsApp — só no botão de entrar no grupo VIP */
  --zap-claro: #2BE071;
  --zap: #25D366;
  --zap-fundo: #12A551;
  --asfalto: #16110D;
  --branco: #FAF8F2;
  --tinta: #1C1510;
  --tinta-suave: #5A4F45;

  --font-sans: "Archivo", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --wide: "wdth" 125;
  --narrow: "wdth" 74;

  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --rail-w: clamp(0rem, 8vw, 7rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--concreto);
  color: var(--tinta);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--amarelo); color: var(--tinta); }

a { color: inherit; }

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

em { font-style: italic; }

/* ============ COMPONENTES BASE ============ */

.plate {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-mono);
  font-size: clamp(.6rem, 1vw, .72rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55em 1em;
  border-radius: .5em;
  white-space: nowrap;
}
.plate--white { background: var(--branco); color: var(--vinho); border: 2px solid var(--branco); }
.plate--outline { border: 2px solid rgba(246,245,240,.55); color: var(--branco); }
.plate--km { background: var(--amarelo); color: var(--tinta); border: 2px solid var(--tinta); font-weight: 700; }
.plate--nightKm { border-color: var(--amarelo); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-sans);
  font-variation-settings: "wdth" 110;
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  padding: .9em 1.5em;
  border-radius: .6em;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background-color .25s, color .25s;
}
.btn--big { font-size: clamp(.9rem, 1.4vw, 1.05rem); padding: 1.05em 1.7em; }
.btn--yellow {
  background: var(--amarelo);
  color: var(--tinta);
  border: 2px solid var(--tinta);
  box-shadow: 0 4px 0 0 var(--tinta);
}
.btn--yellow:hover { transform: translateY(-3px); box-shadow: 0 7px 0 0 var(--tinta); }
.btn--yellow:active { transform: translateY(1px); box-shadow: 0 2px 0 0 var(--tinta); }
.btn--ghost {
  border: 2px solid rgba(246,245,240,.5);
  color: var(--branco);
}
.btn--ghost:hover { border-color: var(--branco); background: rgba(246,245,240,.08); }
.btn--ghostNight { border: 2px solid rgba(246,245,240,.3); color: var(--branco); }
.btn--ghostNight:hover { border-color: var(--amarelo); color: var(--amarelo); }
.btn--glow { box-shadow: 0 4px 0 0 #000, 0 0 60px 8px rgba(255,194,14,.25); }
.btn--glow:hover { box-shadow: 0 7px 0 0 #000, 0 0 80px 14px rgba(255,194,14,.35); }
.btn__arrow { transition: transform .25s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--vinho);
  margin-bottom: 1.4rem;
}
.eyebrow--onDeep { color: var(--amarelo); }

/* ============ HEADER ============ */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad-x);
  transition: background-color .35s, box-shadow .35s, padding .35s;
}
.header.is-scrolled {
  background: rgba(237,235,228,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(20,33,26,.12);
}
.header.is-scrolled .header__nav a { color: var(--tinta); }

/* ---- logo oficial ----
   Dois arquivos da mesma arte: a negativa (asa e "LOGÍSTICA" em claro) sobre
   fundo escuro e a original sobre fundo claro. As letras e as cores da marca
   são as mesmas nas duas. */
.header__logo {
  display: grid; /* as duas versões ocupam a mesma célula, sem distorcer */
  justify-items: start;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.header__logo:hover { transform: translateY(-2px); }
.header__logo img {
  grid-area: 1 / 1;
  height: clamp(2.8rem, 4vw, 3.6rem);
  width: auto;
  display: block;
  transition: opacity .35s;
}
.header__logo .logo--escura { opacity: 0; }
.header.is-scrolled .logo--clara { opacity: 0; }
.header.is-scrolled .logo--escura { opacity: 1; }

.footer__logo { height: 2.4rem; width: auto; display: block; }
.header__nav { display: flex; gap: 1.8rem; }
.header__nav a {
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(246,245,240,.85);
  transition: color .25s;
}
.header__nav a:hover { color: var(--amarelo); }
.header__cta { font-size: .8rem; padding: .7em 1.2em; }

/* ============ HUD / ODOMETRO ============ */

.hud {
  position: fixed;
  left: clamp(.8rem, 2vw, 1.6rem);
  bottom: clamp(.8rem, 2vw, 1.6rem);
  z-index: 40;
  background: var(--asfalto);
  color: var(--branco);
  border: 1px solid rgba(246,245,240,.18);
  border-radius: .7rem;
  padding: .7rem .9rem .6rem;
  font-family: var(--font-mono);
  min-width: 8.2rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s;
  pointer-events: none;
}
.hud.is-on { opacity: 1; transform: none; }
.hud__km { display: flex; align-items: baseline; gap: .5rem; }
.hud__label { font-size: .6rem; letter-spacing: .2em; color: rgba(246,245,240,.55); }
.hud__value { font-size: 1.35rem; font-weight: 700; color: var(--amarelo); font-variant-numeric: tabular-nums; }
.hud__bar { height: 3px; background: rgba(246,245,240,.15); border-radius: 2px; margin: .5rem 0 .4rem; overflow: hidden; }
.hud__fill { display: block; height: 100%; width: 0%; background: var(--amarelo); border-radius: 2px; }
.hud__route { font-size: .58rem; letter-spacing: .22em; color: rgba(246,245,240,.5); }

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--asfalto);
  display: flex;
  overflow: hidden;
}
/* vídeo de fundo: o .hero__frame por cima faz o escurecimento */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero__frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(1.2rem, 2.5vh, 2rem);
  padding: clamp(6rem, 11vh, 7.5rem) var(--pad-x) clamp(2rem, 5vh, 3rem);
  background:
    /* faixa do topo: mantém o menu legível sobre o céu */
    linear-gradient(180deg, rgba(12,9,7,.82) 0%, transparent 22%),
    /* lado do texto mais fechado que o lado da imagem */
    linear-gradient(90deg, rgba(22,17,13,.5) 0%, transparent 62%),
    radial-gradient(110% 80% at 82% -8%, rgba(163,23,3,.42), transparent 58%),
    linear-gradient(180deg, rgba(22,17,13,.46) 0%, rgba(22,17,13,.66) 42%, rgba(22,17,13,.94) 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero__top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .8rem; }
.hero__plates { display: inline-flex; flex-wrap: wrap; gap: .6rem; }

/* ---- card de oportunidade do Grupo VIP, dentro do hero ---- */
.hero-vip {
  margin-left: auto;
  /* recuado da borda direita: puxa o card para perto do título */
  margin-right: clamp(0rem, 8vw, 9rem);
  width: min(22rem, 100%);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.05em 1.25em;
  border-radius: .9rem;
  background: rgba(22,17,13,.55);
  border: 1.5px solid rgba(255,179,0,.45);
  backdrop-filter: blur(6px);
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, background-color .25s;
}
.hero-vip:hover {
  transform: translateY(-2px);
  border-color: var(--amarelo);
  background: rgba(22,17,13,.75);
}
.hero-vip__head {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-vip__label { margin-left: .1rem; }
.hero-vip__dot {
  position: relative;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--amarelo);
  flex: none;
}
.hero-vip__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--amarelo);
  animation: heroVipPing 2s ease-out infinite;
}
@keyframes heroVipPing {
  0% { transform: scale(1); opacity: .8; }
  75%, 100% { transform: scale(2.6); opacity: 0; }
}
.hero-vip__label {
  font-family: var(--font-mono);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  /* amarelo puxado para o claro + halo: o rótulo é o que chama primeiro */
  color: #FFD84A;
  text-shadow:
    0 0 10px rgba(250,189,4,.65),
    0 0 26px rgba(250,189,4,.35);
}
.hero-vip__arrow { margin-left: auto; color: var(--amarelo); transition: transform .25s; }
.hero-vip:hover .hero-vip__arrow { transform: translateX(3px); }
.hero-vip__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-top: .2rem;
}
.hero-vip__perks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  color: rgba(250,248,242,.8);
}
.hero-vip__perks .dot { width: .38rem; height: .38rem; flex: none; }
.hero-vip__perks--lead {
  font-size: .96rem;
  font-weight: 700;
  color: rgba(250,248,242,.96);
}
.hero-vip__perks--lead .dot { width: .45rem; height: .45rem; background: var(--amarelo); }

.hero__title {
  font-weight: 900;
  font-variation-settings: var(--wide);
  font-size: clamp(2.4rem, 8vw, 7rem);
  line-height: .92;
  letter-spacing: -.015em;
  color: var(--branco);
  text-transform: uppercase;
}
.hero__title em {
  color: var(--amarelo);
  font-style: italic;
  font-variation-settings: "wdth" 100;
}
.line { display: block; overflow: hidden; padding-top: .12em; margin-top: -.12em; }
.line--indent { padding-left: clamp(0rem, 6vw, 6rem); }
.line__inner { display: inline-block; will-change: transform; }

.hero__dest {
  max-width: 34rem;
  border-top: 1px solid rgba(246,245,240,.25);
  padding-top: 1rem;
  display: grid;
  gap: .45rem;
}
.dest-row {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  color: var(--branco);
  font-variation-settings: "wdth" 105;
  font-weight: 600;
  font-size: clamp(.85rem, 1.4vw, 1rem);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dest-row__arrow { color: var(--amarelo); }
.dest-row__dots { flex: 1; border-bottom: 2px dotted rgba(246,245,240,.35); transform: translateY(-4px); }
.dest-row__km { font-family: var(--font-mono); font-size: .8em; color: var(--amarelo); }

.hero__sub {
  max-width: 32rem;
  color: rgba(246,245,240,.82);
  font-size: clamp(.95rem, 1.3vw, 1.05rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__road {
  margin-top: .5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.road-dashes {
  flex: 1;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--amarelo) 0 34px, transparent 34px 58px);
  border-radius: 3px;
  animation: dashMove 1.6s linear infinite;
}
@keyframes dashMove { to { background-position: -58px 0; } }
.hero__scrollcue {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246,245,240,.6);
  white-space: nowrap;
}

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

/* ============ SECOES ============ */

.section {
  position: relative;
  display: flex;
  padding: clamp(5rem, 12vh, 8.5rem) var(--pad-x);
}
.section--light { background: var(--concreto); }
.section--deep {
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(255,179,0,.06), transparent 55%),
    var(--vinho-profundo);
}

.section__rail {
  width: var(--rail-w);
  flex: none;
  position: relative;
  display: flex;
  justify-content: center;
}
.rail-line {
  position: absolute;
  inset: -1rem auto -1rem 50%;
  width: 0;
  border-left: 3px dashed rgba(20,33,26,.22);
}
.section__rail--onDeep .rail-line { border-color: rgba(250,248,242,.22); }
.rail-marker {
  position: sticky;
  top: 45vh;
  align-self: flex-start;
  transform: rotate(-90deg);
  z-index: 2;
}

.section__content { flex: 1; max-width: 68rem; }
.section__content--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.section__content--center {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.statement {
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  font-size: clamp(1.7rem, 3.8vw, 3.3rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -.01em;
  max-width: 30ch;
}
.statement span { display: block; }
.statement em { color: var(--vinho); font-variation-settings: "wdth" 96; }
.statement .statement--amarelo { display: inline; color: var(--amarelo); font-style: normal; }
.statement--tight { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.statement--onDeep { color: var(--branco); }
.statement--onDeep em { color: var(--amarelo); }
.statement--night { color: var(--branco); font-size: clamp(2.2rem, 5.5vw, 4.6rem); }
.statement--night em { color: var(--amarelo); }

.section__body {
  max-width: 38rem;
  margin-top: 1.6rem;
  font-size: clamp(.98rem, 1.3vw, 1.1rem);
  color: var(--tinta-suave);
}
.section__body--onDeep { color: rgba(250,248,242,.78); }
.section__body--night { color: rgba(246,245,240,.7); margin-top: 0; }

/* ============ STATS ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: clamp(3rem, 7vh, 5rem);
  border-top: 3px solid var(--tinta);
  padding-top: 2rem;
}
.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--vinho);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat__plus { color: var(--amarelo); -webkit-text-stroke: 1.5px var(--tinta); }
.stat__label {
  display: block;
  margin-top: .7rem;
  font-size: .85rem;
  color: var(--tinta-suave);
  max-width: 16rem;
}

/* ============ FAIXAS / LANES ============ */

.lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.lane {
  background: var(--branco);
  border: 2px solid var(--tinta);
  border-radius: 1rem;
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  min-height: 19rem;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background-color .3s;
}
.lane:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 0 0 var(--vinho);
}
.lane__num {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .24em;
  color: var(--tinta-suave);
  border-bottom: 2px dashed var(--concreto-2);
  padding-bottom: .8rem;
}
.lane__title {
  font-weight: 800;
  font-variation-settings: var(--wide);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  text-transform: uppercase;
}
.lane__desc { font-size: .93rem; color: var(--tinta-suave); flex: 1; }
.lane__cta {
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--vinho);
  display: inline-flex;
  gap: .5em;
  align-items: center;
}
.lane__cta span { transition: transform .25s; }
.lane__cta:hover span { transform: translateX(4px); }
.lane__cta:hover { color: var(--tinta); }

/* ============ ROTAS / MAPA ============ */

.rotas__list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: .8rem;
  color: rgba(246,245,240,.85);
  font-size: .95rem;
}
.rotas__list li { display: flex; align-items: center; gap: .8rem; }
.dot {
  width: .55rem; height: .55rem;
  background: var(--amarelo);
  border-radius: 50%;
  flex: none;
}

.rotas__map { position: relative; }
.rotas__map svg { width: 100%; height: auto; display: block; overflow: visible; }

.uf {
  fill: rgba(246,245,240,.07);
  stroke: rgba(246,245,240,.42);
  stroke-width: 1;
  stroke-linejoin: round;
}
.uf-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  fill: rgba(246,245,240,.78);
  text-anchor: middle;
  dominant-baseline: central;
  letter-spacing: .04em;
  /* contorno na cor do fundo: a sigla continua legível sobre as rotas */
  paint-order: stroke fill;
  stroke: var(--vinho-profundo);
  stroke-width: 3.5px;
  stroke-linejoin: round;
}
.uf-label--out { font-size: 12px; fill: rgba(246,245,240,.6); }
.uf-leader { stroke: rgba(246,245,240,.3); stroke-width: 1; }
.route {
  fill: none;
  stroke: var(--amarelo);
  stroke-width: 2.2;
  stroke-dasharray: 5 7;
  stroke-linecap: round;
  opacity: .95;
}
.city { fill: var(--branco); }
.city--hub {
  fill: var(--amarelo);
  stroke: var(--vinho-profundo);
  stroke-width: 3;
  animation: pulse 2.2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes pulse { 50% { transform: scale(1.35); } }
.rotas__caption {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(246,245,240,.5);
  text-align: right;
}

/* ============ CLIENTES ============ */

.section--clientes { flex-direction: column; padding-bottom: clamp(4rem, 10vh, 7rem); }
.section--clientes .section__content { margin-left: var(--rail-w); }
.section--clientes .section__rail {
  position: absolute;
  inset: 0 auto 0 var(--pad-x);
  width: var(--rail-w);
}

/* ============ FROTA (esteira de fotos) ============ */

.section--frota { flex-direction: column; }
.section--frota .section__content { margin-left: var(--rail-w); }
.section--frota .section__rail {
  position: absolute;
  inset: 0 auto 0 var(--pad-x);
  width: var(--rail-w);
}
.frota {
  margin-top: clamp(1rem, 3vh, 2rem);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.frota__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.frota:hover .frota__track { animation-play-state: paused; }
.frota__set {
  display: flex;
  gap: clamp(.8rem, 1.6vw, 1.3rem);
  padding-right: clamp(.8rem, 1.6vw, 1.3rem);
  list-style: none;
}
.frota__item {
  position: relative;
  flex: none;
  width: clamp(17rem, 26vw, 24rem);
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--concreto-2);
  border: 2px solid var(--tinta);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.frota__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 0 0 var(--vinho);
}
.frota__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.frota__item:hover img { transform: scale(1.04); }
.frota__tag {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tinta);
  background: var(--amarelo);
  border: 1.5px solid var(--tinta);
  border-radius: .4em;
  padding: .35em .7em;
}

/* Esteira de logos dos clientes */
.belt {
  margin-top: clamp(2rem, 6vh, 3.5rem);
  overflow: hidden;
  /* as pontas somem em vez de cortar seco */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.belt__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.belt:hover .belt__track { animation-play-state: paused; }
.belt__set {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-right: clamp(1rem, 2.4vw, 2rem);
  list-style: none;
}
.belt__item {
  flex: none;
  width: clamp(9.5rem, 15vw, 12.5rem);
  height: clamp(5.5rem, 8vw, 6.75rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(28,21,16,.1);
  border-radius: 1rem;
  box-shadow: 0 2px 0 0 rgba(28,21,16,.07);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.belt__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 0 var(--vinho);
}
.belt__item img {
  /* moldura comum + escala por logo (--k): todos ficam com o mesmo peso óptico */
  width: 150px;
  height: 64px;
  object-fit: contain;
  transform: scale(var(--k, 1));
}

/* ============ NOITE / CTA ============ */

.section--night {
  background: var(--asfalto);
  min-height: 92svh;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}
.night__glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background: radial-gradient(60% 55% at 50% 100%, rgba(255,194,14,.16), transparent 70%);
  pointer-events: none;
}
.night__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.night__road { width: 100%; }
.road-dashes--night {
  background-image: repeating-linear-gradient(90deg, rgba(255,194,14,.85) 0 34px, transparent 34px 58px);
  animation-duration: 1.1s;
}

/* ============ FOOTER ============ */

.footer {
  background: var(--asfalto);
  color: var(--branco);
  padding: clamp(2.5rem, 6vh, 4rem) var(--pad-x) 1.6rem;
  border-top: 1px solid rgba(246,245,240,.12);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer__brand { display: flex; align-items: center; gap: .8rem; }
.footer__col { display: grid; gap: .55rem; align-content: start; }
.footer__label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(246,245,240,.45);
  margin-bottom: .3rem;
}
.footer__col a {
  text-decoration: none;
  font-size: .92rem;
  color: rgba(246,245,240,.85);
  width: fit-content;
}
.footer__col a:hover { color: var(--amarelo); }
.footer__note {
  border-top: 1px solid rgba(246,245,240,.12);
  padding-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  color: rgba(246,245,240,.45);
}

/* ============ ANIMACAO (estados iniciais so com JS ativo) ============ */

.js .hero-anim { opacity: 0; transform: translateY(24px); }
.js .line__inner { transform: translateY(110%); }
.js .reveal { opacity: 0; transform: translateY(30px); }

/* ============ GRUPO VIP / PAINEL LED ============ */

.vip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.vip__body { margin-top: 0; }
.vip__list {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: .8rem;
  font-size: .95rem;
  color: var(--tinta-suave);
}
.vip__list li { display: flex; align-items: center; gap: .8rem; }
.vip__actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.vip__note {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}
/* caminho secundário: quem ainda tem dúvida fala antes de pagar */
.vip__duvidas {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--vinho);
  transition: color .25s;
}
.vip__duvidas span { transition: transform .25s; }
.vip__duvidas:hover { color: var(--tinta); }
.vip__duvidas:hover span { transform: translateX(4px); }

/* ---- botão principal do grupo VIP ---- */
.btn-vip {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: 1.05rem 1.6rem;
  border: 2px solid var(--tinta);
  border-radius: .8rem;
  background: linear-gradient(135deg, var(--zap-claro), var(--zap) 58%, var(--zap-fundo));
  color: var(--tinta);
  text-decoration: none;
  box-shadow: 0 5px 0 0 var(--tinta), 0 14px 34px -14px rgba(37,211,102,.95);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.btn-vip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 0 var(--tinta), 0 20px 44px -14px rgba(37,211,102,1);
}
.btn-vip:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 0 var(--tinta), 0 10px 26px -14px rgba(37,211,102,.85);
}

/* halo pulsante atrás do botão */
.btn-vip__glow {
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.6);
  animation: vipPulse 2.4s ease-out infinite;
}
@keyframes vipPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* brilho que varre a superfície */
.btn-vip::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 28%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  transform: rotate(18deg);
  animation: vipShine 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes vipShine {
  0%, 62% { left: -35%; }
  92%, 100% { left: 115%; }
}

.btn-vip__wa {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--tinta);
  flex: none;
}
.btn-vip__text { display: grid; gap: .1rem; }
.btn-vip__text strong {
  font-variation-settings: "wdth" 110;
  font-weight: 800;
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.1;
}
.btn-vip__text small {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .72;
}
.btn-vip__arrow {
  font-size: 1.1rem;
  transition: transform .25s;
}
.btn-vip:hover .btn-vip__arrow { transform: translateX(4px); }

.pmv { perspective: 900px; }
.pmv__frame {
  background: #26211C;
  border: 3px solid #3A332C;
  border-radius: 1.1rem;
  padding: clamp(.8rem, 1.6vw, 1.2rem);
  box-shadow: 0 18px 40px -18px rgba(28,21,16,.55);
  transform: rotateY(-4deg) rotateX(1.5deg);
}
.pmv__screen {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,179,0,.06), transparent 70%),
    #0B0906;
  border-radius: .6rem;
  padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.2rem, 2.2vw, 2rem);
  display: grid;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}
.pmv__screen::after {
  /* grade de LEDs */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.55) 1px, transparent 1.4px);
  background-size: 5px 5px;
  pointer-events: none;
}
.pmv__label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .26em;
  color: rgba(255,179,0,.5);
}
.pmv__line {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ambar);
  text-shadow: 0 0 10px rgba(255,179,0,.55), 0 0 32px rgba(255,179,0,.25);
  min-height: 2.7em;
}
.pmv__posts {
  margin-top: .9rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  text-align: right;
}
.pmv__posts::after { content: "atualizado diariamente pela equipe"; }

/* Modo estatico (captura/reduced-motion): pagina inteira em fluxo. */
.static .hero { min-height: auto; }
.static .section--night { min-height: auto; }
.static .hero__frame { padding-top: 7rem; }
.static .rail-marker { position: absolute; top: 45%; }

/* ============ RESPONSIVO ============ */

@media (max-width: 600px) {
  .hero__title {
    font-variation-settings: "wdth" 100;
    font-size: clamp(2rem, 11.5vw, 3.4rem);
  }
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .section__rail { display: none; }
  .section--clientes .section__content { margin-left: 0; }
  .section--frota .section__content { margin-left: 0; }
  .frota__item { width: 16rem; }
  .section__content--split { grid-template-columns: 1fr; }
  .vip { grid-template-columns: 1fr; }
  .belt__item { width: 8.5rem; height: 5rem; }
  .belt__item img { width: 108px; height: 46px; }
  .pmv__frame { transform: none; }
  .hero__plates { margin-left: 0; }
  .hero-vip { margin-left: 0; margin-right: 0; width: 100%; }
  .stats { grid-template-columns: 1fr; gap: 1.6rem; }
  .lanes { grid-template-columns: 1fr; }
  .lane { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .hud { display: none; }
  .hero__scrollcue { display: none; }
}

/* ============ MOVIMENTO REDUZIDO ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .hero-anim, .js .reveal { opacity: 1; transform: none; }
  .js .line__inner { transform: none; }
  .btn-vip::after, .btn-vip__glow { display: none; }
  .hero-vip__dot::after { display: none; }
}
