@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Baloo+2:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #FAF7F1;
  --bg-card: #FFFFFF;
  --ink: #1D1C17;
  --ink-soft: #423F35;
  --ink-faint: #6B6959;
  --line: rgba(29,28,23,0.10);
  --line-strong: rgba(29,28,23,0.16);

  --hits-green: #295C00;
  --hits-green-mid: #5C7A2E;
  --hits-orange: #F27A15;

  --growth-purple: #481486;
  --growth-blue: #04BAEA;
  --growth-navy: #1B0A3D;

  --grad-growth: linear-gradient(135deg, var(--growth-purple) 0%, var(--growth-blue) 100%);
  --grad-hits: linear-gradient(135deg, var(--hits-green) 0%, var(--hits-green-mid) 55%, var(--hits-orange) 100%);
  --grad-hits-text: linear-gradient(100deg, var(--hits-green) 0%, var(--hits-orange) 100%);

  --radius: 12px;
  --max-w: 1120px;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Baloo 2', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display:block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hits-green);
  display: block;
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
}

/* Só os títulos grandes de verdade (H1/H2) usam a display condensada da
   Growth. H3/H4 (nomes, cabeçalhos de card) usam a Baloo 2 — em tamanho
   pequeno, a condensada ficava apertada/ilegível. */
h1, h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.015em;
}
h3, h4 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { color: var(--ink-soft); }

.grad-text {
  background-image: var(--grad-growth);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section { padding: 96px 0; }
@media (max-width: 640px) {
  section { padding: 64px 0; }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,247,241,0.9);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-lockup { display:flex; align-items:center; gap:14px; }
.brand-lockup img { height: 28px; width:auto; }
.brand-lockup .divider { width:1px; height:22px; background:var(--line-strong); }
.site-header .wrap { justify-content: space-between; }
.header-event-name {
  font-family: 'Baloo 2', sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  display: none;
}
@media (min-width: 760px) {
  .header-event-name { display: block; }
}
.header-cta {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: 72px;
  padding-bottom: 72px;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-kicker .dot { width:6px; height:6px; border-radius:50%; background: var(--hits-orange); }

.hero-event-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  background-image: var(--grad-growth);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-event-name .sep { color: var(--ink-faint); -webkit-text-fill-color: var(--ink-faint); }

.hero h1 { margin-bottom: 18px; }
.hero h1 .accent {
  background-image: var(--grad-growth);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 30px;
}
.hero-meta-item {
  display:flex;
  flex-direction:column;
  gap: 3px;
}
.hero-meta-item .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-meta-item .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.hero-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hits-green);
  background: rgba(41,92,0,0.07);
  border: 1px solid rgba(41,92,0,0.18);
  padding: 9px 16px;
  border-radius: 8px;
}

/* ---- Hero form card ---- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 18px 40px -22px rgba(29,28,23,0.18);
}
.form-card h3 { margin-bottom: 6px; }
.form-card .sub { font-size: 13.5px; margin-bottom: 22px; }

/* Versão do form-card para dentro da seção escura (mesmo card, tema claro
   isolado dentro do roxo — assim o formulário continua legível e familiar). */
.form-card-dark {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}
.form-card-dark h3,
.form-card-dark .sub,
.form-card-dark .field label {
  color: var(--ink);
}

/* Contagem regressiva */
.cta-countdown {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
}
.cd-block { display: flex; flex-direction: column; align-items: center; }
.cd-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  color: #fff;
}
.cd-label {
  font-family: 'Baloo 2', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,241,255,0.7);
  margin-top: 4px;
}
.cd-sep {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--growth-blue);
  transform: translateY(-8px);
}

.field { margin-bottom: 16px; }
.field label {
  display:block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  font-family: 'Baloo 2', sans-serif;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #FFFDF9;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus { border-color: var(--growth-purple); }

.submit-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--grad-hits);
  margin-top: 6px;
}
.form-footnote {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 12px;
  text-align: center;
}

