/* ═══════════════════════════════════════════════════════════════
   FE.CO.TAE — Style v3
   1. Logo bien visible   2. Actualités « magazine »   3. Finitions
   (Le mode sombre est retiré : le site reste en clair.)
═══════════════════════════════════════════════════════════════ */

/* Le site reste en mode clair */
.theme-toggle, #themeToggle { display: none !important; }

/* ─── 1. LOGO ─────────────────────────────────────────────── */
.site-header .brand { display: flex !important; align-items: center; gap: 14px; text-decoration: none; }
.site-header .brand__logo {
  width: 66px !important; height: 66px !important; flex: 0 0 66px;
  padding: 3px !important; border-radius: 50% !important; background: #fff !important;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #009543, 0 10px 24px rgba(0,0,0,.16) !important;
  display: grid !important; place-items: center; overflow: hidden; border: 0 !important;
  transition: transform .3s ease;
}
.site-header .brand__logo img {
  width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
  object-fit: contain !important; border-radius: 50%; margin: 0 !important;
}
.site-header .brand:hover .brand__logo { transform: rotate(-6deg) scale(1.04); }
.site-header .brand__t b {
  font-size: 1.55rem !important; letter-spacing: .01em; line-height: 1; color: #0d1a0f;
}
.site-header .brand__t small {
  display: inline-flex !important; align-items: center; gap: 6px; margin-top: 6px;
  font-size: .66rem !important; font-weight: 700; letter-spacing: .2em !important; color: #006f32 !important;
}
.site-header .brand__t small::before {
  content: ""; width: 18px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #009543 0 33%, #FCD116 33% 66%, #DC241F 66%);
}
.site-header { box-shadow: 0 6px 24px rgba(13,26,15,.07); }
.site-header .nav { padding-top: 12px; padding-bottom: 12px; }
.site-header.shrink .brand__logo { width: 54px !important; height: 54px !important; flex-basis: 54px; }

@media (min-width: 1025px) {
  .site-header .brand__logo { width: 82px !important; height: 82px !important; flex-basis: 82px; }
  .site-header .brand__t b { font-size: 1.85rem !important; }
  .site-header.shrink .brand__logo { width: 62px !important; height: 62px !important; flex-basis: 62px; }
}
@media (max-width: 380px) {
  .site-header .brand__logo { width: 56px !important; height: 56px !important; flex-basis: 56px; }
  .site-header .brand__t b { font-size: 1.3rem !important; }
}

/* Boutons ronds de l'en-tête (menu) : plus nets */
.site-header .nav-icon { border-color: #e2e8f0 !important; background: #f8faf9 !important; }
.site-header .nav-icon:hover { background: #009543 !important; color: #fff !important; border-color: #009543 !important; }

/* ─── 2. ACTUALITÉS « MAGAZINE » ─────────────────────────── */
.fact { --fact-fb: 'Outfit', system-ui, sans-serif; }
.fact-head { margin-bottom: 26px !important; }
.fact-head__eyebrow { text-align: left !important; }
.fact-head__eyebrow span { padding-bottom: 0 !important; padding-left: 16px; }
.fact-head__eyebrow span::after {
  left: 0 !important; top: 8%; bottom: 8% !important; transform: none !important;
  width: 5px !important; height: auto !important; border-radius: 3px;
  background: linear-gradient(180deg, #009543 0 33%, #FCD116 33% 66%, #DC241F 66%) !important;
}
.fact-head__btn { border-radius: 12px !important; border-color: #009543 !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 700 !important; }

.fact-card {
  position: relative; border: 0 !important; border-radius: 20px !important; background: #fff;
  box-shadow: 0 8px 26px rgba(13,26,15,.08); transition: transform .3s, box-shadow .3s !important;
}
.fact-card:hover { transform: translateY(-5px) !important; box-shadow: 0 22px 48px rgba(13,26,15,.16) !important; }
.fact-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.fact-card__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,26,15,0) 55%, rgba(13,26,15,.45));
  transition: opacity .3s;
}
.fact-tag {
  top: 12px !important; left: 12px !important; z-index: 2; border-radius: 999px !important;
  background: rgba(255,255,255,.92) !important; color: #006f32 !important; backdrop-filter: blur(6px);
  font-size: .62rem !important; letter-spacing: .1em !important; padding: 6px 12px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.fact-card__body { padding: 18px 20px 20px !important; gap: 8px !important; }
.fact-card__date {
  align-self: flex-start; font-size: .72rem !important; font-weight: 700 !important; color: #006f32 !important;
  background: #e8f7ee; padding: 4px 10px; border-radius: 999px;
}
.fact-card__title {
  font-family: 'Outfit', system-ui, sans-serif !important; font-weight: 700 !important;
  font-size: 1.06rem !important; line-height: 1.35 !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fact-card__title a:hover { color: #009543 !important; }
.fact-card__excerpt {
  font-size: .86rem !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fact-card__more {
  margin-top: auto; align-self: flex-start; padding: 8px 14px; border-radius: 10px;
  background: #009543; color: #fff !important; font-size: .78rem !important;
}
.fact-card__more:hover { background: #006f32; }
.fact-card:hover .fact-card__more i { transform: translateX(3px); }

/* Mobile : carrousel horizontal à glisser (gain de place) */
@media (max-width: 767px) {
  .fact-head { flex-direction: row !important; align-items: center !important; text-align: left !important; }
  .fact-head__btn { padding: 9px 12px !important; font-size: .76rem !important; }
  .fact-grid {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px !important;
    margin: 0 -16px; padding: 6px 16px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .fact-grid::-webkit-scrollbar { display: none; }
  .fact-card { flex: 0 0 84%; scroll-snap-align: start; }
  .fact-card:hover { transform: none !important; }
}

/* Grand écran : une « une » à gauche + deux articles empilés à droite */
@media (min-width: 1024px) {
  .fact-grid { grid-template-columns: 1.45fr 1fr !important; grid-auto-rows: 1fr; gap: 24px !important; }
  .fact-card:first-child { grid-row: span 2; }
  .fact-card:first-child .fact-card__img { aspect-ratio: auto; flex: 1; min-height: 340px; }
  .fact-card:first-child .fact-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif !important; font-size: 1.9rem !important; line-height: 1.12 !important;
  }
  .fact-card:first-child .fact-card__excerpt { -webkit-line-clamp: 3; font-size: .95rem !important; }
  .fact-card:not(:first-child) { flex-direction: row !important; }
  .fact-card:not(:first-child) .fact-card__img { flex: 0 0 42%; aspect-ratio: auto; min-height: 100%; }
  .fact-card:not(:first-child) .fact-card__excerpt { display: none; }
}

/* ─── 3. FINITIONS ───────────────────────────────────────── */
/* Bandeau statistiques : chiffres en jaune drapeau */
.stats-bar .stat-n { color: #FCD116; }
/* Boutons du site : coins plus modernes */
.btn { border-radius: 12px !important; }
/* Sélection de texte aux couleurs du Congo */
::selection { background: #FCD116; color: #0d1a0f; }
