/* SGC Copilot V2 — additional styles
   Layered on top of styles.css; only adds new components or overrides specific to this narrative. */

/* Hero variant for Copilot */
.hero-c {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-c .hero-grid {
  grid-template-columns: 1.1fr 1fr;
}
.hero-c h1 {
  font-size: clamp(46px, 5.6vw, 88px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero-c h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent);
}
.hero-c h1 .strike {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--muted);
  position: relative;
  display: inline-block;
}
.hero-c h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 56%;
  height: 2px; background: currentColor; transform: rotate(-1.5deg); opacity: 0.7;
}
.hero-c .badge-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.hero-c .badge-line .pill-num {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: -0.02em;
}
.hero-c .badge-line b { font-weight: 500; color: var(--ink); }

/* Hero right side — journey preview card */
.journey-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.journey-card .jc-head {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex; justify-content: space-between;
}
.journey-card .jc-bar {
  position: relative;
  height: 50px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr;
  gap: 4px;
}
.journey-card .jc-seg {
  height: 38px;
  border-radius: 8px;
  position: relative;
  display: flex; align-items: center;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.journey-card .jc-seg .jc-d {
  font-weight: 600; font-size: 12.5px;
  margin-right: 8px;
  color: var(--ink);
}
.journey-card .jc-s1 { background: color-mix(in oklab, var(--accent) 22%, var(--paper)); border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line)); }
.journey-card .jc-s2 { background: color-mix(in oklab, #8C73E9 18%, var(--paper)); border: 1px solid color-mix(in oklab, #8C73E9 35%, var(--line)); }
.journey-card .jc-s3 { background: color-mix(in oklab, var(--emerald) 18%, var(--paper)); border: 1px solid color-mix(in oklab, var(--emerald) 35%, var(--line)); }
.journey-card .jc-s1 .jc-d { color: var(--accent); }
.journey-card .jc-s2 .jc-d { color: #B7A4FF; }
.journey-card .jc-s3 .jc-d { color: var(--emerald); }

.journey-card .jc-list {
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.journey-card .jc-list > div {
  padding: 0 4px;
}
.journey-card .jc-list b {
  display: block; color: var(--ink); font-weight: 500; font-size: 12.5px;
  margin-bottom: 4px;
}

.journey-card .jc-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.journey-card .jc-foot > div {
  text-align: left;
}
.journey-card .jc-foot .jcf-n {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.journey-card .jc-foot .jcf-l {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 2px;
}

/* PROBLEM CARDS */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  opacity: 0.4;
}
.problem-card .pc-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.problem-card .pc-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin: 6px 0;
}
.problem-card .pc-quote::before { content: "\201C"; color: var(--accent); }
.problem-card .pc-quote::after { content: "\201D"; color: var(--accent); }
.problem-card .pc-who {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.problem-card .pc-desc {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* COPILOT MEET — big two-col */
.meet-copilot {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .meet-copilot { grid-template-columns: 1fr; gap: 32px; } }

.copilot-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.12), transparent 45%),
    radial-gradient(circle at 70% 75%, color-mix(in oklab, var(--accent) 40%, transparent), transparent 50%),
    linear-gradient(135deg, var(--bg-2), var(--paper));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.copilot-portrait .cp-tag {
  position: absolute;
  top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  background: color-mix(in oklab, var(--void) 70%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line-d));
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--bone);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.copilot-portrait .cp-tag .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--emerald) 22%, transparent);
  animation: pulse 1.6s infinite;
}

.copilot-portrait .cp-figure {
  position: absolute; left: 50%; top: 56%;
  transform: translate(-50%, -50%);
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), transparent 38%),
    radial-gradient(circle at 50% 60%, color-mix(in oklab, var(--accent) 85%, var(--void)), var(--void) 92%);
  box-shadow:
    0 0 80px color-mix(in oklab, var(--accent) 50%, transparent),
    inset 0 -16px 40px rgba(0,0,0,0.35);
}
.copilot-portrait .cp-figure::before,
.copilot-portrait .cp-figure::after {
  content: ""; position: absolute; inset: -22px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: ringpulse 4.4s ease-out infinite;
  pointer-events: none;
}
.copilot-portrait .cp-figure::after { animation-delay: 2.2s; }

.copilot-portrait .cp-name {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
}
.copilot-portrait .cp-name .nm {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  color: var(--bone);
  line-height: 1;
  letter-spacing: -0.02em;
}
.copilot-portrait .cp-name .rl {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cloud);
}

.meet-copy .cm-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.meet-copy .cm-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.meet-copy .cm-item .ch {
  margin-top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  display: grid; place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.meet-copy .cm-item h4 {
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em; margin-bottom: 2px;
}
.meet-copy .cm-item p {
  font-size: 13.5px; color: var(--muted); line-height: 1.45;
}

/* JOURNEY TIMELINE (the centerpiece) */
.journey-stage {
  position: relative;
  margin-top: 24px;
}
.journey-rail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .journey-rail { grid-template-columns: 1fr; } }

