/* ==========================================================================
   SPO — C01 — VIVER / TRAJETÓRIA (CINEMATIC CONTINUITY SCENE)
   File: frontend/assets/css/c01-viver.css
   Baseline Protection: Isolated styles strictly scoped under .c01-stage-wrapper / .c01-*
   Zero collision with C00 baseline.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. STAGE CONTAINER & ATMOSPHERIC CONTINUITY (C00 → C01 CINEMATIC BRIDGE)
   -------------------------------------------------------------------------- */
.c01-stage-wrapper {
  position: relative;
  width: 100%;
  background-color: #F8FAFC;
  color: #1E293B;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 15;
}

/* Atmospheric Seamless Bridge from C00 (Eliminates abrupt cuts & white gaps) */
.c01-atmosphere-transition {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(248, 250, 252, 0.4) 30%,
    rgba(248, 250, 252, 0.85) 65%,
    #F8FAFC 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Atmospheric Soft Glow extending C00 warm gold tint into C01 top */
.c01-stage-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 300px;
  background: radial-gradient(
    ellipse at top,
    rgba(244, 203, 21, 0.08) 0%,
    rgba(46, 115, 205, 0.04) 45%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 1;
}

/* Background Ambient Glows */
.c01-ambient-glow-left {
  position: absolute;
  top: 20%;
  left: -12%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 115, 205, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.c01-ambient-glow-right {
  position: absolute;
  bottom: 15%;
  right: -12%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(244, 203, 21, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   2. EDITORIAL TYPOGRAPHY & SEQUENTIAL REVEAL STYLES
   -------------------------------------------------------------------------- */
.c01-eyebrow-container {
  margin-bottom: 0.85rem;
}

.c01-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.72rem, 0.2vw + 0.65rem, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #2E73CD;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.c01-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: #2E73CD;
  border-radius: 1px;
}

.c01-title-main {
  font-family: 'Lora', Georgia, serif !important;
  font-size: clamp(2.0rem, 3.5vw + 0.8rem, 3.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  color: #0B1D34 !important;
  margin-bottom: 1.5rem !important;
}

.c01-title-main span.highlight {
  color: #2E73CD !important;
}

.c01-lead-quote {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.15rem, 1.2vw + 0.8rem, 1.45rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: #173A67;
  border-left: 3px solid #F4CB15;
  padding-left: 1.25rem;
  margin: 1.5rem 0 2.0rem 0;
}

.c01-body-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.98rem, 0.3vw + 0.88rem, 1.08rem);
  font-weight: 400;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   3. EDITORIAL PHOTOGRAPHY CONTAINER (CINEMATIC SCALING & GLOW)
   -------------------------------------------------------------------------- */
.c01-portrait-container {
  position: relative;
}

.c01-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.c01-portrait-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 24px 48px -12px rgba(11, 29, 52, 0.14),
    0 0 0 1px rgba(23, 58, 103, 0.08);
  background-color: #E2E8F0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.c01-portrait-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 60px -14px rgba(11, 29, 52, 0.20),
    0 0 0 1.5px rgba(46, 115, 205, 0.35);
}

.c01-portrait-img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transform: scale(1.0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.c01-portrait-frame:hover .c01-portrait-img {
  transform: scale(1.025);
}

.c01-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 29, 52, 0.25) 100%);
  pointer-events: none;
}

/* Editorial Floating Badge */
.c01-floating-badge {
  position: absolute;
  bottom: -24px;
  right: -16px;
  background: #0B1D34;
  border: 2px solid #F4CB15;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  max-width: 280px;
  box-shadow: 0 16px 32px rgba(11, 29, 52, 0.3);
  z-index: 10;
  transition: transform 0.4s ease;
}

.c01-portrait-frame:hover + .c01-floating-badge {
  transform: translateY(-2px);
}

.c01-floating-badge-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.c01-floating-badge-title span {
  color: #F4CB15;
}

.c01-floating-badge-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. EXPERIENCE PILLARS GRID
   -------------------------------------------------------------------------- */
.c01-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.0rem;
  margin-top: 2.0rem;
}

.c01-pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(23, 58, 103, 0.10);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.c01-pillar-card:hover {
  border-color: #2E73CD;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(46, 115, 205, 0.12);
}

.c01-pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(46, 115, 205, 0.08);
  color: #2E73CD;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.c01-pillar-card:hover .c01-pillar-icon-box {
  background: #2E73CD;
  color: #FFFFFF;
}

.c01-pillar-label {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0B1D34;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   5. DOCUMENTARY REALITY LAYER (ORGANIC CONTINUITY, NO DURE CUTS)
   -------------------------------------------------------------------------- */
.c01-documentary-section {
  position: relative;
  padding-top: 4.5rem;
}

/* Seamless Atmospheric Divider between Editorial Text and Documentary Layer */
.c01-documentary-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(46, 115, 205, 0.25) 25%,
    rgba(244, 203, 21, 0.45) 50%,
    rgba(46, 115, 205, 0.25) 75%,
    transparent 100%
  );
  margin-bottom: 3.5rem;
}

