
/* Merci Pollock Media — feuille de style du site public.
   Couleurs et polices de la charte : noir, marron #592512, blanc ; Poppins (titres), Quicksand (texte). */
:root {
  --bg: #ffffff;
  --surface: #f7f3f1;
  --fg: #111010;
  --muted: #5e5551;
  --line: #e6dedb;
  --accent: #592512;
  --accent-soft: #c9a698;
  --on-accent: #ffffff;
  --logo-filter: none;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Quicksand", "Nunito", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121010; --surface: #1c1816; --fg: #f3eeeb; --muted: #b3a7a1; --line: #352d2a;
    --accent: #c98a6c; --accent-soft: #6b3a28; --on-accent: #121010; --logo-filter: invert(1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121010; --surface: #1c1816; --fg: #f3eeeb; --muted: #b3a7a1; --line: #352d2a;
  --accent: #c98a6c; --accent-soft: #6b3a28; --on-accent: #121010; --logo-filter: invert(1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }


header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: auto; filter: var(--logo-filter); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 16px; }
nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
nav a:hover { color: var(--accent); }

.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-block: 72px 64px; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 18px 0 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { font-family: var(--display); font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--fg); }
.btn.primary { background: var(--fg); color: var(--bg); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.episode { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 20px 50px -30px rgba(89,37,18,.45); }
.episode .show { font-size: 13px; color: var(--muted); font-weight: 600; }
.episode h3 { font-size: 22px; }
.wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.wave i { flex: 1; background: var(--accent-soft); border-radius: 2px; }
.wave i.on { background: var(--accent); }
.player { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 16px; cursor: pointer; flex: none; }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--surface); text-decoration: none; }
.chip:hover { color: var(--accent); }
.tag-ex { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); border-radius: 4px; padding: 1px 6px; }

section.block { padding-block: 64px; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 36em; }
.more { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--accent); text-decoration: none; }

