/* ==================================================================
   INFOS PLUS — Feuille de style unique du site public
   Palette : bleu #0A3D8F · orange #F47920
   Mobile d'abord. Aucune dépendance (pas de Bootstrap).
   ================================================================== */

:root {
  --brand-950: #041431;
  --brand-900: #061c42;
  --brand-800: #0a2a5e;
  --brand-700: #0a3d8f;
  --brand-600: #1557c0;
  --brand-100: #dfe9f8;
  --brand-50:  #eef3fb;
  --accent-700: #c9580b;
  --accent-600: #f47920;
  --accent-500: #ff8f3d;
  --accent-50:  #fff4eb;

  --ink:     #0f172a;
  --ink-2:   #334155;
  --muted:   #64748b;
  --line:    #e4e9f1;
  --bg:      #f5f7fb;
  --surface: #ffffff;
  --success: #15803d;
  --danger:  #b91c1c;

  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow:    0 6px 22px rgba(10, 42, 94, .08);
  --shadow-lg: 0 18px 40px rgba(10, 42, 94, .16);

  --container: 1240px;
  --gutter: 16px;
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 72px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--accent-600); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--ink); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 2px; border-radius: 4px; }
.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: 12px; top: -60px; z-index: 1000; background: var(--accent-600); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.main { min-height: 50vh; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-800); color: #fff; }
.btn--accent { background: var(--accent-600); color: #fff; }
.btn--accent:hover { background: var(--accent-700); color: #fff; }
.btn--outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--outline:hover { border-color: var(--brand-700); color: var(--brand-700); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent-600); color: #fff; line-height: 1.3;
}
a.badge:hover { background: var(--accent-700); color: #fff; }
.badge--soft { background: var(--accent-50); color: var(--accent-700); }
.badge--brand { background: var(--brand-50); color: var(--brand-700); }
.kicker { color: var(--accent-700); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
a.kicker:hover { color: var(--brand-700); }

/* ==================================================================
   EN-TÊTE
   ================================================================== */
.topbar { background: var(--brand-950); color: rgba(255,255,255,.75); font-size: 13px; display: none; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__info { display: flex; gap: 22px; align-items: center; }
.topbar__info i { color: var(--accent-500); margin-right: 6px; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: #fff; }
.socials { display: flex; gap: 6px; align-items: center; }
.socials a {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8); font-size: 13px; transition: background .2s, color .2s;
}
.socials a:hover { background: var(--accent-600); color: #fff; }
@media (min-width: 900px) { .topbar { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--brand-800);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(4, 20, 49, .25); }
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
@media (min-width: 768px) { .brand img { height: 42px; } }

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  color: rgba(255,255,255,.88); font-weight: 600; font-size: 15px;
  background: none; border: 0; transition: background .2s, color .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: rgba(255,255,255,.1); color: #fff; }
.nav__link.is-active { color: #fff; background: rgba(244,121,32,.95); }
.nav__link .fa-chevron-down { font-size: 11px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item.is-open .fa-chevron-down { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: min(720px, 90vw); padding: 18px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: 14.5px;
}
.mega a i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font-size: 14px; flex-shrink: 0; }
.mega a small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.mega a:hover { background: var(--bg); color: var(--brand-700); }
.mega a:hover i { background: var(--accent-600); color: #fff; }

.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; font-size: 17px;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header__actions { margin-left: 8px; }
  .header__burger { display: none; }
}

/* Recherche déroulante */
.search-panel { background: var(--brand-900); border-top: 1px solid rgba(255,255,255,.08); display: none; }
.search-panel.is-open { display: block; animation: slideDown .2s ease; }
.search-form { display: flex; gap: 8px; padding-block: 14px; }
.search-form input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  border-radius: 999px; border: 0; background: #fff; font-size: 16px;
}
.search-form input:focus { outline: 3px solid var(--accent-500); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Barre des rubriques */
.catbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.catbar__scroll { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.catbar__scroll::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: all .2s;
}
.chip i { color: var(--accent-600); font-size: 12px; }
.chip:hover { border-color: var(--brand-700); color: var(--brand-700); }
.chip.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.chip.is-active i { color: #fff; }
.chip__count { font-size: 12px; color: var(--muted); font-weight: 600; }
.chip.is-active .chip__count { color: rgba(255,255,255,.75); }

/* Fil « Tendances » */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker__inner { display: flex; align-items: center; gap: 14px; height: 44px; }
.ticker__label {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-600); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker__viewport:hover .ticker__track { animation-play-state: paused; }
.ticker__track a { color: var(--ink-2); font-size: 14px; font-weight: 500; padding-inline: 22px; white-space: nowrap; position: relative; }
.ticker__track a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent-600); }
.ticker__track a:hover { color: var(--brand-700); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Menu mobile (tiroir) */
.drawer-overlay { position: fixed; inset: 0; background: rgba(4, 20, 49, .55); z-index: 199; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(360px, 88vw); background: var(--surface);
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--brand-800); }
.drawer__head img { height: 32px; width: auto; }
.drawer__body { padding: 12px 16px 24px; }
.drawer__search { display: flex; gap: 8px; margin-bottom: 14px; }
.drawer__search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); }
.drawer__search button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand-700); color: #fff; }
.drawer__link { display: flex; align-items: center; gap: 12px; padding: 13px 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.drawer__link i { width: 20px; color: var(--brand-700); text-align: center; }
.drawer__link.is-active { color: var(--accent-700); }
.drawer__title { margin: 20px 0 8px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.drawer__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer__socials { margin-top: 22px; display: flex; gap: 8px; }
.drawer__socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }

/* ==================================================================
   SECTIONS & GRILLES
   ================================================================== */
.section { padding-block: 28px; }
@media (min-width: 768px) { .section { padding-block: 40px; } }
.section--tight { padding-top: 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section__title {
  font-family: var(--font-serif); font-size: clamp(22px, 3vw, 28px); font-weight: 700;
  position: relative; padding-left: 16px;
}
.section__title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 4px; background: var(--accent-600); }
.section__title a { color: inherit; }
.section__title a:hover { color: var(--brand-700); }
.section__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brand-700); white-space: nowrap; }
.section__more i { transition: transform .2s; }
.section__more:hover i { transform: translateX(3px); }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.layout { display: grid; gap: 32px; }
@media (min-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .sidebar { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
}
.sidebar { display: grid; gap: 24px; align-content: start; }

/* ==================================================================
   CARTES ARTICLE
   ================================================================== */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__media .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card__title { font-family: var(--font-serif); font-size: 19px; font-weight: 700; line-height: 1.3; }
.card__title a { color: var(--ink); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { color: var(--brand-700); }
.card__excerpt { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13px; }
.card__meta i { color: var(--accent-600); margin-right: 4px; }
.card .kicker { position: relative; z-index: 2; align-self: flex-start; }

/* Variante horizontale (listes) */
.card--row { flex-direction: row; align-items: stretch; }
.card--row { min-height: 130px; }
.card--row .card__media { width: 36%; max-width: 230px; aspect-ratio: auto; flex-shrink: 0; }
.card--row .card__media img { position: absolute; inset: 0; }
.card--row .card__body { padding: 12px 14px; gap: 6px; }
.card--row .card__title { font-size: 16.5px; }
.card--row .card__excerpt { -webkit-line-clamp: 2; }
@media (max-width: 480px) { .card--row .card__excerpt { display: none; } .card--row .card__title { font-size: 15.5px; } }

/* Variante compacte (sans cadre) */
.mini { position: relative; display: flex; gap: 12px; align-items: flex-start; padding-block: 12px; border-bottom: 1px solid var(--line); }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini:first-child { padding-top: 0; }
.mini__img { width: 86px; height: 70px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--brand-100); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mini__title { font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini__title a { color: var(--ink); }
.mini__title a::after { content: ""; position: absolute; inset: 0; }
.mini:hover .mini__title a { color: var(--brand-700); }
.mini__meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.mini__rank {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  background: var(--brand-50); color: var(--brand-700);
}
.mini:first-child .mini__rank { background: var(--accent-600); color: #fff; }

/* Variante « à la une » (image pleine + texte en surimpression) */
.feature {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--brand-900); color: #fff; min-height: 300px; isolation: isolate;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: -2; transition: transform .6s; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,20,49,0) 25%, rgba(4,20,49,.55) 55%, rgba(4,20,49,.95) 100%); }
.feature:hover img { transform: scale(1.04); }
.feature__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.feature__title { font-family: var(--font-serif); color: #fff; overflow-wrap: anywhere; text-wrap: balance; font-size: clamp(22px, 4vw, 34px); font-weight: 700; line-height: 1.2; }
.feature__title a { color: #fff; }
.feature__title a::after { content: ""; position: absolute; inset: 0; }
.feature:hover .feature__title a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent-500); text-underline-offset: 5px; }
.feature__lead { color: rgba(255,255,255,.85); font-size: 15.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature__meta { color: rgba(255,255,255,.75); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }
.feature__meta i { color: var(--accent-500); margin-right: 4px; }
.feature .badge { position: relative; z-index: 2; }
.feature--sm { min-height: 220px; }
.feature--sm .feature__title { font-size: clamp(17px, 2vw, 20px); }
.feature--sm .feature__body { padding: 16px; gap: 8px; }

/* Bloc « À la une » de l'accueil */
.hero { display: grid; gap: 20px; }
.hero__main { min-height: 420px; display: grid; }
.hero__list { display: grid; gap: 12px; align-content: start; }
@media (min-width: 700px) { .hero__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .hero__main { min-height: 540px; }
  .hero__main .feature__body { padding: 32px; }
  .hero__list { grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); gap: 12px; }
}
.compact {
  position: relative; display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.compact:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.compact__img { width: 112px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--brand-100); }
.compact__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.compact__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.compact__title { font-family: var(--font-serif); font-size: 16.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.compact__title a { color: var(--ink); }
.compact__title a::after { content: ""; position: absolute; inset: 0; }
.compact:hover .compact__title a { color: var(--brand-700); }
.compact__meta { font-size: 12.5px; color: var(--muted); }
.compact__meta i { color: var(--accent-600); }

/* Section rubrique sur l'accueil */
.cat-block { display: grid; gap: 20px; }
@media (min-width: 900px) { .cat-block { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.cat-block__list { display: grid; gap: 14px; align-content: start; }

/* ==================================================================
   WIDGETS (barre latérale)
   ================================================================== */
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.widget__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 20px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.widget__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--accent-600); }
.widget__title i { color: var(--accent-600); font-size: 17px; }
.widget .chip { font-size: 13.5px; padding: 6px 12px; }
.widget__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.newsletter {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 24px;
  background: linear-gradient(140deg, var(--brand-700), var(--brand-900)); color: #fff;
}
.newsletter::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(244,121,32,.18); }
.newsletter__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-600); display: grid; place-items: center; font-size: 19px; margin-bottom: 14px; }
.newsletter h3 { color: #fff; font-family: var(--font-serif); font-size: 22px; margin-bottom: 6px; }
.newsletter p { color: rgba(255,255,255,.8); font-size: 14.5px; margin-bottom: 16px; }
.newsletter form { position: relative; z-index: 1; display: grid; gap: 10px; }
.newsletter input[type=email] { height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter input:focus { outline: none; border-color: var(--accent-500); background: rgba(255,255,255,.16); }
.newsletter--wide { padding: 28px; }
@media (min-width: 900px) {
  .newsletter--wide { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 40px 48px; }
  .newsletter--wide form { grid-template-columns: 1fr auto; }
  .newsletter--wide p { margin-bottom: 0; }
}

.ad { text-align: center; }
.ad__label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad img { margin-inline: auto; border-radius: var(--radius-sm); max-height: 600px; width: auto; }
.ad--banner { padding-top: 20px; }
.ad--banner img { width: 100%; max-height: 220px; object-fit: contain; background: var(--surface); }

/* ==================================================================
   EN-TÊTES DE PAGES (rubrique, recherche…)
   ================================================================== */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-800), var(--brand-950)); color: #fff; padding-block: 36px 40px; }
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(244,121,32,.14); pointer-events: none; }
.page-hero h1 { color: #fff; font-family: var(--font-serif); font-size: clamp(28px, 5vw, 44px); font-weight: 700; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-hero__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-600); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 720px; margin: 12px 0 0; font-size: 16.5px; white-space: pre-line; }
.page-hero__meta { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.page-hero__meta span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); padding: 5px 12px; border-radius: 999px; font-size: 13.5px; }
.page-hero__meta i { color: var(--accent-500); margin-right: 6px; }
.page-hero .search-form { padding: 18px 0 0; max-width: 640px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 10px; opacity: .6; }
.breadcrumb--dark { color: var(--muted); }
.breadcrumb--dark a { color: var(--ink-2); }
.breadcrumb--dark a:hover { color: var(--brand-700); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.toolbar__count { color: var(--muted); font-size: 14.5px; }
.toolbar__count strong { color: var(--ink); }
.select { height: 42px; padding: 0 38px 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 600; font-size: 14px; }

.empty { text-align: center; padding: 48px 20px; background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty i { font-size: 38px; color: var(--brand-100); margin-bottom: 12px; display: block; }
.empty h3 { font-size: 20px; margin-bottom: 6px; color: var(--ink); }

/* Pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pagination__btn { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; }
a.pagination__btn:hover { border-color: var(--brand-700); color: var(--brand-700); }
.pagination__btn.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.pagination__btn.is-disabled { opacity: .4; }
.pagination__dots { display: grid; place-items: center; padding: 0 4px; color: var(--muted); }

/* ==================================================================
   ARTICLE
   ================================================================== */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent-600); z-index: 300; transition: width .1s linear; }
.article-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 24px 28px; }
.article-head__inner { max-width: 860px; }
.article-title { font-family: var(--font-serif); font-size: clamp(28px, 5.2vw, 46px); font-weight: 700; line-height: 1.15; margin: 14px 0 0; letter-spacing: -.01em; overflow-wrap: anywhere; }
.article-lead { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: var(--ink-2); margin: 16px 0 0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.article-meta i { color: var(--accent-600); margin-right: 5px; }
.article-meta .author { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.avatar--accent { background: var(--accent-600); }

.article-figure { margin: 0 0 28px; }
.article-figure img { width: 100%; border-radius: var(--radius); background: var(--brand-100); max-height: 640px; object-fit: cover; }
.article-figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; padding-left: 12px; border-left: 3px solid var(--accent-600); }

.article-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); min-width: 0; }
@media (min-width: 768px) { .article-body { padding: 36px 44px; } }

