/* ==================================================================
   Clans et Tribus — feuille de style unique
   Direction : nuit de forêt, braises et papier d'écorce.
   Brut (traits épais, ombres franches), lisible, mobile d'abord.
   ================================================================== */

@font-face { font-family: "Buzz"; src: url("/assets/fonts/buzz.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Caviar"; src: url("/assets/fonts/caviar.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Literata"; src: url("/assets/fonts/literata.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/assets/fonts/literata-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  /* Couleurs — thème sombre par défaut */
  --bg: #101b17;          /* forêt de nuit */
  --bg-2: #17251f;        /* sous-bois */
  --bg-3: #213229;        /* mousse */
  --ink: #ece5d6;         /* os / écorce claire */
  --ink-2: #b5bcab;       /* lichen */
  --line: rgb(236 229 214 / .16);
  --blood: #d42a1f;       /* le rouge du portrait */
  --blood-ink: #ff6a52;   /* rouge lisible sur fond sombre */
  --ochre: #e0a63c;       /* lumière dorée de la bannière */
  --ochre-ink: #f0bd5e;
  --on-blood: #fff7ee;
  --shadow: #000;
  --map-filter: invert(.92) hue-rotate(180deg) saturate(.35) brightness(.9);

  --f-display: "Buzz", "Impact", "Haettenschweiler", sans-serif;
  --f-sig: "Caviar", "Trebuchet MS", sans-serif;
  --f-text: "Literata", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --stroke: 3px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #e5e7dd;
  --bg-2: #f2f3ec;
  --bg-3: #d5d9ca;
  --ink: #14201b;
  --ink-2: #4b5850;
  --line: rgb(20 32 27 / .18);
  --blood: #b41d14;
  --blood-ink: #a8190f;
  --ochre: #e0a63c;
  --ochre-ink: #7d5200;
  --shadow: #14201b;
  --map-filter: none;
  color-scheme: light;
}

/* ------------------------------------------------------------------ */
/*  Base                                                               */
/* ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
[data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--blood-ink); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
::selection { background: var(--blood); color: var(--on-blood); }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ochre); color: #14201b; padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.narrow { max-width: 720px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ */
/*  Typographie                                                        */
/* ------------------------------------------------------------------ */

.display, .h1, .h2, .h3 { margin: 0 0 .5em; font-weight: 400; }
.display {
  font-family: var(--f-display); letter-spacing: .01em; line-height: .92;
  font-size: clamp(2.6rem, 9vw, 6.2rem); text-wrap: balance;
}
.display--l { font-size: clamp(2.3rem, 7vw, 4.8rem); }
.display--m { font-size: clamp(2.1rem, 6vw, 4rem); }
.h1 { font: 700 clamp(1.8rem, 4.5vw, 2.8rem)/1.15 var(--f-text); letter-spacing: -.01em; text-wrap: balance; }
.h2 {
  font-family: var(--f-display); font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1; letter-spacing: .01em;
  display: inline-block; padding-bottom: .28em; text-wrap: balance;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-6 92-7 140-5 52 2 104 1 156-4-30 7-68 9-112 9C120 9 60 12 2 9z' fill='%23d42a1f'/%3E%3C/svg%3E") left bottom / min(100%, 220px) 12px no-repeat;
}
.h3 { font: 700 1.2rem/1.3 var(--f-text); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 62ch; }
.meta { color: var(--ink-2); font-size: .92rem; }
.link { color: var(--ochre-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.link:hover { color: var(--blood-ink); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ochre-ink); text-decoration: underline; cursor: pointer; }
.tag {
  display: inline-block; font: 700 .78rem/1 var(--f-text); padding: .38em .6em; border: 2px solid currentColor;
  color: var(--ochre-ink); vertical-align: middle; letter-spacing: .01em;
}
.tag--new { background: var(--blood); border-color: var(--blood); color: var(--on-blood); }
.tag--quiet { color: var(--ink-2); }

.prose { max-width: 70ch; }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.75; }
.prose .h2 { margin-top: 1.6em; }

/* ------------------------------------------------------------------ */
/*  Boutons et puces                                                   */
/* ------------------------------------------------------------------ */

.btn {
  --sh: var(--shadow);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.25em; border: var(--stroke) solid var(--ink);
  font: 400 1.15rem/1 var(--f-display); letter-spacing: .03em; text-decoration: none; cursor: pointer;
  background: var(--bg); color: var(--ink);
  box-shadow: 5px 5px 0 var(--sh);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--sh); text-decoration: none; }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--sh); }
.btn--fire { background: var(--blood); color: var(--on-blood); border-color: var(--blood); --sh: var(--ochre); }
.btn--yt { background: #e01d1d; color: #fff; border-color: #e01d1d; --sh: var(--shadow); }
.btn--ghost { background: transparent; }
.btn--block { width: 100%; }
.btn .i { width: 1.25em; height: 1.25em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--line); background: var(--bg-2); color: var(--ink); cursor: pointer;
  padding: .45em .85em; font: 600 .95rem/1.2 var(--f-text); border-radius: 999px;
  transition: border-color .15s, background-color .15s, transform .15s var(--ease);
}
.chip span { color: var(--ink-2); font-weight: 400; margin-left: .2em; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: inherit; }
.chip--link { text-decoration: none; display: inline-block; }

/* ------------------------------------------------------------------ */
/*  En-tête                                                            */
/* ------------------------------------------------------------------ */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: var(--stroke) solid var(--ink);
}
.masthead__inner { width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.brand__name { font: 400 1.45rem/1 var(--f-display); letter-spacing: .02em; white-space: nowrap; }
.masthead__tools { display: flex; gap: 4px; }
.tool {
  display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid transparent; background: none;
  cursor: pointer; border-radius: var(--r); transition: border-color .15s, transform .15s var(--ease);
}
.tool:hover { border-color: var(--ink); }
.tool:active { transform: scale(.94); }
.tool .i { width: 22px; height: 22px; }
.tool__light, :root[data-theme="light"] .tool__dark { display: none; }
:root[data-theme="light"] .tool__light { display: block; }
.tool__close { display: none; }
.tool--menu[aria-expanded="true"] .tool__open { display: none; }
.tool--menu[aria-expanded="true"] .tool__close { display: block; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; }
.nav-open .nav {
  display: flex; flex-direction: column; gap: 20px; position: fixed; inset: 68px 0 0 0; z-index: 49;
  padding: 28px var(--gut) 40px; background: var(--bg); overflow-y: auto;
  animation: drop .25s var(--ease);
}
.nav-open .nav li a { display: block; padding: 10px 0; font: 400 2.1rem/1 var(--f-display); border-bottom: 2px solid var(--line); }
.nav-open .nav li a[aria-current="page"] { color: var(--blood-ink); }
.nav-open { overflow: hidden; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 980px) {
  .tool--menu { display: none; }
  .nav { display: flex; align-items: center; gap: 22px; }
  .nav ul { display: flex; gap: 4px; }
  .nav li a {
    position: relative; display: block; padding: 8px 10px; font: 600 1rem/1 var(--f-text);
  }
  .nav li a::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; background: var(--blood);
    transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
  }
  .nav li a:hover::after, .nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .nav__yt { min-height: 40px; padding: .5em .9em; font-size: 1rem; box-shadow: 3px 3px 0 var(--shadow); }
  .nav-open .nav { all: unset; }
}

