/* YesGalsen — feuille de style du site public */
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/montserrat/files/montserrat-latin-wght-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter/files/inter-latin-wght-normal.woff2) format('woff2-variations'); }

:root {
  --red: #c8102e; --red-2: #e63b2e; --red-dark: #9b0c22;
  --grad: linear-gradient(100deg, #a50d1c 0%, #d7261e 55%, #ef4433 100%);
  --ink: #12151a; --text: #1f2933; --muted: #6b7280; --line: #e5e7eb; --soft: #f4f5f7;
  --bg: #f6f7f9; --card: #ffffff; --nav: #12151a;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .06);
  --shadow-lg: 0 14px 40px rgba(16, 24, 40, .14);
  --head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #f3f4f6; --text: #d8dce3; --muted: #9aa3af; --line: #2a2f37; --soft: #1b1f25; --bg: #0f1216; --card: #171b21; --nav: #0b0d10; color-scheme: dark; }
}
:root[data-theme="dark"] { --ink: #f3f4f6; --text: #d8dce3; --muted: #9aa3af; --line: #2a2f37; --soft: #1b1f25; --bg: #0f1216; --card: #171b21; --nav: #0b0d10; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.22; margin: 0; letter-spacing: -.01em; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.17em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; margin: 28px 0 8px; }
:focus-visible { outline: 3px solid rgba(200, 16, 46, .45); outline-offset: 2px; border-radius: 4px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: .95rem; cursor: pointer; transition: .18s; white-space: nowrap; }
.btn:hover { border-color: var(--red); color: var(--red); }
.btn-primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(200, 16, 46, .28); }
.btn-primary:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: #fff1f1; }
.btn-outline { background: transparent; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }
.icon-btn .i { width: 22px; height: 22px; }

/* Barre supérieure */
.topbar { background: var(--nav); color: #c9ced6; font-size: .8rem; }
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.today { display: inline-flex; align-items: center; gap: 6px; text-transform: none; }
.topbar-links { display: flex; gap: 16px; margin-left: auto; }
.topbar-links a:hover { color: #fff; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: .18s; }
.socials a:hover { background: var(--red); transform: translateY(-2px); }
.socials-sm a { width: 26px; height: 26px; background: transparent; color: #c9ced6; }
.socials-sm a:hover { background: transparent; color: #fff; transform: none; }
.socials-sm .i { width: 14px; height: 14px; }

/* En-tête */
.site-header { background: var(--card); position: relative; z-index: 30; }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 92px; }
.logo img { height: 70px; width: auto; }
.header-ad { flex: 1; display: flex; justify-content: center; min-width: 0; overflow: hidden; }
.header-ad:empty { display: block; }
.search-form { display: flex; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; width: 320px; max-width: 100%; transition: .18s; }
.search-form:focus-within { border-color: var(--red); background: var(--card); box-shadow: 0 0 0 4px rgba(200, 16, 46, .1); }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; padding: 6px 0; }
.search-form button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; }
.menu-toggle, .search-toggle { display: none; }
.theme-toggle .only-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .only-dark { display: block; }
:root[data-theme="dark"] .theme-toggle .only-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .only-dark { display: block; } :root:not([data-theme="light"]) .theme-toggle .only-light { display: none; } }

/* Navigation des rubriques */
.main-nav { background: var(--grad); position: sticky; top: 0; z-index: 40; box-shadow: 0 4px 14px rgba(155, 12, 34, .25); }
.nav-in { display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.nav-in > a, .nav-more > button { display: flex; align-items: center; gap: 6px; padding: 0 15px; height: 50px; color: #fff; font-family: var(--head); font-weight: 700; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; position: relative; background: none; border: 0; cursor: pointer; }
.nav-in > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 3px; border-radius: 3px; background: #fff; transform: scaleX(0); transition: transform .2s; }
.nav-in > a:hover::after, .nav-in > a.active::after { transform: scaleX(1); }
.nav-in > a.active, .nav-in > a:hover { background: rgba(0, 0, 0, .12); }
.nav-more { position: relative; }
.nav-drop { position: absolute; right: 0; top: 100%; background: var(--card); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); min-width: 200px; padding: 8px; display: none; }
.nav-more:hover .nav-drop, .nav-more:focus-within .nav-drop { display: block; }
.nav-drop a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.nav-drop a:hover { background: var(--soft); color: var(--red); }
.main-nav .nav-more { position: static; }
.main-nav .nav-drop { right: 16px; }

/* Bandeau En continu */
.ticker { background: var(--card); border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: center; gap: 14px; height: 46px; overflow: hidden; }
.ticker-label { display: inline-flex; align-items: center; gap: 6px; background: #12151a; color: #fff; font-family: var(--head); font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 7px 12px; border-radius: 6px; flex: none; }
:root[data-theme="dark"] .ticker-label { background: var(--red); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticker-label { background: var(--red); } }
.ticker-label .i { color: #ffcc00; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; gap: 40px; width: max-content; animation: tick 90s linear infinite; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { white-space: nowrap; font-size: .92rem; font-weight: 500; }
.ticker-move a b { color: var(--red); font-weight: 700; margin-right: 4px; text-transform: uppercase; font-size: .75rem; letter-spacing: .04em; }
.ticker-move a:hover { color: var(--red); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } }

/* Tiroir mobile */
.drawer { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 90; backdrop-filter: blur(3px); }
.drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(330px, 88vw); background: var(--card); padding: 16px; overflow-y: auto; animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-head img { height: 48px; width: auto; }
.drawer-search { width: 100%; margin-bottom: 10px; }
.drawer-link { display: flex; align-items: center; gap: 10px; padding: 12px 8px; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 700; font-size: .95rem; }
.drawer-link i { width: 10px; height: 10px; border-radius: 3px; }
.drawer-link.small { font-weight: 500; font-family: var(--body); border: 0; padding: 8px; }
.drawer-sep { height: 10px; }
.drawer .socials { margin-top: 14px; }
.drawer .socials a { background: var(--soft); color: var(--ink); }

/* Messages */
.flashes { margin-top: 16px; }
.flash { padding: 13px 16px; border-radius: 10px; margin-bottom: 10px; font-weight: 500; border: 1px solid; }
.flash-success { background: #ecfdf3; border-color: #a6f4c5; color: #05603a; }
.flash-error { background: #fef3f2; border-color: #fecdca; color: #b42318; }
.flash-info { background: #eff8ff; border-color: #b2ddff; color: #175cd3; margin-top: 16px; }

/* Badges, méta */
.badge { display: inline-block; background: var(--c, var(--red)); color: #fff; font-family: var(--head); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; padding: 5px 10px; border-radius: 5px; line-height: 1.2; }
.badge-sm { font-size: .64rem; padding: 4px 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .8rem; margin-top: 8px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .i { width: 14px; height: 14px; }

/* Une */
.hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin-top: 22px; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-hero { position: relative; border-radius: var(--radius); overflow: hidden; background: #111; min-height: 220px; isolation: isolate; box-shadow: var(--shadow); }
.hero-main .card-hero { height: 100%; min-height: 470px; }
.ch-img { position: absolute; inset: 0; z-index: -1; }
.ch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-hero:hover .ch-img img { transform: scale(1.04); }
.card-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .9)); z-index: -1; pointer-events: none; }
.ch-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; }
.ch-body h2 { color: #fff; font-size: 1rem; font-weight: 800; margin-top: 9px; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hero-main .ch-body h2, .list-lead .ch-body h2 { -webkit-line-clamp: 5; }
.hero-main .ch-body { padding: 28px; }
.hero-main .ch-body h2, .list-lead .ch-body h2 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.15; }
.ch-excerpt { margin: 10px 0 0; color: rgba(255, 255, 255, .86); font-size: .98rem; max-width: 640px; }
.ch-body .meta { color: rgba(255, 255, 255, .78); }
.ch-body a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Mise en page avec colonne */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; margin-top: 30px; margin-bottom: 44px; align-items: start; }
.home-sec { margin-bottom: 36px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--line); margin-bottom: 18px; }
.sec-head h2 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; padding-bottom: 10px; margin-bottom: -2px; border-bottom: 3px solid var(--c, var(--red)); display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--red)); transform: rotate(45deg); }
.sec-more { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--c, var(--red)); padding-bottom: 8px; }
.sec-more:hover { gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.rows { display: flex; flex-direction: column; gap: 14px; }

/* Cartes */
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body .badge { align-self: flex-start; margin-bottom: 9px; }
.card h3 { font-size: 1rem; font-weight: 700; line-height: 1.32; }
.card h3 a:hover, .card-row h4 a:hover, .most-read a:hover { color: var(--red); }
.card-excerpt { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }
.card .meta { margin-top: auto; padding-top: 10px; }
.split .card h3 { font-size: 1.22rem; }
.card-row { display: grid; grid-template-columns: 120px 1fr; gap: 13px; align-items: start; background: var(--card); padding: 10px; border-radius: 12px; box-shadow: var(--shadow); }
.cr-img { border-radius: 9px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--soft); }
.cr-img img { width: 100%; height: 100%; object-fit: cover; }
.cr-cat { font-size: .68rem; font-weight: 800; color: var(--c, var(--red)); text-transform: uppercase; letter-spacing: .06em; }
.card-row h4 { font-size: .92rem; font-weight: 700; line-height: 1.32; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-row .meta { margin-top: 4px; }

/* Colonne latérale */
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 66px; }
.box { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.box-title { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.box-title .i { color: var(--red); }
.most-read ol { list-style: none; margin: 0; padding: 0; }
.most-read li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.most-read li:last-child { border: 0; padding-bottom: 0; }
.most-read .num { font-family: var(--head); font-weight: 900; font-size: 1.7rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); min-width: 28px; }
.most-read a { font-weight: 700; font-size: .92rem; line-height: 1.35; font-family: var(--head); }
.most-read .meta { margin-top: 4px; }
.timeline a { display: block; position: relative; padding: 0 0 14px 18px; border-left: 2px solid var(--line); margin-left: 4px; }
.timeline a::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 2px solid var(--red); }
.timeline a:last-child { padding-bottom: 0; }
.timeline time { display: block; font-size: .74rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.timeline span { font-size: .9rem; font-weight: 600; line-height: 1.35; }
.timeline a:hover span { color: var(--red); }
.follow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.follow-grid a { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; color: #fff; font-weight: 600; font-size: .85rem; transition: .18s; }
.follow-grid a:hover { filter: brightness(1.1); transform: translateY(-1px); }
.fb-facebook { background: #1877f2; } .fb-twitter { background: #111; } .fb-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .fb-youtube { background: #ff0000; } .fb-tiktok { background: #010101; } .fb-whatsapp { background: #25d366; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: .84rem; font-weight: 600; border: 1px solid transparent; }
.tag-cloud a:hover { border-color: var(--c); color: var(--c); }
.tag-cloud small { color: var(--muted); margin-left: 2px; }
.ad-slot { display: flex; justify-content: center; margin: 10px 0; overflow: hidden; }

/* En-tête de liste (rubriques, recherche, pages) */
.page-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 26px 0 24px; position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c, var(--red)); }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 720px; }
.page-head .count { display: inline-block; margin-top: 12px; background: var(--soft); padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--red); }
.crumbs .i { width: 12px; height: 12px; }
.list-lead { margin-bottom: 20px; }
.list-lead .card-hero { min-height: 400px; }
.search-big { display: flex; gap: 10px; margin-top: 16px; max-width: 640px; }
.search-big input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); outline: 0; }
.search-big input:focus { border-color: var(--red); background: var(--card); }

