@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════ */
:root {
  --preto:    #070707;
  --asfalto:  #0E0E0E;
  --chumbo:   #171717;
  --borda:    #262626;
  --lima:     #A6CE39;
  --lima-esc: #7FA02A;
  --branco:   #FFFFFF;
  --cinza:    #8C8C8C;
  --cinza-cl: #C4C4C4;

  --display: 'Anton', 'Rajdhani', sans-serif;
  --ui:      'Rajdhani', sans-serif;
  --corpo:   'Inter', -apple-system, sans-serif;

  /* enquadramento do video/poster do hero.
     Um lugar so pra corrigir se o assunto ficar torto no frame. */
  --foco-x:    50%;
  --foco-zoom: 1.14;
  --foco-desl: 5%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--preto);
}

body {
  font-family: var(--corpo);
  background: var(--preto);
  color: var(--branco);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--lima); color: var(--preto); }

:focus-visible {
  outline: 3px solid var(--lima);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════
   BARRA DE PROGRESSO
   ═══════════════════════════════════════ */
.progresso {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--lima);
  z-index: 100;
  box-shadow: 0 0 12px rgba(166,206,57,0.8);
  transition: width 0.1s linear;
}

/* ═══════════════════════════════════════
   TOPO
   ═══════════════════════════════════════ */
.topo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
/* depois que o hero sai, o topo vira barra solida:
   sem isso o texto da pagina passava por baixo e sujava a marca */
.topo.encolhido {
  background: rgba(7,7,7,0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--borda);
  padding: 12px 28px;
}
.marca {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--branco);
}
.marca span { color: var(--lima); }

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--cinza-cl);
}
.pulso {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lima);
  animation: pulsar 2s ease-in-out infinite;
}
@keyframes pulsar {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(166,206,57,0.7); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 8px rgba(166,206,57,0); }
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-video,
.chuva,
.hero-veu,
.hero-vinheta {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  object-fit: cover;
  object-position: var(--foco-x) center;
  transform: scale(var(--foco-zoom)) translateX(var(--foco-desl));
  filter: saturate(0.75) contrast(1.15) brightness(0.82);
  z-index: -3;
}
.chuva { z-index: -2; pointer-events: none; }
.hero-veu {
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(7,7,7,0.55) 0%,
      rgba(7,7,7,0.25) 32%,
      rgba(7,7,7,0.82) 72%,
      var(--preto) 100%);
}
.hero-vinheta {
  z-index: -1;
  background: radial-gradient(ellipse at 52% 58%, transparent 30%, rgba(7,7,7,0.75) 100%);
}

.hero-conteudo {
  position: relative;
  padding: 104px 28px 40px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero-tarja {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--lima);
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(166,206,57,0.35);
  background: rgba(166,206,57,0.06);
  backdrop-filter: blur(4px);
}
.tarja-sep { color: rgba(166,206,57,0.4); }

.hero-titulo {
  font-family: var(--display);
  font-size: clamp(2.9rem, 9vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.hero-titulo .linha {
  display: block;
  overflow: hidden;
}
.hero-titulo .linha > * { display: block; }
.hero-titulo .realce {
  color: var(--lima);
  text-shadow: 0 0 40px rgba(166,206,57,0.35);
}

/* entrada por linha */
.hero-titulo .linha {
  opacity: 0;
  transform: translateY(0.9em) skewY(3deg);
  animation: subir 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-titulo .linha[data-atraso="0"] { animation-delay: 0.15s; }
.hero-titulo .linha[data-atraso="1"] { animation-delay: 0.28s; }
.hero-titulo .linha[data-atraso="2"] { animation-delay: 0.41s; }
.hero-titulo .linha[data-atraso="3"] { animation-delay: 0.54s; }
@keyframes subir {
  to { opacity: 1; transform: translateY(0) skewY(0); }
}

.hero-texto {
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  color: var(--cinza-cl);
  max-width: 46ch;
  margin-bottom: 34px;
  opacity: 0;
  animation: aparecer 0.8s ease 0.75s forwards;
}
@keyframes aparecer { to { opacity: 1; } }

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--lima);
  color: var(--preto);
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  padding: 17px 30px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: aparecer 0.8s ease 0.9s forwards;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.cta:hover { background: var(--branco); transform: translateY(-2px); }
.cta:hover::before { transform: translateX(120%); }
.cta-seta { animation: quicar 1.8s ease-in-out infinite; }
@keyframes quicar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

.hero-rodape {
  position: relative;
  padding: 0 28px 22px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.tira {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  list-style: none;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  color: rgba(255,255,255,0.4);
}
.tira li { display: flex; align-items: center; gap: 18px; }
.tira li + li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--lima);
  transform: rotate(45deg);
}

/* ═══════════════════════════════════════
   FAIXAS CRUZADAS
   ═══════════════════════════════════════ */
.faixas {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--preto);
}
.faixa {
  position: absolute;
  left: -8%;
  width: 116%;
  overflow: hidden;
  white-space: nowrap;
}
.faixa-a {
  top: 34px;
  transform: rotate(-3.2deg);
  background: var(--lima);
  border-block: 2px solid var(--lima);
}
.faixa-b {
  top: 104px;
  transform: rotate(2.4deg);
  background: var(--preto);
  border-block: 2px solid var(--borda);
}
.faixa-trilho {
  display: inline-flex;
  animation: correr 26s linear infinite;
}
.faixa-b .faixa-trilho {
  animation-duration: 34s;
  animation-direction: reverse;
}
.faixa-trilho span {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  padding: 11px 0;
  padding-right: 28px;
  text-transform: uppercase;
}
.faixa-a .faixa-trilho span { color: var(--preto); }
.faixa-b .faixa-trilho span { color: var(--branco); }
@keyframes correr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   LINHA DE PRODUTOS
   ═══════════════════════════════════════ */
