/* =========================================================
   ClaxClub — página de espera (em construção)
   HTML/CSS estático, sem dependências de build.
   Cores, tipografia e espaçamentos seguem o design system.
   ========================================================= */

:root {
  /* Cores */
  --clax-ink:        #06170E;  /* verde base: fundo e rodapé */
  --clax-cream:      #F3F0E7;  /* única superfície clara */
  --clax-gold:       #C69A4C;  /* único acento */
  --clax-gold-hi:    #E4C783;  /* hover, números, ênfase */

  --text-body:       rgba(243, 240, 231, 0.90);
  --text-muted:      rgba(243, 240, 231, 0.68);
  --text-faint:      rgba(243, 240, 231, 0.60);

  --line-gold:       rgba(198, 154, 76, 0.30);
  --line-light:      rgba(255, 255, 255, 0.10);

  /* Layout */
  --maxw:            1200px;
  --gutter:          clamp(20px, 5vw, 64px);

  /* Tipografia */
  --font-head:       'Merriweather', Georgia, serif;
  --font-body:       'Manrope', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--clax-ink);
  color: var(--clax-cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--clax-gold); }
a:hover { color: var(--clax-gold-hi); }

img, video { display: block; }

/* ---------- Estrutura ---------- */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Fundo: o verde ink aparece enquanto o vídeo carrega */
.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--clax-ink);
}

.bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.30;
  filter: grayscale(0.15) contrast(1.02);
  background: var(--clax-ink);
}

/* Stack de proteção: sempre gradiente, nunca cápsula sólida */
.bg__protect {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6, 23, 14, 0.55) 0%,
      rgba(6, 23, 14, 0.35) 40%,
      rgba(6, 23, 14, 0.90) 100%),
    radial-gradient(120% 80% at 50% 0%,
      rgba(198, 154, 76, 0.10),
      transparent 60%);
}

/* ---------- Header ---------- */

.header {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px var(--gutter);
}

.header__logo { display: inline-block; }
.header__logo img { height: 24px; width: auto; }

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

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) var(--gutter);
}

/* Eyebrow: régua de 26px + caixa alta com tracking largo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 22px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clax-gold);
}

.eyebrow__rule {
  width: 26px;
  height: 1px;
  background: var(--clax-gold);
  opacity: 0.7;
}

.hero__title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-wrap: pretty;
}

/* Uma única ênfase em itálico dourado por headline */
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--clax-gold-hi);
}

.hero__body {
  margin: 26px 0 0;
  max-width: 56ch;
  color: var(--text-body);
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------- Chips de redes sociais ---------- */

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 52px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  background: #FFFFFF;
  color: #14261A;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.chip:hover {
  border-color: var(--clax-gold);
  color: #14261A;
  transform: translateY(-2px);
}

.chip__icon { color: var(--clax-gold); }

/* ---------- CTA de aplicação ---------- */

.apply {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 34px;
  border-top: 1px solid var(--line-gold);
}

.apply__note {
  margin: 0;
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 16px 28px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn--gold {
  background: var(--clax-gold);
  color: #06170E;
  border: 1px solid var(--clax-gold);
}

.btn--gold:hover {
  background: var(--clax-gold-hi);
  border-color: var(--clax-gold-hi);
  color: #06170E;
  transform: translateY(-2px);
}

.btn__star { color: #7A5A12; }

.btn:focus-visible,
.chip:focus-visible {
  outline: 2px solid var(--clax-gold-hi);
  outline-offset: 3px;
}

/* ---------- Rodapé ---------- */

.footer {
  position: relative;
  z-index: 2;
  background: var(--clax-ink);
  border-top: 1px solid var(--line-light);
}

.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.footer__logo { height: 40px; width: auto; }
.footer__seal { height: 65px; width: auto; }

/* ---------- Entrada do hero (one-shot, 130ms de stagger) ---------- */

@keyframes claxRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.reveal     { animation: claxRise 0.7s ease both; }
.reveal--2  { animation-delay: 0.13s; }
.reveal--3  { animation-delay: 0.26s; }
.reveal--4  { animation-delay: 0.39s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