/* Fil d'Ariane */
.crumbs { margin-top: 18px; font-size: .9rem; color: var(--ink-2); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ */
/*  Mise en page                                                       */
/* ------------------------------------------------------------------ */

.section { margin-block: clamp(56px, 9vw, 110px); }
.section--tight { margin-block: clamp(24px, 4vw, 44px); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.section__head .h2 { margin: 0; }
.section__sub { color: var(--ink-2); max-width: 62ch; margin-top: -4px; }
.page-head { padding-top: clamp(28px, 6vw, 64px); }
.page-head .lede { margin-bottom: 1.2em; }
.empty { color: var(--ink-2); padding: 24px; border: 2px dashed var(--line); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--dossiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 600px) { .grid--dossiers { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; } }
.grid + .center { margin-top: clamp(28px, 4vw, 44px); }
.grid--videos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid--shop { grid-template-columns: repeat(2, 1fr); }
.grid--actus { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--actus { grid-template-columns: 1fr 1fr; }
  .grid--shop { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--actus { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------------------------ */
/*  Héros (accueil)                                                    */
/* ------------------------------------------------------------------ */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-bottom: var(--stroke) solid var(--ink);
  background:
    linear-gradient(180deg, rgb(16 27 23 / .25), var(--bg) 92%),
    url("/img/brand/foret.webp") center / cover no-repeat,
    #101b17;
}
:root[data-theme="light"] .hero { background: linear-gradient(180deg, rgb(229 231 221 / .55), var(--bg) 92%), url("/img/brand/foret.webp") center / cover no-repeat; }
.hero .sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.hero__inner { display: grid; gap: 32px; padding-block: clamp(36px, 7vw, 90px) clamp(40px, 6vw, 80px); align-items: center; }
.hero__sig { font: 400 clamp(1.3rem, 3vw, 1.9rem)/1 var(--f-sig); margin: 0 0 .5em; letter-spacing: .02em; }
.hero__title { font-size: clamp(2.7rem, 8.4vw, 5.6rem); margin-bottom: .35em; text-shadow: 0 2px 30px rgb(0 0 0 / .45); }
:root[data-theme="light"] .hero__title { text-shadow: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 8px; }
.hero__video { margin: 0; }
.hero__video figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; }
.hero__vtitle { flex-basis: 100%; font: 700 1.2rem/1.3 var(--f-text); order: -1; }
.hero__video time { color: var(--ink-2); font-size: .92rem; }
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: 5fr 6fr; gap: 56px; }
}

/* Entrée orchestrée : une seule séquence au chargement */
@media (prefers-reduced-motion: no-preference) {
  .hero__sig, .hero__title, .hero .lede, .hero__cta, .hero__video { animation: rise .8s var(--ease) both; }
  .hero__title { animation-delay: .08s; }
  .hero .lede { animation-delay: .18s; }
  .hero__cta { animation-delay: .26s; }
  .hero__video { animation-delay: .32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ------------------------------------------------------------------ */
/*  Lecteur vidéo (façade)                                             */
/* ------------------------------------------------------------------ */

.player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000;
  border: var(--stroke) solid var(--ink); box-shadow: 8px 8px 0 var(--blood);
  cursor: pointer;
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.player:hover img { transform: scale(1.03); filter: brightness(.85); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__play {
  position: absolute; left: clamp(10px, 2vw, 18px); bottom: clamp(10px, 2vw, 18px);
  width: clamp(52px, 8vw, 76px); aspect-ratio: 1; display: grid; place-items: center;
  background: var(--blood); border: var(--stroke) solid #fff; border-radius: 50%; cursor: pointer;
  box-shadow: 0 0 0 0 rgb(212 42 31 / .55); transition: transform .2s var(--ease), box-shadow .3s;
}
.player__play svg { width: 46%; fill: #fff; translate: 6% 0; }
.player:hover .player__play { transform: scale(1.08); box-shadow: 0 0 0 14px rgb(212 42 31 / .2); }
.player__fallback { position: absolute; inset: auto 12px 12px auto; background: #fff; color: #000; padding: 6px 10px; }
.player.is-playing { cursor: default; }

/* ------------------------------------------------------------------ */
/*  Cartes                                                             */
/* ------------------------------------------------------------------ */

.dcard__link { display: block; text-decoration: none; }
.dcard__media { position: relative; aspect-ratio: 16 / 9; transition: transform .25s var(--ease); }
.dcard__front {
  position: absolute; inset: 0; z-index: 2; overflow: hidden; border: var(--stroke) solid var(--ink); background: var(--bg-3);
  transition: box-shadow .25s var(--ease);
}
.dcard__front img, .dcard__layer { width: 100%; height: 100%; object-fit: cover; }
.dcard__front img { transition: transform .5s var(--ease); }
.dcard__link:hover .dcard__front img { transform: scale(1.05); }
.dcard__title { font: 400 clamp(1.15rem, 2.6vw, 1.5rem)/1 var(--f-display); margin: 12px 0 4px; letter-spacing: .01em; }
.dcard__zone { margin: 0; color: var(--ink-2); font-size: .93rem; }
.dcard__link:hover .dcard__media, .dcard__link:focus-visible .dcard__media { transform: translate(-4px, -4px); }
.dcard__link:hover .dcard__front, .dcard__link:focus-visible .dcard__front { box-shadow: 8px 8px 0 var(--blood); }
.dcard__link:hover .dcard__title { color: var(--blood-ink); }

.vcard { display: block; text-decoration: none; }
.vcard .player { box-shadow: 5px 5px 0 var(--shadow); }
.vcard .player:hover { box-shadow: 8px 8px 0 var(--blood); }
.vcard__title { font: 700 1.1rem/1.35 var(--f-text); margin: 14px 0 4px; }
.vcard--locked { position: relative; }
.vcard--locked img { aspect-ratio: 16/9; object-fit: cover; border: var(--stroke) solid var(--ink); filter: saturate(.6); }
.vcard__lock { position: absolute; top: 10px; left: 10px; background: var(--ochre); color: #14201b; font-weight: 700; padding: 4px 8px; font-size: .85rem; }

.acard { border-top: var(--stroke) solid var(--ink); padding-top: 14px; }
.acard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); font-size: .88rem; margin-bottom: 10px; }
.acard__title { font: 700 1.12rem/1.35 var(--f-text); margin: 0 0 8px; }
.acard__title a { text-decoration: none; }
.acard__title a:hover { text-decoration: underline; text-decoration-color: var(--blood-ink); }
.acard__src { font-size: .88rem; color: var(--ink-2); margin: 0; }

.pcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.pcard img, .pcard__ph {
  aspect-ratio: 1; width: 100%; object-fit: cover; border: var(--stroke) solid var(--ink); background: var(--bg-2);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pcard__ph { display: flex; align-items: center; justify-content: center; padding: 14px; text-align: center; font: 400 clamp(1.3rem, 3vw, 1.9rem)/1 var(--f-display); color: var(--ochre-ink); background: var(--bg-3); }
.pcard:hover img, .pcard:hover .pcard__ph { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--blood); }
.pcard__name { font-weight: 700; line-height: 1.3; margin-top: 8px; }
.pcard__price { color: var(--ink-2); font-size: .95rem; }

/* ------------------------------------------------------------------ */
/*  Bandeaux                                                           */
/* ------------------------------------------------------------------ */

.themes-band { background: var(--ink); color: var(--bg); padding-block: clamp(48px, 8vw, 96px); }
.themes-band .h2 { color: var(--bg); }
.themes-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: var(--stroke) solid currentColor; }
.themes-list li { border-bottom: var(--stroke) solid currentColor; }
.themes-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 4px;
  text-decoration: none; transition: padding .25s var(--ease), color .2s;
}
.themes-list__name { font: 400 clamp(1.8rem, 6vw, 3.6rem)/1 var(--f-display); letter-spacing: .01em; }
.themes-list__n { font-size: .95rem; opacity: .75; white-space: nowrap; }
.themes-list a:hover { padding-left: 18px; color: var(--blood); }
:root:not([data-theme="light"]) .themes-list a:hover { color: var(--blood); }
.themes-list--compact .themes-list__name { font-size: clamp(1.4rem, 3.6vw, 2.2rem); }
.themes-list--compact { color: var(--ink); }

.cercle-band, .cercle-hero {
  position: relative; isolation: isolate; color: #f6efe2; border-block: var(--stroke) solid var(--ink);
  background: linear-gradient(90deg, rgb(10 16 13 / .92) 0%, rgb(10 16 13 / .75) 45%, rgb(10 16 13 / .2)), url("/img/brand/plaines-1600.webp") center 30% / cover no-repeat, #101b17;
}
.cercle-band__inner, .cercle-hero .wrap { padding-block: clamp(56px, 10vw, 120px); }
.cercle-band .lede, .cercle-hero .lede { color: #f6efe2; max-width: 46ch; }

.about-strip { display: grid; gap: 24px; align-items: start; }
.about-strip__face, .about__face { border-radius: 50%; border: var(--stroke) solid var(--ink); background: #fff; }
@media (min-width: 720px) { .about-strip { grid-template-columns: 160px 1fr; gap: 40px; } }
.about { display: grid; gap: 24px; align-items: center; }
.about__face { width: min(220px, 60vw); }
@media (min-width: 720px) { .about { grid-template-columns: 240px 1fr; } .about__face { width: 240px; } }

/* ------------------------------------------------------------------ */
/*  Dossiers : filtres, régions, atlas                                 */
/* ------------------------------------------------------------------ */

.filters { display: grid; gap: 14px; }
.filters__search { display: flex; align-items: center; gap: 10px; border: var(--stroke) solid var(--ink); padding: 0 14px; background: var(--bg-2); max-width: 560px; }
.filters__search input { flex: 1; min-height: 52px; border: 0; background: none; color: var(--ink); font: inherit; outline: none; }
.filters__count { color: var(--ink-2); margin: 0; font-size: .92rem; }
.region__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 18px; }
.region__head p { margin: 0; color: var(--ink-2); }
.region { margin-block: clamp(36px, 6vw, 64px); }

.atlas { padding-block: clamp(56px, 9vw, 100px); border-top: var(--stroke) solid var(--ink); background: var(--bg-2); }
.atlas__map { height: clamp(360px, 62vh, 620px); border: var(--stroke) solid var(--ink); box-shadow: 8px 8px 0 var(--blood); background: var(--bg-3); z-index: 0; }
.atlas__map .leaflet-tile-pane { filter: var(--map-filter); }
.atlas .leaflet-popup-content-wrapper, .atlas .leaflet-popup-tip { background: var(--bg); color: var(--ink); border-radius: 0; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--blood); }
.atlas .leaflet-popup-content { margin: 10px; font: 400 1rem/1.4 var(--f-text); width: 200px; }
.atlas .leaflet-popup-content img { margin-bottom: 8px; border: 2px solid var(--ink); }
.atlas .leaflet-popup-content a { color: var(--ink); text-decoration: none; }
.atlas .leaflet-popup-content strong { display: block; font: 400 1.35rem/1 var(--f-display); }
.atlas .leaflet-container a.leaflet-popup-close-button { color: var(--ink); }
.pin { width: 22px; height: 22px; background: var(--blood); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 2px 2px 0 #000; }

/* ------------------------------------------------------------------ */
/*  Page dossier                                                       */
/* ------------------------------------------------------------------ */

.dossier__head { padding-top: clamp(20px, 4vw, 44px); }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-block: 2px solid var(--line); padding-block: 12px; }
.facts li { font-size: .97rem; }
.facts span { color: var(--ink-2); margin-right: .35em; }
.facts a { color: var(--ochre-ink); }
.dossier__video { margin-top: 28px; }
.dossier__video .player { max-width: 980px; }
.dossier__video .meta { margin-top: 16px; }
.dossier__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 1000px) { .dossier__body { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } .dossier__aside { position: sticky; top: 96px; align-self: start; } }
.dossier__main > section + section { margin-top: 56px; }

.faq { border-top: var(--stroke) solid var(--ink); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: 700 1.1rem/1.4 var(--f-text); }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font: 400 1.8rem/1 var(--f-display); color: var(--blood-ink); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 70ch; }

.bib { margin-top: 28px; }
.bib__h { display: flex; align-items: baseline; gap: 10px; font: 700 1.15rem/1.3 var(--f-text); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.bib__h span { font: 400 1.4rem/1 var(--f-display); color: var(--ochre-ink); }
.bib__list { margin: 0; padding-left: 1.6em; }
.bib__list li { padding: 6px 0; line-height: 1.55; font-size: 1rem; overflow-wrap: anywhere; }
.bib__list li::marker { color: var(--ink-2); font-size: .85em; }
.bib__list a { color: var(--ochre-ink); }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { padding: 12px 0; border-bottom: 2px solid var(--line); }
.mini-list a { display: block; font-weight: 600; line-height: 1.35; text-decoration: none; }
.mini-list a:hover { text-decoration: underline; }
.mini-list time { display: block; color: var(--ink-2); font-size: .85rem; margin-top: 4px; }
.mini-list--wide { max-width: 820px; }
.dossier__aside > section + section { margin-top: 36px; }
.aside-cta { border: var(--stroke) solid var(--ink); padding: 20px; background: var(--bg-2); box-shadow: 6px 6px 0 var(--ochre); }
.aside-cta .h3 { margin-bottom: .3em; }

/* Liste d'un thème */
.tlist { display: grid; gap: 32px; margin-top: 12px; }
.tlist__item { display: grid; gap: 16px; padding-bottom: 32px; border-bottom: 2px solid var(--line); }
.tlist__media { display: block; aspect-ratio: 16/9; overflow: hidden; border: var(--stroke) solid var(--ink); }
.tlist__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.tlist__item:hover .tlist__media img { transform: scale(1.04); }
.tlist .h3 { font-size: 1.35rem; }
.tlist .h3 a { text-decoration: none; }
.tlist .h3 a:hover { color: var(--blood-ink); }
@media (min-width: 760px) { .tlist__item { grid-template-columns: 320px 1fr; gap: 32px; } }

/* ------------------------------------------------------------------ */
/*  Actus                                                              */
/* ------------------------------------------------------------------ */

.feed { display: grid; margin-top: 20px; max-width: 860px; }
.feed__item { padding-block: 22px; border-bottom: 2px solid var(--line); }
.feed__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-2); font-size: .9rem; margin-bottom: 8px; }
.feed__title { font: 700 clamp(1.15rem, 2.4vw, 1.4rem)/1.3 var(--f-text); margin: 0 0 8px; }
.feed__title a { text-decoration: none; }
.feed__title a:hover { text-decoration: underline; text-decoration-color: var(--blood-ink); }
.feed__src { font-size: .9rem; color: var(--ink-2); margin: 0; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; max-width: 860px; }
.pager a { font-weight: 700; color: var(--ochre-ink); }
.actu { max-width: 820px; padding-top: clamp(24px, 4vw, 48px); }
.actu__src { color: var(--ink-2); font-size: .95rem; border-left: var(--stroke) solid var(--blood); padding-left: 12px; margin-top: 1.6em; }

