/* =========================================================
   CHEMIN DE FOI — CSS GLOBAL UNIQUE ET STABLE
   À garder seul : assets/css/chemin-de-foi.css
========================================================= */

:root {
  --cdf-blue: #0b2d5b;
  --cdf-blue-2: #123f78;
  --cdf-blue-3: #07172f;
  --cdf-gold: #d8a842;
  --cdf-gold-2: #f3c85a;
  --cdf-red: #b3261e;
  --cdf-green: #1f7a4d;
  --cdf-sky: #1d75bd;
  --cdf-text: #1f2937;
  --cdf-muted: #667085;
  --cdf-light: #f6f8fb;
  --cdf-border: #e5e7eb;
  --cdf-white: #ffffff;
  --cdf-shadow: 0 20px 50px rgba(7, 23, 47, 0.14);
  --cdf-shadow-soft: 0 12px 34px rgba(7, 23, 47, 0.09);
  --cdf-radius: 24px;
  --cdf-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cdf-title: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--cdf-font);
  color: var(--cdf-text);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: .22s ease; }
a:hover { color: var(--cdf-gold); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }
.container-xl { max-width: 1240px; }
.skip-link { position: absolute; top: -100px; left: 15px; z-index: 9999; padding: 10px 16px; border-radius: 10px; color: #fff; background: var(--cdf-blue); }
.skip-link:focus { top: 15px; }

/* =========================================================
   HEADER — STABLE, PAS DE MENU QUI DÉFORME LA PAGE
========================================================= */
.site-header {
  position: relative;
  z-index: 2000;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  background: #fff;
  box-shadow: 0 2px 18px rgba(7, 23, 47, .08);
  overflow: visible !important;
}
.top-strip {
  background: linear-gradient(90deg, var(--cdf-blue), #061f42);
  color: rgba(255,255,255,.94);
  font-size: 13px;
}
.top-links { gap: 0; }
.top-links li {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,.16);
}
.top-links li:first-child { padding-left: 0; }
.top-links a, .top-links span { color: rgba(255,255,255,.94); font-weight: 700; }
.top-links a:hover { color: var(--cdf-gold-2); }
.top-date i { margin-right: 8px; color: var(--cdf-gold-2); }
.social-icons a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.13);
}
.social-icons a:hover { color: var(--cdf-blue); background: var(--cdf-gold-2); transform: translateY(-2px); }

.brand-row {
  padding: 22px 0;
  background: linear-gradient(135deg, rgba(11,45,91,.04), rgba(216,168,66,.08)), #fff;
}
.brand-grid {
  display: grid;
  grid-template-columns: minmax(240px, 355px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.brand { display: inline-flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.brand img { max-width: 280px; max-height: 100px; object-fit: contain; }
.brand span { color: var(--cdf-blue); font-size: 14px; font-weight: 900; letter-spacing: .02em; }
.header-actions-row { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; }
.header-ad { width: min(100%, 620px); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--cdf-shadow-soft); }
.header-ad img { width: 100%; height: 80px; object-fit: contain; background: #fff; }
.support-btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--cdf-red), #d94f3b);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(179,38,30,.22);
}
.support-btn-header:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(179,38,30,.3); }

.main-nav {
  position: relative;
  z-index: 2200;
  min-height: 68px;
  background: linear-gradient(90deg, var(--cdf-blue-3), var(--cdf-blue));
  overflow: visible !important;
}
.main-nav .nav-container { position: relative; }
.mini-brand { display: none; }
.mini-brand img { width: 150px; max-height: 54px; object-fit: contain; }
.navbar-toggler { border: 0; border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.14); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(216,168,66,.35); }
.navbar-toggler-icon { filter: invert(1); }
.navbar-collapse { align-items: center; }
.navbar-nav { gap: 4px; }
.main-nav .nav-link {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 14px !important;
  color: rgba(255,255,255,.96) !important;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .01em;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.main-nav .dropdown.show > .nav-link,
.main-nav .cdf-mega-item.is-open > .nav-link { color: var(--cdf-gold-2) !important; }
.main-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 3px;
  border-radius: 999px;
  background: var(--cdf-gold-2);
  transform: scaleX(0);
  transition: .22s ease;
}
.main-nav .nav-link:hover::before,
.main-nav .nav-link.active::before,
.main-nav .dropdown.show > .nav-link::before,
.main-nav .cdf-mega-item.is-open > .nav-link::before { transform: scaleX(1); }

