/* ============================================
   SEÇÕES PREMIUM · Storytelling sofisticado
   ============================================ */

/* ============== SHARED ============== */
.editorial {
  position: relative;
  padding: var(--section-py, clamp(56px, 6vw, 88px)) var(--pad);
  overflow: hidden;
}
.editorial-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.editorial-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.editorial-h1 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50;
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 24px 0 0;
  text-wrap: balance;
}
.editorial-lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-mute, #a8a8a8);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============================================
   SEÇÃO 1 · O INVERNO SILENCIOSO
   ============================================ */
.winter {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,0.05), transparent 70%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #050505 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.winter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 1000px) {
  .winter-grid { grid-template-columns: 1fr; gap: 60px; }
}

.winter-headline { position: relative; }
.winter-headline .editorial-h1 strong {
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8941f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.winter-prose {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 52ch;
  text-wrap: pretty;
}
.winter-prose p:first-child::first-letter {
  font-size: 4em;
  float: left;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  font-weight: 700;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8941f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.winter-prose .pull {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.28;
  color: #fff;
  border-left: 2px solid var(--gold);
  padding: 14px 0 14px 22px;
  margin: 12px 0;
  letter-spacing: -0.005em;
}
.winter-pains {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .winter-pains { grid-template-columns: 1fr; } }
.pain-card {
  position: relative;
  padding: 28px 28px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.pain-card:hover {
  border-color: rgba(212,175,55,0.35);
  background: linear-gradient(180deg, rgba(212,175,55,0.04), rgba(255,255,255,0));
  transform: translateY(-4px);
}
.pain-card .num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(212,175,55,0.6);
  margin-bottom: 24px;
}
.pain-card h4 {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  line-height: 1.25;
}
.pain-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ============================================
   SEÇÃO 2 · BASTIDORES — timeline lateral editorial
   ============================================ */
.backstage {
  background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
  position: relative;
}

.backstage-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 4vw, 64px);
}
.backstage-head .editorial-eyebrow { justify-content: flex-start; }
.backstage-head .editorial-h1 {
  margin-top: 24px;
  text-wrap: balance;
}
.backstage-head .editorial-lede {
  margin-top: 28px;
  max-width: 60ch;
}

.bs-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 0;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .bs-timeline { grid-template-columns: 64px minmax(0, 1fr); column-gap: 24px; }
}

/* rail vertical único — alinhado com os marcadores */
.bs-timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 139px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,175,55,0.22) 4%, rgba(212,175,55,0.22) 96%, transparent);
  pointer-events: none;
}
@media (max-width: 860px) {
  .bs-timeline::before { left: 31px; }
}

.bs-row {
  display: contents;
}
.bs-row .tl-side { display: none; }

/* --- coluna do marcador (esquerda): label do dia + bolinha --- */
.bs-marker {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-top: 30px;
  padding-right: 0;
  justify-self: stretch;
}
@media (max-width: 860px) {
  .bs-marker { align-items: center; gap: 0; padding-top: 22px; }
}

/* o "dia" agora vive FORA da bolinha — vira label tipográfico */
.bs-marker .bs-day {
  font-family: var(--font-serif, 'Inter');
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8941f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  .bs-marker .bs-day { display: none; }
}

/* a bolinha agora é um pseudo-elemento dentro do marcador */
.bs-marker::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #050505;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.4);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  position: relative;
  /* posiciona a bolinha alinhada com o rail (ponta direita do marker col) */
  align-self: flex-end;
  margin-right: -7.5px;
  z-index: 2;
}
@media (max-width: 860px) {
  .bs-marker::after {
    margin-right: 0;
    width: 14px;
    height: 14px;
  }
}
.bs-row.in-view .bs-marker::after {
  transform: scale(1.2);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 8px rgba(212,175,55,0.08);
}

.bs-marker::before { content: none; }

.bs-card {
  padding: 12px 0 clamp(48px, 5vw, 72px) 0;
  position: relative;
  text-align: left;
  max-width: 640px;
  min-width: 0;
}
.bs-row:last-child .bs-card { padding-bottom: 0; }

.bs-card .when {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.85);
  margin-bottom: 18px;
  display: block;
}
.bs-card h3 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.12;
  margin: 0 0 24px;
  text-wrap: balance;
  color: #fff;
}
.bs-card p {
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.72;
  color: rgba(255,255,255,0.68);
  margin: 0 0 18px;
  max-width: 58ch;
  text-wrap: pretty;
}
.bs-card .quote {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50;
  font-size: clamp(19px, 1.6vw, 22px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 24px;
  margin: 28px 0 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.bs-card .quote-author {
  display: block;
  font-style: normal;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
  text-transform: uppercase;
}
.bs-card .stat-strip {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px 36px;
}
.bs-card .stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bs-card .stat .v {
  font-family: var(--font-serif, 'Inter');
  font-size: clamp(26px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8941f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.bs-card .stat .l {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

/* ============================================
   SEÇÃO 3 · O CUSTO DA INÉRCIA
   ============================================ */
.inertia {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,175,55,0.08), transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 50%, #0a0a0a 100%);
  position: relative;
  text-align: center;
}
.inertia .container { position: relative; z-index: 2; }

.inertia-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  white-space: nowrap;
}
.inertia-pretitle .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,175,55,0.7);
  animation: pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); }
  100% { box-shadow: 0 0 0 14px rgba(212,175,55,0); }
}

.inertia-question {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0 auto 64px;
  max-width: 18ch;
  text-wrap: balance;
}
.inertia-question em {
  font-style: italic;
  /* Container só serve como wrapper italic. Gradient é aplicado nos .word-i
     internos para sobreviver ao word-stagger reveal */
  color: var(--gold);
}
.inertia-question em .word-i,
.inertia-question em {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8941f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* Fallback robusto: se gradient pintar transparente em algum browser/state */
@supports not (background-clip: text) {
  .inertia-question em,
  .inertia-question em .word-i {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    background: none !important;
  }
}

.cost-tickers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(212,175,55,0.18);
  border: 1px solid rgba(212,175,55,0.18);
  margin: 64px 0 56px;
}
@media (max-width: 800px) {
  .cost-tickers { grid-template-columns: 1fr; }
}
.cost-ticker {
  background: #050505;
  padding: 56px 32px 64px;
  position: relative;
}
.cost-ticker .label-top {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}
.cost-ticker .big {
  font-family: var(--font-serif, 'Inter');
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 18px;
}
.cost-ticker.gold .big {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8941f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cost-ticker .unit {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  max-width: 24ch;
  margin: 0 auto;
}

.inertia-closer {
  font-family: var(--font-serif, 'Inter');
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: #fff;
  max-width: 38ch;
  margin: 0 auto;
  text-wrap: balance;
}
.inertia-signature {
  margin-top: 36px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.7);
}