.prose { font-size: 18px; line-height: 1.78; color: #1e293b; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose > p:first-child::first-letter { float: left; font-family: var(--font-serif); font-size: 3.4em; line-height: .9; padding: 6px 10px 0 0; color: var(--brand-700); font-weight: 700; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-serif); margin-top: 1.6em; }
.prose h2 { font-size: 1.5em; }
.prose h3 { font-size: 1.28em; }
.prose a { color: var(--brand-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--accent-700); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-inline: 0; padding: 14px 20px; border-left: 4px solid var(--accent-600); background: var(--accent-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-serif); font-style: italic; font-size: 1.08em; color: var(--ink); }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin-inline: 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
@media (max-width: 640px) { .prose { font-size: 17px; line-height: 1.72; } }

.article-extra-img { margin: 28px 0; }
.article-extra-img img { width: 100%; border-radius: var(--radius-sm); }
.article-extra-img figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

.article-footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags a { padding: 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 13.5px; font-weight: 600; }
.tags a:hover { background: var(--brand-700); color: #fff; }
.source { font-size: 14px; color: var(--muted); }
.source strong { color: var(--ink); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-weight: 700; font-size: 14px; margin-right: 4px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; border: 0; display: inline-grid; place-items: center; color: #fff; font-size: 16px; transition: transform .15s, opacity .2s; }
.share a:hover, .share button:hover { transform: translateY(-2px); color: #fff; opacity: .9; }
.share .s-fb { background: #1877f2; } .share .s-x { background: #0f1419; } .share .s-wa { background: #25d366; }
.share .s-li { background: #0a66c2; } .share .s-tg { background: #229ed9; } .share .s-cp { background: var(--brand-700); }

/* Commentaires */
.comments { margin-top: 28px; }
.comments h2 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--accent-600); color: #fff; font-size: 13px; font-family: var(--font-sans); }
.comment { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment__name { font-weight: 700; }
.comment__date { font-size: 12.5px; color: var(--muted); }
.comment__text { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; overflow-wrap: anywhere; }

/* ==================================================================
   FORMULAIRES
   ================================================================== */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field label .req { color: var(--accent-700); }
.input, .textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.input:focus, .textarea:focus, .field select:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(21, 87, 192, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 13px; color: var(--muted); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 15px; border: 1px solid; }
.alert i { margin-top: 3px; }
.alert--success { background: #ecfdf3; border-color: #bbf7d0; color: #14532d; }
.alert--error { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.alert--info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-800); }

.toast-stack { position: fixed; z-index: 400; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 10px; width: min(480px, calc(100% - 32px)); }
.toast { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; font-size: 15px; }
.toast--success i { color: #4ade80; } .toast--error i { color: #f87171; } .toast--info i, .toast--warning i { color: var(--accent-500); }
.toast button { margin-left: auto; background: none; border: 0; color: rgba(255,255,255,.7); font-size: 18px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ==================================================================
   VIDÉOS
   ================================================================== */
.video-card .card__media { aspect-ratio: 16 / 9; }
.play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(244,121,32,.95); color: #fff; display: grid; place-items: center; font-size: 20px; padding-left: 4px; box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: transform .2s; }
.video-card:hover .play span { transform: scale(1.1); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section--dark { background: var(--brand-950); color: #fff; }
.section--dark .section__title { color: #fff; }
.section--dark .section__more { color: var(--accent-500); }
.section--dark .card { background: var(--brand-900); border-color: rgba(255,255,255,.08); }
.section--dark .card__title a { color: #fff; }
.section--dark .card:hover .card__title a { color: var(--accent-500); }
.section--dark .card__meta { color: rgba(255,255,255,.6); }

/* ==================================================================
   PAGES DE CONTENU (à propos, contact, pages légales)
   ================================================================== */
.content-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .content-card { padding: 40px; } }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.info-item h3 { font-size: 15px; margin-bottom: 2px; }
.info-item p, .info-item a { margin: 0; color: var(--ink-2); font-size: 15px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-serif); font-size: 34px; color: var(--brand-700); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }
.feature-list { display: grid; gap: 16px; }
@media (min-width: 700px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-list--4 { grid-template-columns: repeat(4, 1fr); } }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.value i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-700); font-size: 19px; margin-bottom: 12px; }
.value h3 { font-size: 18px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }
.director { display: grid; gap: 24px; align-items: center; }
.director img { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-inline: auto; }
@media (min-width: 900px) { .director { grid-template-columns: 360px 1fr; gap: 48px; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; border-left: 3px solid var(--brand-100); padding-left: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent-600); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--accent-600); }
.timeline strong { display: block; color: var(--brand-700); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; }
.check-list i { color: var(--accent-600); margin-top: 5px; }

/* ==================================================================
   PIED DE PAGE
   ================================================================== */
.site-footer { background: var(--brand-950); color: rgba(255,255,255,.72); margin-top: 48px; font-size: 15px; }
.footer__grid { display: grid; gap: 32px; padding-block: 48px 32px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 14.5px; line-height: 1.65; }
.footer__title { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a { color: rgba(255,255,255,.72); }
.footer__links a:hover { color: var(--accent-500); }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact i { color: var(--accent-500); margin-top: 5px; width: 16px; }
.site-footer .socials { margin-top: 18px; }
.site-footer .socials a { background: rgba(255,255,255,.08); width: 38px; height: 38px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.footer__bottom a { color: rgba(255,255,255,.7); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.fab { position: fixed; right: 16px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); border: 0; transition: transform .2s, opacity .2s, visibility .2s; }
.fab:hover { color: #fff; transform: translateY(-3px); }
.fab--wa { bottom: 18px; background: #25d366; font-size: 26px; }
.fab--top { bottom: 80px; background: var(--brand-700); font-size: 17px; width: 44px; height: 44px; right: 20px; opacity: 0; visibility: hidden; }
.fab--top.is-visible { opacity: 1; visibility: visible; }

/* 404 */
.notfound { text-align: center; padding-block: 64px; }
.notfound__code { font-family: var(--font-serif); font-size: clamp(80px, 18vw, 150px); font-weight: 700; line-height: 1; color: var(--brand-700); }
.notfound__code span { color: var(--accent-600); }
.notfound h1 { font-size: clamp(22px, 4vw, 30px); margin: 10px 0; }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.notfound .search-form { max-width: 520px; margin: 0 auto 24px; }
.notfound .search-form input { border: 1.5px solid var(--line); }

/* Utilitaires */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
mark { background: #fff1c2; color: inherit; padding: 0 2px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; }
}

@media print {
  .site-header, .topbar, .catbar, .ticker, .site-footer, .sidebar, .share, .comments, .fab, .reading-progress { display: none !important; }
  .layout { display: block; }
  .article-body { border: 0; box-shadow: none; padding: 0; }
}