.linha-produtos {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 28px 100px;
}
.secao-cabeca { margin-bottom: 52px; }
.eyebrow {
  display: block;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--lima);
  margin-bottom: 14px;
}
.secao-titulo {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.secao-titulo .realce { color: var(--lima); }

.grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: var(--borda);
  border: 1px solid var(--borda);
}

.peca {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--asfalto);
  overflow: hidden;
  transition: background 0.3s ease;
}
.peca::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  background: var(--lima);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.peca:hover { background: var(--chumbo); }
.peca:hover::after { width: 100%; }

.peca-num {
  position: absolute;
  top: 16px; right: 20px;
  z-index: 3;
  font-family: var(--display);
  font-size: 2.6rem;
  color: rgba(255,255,255,0.09);
  transition: color 0.3s ease;
}
.peca:hover .peca-num { color: rgba(166,206,57,0.5); }

.peca-visual {
  position: relative;
  overflow: hidden;
}
.peca-foto {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.1) brightness(0.86);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}
.peca:hover .peca-foto { transform: scale(1.05); filter: saturate(1) contrast(1.12) brightness(1); }
/* varredura lima no hover */
.peca-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(166,206,57,0.16) 50%, transparent 100%);
  transform: translateY(-100%);
  pointer-events: none;
}
.peca:hover .peca-scan { animation: varrer 0.9s ease forwards; }
@keyframes varrer {
  to { transform: translateY(100%); }
}

.peca-info { padding: 24px 22px 28px; }
.peca-info h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.peca-info p {
  font-size: 0.92rem;
  color: var(--cinza);
  margin-bottom: 20px;
  max-width: 34ch;
}
.peca-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--lima);
}
.peca-cta em {
  font-style: normal;
  transition: transform 0.25s ease;
}
.peca-cta::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  height: 1px; width: 0;
  background: currentColor;
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1);
}
.peca:hover .peca-cta { color: var(--branco); }
.peca:hover .peca-cta::after { width: 100%; }
.peca:hover .peca-cta em { transform: translateX(6px); }

/* ═══════════════════════════════════════
   MANIFESTO
   ═══════════════════════════════════════ */
.manifesto {
  position: relative;
  padding: 110px 28px 120px;
  border-top: 1px solid var(--borda);
  overflow: hidden;
}
.manifesto-fundo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.manifesto-fundo span {
  font-family: var(--display);
  font-size: clamp(5rem, 20vw, 18rem);
  color: rgba(255,255,255,0.019);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.manifesto-conteudo {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}
.manifesto-linha {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--cinza-cl);
}
.manifesto-linha.grande {
  color: var(--lima);
  font-size: clamp(2.1rem, 6.4vw, 4.8rem);
  margin-top: 8px;
  text-shadow: 0 0 50px rgba(166,206,57,0.28);
}
.manifesto-remate {
  display: flex;
  gap: 22px;
  margin-top: 46px;
  max-width: 640px;
}
.risco {
  width: 3px;
  flex-shrink: 0;
  background: var(--lima);
}
.manifesto-remate p {
  font-size: 0.99rem;
  color: var(--cinza);
}

/* ═══════════════════════════════════════
   REVELAR NO SCROLL
   ═══════════════════════════════════════ */
.revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.revelar.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RODAPÉ
   ═══════════════════════════════════════ */
.rodape {
  border-top: 1px solid var(--borda);
  padding: 34px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}
.rodape-marca {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.rodape-marca span { color: var(--lima); }
.rodape-nota {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--cinza);
}

/* ═══════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════ */
@media (max-width: 860px) {
  .topo { padding: 14px 20px; }
  .topo.encolhido { padding: 10px 20px; }
  .status { font-size: 0.62rem; letter-spacing: 0.1em; }
  .hero-conteudo { padding: 96px 20px 28px; }
  .tira { font-size: 0.6rem; letter-spacing: 0.18em; gap: 0 12px; }
  .tira li { gap: 12px; }
  .hero-rodape { padding: 0 20px 18px; }
  .faixas { height: 150px; }
  .faixa-a { top: 22px; }
  .faixa-b { top: 78px; }
  .faixa-trilho span { font-size: 1.15rem; }
  .linha-produtos { padding: 64px 20px 72px; }
  .manifesto { padding: 80px 20px 90px; }
  .grade { grid-template-columns: 1fr; }
}

/* no retrato o corte e muito mais agressivo: reenquadra em vez de esticar */
@media (max-width: 767px) {
  :root { --foco-x: 34%; --foco-zoom: 1; --foco-desl: 0%; }
  .hero { background: var(--preto) url('imagens/hero-poster.jpg') var(--foco-x) center/cover no-repeat; }
}

/* ═══════════════════════════════════════
   MOVIMENTO REDUZIDO
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .hero { background: var(--preto) url('imagens/hero-poster.jpg') var(--foco-x) center/cover no-repeat; }
  .chuva { display: none; }
  .faixa-trilho { animation: none; }
  .pulso { animation: none; }
  .cta-seta { animation: none; }
  .hero-titulo .linha,
  .hero-texto,
  .cta { opacity: 1; transform: none; animation: none; }
  .revelar { opacity: 1; transform: none; transition: none; }
  .peca-foto, .peca-cta em, .peca::after { transition: none; }
  .peca:hover .peca-scan { animation: none; }
}
