/* ==========================================================================
   CongoNet 24 — feuille de style du site public
   ========================================================================== */
:root {
  --blue: #0094d9;
  --blue-dark: #0070a8;
  --yellow: #f7d618;
  --red: #ce1021;
  --red-dark: #a50c1a;
  --dark: #1d1f24;
  --dark-2: #2a2d34;
  --text: #1c1e21;
  --text-2: #4a4f57;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lg: 0 10px 30px rgba(16, 24, 40, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-title: "Merriweather", Georgia, "Times New Roman", serif;
  --container: 1240px;
  --cat: var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-soft);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; z-index: 1000; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { flex-shrink: 0; vertical-align: -0.15em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .65em 1.2em; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--text); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }
.btn-sm { padding: .45em .85em; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--dark); color: #c9ccd3; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar-date { display: inline-flex; align-items: center; gap: 6px; text-transform: capitalize; white-space: nowrap; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-link { display: inline-flex; align-items: center; gap: 5px; color: #e6e8ec; }
.topbar-link:hover { color: #fff; }
.topbar-cta { background: var(--red); color: #fff; padding: 3px 10px; border-radius: 4px; }
.socials { display: inline-flex; gap: 10px; }
.socials a { color: #c9ccd3; display: inline-flex; }
.socials a:hover { color: var(--yellow); }

/* ---------- En-tête ---------- */
.site-header { background: var(--dark-2); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .5px; font-size: 1.9rem; line-height: 1; color: #fff; }
.brand:hover { color: #fff; }
.brand-word .c1 { color: var(--blue); }
.brand-word .c2 { color: var(--yellow); }
.brand-word .c3 { color: var(--red); }
.brand-num { background: var(--red); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: .85em; }
.brand-tagline { color: #a8adb7; font-size: .85rem; border-left: 1px solid #4a4e57; padding-left: 16px; max-width: 260px; line-height: 1.3; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn-live { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .3px; }
.btn-live:hover { background: var(--red-dark); color: #fff; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; display: inline-block; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.search-toggle, .nav-toggle { background: transparent; border: 0; color: #fff; padding: 8px; border-radius: var(--radius-sm); cursor: pointer; display: inline-flex; }
.search-toggle:hover, .nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle { display: none; }

.main-nav { background: var(--dark-2); border-top: 1px solid #3a3e47; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; font-weight: 600; font-size: .92rem; color: #e6e8ec; white-space: nowrap; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: #fff; border-bottom-color: var(--cat, var(--blue)); }
.main-nav a.active { color: #fff; border-bottom-color: var(--cat, var(--yellow)); }
.mobile-account { display: none; }

.search-panel { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; min-width: 0; }

/* ---------- Bandeau défilant ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; gap: 12px; height: 42px; overflow: hidden; }
.ticker-label { display: inline-flex; align-items: center; gap: 4px; background: var(--yellow); color: var(--dark); font-weight: 800; font-size: .75rem; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; flex-shrink: 0; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-items { display: inline-flex; gap: 36px; white-space: nowrap; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-items { animation-play-state: paused; }
.ticker-items a { font-size: .9rem; font-weight: 500; }
.ticker-items time { color: var(--red); font-weight: 700; margin-right: 4px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-items { animation: none; } .live-dot { animation: none; } }

/* ---------- Mise en page ---------- */
.site-main { padding: 24px 0 40px; min-height: 60vh; }
.flashes { margin-bottom: 16px; }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.layout-main { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 130px; }
.section { margin-bottom: 36px; }
.section-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--dark); margin-bottom: 18px; gap: 12px; }
.section-head h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .4px; margin: 0; padding: 0 0 8px; position: relative; display: inline-flex; align-items: center; gap: 8px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 4px; width: 100%; background: var(--cat, var(--red)); }
.section-head a { font-size: .85rem; font-weight: 600; color: var(--blue-dark); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.list { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Cartes ---------- */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-lg); }
.card-media { display: block; aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #3b3f48, #23262c); font-weight: 900; font-size: 2rem; letter-spacing: 1px; }
.card-placeholder .c1 { color: var(--blue); } .card-placeholder .c2 { color: var(--yellow); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-family: var(--font-title); font-size: 1.02rem; margin: 0; line-height: 1.35; }
.card-title a:hover { color: var(--blue-dark); }
.card-excerpt { color: var(--text-2); font-size: .93rem; margin: 0; }
.meta { color: var(--muted); font-size: .8rem; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.meta > span { display: inline-flex; align-items: center; gap: 4px; }
.card .meta { margin-top: auto; padding-top: 4px; }
.cat-badge { align-self: flex-start; display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--cat); padding: 0; }
.cat-badge:hover { color: var(--cat); text-decoration: underline; }

.card-hero { position: relative; height: 100%; min-height: 420px; }
.card-hero .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.card-hero .card-body { position: relative; margin-top: auto; padding: 120px 24px 24px; background: linear-gradient(transparent, rgba(0,0,0,.85) 55%); color: #fff; flex: 0; }
.card-hero .card-title { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.card-hero .card-title a:hover { color: var(--yellow); }
.card-hero .card-excerpt { color: #e3e5e9; font-size: 1rem; }
.card-hero .meta { color: #cfd3da; }
.card-hero .cat-badge { background: var(--cat); color: #fff; padding: 3px 8px; border-radius: 3px; }
.card-hero .cat-badge:hover { color: #fff; }

.card-side, .card-horizontal { flex-direction: row; }
.card-side .card-media { width: 38%; flex-shrink: 0; aspect-ratio: 4 / 3; }
.card-side .card-body { padding: 10px 14px; }
.card-side .card-title { font-size: .95rem; }
.card-horizontal .card-media { width: 40%; flex-shrink: 0; aspect-ratio: 16 / 10; }
.card-horizontal .card-body { padding: 16px 20px; }
.card-horizontal .card-title { font-size: 1.2rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
.hero-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; }
.section-cat { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Widgets ---------- */
.widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .4px; border-bottom: 2px solid var(--dark); padding-bottom: 8px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.widget-more { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 600; color: var(--blue-dark); }
.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.popular-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.popular-list li:last-child { border-bottom: 0; }
.popular-list .rank { font-family: var(--font-title); font-size: 1.6rem; font-weight: 900; color: var(--red); line-height: 1; min-width: 24px; }
.popular-list a { font-weight: 600; font-size: .92rem; line-height: 1.35; }
.breves-mini { list-style: none; margin: 0; padding: 0; }
.breves-mini li { padding: 9px 0 9px 14px; border-left: 2px solid var(--yellow); margin-bottom: 4px; }
.breves-mini time { display: block; font-size: .75rem; color: var(--red); font-weight: 700; }
.breves-mini a { font-size: .9rem; }
.widget-radio { padding: 0; overflow: hidden; background: linear-gradient(135deg, var(--dark-2), #111); }
.radio-mini { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: #fff; }
.radio-mini:hover { color: #fff; }
.radio-mini > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.radio-mini small { color: #b8bcc5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-mini-icon { color: var(--yellow); }
.radio-mini-play { width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; text-transform: uppercase; color: #fff; background: var(--red); padding: 2px 8px; border-radius: 3px; align-self: flex-start; letter-spacing: .4px; }
.sticky-ad { position: sticky; top: 140px; }

/* ---------- Publicités ---------- */
.ad-slot { margin: 20px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-label { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: 1px; color: #9aa0a8; margin-bottom: 4px; }
.ad-wide .ad-inner { min-height: 90px; }
.ad-sidebar { margin: 0; }
.ad-sidebar .ad-inner { min-height: 250px; }
.ad-inline { margin: 28px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Fil d'Ariane & en-têtes de page ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--blue-dark); }
.page-head { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; border-left: 5px solid var(--cat, var(--red)); }
.page-head h1 { font-family: var(--font-title); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.page-head p { margin: 8px 0 0; color: var(--text-2); }
.page-kicker { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; text-transform: uppercase; font-weight: 700; color: var(--cat, var(--red)); letter-spacing: .5px; }
.search-inline { display: flex; gap: 8px; margin-top: 16px; }
.search-inline input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.empty-state { background: #fff; border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--text-2); box-shadow: var(--shadow); }

/* ---------- Article ---------- */
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px clamp(16px, 4vw, 48px); }
.article-title { font-family: var(--font-title); font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.2; margin: 8px 0 14px; }
.article-lead { font-size: 1.18rem; color: var(--text-2); line-height: 1.55; font-weight: 500; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0 14px; }
.byline { display: inline-flex; align-items: center; gap: 10px; }
.byline-by { color: var(--muted); }
.article-figure { margin: 22px 0; }
.article-figure img { width: 100%; border-radius: var(--radius-sm); }
.article-figure figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; font-style: italic; }
.article-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; }
.prose { font-size: 1.1rem; line-height: 1.8; color: #23262b; overflow-wrap: break-word; }
.prose h2 { font-family: var(--font-title); font-size: 1.5rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--radius-sm); margin: 1.2em auto; }
.prose blockquote { margin: 1.5em 0; padding: 10px 20px; border-left: 4px solid var(--yellow); background: var(--bg-soft); font-style: italic; color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .3em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose figure { margin: 1.2em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); padding: 18px; border-radius: var(--radius); margin-top: 24px; }
.author-box h2 { font-size: 1.05rem; margin-bottom: 4px; }
.author-box p { margin: 0; color: var(--text-2); font-size: .95rem; }
.related { margin-top: 32px; }

/* ---------- Partage ---------- */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.share-label { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; border: 0; cursor: pointer; transition: transform .15s, opacity .15s; }
.share-btn:hover { transform: translateY(-2px); color: #fff; opacity: .9; }
.share-facebook { background: #1877f2; } .share-whatsapp { background: #25d366; } .share-x { background: #111; }
.share-telegram { background: #229ed9; } .share-linkedin { background: #0a66c2; } .share-copy, .share-native { background: #6b7280; }
.share-copy.copied { background: #16a34a; }

/* ---------- Avatars & badges ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--text-2); }
.badge-warning { background: #fef3c7; color: #92400e; } .badge-success { background: #dcfce7; color: #166534; }
.badge-danger { background: #fee2e2; color: #991b1b; } .badge-role { background: #e0f2fe; color: #075985; }

/* ---------- Brèves ---------- */
.breves-feed { display: flex; flex-direction: column; gap: 18px; }
.breve { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; border-left: 4px solid var(--yellow); }
.breve-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.breve-head > div { display: flex; flex-direction: column; line-height: 1.3; }
.breve-text { font-size: 1.02rem; }
.breve-text p:last-child { margin-bottom: 0; }
.breve-text a { color: var(--blue-dark); text-decoration: underline; word-break: break-word; }
.breve-image { display: block; margin: 12px 0 0; border-radius: var(--radius-sm); overflow: hidden; }
.breve-image img { width: 100%; max-height: 520px; object-fit: cover; }
.breve-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.breve-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--blue-dark); background: #f8fbfd; }
.breve-link:hover { border-color: var(--blue); background: #eef7fc; }
.breve-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.breve-foot .share-label { display: none; }
.breve-foot .share-btn { width: 32px; height: 32px; }
.breve-comments, .breve-edit { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--text-2); }
.breves-strip .breves-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.breve-chip { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--yellow); scroll-snap-align: start; }
.breve-chip img { border-radius: var(--radius-sm); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.breve-chip-text { font-size: .92rem; font-weight: 500; flex: 1; }

/* ---------- Commentaires ---------- */
.comments { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.comments h2 { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; }
.comments .count { background: var(--bg-soft); border-radius: 999px; padding: 0 10px; font-size: .9rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 20px; }
.comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment.is-pending { opacity: .75; }
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.comment-text { margin-top: 4px; overflow-wrap: anywhere; }
.comment-form label { font-weight: 600; display: block; margin-bottom: 6px; }
.comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); resize: vertical; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.notice { background: var(--bg-soft); border-radius: var(--radius); padding: 16px; }
.notice-login { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.notice-login p { margin: 0; flex-basis: 100%; }

/* ---------- Alertes ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid; font-size: .95rem; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* ---------- Formulaires & comptes ---------- */
.auth-wrap { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px clamp(18px, 4vw, 36px); }
.auth-card-wide { max-width: 640px; }
.auth-card h1 { font-family: var(--font-title); font-size: 1.7rem; }
.auth-alt { text-align: center; margin: 16px 0 0; }
.auth-alt a { color: var(--blue-dark); font-weight: 600; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=file], .form textarea, .form select {
  width: 100%; padding: 11px 13px; border: 1px solid #d1d5db; border-radius: var(--radius-sm); background: #fff;
}
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: 2px solid rgba(0,148,217,.2); }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 4px; margin: 0 0 18px; }
.form legend { font-weight: 700; padding: 0 6px; }
.checkbox { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; margin-bottom: 16px; }
.checkbox input { margin-top: 5px; }
.checkbox a { color: var(--blue-dark); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.avatar-edit { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.avatar-edit .field { flex: 1; margin: 0; }

.account-card { display: flex; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; flex-wrap: wrap; }
.account-id { flex: 1; min-width: 220px; }
.account-id h1 { font-family: var(--font-title); font-size: 1.6rem; margin: 0; }
.account-id p { margin: 4px 0; }
.account-actions { display: flex; flex-direction: column; gap: 8px; }
.stats-row { display: flex; gap: 14px; margin: 20px 0 28px; flex-wrap: wrap; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 22px; display: flex; flex-direction: column; min-width: 140px; }
.stat strong { font-size: 1.7rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }
.my-comments { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.my-comments li { background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.my-comments p { margin: 6px 0; }
.my-comments a { color: var(--blue-dark); }

/* ---------- Radio ---------- */
.radio-hero { margin-bottom: 24px; }
.radio-player { display: flex; gap: 28px; align-items: center; background: radial-gradient(circle at 20% 20%, #34404f, var(--dark) 70%); color: #fff; border-radius: 16px; padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.radio-player::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--yellow) 50% 60%, var(--red) 60%); }
.radio-visual { width: 170px; height: 170px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--blue), var(--yellow), var(--red), var(--blue)); padding: 6px; }
.radio-visual .eq { width: 100%; height: 100%; border-radius: 50%; background: var(--dark); display: flex; align-items: center; justify-content: center; gap: 5px; }
.eq i { width: 7px; height: 20px; background: var(--yellow); border-radius: 3px; display: block; }
.radio-player.playing .eq i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s !important; background: var(--blue); } .eq i:nth-child(3) { animation-delay: .4s !important; background: var(--red); }
.eq i:nth-child(4) { animation-delay: .1s !important; } .eq i:nth-child(5) { animation-delay: .3s !important; background: var(--blue); }
@keyframes eq { 0%, 100% { height: 14px; } 50% { height: 56px; } }
.radio-info { flex: 1; min-width: 0; }
.radio-info h1 { font-family: var(--font-title); font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin: 10px 0 4px; }
.radio-freq { color: var(--yellow); font-weight: 700; margin: 0 0 4px; }
.radio-now { color: #e6e8ec; }
.radio-now .muted { color: #a8adb7; }
.player-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.player-btn { width: 68px; height: 68px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(206,16,33,.45); transition: transform .15s; }
.player-btn:hover { transform: scale(1.06); }
.player-btn .i-pause { display: none; }
.player-btn[data-state=playing] .i-play, .player-btn[data-state=loading] .i-play { display: none; }
.player-btn[data-state=playing] .i-pause, .player-btn[data-state=loading] .i-pause { display: inline-flex; }
.player-btn[data-state=loading] { animation: pulse-red 1.2s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(206,16,33,.7); } 70% { box-shadow: 0 0 0 14px rgba(206,16,33,0); } 100% { box-shadow: 0 0 0 0 rgba(206,16,33,0); } }
.player-status { color: #cfd3da; font-size: .9rem; min-width: 140px; }
.player-volume { display: inline-flex; align-items: center; gap: 8px; color: #cfd3da; }
.player-volume input { width: 110px; accent-color: var(--yellow); }
.upcoming { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.upcoming-item { background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; border-top: 3px solid var(--blue); }
.upcoming-time { font-size: .78rem; font-weight: 700; color: var(--red); text-transform: uppercase; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 14px; scrollbar-width: none; }
.tabs button { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font-weight: 600; cursor: pointer; color: var(--text-2); white-space: nowrap; }
.tabs button[aria-selected=true] { color: var(--text); border-bottom-color: var(--red); }
.tab-short { display: none; }
.schedule { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.schedule li { display: flex; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.schedule li:last-child { border-bottom: 0; }
.schedule li.is-live { background: #fff7f7; border-left: 4px solid var(--red); }
.schedule p { margin: 4px 0 0; color: var(--text-2); font-size: .93rem; }
.schedule-time { font-weight: 800; font-size: 1.05rem; min-width: 64px; display: flex; flex-direction: column; color: var(--dark); }
.schedule-time small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.radio-about .prose { font-size: 1rem; background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; }
.pagination .current { background: var(--dark); color: #fff; }
.pagination .dots { background: transparent; box-shadow: none; }

/* ---------- Pages statiques & erreur ---------- */
.static-page { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px clamp(16px, 4vw, 40px); }
.static-page .page-head { box-shadow: none; padding: 0 0 0 16px; }
.error-page { text-align: center; padding: 40px 16px; }
.error-code { font-family: var(--font-title); font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; line-height: 1; background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--dark); color: #b8bcc5; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding: 44px 16px 32px; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .92rem; }
.site-footer a:hover { color: var(--yellow); }
.footer-about p { font-size: .92rem; margin-top: 14px; }
.brand-footer { font-size: 1.6rem; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; }
.socials-footer a { width: 36px; height: 36px; border-radius: 50%; background: #2f333b; justify-content: center; align-items: center; }
.footer-bottom { border-top: 1px solid #30343c; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.flag-bar { display: inline-block; width: 90px; height: 6px; border-radius: 3px; background: linear-gradient(100deg, var(--blue) 0 42%, var(--yellow) 42% 48%, var(--red) 48% 58%, var(--yellow) 58% 64%, var(--blue) 64%); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .layout-sidebar { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  .brand-tagline { display: none; }
}
@media (max-width: 960px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar .ad-sidebar, .sticky-ad { display: none; } /* emplacements latéraux : ordinateur uniquement */
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar-date { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .topbar .socials { display: none; }
  .header-inner { min-height: 60px; gap: 8px; }
  .nav-toggle { display: inline-flex; margin-left: -8px; }
  .brand { font-size: 1.45rem; }
  .btn-live { padding: 7px 10px; font-size: 0; gap: 0; }
  .btn-live .live-dot { width: 10px; height: 10px; }
  .btn-live::after { content: "Radio"; font-size: .78rem; margin-left: 6px; }
  .main-nav { display: none; border-top: 1px solid #3a3e47; max-height: calc(100vh - 60px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; overflow: visible; }
  .main-nav a { display: flex; padding: 13px 4px; border-bottom: 1px solid #3a3e47; border-left: 3px solid transparent; }
  .main-nav a.active, .main-nav a:hover { border-bottom-color: #3a3e47; border-left-color: var(--cat, var(--yellow)); padding-left: 10px; }
  .mobile-account { display: flex; flex-direction: column; padding: 8px 0 16px; }
  .mobile-account a { padding: 12px 4px; color: var(--yellow); font-weight: 600; display: flex; gap: 8px; align-items: center; }
  .site-header { position: sticky; }
  .site-main { padding-top: 16px; }
  .card-hero { min-height: 340px; }
  .card-hero .card-body { padding: 80px 16px 16px; }
  .card-hero .card-excerpt { display: none; }
  .hero-side { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .card-horizontal { flex-direction: column; }
  .card-horizontal .card-media { width: 100%; }
  .card-horizontal .card-body { padding: 14px 16px; }
  .card-horizontal .card-title { font-size: 1.08rem; }
  .grid-3 .card-default { flex-direction: row; }
  .grid-3 .card-default .card-media { width: 36%; aspect-ratio: 1 / 1; }
  .grid-3 .card-default .card-body { padding: 10px 12px; }
  .grid-3 .card-default .card-title { font-size: .95rem; }
  .sidebar { grid-template-columns: 1fr; }
  .article { padding: 20px 16px; border-radius: 0; margin: 0 -16px; box-shadow: none; }
  .prose { font-size: 1.04rem; }
  .breve { padding: 16px; }
  .radio-player { flex-direction: column; text-align: center; }
  .radio-visual { width: 120px; height: 120px; }
  .radio-info .live-tag { align-self: center; }
  .player-controls { justify-content: center; }
  .tab-long { display: none; } .tab-short { display: inline; }
  .tabs button { padding: 10px; flex: 1; }
  .schedule li { gap: 12px; padding: 12px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .search-form .btn span { display: none; }
  .account-actions { width: 100%; }
  .page-head { padding: 18px; }
}
@media (max-width: 420px) {
  .topbar-cta { display: none; }
  .brand-num { padding: 3px 6px; }
}
@media print {
  .topbar, .site-header, .ticker, .sidebar, .share, .ad-slot, .site-footer, .article-footer, .related { display: none !important; }
  body { background: #fff; }
  .article { box-shadow: none; padding: 0; }
}