/* ============ PARTNERSHIP / AUTHORITY ============ */
.partners {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
  padding: 64px 0;
}
.partners-lead {
  text-align: center;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 44px;
  color: var(--ink-soft);
}
.partners-lead strong { color: var(--ink); }

.speakers {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.speaker-card { text-align: center; width: 180px; }
.speaker-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.speaker-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.speaker-role {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.partners-logos {
  display:flex;
  align-items:center;
  justify-content: center;
  gap:24px;
  opacity: 0.85;
}
.partners-logos img { height: 26px; width:auto; }
.partners-logos .divider { width:1px; height:22px; background:var(--line-strong); }

/* ============ CONTENT / O QUE VOCE VAI VER ============ */
/* Lista editorial em vez do grid clássico de 4 cards iguais — números
   enormes puxando o olho, cada linha com peso e proporção diferentes. */
.content-list { margin-top: 48px; }
.content-row {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.content-row:first-child { padding-top: 0; }
.content-row:last-child { border-bottom: none; }
.content-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1;
  flex-shrink: 0;
  width: 110px;
  opacity: 0.9;
}
.content-body { flex: 1; min-width: 0; }
.content-body h3 { margin-bottom: 8px; font-size: 1.3rem; }
.content-body p { font-size: 14.5px; max-width: 560px; }

@media (max-width: 640px) {
  .content-row { gap: 18px; padding: 22px 0; }
  .content-num { width: 70px; font-size: 2.4rem; }
}

/* ============ CRONOGRAMA ============ */
.section-lead {
  font-size: 1.05rem;
  max-width: 560px;
  margin-top: 16px;
}
.schedule-list { margin-top: 40px; position: relative; }
.schedule-line {
  position: absolute;
  left: 4px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--line-strong);
  transform-origin: top center;
  transform: scaleY(0);
}

/* estado inicial dos itens do cronograma — o anime.js puxa cada um em
   sequência real (não é só um threshold de scroll disparando tudo junto). */
.sched-item { opacity: 0; transform: translateX(-26px); }
@media (prefers-reduced-motion: reduce) {
  .sched-item { opacity: 1; transform: none; }
  .schedule-line { transform: scaleY(1); }
}
.schedule-row {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.schedule-row:first-child { padding-top: 0; }
.schedule-row.highlight {
  padding: 24px 20px;
  margin: 4px -20px;
  border-radius: 10px;
  border-bottom-color: transparent;
  background: rgba(29,28,23,0.025);
}
.schedule-row .dot {
  width: 9px; height: 9px; border-radius: 50%;
  margin-top: 7px; flex-shrink:0;
  position: relative;
  box-shadow: 0 0 0 4px var(--bg);
}
.schedule-row.highlight .dot { box-shadow: 0 0 0 4px var(--bg-card); }
.tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
}
.schedule-row .time {
  width: 132px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14.5px;
}
.schedule-row .time small {
  display:block; font-weight:500; font-size:11.5px; color:var(--ink-faint); margin-top:2px;
}
.schedule-row .title {
  width: 240px;
  flex-shrink: 0;
  font-family:'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.schedule-row .desc {
  flex: 1;
  font-size: 13.5px;
  min-width: 200px;
}
@media (max-width: 760px) {
  .schedule-row { flex-wrap: wrap; }
  .schedule-row .title { width: 100%; order: 1; }
  .schedule-row .time { order: 0; }
  .schedule-row .desc { width: 100%; order: 2; }
}

/* ============ INFO PRATICA ============ */
.practical {
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.practical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.practical-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 760px) {
  .practical-grid { grid-template-columns: 1fr; }
}
.practical-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.practical-card .label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.practical-card .big {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.practical-card p { font-size: 13.5px; }

.vagas-bar {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.14);
  overflow: hidden;
  margin-top: 12px;
}
.vagas-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hits-orange), var(--growth-blue));
  border-radius: 4px;
}