.journey-phase {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 24px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.journey-phase::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, color-mix(in oklab, var(--phase-color) 16%, transparent), transparent 60%);
  pointer-events: none;
}
.journey-phase > * { position: relative; }
.journey-phase .jp-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: color-mix(in oklab, var(--phase-color) 18%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--phase-color) 40%, var(--line));
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--phase-color);
  align-self: flex-start;
}
.journey-phase .jp-days {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--phase-color);
}
.journey-phase .jp-days small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.005em;
  margin-left: 8px;
}
.journey-phase h3 {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.journey-phase .jp-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.journey-phase .jp-tasks {
  margin-top: auto;
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.journey-phase .jp-tasks li {
  list-style: none;
  padding-left: 18px;
  position: relative;
  font-size: 13px;
  color: var(--ink-2);
}
.journey-phase .jp-tasks li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--phase-color);
}

.journey-phase.phase-1 { --phase-color: var(--accent); }
.journey-phase.phase-2 { --phase-color: #B7A4FF; }
.journey-phase.phase-3 { --phase-color: var(--emerald); }

/* connector arrows between phases */
.journey-rail .jp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  z-index: 2;
}
.journey-rail .jp-arrow.a1 { left: calc(33.33% - 12px); }
.journey-rail .jp-arrow.a2 { left: calc(66.66% - 12px); }
@media (max-width: 900px) { .journey-rail .jp-arrow { display: none; } }

/* progress bar showing flow over time */
.journey-progress {
  display: flex; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  gap: 12px;
  margin-bottom: 20px;
}
.journey-progress .jp-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.journey-progress .jp-bar::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--accent) 0%,
    var(--accent) 42%,
    #B7A4FF 42%,
    #B7A4FF 82%,
    var(--emerald) 82%,
    var(--emerald) 100%);
}

/* DELIVERABLES (post-program) */
.deliv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .deliv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .deliv-grid { grid-template-columns: 1fr; } }
.deliv {
  background: var(--paper);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 200px;
}
.deliv .dv-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.deliv h4 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.deliv p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.deliv .dv-num + h4 { margin-top: 4px; }

/* OUTCOMES — big number row */
.outcome-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .outcome-row { grid-template-columns: repeat(2, 1fr); } }
.outcome {
  background: var(--paper);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.outcome .ot-n {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  font-feature-settings: "tnum";
}
.outcome .ot-n em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
}
.outcome .ot-l {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.outcome .ot-d {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* IA-FIRST FRAMEWORK (the model post-30 days) */
.framework {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .framework { grid-template-columns: 1fr; } }
.fwk-diagram {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
}
.fwk-diagram .fd-ring {
  position: absolute; inset: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}
.fwk-diagram .fd-ring.inner { inset: 22%; opacity: 0.6; }
.fwk-diagram .fd-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 12%, transparent), var(--shadow-lg);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  text-align: center;
  letter-spacing: -0.01em;
  padding: 14px;
  line-height: 1.05;
}
.fwk-diagram .fd-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.fwk-diagram .fd-node b {
  font-family: var(--mono); font-weight: 500;
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 6px;
}
.fwk-diagram .n1 { top: 4%; left: 50%; }
.fwk-diagram .n2 { top: 28%; left: 90%; }
.fwk-diagram .n3 { top: 72%; left: 90%; }
.fwk-diagram .n4 { top: 96%; left: 50%; }
.fwk-diagram .n5 { top: 72%; left: 10%; }
.fwk-diagram .n6 { top: 28%; left: 10%; }

.fwk-copy h3 {
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.fwk-copy h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.fwk-copy p {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 52ch;
}

/* CTA OFFER */
.cta-offer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .cta-offer { grid-template-columns: 1fr; padding: 36px 28px; } }
.cta-offer::before {
  content: "";
  position: absolute; top: -50%; right: -10%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  pointer-events: none;
}
.cta-offer > * { position: relative; }
.cta-offer h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.cta-offer h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent);
}
.cta-offer p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: 50ch;
}
.cta-offer-pack {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}
.cta-offer-pack h4 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 24px;
  color: var(--accent);
}
.cta-offer-pack .price {
  margin-top: 8px;
  display: flex; align-items: baseline; gap: 6px;
}
.cta-offer-pack .price .v {
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.cta-offer-pack .price .lb {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.04em;
}
.cta-offer-pack ul {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.cta-offer-pack li {
  font-size: 13px;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}
.cta-offer-pack li::before {
  content: "";
  margin-top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

/* day-by-day breakdown (collapsible-ish, but static for prototype) */
.day-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
@media (max-width: 900px) { .day-grid { grid-template-columns: repeat(3, 1fr); } }
.day-cell {
  aspect-ratio: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.day-cell .dy {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: none;
}
.day-cell.d-imersao { background: color-mix(in oklab, var(--accent) 14%, var(--paper)); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.day-cell.d-imersao .dy { color: var(--accent); }
.day-cell.d-acomp { background: color-mix(in oklab, #B7A4FF 14%, var(--paper)); border-color: color-mix(in oklab, #B7A4FF 30%, var(--line)); }
.day-cell.d-acomp .dy { color: #C3B3FF; }
.day-cell.d-iafirst { background: color-mix(in oklab, var(--emerald) 14%, var(--paper)); border-color: color-mix(in oklab, var(--emerald) 30%, var(--line)); }
.day-cell.d-iafirst .dy { color: var(--emerald); }

/* sub-nav for V2 */
.subnav-pill {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-left: 8px;
}
.subnav-pill a {
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--muted);
  border-radius: 999px;
}
.subnav-pill a.active {
  background: var(--ink);
  color: var(--bg);
}