/* Bootstrap dropdowns */
.main-nav .dropdown-menu {
  margin-top: 0;
  border: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--cdf-shadow);
}
.compact-menu { min-width: 270px; padding: 12px; background: #fff; }
.dropdown-item { border-radius: 12px; padding: 10px 13px; color: var(--cdf-blue); font-weight: 800; }
.dropdown-item:hover { color: var(--cdf-blue); background: rgba(216,168,66,.14); }

/* Mega menu articles — caché par défaut avec !important pour empêcher le désordre */
.cdf-mega-item { position: static !important; }
.cdf-menu-caret { margin-left: 5px; font-size: 12px; line-height: 1; }
.cdf-mega-panel {
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  top: 100% !important;
  z-index: 2500 !important;
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--cdf-text) !important;
  background: transparent !important;
  pointer-events: none;
}
@media (min-width: 992px) {
  .cdf-mega-item:hover > .cdf-mega-panel,
  .cdf-mega-item.is-open > .cdf-mega-panel {
    display: block !important;
    pointer-events: auto;
  }
}
.cdf-mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr;
  gap: 26px;
  padding: 28px;
  border-radius: 0 0 26px 26px;
  color: var(--cdf-text) !important;
  background: linear-gradient(135deg, rgba(11,45,91,.04), rgba(216,168,66,.1)), #fff !important;
  box-shadow: 0 22px 58px rgba(7,23,47,.18);
}
.cdf-mega-col h3 { margin: 0 0 13px; color: var(--cdf-blue) !important; font-size: 18px; font-weight: 950; }
.cdf-mega-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: #263446 !important;
  font-weight: 800;
  border-bottom: 1px dashed rgba(11,45,91,.14);
}
.cdf-mega-col a::before { content: "›"; color: var(--cdf-gold); font-weight: 900; }
.cdf-mega-col a:hover { color: var(--cdf-blue) !important; padding-left: 6px; }
.cdf-mega-feature {
  padding: 24px;
  border-radius: 22px;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(7,23,47,.95), rgba(11,45,91,.88)), var(--cdf-blue) !important;
}
.cdf-mega-feature span { color: var(--cdf-gold-2); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.cdf-mega-feature h4 { margin: 9px 0; color: #fff; font-family: var(--cdf-title); font-size: 28px; line-height: 1.12; }
.cdf-mega-feature p { color: rgba(255,255,255,.82); margin-bottom: 14px; }
.cdf-mega-btn { display: inline-flex; padding: 10px 16px; border-radius: 999px; color: var(--cdf-blue) !important; background: var(--cdf-gold-2); font-weight: 950; }
.cdf-mega-btn:hover { color: #fff !important; background: var(--cdf-red); }

.nav-search {
  display: flex;
  align-items: center;
  width: 230px;
  height: 44px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
}
.nav-search input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; color: #fff; background: transparent; }
.nav-search input::placeholder { color: rgba(255,255,255,.72); }
.nav-search button { width: 54px; height: 44px; border: 0; color: var(--cdf-blue); background: var(--cdf-gold-2); }
.nav-search button:hover { color: #fff; background: var(--cdf-red); }

/* =========================================================
   HOMEPAGE
========================================================= */
main { position: relative; z-index: 1; }
.newsletter-layer {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7,23,47,.68);
  backdrop-filter: blur(6px);
}
.newsletter-layer.is-visible { display: flex; }
.newsletter-card {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--cdf-shadow);
}
.newsletter-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 999px; background: var(--cdf-blue); color: #fff; font-size: 24px; line-height: 1; }
.newsletter-visual { background: #f8fafc; display: grid; place-items: center; padding: 20px; }
.newsletter-visual img { max-height: 360px; object-fit: contain; }
.newsletter-content { padding: 42px; }
.eyebrow { color: var(--cdf-red); text-transform: uppercase; font-weight: 950; letter-spacing: .08em; font-size: 12px; }
.newsletter-content h2 { margin: 8px 0 12px; color: var(--cdf-blue); font-family: var(--cdf-title); font-size: 42px; }
.newsletter-form { display: flex; gap: 10px; margin: 18px 0 10px; }
.newsletter-form input { flex: 1; min-height: 48px; border: 1px solid var(--cdf-border); border-radius: 999px; padding: 0 16px; }
.newsletter-form button { border: 0; border-radius: 999px; padding: 0 18px; color: var(--cdf-blue); background: var(--cdf-gold-2); font-weight: 950; }

.hero-magazine-section { padding: 38px 0 28px; background: linear-gradient(180deg, #f8fafc, #fff); }
.hero-magazine-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr); gap: 24px; align-items: stretch; }
.hero-magazine-carousel { position: relative; min-height: 610px; overflow: hidden; border-radius: 30px; background: var(--cdf-blue-3); box-shadow: var(--cdf-shadow); }
.hero-magazine-carousel .carousel-inner,
.hero-magazine-carousel .carousel-item { height: 610px; }
.hero-magazine-img { width: 100%; height: 100%; object-fit: cover; }
.hero-pos-top { object-position: center top; }
.hero-pos-center { object-position: center center; }
.hero-poster-full { object-fit: contain; background: #06152b; }
.hero-magazine-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,23,47,.88), rgba(7,23,47,.58), rgba(7,23,47,.18)); }
.hero-magazine-caption { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 82px; max-width: 760px; color: #fff; }
.hero-category { display: inline-flex; padding: 8px 13px; border-radius: 999px; color: var(--cdf-blue); background: var(--cdf-gold-2); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.hero-magazine-caption h1 { margin: 14px 0 12px; max-width: 820px; color: #fff; font-family: var(--cdf-title); font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.hero-magazine-caption p { max-width: 660px; color: rgba(255,255,255,.86); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.btn-main-red, .btn-main-glass { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 999px; font-weight: 950; }
.btn-main-red { color: #fff; background: var(--cdf-red); }
.btn-main-red:hover { color: var(--cdf-blue); background: var(--cdf-gold-2); }
.btn-main-glass { color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); }
.btn-main-glass:hover { color: var(--cdf-blue); background: #fff; }
.hero-meta { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: 13px; }
.hero-meta span { width: 6px; height: 6px; border-radius: 999px; background: var(--cdf-gold-2); }
.hero-slider-controls { position: absolute; left: 34px; right: 34px; bottom: 24px; z-index: 4; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hero-round-control { pointer-events: auto; position: static; width: 44px; height: 44px; border: 0; border-radius: 999px; opacity: 1; background: var(--cdf-gold-2); color: var(--cdf-blue); display: grid; place-items: center; }
.hero-round-control:hover { background: var(--cdf-red); color: #fff; }
.hero-dot-indicators { position: static; pointer-events: auto; margin: 0; display: flex; gap: 8px; }
.hero-dot-indicators button { width: 10px !important; height: 10px !important; border-radius: 999px !important; border: 0 !important; background: rgba(255,255,255,.55) !important; opacity: 1 !important; }
.hero-dot-indicators button.active { width: 34px !important; background: var(--cdf-gold-2) !important; }

.hero-audio-sidebar { display: grid; gap: 20px; }
.audio-box { padding: 26px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, var(--cdf-blue), var(--cdf-blue-3)); box-shadow: var(--cdf-shadow-soft); overflow: hidden; }
.audio-box h2 { margin: 0 0 10px; color: #fff; font-family: var(--cdf-title); font-size: 30px; }
.audio-box p { color: rgba(255,255,255,.8); margin-bottom: 20px; }
.sound-wave { display: flex; align-items: end; gap: 4px; height: 54px; margin: 18px 0; }
.sound-wave span { width: 5px; min-height: 12px; border-radius: 999px; background: var(--cdf-gold-2); animation: cdfWave 1.3s ease-in-out infinite; }
.sound-wave span:nth-child(2n) { animation-delay: .15s; height: 36px; }
.sound-wave span:nth-child(3n) { animation-delay: .28s; height: 48px; }
@keyframes cdfWave { 0%,100% { transform: scaleY(.5); opacity: .65; } 50% { transform: scaleY(1.25); opacity: 1; } }
.radio-play { width: 100%; display: flex; gap: 12px; align-items: center; border: 0; border-radius: 18px; padding: 14px; text-align: left; color: var(--cdf-blue); background: #fff; font-weight: 900; }
.radio-play small { display: block; color: var(--cdf-muted); font-weight: 700; }
.play-circle { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; border-radius: 999px; background: var(--cdf-gold-2); color: var(--cdf-blue); }
.cdf-youtube-player { margin-top: 18px; border-radius: 18px; overflow: hidden; background: #000; }
.cdf-youtube-player iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.podcast-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.11); margin-bottom: 16px; }
.podcast-card img { width: 76px; height: 76px; object-fit: cover; border-radius: 16px; }
.podcast-card small { display: block; color: rgba(255,255,255,.72); }
.podcast-player { width: 100%; margin-top: 14px; }
.cdf-audio-message { margin-top: 10px; color: var(--cdf-gold-2); font-size: 13px; }

/* Reusable sections */
.verse-day-section, .must-read-section, .quick-access, .collab-section, .magazine-feature-section, .cdf-news-showcase, .cdf-today-showcase, .content-section { padding: 46px 0; }
.verse-day-section { background: #fff; }
.verse-day-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 24px; padding: 34px; border-radius: 30px; background: linear-gradient(135deg, rgba(216,168,66,.16), rgba(11,45,91,.05)), #fff; box-shadow: var(--cdf-shadow-soft); border: 1px solid rgba(11,45,91,.08); }
.verse-day-icon { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 24px; color: var(--cdf-blue); background: var(--cdf-gold-2); font-size: 36px; }
.verse-day-kicker, .must-read-title h2, .section-heading span, .cdf-showcase-heading span { color: var(--cdf-red); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.verse-day-content h2 { color: var(--cdf-blue); font-family: var(--cdf-title); font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.verse-reference { color: var(--cdf-gold); font-weight: 950; }
.verse-day-content h3 { margin-top: 22px; color: var(--cdf-blue); font-weight: 950; }
.verse-declaration { margin-top: 18px; padding: 18px; border-radius: 18px; color: var(--cdf-blue); background: #fff; border-left: 5px solid var(--cdf-gold); }
.verse-declaration span { display: block; margin-top: 5px; }

.must-read-wrap, .feature-box, .section-block, .widget, .community-panel, .cdf-whatsapp-verse-card { border-radius: 28px; background: #fff; border: 1px solid rgba(11,45,91,.08); box-shadow: var(--cdf-shadow-soft); }
.must-read-wrap { padding: 28px; }
.must-read-head, .cdf-showcase-heading, .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.must-read-title { display: flex; align-items: center; gap: 12px; }
.must-read-accent { width: 8px; height: 42px; border-radius: 999px; background: var(--cdf-red); }
.must-read-title h2, .cdf-showcase-heading h2, .section-heading h2, .cdf-today-title { margin: 0; color: var(--cdf-blue); font-family: var(--cdf-title); font-size: clamp(30px, 4vw, 48px); }
.must-read-head a, .cdf-showcase-heading a, .section-heading a { color: var(--cdf-blue); font-weight: 950; }
.must-read-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.story-card { overflow: hidden; border-radius: 22px; border: 1px solid var(--cdf-border); background: #fff; }
.story-thumb img { width: 100%; height: 170px; object-fit: cover; }
.story-body { padding: 16px; }
.story-pill, .cdf-pill, .resource-tag, .product-type { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--cdf-blue); background: rgba(216,168,66,.18); font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.story-body h3 { margin: 10px 0; font-size: 18px; line-height: 1.22; color: var(--cdf-blue); font-weight: 950; }
.story-body time { color: var(--cdf-muted); font-size: 13px; }
.quick-access { padding-top: 18px; }
.quick-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.quick-grid a { min-height: 115px; display: grid; place-items: center; gap: 10px; text-align: center; padding: 18px; border-radius: 22px; color: var(--cdf-blue); background: #fff; border: 1px solid rgba(11,45,91,.08); box-shadow: var(--cdf-shadow-soft); font-weight: 950; }
.quick-grid i { font-size: 28px; color: var(--cdf-gold); }
.quick-grid a:hover { transform: translateY(-5px); color: #fff; background: var(--cdf-blue); }
.quick-grid a:hover i { color: var(--cdf-gold-2); }

.collab-section { background: var(--cdf-light); }
.collab-grid { display: grid; grid-template-columns: 1.2fr repeat(2, 1fr); gap: 18px; }
.collab-main { grid-row: span 2; padding: 32px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, var(--cdf-blue), var(--cdf-blue-3)); }
.collab-main h2 { color: #fff; font-family: var(--cdf-title); font-size: 42px; }
.collab-main p { color: rgba(255,255,255,.82); }
.collab-main a { color: var(--cdf-gold-2); font-weight: 950; }
.collab-item { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid rgba(11,45,91,.08); box-shadow: var(--cdf-shadow-soft); }
.collab-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: rgba(216,168,66,.18); color: var(--cdf-blue); margin-bottom: 12px; }
.collab-item strong { display: block; color: var(--cdf-blue); font-size: 18px; }
.collab-item small { display: block; color: var(--cdf-muted); margin-top: 6px; }

.magazine-feature-grid.v2-layout { display: grid; grid-template-columns: 1.25fr 1.05fr .75fr; gap: 22px; align-items: stretch; }
.feature-box { padding: 24px; overflow: hidden; }
.feature-box-header h2 { margin: 0 0 6px; color: var(--cdf-blue); font-family: var(--cdf-title); font-size: 34px; }
.feature-box-header p { color: var(--cdf-muted); margin-bottom: 18px; }
.boutique-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.boutique-card { display: block; padding: 14px; border-radius: 20px; background: #f8fafc; border: 1px solid var(--cdf-border); }
.boutique-thumb { height: 150px; display: grid; place-items: center; border-radius: 16px; background: #fff; overflow: hidden; }
.boutique-thumb img { width: 100%; height: 100%; object-fit: contain; }
.boutique-card h3 { margin: 10px 0 6px; color: var(--cdf-blue); font-size: 16px; font-weight: 950; }
.boutique-card strong { color: var(--cdf-red); display: block; margin-top: 6px; }
.event-upcoming-slider .carousel-item { min-height: 482px; }
.event-card-v2 { display: grid; grid-template-columns: .85fr 1fr; gap: 16px; min-height: 480px; color: inherit; }
.event-poster-v2 { border-radius: 22px; overflow: hidden; background: #f8fafc; }
.event-poster-v2 img { width: 100%; height: 100%; object-fit: contain; }
.event-info-v2 { padding: 10px 0; }
.event-info-v2 h3 { color: var(--cdf-blue); font-family: var(--cdf-title); font-size: 28px; line-height: 1.14; }
.event-meta-v2 { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.event-meta-v2 span { padding: 6px 10px; border-radius: 999px; background: rgba(216,168,66,.16); color: var(--cdf-blue); font-weight: 850; font-size: 12px; }
.event-info-v2 p { color: var(--cdf-muted); }
.event-link-v2, .reserve-ad-link { color: var(--cdf-blue); font-weight: 950; }
.ad-slider-v2 { border-radius: 22px; overflow: hidden; background: #f8fafc; }
.ad-slide-card { display: block; height: 430px; background: #fff; }
.ad-slide-card img { width: 100%; height: 100%; object-fit: contain; }
.ad-nav-btn { width: 38px; height: 38px; border-radius: 999px; top: 50%; background: rgba(7,23,47,.55); }
.reserve-ad-link { display: inline-flex; margin-top: 15px; }

.cdf-news-showcase, .cdf-today-showcase { background: #fff; }
.cdf-feature-grid, .cdf-today-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.cdf-feature-card, .cdf-today-card { overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid rgba(11,45,91,.08); box-shadow: var(--cdf-shadow-soft); }
.cdf-feature-img, .cdf-today-img { height: 180px; overflow: hidden; background: #f8fafc; }
.cdf-feature-img img, .cdf-today-img img { width: 100%; height: 100%; object-fit: cover; }
.cdf-feature-body, .cdf-today-body { padding: 18px; }
.cdf-feature-body h3, .cdf-today-body h3 { margin: 10px 0 8px; color: var(--cdf-blue); font-size: 18px; font-weight: 950; line-height: 1.23; }
.cdf-feature-body p, .cdf-today-body p { color: var(--cdf-muted); margin: 0; }
.cdf-pill.sky { background: rgba(29,117,189,.12); color: var(--cdf-sky); }
.cdf-pill.green { background: rgba(31,122,77,.12); color: var(--cdf-green); }
.cdf-pill.gold { background: rgba(216,168,66,.18); color: #9a6c0c; }
.cdf-pill.blue { background: rgba(11,45,91,.12); color: var(--cdf-blue); }
.cdf-pill.gray { background: #eef2f7; color: #475467; }
.cdf-today-title { margin-bottom: 24px; }
.cdf-today-title span { color: var(--cdf-muted); font-family: var(--cdf-font); font-size: .55em; font-weight: 800; }

.content-section { background: linear-gradient(180deg, #f8fafc, #fff); }
.section-block { padding: 26px; margin-bottom: 24px; }
.bible-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.bible-card { padding: 12px; border-radius: 20px; background: #f8fafc; border: 1px solid var(--cdf-border); }
.bible-card img { width: 100%; height: 145px; object-fit: cover; border-radius: 16px; }
.bible-card strong { display: block; color: var(--cdf-blue); margin-top: 10px; font-weight: 950; }
.bible-card span { display: block; color: var(--cdf-muted); font-size: 13px; }
.testimony-grid { display: grid; gap: 14px; }
.testimony-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: #f8fafc; border: 1px solid var(--cdf-border); }
.testimony-card img { width: 86px; height: 86px; object-fit: cover; border-radius: 20px; }
.testimony-card span { color: var(--cdf-red); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.testimony-card h3 { margin: 4px 0 0; color: var(--cdf-blue); font-size: 18px; font-weight: 950; }
.shop-carousel { position: relative; }
.resource-slide-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.resource-card { padding: 18px; border-radius: 22px; background: #f8fafc; border: 1px solid var(--cdf-border); min-height: 100%; }
.resource-img { height: 210px; border-radius: 18px; background: #fff; overflow: hidden; margin-bottom: 14px; }
.resource-img img { width: 100%; height: 100%; object-fit: contain; }
.resource-card h3 { color: var(--cdf-blue); font-weight: 950; margin: 10px 0; }
.resource-card p { color: var(--cdf-muted); }
.resource-link { color: var(--cdf-blue); font-weight: 950; }
.shop-control { width: 40px; height: 40px; border-radius: 999px; background: rgba(11,45,91,.72); top: 46%; }
.community-panel { padding: 22px; }
.community-main { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: center; }
.community-main img { width: 100%; height: 180px; object-fit: cover; border-radius: 20px; }
.community-main span { color: var(--cdf-red); font-weight: 950; text-transform: uppercase; font-size: 12px; }
.community-main h3 { color: var(--cdf-blue); font-family: var(--cdf-title); font-size: 30px; }
.community-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.community-actions a { padding: 14px; border-radius: 16px; background: #f8fafc; color: var(--cdf-blue); font-weight: 900; }
.community-actions i { color: var(--cdf-gold); margin-right: 7px; }

.cdf-whatsapp-verse-card { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px; background: linear-gradient(135deg, rgba(31,122,77,.08), rgba(216,168,66,.1)), #fff; }
.cdf-whatsapp-eyebrow { color: var(--cdf-green); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.cdf-whatsapp-verse-copy h2 { color: var(--cdf-blue); font-family: var(--cdf-title); font-size: 38px; }
.cdf-whatsapp-mini-verse { padding: 16px; border-radius: 18px; background: #fff; border-left: 5px solid var(--cdf-green); }
.cdf-whatsapp-mini-verse strong, .cdf-whatsapp-mini-verse span { display: block; }
.cdf-whatsapp-mini-verse strong { color: var(--cdf-blue); }
.cdf-whatsapp-form { padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(7,23,47,.08); }
.cdf-whatsapp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cdf-whatsapp-field { margin-bottom: 14px; }
.cdf-whatsapp-field label { display: block; color: var(--cdf-blue); font-weight: 950; margin-bottom: 6px; }
.cdf-whatsapp-field input { width: 100%; min-height: 48px; border: 1px solid var(--cdf-border); border-radius: 14px; padding: 0 14px; }
.cdf-whatsapp-consent { display: flex; gap: 9px; align-items: start; color: var(--cdf-muted); font-size: 14px; }
.cdf-whatsapp-submit { width: 100%; min-height: 50px; margin-top: 14px; border: 0; border-radius: 999px; color: #fff; background: var(--cdf-green); font-weight: 950; }
.cdf-whatsapp-alert { padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; font-weight: 850; }
.cdf-whatsapp-alert.is-success { color: var(--cdf-green); background: rgba(31,122,77,.12); }
.cdf-whatsapp-alert.is-error { color: var(--cdf-red); background: rgba(179,38,30,.1); }
.cdf-hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.sidebar-stack { position: sticky; top: 88px; display: grid; gap: 18px; }
.widget { padding: 22px; }
.widget h2 { color: var(--cdf-blue); font-family: var(--cdf-title); font-size: 28px; margin: 0 0 14px; }
.search-widget form { display: flex; height: 48px; border: 1px solid var(--cdf-border); border-radius: 999px; overflow: hidden; }
.search-widget input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; }
.search-widget button { width: 52px; border: 0; background: var(--cdf-blue); color: #fff; }
.social-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.social-stat-grid a { padding: 14px; border-radius: 18px; color: var(--cdf-blue); background: #f8fafc; font-weight: 950; }
.social-stat-grid i { color: var(--cdf-gold); }
.social-stat-grid strong, .social-stat-grid span { display: block; }
.video-popup-card { position: relative; display: block; overflow: hidden; border-radius: 20px; background: #000; }
.video-popup-card img { width: 100%; height: 220px; object-fit: cover; opacity: .82; }
.video-play-button { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 999px; color: var(--cdf-blue); background: var(--cdf-gold-2); }
.video-widget h3 { margin: 14px 0 0; color: var(--cdf-blue); font-size: 18px; font-weight: 950; }
.mini-posts li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mini-posts img { width: 68px; height: 68px; object-fit: cover; border-radius: 16px; }
.mini-posts a { color: var(--cdf-blue); font-weight: 900; }
.magazine-widget img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 20px; background: #fff; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-list a { padding: 7px 10px; border-radius: 999px; background: #f1f5f9; color: var(--cdf-blue); font-weight: 800; font-size: 13px; }

.back-to-top, .cdf-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 3500;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--cdf-blue);
  background: var(--cdf-gold-2);
  box-shadow: var(--cdf-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.back-to-top.show, .cdf-back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { color: #fff; background: var(--cdf-blue); }

/* =========================================================
   FOOTER
========================================================= */
.site-footer { position: relative; overflow: hidden; color: rgba(255,255,255,.84); background: radial-gradient(circle at top left, rgba(216,168,66,.18), transparent 32%), linear-gradient(135deg, #06152b, #0b2d5b 58%, #07172f); }
.footer-main { padding: 60px 0 34px; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px; border-radius: 28px; background: linear-gradient(135deg, var(--cdf-gold), var(--cdf-gold-2)); color: var(--cdf-blue-3); margin-bottom: 36px; }
.footer-cta span { text-transform: uppercase; font-weight: 950; letter-spacing: .08em; font-size: 12px; }
.footer-cta h2 { margin: 4px 0 0; font-family: var(--cdf-title); font-weight: 950; }
.footer-cta-btn, .footer-support-link { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; color: #fff; background: var(--cdf-blue); font-weight: 950; }
.footer-cta-btn:hover, .footer-support-link:hover { color: #fff; background: var(--cdf-red); transform: translateY(-2px); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr 1fr; gap: 34px; align-items: start; }
.footer-logo { display: inline-flex; margin-bottom: 18px; }
.footer-logo img { max-width: 230px; max-height: 95px; object-fit: contain; background: #fff; border-radius: 16px; padding: 8px; }
.footer-about p, .footer-col p { color: rgba(255,255,255,.8); }
.footer-support-link { margin-top: 12px; color: var(--cdf-blue); background: var(--cdf-gold-2); }
.cdf-footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; }
.cdf-footer-social { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); }
.cdf-footer-social:hover { color: var(--cdf-blue); background: var(--cdf-gold-2); transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; }
.footer-col h2 { color: #fff; font-family: var(--cdf-title); font-size: 26px; margin-bottom: 18px; }
.footer-col a { color: rgba(255,255,255,.82); font-weight: 750; margin-bottom: 10px; }
.footer-col a:hover { color: var(--cdf-gold-2); padding-left: 5px; }
.footer-newsletter-box { padding: 24px; border-radius: 24px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.footer-newsletter { display: flex; height: 48px; overflow: hidden; margin-top: 18px; border-radius: 999px; background: #fff; }
.footer-newsletter input { flex: 1; min-width: 0; height: 100%; padding: 0 16px; border: 0; outline: 0; }
.footer-newsletter button { width: 54px; height: 48px; border: 0; color: var(--cdf-blue); background: var(--cdf-gold-2); }
.footer-contact-mini { margin-top: 18px; }
.footer-contact-mini p { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.footer-contact-mini i { color: var(--cdf-gold-2); }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.72); font-size: 14px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom nav a { color: rgba(255,255,255,.72); font-weight: 750; }
.footer-bottom nav a:hover { color: var(--cdf-gold-2); }
.cdf-login-modal { border: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--cdf-shadow); }
.cdf-login-modal .modal-title { color: var(--cdf-blue); font-weight: 950; }
.cdf-login-btn { background: var(--cdf-blue); border-color: var(--cdf-blue); font-weight: 850; }
.cdf-login-btn:hover { background: var(--cdf-gold); border-color: var(--cdf-gold); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1199px) {
  .brand-grid { grid-template-columns: 280px 1fr; }
  .header-ad { display: none; }
  .hero-magazine-grid, .magazine-feature-grid.v2-layout { grid-template-columns: 1fr; }
  .hero-audio-sidebar { grid-template-columns: 1fr 1fr; }
  .event-card-v2 { grid-template-columns: .8fr 1fr; }
}
@media (min-width: 992px) {
  .main-nav .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991px) {
  .brand-row { display: none; }
  .mini-brand { display: block; }
  .main-nav { min-height: 64px; padding: 8px 0; }
  .navbar-collapse { margin-top: 14px; padding: 16px; border-radius: 18px; background: rgba(7,23,47,.98); }
  .main-nav .nav-link { min-height: auto; padding: 13px 6px !important; }
  .main-nav .nav-link::before { display: none; }
  .nav-search { width: 100%; margin-top: 12px; }
  .main-nav .dropdown-menu { position: static !important; transform: none !important; border-radius: 16px; box-shadow: none; margin: 5px 0 10px; }
  .cdf-mega-panel { position: static !important; left: auto !important; right: auto !important; top: auto !important; display: none !important; pointer-events: auto; }
  .cdf-mega-item.is-open > .cdf-mega-panel { display: block !important; }
  .cdf-mega-inner { grid-template-columns: 1fr; padding: 18px; border-radius: 18px; box-shadow: none; }
  .top-strip .container-xl { justify-content: center !important; }
  .top-links { justify-content: center; }
  .top-links li { min-height: 36px; padding: 0 9px; border-right: 0; font-size: 12px; }
  .social-icons { justify-content: center; width: 100%; padding-bottom: 8px; }
  .hero-audio-sidebar, .must-read-grid, .quick-grid, .cdf-feature-grid, .cdf-today-grid, .bible-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .collab-grid { grid-template-columns: 1fr 1fr; }
  .collab-main { grid-row: auto; grid-column: 1 / -1; }
  .cdf-whatsapp-verse-card, .newsletter-card { grid-template-columns: 1fr; }
  .sidebar-stack { position: static; }
}
@media (max-width: 767px) {
  .hero-magazine-carousel, .hero-magazine-carousel .carousel-inner, .hero-magazine-carousel .carousel-item { height: 520px; min-height: 520px; }
  .hero-magazine-caption { left: 22px; right: 22px; bottom: 72px; }
  .hero-magazine-caption h1 { font-size: 36px; }
  .hero-actions { gap: 8px; }
  .btn-main-red, .btn-main-glass { width: 100%; justify-content: center; }
  .hero-slider-controls { left: 18px; right: 18px; }
  .verse-day-card { grid-template-columns: 1fr; padding: 24px; }
  .must-read-wrap, .section-block, .widget { padding: 20px; }
  .must-read-head, .cdf-showcase-heading, .section-heading { display: block; }
  .hero-audio-sidebar, .must-read-grid, .quick-grid, .cdf-feature-grid, .cdf-today-grid, .bible-grid, .resource-slide-grid, .community-actions, .footer-grid, .collab-grid, .boutique-grid { grid-template-columns: 1fr; }
  .community-main, .event-card-v2 { grid-template-columns: 1fr; }
  .event-poster-v2 img { max-height: 360px; }
  .ad-slide-card { height: 360px; }
  .footer-cta, .footer-bottom-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-bottom nav { justify-content: center; }
}
@media (max-width: 575px) {
  .top-links li:nth-child(n+4) { display: none; }
  .newsletter-content { padding: 28px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { min-height: 48px; }
  .mini-brand img { width: 128px; }
  .hero-magazine-section, .verse-day-section, .must-read-section, .quick-access, .collab-section, .magazine-feature-section, .cdf-news-showcase, .cdf-today-showcase, .content-section { padding: 32px 0; }
  .hero-magazine-carousel, .hero-magazine-carousel .carousel-inner, .hero-magazine-carousel .carousel-item { height: 560px; min-height: 560px; }
  .social-stat-grid, .cdf-whatsapp-form-grid { grid-template-columns: 1fr; }
  .back-to-top, .cdf-back-to-top { width: 48px; height: 48px; right: 15px; bottom: 15px; }
}


/* =========================================================
   LOT 2 — pages articles, études, contributeur, boutique
   Intégré dans le CSS unique de base.
========================================================= */
.article-redesign-page,
.cdf-premium-page,
.cdf-page-main,
.page-contributeur,
.page-boutique,
.cdf-legacy-page { background: #f7f9fc; }

.article-hero-premium,
.cdf-article-hero,
.contrib-hero,
.shop-hero { padding: 58px 0 34px; }
.article-hero-grid,
.cdf-article-hero-card,
.contrib-hero-card,
.shop-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center; padding: 34px; border-radius: 30px; background: linear-gradient(135deg, #07172f, #0b2d5b); box-shadow: var(--cdf-shadow); overflow: hidden; }
.article-hero-text,
.cdf-article-hero-text,
.contrib-hero-copy,
.shop-hero-text { color: #fff; }
.article-hero-text h1,
.cdf-article-hero h1,
.contrib-hero-copy h1,
.shop-hero-text h1 { margin: 0; font-family: var(--cdf-title); font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.article-hero-text p,
.cdf-article-hero p,
.contrib-hero-copy p,
.shop-hero-text p { margin-top: 18px; color: rgba(255,255,255,.84); font-size: 18px; }
.premium-kicker,
.cdf-kicker,
.eyebrow,
.shop-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 8px 14px; border-radius: 999px; color: #07172f; background: #f0c96a; font-size: 13px; font-weight: 950; text-transform: uppercase; letter-spacing: .07em; }
.article-meta-premium,
.cdf-article-meta,
.hero-points,
.shop-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.article-meta-premium span,
.cdf-article-meta span,
.hero-points span,
.shop-hero-stats div { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; color: rgba(255,255,255,.92); background: rgba(255,255,255,.12); font-size: 13px; font-weight: 800; }
.article-hero-image,
.cdf-article-hero-image,
.contrib-hero-visual,
.shop-hero-showcase { min-height: 400px; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.article-hero-image img,
.cdf-article-hero-image img,
.contrib-hero-visual img,
.showcase-big img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }

.article-body-premium,
.cdf-content-section,
.luc-content-section,
.content-section { padding: 34px 0 70px; }
.article-layout-premium,
.cdf-content-layout,
.luc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.article-card-premium,
.cdf-content-card,
.luc-card,
.single-post { padding: 34px; border-radius: 28px; background: #fff; box-shadow: var(--cdf-shadow-soft); border: 1px solid rgba(11,45,91,.08); }
.article-body-premium .single-post,
.cdf-content-card .single-post,
.luc-card .single-post { padding: 0; box-shadow: none; border: 0; }
.single-post img,
.article-card-premium img,
.cdf-content-card img { width: 100%; max-height: 650px; object-fit: contain; border-radius: 22px; background: #fff; box-shadow: var(--cdf-shadow-soft); margin: 24px 0; }
.single-post h1, .single-post h2, .article-card-premium h2, .cdf-content-card h2 { color: #0b2d5b; font-family: var(--cdf-title); line-height: 1.1; }
.single-post p,
.article-card-premium p,
.cdf-content-card p { color: #263446; font-size: 17px; }
.single-post blockquote,
.article-card-premium blockquote,
.cdf-content-card blockquote { padding: 26px 30px; border-left: 6px solid #d8a842; border-radius: 18px; background: linear-gradient(135deg, rgba(216,168,66,.14), rgba(11,45,91,.06)); color: #0b2d5b; font-weight: 800; }
.post-tags, .share-post-box { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.post-tags li, .share-post-box a { padding: 8px 12px; border-radius: 999px; background: #eef3fa; color: #0b2d5b; font-weight: 800; }

.sidebar, .article-sidebar-premium, .luc-sidebar, .shop-sidebar { display: grid; gap: 20px; }
.widget, .article-widget, .luc-widget, .shop-widget, .movie-widget { padding: 24px; border-radius: 24px; background: #fff; box-shadow: var(--cdf-shadow-soft); border: 1px solid rgba(11,45,91,.08); }
.widget h2, .article-widget h2, .luc-widget h2, .shop-widget h2 { color: #0b2d5b; font-family: var(--cdf-title); font-size: 26px; }

/* Legacy templates cleaned inside new shell */
.cdf-legacy-page #content-section { padding: 52px 0; }
.cdf-legacy-page .row { row-gap: 24px; }
.cdf-legacy-page .posts-block,
.cdf-legacy-page .autor-content { padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--cdf-shadow-soft); }
.cdf-legacy-page .news-post { padding: 16px; border-radius: 20px; background: #fff; box-shadow: var(--cdf-shadow-soft); margin-bottom: 18px; }
.cdf-legacy-page .post-image img { width: 100%; border-radius: 16px; object-fit: cover; }

/* Contributeur */
.mission-section, .criteria-section, .form-section, .process-section { padding: 46px 0; }
.section-title.center { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-title h2 { color: #0b2d5b; font-family: var(--cdf-title); font-size: clamp(34px, 4vw, 54px); }
.mission-grid, .criteria-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.mission-card, .criteria-card, .process-card, .contrib-form-card { padding: 26px; border-radius: 24px; background: #fff; box-shadow: var(--cdf-shadow-soft); }
.mission-card i, .criteria-card i { font-size: 30px; color: #d8a842; margin-bottom: 14px; }
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; align-items: start; }
.form-side, .contrib-form { padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--cdf-shadow-soft); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 900; color: #0b2d5b; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d9e1ee; border-radius: 14px; padding: 12px 14px; }
.submit-btn, .btn-primary-cdf, .btn-soft-cdf, .primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 0; font-weight: 950; }
.submit-btn, .btn-primary-cdf, .primary-action { color: #fff; background: #0b2d5b; }
.btn-soft-cdf, .secondary-action { color: #0b2d5b; background: #f0c96a; }
.check-row { display: flex; gap: 10px; margin: 16px 0; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.process-card { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }

/* Boutique */
.shop-toolbar-section, .shop-products-section { padding: 40px 0; }
.shop-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 18px; }
.shop-search { display: flex; align-items: center; gap: 10px; min-width: 280px; padding: 12px 16px; border-radius: 999px; background: #fff; box-shadow: var(--cdf-shadow-soft); }
.shop-search input { border: 0; outline: 0; width: 100%; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-filters button, .shop-category-list button { border: 0; border-radius: 999px; padding: 9px 14px; background: #eef3fa; color: #0b2d5b; font-weight: 900; }
.shop-filters button.active { color: #fff; background: #0b2d5b; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shop-product-card { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--cdf-shadow-soft); border: 1px solid rgba(11,45,91,.08); }
.shop-product-card.is-hidden { display: none; }
.shop-product-img { height: 240px; display: grid; place-items: center; background: #f7f9fc; }
.shop-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 14px; }
.shop-product-body { padding: 20px; }
.shop-product-body h3 { color: #0b2d5b; font-weight: 950; }
.shop-price { color: #b3261e; font-weight: 950; font-size: 20px; }
.shop-add-btn { border: 0; border-radius: 999px; padding: 10px 15px; color: #fff; background: #0b2d5b; font-weight: 900; }
.header-cart-btn, .cart-floating { display: none; }
.page-boutique .header-cart-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 16px; color: #0b2d5b; background: #f0c96a; font-weight: 900; }
.cart-floating { position: fixed; right: 22px; bottom: 82px; z-index: 1001; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; color: #fff; background: #0b2d5b; box-shadow: var(--cdf-shadow); }
.page-boutique .cart-floating { display: inline-flex; }
.cart-count-badge, #headerCartCount { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; color: #fff; background: #b3261e; font-size: 12px; }
.cart-panel { position: fixed; inset: 0; z-index: 2000; display: none; }
.cart-panel.is-open { display: block; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(7,23,47,.55); }
.cart-drawer { position: absolute; top: 0; right: 0; width: min(440px, 100%); height: 100%; background: #fff; padding: 24px; display: flex; flex-direction: column; }
.cart-header, .cart-total-row, .cart-actions { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.cart-items { flex: 1; overflow: auto; padding: 18px 0; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: #f7f9fc; }
.cart-item img { width: 68px; height: 68px; object-fit: contain; border-radius: 12px; background: #fff; }
.cart-close, .cart-ghost-btn { border: 0; background: #eef3fa; border-radius: 999px; padding: 10px 14px; }
.cart-checkout-btn { border: 0; border-radius: 999px; padding: 12px 18px; color: #fff; background: #0b2d5b; font-weight: 900; }
.quick-view-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; padding: 26px; }
.quick-view-grid img { width: 100%; max-height: 360px; object-fit: contain; }
.quick-close { position: absolute; right: 16px; top: 16px; z-index: 2; }

@media (max-width: 991px) {
  .article-hero-grid, .cdf-article-hero-card, .contrib-hero-card, .shop-hero-grid, .article-layout-premium, .cdf-content-layout, .luc-layout, .form-layout, .shop-layout { grid-template-columns: 1fr; }
  .mission-grid, .criteria-grid, .shop-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-card { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .article-hero-grid, .cdf-article-hero-card, .contrib-hero-card, .shop-hero-grid, .article-card-premium, .cdf-content-card { padding: 20px; border-radius: 22px; }
  .mission-grid, .criteria-grid, .shop-grid, .form-grid-2 { grid-template-columns: 1fr; }
  .shop-toolbar { display: block; }
  .shop-search { min-width: 0; margin-top: 16px; }
}


.film-page {
  background:
    radial-gradient(circle at top left, rgba(240, 201, 106, .16), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #fff 38%, #f8fafc 100%);
  min-height: 70vh;
}

/* HERO */
.film-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 62px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(240, 201, 106, .18), transparent 28%),
    linear-gradient(135deg, #06152b 0%, #0b2d5b 55%, #123f78 100%);
}
.film-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -32% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(240, 201, 106, .10);
  pointer-events: none;
}
.film-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 38px;
  align-items: center;
}
.film-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #07172f;
  background: #f0c96a;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.film-hero-text h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .96;
  letter-spacing: -.04em;
}
.film-hero-text p {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
}
.film-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 950;
}
.primary-action {
  color: #07172f;
  background: #f0c96a;
  box-shadow: 0 16px 30px rgba(240, 201, 106, .20);
}
.primary-action:hover { color: #fff; background: #b3261e; transform: translateY(-2px); }
.secondary-action {
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
}
.secondary-action:hover { color: #07172f; background: #fff; transform: translateY(-2px); }
.film-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 30px;
}
.film-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.film-stats strong { display: block; color: #f0c96a; font-size: 24px; font-weight: 950; line-height: 1; }
.film-stats span { display: block; margin-top: 5px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 750; }

.film-hero-showcase {
  padding: 18px;
  border-radius: 30px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.showcase-main {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 24px;
  background: #081b34;
}
.showcase-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.showcase-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7,23,47,.88));
}
.showcase-main > div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 18px;
  border-radius: 18px;
  background: rgba(7,23,47,.62);
  border: 1px solid rgba(255,255,255,.18);
}
.showcase-main span { display: block; color: #f0c96a; font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.showcase-main strong { display: block; margin-top: 6px; color: #fff; font-size: 22px; line-height: 1.15; }
.featured-mini-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.featured-mini-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}
.featured-mini-card:hover { color: #f0c96a; transform: translateY(-3px); }
.featured-mini-card img { width: 100%; height: 96px; object-fit: cover; border-radius: 13px; }
.featured-mini-card span { font-size: 12px; font-weight: 850; line-height: 1.25; }

/* FILTRES */
.film-filter-section {
  position: relative;
  z-index: 5;
  padding: 34px 0 26px;
  background: #fff;
  border-bottom: 1px solid #e7ecf3;
  box-shadow: 0 10px 26px rgba(7,23,47,.05);
}
.film-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}
.film-toolbar span {
  display: inline-flex;
  margin-bottom: 6px;
  color: #d8a842;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.film-toolbar h2 {
  margin: 0;
  color: #0b2d5b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}
.film-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 370px);
  height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f7f9fc;
  border: 1px solid #e7ecf3;
}
.film-search-box i { color: #d8a842; }
.film-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f2937;
  font-weight: 750;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-pills button {
  border: 0;
  padding: 10px 16px;
  border-radius: 999px;
  color: #0b2d5b;
  background: #f1f5f9;
  font-weight: 900;
  transition: .25s ease;
}
.filter-pills button:hover,
.filter-pills button.active {
  color: #07172f;
  background: #f0c96a;
  transform: translateY(-2px);
}

/* GRID FILMS */
.movies-section { padding: 46px 0 76px; }
.movies-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}
.movies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.movie-card {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(11,45,91,.08);
  box-shadow: 0 12px 32px rgba(7,23,47,.08);
  transition: .25s ease;
}
.movie-card:hover { transform: translateY(-7px); box-shadow: 0 22px 52px rgba(7,23,47,.14); }
.movie-card.is-hidden { display: none; }
.movie-poster {
  position: relative;
  display: block;
  height: 330px;
  overflow: hidden;
  background: #081b34;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s ease;
}
.movie-card:hover .movie-poster img { transform: scale(1.05); }
.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,23,47,.08), rgba(7,23,47,.56));
}
.movie-rank,
.movie-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}
.movie-rank {
  left: 14px;
  top: 14px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #07172f;
  background: #f0c96a;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.movie-badge {
  left: 14px;
  bottom: 14px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7,23,47,.74);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.movie-content { padding: 20px; }
.movie-content h3 {
  margin: 0 0 10px;
  color: #0b2d5b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1.12;
}
.movie-content p { margin: 0; color: #667085; font-size: 15px; }
.movie-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.movie-actions a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0b2d5b;
  background: rgba(216,168,66,.16);
  font-size: 14px;
  font-weight: 950;
}
.movie-actions a:hover { color: #fff; background: #0b2d5b; }
.save-movie {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #0b2d5b;
  background: #f1f5f9;
}
.save-movie:hover,
.save-movie.is-saved { color: #07172f; background: #f0c96a; }

/* SIDEBAR */
.movie-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}
.movie-widget {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(11,45,91,.08);
  box-shadow: 0 12px 32px rgba(7,23,47,.08);
}
.movie-widget h2 {
  margin: 0 0 12px;
  color: #0b2d5b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
}
.movie-widget p { color: #667085; }
.prayer-widget {
  color: #fff;
  background: linear-gradient(135deg, #07172f, #0b2d5b);
}
.prayer-widget span {
  color: #f0c96a;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.prayer-widget h2,
.prayer-widget p { color: #fff; }
.prayer-widget a {
  display: inline-flex;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #07172f;
  background: #f0c96a;
  font-weight: 950;
}
.category-list { display: grid; gap: 10px; }
.category-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #0b2d5b;
  background: #f7f9fc;
  font-weight: 850;
}
.category-list a:hover { color: #fff; background: #0b2d5b; }
.category-list i { color: #d8a842; }
.newsletter-movie form { display: grid; gap: 10px; margin-top: 14px; }
.newsletter-movie input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  outline: 0;
}
.newsletter-movie input:focus { border-color: #d8a842; box-shadow: 0 0 0 4px rgba(216,168,66,.16); }
.newsletter-movie button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #07172f;
  background: #f0c96a;
  font-weight: 950;
}
.newsletter-movie button:hover { color: #fff; background: #0b2d5b; }

/* RESPONSIVE */
@media (max-width: 1199px) {
  .movies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-hero-grid { grid-template-columns: 1fr .88fr; }
}
@media (max-width: 991px) {
  .film-hero { padding: 50px 0; }
  .film-hero-grid { grid-template-columns: 1fr; }
  .showcase-main,
  .showcase-main img { height: auto; min-height: 360px; }
  .movies-layout { grid-template-columns: 1fr; }
  .movie-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-toolbar { align-items: stretch; flex-direction: column; }
  .film-search-box { width: 100%; }
}
@media (max-width: 767px) {
  .film-stats { grid-template-columns: 1fr; }
  .featured-mini-list { grid-template-columns: 1fr; }
  .featured-mini-card { grid-template-columns: 86px 1fr; align-items: center; }
  .featured-mini-card img { height: 70px; }
  .movies-grid { grid-template-columns: 1fr; }
  .movie-poster { height: 360px; }
  .movie-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .film-hero-actions { display: grid; }
  .movie-poster { height: 320px; }
  .movie-content h3 { font-size: 23px; }
}


/* =========================================================
   LOT 3 — Fêtes, forums, groupes, lecteurs magazine
   Intégré au CSS unique de Chemin de Foi.
========================================================= */
.page-fetes,
.fetes-page,
.cdf-forum-main,
.page-forums { background: #f7f9fc; }

.fetes-hero,
.fetes-content-section { padding: 58px 0 36px; }
.fetes-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center; padding: 34px; border-radius: 30px; background: linear-gradient(135deg, #07172f, #0b2d5b); box-shadow: var(--cdf-shadow); overflow: hidden; }
.fetes-hero-text { color: #fff; }
.fetes-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 8px 14px; border-radius: 999px; color: #07172f; background: #f0c96a; font-size: 13px; font-weight: 950; text-transform: uppercase; letter-spacing: .07em; }
.fetes-hero-text h1 { margin: 0; font-family: var(--cdf-title); font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.fetes-hero-text p { margin-top: 18px; color: rgba(255,255,255,.84); font-size: 18px; }
.fetes-actions,
.fetes-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fetes-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; color: rgba(255,255,255,.92); background: rgba(255,255,255,.12); font-size: 13px; font-weight: 800; }
.fetes-hero-image { min-height: 400px; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.fetes-hero-image img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.fetes-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.fetes-article-card,
.side-widget,
.celebration-card,
.calendar-widget,
.related-card { padding: 26px; border-radius: 24px; background: #fff; box-shadow: var(--cdf-shadow-soft); border: 1px solid rgba(11,45,91,.08); }
.fetes-article-card h2,
.fetes-article-card h3,
.side-widget h2,
.calendar-widget h2,
.section-title-center h2,
.section-title-left h2 { color: #0b2d5b; font-family: var(--cdf-title); }
.fetes-sidebar { display: grid; gap: 20px; }
.share-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #e7ecf3; }
.share-strip a { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 999px; color: #0b2d5b; background: #eef3fa; }
.share-strip a:hover { color: #fff; background: #0b2d5b; }
.celebration-grid,
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.celebration-card i { color: #d8a842; font-size: 28px; margin-bottom: 12px; }
.article-image img { width: 100%; border-radius: 22px; box-shadow: var(--cdf-shadow-soft); }
.fa-candle-holder:before { content: "\f6c6"; }

/* Forums */
.cdf-forum-card,
.forum-box { border-radius: 24px; background: #fff; box-shadow: var(--cdf-shadow-soft); border: 1px solid rgba(11,45,91,.08); overflow: hidden; margin-bottom: 22px; }
.forum-table { display: grid; gap: 0; }
.table-head,
.table-row { display: grid; grid-template-columns: minmax(0, 1.5fr) .65fr .65fr; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #e7ecf3; }
.table-head { color: #fff; background: #0b2d5b; font-weight: 900; }
.table-row { background: #fff; }
.table-row:hover { background: #f7f9fc; }
.table-row .first-col,
.table-title { font-weight: 900; color: #0b2d5b; }
.forum-post,
.single-topic,
.comment-post { padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--cdf-shadow-soft); border: 1px solid rgba(11,45,91,.08); margin-bottom: 16px; }
.line-for-loggin { padding: 16px 18px; border-radius: 18px; background: #fff7df; color: #0b2d5b; font-weight: 800; }
.cdf-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.cdf-related-card { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: var(--cdf-shadow-soft); }
.cdf-related-card img { width: 100%; height: 160px; object-fit: cover; }
.cdf-related-card h3 { padding: 16px; color: #0b2d5b; font-size: 18px; }
.cdf-mini-list,
.mini-list-widget { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.cdf-mini-list a,
.mini-list-widget a { display: block; padding: 10px 12px; border-radius: 12px; background: #f7f9fc; color: #0b2d5b; font-weight: 800; }
.cdf-tags,
.cdf-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.cdf-tags a,
.cdf-socials a { padding: 8px 11px; border-radius: 999px; background: #eef3fa; color: #0b2d5b; font-weight: 800; }
.cdf-search input,
.side-search input,
.search-form input { width: 100%; min-height: 46px; border: 1px solid #d9e1ee; border-radius: 14px; padding: 0 14px; }
.cdf-search button,
.side-search button,
.search-form button { margin-top: 10px; border: 0; border-radius: 999px; padding: 10px 16px; background: #0b2d5b; color: #fff; font-weight: 900; }

/* Lecteurs magazines */
.page-flipbook,
.page-magazine-juillet { background: #07111f; }
.page-flipbook .site-footer,
.page-magazine-juillet .site-footer { margin-top: 0; }
.swiper-container { max-width: 100%; }
.cdf-reader { min-height: 78vh; }

@media (max-width: 991px) {
  .fetes-hero-grid,
  .fetes-layout { grid-template-columns: 1fr; }
  .table-head,
  .table-row { grid-template-columns: 1fr; }
  .cdf-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .fetes-hero-grid,
  .fetes-article-card,
  .side-widget { padding: 20px; border-radius: 22px; }
  .celebration-grid,
  .related-grid,
  .cdf-related-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   LOT 4 — styles intégrés depuis les pages converties
========================================================= */

/* ===== temoignages.php : styles intégrés depuis le HTML original ===== */
/* Témoignages complet avec header/footer */
:root{
  --cdf-blue:#0b2d5b;
  --cdf-blue-2:#123d78;
  --cdf-gold:#d7a83a;
  --cdf-red:#9b2608;
  --cdf-paper:#f6f3ea;
  --cdf-cream:#fffaf3;
  --cdf-text:#10213a;
}

.temoignages-page{
  background:
    radial-gradient(circle at top left,rgba(215,168,58,.18),transparent 34%),
    linear-gradient(180deg,#fbfaf6 0%,#f2eee5 100%);
}

.testimony-hero{padding:46px 0 32px;}
.testimony-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) 460px;
  gap:26px;
  align-items:stretch;
}

.testimony-hero-text,
.testimony-hero-side{
  border-radius:34px;
  box-shadow:0 24px 70px rgba(11,45,91,.16);
}

.testimony-hero-text{
  min-height:580px;
  padding:64px;
  color:#fff;
  background:
    linear-gradient(135deg,rgba(11,45,91,.96),rgba(18,61,120,.94)),
    url('upload/blog/prayer.jpg') center/cover;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
  position:relative;
}

.testimony-hero-text::after{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border-radius:50%;
  right:-90px;
  bottom:-90px;
  background:rgba(215,168,58,.23);
}

.testimony-kicker{
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 16px;
  border-radius:999px;
  background:rgba(215,168,58,.16);
  color:#f7ce61;
  border:1px solid rgba(215,168,58,.35);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:24px;
  position:relative;
  z-index:1;
}

.testimony-hero h1{
  font-family:"Playfair Display",serif;
  font-size:clamp(52px,6vw,92px);
  line-height:.9;
  letter-spacing:-.06em;
  margin:0 0 22px;
  position:relative;
  z-index:1;
}

.testimony-hero p{
  max-width:720px;
  color:rgba(255,255,255,.88);
  font-size:19px;
  line-height:1.72;
  margin:0;
  position:relative;
  z-index:1;
}

.testimony-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:32px;
  position:relative;
  z-index:1;
}

.testimony-actions a{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
  border-radius:999px;
  font-weight:900;
}

.primary-action{background:var(--cdf-gold);color:var(--cdf-blue);}
.secondary-action{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.24);}

.testimony-hero-side{
  background:#fff;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.hero-side-main{
  position:relative;
  border-radius:26px;
  overflow:hidden;
  min-height:360px;
  background:#0b2d5b;
}

.hero-side-main img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  display:block;
}

.hero-side-main::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.78));
}

.hero-side-main div{
  position:absolute;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:1;
  color:#fff;
}

.hero-side-main span{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:var(--cdf-gold);
  color:var(--cdf-blue);
  font-size:12px;
  font-weight:900;
  margin-bottom:10px;
}

.hero-side-main strong{
  display:block;
  font-family:"Playfair Display",serif;
  font-size:27px;
  line-height:1.05;
}

.testimony-toolbar-section{padding:0 0 24px;}
.testimony-toolbar{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  background:#fff;
  border:1px solid rgba(11,45,91,.08);
  box-shadow:0 14px 36px rgba(15,23,42,.06);
  border-radius:28px;
  padding:24px;
}

.testimony-toolbar span,
.callout-card span{
  color:var(--cdf-red);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
}

.testimony-toolbar h2,
.callout-card h2{
  margin:4px 0 0;
  color:var(--cdf-blue);
  font-family:"Playfair Display",serif;
  font-size:clamp(34px,4vw,52px);
  line-height:1.05;
}

.testimony-search{
  min-width:330px;
  height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(11,45,91,.12);
  border-radius:999px;
  padding:0 18px;
  background:#fbfaf6;
}

.testimony-search input{
  border:0;
  outline:none;
  background:transparent;
  width:100%;
  font-weight:700;
}

.testimony-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.testimony-filters button{
  border:0;
  border-radius:999px;
  padding:11px 17px;
  background:#fff;
  color:var(--cdf-blue);
  font-weight:900;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.testimony-filters button.active{
  background:var(--cdf-blue);
  color:#fff;
}

.testimony-section{padding:0 0 44px;}
.testimony-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:26px;
  align-items:start;
}

.testimony-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.testimony-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid rgba(11,45,91,.09);
  border-radius:30px;
  box-shadow:0 18px 45px rgba(15,23,42,.07);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.testimony-card:hover{
  transform:translateY(-6px);
  border-color:rgba(215,168,58,.38);
  box-shadow:0 28px 70px rgba(11,45,91,.15);
}

.testimony-card.is-hidden{display:none;}

.testimony-image{
  display:block;
  position:relative;
  width:100%;
  height:300px;
  overflow:hidden;
  background:#0b2d5b;
}

.testimony-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transition:transform .4s ease;
}

.testimony-card:hover .testimony-image img{transform:scale(1.05);}

.testimony-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.55));
}

.testimony-image span{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:1;
  display:inline-flex;
  max-width:calc(100% - 36px);
  padding:9px 14px;
  border-radius:999px;
  background:var(--cdf-gold);
  color:var(--cdf-blue);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.testimony-content{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:26px;
}

.testimony-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.testimony-number{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(135deg,var(--cdf-blue),var(--cdf-blue-2));
  color:#fff;
  font-weight:950;
}

.testimony-name{
  color:var(--cdf-red);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
  text-align:right;
}

.testimony-content h3{
  color:var(--cdf-blue);
  font-family:"Playfair Display",serif;
  font-size:clamp(27px,2.2vw,35px);
  line-height:1.05;
  letter-spacing:-.035em;
  font-weight:900;
  margin:0 0 13px;
}

.testimony-content > p{
  color:#475569;
  font-size:16px;
  line-height:1.68;
  margin:0 0 18px;
}

.testimony-quote{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:12px;
  align-items:start;
  padding:18px;
  border-radius:22px;
  background:#fff8e8;
  border:1px solid rgba(215,168,58,.28);
  margin:0 0 20px;
}

.testimony-quote i{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--cdf-gold);
  color:var(--cdf-blue);
}

.testimony-quote span{
  color:#19385e;
  font-family:"Playfair Display",serif;
  font-size:20px;
  line-height:1.35;
  font-weight:800;
}

.read-testimony{
  margin-top:auto;
  width:max-content;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  justify-content:center;
  padding:0 17px;
  border-radius:999px;
  background:var(--cdf-blue);
  color:#fff;
  font-weight:950;
  font-size:14px;
}

.read-testimony:hover{background:var(--cdf-red);color:#fff;}

.testimony-sidebar{
  display:grid;
  gap:18px;
  position:sticky;
  top:22px;
}

.testimony-widget{
  background:#fff;
  border:1px solid rgba(11,45,91,.08);
  border-radius:28px;
  padding:24px;
  box-shadow:0 16px 40px rgba(15,23,42,.06);
}

.prayer-widget{
  background:linear-gradient(135deg,var(--cdf-blue),var(--cdf-blue-2));
  color:#fff;
}

.prayer-widget span{
  color:#f3ca5c;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  font-weight:900;
}

.testimony-widget h2{color:inherit;font-size:22px;font-weight:900;margin:0 0 12px;}
.testimony-widget p{color:inherit;opacity:.84;line-height:1.65;}
.prayer-widget a{
  display:inline-flex;
  margin-top:8px;
  padding:10px 14px;
  border-radius:999px;
  background:var(--cdf-gold);
  color:var(--cdf-blue);
  font-weight:900;
}

.story-form{display:grid;gap:10px;}
.story-form input,
.story-form textarea{
  border:1px solid rgba(11,45,91,.12);
  border-radius:16px;
  padding:13px 14px;
  outline:none;
  width:100%;
}

.story-form button{
  border:0;
  border-radius:999px;
  padding:12px 16px;
  background:var(--cdf-blue);
  color:#fff;
  font-weight:900;
}

.category-list{display:grid;gap:10px;}
.category-list button{
  border:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  border-radius:16px;
  background:#f7f4ee;
  color:var(--cdf-blue);
  font-weight:900;
  text-align:left;
}

.testimony-callout{padding:0 0 64px;}
.callout-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:#fff;
  border:1px solid rgba(11,45,91,.08);
  border-radius:30px;
  padding:34px;
  box-shadow:0 16px 40px rgba(15,23,42,.06);
}

.callout-card p{color:#475569;line-height:1.65;margin:12px 0 0;}
.callout-card a{
  display:inline-flex;
  min-height:52px;
  align-items:center;
  justify-content:center;
  padding:0 22px;
  border-radius:999px;
  background:var(--cdf-gold);
  color:var(--cdf-blue);
  font-weight:900;
  white-space:nowrap;
}

@media(max-width:1199px){
  .testimony-hero-grid,
  .testimony-layout{grid-template-columns:1fr;}
  .testimony-sidebar{position:static;}
}

@media(max-width:991px){
  .testimony-grid{grid-template-columns:1fr;}
  .testimony-toolbar{flex-direction:column;align-items:flex-start;}
  .testimony-search{min-width:100%;width:100%;}
  .callout-card{flex-direction:column;align-items:flex-start;}
}

@media(max-width:767px){
  .testimony-hero{padding:24px 0 22px;}
  .testimony-hero-text{min-height:auto;padding:34px 24px;}
  .testimony-hero h1{font-size:46px;}
  .testimony-card{border-radius:24px;}
  .testimony-image{height:310px;}
  .testimony-content{padding:22px;}
  .testimony-head{align-items:flex-start;flex-direction:column;}
  .testimony-name{text-align:left;}
  .testimony-quote{grid-template-columns:1fr;}
  .callout-card{padding:24px;}
}

  
/* ==========================================================
   CORRECTION HERO TÉMOIGNAGES V3
   Remplace le hero séparé en deux blocs par une seule grande
   bannière premium, plus propre et plus équilibrée.
========================================================== */

.testimony-hero-v3{
  padding:42px 0 32px !important;
}

.testimony-hero-premium{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) 520px;
  gap:42px;
  align-items:center;
  min-height:620px;
  padding:64px;
  border-radius:36px;
  background:
    radial-gradient(circle at 22% 28%, rgba(215,168,58,.15), transparent 22%),
    radial-gradient(circle at 78% 86%, rgba(255,255,255,.11), transparent 24%),
    linear-gradient(135deg,#071f43 0%, #0b2d5b 45%, #061a38 100%);
  box-shadow:0 34px 90px rgba(11,45,91,.22);
}

.testimony-hero-premium::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 100%),
    linear-gradient(0deg,rgba(255,255,255,.04) 0 1px,transparent 1px 100%);
  background-size:58px 58px;
  opacity:.18;
  pointer-events:none;
}

.testimony-hero-premium::after{
  content:"";
  position:absolute;
  width:580px;
  height:220px;
  left:-140px;
  bottom:-96px;
  border-top:2px solid rgba(215,168,58,.45);
  border-radius:50%;
  transform:rotate(-6deg);
  pointer-events:none;
}

.testimony-hero-copy{
  position:relative;
  z-index:2;
  max-width:760px;
}

.testimony-hero-copy .testimony-kicker{
  margin-bottom:26px !important;
  background:rgba(255,255,255,.09) !important;
  border:1px solid rgba(215,168,58,.55) !important;
  color:#ffd978 !important;
  box-shadow:0 12px 28px rgba(0,0,0,.16);
}

.testimony-hero-copy h1{
  margin:0 !important;
  font-family:"Playfair Display",serif !important;
  font-size:clamp(60px,7.4vw,116px) !important;
  line-height:.86 !important;
  letter-spacing:-.075em !important;
  color:#fff !important;
}

.testimony-hero-copy h1 span,
.testimony-hero-copy h1 strong{
  display:block;
}

.testimony-hero-copy h1 strong{
  color:#ffd36a;
  font-weight:900;
}

.hero-divider{
  display:flex;
  align-items:center;
  gap:10px;
  max-width:370px;
  margin:28px 0 28px;
  color:#ffd36a;
}

.hero-divider span{
  height:1px;
  flex:1;
  background:linear-gradient(90deg,transparent,rgba(215,168,58,.8),transparent);
}

.hero-divider i{
  font-size:10px;
}

.testimony-hero-copy p{
  max-width:690px !important;
  margin:0 !important;
  color:rgba(255,255,255,.86) !important;
  font-size:20px !important;
  line-height:1.75 !important;
}

.testimony-hero-copy .testimony-actions{
  margin-top:34px !important;
}

.testimony-hero-copy .primary-action,
.testimony-hero-copy .secondary-action{
  min-height:56px !important;
  padding:0 26px !important;
  gap:10px;
  border-radius:18px !important;
  font-size:16px;
  box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.testimony-hero-copy .primary-action{
  background:linear-gradient(135deg,#ffd36a,#d7a83a) !important;
  color:#08254f !important;
}

.testimony-hero-copy .secondary-action{
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  border:1px solid rgba(215,168,58,.55) !important;
}

.testimony-hero-feature{
  position:relative;
  z-index:2;
}

.feature-image-card{
  position:relative;
  overflow:hidden;
  height:520px;
  border-radius:30px;
  border:2px solid rgba(215,168,58,.9);
  background:#0b2d5b;
  box-shadow:
    0 28px 70px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.12);
}

.feature-image-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,rgba(255,211,106,.35),transparent 32%),
    linear-gradient(180deg,transparent 35%,rgba(0,0,0,.82));
  z-index:1;
}

.feature-image-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transform:scale(1.02);
}

.feature-overlay{
  position:absolute;
  left:34px;
  right:34px;
  bottom:32px;
  z-index:2;
  color:#fff;
}

.feature-overlay span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  padding:10px 16px;
  border-radius:999px;
  background:linear-gradient(135deg,#ffd36a,#d7a83a);
  color:#08254f;
  font-size:13px;
  font-weight:950;
  margin-bottom:18px;
}

.feature-overlay h2{
  margin:0;
  max-width:420px;
  color:#fff;
  font-family:"Playfair Display",serif;
  font-size:clamp(30px,3vw,48px);
  line-height:.98;
  letter-spacing:-.045em;
  text-shadow:0 8px 22px rgba(0,0,0,.35);
}

/* Annule les anciens styles qui causaient le mauvais espacement */
.testimony-hero-v3 .testimony-hero-grid,
.testimony-hero-v3 .testimony-hero-text,
.testimony-hero-v3 .testimony-hero-side,
.testimony-hero-v3 .hero-side-main{
  all:unset;
}

/* Position de la section suivante plus propre */
.testimony-toolbar-section{
  margin-top:0 !important;
  padding-top:0 !important;
}

/* Responsive */
@media(max-width:1199px){
  .testimony-hero-premium{
    grid-template-columns:1fr;
    padding:42px;
    gap:32px;
  }

  .feature-image-card{
    height:460px;
  }
}

@media(max-width:767px){
  .testimony-hero-v3{
    padding:24px 0 24px !important;
  }

  .testimony-hero-premium{
    padding:28px;
    border-radius:28px;
    min-height:auto;
  }

  .testimony-hero-copy h1{
    font-size:52px !important;
  }

  .testimony-hero-copy p{
    font-size:17px !important;
  }

  .testimony-hero-copy .testimony-actions{
    flex-direction:column;
  }

  .testimony-hero-copy .primary-action,
  .testimony-hero-copy .secondary-action{
    width:100%;
  }

  .feature-image-card{
    height:380px;
    border-radius:24px;
  }

  .feature-overlay{
    left:22px;
    right:22px;
    bottom:22px;
  }

  .feature-overlay h2{
    font-size:30px;
  }
}

@media(max-width:480px){
  .testimony-hero-copy h1{
    font-size:44px !important;
  }

  .feature-image-card{
    height:330px;
  }
}


/* ===== Compléments LOT 4 : recherche, sermons, boutique Stripe, pages article ===== */
.search-results-section, .sermon-section, .cdf-listing-section { padding: 48px 0 70px; }
.search-results-grid, .sermon-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.search-card, .sermon-card { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--cdf-shadow-soft); border: 1px solid rgba(11,45,91,.08); }
.search-card img, .sermon-card img { width: 100%; height: 220px; object-fit: cover; }
.search-card-body, .sermon-card-body { padding: 22px; }
.search-card h2, .sermon-card h3 { color: var(--cdf-blue); font-family: var(--cdf-title); }
.boutique-page .shop-hero-showcase .showcase-big { height: 100%; display: grid; place-items: center; background: #fff; }
.boutique-page .showcase-big img { width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.boutique-page .showcase-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; background: #fff; }
.boutique-page .showcase-row img { width: 100%; height: 110px; object-fit: contain; border-radius: 16px; background: #f7f9fc; padding: 8px; }
.shop-product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.shop-product-meta span { padding: 6px 10px; border-radius: 999px; background: #eef3fa; color: #0b2d5b; font-size: 12px; font-weight: 900; }
.shop-product-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.shop-pay-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 14px; border-radius: 999px; color: #07172f; background: #f0c96a; font-weight: 950; }
.shop-pay-link:hover { color: #fff; background: #b3261e; }
.shop-empty { grid-column: 1 / -1; padding: 24px; border-radius: 20px; background: #fff; text-align: center; color: #667085; font-weight: 800; }
@media (max-width: 991px){ .search-results-grid, .sermon-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575px){ .search-results-grid, .sermon-grid { grid-template-columns: 1fr; } }


/* =========================================================
   Liens PHP + traduction globale
========================================================= */
html[lang="en"] .top-links .top-date span::first-letter { text-transform: uppercase; }
.header-cart-btn{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:999px;padding:11px 16px;background:#fff;color:#0b2d5b;font-weight:900;box-shadow:0 10px 28px rgba(11,45,91,.10)}
.header-cart-btn span{min-width:22px;height:22px;border-radius:999px;display:inline-grid;place-items:center;background:#d8a842;color:#07172f;font-size:12px}
.cdf-back-to-top,.back-to-top{position:fixed;right:18px;bottom:18px;width:46px;height:46px;border-radius:999px;border:0;background:#0b2d5b;color:#fff;z-index:999;box-shadow:0 14px 30px rgba(7,23,47,.24);display:none;place-items:center}.cdf-back-to-top.is-visible,.back-to-top.is-visible{display:grid}


/* =========================================================
   REDESIGN MODELE ARTICLE — appliqué aux autres pages
   Source visuelle: modèle cdf-page-main / cdf-article-hero.
========================================================= */
.cdf-page-main{
  background:
    radial-gradient(circle at top left, rgba(216,168,66,.20), transparent 32%),
    linear-gradient(180deg,#fffaf2 0%,#f4f7fb 38%,#eef3f8 100%);
  min-height: 100vh;
}
.cdf-article-hero{padding:58px 0 36px;}
.cdf-article-hero-card{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) 430px;
  gap:30px;
  align-items:stretch;
  padding:34px;
  border-radius:34px;
  background:
    radial-gradient(circle at 12% 18%,rgba(216,168,66,.28),transparent 26%),
    linear-gradient(135deg,#07172f 0%,#0b2d5b 55%,#123d78 100%);
  color:#fff;
  box-shadow:0 30px 90px rgba(11,45,91,.24);
  overflow:hidden;
  position:relative;
}
.cdf-article-hero-card::after{
  content:"";
  position:absolute;
  width:340px;height:340px;
  right:-130px;bottom:-150px;
  border-radius:50%;
  background:rgba(216,168,66,.20);
  pointer-events:none;
}
.cdf-article-hero-text{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;min-height:430px;}
.cdf-kicker{
  display:inline-flex!important;
  width:max-content;
  align-items:center;
  gap:9px;
  margin-bottom:18px;
  padding:10px 15px;
  border-radius:999px;
  background:linear-gradient(135deg,#f5d580,#d8a842);
  color:#07172f!important;
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.cdf-article-hero h1{
  max-width:900px;
  margin:0;
  font-family:"Playfair Display",serif;
  font-size:clamp(42px,5.6vw,78px);
  line-height:.96;
  letter-spacing:-.055em;
  color:#fff;
}
.cdf-article-hero p{
  max-width:780px;
  margin:20px 0 0;
  color:rgba(255,255,255,.88);
  font-size:18px;
  line-height:1.72;
}
.cdf-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.cdf-article-meta span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.94);
  font-size:13px;
  font-weight:850;
  border:1px solid rgba(255,255,255,.10);
}
.cdf-article-hero-image{
  position:relative;z-index:1;
  min-height:430px;
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 26px 60px rgba(0,0,0,.32);
}
.cdf-article-hero-image img{
  width:100%;height:100%;min-height:430px;
  object-fit:cover;object-position:center;
  display:block;margin:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
.cdf-content-section{padding:18px 0 76px;}
.cdf-content-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:30px;
  align-items:start;
}
.cdf-content-card,
.cdf-sidebar .cdf-widget,
.cdf-redesign-panel{
  background:#fff;
  border:1px solid rgba(11,45,91,.09);
  border-radius:30px;
  box-shadow:0 20px 55px rgba(15,23,42,.09);
}
.cdf-content-card{overflow:hidden;padding:0;}
.cdf-share-bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  padding:22px 30px;
  border-bottom:1px solid rgba(11,45,91,.08);
  background:linear-gradient(180deg,#fff,#fbfcff);
}
.cdf-share-bar strong{margin-right:4px;color:#0b2d5b;font-weight:950;}
.cdf-share-bar a{
  width:40px;height:40px;display:grid;place-items:center;
  color:#0b2d5b;background:#eef3fa;border-radius:999px;
  transition:.18s ease;text-decoration:none;
}
.cdf-share-bar a:hover{color:#fff;background:#0b2d5b;transform:translateY(-2px);}
.cdf-article-body{padding:34px;}
.cdf-article-body .single-post{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
.cdf-article-body h1,
.cdf-article-body h2,
.cdf-article-body h3{
  color:#0b2d5b;
  font-family:"Playfair Display",serif;
  letter-spacing:-.025em;
}
.cdf-article-body h1{font-size:clamp(34px,4vw,54px);line-height:1.04;margin:0 0 16px;}
.cdf-article-body h2{font-size:clamp(28px,3vw,40px);margin:34px 0 14px;}
.cdf-article-body p{color:#263446;font-size:17px;line-height:1.86;margin-bottom:18px;}
.cdf-article-body .text-boxes{margin:0;}
.cdf-article-body img{
  width:100%;max-height:650px;object-fit:contain;
  border-radius:24px;background:#fff;
  box-shadow:0 18px 46px rgba(15,23,42,.10);
  margin:28px 0;
}
.cdf-article-body blockquote{
  margin:32px 0;
  padding:28px 32px;
  border-left:7px solid #d8a842;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(216,168,66,.16),rgba(11,45,91,.06));
  color:#0b2d5b;
  font-weight:850;
}
.post-tags{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0 0 24px;list-style:none;}
.post-tags li{padding:8px 12px;border-radius:999px;background:#eef3fa;color:#0b2d5b;font-weight:800;font-size:13px;}
.post-tags a{color:inherit;text-decoration:none;}
.cdf-related{padding:34px;border-top:1px solid rgba(11,45,91,.08);background:#fbfcff;}
.cdf-section-title span{display:block;color:#b3261e;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:950;margin-bottom:6px;}
.cdf-section-title h2{font-family:"Playfair Display",serif;color:#0b2d5b;font-size:34px;margin:0 0 20px;}
.cdf-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.cdf-related-card{
  display:block;overflow:hidden;border-radius:22px;background:#fff;
  border:1px solid rgba(11,45,91,.08);
  box-shadow:0 14px 36px rgba(15,23,42,.08);
  color:#0b2d5b;text-decoration:none;
}
.cdf-related-card img{width:100%;height:170px;object-fit:cover;display:block;margin:0!important;border-radius:0!important;box-shadow:none!important;}
.cdf-related-card span{display:inline-flex;margin:16px 16px 8px;padding:7px 10px;border-radius:999px;background:#fff3cc;color:#8c5d00;font-size:12px;font-weight:950;text-transform:uppercase;}
.cdf-related-card strong{display:block;padding:0 16px 18px;font-size:18px;line-height:1.25;}
.cdf-sidebar{position:sticky;top:18px;display:grid;gap:20px;}
.cdf-sidebar .cdf-widget{padding:24px;overflow:hidden;}
.cdf-widget h2{font-family:"Playfair Display",serif;color:#0b2d5b;font-size:29px;line-height:1.1;margin:0 0 14px;}
.cdf-widget p{color:#526174;line-height:1.7;}
.cdf-search form{display:grid;gap:10px;}
.cdf-search input{
  width:100%;min-height:48px;border:1px solid #d9e1ee;border-radius:16px;
  padding:0 14px;outline:none;background:#f9fbfe;
}
.cdf-search button{
  min-height:46px;border:0;border-radius:999px;background:#0b2d5b;color:#fff;font-weight:950;
}
.cdf-mini-list{display:grid;gap:12px;}
.cdf-mini-list a{
  display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:center;
  padding:10px;border-radius:18px;background:#f7f9fc;color:#0b2d5b;text-decoration:none;font-weight:850;
}
.cdf-mini-list img{width:72px;height:60px;object-fit:cover;border-radius:14px;}
.cdf-socials,.cdf-tags div,.cdf-tags{display:flex;flex-wrap:wrap;gap:9px;}
.cdf-socials a,.cdf-tags a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:38px;padding:8px 12px;border-radius:999px;
  background:#eef3fa;color:#0b2d5b;text-decoration:none;font-weight:850;
}
.cdf-donation-widget,.cdf-gold-widget{
  background:linear-gradient(135deg,#0b2d5b,#123d78)!important;color:#fff!important;
}
.cdf-donation-widget h2,.cdf-donation-widget p,.cdf-gold-widget h2,.cdf-gold-widget p{color:#fff!important;}
.cdf-donation-widget span,.cdf-gold-widget span{color:#f5d580;font-weight:950;text-transform:uppercase;font-size:12px;letter-spacing:.09em;}
.cdf-donation-widget a,.cdf-gold-widget a{display:inline-flex;margin-top:8px;color:#07172f;background:#f5d580;border-radius:999px;padding:10px 14px;text-decoration:none;font-weight:950;}
.cdf-archive-toolbar{
  display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:center;
  margin:26px 0;padding:20px;border-radius:24px;background:#f7f9fc;border:1px solid rgba(11,45,91,.08);
}
.cdf-archive-toolbar strong{display:block;color:#0b2d5b;font-size:20px;font-weight:950;}
.cdf-archive-toolbar span{display:block;color:#5b6b7f;margin-top:3px;}
.cdf-search-line{display:flex;gap:8px;}
.cdf-search-line input{flex:1;min-height:48px;border:1px solid #d9e1ee;border-radius:999px;padding:0 16px;}
.cdf-search-line button{width:52px;border:0;border-radius:999px;background:#0b2d5b;color:#fff;}
.cdf-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px;}
.cdf-archive-card{
  overflow:hidden;border-radius:26px;background:#fff;border:1px solid rgba(11,45,91,.08);
  box-shadow:0 16px 42px rgba(15,23,42,.08);transition:.2s ease;
}
.cdf-archive-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(11,45,91,.14);}
.cdf-archive-thumb{display:block;height:220px;background:#eef3fa;overflow:hidden;}
.cdf-archive-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s ease;}
.cdf-archive-card:hover .cdf-archive-thumb img{transform:scale(1.05);}
.cdf-archive-content{padding:22px;}
.cdf-archive-content span{display:inline-flex;margin-bottom:10px;padding:7px 11px;border-radius:999px;background:#fff3cc;color:#8c5d00;font-weight:950;font-size:12px;text-transform:uppercase;}
.cdf-archive-content h2{font-family:"Playfair Display",serif;font-size:25px;line-height:1.12;margin:0 0 10px;}
.cdf-archive-content h2 a{color:#0b2d5b;text-decoration:none;}
.cdf-archive-content p{color:#526174;line-height:1.65;margin:0 0 14px;}
.cdf-read-more{display:inline-flex;align-items:center;gap:8px;color:#b3261e;font-weight:950;text-decoration:none;}
.cdf-author-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:26px 0;}
.cdf-author-stat{padding:22px;border-radius:22px;background:#f7f9fc;border:1px solid rgba(11,45,91,.08);}
.cdf-author-stat strong{display:block;color:#0b2d5b;font-size:30px;font-weight:950;}
.cdf-author-stat span{color:#5b6b7f;font-weight:800;}
.cdf-cta-band{
  margin:30px 0 0;padding:26px;border-radius:26px;
  background:linear-gradient(135deg,#0b2d5b,#123d78);color:#fff;
}
.cdf-cta-band h2{color:#fff!important;margin-top:0!important;}
.cdf-cta-band p{color:rgba(255,255,255,.86)!important;}
.cdf-cta-band a{display:inline-flex;border-radius:999px;background:#f5d580;color:#07172f;padding:12px 18px;text-decoration:none;font-weight:950;}
@media(max-width:1199px){.cdf-article-hero-card{grid-template-columns:1fr .85fr}.cdf-content-layout{grid-template-columns:minmax(0,1fr) 310px}.cdf-archive-grid{grid-template-columns:1fr}}
@media(max-width:991px){.cdf-article-hero-card,.cdf-content-layout,.cdf-archive-toolbar{grid-template-columns:1fr}.cdf-sidebar{position:static}.cdf-article-hero-text{min-height:auto}.cdf-article-hero-image,.cdf-article-hero-image img{min-height:320px}.cdf-author-stat-grid,.cdf-related-grid{grid-template-columns:1fr}}
@media(max-width:575px){.cdf-article-hero{padding:34px 0 24px}.cdf-article-hero-card,.cdf-article-body,.cdf-related{padding:22px;border-radius:24px}.cdf-article-hero h1{font-size:38px}.cdf-share-bar{padding:18px 22px}.cdf-archive-thumb{height:190px}}


/* =========================================================
   COMPATIBILITÉ GLOBALE — toutes les pages PHP converties
========================================================= */
.cdf-legacy-page #content-section{padding:48px 0;background:linear-gradient(180deg,#f8fafc,#fff)}
.cdf-legacy-page .posts-block,.cdf-legacy-page .sidebar,.cdf-legacy-page .more-from-news{border-radius:28px;background:#fff;border:1px solid rgba(11,45,91,.08);box-shadow:var(--cdf-shadow-soft);padding:26px;margin-bottom:24px}
.cdf-legacy-page .title-section h1 span{font-family:var(--cdf-title);color:var(--cdf-blue);font-size:clamp(32px,4vw,52px)}
.cdf-legacy-page .news-post{border-radius:22px;background:#fff;border:1px solid var(--cdf-border);box-shadow:var(--cdf-shadow-soft);padding:14px;margin-bottom:22px;overflow:hidden}
.cdf-legacy-page .post-image img{width:100%;height:230px;object-fit:cover;border-radius:18px;background:#f8fafc}
.cdf-legacy-page .news-post h2{font-family:var(--cdf-title);font-size:25px;line-height:1.15;margin:14px 0 10px;color:var(--cdf-blue)}
.cdf-legacy-page .post-tags{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:10px 0;list-style:none;color:var(--cdf-muted);font-size:13px}
.cdf-legacy-page .category{display:inline-flex;margin-top:10px;padding:7px 11px;border-radius:999px;background:rgba(216,168,66,.16);color:var(--cdf-blue);font-weight:950;font-size:12px;text-transform:uppercase}
.cdf-legacy-page .author-list{padding:0;margin:0;list-style:none}
.cdf-legacy-page .autor-box{display:grid;grid-template-columns:160px minmax(0,1fr);gap:22px;padding:24px;border-radius:24px;background:linear-gradient(135deg,rgba(11,45,91,.05),rgba(216,168,66,.08));border:1px solid rgba(11,45,91,.08)}
.cdf-legacy-page .autor-box img{width:160px;height:160px;object-fit:cover;border-radius:24px}
.cdf-legacy-page .autor-title h1{font-family:var(--cdf-title);color:var(--cdf-blue);font-size:32px}.cdf-legacy-page .autor-social{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:12px 0}.cdf-legacy-page .autor-social a{width:36px;height:36px;display:grid;place-items:center;border-radius:999px;background:var(--cdf-blue);color:#fff}
.cdf-legacy-page .autor-last-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-top:18px;color:var(--cdf-blue);font-weight:800}
.cdf-legacy-page .autor-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}.cdf-legacy-page .autor-tags a{padding:6px 10px;border-radius:999px;background:#f1f5f9}
.cdf-legacy-page .small-posts,.cdf-legacy-page .tags-list,.cdf-legacy-page .social-share{list-style:none;padding:0;margin:0}.cdf-legacy-page .small-posts li{display:flex;gap:12px;margin-bottom:14px}.cdf-legacy-page .small-posts img{width:74px;height:74px;object-fit:cover;border-radius:16px}.cdf-legacy-page .tags-list{display:flex;flex-wrap:wrap;gap:8px}.cdf-legacy-page .tags-list a{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef2f7;color:var(--cdf-blue);font-weight:850}
.header-cart-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;border:0;border-radius:999px;color:var(--cdf-blue);background:var(--cdf-gold-2);font-weight:950;white-space:nowrap;box-shadow:0 14px 28px rgba(216,168,66,.22)}
.header-cart-btn:hover{transform:translateY(-2px);background:var(--cdf-blue);color:#fff}.header-cart-btn span{min-width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:#fff;color:var(--cdf-blue);font-size:12px}
.cdf-table-wrap{overflow-x:auto;border-radius:22px;border:1px solid var(--cdf-border);background:#fff}.cdf-table{width:100%;border-collapse:collapse}.cdf-table th,.cdf-table td{padding:14px 16px;border-bottom:1px solid var(--cdf-border);text-align:left}.cdf-table th{color:var(--cdf-blue);background:#f8fafc;font-weight:950}
@media(max-width:767px){.cdf-legacy-page .autor-box{grid-template-columns:1fr}.cdf-legacy-page .autor-box img{width:120px;height:120px}.cdf-legacy-page .posts-block,.cdf-legacy-page .sidebar,.cdf-legacy-page .more-from-news{padding:20px}.cdf-legacy-page .post-image img{height:190px}}