/* Pagination */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 32px 0 8px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; }
.pager a:hover { color: var(--red); }
.pager .current { background: var(--grad); color: #fff; }
.pager .dots { background: none; box-shadow: none; }

/* Article */
.article { background: var(--card); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow); }
.a-title { font-size: clamp(1.65rem, 3.3vw, 2.45rem); font-weight: 900; line-height: 1.16; margin: 14px 0 0; letter-spacing: -.02em; }
.a-lead { font-size: 1.16rem; line-height: 1.6; color: var(--text); font-weight: 500; margin: 16px 0 0; padding-left: 16px; border-left: 4px solid var(--red); }
.a-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.a-author { display: flex; align-items: center; gap: 12px; }
.a-author strong { display: block; font-size: .95rem; color: var(--ink); }
.a-author small { color: var(--muted); font-size: .82rem; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--head); font-weight: 800; flex: none; }
.a-stats { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .85rem; }
.a-stats span, .a-stats a { display: inline-flex; align-items: center; gap: 6px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0; }
.share-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; margin-right: 4px; color: var(--muted); }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; border: 0; cursor: pointer; transition: .18s; }
.share a:hover, .share button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.sh-facebook { background: #1877f2; } .sh-twitter { background: #111; } .sh-whatsapp { background: #25d366; } .sh-linkedin { background: #0a66c2; } .sh-telegram { background: #229ed9; } .sh-copy { background: #6b7280; }
.sh-copy.ok { background: #16a34a; }
.a-figure { margin: 8px 0 26px; }
.a-figure img { width: 100%; border-radius: 12px; }
.a-figure figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; font-style: italic; }
.prose { font-size: 1.1rem; line-height: 1.78; color: var(--text); overflow-wrap: anywhere; }
.prose > * { margin: 0 0 1.15em; }
.prose h2 { font-size: 1.45rem; font-weight: 800; margin-top: 1.6em; }
.prose h3 { font-size: 1.22rem; font-weight: 800; margin-top: 1.4em; }
.prose h4 { font-size: 1.08rem; font-weight: 700; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose img { border-radius: 10px; margin: 0 auto; height: auto; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 6px; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--soft); border-left: 5px solid var(--red); border-radius: 0 12px 12px 0; font-style: italic; font-size: 1.12rem; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--soft); }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.page-prose { background: var(--card); border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow); margin: 28px 0 48px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.pn { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; transition: .18s; }
.pn:hover { border-color: var(--red); }
.pn small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.pn span { display: block; font-family: var(--head); font-weight: 700; font-size: .95rem; margin-top: 5px; line-height: 1.35; }
.pn.next { text-align: right; } .pn.next small { justify-content: flex-end; }
.related { margin-top: 34px; }
.related .grid-3 { gap: 16px; }