.rubriques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rub { display: grid; gap: 14px; align-content: start; }
.rub-title { font-family: var(--display); font-weight: 700; font-size: 18px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--fg); padding-bottom: 8px; }
.rub-title small { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); }
.item { display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.item:hover h3 { color: var(--accent); }
.item .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.item h3 { font-size: 17px; font-weight: 600; }
.item p { margin: 0; font-size: 15px; color: var(--muted); }

.article { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.article .excerpt { min-width: 0; }
.article .excerpt h3 { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 14px; }
.article .excerpt p { max-width: 62ch; margin: 0 0 14px; }
.article .excerpt sup a { color: var(--accent); font-weight: 600; text-decoration: none; }
.sources { background: var(--surface); border-radius: 14px; padding: 22px; align-self: start; }
.sources h4 { font-family: var(--display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; color: var(--accent); }
.sources ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; }
.sources li span { color: var(--muted); }

.about { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; }
.about .mark { width: 140px; filter: var(--logo-filter); }
.about p { max-width: 62ch; margin: 0 0 12px; }

footer { background: var(--fg); color: var(--bg); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 36px; font-size: 14px; }
footer a { text-decoration: none; font-weight: 600; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer .credit { flex-basis: 100%; border-top: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); padding-top: 18px; font-size: 13px; opacity: .85; margin: 0; }
footer .credit strong { font-family: var(--display); }


.hero canvas, .page-head canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-head { position: relative; overflow: hidden; }
.page-head .wrap { position: relative; padding-block: 64px 48px; }
.page-head h1 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; margin-top: 12px; }
.page-head .lead { font-size: 19px; color: var(--muted); max-width: 36em; margin: 16px 0 0; }
nav a[aria-current="page"] { color: var(--accent); }
a.rub-title { text-decoration: none; }
a.rub-title:hover small { color: var(--accent); }
.list { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 70px minmax(0,1fr) auto; gap: 20px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.row:first-child { border-top: 2px solid var(--fg); }
.row h3 { font-size: 20px; font-weight: 600; }
.row p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.row:hover h3 { color: var(--accent); }
.row .num { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; }
.row .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.card { display: grid; gap: 8px; text-decoration: none; align-content: start; }
.card .thumb { aspect-ratio: 16/10; max-width: 100%; border-radius: 14px; background: var(--surface); display: grid; place-items: center; font-size: 28px; color: var(--accent); }
.card h3 { font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.card:hover h3 { color: var(--accent); }
.formats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.formats > div { border-top: 2px solid var(--fg); padding-top: 12px; }
.formats h3 { font-size: 17px; font-weight: 700; }
.formats p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.notify { margin-top: 44px; background: var(--surface); border-radius: 14px; padding: 22px; display: grid; gap: 10px; max-width: 560px; }
.notify label { font-family: var(--display); font-weight: 600; }
.notify-row { display: flex; gap: 10px; flex-wrap: wrap; }
.notify input { flex: 1 1 200px; min-width: 0; font: inherit; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); }
.notify-msg { margin: 0; font-size: 14px; color: var(--accent); }
@media (max-width: 860px) { .formats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 860px) { .cards { grid-template-columns: minmax(0,1fr); } .row { grid-template-columns: minmax(0,1fr); gap: 6px; } }

@media (max-width: 860px) {
  .hero .wrap, .article, .rubriques { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 48px; gap: 32px; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about .mark { width: 96px; }
}

/* ---------- Ajouts du site ---------- */
body { margin: 0; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 20; }
.empty { color: var(--muted); padding-block: 24px; border-top: 2px solid var(--fg); }
.row .cover, .card .cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; background: var(--surface); display: block; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.card .thumb { overflow: hidden; }
.episode .cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.embed { width: 100%; border: 0; border-radius: 12px; display: block; }
.embed.audio { height: 152px; }
.embed.video { aspect-ratio: 16/9; height: auto; }

.post { padding-block: 48px 64px; }
.post-head { max-width: 760px; }
.post-head h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; margin: 10px 0 14px; }
.post-head .lead { font-size: 19px; color: var(--muted); margin: 0; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 16px; }
.post-cover { margin-top: 28px; border-radius: 18px; width: 100%; max-height: 520px; object-fit: cover; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; margin-top: 36px; align-items: start; }
.post-grid.solo { grid-template-columns: minmax(0, 760px); }
.prose { min-width: 0; font-size: 18px; line-height: 1.75; }
.prose > * { max-width: 68ch; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-family: var(--display); font-size: 20px; font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose img { border-radius: 12px; margin: 10px 0; }
.prose sup a { text-decoration: none; font-weight: 700; font-size: 13px; }
.sources { position: sticky; top: 24px; }
.sources li { overflow-wrap: anywhere; }
.sources a { color: var(--fg); }
.back { display: inline-block; margin-bottom: 8px; }
.event-facts { display: grid; gap: 10px; background: var(--surface); border-radius: 14px; padding: 20px; }
.event-facts div { display: grid; gap: 2px; }
.event-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.event-facts dd { margin: 0; font-weight: 600; }
.notify-msg.err { color: #b3261e; }
.past h3 { color: var(--muted); }
.share { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sources { position: static; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- Images ---------- */
.card .thumb img.ph { width: 34%; height: auto; object-fit: contain; opacity: .18; filter: var(--logo-filter); border-radius: 0; }
.cards .card .thumb { aspect-ratio: 16/10; }
.episode .ep-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; display: block; }
.post-cover.square { max-width: 420px; aspect-ratio: 1; }
.prose figure { margin: 28px 0; max-width: 100%; }
.prose figure img { width: 100%; border-radius: 12px; margin: 0; display: block; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose .gallery { display: grid; gap: 12px; margin: 28px 0; max-width: 100%; }
.prose .gallery.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .gallery.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .gallery figure { margin: 0; }
.prose .gallery img { aspect-ratio: 1; object-fit: cover; }
@media (max-width: 560px) { .prose .gallery.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
footer .credit p { margin: 0; }
footer .credit a { text-decoration: underline; }
.about-text { font-size: 17px; }

/* ---------- Plus de marron (charte) ---------- */
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn.ghost { border-color: var(--accent); color: var(--accent); }
.rub-title, .row:first-child, .formats > div, .empty { border-color: var(--accent); }
.episode { border-top: 4px solid var(--accent); }
.episode .show { color: var(--accent); }
.chip { background: var(--accent-soft); color: var(--accent); }
:root[data-theme="dark"] .chip { color: var(--fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip { color: var(--fg); } }
.chip:hover { background: var(--accent); color: var(--on-accent); }
footer { background: var(--accent); color: var(--on-accent); }
:root[data-theme="dark"] footer { background: var(--accent-soft); color: var(--fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) footer { background: var(--accent-soft); color: var(--fg); } }

/* ---------- Bouton mode clair / sombre ---------- */
.theme-toggle { background: none; border: 1.5px solid var(--line); border-radius: 999px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--fg); cursor: pointer; padding: 0; flex: none; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
header.top nav { margin-left: auto; }
@media (max-width: 860px) {
  header.top .theme-toggle { order: 2; margin-left: auto; }
  header.top nav { order: 3; flex-basis: 100%; margin-left: 0; }
}
