/* VANGART — Home institucional
   Layouts aprovados: 3a Riviera Cinema (desktop) · 4a (mobile) */

:root {
  --linho: #F2EEE4;
  --tinta: #1C1A16;
  --creme: #F7F4EC;
  --noite: #211E19;
  --hero-base: #14130F;
  --cinza-quente: #71695A;
  --linha: #DFD9CC;
  --hover-claro: #6B675F;
  --gutter: clamp(20px, 3.9vw, 56px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linho);
  color: var(--tinta);
  font-family: Roboto, sans-serif;
}

a {
  text-decoration: none;
  transition: color 150ms ease, opacity 150ms ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: min(100svh, 56.25vw);
  min-height: 520px;
  background: var(--hero-base);
  overflow: hidden;
}

.hero-fallback,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,8,0.38) 0%,
    rgba(10,10,8,0) 30%,
    rgba(10,10,8,0) 52%,
    rgba(10,10,8,0.44) 88%,
    rgba(10,10,8,0.30) 100%);
  pointer-events: none;
}

/* ---------- Nav ---------- */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px var(--gutter);
  color: var(--creme);
}

.nav-links {
  display: flex;
  gap: 36px;
  font: 400 12px/1 Roboto, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-right { justify-content: flex-end; }

.nav-links a { color: var(--creme); }
.nav-links a:hover { opacity: 0.75; }

.nav-logo img {
  height: 24px;
  display: block;
}

.menu-btn { display: none; }

/* ---------- Conteúdo do hero ---------- */

.hero-content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 64px;
  color: var(--creme);
  animation: hero-in 400ms ease both;
}

@keyframes hero-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.kicker {
  font: 400 12px/1 Roboto, sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.75);
}

.hero h1 {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-stretch: 110%;
  font-weight: 220;
  font-size: clamp(44px, 5.28vw, 76px);
  line-height: 1.04;
  letter-spacing: 0.002em;
  color: var(--creme);
  text-shadow: 0 1px 24px rgba(0,0,0,0.18);
}

.cta {
  color: var(--creme);
  white-space: nowrap;
  font: 500 12px/1 Roboto, sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(247,244,236,0.85);
}

.cta:hover { opacity: 0.75; }

/* ---------- Manifesto ---------- */

.manifesto {
  padding: 128px var(--gutter);
  display: flex;
  justify-content: center;
}

.manifesto p {
  margin: 0;
  max-width: 880px;
  text-align: center;
  font-family: Archivo, sans-serif;
  font-stretch: 112%;
  font-weight: 300;
  font-size: clamp(24px, 2.64vw, 38px);
  line-height: 1.32;
  color: var(--tinta);
}

/* ---------- Contato ---------- */

.contato {
  background: var(--noite);
  color: var(--linho);
  padding: 112px var(--gutter) 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.contato-symbol {
  height: 160px;
  display: block;
}

.contato-text {
  margin: 0;
  text-align: center;
  font: 300 16px/1.6 Roboto, sans-serif;
  color: rgba(242,238,228,0.72);
}

.contato-instagram {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contato-label {
  font: 400 11px/1 Roboto, sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242,238,228,0.5);
}

.contato-instagram a {
  font-family: Archivo, sans-serif;
  font-stretch: 108%;
  font-weight: 300;
  font-size: 24px;
  color: var(--linho);
}

.contato-instagram a:hover { opacity: 0.75; }

/* ---------- Footer ---------- */

.footer {
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 400 11.5px/1 Roboto, sans-serif;
  letter-spacing: 0.14em;
  color: var(--cinza-quente);
}

.footer-motto {
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-copy-mobile { display: none; }

/* ---------- Mobile (≤768px) — layout 4a ---------- */

@media (max-width: 768px) {
  .hero {
    height: 100svh;
    min-height: 640px;
  }

  .nav {
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
  }

  .nav-links { display: none; }

  .nav-logo img { height: 18px; }

  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 12px 2px;
    min-height: 44px;
  }

  .menu-btn span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--creme);
  }

  .hero-content {
    bottom: 40px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 22px;
  }

  .hero-text { gap: 22px; }

  .kicker {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.06;
  }

  .cta {
    font-size: 11.5px;
    letter-spacing: 0.24em;
    padding: 14px 0 10px;
  }

  .manifesto { padding: 88px 24px; }

  .manifesto p {
    font-size: 24px;
    line-height: 1.4;
  }

  .contato {
    padding: 80px 24px 72px;
    gap: 36px;
  }

  .contato-symbol { height: 110px; }

  .contato-text { font-size: 15px; }

  .contato-instagram { gap: 10px; }

  .contato-label { font-size: 10.5px; }

  .contato-instagram a {
    font-size: 22px;
    padding: 8px 12px;
    margin: -8px -12px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    padding: 22px 24px;
    font-size: 10.5px;
    line-height: 1.5;
  }

  .footer-copy,
  .footer-country { display: none; }

  .footer-copy-mobile { display: block; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
}