/* ------------------------------------------------------------------ */
/*  Cercle, newsletter, formulaires                                    */
/* ------------------------------------------------------------------ */

.tiers { display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 760px) { .tiers { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.tier { border: var(--stroke) solid var(--ink); padding: 24px; display: flex; flex-direction: column; background: var(--bg-2); }
.tier--top { box-shadow: 8px 8px 0 var(--blood); }
.tier__name { font: 400 2rem/1 var(--f-display); margin: 0 0 6px; }
.tier__price { font-weight: 700; font-size: 1.2rem; color: var(--ochre-ink); }
.tier ul { flex: 1; padding-left: 1.1em; margin: 0 0 20px; }
.tier li { padding: 4px 0; }

.nl { display: grid; gap: 32px; }
@media (min-width: 900px) { .nl { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 56px; } }
.ticks { list-style: none; padding: 0; }
.ticks li { padding: 6px 0 6px 30px; position: relative; font-size: 1.08rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .75em; width: 16px; height: 8px; border-left: 3px solid var(--blood-ink); border-bottom: 3px solid var(--blood-ink); transform: rotate(-45deg); }
.nl__form { border: var(--stroke) solid var(--ink); padding: clamp(20px, 4vw, 32px); background: var(--bg-2); box-shadow: 8px 8px 0 var(--ochre); display: grid; gap: 14px; }
.nl__form label { font-weight: 700; }
.nl__form input[type="email"], .searchbox input {
  min-height: 52px; width: 100%; padding: 0 14px; font: inherit; color: var(--ink); background: var(--bg);
  border: var(--stroke) solid var(--ink); border-radius: 0;
}
.nl__form input[type="email"]:focus, .searchbox input:focus { outline: 3px solid var(--ochre); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .95rem; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blood); flex: none; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-left: 6px solid; background: var(--bg); }
.notice--ok { border-color: #5fa36b; }
.notice--err { border-color: var(--blood); }

.searchbox { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.searchbox input { flex: 1 1 260px; }
.results { list-style: none; padding: 0; }
.results a { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 2px solid var(--line); text-decoration: none; }
.results span { color: var(--ink-2); font-size: .9rem; }

.link-row { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }

.podium { padding-left: 1.4em; }
.podium li { padding: 6px 0; font-size: 1.1rem; }
.podium small { color: var(--ink-2); }
.gazette section { margin-top: 48px; max-width: 860px; }

/* ------------------------------------------------------------------ */
/*  Recherche instantanée (Ctrl+K)                                     */
/* ------------------------------------------------------------------ */

.finder {
  width: min(680px, calc(100% - 24px)); max-height: min(78vh, 720px); padding: 0; margin: 10vh auto auto;
  border: var(--stroke) solid var(--ink); background: var(--bg); color: var(--ink); box-shadow: 10px 10px 0 var(--blood);
}
.finder::backdrop { background: rgb(5 10 8 / .7); backdrop-filter: blur(3px); }
.finder[open] { animation: pop .18s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.finder__bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-bottom: var(--stroke) solid var(--ink); }
.finder__bar input { flex: 1; min-height: 52px; border: 0; background: none; color: var(--ink); font: 1.15rem var(--f-text); outline: none; }
.finder__results { overflow-y: auto; max-height: calc(min(78vh, 720px) - 120px); }
.finder__results a { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.finder__results a:hover, .finder__results a[aria-selected="true"] { background: var(--bg-3); }
.finder__results img { grid-row: span 2; width: 72px; aspect-ratio: 16/9; object-fit: cover; border: 2px solid var(--ink); }
.finder__results .k { grid-row: span 2; width: 72px; display: grid; place-items: center; font: 400 .95rem/1 var(--f-display); color: var(--ochre-ink); border: 2px solid var(--line); aspect-ratio: 16/9; }
.finder__results strong { font-weight: 700; line-height: 1.3; }
.finder__results small { color: var(--ink-2); }
.finder__hint { margin: 0; padding: 12px 16px; color: var(--ink-2); font-size: .9rem; }

/* ------------------------------------------------------------------ */
/*  Pied de page                                                       */
/* ------------------------------------------------------------------ */

.foot { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(64px, 10vw, 120px); border-top: var(--stroke) solid var(--ink); background: var(--bg-2); padding-bottom: 32px; }
.foot .sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .6; mix-blend-mode: screen; }
:root[data-theme="light"] .sparks { mix-blend-mode: multiply; opacity: .35; }
.foot__letter { display: grid; gap: 18px; align-items: center; padding-block: 40px; border-bottom: 2px solid var(--line); }
@media (min-width: 760px) { .foot__letter { grid-template-columns: 1fr auto; } }
.foot__letter p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.foot__title { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--f-display); margin: 0 0 8px; }
.foot__grid { display: grid; gap: 32px; padding-block: 40px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot__sig { font: 400 1.8rem/1 var(--f-sig); margin-bottom: 10px; }
.foot__brand p { color: var(--ink-2); }
.foot__h { font: 700 .95rem/1.2 var(--f-text); margin: 0 0 12px; color: var(--ochre-ink); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot nav li { padding: 5px 0; }
.foot nav a { text-decoration: none; color: var(--ink); }
.foot nav a:hover { text-decoration: underline; }
.foot__legal { color: var(--ink-2); font-size: .88rem; margin-top: 8px; }

.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 14px 0 0; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--ink); text-decoration: none; transition: transform .15s var(--ease), background-color .15s, color .15s; }
.socials a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.socials a:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.socials .i { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ */
/*  Préférences d'accessibilité                                        */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .btn, .player, .dcard__front { border-color: CanvasText; }
}
@media print {
  .masthead, .foot, .finder, .player, .hero .sparks, .aside-cta { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Ajustements */
.tiers + .meta { margin-top: 24px; }
.crumbs + main > .cercle-hero:first-child { margin-top: 18px; }
.nav-open .masthead { background: var(--bg); }
.finder__bar input::-webkit-search-cancel-button, .filters__search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }

/* ------------------------------------------------------------------ */
/*  Bibliothèque du Clan                                               */
/* ------------------------------------------------------------------ */

.mini-list__sub { display: block; color: var(--ink-2); font-size: .85rem; margin-top: 4px; }
.books { display: grid; gap: 28px; }
@media (min-width: 900px) { .books { grid-template-columns: 1fr 1fr; gap: 36px 44px; } }
.book { display: grid; grid-template-columns: clamp(104px, 26vw, 148px) 1fr; gap: 18px 22px; align-items: start; padding-bottom: 28px; border-bottom: 2px solid var(--line); scroll-margin-top: 96px; }
.book:target { outline: 3px solid var(--ochre); outline-offset: 10px; }
.book__badge { display: inline-block; margin: 0 0 8px; padding: 3px 8px; background: var(--blood); color: var(--on-blood); font: 700 .78rem/1.3 var(--f-text); }
.book__title { font: 700 1.2rem/1.3 var(--f-text); margin: 0 0 4px; }
.book__author { color: var(--ochre-ink); font-weight: 600; margin: 0 0 10px; font-size: .95rem; }
.book__resume { font-size: .98rem; line-height: 1.6; margin-bottom: 12px; }
.book__used { margin: 0 0 6px; font-size: .85rem; color: var(--ink-2); }
.book__videos { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.book__videos a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.book__videos img { width: 72px; aspect-ratio: 16/9; object-fit: cover; border: 2px solid var(--ink); flex: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.book__videos a:hover img { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--blood); }
.book__videos a:hover span { color: var(--blood-ink); }
.book__link { margin: 12px 0 0; font-size: .92rem; }
@media (max-width: 520px) { .book { grid-template-columns: 96px 1fr; gap: 14px; } .book__resume { font-size: .95rem; } }

/* Couverture stylisée (dessinée, aucune couverture réelle n'est reproduite) */
.cover {
  --c-bg: #2f4a3a; --c-fg: #e0a63c;
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 14% 12% 12% 18%; background-color: var(--c-bg); color: var(--c-fg);
  border-radius: 2px 6px 6px 2px; box-shadow: 6px 6px 0 var(--shadow), inset 6px 0 0 rgb(0 0 0 / .28), inset 8px 0 0 rgb(255 255 255 / .08);
  transform: perspective(600px) rotateY(0); transform-origin: left center; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.book:hover .cover { transform: perspective(600px) rotateY(-14deg); box-shadow: 10px 8px 0 var(--blood), inset 6px 0 0 rgb(0 0 0 / .28), inset 8px 0 0 rgb(255 255 255 / .08); }
.cover::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; }
.cover--m0::before { background: repeating-linear-gradient(0deg, transparent 0 14px, var(--c-fg) 14px 16px); -webkit-mask: linear-gradient(transparent 55%, #000 56%); mask: linear-gradient(transparent 55%, #000 56%); }
.cover--m1::before { background: repeating-linear-gradient(135deg, transparent 0 10px, var(--c-fg) 10px 12px); -webkit-mask: linear-gradient(#000 0 18%, transparent 19% 80%, #000 81%); mask: linear-gradient(#000 0 18%, transparent 19% 80%, #000 81%); }
.cover--m2::before { inset: 7% 7% 7% 13%; border: 2px solid var(--c-fg); outline: 1px solid var(--c-fg); outline-offset: 4px; opacity: .55; }
.cover--m3::before { background: radial-gradient(circle, var(--c-fg) 1.5px, transparent 2px) 0 0 / 12px 12px; -webkit-mask: linear-gradient(transparent 62%, #000 63%); mask: linear-gradient(transparent 62%, #000 63%); }
.cover__title { position: relative; font: 400 clamp(.82rem, 2.4vw, 1.1rem)/1.05 var(--f-display); letter-spacing: .02em; overflow-wrap: anywhere; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.cover__author { position: relative; font: 400 clamp(.62rem, 1.6vw, .78rem)/1.2 var(--f-sig); opacity: .9; }
.cover--synthese { --c-bg: #2f4a3a; --c-fg: #e0a63c; }
.cover--guerres { --c-bg: #6b1712; --c-fg: #f0d9b5; }
.cover--peuples { --c-bg: #20343f; --c-fg: #d9c39a; }
.cover--voix { --c-bg: #4a2d1f; --c-fg: #f2c17a; }
.cover--celtes { --c-bg: #1f3b2c; --c-fg: #c9d6a3; }
.cover--monde { --c-bg: #3b2a4a; --c-fg: #e6b98a; }
.maint-banner { margin: 0; padding: 8px var(--gut); background: var(--ochre); color: #14201b; font: 600 .9rem/1.4 var(--f-text); text-align: center; }
.maint-banner a { color: #14201b; text-decoration: underline; margin-left: .5em; }


/* ==================================================================
   V3 — mouvement, séries, sources, vidéos
   ================================================================== */

/* Grain : seulement sur le héros (plus de calque fixe sur toute la page) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 120; }
:root[data-theme="light"] .fx { mix-blend-mode: multiply; }
.kicker { margin: 0 0 .6em; font: 700 .85rem/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* Apparition au défilement */
.rv { opacity: 0; transform: translateY(22px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.is-pop { animation: popin .45s var(--ease) both; }
@keyframes popin { from { opacity: 0; transform: scale(.9) translateY(10px); } }

/* Lecteur : l'affiche reste visible, une braise tourne pendant le chargement */
.player iframe { opacity: 0; transition: opacity .45s var(--ease); z-index: 2; }
.player.is-ready iframe { opacity: 1; }
.player.is-playing::after, .vtile__media.is-playing::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; z-index: 1;
  border-radius: 50%; border: 4px solid rgb(255 255 255 / .2); border-top-color: var(--ochre); animation: spin .8s linear infinite;
}
.player.is-ready::after, .vtile__media.is-ready::after { display: none; }
.player.is-playing .player__play { opacity: 0; pointer-events: none; }
.player.is-playing img { filter: brightness(.55) blur(2px); transform: scale(1.04); }
@keyframes spin { to { transform: rotate(360deg); } }
.player__play::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .6);
  animation: halo 2.4s var(--ease) infinite;
}
@keyframes halo { 0% { transform: scale(.85); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* Cartes de dossier : effet d'empilement pour les séries */
.dcard__layer {
  position: absolute; inset: 0; border: var(--stroke) solid var(--ink); background: var(--bg-3);
  transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.3, 1.4, .4, 1), filter .3s;
  filter: brightness(.55) saturate(.7);
}
.dcard__layer--1 { z-index: 1; transform: translate(7px, -7px) rotate(2.2deg); }
.dcard__layer--2 { z-index: 0; transform: translate(13px, -13px) rotate(4.4deg); }
.dcard--series { padding-top: 6px; padding-right: 8px; }
.dcard--series .dcard__link:hover .dcard__layer--1, .dcard--series .dcard__link:focus-visible .dcard__layer--1 { transform: translate(18px, -14px) rotate(6deg); filter: none; }
.dcard--series .dcard__link:hover .dcard__layer--2, .dcard--series .dcard__link:focus-visible .dcard__layer--2 { transform: translate(30px, -22px) rotate(11deg); filter: none; }
.dcard__count {
  position: absolute; z-index: 3; left: -6px; bottom: 10px; padding: 4px 9px 3px;
  background: var(--blood); color: var(--on-blood); font: 400 .95rem/1 var(--f-display); letter-spacing: .04em;
  box-shadow: 3px 3px 0 var(--shadow); transform: rotate(-2deg);
}
.dcard__count--pod { background: var(--ochre); color: #14201b; }
.img--yt { object-position: center; }

/* Recherche des dossiers sur l'accueil */
.peek__search { margin-bottom: 22px; position: relative; }
.peek__count { color: var(--ink-2); font-size: .9rem; white-space: nowrap; }

/* ---------- Héros : la vidéo phénomène (> 50 000 vues), 5 variantes ---------- */
.hero__stage { position: relative; }
.spot { list-style: none; margin: 0; padding: 0; }
.spot__n { position: relative; display: inline-flex; align-items: baseline; gap: 6px; }
.spot__n strong { font-variant-numeric: tabular-nums; }
.spot__live i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blood); animation: live 1.6s ease-in-out infinite; }
.spot__tab { margin: 0; }
.spot__tab svg { width: 16px; height: 16px; fill: var(--ochre); flex: none; animation: flick 1.4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flick { 50% { transform: scale(1.12, .92) rotate(-4deg); } }
@keyframes live { 50% { opacity: .25; transform: scale(.7); } }
@keyframes ember-glow { 0%, 100% { box-shadow: 0 0 18px 2px rgb(224 166 60 / .25); } 50% { box-shadow: 0 0 46px 12px rgb(240 120 40 / .5); } }
@keyframes spot-shine { to { background-position: -200% 0; } }
.buzz__b.is-bump strong { animation: bump .5s cubic-bezier(.3, 1.8, .4, 1); display: inline-block; }
.buzz__plus { position: absolute; top: -22px; left: 0; padding: 2px 6px; background: #14201b; color: var(--ochre); font: 700 .72rem/1 var(--f-text); border-radius: 999px; animation: plus 1.8s var(--ease) both; white-space: nowrap; }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes plus { from { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; transform: none; } 80% { opacity: 1; } to { opacity: 0; transform: translateY(-14px); } }

/* 1. Bandeau doré : onglet au-dessus, bandeau de chiffres collé sous la vidéo */
.spot--bandeau { margin-top: 30px; filter: drop-shadow(8px 8px 0 var(--blood)); }
.spot--bandeau .player { box-shadow: none; animation: ember-glow 3.2s ease-in-out infinite; }
.spot--bandeau + figcaption { margin-top: 22px; }
.spot--bandeau .spot__tab {
  position: absolute; left: -3px; top: -31px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 5px 9px; background: var(--blood); color: #fff7ee; border: var(--stroke) solid var(--ink); border-bottom: 0;
  font: 400 1rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase;
}
.spot--bandeau .spot {
  padding: 10px 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px;
  background: linear-gradient(90deg, var(--ochre), #f3c46a 55%, var(--ochre)); background-size: 200% 100%; color: #14201b;
  border: var(--stroke) solid var(--ink); border-top: 0; animation: spot-shine 6s linear infinite;
}
.spot--bandeau .spot__n strong { font: 400 clamp(1.5rem, 3.6vw, 2.1rem)/1 var(--f-display); letter-spacing: .02em; }
.spot--bandeau .spot__n span { font: 700 .78rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .08em; }
.spot--bandeau .spot__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 700 .7rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .1em; opacity: .8; }

/* 2. Ruban en coin : une écharpe dorée en diagonale dans le coin haut droit */
.spot--ruban { overflow: hidden; }
.spot--ruban .player { animation: ember-glow 3.2s ease-in-out infinite; }
.spot--ruban .spot__tab { display: none; }
.spot--ruban .spot {
  position: absolute; z-index: 3; top: 26px; right: -58px; width: 250px; transform: rotate(38deg); pointer-events: none;
  display: grid; justify-items: center; gap: 2px; padding: 7px 0 6px;
  background: linear-gradient(90deg, #c98a24, var(--ochre) 30%, #f6d68a 50%, var(--ochre) 70%, #c98a24); background-size: 200% 100%;
  color: #14201b; border-block: 2px solid #14201b; box-shadow: 0 6px 16px rgb(0 0 0 / .45); animation: spot-shine 5s linear infinite;
}
.spot--ruban .spot__n strong { font: 400 1.35rem/1 var(--f-display); letter-spacing: .03em; }
.spot--ruban .spot__n span { font: 800 .62rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .1em; }
.spot--ruban .spot__n + .spot__n strong { font-size: .9rem; }
.spot--ruban .spot__live { display: none; }
@media (max-width: 480px) { .spot--ruban .spot { top: 18px; right: -70px; width: 230px; } .spot--ruban .spot__n strong { font-size: 1.1rem; } }

/* 3. Gros titre : les chiffres deviennent le titre, au-dessus de la vidéo */
.spot--titre { display: flex; flex-direction: column; }
.spot--titre .player { order: 3; animation: ember-glow 3.2s ease-in-out infinite; }
.spot--titre .spot__tab { order: 1; display: inline-flex; align-items: center; gap: 6px; font: 700 .8rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-ink); margin-bottom: 6px; }
.spot--titre .spot { order: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 16px; margin-bottom: 14px; }
.spot--titre .spot__n:first-child strong {
  font: 400 clamp(2.6rem, 7vw, 4.2rem)/.9 var(--f-display); letter-spacing: .01em;
  background: linear-gradient(180deg, #ffe2a0, var(--ochre) 55%, #d4651f); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgb(240 120 40 / .35));
}
.spot--titre .spot__n:first-child span { font: 400 clamp(1.2rem, 3vw, 1.7rem)/1 var(--f-display); color: var(--ink); }
.spot--titre .spot__n + .spot__n strong { font: 700 1.05rem/1 var(--f-text); color: var(--blood-ink); }
.spot--titre .spot__n + .spot__n span { font: 600 .95rem/1 var(--f-text); color: var(--ink-2); }
.spot--titre .spot__live { display: none; }

/* 4. Bandeau braise : un liseré de feu en haut de la miniature, façon direct télé */
.spot--braise .player { animation: ember-glow 3.2s ease-in-out infinite; }
.spot--braise .player::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / .78), transparent);
}
.spot--braise .player.is-playing::before { display: none; }
.spot--braise .spot__tab {
  position: absolute; z-index: 3; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; pointer-events: none;
  padding: 4px 8px; background: var(--blood); color: #fff7ee; font: 400 .85rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase;
  font-size: 0; /* on ne garde que la flamme + « En feu » */
}
.spot--braise .spot__tab::after { content: "En feu"; font-size: .85rem; }
.spot--braise .spot { position: absolute; z-index: 3; top: 12px; left: 92px; right: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; color: #fff7ee; pointer-events: none; }
.spot--braise .spot__n strong { font: 400 1.25rem/1 var(--f-display); letter-spacing: .02em; text-shadow: 0 0 12px rgb(240 120 40 / .8); }
.spot--braise .spot__n span { font: 700 .66rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.spot--braise .spot__live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: 700 .62rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .1em; }
.spot--braise .player.is-playing ~ .spot, .spot--braise .player.is-playing ~ .spot__tab { display: none; }
.spot--braise:has(.player.is-playing) .spot, .spot--braise:has(.player.is-playing) .spot__tab { display: none; }
@media (max-width: 480px) { .spot--braise .spot__live { display: none; } .spot--braise .spot { left: 84px; } }

/* 5. Trophée : cadre doré et plaque gravée sous la vidéo */
.spot--trophee { padding: 8px; background: linear-gradient(135deg, #7a4d10, var(--ochre) 30%, #f6d68a 50%, var(--ochre) 70%, #7a4d10); box-shadow: 0 0 0 2px #14201b, 8px 8px 0 2px var(--blood); margin-bottom: 34px; }
.spot--trophee .player { border-width: 2px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.spot--trophee .spot__tab { position: absolute; z-index: 2; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 4px; background: #14201b; color: var(--ochre); border: 2px solid var(--ochre); font: 400 .9rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.spot--trophee .spot {
  position: absolute; z-index: 2; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap;
  display: flex; align-items: baseline; gap: 16px; padding: 8px 18px 7px; background: #14201b; color: var(--ochre);
  border: 2px solid var(--ochre); box-shadow: 0 8px 18px rgb(0 0 0 / .45);
}
.spot--trophee .spot__n strong { font: 400 1.35rem/1 var(--f-display); }
.spot--trophee .spot__n span { font: 700 .66rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .1em; color: #f6d68a; }
.spot--trophee .spot__live { display: none; }
.spot--trophee + figcaption { margin-top: 40px; }

/* Barre de choix des variantes (affichée seulement avec ?mise-en-avant=…) */
.spot-pick { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: 12px; margin: 0 auto; width: fit-content; max-width: calc(100% - 20px); display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; align-items: center; padding: 8px 10px; background: var(--bg); border: var(--stroke) solid var(--ink); box-shadow: 6px 6px 0 var(--blood); font: 600 .85rem/1 var(--f-text); }
.spot-pick span { flex: none; } .spot-pick a { flex: none; white-space: nowrap; padding: 7px 10px; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; }
.spot-pick a[aria-current] { background: var(--ochre); border-color: var(--ochre); color: #14201b; }

/* ---------- Dossier : épisodes de la série ---------- */
.episodes { margin-top: clamp(40px, 6vw, 64px); }
.episodes__list {
  list-style: none; padding: 6px 2px 16px; margin: 6px 0 0; display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--blood) transparent;
}
.episodes__list li { scroll-snap-align: start; }
.ep { position: relative; display: grid; gap: 4px; text-decoration: none; padding-top: 4px; }
.ep__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: var(--stroke) solid var(--ink); background: var(--bg-3); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ep__media img { width: 100%; height: 100%; object-fit: cover; }
.ep__dur { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; background: rgb(0 0 0 / .8); color: #fff; font: 700 .78rem/1.2 var(--f-text); }
.ep__n { position: absolute; left: -6px; top: -4px; z-index: 2; min-width: 34px; padding: 4px 6px 2px; text-align: center; background: var(--ink); color: var(--bg); font: 400 1.25rem/1 var(--f-display); box-shadow: 3px 3px 0 var(--blood); }
.ep__title { font: 700 1rem/1.3 var(--f-text); margin-top: 8px; }
.ep__meta { color: var(--ink-2); font-size: .85rem; }
.ep:hover .ep__media { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--blood); }
.ep.is-current .ep__media { box-shadow: 6px 6px 0 var(--ochre); }
.ep.is-current .ep__n { background: var(--ochre); color: #14201b; }
.ep.is-current .ep__title::before { content: "▶ En lecture · "; color: var(--ochre-ink); font-size: .85em; }

/* ---------- Sources ---------- */
.srcs__head { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 24px; }
.srcs__head .h2 { margin: 0; }
.srcs__big { margin: 0 0 .4em; color: var(--ink-2); }
.srcs__big strong { font: 400 clamp(2.2rem, 6vw, 3.2rem)/.8 var(--f-display); color: var(--blood-ink); margin-right: .15em; vertical-align: -.08em; }
.srcs__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 18px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.srcs__tab {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px;
  border: 2px solid var(--line); background: var(--bg-2); border-radius: 999px; cursor: pointer; font: 600 .95rem/1 var(--f-text);
  transition: transform .15s var(--ease), border-color .15s, background-color .15s;
}
.srcs__tab span { color: var(--ink-2); font-weight: 400; }
.srcs__tab .i { width: 18px; height: 18px; }
.srcs__tab:hover { border-color: var(--ink); transform: translateY(-2px); }
.srcs__tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.srcs__tab[aria-pressed="true"] span { color: inherit; }
.srcs__tab--livre .i { color: var(--ochre-ink); }
.srcs__tab--etude .i { color: #7fb3d5; }
.srcs__tab--internet .i { color: #8fc79a; }
.srcs__tab--video .i { color: var(--blood-ink); }
.srcs__tab[aria-pressed="true"] .i { color: inherit; }

.shelf { margin: 22px 0 8px; padding: 18px 18px 6px; background: var(--bg-2); border: var(--stroke) solid var(--ink); box-shadow: 6px 6px 0 var(--ochre); }
.shelf__h { margin: 0 0 12px; font: 400 1.4rem/1 var(--f-display); letter-spacing: .02em; }
.shelf__list { list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 16px; overflow-x: auto; scrollbar-width: thin; }
.shelf__book { display: grid; gap: 4px; text-decoration: none; }
.shelf__book .cover { padding: 12% 10% 10% 16%; box-shadow: 4px 4px 0 var(--shadow), inset 5px 0 0 rgb(0 0 0 / .28); }
.shelf__book .cover__title { font-size: .78rem; }
.shelf__book .cover__author { font-size: .6rem; }
.shelf__book:hover .cover { transform: perspective(500px) rotateY(-16deg) translateY(-4px); box-shadow: 8px 6px 0 var(--blood); }
.shelf__t { font: 700 .82rem/1.25 var(--f-text); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shelf__a { font-size: .75rem; color: var(--ink-2); }

.srcs__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: src; }
@media (min-width: 760px) { .srcs__list { grid-template-columns: 1fr 1fr; } }
.src {
  --c: var(--ink-2);
  position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: start;
  padding: 14px 14px 12px; background: var(--bg-2); border: 2px solid var(--line); border-left: 5px solid var(--c);
  transition: transform .18s var(--ease), border-color .18s, box-shadow .18s var(--ease);
}
.src:hover { transform: translate(-2px, -2px); border-color: var(--c); box-shadow: 5px 5px 0 var(--c); }
.src--livre { --c: var(--ochre); }
.src--etude { --c: #5b9bc8; }
.src--internet { --c: #6fae7b; }
.src--video { --c: var(--blood); }
.src__ic { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); }
.src__ic .i { width: 20px; height: 20px; }
.src__txt { font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.src__txt a { color: var(--ink); font-weight: 600; text-decoration-color: var(--c); text-decoration-thickness: 2px; }
.src__txt a:hover { color: var(--blood-ink); }
.src__txt a::after { content: " ↗"; font-size: .85em; color: var(--c); }
.src__host { grid-column: 2; font: 700 .72rem/1.2 var(--f-text); letter-spacing: .05em; text-transform: uppercase; color: var(--c); }
.srcs.is-anim .src:not([hidden]) { animation: srcin .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes srcin { from { opacity: 0; transform: translateY(12px); } }
.srcs__more { margin-top: 20px; }
.srcs__soon { margin-top: 20px; padding: 22px; border: 2px dashed var(--line); }
.srcs__soon p { margin: 0 0 .5em; }

/* ---------- Page Vidéos ---------- */
.vtools { display: grid; gap: 14px; margin-bottom: 26px; }
@media (min-width: 900px) { .vtools { grid-template-columns: minmax(280px, 460px) 1fr auto; align-items: center; } .vtools .filters__search { max-width: none; } }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); grid-auto-flow: dense; gap: clamp(18px, 2.4vw, 30px); }
.vtile { position: relative; display: flex; flex-direction: column; min-width: 0; }
.vtile__open { display: block; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; width: 100%; }
.vtile__media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3);
  border: var(--stroke) solid var(--ink); box-shadow: 5px 5px 0 var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.vtile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.vtile__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .45s var(--ease); z-index: 2; }
.vtile__media.is-ready iframe { opacity: 1; }
.vtile__media.is-playing img { filter: brightness(.5) blur(2px); }
.vtile__open:hover .vtile__media, .vtile__open:focus-visible .vtile__media { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--blood); }
.vtile__open:hover img { transform: scale(1.05); }
.vtile__dur { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; background: rgb(0 0 0 / .82); color: #fff; font: 700 .8rem/1.2 var(--f-text); }
.vtile__play {
  position: absolute; left: 12px; bottom: 12px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blood); border: 3px solid #fff; transform: scale(.85); opacity: .92; transition: transform .25s cubic-bezier(.3, 1.6, .4, 1), opacity .2s;
}
.vtile__play svg { width: 46%; fill: #fff; translate: 6% 0; }
.vtile__open:hover .vtile__play { transform: scale(1.05); opacity: 1; }
.vtile__body { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; }
.vtile__ep { margin: 0; font: 700 .78rem/1.2 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ochre-ink); }
.vtile__title { font: 700 1.08rem/1.35 var(--f-text); margin: 0; }
.vtile__meta { margin: 0; color: var(--ink-2); font-size: .88rem; }
.vtile__dossier { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: .92rem; color: var(--ochre-ink); text-decoration: none; width: fit-content; }
.vtile__dossier .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.vtile__dossier:hover { color: var(--blood-ink); }
.vtile__dossier:hover .i { transform: translateX(4px); }
.vtile__yt { display: none; font-size: .88rem; color: var(--ink-2); align-items: center; gap: 5px; width: fit-content; }
.vtile__yt .i { width: 14px; height: 14px; }
.vtile__close {
  position: absolute; z-index: 5; top: -14px; right: -10px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: var(--bg); border: var(--stroke) solid var(--bg); border-radius: 50%; box-shadow: 3px 3px 0 var(--blood);
  animation: bubble-in .4s cubic-bezier(.3, 1.6, .4, 1) both;
}
.vtile__close .i { width: 22px; height: 22px; }

/* La vidéo ouverte prend toute la largeur et pousse les autres */
.vtile.is-open { grid-column: 1 / -1; padding: clamp(12px, 2vw, 22px); background: var(--bg-2); border: var(--stroke) solid var(--ink); box-shadow: 10px 10px 0 var(--blood); }
.vtile.is-open::before { /* bande de « peinture de guerre » qui balaie le cadre */
  content: ""; position: absolute; left: -3px; right: -3px; top: -3px; height: 8px; z-index: 4;
  background: linear-gradient(90deg, var(--blood), var(--ochre), var(--blood)); transform-origin: left; animation: war-stripe .7s var(--ease) both;
}
@keyframes war-stripe { from { transform: scaleX(0); } }
.vtile.is-open .vtile__open { cursor: default; }
.vtile.is-open .vtile__media { box-shadow: none; transform: none; }
.vtile.is-open .vtile__play, .vtile.is-open .vtile__dur { opacity: 0; }
.vtile.is-open .vtile__title { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-family: var(--f-text); }
.vtile.is-open .vtile__yt { display: inline-flex; }
@media (min-width: 900px) {
  .vtile.is-open { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(240px, 1fr); gap: 28px; align-items: start; }
  .vtile.is-open .vtile__body { padding-top: 6px; }
}

/* Couverture réelle d'un livre */
.cover--real { padding: 0; background: var(--bg-3); }
.cover--real::before { display: none; }
.cover--real img { width: 100%; height: 100%; object-fit: cover; }
.dossier__main, .dossier__aside { min-width: 0; }

/* ---------- Boutique ---------- */
.shop-hero {
  position: relative; isolation: isolate; overflow: hidden; border-bottom: var(--stroke) solid var(--ink);
  background: radial-gradient(120% 90% at 85% 10%, rgb(212 42 31 / .35), transparent 60%), radial-gradient(80% 80% at 10% 100%, rgb(224 166 60 / .22), transparent 60%), var(--bg-2);
}
.shop-hero .sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.shop-hero__inner { padding-block: clamp(36px, 7vw, 80px) clamp(28px, 5vw, 56px); }
.shop-hero .display { margin-bottom: .2em; }
.shop__filters { margin-bottom: 22px; }
.shop__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 720px) { .shop__grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 30px 24px; } }
.prod__open { display: grid; gap: 6px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.prod__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border: var(--stroke) solid var(--ink); background: #f3efe7; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod__open:hover .prod__media, .prod__open:focus-visible .prod__media { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: 8px 8px 0 var(--blood); }
.prod__open:hover .prod__media img { transform: scale(1.07); }
.prod__name { font: 700 1rem/1.3 var(--f-text); margin-top: 8px; }
.prod__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--ochre-ink); font-weight: 700; font-size: .9rem; }
.prod__cta .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.prod__open:hover .prod__cta .i { transform: translateX(4px); }
.shop__more { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }

.qv { width: min(860px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: var(--stroke) solid var(--ink); background: var(--bg); color: var(--ink); box-shadow: 12px 12px 0 var(--blood); overflow: auto; }
.qv::backdrop { background: rgb(5 10 8 / .75); }
.qv[open] { animation: pop .25s var(--ease); }
.qv__inner { display: grid; }
@media (min-width: 720px) { .qv__inner { grid-template-columns: 1fr 1fr; } }
.qv__media { background: #f3efe7; }
.qv__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.qv__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.qv__title { font: 400 clamp(1.8rem, 4vw, 2.4rem)/1 var(--f-display); margin: 0; padding-right: 40px; }
.qv__label { margin: 0; font-weight: 700; color: var(--ink-2); font-size: .9rem; }
.qv__variants { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.qv__variants li { padding: .35em .7em; border: 2px solid var(--line); border-radius: 999px; font-size: .9rem; }
.qv__note { margin: 0; color: var(--ink-2); font-size: .85rem; }
.qv__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--bg); cursor: pointer; }
.qv__close .i { width: 22px; height: 22px; }

/* Mobile : fond plus léger pour le bandeau du Cercle */
@media (max-width: 760px) {
  .cercle-band, .cercle-hero { background-image: linear-gradient(90deg, rgb(10 16 13 / .92) 0%, rgb(10 16 13 / .75) 45%, rgb(10 16 13 / .2)), url("/img/brand/plaines-800.webp"); }
}

/* ---------- Bibliothèque : favoris de Kan ---------- */
.book__cover { position: relative; }
.book__seal {
  position: absolute; right: -10px; top: -10px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--blood); color: #fff7ee; border: 3px solid var(--bg); box-shadow: 3px 3px 0 var(--shadow);
  animation: seal 2.8s ease-in-out infinite;
}
.book__seal .i { width: 20px; height: 20px; }
@keyframes seal { 0%, 70%, 100% { transform: scale(1) rotate(-8deg); } 78% { transform: scale(1.18) rotate(4deg); } 86% { transform: scale(.96) rotate(-8deg); } }
.book__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.book__badges:empty { display: none; }
.book__badges .book__badge { margin: 0; }
.book__fav {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; background: var(--ochre); color: #14201b;
  font: 700 .78rem/1.3 var(--f-text); box-shadow: 2px 2px 0 var(--shadow); transform: rotate(-1.5deg);
}
.book__fav .i { width: 14px; height: 14px; color: var(--blood); }
.book--fav { position: relative; }
.book--fav::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 28px; width: 4px; background: linear-gradient(var(--ochre), var(--blood)); }
.book__avis { margin: 0 0 12px; padding: 10px 14px; border-left: 4px solid var(--ochre); background: var(--bg-2); font-style: italic; }
.book__avis p { margin: 0; }
.book__avis footer { font: 400 1rem/1 var(--f-sig); color: var(--ochre-ink); margin-top: 6px; font-style: normal; }
.book__avis footer::before { content: "— "; }
.chip--fav { display: inline-flex; align-items: center; gap: 6px; border-color: var(--ochre); }
.chip--fav .i { width: 15px; height: 15px; color: var(--blood-ink); }
.chip--fav[aria-pressed="true"] { background: var(--ochre); border-color: var(--ochre); color: #14201b; }
.chip--fav[aria-pressed="true"] .i { color: var(--blood); }
.shelf__book { position: relative; }
.shelf__fav { position: absolute; left: -6px; top: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; background: var(--ochre); color: #14201b; font: 700 .62rem/1.3 var(--f-text); box-shadow: 2px 2px 0 var(--shadow); transform: rotate(-4deg); }
.shelf__fav .i { width: 10px; height: 10px; color: var(--blood); }

/* ---------- Actus : mur de cartes (inspiré du mur Magazine de Totem) ---------- */
.nwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 22px; margin-top: 20px; }
.nwall--home { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ncard {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 2px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s var(--ease);
}
.ncard:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--blood); }
.ncard__media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b191b;
}
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.04); }
.ncard__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .45)); pointer-events: none; }
/* Pas d'image : un visuel de remplacement avec l'initiale du média */
.ncard__media.is-empty {
  display: grid; place-content: center; gap: 6px; text-align: center; color: var(--ochre-ink);
  background: radial-gradient(circle at 50% 38%, rgb(224 166 60 / .18), transparent 40%), repeating-linear-gradient(135deg, transparent 0 14px, rgb(236 229 214 / .04) 14px 16px), linear-gradient(145deg, var(--bg-3), #0b1712);
}
.ncard__media.is-empty::before { content: attr(data-initiale); font: 400 3rem/1 var(--f-display); text-shadow: 0 0 24px rgb(224 166 60 / .35); }
.ncard__media.is-empty::after { content: attr(data-source); position: static; inset: auto; background: none; font: 700 .7rem/1.2 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ncard__theme {
  position: absolute; top: 10px; right: 10px; z-index: 2; padding: 5px 10px; border-radius: 999px;
  background: rgb(224 166 60 / .95); color: #14201b; font: 800 .72rem/1 var(--f-text); box-shadow: 0 6px 18px rgb(0 0 0 / .3);
}
.ncard__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px 16px 14px; }
.ncard__src { display: flex; justify-content: space-between; gap: 10px; margin: 0; font: 800 .72rem/1.2 var(--f-text); letter-spacing: .07em; text-transform: uppercase; color: var(--ochre-ink); }
.ncard__src span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ncard__src time { flex: none; color: var(--ink-2); font-weight: 500; text-transform: none; letter-spacing: 0; }
.ncard__title { margin: 0; font: 700 1.12rem/1.28 var(--f-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__title a { text-decoration: none; }
.ncard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toute la carte est cliquable */
.ncard__sum { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__more { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 10px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 700; }
.ncard__more a { color: var(--ochre-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ncard__more a:hover { color: var(--blood-ink); }
.ncard__more .i { width: 14px; height: 14px; }
.nwall--home .ncard__sum { -webkit-line-clamp: 3; }
.actu__img { margin: 0 0 24px; max-width: 820px; border: var(--stroke) solid var(--ink); box-shadow: 6px 6px 0 var(--blood); }

.prod__price { color: var(--ink-2); font-size: .92rem; }
.qv__price { margin: 0; font: 400 1.5rem/1 var(--f-display); color: var(--ochre-ink); }
