/* ============================================================
   CONFRA GRUPO FAJ 2026 — Landing Page
   Parte 1 condensada em 2 seções (cada uma próxima de 100vh).
   Seção 1 — Hero: logo + chamada + imagem + countdown
   Seção 2 — Detalhes: convite + info + mapa + aviso
   ============================================================ */

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

html {
  background: var(--preto);
  color-scheme: dark;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-texto);
  font-size: 16px;
  line-height: 1.5;
  background: var(--preto);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

/* ================= Supergráfico "GRANDES" ================= */
.super {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--azul);
  line-height: 0.8;
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ============================================================
   CTA / BOTÃO
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--raio-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--t-rapida), color var(--t-rapida), transform var(--t-rapida);
  text-decoration: none;
  white-space: nowrap;
}

.cta--primario {
  background: var(--azul);
  color: var(--branco);
  border-color: var(--azul);
}

.cta--primario:hover,
.cta--primario:focus-visible {
  background: var(--premiacao-3);
  border-color: var(--premiacao-3);
  transform: translateY(-1px);
}

.cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   SEÇÃO 1 — HERO (cabe em ~100vh)
   Grid vertical:
      [ top ]
      [ miolo: logo + chamada  |  imagem ]
      [ countdown + badge data/local ]
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 20px clamp(20px, 3.5vw, 48px) 24px;
  overflow: hidden;
  isolation: isolate;
  gap: clamp(16px, 2.4vw, 32px);
}

.hero__super--tl {
  top: -3vw;
  left: -5vw;
  font-size: clamp(200px, 28vw, 460px);
  transform: rotate(-8deg);
}

.hero__super--br {
  bottom: -8vw;
  right: -6vw;
  font-size: clamp(200px, 26vw, 420px);
  transform: rotate(-8deg);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/graphics/supergrafico-grandes.svg") center / 160% auto no-repeat;
  opacity: 0.045;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Topo: assinatura + chip */
.hero__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero__assinatura img {
  height: clamp(26px, 2.2vw, 34px);
  width: auto;
}

.hero__chip {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border: 1px solid var(--linha);
  border-radius: var(--raio-sm);
  color: var(--texto-suave);
}

.hero__chip strong { color: var(--texto); font-weight: 400; }

/* Miolo: 2 colunas (chamada + mídia) */
.hero__centro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
  min-height: 0;
}

.hero__coluna {
  display: grid;
  gap: clamp(20px, 2.6vw, 36px);
  align-content: center;
  min-width: 0;
}

.hero__logo {
  width: 100%;
  max-width: 640px;
  height: auto;
  max-height: 48vh;
  object-fit: contain;
  object-position: left center;
}

.hero__chamada {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  margin: 0;
  font-size: clamp(32px, 4.6vw, 68px);
  letter-spacing: -0.005em;
  color: var(--texto);
  max-width: 18ch;
}

.hero__chamada em { font-style: normal; color: var(--azul); }

/* Mídia (imagem Zoe) com recuo 2.3 % e aba preta */
.hero__midia {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  width: 100%;
  justify-self: end;
  max-width: 520px;
  background: var(--marinho);
  border-radius: var(--raio-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
}

.hero__midia__frame {
  position: absolute;
  inset: 2.3%;
  border-radius: calc(var(--raio-lg) - 6px);
  overflow: hidden;
  background: #1a1a1a;
  container-type: inline-size;
}

.hero__midia__frame img,
.hero__midia__frame .zoe-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.zoe-placeholder {
  position: relative;
  background: radial-gradient(120% 80% at 30% 20%, #0a1e4d 0%, #00143d 55%, #050b1a 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.zoe-placeholder::before {
  content: "GRANDES";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 42cqw;
  color: var(--azul);
  opacity: 0.32;
  transform: rotate(-8deg);
  line-height: 0.8;
}

.zoe-placeholder__simbolo {
  position: relative;
  width: 44%;
  max-width: 200px;
  filter: drop-shadow(0 10px 30px rgba(36, 88, 255, 0.35));
}

.zoe-placeholder__legenda {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.hero__midia__aba {
  position: absolute;
  left: 20px;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 0;
  height: 34px;
  background: var(--preto);
  border-radius: var(--raio-sm) var(--raio-sm) 0 0;
}

.hero__midia__aba img { height: 14px; width: auto; }

/* Rodapé do hero: countdown horizontal e enxuto */
.hero__rodape {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(16px, 2vw, 32px);
  align-items: end;
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--linha);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 12px);
  max-width: 540px;
}

.countdown__item {
  position: relative;
  padding: 10px 8px 8px;
  border-radius: var(--raio-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--linha);
  text-align: center;
  overflow: hidden;
}

.countdown__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--azul);
}

.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 0.9;
  display: block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.countdown__rot {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

.countdown__status {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  text-transform: uppercase;
  color: var(--azul);
  letter-spacing: 0.04em;
}

.countdown__status[hidden] { display: none; }

.hero__alvo {
  text-align: right;
  display: grid;
  gap: 4px;
  min-width: 180px;
}

.hero__alvo__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

.hero__alvo__valor {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  text-transform: uppercase;
  color: var(--texto);
  line-height: 1;
}

.hero__alvo__valor em { font-style: normal; color: var(--premiacao-4); }

/* ============================================================
   SEÇÃO 2 — DETALHES (convite + info + mapa + aviso)
   ============================================================ */
.detalhes {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(56px, 7vw, 112px) clamp(20px, 4vw, 56px);
  background: var(--preto);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}

.detalhes__super {
  position: absolute;
  z-index: 0;
  color: var(--marinho);
  font-family: var(--font-display);
  font-size: clamp(260px, 40vw, 600px);
  line-height: 0.78;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.01em;
  left: -8vw;
  bottom: -12vw;
  white-space: nowrap;
  transform: rotate(-8deg);
}

.detalhes .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-wrap);
  margin: 0 auto;
}

