/* ═══════════════════════════════════════════════
   O FANTÁSTICO LABORATÓRIO — SPINOFFS DECK
   spinoffs.css · v1.0
═══════════════════════════════════════════════ */

/* ── SPINOFF NUMBER BADGE ───────────────────── */
.spinoff-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.2rem, 3.6vw, 3rem);
  height: clamp(2.2rem, 3.6vw, 3rem);
  border: 1.5px solid var(--cyan);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: clamp(.78rem, 1.4vw, 1.1rem);
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: .25rem;
  background: rgba(0,244,255,.05);
  box-shadow: 0 0 12px rgba(0,244,255,.12);
}

/* ── SPINOFF HEADER ROW ─────────────────────── */
.spinoff-header {
  display: flex;
  align-items: flex-start;
  gap: clamp(.6rem, 1.2vw, 1rem);
  margin-bottom: clamp(.5rem, 1vw, .85rem);
}
.spinoff-header-text { flex: 1; min-width: 0; }

/* ── FORMAT BADGE ───────────────────────────── */
.spinoff-format {
  display: inline-block;
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mag);
  border: 1px solid rgba(255,42,191,.38);
  border-radius: 3px;
  padding: .18em .55em;
  margin-bottom: .3rem;
  background: rgba(255,42,191,.05);
}

/* ── SPINOFF HOOK LINE ──────────────────────── */
.spinoff-hook {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.84rem, 1.45vw, 1.08rem);
  color: rgba(247,251,255,.80);
  line-height: 1.4;
  margin: .15rem 0 0;
}

/* ── TWO-COLUMN LAYOUT ──────────────────────── */
.spinoff-cols {
  display: grid;
  grid-template-columns: 1.2fr .88fr;
  gap: clamp(1.2rem, 2.8vw, 2.8rem);
  align-items: start;
}

/* ── LEFT COLUMN BODY ───────────────────────── */
.spinoff-body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* ── RIGHT COLUMN: IMAGE + STAT ─────────────── */
.spinoff-img-col {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.spinoff-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0,244,255,.14);
  display: block;
  filter: brightness(.88) contrast(1.05);
  transition: filter .4s;
}
.spinoff-img:hover { filter: brightness(.96) contrast(1.05); }

/* ── MARKET STAT CARD ───────────────────────── */
.spinoff-stat {
  background: rgba(0,244,255,.05);
  border: 1px solid rgba(0,244,255,.18);
  border-radius: 5px;
  padding: .6rem .85rem;
}
.spinoff-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: var(--cyan);
  line-height: 1.1;
  margin-bottom: .2rem;
}
.spinoff-stat span {
  font-size: .58rem;
  color: var(--muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── META ROW (Para quem · Quando) ─────────── */
.spinoff-meta {
  margin-top: .85rem;
  padding: .55rem .7rem .5rem;
  background: rgba(0,244,255,.04);
  border-top: 1px solid rgba(0,244,255,.1);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.spinoff-meta-row {
  display: flex;
  gap: .65rem;
  align-items: baseline;
}
.spinoff-meta-label {
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  min-width: 68px;
  flex-shrink: 0;
  opacity: .75;
}
.spinoff-meta-value {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: break-word;
}

/* ── OVERVIEW TABLE ─────────────────────────── */
.spinoff-overview {
  width: 100%;
  max-width: 680px;
  border-collapse: collapse;
}
.spinoff-overview thead tr {
  border-bottom: 1px solid rgba(0,244,255,.22);
}
.spinoff-overview th {
  font-family: var(--mono);
  font-size: .48rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
  padding: .4rem .65rem;
  text-align: left;
}
.spinoff-overview td {
  padding: .48rem .65rem;
  border-bottom: 1px solid rgba(0,244,255,.07);
  font-size: .78rem;
  vertical-align: middle;
}
.spinoff-overview td:first-child {
  font-family: var(--mono);
  color: var(--cyan);
  font-weight: 700;
  font-size: .68rem;
  width: 2.4rem;
}
.spinoff-overview td:nth-child(2) {
  color: var(--text);
  font-weight: 500;
}
.spinoff-overview td:last-child {
  color: var(--muted);
  font-size: .66rem;
  text-align: right;
  white-space: nowrap;
}
.spinoff-overview tr:hover td {
  background: rgba(0,244,255,.03);
}

/* ── OVERVIEW QUOTE COL ─────────────────────── */
.ov-intro-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── TIMELINE GRID ──────────────────────────── */
.tl-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 .9rem;
  max-width: 560px;
  margin-top: .75rem;
}
.tl-time {
  min-width: 0;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--cyan);
  padding: .28rem 0;
  border-right: 1px solid rgba(0,244,255,.2);
  padding-right: .75rem;
  text-align: right;
  min-width: 4rem;
  opacity: .8;
}
.tl-item {
  min-width: 0;
  overflow: hidden;
  font-size: .72rem;
  color: var(--muted);
  padding: .28rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.tl-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  opacity: .65;
}
.tl-launch .tl-time,
.tl-launch .tl-item { color: var(--green); font-weight: 600; }
.tl-launch .tl-item::before { background: var(--green); opacity: 1; }

/* ── ECOSYSTEM CONNECT CARDS ────────────────── */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .75rem;
}
.eco-card {
  min-width: 0;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(0,244,255,.1);
  border-radius: 5px;
  padding: .55rem .7rem;
  transition: border-color .25s, background .25s;
}
.eco-card:hover {
  border-color: rgba(0,244,255,.3);
  background: rgba(0,244,255,.04);
}
.eco-card-num {
  font-family: var(--mono);
  font-size: .48rem;
  color: var(--cyan);
  letter-spacing: .1em;
  margin-bottom: .18rem;
  opacity: .72;
}
.eco-card-name {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .12rem;
  line-height: 1.25;
}
.eco-card-desc {
  font-size: .58rem;
  color: var(--dim);
  line-height: 1.45;
}

