/* ================================================================
   HOME.CSS
   Estilos exclusivos do index.html
   ================================================================ */

/* Hero */
.hero {
  min-height: 100vh;
  padding-top: 52px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-glow-r {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse 70% 60% at 20% 40%, rgba(255,31,31,0.09) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-b {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse 70% 60% at 80% 40%, rgba(15,111,255,0.09) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 5%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2.5rem 4rem;
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeUp .5s ease both;
}

.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; }
.eyebrow-dot.r { background: var(--red); box-shadow: 0 0 6px var(--red); }
.eyebrow-dot.b { background: var(--blue); box-shadow: 0 0 6px var(--blue); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(100px, 17.5vw, 230px);
  line-height: .84;
  letter-spacing: -.01em;
  margin-bottom: 0;
  animation: fadeUp .5s ease .1s both;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-title .line1 { display: block; width: 100%; }
.hero-title .line2 {
  display: flex;
  align-items: baseline;
  gap: .12em;
  padding-left: 5vw;
}

.t-ib   { color: var(--text); }
.t-bot  { color: var(--red); text-shadow: 0 0 40px rgba(255,31,31,0.3); }
.t-tech { color: var(--blue); text-shadow: 0 0 40px rgba(15,111,255,0.3); }
.t-sep {
  color: rgba(255,255,255,.12);
  font-size: .5em;
  align-self: center;
  line-height: 1;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-top: 3.5rem;
  animation: fadeUp .5s ease .25s both;
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  max-width: 360px;
  line-height: 1.8;
  margin: 0;
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 0;
  animation: none;
}
.scroll-hint { display: none; }

/* Stats / Ticker */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg);
}
.tick-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: background .25s;
}
.tick-item:last-child { border-right: none; }
.tick-item:hover { background: var(--bg2); }
.tick-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 120px);
  line-height: .82;
  letter-spacing: -.02em;
}
.tick-num.r { color: var(--red); }
.tick-num.b { color: var(--blue); }
.tick-num.w { color: var(--text); }
.tick-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .875rem;
  line-height: 1.4;
}

/* Section overrides (home usa 64px e max-width 480px) */
.section-title { font-size: clamp(36px, 5vw, 64px); }
.section-body  { max-width: 480px; margin-bottom: 3.5rem; }

/* Ligas Split */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  margin: 0 -2.5rem;
  overflow: hidden;
}
.split-card {
  background: var(--bg2);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  transition: background .4s;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.split-card:hover { background: var(--bg3); }
.split-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
}
.split-card.r::before { background: linear-gradient(90deg, var(--red), transparent 60%); }
.split-card.b::before { background: linear-gradient(90deg, var(--blue), transparent 60%); }
.split-bg-char {
  position: absolute;
  right: -0.05em;
  bottom: -0.1em;
  font-family: var(--font-display);
  font-size: clamp(200px, 30vw, 380px);
  line-height: 1;
  opacity: .03;
  pointer-events: none;
  user-select: none;
  transition: opacity .4s;
}
.split-card:hover .split-bg-char { opacity: .05; }
.split-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.split-label.r { color: var(--red); }
.split-label.b { color: var(--blue); }
.split-h {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: .88;
  letter-spacing: .01em;
  margin-bottom: 1.25rem;
}
.split-p {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 300px;
}
.split-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.stag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid;
  letter-spacing: .04em;
}
.stag.r { border-color: rgba(255,31,31,.25); color: rgba(255,120,120,.8); background: rgba(255,31,31,.05); }
.stag.b { border-color: rgba(15,111,255,.25); color: rgba(100,160,255,.8); background: rgba(15,111,255,.05); }

/* Manifesto */
.manifesto-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 4rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueePan 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  white-space: nowrap;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 84px);
  line-height: 1;
  letter-spacing: .01em;
}
.marquee-sep {
  color: var(--border2);
  font-family: var(--font-mono);
  font-size: 20px;
  flex-shrink: 0;
}
.acc-r { color: var(--red); }
.acc-b { color: var(--blue); }

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.phase-card {
  background: var(--bg2);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: background .2s;
}

.phase-card:hover { background: var(--bg3); }

.phase-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: rgba(255,255,255,.04);
  line-height: 1;
  margin-bottom: .5rem;
}

.phase-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.phase-label.r   { color: var(--red); }
.phase-label.b   { color: var(--blue); }
.phase-label.dim { color: var(--muted); }

.phase-title { font-size: 13px; font-weight: 600; margin-bottom: .4rem; line-height: 1.3; }
.phase-desc  { font-size: 12px; font-weight: 300; color: var(--mid); line-height: 1.5; }