.detalhes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* ---------- Coluna esquerda: convite --------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--destaque-texto);
  margin: 0 0 20px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--azul);
}

.convite__intro {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1;
  margin: 0 0 clamp(20px, 2.6vw, 32px);
  max-width: 20ch;
  color: var(--texto);
}

.convite__intro em { font-style: normal; color: var(--azul); }

.convite__p {
  font-family: var(--font-texto);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--texto-suave);
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 46ch;
}

.convite__p b { color: var(--texto); font-weight: 600; }

.convite__fecho {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 0.9;
  margin: 0;
  color: var(--texto);
  letter-spacing: -0.005em;
}

.grandes-pessoas { color: var(--azul); display: inline-block; }

.fecho-manuscrito {
  display: block;
  margin-top: clamp(10px, 1.4vw, 18px);
  height: clamp(50px, 6.5vw, 88px);
}

.fecho-manuscrito img { height: 100%; width: auto; }

/* ---------- Coluna direita: info + mapa + aviso ---------- */
.info-card {
  background: var(--marinho);
  border-radius: var(--raio-lg);
  padding: clamp(24px, 2.6vw, 36px);
  display: grid;
  gap: 0;
}

.info-card__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: clamp(18px, 2vw, 24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: clamp(8px, 1vw, 12px);
}

.info-card__titulo {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  margin: 0;
  color: var(--texto);
}

.info-card__titulo em { font-style: normal; color: var(--premiacao-4); }

.info-card__simbolo { height: 28px; width: auto; opacity: 0.9; }

.info-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: clamp(14px, 1.6vw, 18px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-of-type { border-bottom: 0; }

.info-row__icone {
  width: 22px;
  height: 22px;
  stroke: var(--premiacao-4);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-row__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 2px;
  display: block;
}

.info-row__valor {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1;
  color: var(--texto);
  margin: 0;
  text-transform: uppercase;
}

.info-row__sub {
  font-family: var(--font-texto);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 2px 0 0;
}

/* CTA mapa integrado */
.info-card__mapa {
  margin-top: clamp(18px, 2vw, 24px);
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.info-card__mapa__texto {
  font-family: var(--font-texto);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 24ch;
}

/* Aviso compacto embaixo do info-card */
.aviso {
  margin-top: clamp(16px, 2vw, 24px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 24px);
  background: linear-gradient(135deg, rgba(36, 88, 255, 0.08), rgba(36, 88, 255, 0.02));
  border: 1px solid var(--azul);
  border-radius: var(--raio-md);
  position: relative;
  overflow: hidden;
}

.aviso::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--azul);
}

.aviso__badge {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--branco);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  flex: none;
  margin-top: 2px;
}

.aviso__titulo {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1;
  margin: 2px 0 6px;
  color: var(--premiacao-4);
  letter-spacing: 0.08em;
}

.aviso__texto {
  grid-column: 2;
  font-family: var(--font-texto);
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.5;
  color: var(--texto-suave);
  margin: 0;
}

.aviso__texto strong { color: var(--texto); font-weight: 600; }

/* ============================================================
   REVEAL on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-media), transform var(--t-media);
  will-change: opacity, transform;
}

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

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

/* Tablets largos — mantém 2 colunas, só diminui tudo */
@media (max-width: 1200px) {
  .hero__chamada { font-size: clamp(28px, 5vw, 52px); }
  .hero__logo { max-height: 42vh; }
}

/* Tablets / mobile grande — vira coluna única */
@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .hero__centro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__midia {
    max-width: 420px;
    margin: 0 auto;
    justify-self: center;
    aspect-ratio: 4 / 5;
    max-height: none;
  }

  .hero__logo {
    max-height: none;
    object-position: center;
    margin: 0 auto;
  }

  .hero__chamada {
    text-align: center;
    margin: 0 auto;
  }

  .hero__rodape {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero__alvo {
    text-align: center;
    min-width: 0;
  }

  .countdown { max-width: none; }

  .detalhes {
    min-height: 0;
    display: block;
  }

  .detalhes__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .hero { padding: 16px 16px 28px; }
  .hero__chip { display: none; }
  .hero__super--tl { font-size: 180px; }
  .hero__super--br { font-size: 160px; }

  .detalhes { padding: 56px 16px; }

  .countdown { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .countdown__num { font-size: 36px; }
  .countdown__item { padding: 10px 4px 8px; }
  .countdown__rot { font-size: 10px; }

  .info-card__mapa { flex-direction: column; align-items: stretch; }
  .cta { width: 100%; justify-content: center; }

  .aviso { grid-template-columns: 1fr; padding: 18px 16px 18px 20px; }
  .aviso__badge { grid-row: auto; }
  .aviso__texto { grid-column: 1; }
}

@media (max-width: 380px) {
  .hero__chamada { font-size: 32px; }
  .convite__fecho { font-size: 32px; }
  .fecho-manuscrito { height: 56px; }
}