/* ── IP NOTE BOX ────────────────────────────── */
.ip-note {
  background: rgba(57,255,20,.04);
  border: 1px solid rgba(57,255,20,.2);
  border-radius: 5px;
  padding: .75rem 1rem;
  max-width: 760px;
  margin-top: .85rem;
}
.ip-note p {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.ip-note strong { color: var(--green); }

/* ── INTERLUDE SLIDES ───────────────────────── */
/* Apenas ajusta o max-width para quotes longos — o painel escuro,
   blur e borda cian vêm do pitch-deck.css (.interlude-inner) */
.slide-interlude .interlude-inner { max-width: 560px; }

/* Variante regra verde (pitch-deck usa ciano por padrão) */
.interlude-rule-g {
  background: linear-gradient(90deg, var(--green), transparent);
}
.interlude-quote {
  font-family: var(--serif);
  font-size: clamp(.95rem, 1.85vw, 1.45rem);
  font-style: italic;
  line-height: 1.52;
  color: var(--text);
  margin: 0;
}
.interlude-quote strong { color: var(--green); font-style: normal; }

/* ── NEON RULE ──────────────────────────────── */
.neon-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(0,244,255,.45), transparent);
  border: none;
  margin: .9rem 0;
}

/* ── COVER BADGES ───────────────────────────── */
.cover-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(57,255,20,.8);
  border: 1px solid rgba(57,255,20,.3);
  border-radius: 3px;
  padding: .2em .6em;
  background: rgba(57,255,20,.04);
}

/* ── CONTACT ────────────────────────────────── */
.contact-center {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.contact-info {
  margin: 1.1rem 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--muted);
}
.contact-row a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .2s;
}
.contact-row a:hover { color: var(--green); }

.btn-cta-main {
  display: inline-block;
  padding: .7em 2.2em;
  border: 2px solid var(--green);
  border-radius: 4px;
  background: transparent;
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
  font-family: var(--mono);
}
.btn-cta-main:hover {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(57,255,20,.45);
}

/* ── INTERLUDE VARIANTS ─────────────────────── */

/* Raw: imagem já tem título baked-in — scrim quase zero */
.interlude--raw .slide-scrim {
  background: rgba(3,4,8,.07) !important;
}
.interlude--raw.slide::before {
  opacity: .18;  /* scanlines bem suaves */
}

/* Photo: fotografia documental — gradiente sobe de baixo */
.interlude--photo .slide-scrim {
  background: linear-gradient(to top,
    rgba(3,4,8,.88) 0%,
    rgba(3,4,8,.28) 38%,
    rgba(3,4,8,.06) 100%) !important;
}

/* Illus: ilustração/cartoon — véu leve uniforme */
.interlude--illus .slide-scrim {
  background: rgba(3,4,8,.14) !important;
}

/* Caption no fundo do interlude */
/* NÃO usar transform:translateX para centralizar — conflita com
   .slide.is-active [data-anim]{transform:none} que tem especificidade maior */
.interlude-bottom {
  position: absolute;
  bottom: clamp(2.5rem, 6vh, 4.5rem);
  left: 5%;
  right: 5%;
  z-index: 5;
  text-align: center;
  pointer-events: none;
}
.interlude-caption-line {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.88rem, 1.7vw, 1.3rem);
  color: rgba(247,251,255,.92);
  text-shadow:
    0 0 32px rgba(3,4,8,1),
    0 2px 10px rgba(3,4,8,.98),
    0 4px 20px rgba(3,4,8,.85);
  letter-spacing: .01em;
  line-height: 1.4;
}
.interlude-micro {
  display: block;
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(0,244,255,.6);
  margin-top: .45rem;
  text-shadow: 0 2px 12px rgba(3,4,8,.98);
}
.interlude-stat-line {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--green);
  text-shadow:
    0 0 40px rgba(57,255,20,.45),
    0 2px 16px rgba(3,4,8,1);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: .3rem;
}

/* Nav dot — interlude (menor, mais discreto) */
.deck-dot--il {
  width: 4px !important;
  height: 4px !important;
  opacity: .35;
  border-color: rgba(0,244,255,.18) !important;
}
.deck-dot--il:hover { opacity: .7; }
.deck-dot--il.is-active {
  width: 6px !important;
  height: 6px !important;
  opacity: .9;
}

/* Stack de imagens na coluna direita */
.spinoff-img-stack {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.spinoff-img-stack .spinoff-img:nth-child(2) {
  max-height: 140px;
}

/* ── CONTENT SLIDE — full-width body (sem col direita) ── */
.spinoff-body--wide {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
  overflow-x: hidden;
}
.spinoff-body--wide .body { margin-top: 0; }

/* ── ANTI-OVERFLOW GLOBAL ───────────────────── */
/* deck não expande horizontalmente quando algum slide transborda */
.deck { overflow-x: hidden; }

/* conteúdo não escapa do container do slide */
.slide-content { overflow: hidden; }

/* grade de 2 colunas — coluna direita com data-anim="right" precisa de min-width:0 */
/* para ceder espaço e não causar grid blowout */
.spinoff-grid-col { min-width: 0; overflow: hidden; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 720px) {
  .spinoff-cols { grid-template-columns: 1fr; }
  .spinoff-img-col { display: none; }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .spinoff-overview td:last-child { display: none; }
}
@media (max-width: 480px) {
  .eco-grid { grid-template-columns: 1fr; }
}
