/* ============================================================
   08-hero.css — Hero adaptatif 3 états (non publié / en cours / terminé)
   ============================================================ */

.hero-aujourdhui {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 340px;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.hero-aujourdhui__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/bg_libreville_atmo.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(1.15);
  transform: scale(1.02);
  z-index: 0;
}

.hero-aujourdhui__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 14, 26, 0.1) 0%,
    rgba(10, 14, 26, 0.5) 50%,
    rgba(10, 14, 26, 0.95) 100%);
  z-index: 1;
}

.hero-aujourdhui__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 340px;
}

.hero-aujourdhui__date {
  font-family: var(--font-display);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.hero-aujourdhui__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

/* ========== ETAT : PROGRAMME EN COURS ========== */

.hero-aujourdhui[data-etat="en_cours"] .hero-aujourdhui__bg {
  background-image: url('../assets/bg_libreville.jpg');
}

.hero-compteur {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: var(--space-md) 0;
}

.hero-compteur__cercle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--accent-danger);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 50px var(--accent-danger-glow);
  background: radial-gradient(circle at center,
    rgba(255, 94, 94, 0.12) 0%,
    transparent 70%);
}

.hero-compteur__cercle::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--accent-danger);
  opacity: 0.3;
  animation: pulse-ring 2.5s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(1);    opacity: 0.4; }
  100% { transform: scale(1.2);  opacity: 0; }
}

.hero-compteur__valeur {
  font-family: var(--font-data);
  font-size: 72px;
  font-weight: var(--font-weight-black);
  color: var(--accent-danger);
  line-height: 1;
  font-feature-settings: "tnum";
  text-shadow: 0 0 20px var(--accent-danger-glow);
}

.hero-compteur__label {
  font-family: var(--font-display);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.hero-aujourdhui__subtitle {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-top: var(--space-lg);
  max-width: 400px;
}

.hero-aujourdhui__progress {
  margin-top: var(--space-md);
  width: 100%;
  max-width: 360px;
}

.hero-progress__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-xs);
}

.hero-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-danger) 0%, var(--accent-warning) 100%);
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-smooth);
  box-shadow: 0 0 12px currentColor;
}

.hero-progress__info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-data);
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

/* ========== ETAT : PROGRAMME NON PUBLIE ========== */

.hero-aujourdhui[data-etat="non_publie"] {
  min-height: 280px;
}

.hero-nonpublie {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.hero-nonpublie__icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 4px 12px rgba(255, 176, 32, 0.3));
}

.hero-nonpublie__title {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.hero-nonpublie__subtitle {
  font-family: var(--font-serif);
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  font-style: italic;
  max-width: 360px;
  line-height: 1.5;
}

.hero-nonpublie__tick {
  font-family: var(--font-data);
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-sm);
}

/* ========== ETAT : PROGRAMME TERMINE ========== */

.hero-aujourdhui[data-etat="termine"] {
  min-height: 280px;
}

.hero-termine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero-termine__icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.hero-termine__title {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.hero-termine__recap {
  font-family: var(--font-serif);
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  max-width: 360px;
  line-height: 1.5;
  margin-top: var(--space-xs);
}

.hero-termine__demain {
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  color: var(--accent-go);
  font-weight: var(--font-weight-semibold);
  margin-top: var(--space-md);
}

/* ========== BANDEAU DISCLAIMER ========== */

.disclaimer-seeg {
  background: linear-gradient(135deg,
    rgba(255, 176, 32, 0.10) 0%,
    rgba(255, 176, 32, 0.04) 100%);
  border: 1px solid rgba(255, 176, 32, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.disclaimer-seeg__icon {
  color: var(--accent-warning);
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.2;
}

.disclaimer-seeg__text {
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text-secondary);
}

.disclaimer-seeg__text strong {
  color: var(--accent-warning);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
}