.c01-documentary-title {
  font-family: 'Lora', Georgia, serif !important;
  font-size: clamp(1.4rem, 2.0vw + 0.8rem, 2.2rem) !important;
  font-weight: 700 !important;
  color: #0B1D34 !important;
  margin-bottom: 0.5rem !important;
}

.c01-documentary-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.9rem, 0.3vw + 0.8rem, 1.0rem);
  color: #64748B;
}

.c01-doc-photo-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11, 29, 52, 0.14);
  background-color: #0B1D34;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.c01-doc-photo-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px rgba(11, 29, 52, 0.20);
}

.c01-doc-photo-img {
  width: 100%;
  height: 100%;
  max-height: 700px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(1.0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.c01-doc-photo-frame:hover .c01-doc-photo-img {
  transform: scale(1.025);
}

.c01-doc-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 29, 52, 0.90) 100%);
  padding: 2.5rem 1.75rem 1.5rem 1.75rem;
  color: #FFFFFF;
}

.c01-doc-caption-tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #F4CB15;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.c01-doc-caption-text {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

/* --------------------------------------------------------------------------
   6. REDESIGNED NARRATIVE SPINE (PURE EDITORIAL TIMELINE — NON-CLICKABLE)
   VIVER (Active C01) → CONHECER (C02) → COMPREENDER (C03) → DEFENDER (C04)
   -------------------------------------------------------------------------- */
.c01-narrative-spine-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 0.5rem;
}

/* Vertical Timeline Track Line */
.c01-spine-track-line {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 21px;
  width: 2px;
  background: rgba(23, 58, 103, 0.12);
  z-index: 1;
}

/* Active Glowing Progress Line */
.c01-spine-progress-line {
  position: absolute;
  top: 24px;
  left: 21px;
  width: 2px;
  height: 18%;
  background: linear-gradient(180deg, #2E73CD 0%, #F4CB15 100%);
  box-shadow: 0 0 8px rgba(46, 115, 205, 0.4);
  z-index: 2;
}

.c01-spine-item {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 58, 103, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: default; /* Explicit non-clickable cursor */
  user-select: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Active Current Stage (C01 — VIVER) */
.c01-spine-item.c01-spine-active {
  background: #FFFFFF;
  border-color: #2E73CD;
  box-shadow:
    0 10px 28px rgba(46, 115, 205, 0.12),
    0 0 0 1px rgba(46, 115, 205, 0.15);
}

/* Future Stages (CONHECER / COMPREENDER / DEFENDER) */
.c01-spine-item.c01-spine-future {
  background: rgba(248, 250, 252, 0.6);
  border-color: rgba(23, 58, 103, 0.06);
  opacity: 0.82;
}

.c01-spine-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.80rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 6;
}

.c01-spine-item.c01-spine-active .c01-spine-node {
  background: #2E73CD;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(46, 115, 205, 0.45);
  border-color: #FFFFFF;
}

.c01-spine-content {
  flex-grow: 1;
}

.c01-spine-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.c01-spine-step {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #64748B;
  text-transform: uppercase;
  display: block;
}

.c01-spine-item.c01-spine-active .c01-spine-step {
  color: #2E73CD;
}

.c01-spine-future-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
  background: rgba(148, 163, 184, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

.c01-spine-title {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0B1D34 !important;
  margin-bottom: 0.2rem !important;
}

.c01-spine-future .c01-spine-title {
  color: #334155 !important;
}

.c01-spine-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. PENDING ASSET NOTIFICATION SLOT
   -------------------------------------------------------------------------- */




/* --------------------------------------------------------------------------
   8. REVERSIBLE CINEMATIC SCROLL REVEAL STYLES (UP & DOWN SCROLLING)
   -------------------------------------------------------------------------- */
.c01-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.c01-reveal.c01-revealed {
  opacity: 1;
  transform: translateY(0);
}

.c01-reveal-delay-1 { transition-delay: 0.08s; }
.c01-reveal-delay-2 { transition-delay: 0.16s; }
.c01-reveal-delay-3 { transition-delay: 0.24s; }
.c01-reveal-delay-4 { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   9. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET, MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .c01-floating-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin: -30px 16px 0 16px;
    max-width: none;
  }

  .c01-doc-photo-img {
    max-height: 420px;
  }

  .c01-spine-track-line {
    left: 19px;
  }
}

@media (max-width: 640px) {
  .c01-portrait-frame {
    border-radius: 14px;
  }

  .c01-portrait-img {
    min-height: 340px;
    max-height: 420px;
  }

  .c01-doc-photo-img {
    max-height: 340px;
  }

  .c01-spine-item {
    padding: 0.75rem 0.85rem;
    gap: 0.85rem;
  }

  .c01-spine-node {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .c01-spine-track-line,
  .c01-spine-progress-line {
    left: 17px;
  }
}

/* --------------------------------------------------------------------------
   10. PREFERS REDUCED MOTION (ACCESSIBILITY COMPLIANCE)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .c01-portrait-frame,
  .c01-portrait-img,
  .c01-pillar-card,
  .c01-doc-photo-frame,
  .c01-doc-photo-img,
  .c01-spine-item,
  .c01-reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}