/* Commentaires */
.comments { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.comments h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 16px; }
.pill { background: var(--red); color: #fff; font-size: .8rem; padding: 2px 10px; border-radius: 999px; }
.c-list { list-style: none; padding: 0; margin: 0 0 20px; }
.c-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-head { display: flex; gap: 10px; align-items: baseline; }
.c-head time { color: var(--muted); font-size: .8rem; }
.c-list p { margin: 4px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.c-form { background: var(--soft); padding: 20px; border-radius: 14px; }
.c-form h3 { font-size: 1.05rem; margin-bottom: 12px; }

/* Formulaires */
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.form input, .form textarea, .form select { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-weight: 400; outline: 0; transition: .15s; }
.form input:focus, .form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 16, 46, .1); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; margin: 30px auto 50px; }
.card-form { background: var(--card); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.info-card { display: flex; align-items: center; gap: 14px; background: var(--card); padding: 16px 18px; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; }
.info-card > .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(200, 16, 46, .1); color: var(--red); }
.info-card small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.info-card strong { color: var(--ink); overflow-wrap: anywhere; }
.contact-info .prose { font-size: 1rem; margin-bottom: 16px; }

/* Vide */
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty > .i { width: 48px; height: 48px; color: var(--red); opacity: .7; }
.empty h1, .empty h2 { margin: 14px 0 6px; }
.empty.big { padding: 70px 20px; }
.empty .search-big { margin: 20px auto; }