.phase-status {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.phase-status.active {
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  animation: pulse 2s ease infinite;
}

.phase-status.upcoming { background: rgba(255,255,255,.12); }

/* Diretoria */
.dir-wrap {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.dir-card:nth-child(1) { grid-column: span 5; }
.dir-card:nth-child(2) { grid-column: span 5; }
.dir-card:nth-child(3) { grid-column: span 2; }
.dir-card:nth-child(4) { grid-column: span 2; }
.dir-card:nth-child(5) { grid-column: span 2; }
.dir-card:nth-child(6) { grid-column: span 2; }
.dir-card:nth-child(7) { grid-column: span 2; }
.dir-card:nth-child(8) { grid-column: span 5; }
.dir-card:nth-child(9) { grid-column: span 5; }
.dir-card {
  background: var(--bg2);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background .2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.dir-card:hover { background: var(--bg3); }
.dir-card::after {
  content: '→';
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all .2s;
}
.dir-card:hover::after { opacity: 1; transform: translateX(0); }
.dir-av {
  width: 40px; height: 40px;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}
.dir-av.r { background: rgba(255,31,31,.1); color: var(--red); border: 1px solid rgba(255,31,31,.2); }
.dir-av.b { background: rgba(15,111,255,.1); color: var(--blue); border: 1px solid rgba(15,111,255,.2); }
.dir-av.w { background: rgba(255,255,255,.04); color: var(--mid); border: 1px solid var(--border2); }
.dir-av img { width: 100%; height: 100%; object-fit: cover; }
.dir-name { font-size: 14px; font-weight: 600; }
.dir-role { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .05em; margin-top: 3px; }
.dir-card:nth-child(1) .dir-name,
.dir-card:nth-child(2) .dir-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .02em;
}
.dir-card:nth-child(1) .dir-av,
.dir-card:nth-child(2) .dir-av { width: 48px; height: 48px; font-size: 22px; }

/* CTA Final */
.cta-section {
  border-top: 1px solid var(--border);
  padding: 7rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4rem;
  max-width: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  line-height: .88;
  margin-bottom: .875rem;
}
.cta-section p {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  max-width: 320px;
  line-height: 1.75;
  margin-bottom: 0;
}
.cta-pair {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-end;
}

/* Director Modal */
.dir-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

.dir-modal.open { display: flex; }

.dir-modal-box {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  animation: fadeUp .25s ease both;
}

.modal-top { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }

.modal-av {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  background: var(--bg4);
  border: 1px solid var(--border2);
  overflow: hidden;
}

.modal-av img { width: 100%; height: 100%; object-fit: cover; }
.modal-name { font-family: var(--font-display); font-size: 24px; letter-spacing: .02em; }
.modal-role { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; margin-top: 2px; }

.modal-liga   { font-size: 11px; margin-top: 4px; }
.modal-liga.r { color: rgba(255,120,120,.8); }
.modal-liga.b { color: rgba(100,160,255,.8); }
.modal-liga.w { color: var(--mid); }

.modal-bio {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  min-height: 40px;
}

.modal-links { display: flex; gap: .5rem; flex-wrap: wrap; }

.modal-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 3px;
  border: 1px solid var(--border2);
  color: var(--mid);
  text-decoration: none;
  transition: all .2s;
}

.modal-link:hover { border-color: rgba(255,255,255,.25); color: var(--text); }
.modal-link.r { border-color: rgba(255,31,31,.25); color: rgba(255,120,120,.8); }
.modal-link.r:hover { background: rgba(255,31,31,.08); }
.modal-link.b { border-color: rgba(15,111,255,.25); color: rgba(100,160,255,.8); }
.modal-link.b:hover { background: rgba(15,111,255,.08); }

#diretoria { padding-top: 5rem; }

@media (max-width: 768px) {
  .hero-inner { padding: 0 1.25rem 3rem; }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-ctas { justify-content: flex-start; }
  .ticker { grid-template-columns: repeat(3, 1fr); }
  .tick-item:nth-child(4),
  .tick-item:nth-child(5) { display: none; }
  .split-grid { grid-template-columns: 1fr; margin: 0 -1.25rem; }
  .dir-wrap { grid-template-columns: repeat(2, 1fr); }
  .dir-card:nth-child(n) { grid-column: span 1; }
  .cta-section { grid-template-columns: 1fr; gap: 2rem; }
  .cta-pair { align-items: flex-start; }
}