/* ============ CTA FINAL (dark) ============ */
.cta-final {
  text-align: center;
}

.cta-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--growth-navy) 30%, var(--growth-navy) 100%);
  padding: 200px 0;
  min-height: 320vh;
  display: flex;
}
@media (max-width: 760px) {
  .cta-dark { min-height: 260vh; padding: 140px 0; }
}
.cta-dark .eyebrow { color: var(--growth-blue) !important; }
.cta-dark h2 { color: #F5F1FF; }
.cta-dark p { color: rgba(255,255,255,0.94); font-weight: 500; }

.cta-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100%;
  width: 100%;
  gap: 40px;
}
.cta-beat { text-align: center; }
.cta-big {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 1.08;
  margin: 0;
}
.cta-sub {
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  max-width: 720px;
  margin: 0 auto;
}

.cta-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 32px;
}
.cta-info-item {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  color: #F5F1FF;
  position: relative;
  padding-right: 32px;
}
.cta-info-item:last-child { padding-right: 0; }
.cta-info-item:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: 8px;
  color: var(--growth-blue);
}

/* estado inicial (antes do JS/anime.js animar) — evita "flash" de conteúdo
   sólido antes da primeira leitura de scroll. */
.cta-item { opacity: 0; will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) {
  .cta-item { opacity: 1 !important; transform: none !important; }
}
.grad-text-dark {
  background-image: linear-gradient(100deg, var(--growth-blue) 0%, var(--hits-green-mid) 28%, var(--hits-green) 62%, var(--hits-green) 82%, var(--hits-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary, .btn-whatsapp {
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 8px;
  text-decoration:none;
}
.btn-primary {
  color: #fff;
  background: var(--grad-hits);
}
.btn-whatsapp {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-top {
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.footer-logos { display:flex; align-items:center; gap:18px; }
.footer-logos img { height:24px; width:auto; }
.footer-logos .divider { width:1px; height:20px; background:var(--line-strong); }
.footer-links { display:flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  font-size: 12px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* ============ SCROLL REVEAL (moderado, só em alguns pontos) ============ */
.reveal, .reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.16,.8,.24,1), transform .9s cubic-bezier(.16,.8,.24,1);
}
.reveal.is-visible, .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-item:nth-child(1) { transition-delay: 0s; }
.reveal-item:nth-child(2) { transition-delay: .18s; }
.reveal-item:nth-child(3) { transition-delay: .36s; }
.reveal-item:nth-child(4) { transition-delay: .54s; }
.reveal-item:nth-child(5) { transition-delay: .72s; }
.reveal-item:nth-child(6) { transition-delay: .9s; }
.reveal-item:nth-child(7) { transition-delay: 1.08s; }

/* fundo que transiciona de claro para escuro junto com a entrada dos elementos */
.bg-reveal {
  background-color: var(--bg);
  transition: background-color 1.3s ease .1s;
}
.bg-reveal.is-visible { background-color: var(--growth-navy); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item { opacity: 1; transform: none; transition: none; }
  .bg-reveal { transition: none; background-color: var(--growth-navy); }
}

/* Em navegadores com suporte, prende a animação diretamente ao scroll —
   assim ela acompanha a velocidade real de quem está rolando a página,
   em vez de disparar uma vez só e terminar sozinha. */
@supports (animation-timeline: view()) {
  .reveal, .reveal-item {
    opacity: 0;
    transform: translateY(34px);
    transition: none;
    animation: scrollRevealAnim linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 45%;
  }
  @keyframes scrollRevealAnim {
    from { opacity: 0; transform: translateY(34px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .bg-reveal {
    transition: none;
    animation: scrollBgAnim linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 55%;
  }
  @keyframes scrollBgAnim {
    from { background-color: var(--bg); }
    to { background-color: var(--growth-navy); }
  }
}