/* Newsletter + pied de page */
.newsletter-band { background: var(--grad); color: #fff; padding: 34px 0; }
.nl-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nl-in h2 { color: #fff; font-size: 1.45rem; display: flex; align-items: center; gap: 10px; }
.nl-in p { margin: 6px 0 0; opacity: .9; }
.nl-form { display: flex; gap: 8px; background: rgba(255, 255, 255, .16); padding: 6px; border-radius: 999px; width: 460px; max-width: 100%; }
.nl-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 8px 14px; outline: 0; }
.nl-form input::placeholder { color: rgba(255, 255, 255, .8); }
.site-footer { background: #0e1014; color: #aeb4be; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr .9fr 1.1fr; gap: 38px; padding-bottom: 42px; }
.f-logo img { height: 84px; width: auto; margin-bottom: 14px; }
.f-about p { margin: 0 0 20px; line-height: 1.7; font-size: .93rem; max-width: 420px; }
.f-follow span { display: block; color: #fff; font-family: var(--head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; padding-bottom: 10px; position: relative; }
.site-footer h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--red-2); border-radius: 3px; }
.f-links ul { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 9px; }
.f-links a { font-size: .93rem; transition: .15s; }
.f-links a:hover { color: #fff; padding-left: 4px; }
.f-cats { columns: 2; column-gap: 14px; }
.f-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.f-item > .i { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: var(--red-2); }
.f-item small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #7c838f; }
.f-item span { color: #e5e7eb; font-weight: 600; overflow-wrap: anywhere; }
a.f-item:hover span { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .85rem; }
.fb-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.fb-in a:hover { color: #fff; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 1100px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-ad { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: repeat(4, 1fr); }
  .hero-side .card-hero { min-height: 250px; }
  .nav-in > a, .nav-more > button { padding: 0 11px; font-size: .78rem; }
  .header-in { justify-content: space-between; }
}
@media (max-width: 900px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero { grid-template-columns: 1fr; }
  .hero-main .card-hero { min-height: 380px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
  .topbar .socials-sm { margin-left: auto; }
}
@media (max-width: 720px) {
  .menu-toggle, .search-toggle { display: inline-grid; }
  .header-in { min-height: 70px; gap: 6px; }
  .logo { margin-right: auto; }
  .logo img { height: 52px; }
  .site-header .search-form { display: none; position: absolute; left: 16px; right: 16px; top: 100%; width: auto; z-index: 5; box-shadow: var(--shadow-lg); background: var(--card); }
  .site-header.search-open .search-form { display: flex; }
  .header-in { position: relative; }
  .nav-in > a, .nav-more > button { height: 46px; padding: 0 12px; font-size: .78rem; }
  .split { grid-template-columns: 1fr; }
  .article { padding: 20px 16px; border-radius: 0; margin: 0 -16px; box-shadow: none; }
  .article-wrap { margin-top: 0; }
  .prose { font-size: 1.05rem; }
  .page-prose { padding: 22px 18px; }
  .prev-next { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .row-2 { grid-template-columns: 1fr; }
  .nl-form { width: 100%; }
  .hero { margin-top: 14px; gap: 12px; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .hero-side { gap: 12px; }
  .hero-main .card-hero { min-height: 340px; }
  .hero-main .ch-body { padding: 18px; }
  .ch-excerpt { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-side .card-hero { min-height: 200px; }
  .card-row { grid-template-columns: 104px 1fr; }
  .topbar .today { font-size: .74rem; }
  .list-lead .card-hero { min-height: 300px; }
  .search-big { flex-direction: column; }
}
@media print {
  .topbar, .site-header, .sidebar, .share, .comments, .related, .prev-next, .newsletter-band, .site-footer, .to-top { display: none !important; }
  .with-sidebar { display: block; }
  .article { box-shadow: none; padding: 0; }
}

/* Logo : version claire / sombre */
.logo .logo-d, .drawer-head .logo-d { display: none; }
:root[data-theme="dark"] .logo .logo-l { display: none; }
:root[data-theme="dark"] .logo .logo-d { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .logo-l { display: none; } :root:not([data-theme="light"]) .logo .logo-d { display: block; } }
@media (max-width: 480px) { .topbar .socials-sm { display: none; } }

/* ===== Version 2 : en-tête moderne, logo centré, notifications, partage ===== */
.topbar, .ticker, .newsletter-band { display: none !important; }
.site-header { background: var(--card); box-shadow: 0 1px 0 var(--line); }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 86px; }
.h-left, .h-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.h-right { justify-content: flex-end; }
.logo { justify-self: center; }
.logo img { height: 64px; width: auto; }
.menu-toggle { display: inline-grid; }
.search-toggle { display: none; }
.h-left .search-form { width: 290px; }
.bell { position: relative; }
.bell[hidden] { display: none; }
.bell-dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--red-2); border: 2px solid var(--card); }
.bell.on { color: var(--red); }
.bell.on .bell-dot { background: #16a34a; }
/* Barre des rubriques (ordinateur) : claire, en pastilles */
.main-nav { background: var(--card); box-shadow: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.main-nav.stuck { box-shadow: 0 8px 24px rgba(16, 24, 40, .08); }
.nav-in { justify-content: center; gap: 4px; padding: 8px 16px; }
.nav-in > a { height: 38px; padding: 0 15px; border-radius: 999px; color: var(--ink); font-size: .8rem; letter-spacing: .03em; }
.nav-in > a .i { width: 16px; height: 16px; }
.nav-in > a::after { display: none; }
.nav-in > a:hover { background: color-mix(in srgb, var(--c, var(--red)) 12%, transparent); color: var(--c, var(--red)); }
.nav-in > a.active { background: var(--grad); color: #fff; box-shadow: 0 6px 14px rgba(200, 16, 46, .25); }
/* Logo du menu mobile en mode sombre */
.drawer-head .logo img { height: 48px; }
:root[data-theme="dark"] .drawer-head .logo-l { display: none; }
:root[data-theme="dark"] .drawer-head .logo-d { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .drawer-head .logo-l { display: none; } :root:not([data-theme="light"]) .drawer-head .logo-d { display: block; } }
/* Fenêtre de notification */
.push-pop { position: fixed; z-index: 80; left: 50%; top: 96px; transform: translateX(-50%); width: min(440px, calc(100% - 24px)); background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; animation: pop .25s ease-out; }
.push-pop[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -10px); } }
.pp-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.pp-icon .i { width: 22px; height: 22px; }
.pp-text strong { display: block; color: var(--ink); font-family: var(--head); }
.pp-text span { color: var(--muted); font-size: .9rem; }
.pp-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #111827; color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 95; font-size: .92rem; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); }
/* Titres de section sur une seule ligne */
.sec-head h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sec-more { white-space: nowrap; flex: none; }
/* Pied de page : logo centré */
.f-top { display: flex; justify-content: center; padding-bottom: 28px; margin-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.f-top .f-logo img { margin: 0; }
.footer-grid { grid-template-columns: 1.4fr .8fr 1fr 1.1fr; }
/* Partage (boutons avec libellé) */
.share { display: block; margin: 30px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.share-title { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #1e1b6b; margin-bottom: 12px; }
:root[data-theme="dark"] .share-title { color: #c7c9ff; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.share .sh { display: inline-flex; align-items: center; gap: 9px; width: auto; height: 46px; padding: 0 18px; border-radius: 12px; color: #fff; font-weight: 700; font-size: .95rem; border: 0; cursor: pointer; transition: .18s; }
.share .sh .i { width: 20px; height: 20px; }
.share .sh:hover { transform: translateY(-2px); filter: brightness(1.08); }
.share .sh-whatsapp { background: #22b35b; } .share .sh-facebook { background: #1877f2; } .share .sh-twitter { background: #111; } .share .sh-linkedin { background: #0a66c2; } .share .sh-telegram { background: #229ed9; } .share .sh-copy { background: #1e1b6b; }
.share .sh-copy.ok { background: #16a34a; }
.ad-slot { margin: 18px 0; }
.sidebar .ad-slot { margin: 0; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .h-left .search-form { display: none; } .search-toggle { display: inline-grid; } }
@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-in { min-height: 66px; gap: 4px; }
  .logo { margin: 0; }
  .logo img { height: 50px; }
  .h-right { gap: 0; }
  .h-right .icon-btn { width: 36px; height: 36px; }
  .push-pop { top: 76px; }
  .site-header { position: sticky; top: 0; z-index: 40; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-about { text-align: center; }
  .f-about p { margin-left: auto; margin-right: auto; }
  .f-follow .socials { justify-content: center; }
  .share .sh { height: 42px; padding: 0 14px; font-size: .9rem; }
  .sec-head h2 { font-size: 1.05rem; }
}
.header-in { position: relative; }
@media (max-width: 900px) { .site-header.search-open .h-left .search-form { display: flex; position: absolute; left: 16px; right: 16px; top: calc(100% + 6px); width: auto; z-index: 5; background: var(--card); box-shadow: var(--shadow-lg); } }
.nav-in { justify-content: flex-start; }
.nav-in > a:first-child { margin-left: auto; }
.nav-in > a:last-child { margin-right: auto; }
@media (max-width: 1240px) { .nav-in > a { padding: 0 11px; font-size: .74rem; } .nav-in > a span { display: none; } }

/* ===== Version 3 : date à gauche, recherche à droite, logo horizontal mobile, panneau notifications ===== */
.h-date { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.h-date .i { color: var(--red); }
.h-right .search-form { width: 260px; }
.logo-row { display: none; }
.logo-stack { display: block; }
.logo-hd { display: none; }
@media (min-width: 721px) { .menu-toggle { display: none !important; } }
/* Cloche + panneau */
.notif-wrap { position: relative; }
.bell { position: relative; }
.bell-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--card); }
.bell.on { color: var(--red); }
.notif-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 360px; max-width: calc(100vw - 24px); background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden; animation: pop2 .18s ease-out; }
.notif-panel[hidden] { display: none; }
@keyframes pop2 { from { opacity: 0; transform: translateY(-6px); } }
.np-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); }
.np-head strong { font-family: var(--head); color: var(--ink); }
.np-head .icon-btn { width: 32px; height: 32px; }
.np-list { max-height: 360px; overflow-y: auto; }
.np-list a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.np-list a:hover { background: var(--soft); }
.np-list img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; }
.np-list b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; line-height: 1.3; color: var(--ink); }
.np-list small { color: var(--red); font-size: .75rem; font-weight: 600; }
.np-empty { margin: 0; padding: 22px 16px; color: var(--muted); text-align: center; font-size: .92rem; }
.np-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--soft); font-size: .85rem; font-weight: 600; }
.np-foot[hidden] { display: none; }
/* Partager aux couleurs du site */
.share-title { color: var(--red) !important; }
.share .sh-copy { background: var(--grad) !important; }
.share .sh { justify-content: center; }
@media (max-width: 900px) {
  .h-right .search-form { display: none; }
  .site-header.search-open .h-right .search-form { display: flex; position: absolute; left: 16px; right: 16px; top: calc(100% + 6px); width: auto; z-index: 5; background: var(--card); box-shadow: var(--shadow-lg); }
}
@media (max-width: 720px) {
  .h-date { display: none; }
  .header-in { grid-template-columns: 1fr auto 1fr; }
  .h-right .icon-btn { width: 32px; height: 32px; }
  .logo-stack { display: none; }
  .logo-row { display: block; }
  .logo-row img { height: 28px; width: auto; }
  :root[data-theme="dark"] .logo-hl { display: none; }
  :root[data-theme="dark"] .logo-hd { display: block; }
  .notif-wrap { position: static; }
  .notif-panel { right: 12px; left: 12px; width: auto; max-width: none; top: calc(100% + 6px); }
  .share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .share .sh { height: 52px; border-radius: 14px; font-size: 1rem; }
}
@media (max-width: 720px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-hl { display: none; } :root:not([data-theme="light"]) .logo-hd { display: block; } }
.drawer-theme { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; }
@media (max-width: 720px) { .h-right .theme-toggle { display: none; } .logo-row img { height: 30px; } }
