/* ==========================================================================
   SPO — C03 — COMPREENDER / DIAGNÓSTICO DAS CAUSAS (TRUE FULL-BLEED SCENE)
   File: frontend/assets/css/c03-compreender.css
   Concept: SECTION C03 IS THE ENTIRE PHOTOGRAPHIC SCENE.
   Zero internal rounded cards/boxes around photo. Edge-to-edge full width background photo.
   ========================================================================== */

.c03-stage-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #071930; /* Deep Navy Base */
  color: #FFFFFF;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 13;
}

/* Full-Bleed Photographic Layer (Fills Section 100% Edge-to-Edge) */
.c03-scene-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* DESLOCAMENTO HORIZONTAL PARA A DIREITA: Rosto totalmente livre da headline, posicionado à direita no desktop (1440x900) */
  object-position: 88% 4%;
  transform: translateX(18%);
  filter: contrast(1.04) brightness(0.95);
  transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1), object-position 0.5s ease;
  will-change: transform, object-position;
  z-index: 1;
}

/* Calibrated Translucent Navy Gradient (Left 0.78 -> Center 0.64 -> Right 0.48/0.52)
   Mariana é claramente perceptível e vibrante à direita! */
.c03-navy-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 25, 48, 0.85) 0%,      /* Leitura nítida sobre o texto na esquerda */
    rgba(7, 25, 48, 0.76) 38%,     /* Transição suave no meio */
    rgba(7, 25, 48, 0.54) 70%,     /* Navy semitransparente (54%) sobre a candidata */
    rgba(7, 25, 48, 0.42) 100%     /* Foto se revela com clareza no lado direito */
  );
  pointer-events: none;
  z-index: 2;
}

/* Vertical Atmosphere & Vignette */
.c03-navy-overlay-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 25, 48, 0.65) 0%,
    rgba(7, 25, 48, 0.25) 45%,
    rgba(7, 25, 48, 0.80) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Atmospheric Transition Bridge from C02 Baseline */
.c03-atmosphere-transition {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    rgba(248, 250, 252, 0.45) 35%,
    rgba(7, 25, 48, 0.60) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
}

.c03-hero-text-block {
  max-width: 660px;
}

.c03-eyebrow-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c03-eyebrow-tag {
  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: #F4CB15;
}

.c03-eyebrow-line {
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #F4CB15, transparent);
  border-radius: 1px;
}

.c03-hero-title {
  font-family: 'Lora', Georgia, serif !important;
  font-size: clamp(2.0rem, 3.5vw + 0.8rem, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  color: #FFFFFF !important;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.c03-hero-title-highlight {
  color: #2E73CD;
  background: linear-gradient(90deg, #2E73CD 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c03-hero-lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.98rem, 0.4vw + 0.88rem, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.90);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.c03-hero-badges-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.c03-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(7, 25, 48, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.c03-pill-badge:hover {
  background: rgba(46, 115, 205, 0.3);
  border-color: #2E73CD;
}

.c03-section-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #F4CB15;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.c03-section-title {
  font-family: 'Lora', Georgia, serif !important;
  font-size: clamp(1.35rem, 1.8vw + 0.75rem, 1.95rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #FFFFFF !important;
  margin-bottom: 0.5rem !important;
}

.c03-section-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.88rem, 0.3vw + 0.8rem, 1.0rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.c03-cause-card-cinematic {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(7, 25, 48, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.15rem 1.4rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

.c03-cause-card-cinematic:hover {
  background: rgba(7, 25, 48, 0.7);
  border-color: rgba(46, 115, 205, 0.6);
  transform: translateX(4px);
}

.c03-cause-num {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #F4CB15;
  background: rgba(244, 203, 21, 0.12);
  border: 1px solid rgba(244, 203, 21, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c03-cause-body {
  flex-grow: 1;
}

.c03-cause-heading {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

.c03-cause-paragraph {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.c03-quote-card {
  position: relative;
  background: linear-gradient(135deg, rgba(46, 115, 205, 0.2) 0%, rgba(7, 25, 48, 0.45) 100%);
  border-left: 3px solid #F4CB15;
  border-radius: 0 14px 14px 0;
  padding: 1.4rem 1.6rem;
}

.c03-quote-icon {
  font-size: 1.8rem;
  color: #F4CB15;
  opacity: 0.5;
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
}

.c03-quote-text {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(0.92rem, 0.3vw + 0.82rem, 1.05rem);
  font-style: italic;
  line-height: 1.6;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
}

.c03-quote-author {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #F4CB15;
}

/* Reversible Scroll Animations */
.c03-reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.c03-reveal-item.c03-active {
  opacity: 1;
  transform: translateY(0);
}

.c03-delay-1 { transition-delay: 0.08s; }
.c03-delay-2 { transition-delay: 0.18s; }

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .c03-scene-photo-bg {
    object-position: 80% 8%;
    transform: none;
  }
  .c03-navy-overlay-gradient {
    background: linear-gradient(
      180deg,
      rgba(7, 25, 48, 0.88) 0%,
      rgba(7, 25, 48, 0.72) 45%,
      rgba(7, 25, 48, 0.50) 100%
    );
  }
}

@media (max-width: 640px) {
  .c03-scene-photo-bg {
    object-position: 76% 12%;
    transform: none;
  }
  .c03-navy-overlay-gradient {
    background: linear-gradient(
      180deg,
      rgba(7, 25, 48, 0.90) 0%,
      rgba(7, 25, 48, 0.78) 50%,
      rgba(7, 25, 48, 0.58) 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .c03-scene-photo-bg,
  .c03-reveal-item {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
