/*
 * ELINEOM STUDIO — feuille du Journal, V2 « ivoire » (2026-12-03). Feuille autonome.
 * Direction : ivoire clair, noir profond, champagne discret, blanc. Bodoni Moda + Manrope (copies du site).
 * La méduse garde son rendu d'origine dans un écrin noir (choix de l'utilisateur, 2026-12-03).
 * Version précédente : ../sauvegarde-v1-2026-12-02/css/proto.css
 */
@font-face { font-family: 'P Bodoni'; font-style: normal; font-display: swap; font-weight: 400 900; src: url('../static/fonts/bodoni-moda-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'P Bodoni'; font-style: italic; font-display: swap; font-weight: 400 900; src: url('../static/fonts/bodoni-moda-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family: 'P Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../static/fonts/manrope-latin-wght-normal.woff2') format('woff2'); }

:root {
  /* Palette (4 couleurs + l'écrin de la méduse) */
  --ivoire: #F6F3EC;
  --blanc: #FFFFFF;
  --noir: #141210;
  --gris: #5E5A55;
  --champagne: #C9A466;
  --ecrin: #0B0A09;
  /* Dérivées */
  --rule: rgb(20 18 16 / 0.12);
  --rule-strong: rgb(20 18 16 / 0.26);
  --veil: rgb(246 243 236 / 0.82);

  --serif: 'P Bodoni', 'Bodoni 72', Didot, Georgia, serif;
  --sans: 'P Manrope', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --max: 76rem;
  --bar-h: 2.25rem;
  --hd-h: 4.25rem;
  --r-lg: clamp(20px, 2.2vw, 30px);
  --r-md: 16px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ivoire); scroll-padding-top: calc(var(--bar-h) + var(--hd-h) + 1.5rem); }
body {
  margin: 0; min-height: 100svh; overflow-x: hidden; color: var(--noir); background: var(--ivoire);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; border-radius: 4px; }
/* Titres et zones qui reçoivent le focus par programme (navigation, lecteurs d'écran) : pas de cadre */
[tabindex='-1']:focus { outline: none; }
::selection { background: rgb(201 164 102 / 0.35); }
.defs { position: absolute; width: 0; height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: 0.5rem; z-index: 100; padding: 0.6rem 1rem; border-radius: 999px; background: var(--noir); color: var(--ivoire); transform: translateY(-250%); }
.skip:focus { transform: none; }

/* ─── Bandeau d'outil interne (hors design, absent des pages publiées) ─── */
.proto-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 1.1rem; padding: 0 1rem;
  font-size: 0.75rem; color: var(--gris); background: #EDE8DE; border-bottom: 1px solid var(--rule);
}
.proto-bar strong { color: var(--noir); font-weight: 600; }
.proto-bar__btn { border: 1px solid var(--rule-strong); background: var(--blanc); border-radius: 999px; padding: 0.18rem 0.75rem; font-size: 0.72rem; cursor: pointer; color: var(--noir); }
.proto-bar__btn[aria-pressed='true'] { background: var(--noir); color: var(--ivoire); border-color: var(--noir); }
.proto-bar__link { color: var(--noir); text-underline-offset: 3px; }
@media (max-width: 560px) { .proto-bar__text { display: none; } }
.cmp-legend { position: fixed; top: calc(var(--bar-h) + var(--hd-h) + 0.5rem); right: 1rem; z-index: 45; display: none; flex-direction: column; gap: 0.35rem; padding: 0.8rem 1rem; border-radius: 12px; background: var(--blanc); border: 1px solid var(--rule); font-size: 0.75rem; color: var(--gris); }
body.is-compare .cmp-legend { display: flex; }
.lg { display: inline-block; width: 0.9rem; height: 0.6rem; margin-right: 0.5rem; border-radius: 2px; border: 2px solid; vertical-align: middle; }
.lg--same { border-color: #9a948c; } .lg--enriched { border-color: var(--champagne); } .lg--changed { border-color: #3b6ea8; } .lg--new { border-color: #b0413e; }
body.is-compare [data-diff] { outline: 2px dashed #9a948c; outline-offset: 6px; position: relative; }
body.is-compare [data-diff='enriched'] { outline-color: var(--champagne); }
body.is-compare [data-diff='changed'] { outline-color: #3b6ea8; }
body.is-compare [data-diff='new'] { outline-color: #b0413e; }
body.is-compare [data-diff]::before { content: attr(data-diff-label); position: absolute; z-index: 5; top: -0.9rem; left: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 4px; background: var(--blanc); border: 1px solid var(--rule); font: 600 0.68rem/1.5 var(--sans); color: var(--noir); }

/* ─── En-tête ─── */
.hd {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 40; height: var(--hd-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 var(--gutter);
  background: var(--veil); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent; transition: transform 0.45s var(--ease-out), border-color 0.3s var(--ease);
}
.hd.is-scrolled { border-bottom-color: var(--rule); }
.hd.is-hidden { transform: translateY(calc(-100% - var(--bar-h))); }
.hd__logo img { width: auto; height: clamp(25px, 2.1vw, 30px); } /* logo officiel : même hauteur qu'avant, nom agrandi (2026-12-03) */
.hd__nav { display: flex; align-items: center; gap: 2.2rem; }
.hd__nav ul { display: flex; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.hd__nav ul a { position: relative; font-size: 0.9375rem; color: var(--gris); text-decoration: none; transition: color 0.2s var(--ease); }
.hd__nav ul a:hover, .hd__nav ul a[aria-current='page'] { color: var(--noir); }
.hd__nav ul a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.45rem; height: 1px; background: var(--champagne); }
.hd__burger { display: none; width: 2.75rem; height: 2.75rem; margin-right: -0.6rem; border: 0; background: none; cursor: pointer; position: relative; }
.hd__lines, .hd__lines::before { position: absolute; left: 50%; width: 1.25rem; height: 1.5px; background: var(--noir); transform: translateX(-50%); transition: transform 0.35s var(--ease-out); }
.hd__lines { top: 46%; } .hd__lines::before { content: ''; top: 0.42rem; }
.hd.is-open .hd__lines { transform: translateX(-50%) translateY(0.21rem) rotate(45deg); }
.hd.is-open .hd__lines::before { transform: translateX(-50%) translateY(-0.42rem) rotate(-90deg); }

@media (max-width: 900px) {
  .hd__burger { display: block; }
  .hd__nav {
    position: fixed; inset: calc(var(--bar-h) + var(--hd-h)) 0 0 0; z-index: 39; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--gutter) 2rem; background: var(--ivoire); visibility: hidden; opacity: 0; transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .hd.is-open { background: var(--ivoire); border-bottom-color: var(--rule); }
  .hd.is-open .hd__nav { visibility: visible; opacity: 1; transition: opacity 0.3s var(--ease); }
  .hd__nav ul { flex-direction: column; gap: 0; }
  .hd__nav ul a { display: block; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 1.75rem; color: var(--noir); }
  .hd__nav ul a[aria-current='page']::after { display: none; }
  .hd__nav ul a[aria-current='page'] { color: var(--noir); text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .hd__cta { margin-top: 2rem; align-self: flex-start; }
}

/* ─── Mise en page ─── */
main { padding-top: calc(var(--bar-h) + var(--hd-h)); min-height: 70vh; }
main:focus { outline: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
.sec { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.sec--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sec--line { border-top: 1px solid var(--rule); }
.sec--first { padding-top: clamp(3rem, 7vw, 6rem); }

/* ─── Typographie ─── */
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -0.02em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.06; letter-spacing: -0.015em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--gris); max-width: 38rem; margin: 1.25rem 0 0; text-wrap: pretty; }
.eyebrow { font-size: 0.9375rem; color: var(--gris); margin: 0 0 1rem; }
.note { font-size: 0.875rem; color: var(--gris); margin: 1.5rem 0 0; }
.placeholder { display: inline-block; padding: 0 0.45rem; border: 1px dashed var(--champagne); border-radius: 6px; font-size: 0.85em; color: var(--noir); background: rgb(201 164 102 / 0.08); }
.example-note { font-size: 0.875rem; color: var(--gris); padding: 0.8rem 1rem; border-left: 2px solid var(--champagne); background: var(--blanc); border-radius: 0 10px 10px 0; margin: 0 0 2rem; }
.link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9375rem; font-weight: 600; color: var(--noir); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color 0.2s var(--ease); }
.link:hover { text-decoration-color: var(--noir); }
.chev { width: 0.55rem; height: 0.55rem; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease-out); flex: none; }

/* En-tête de section : titre à gauche, lien à droite */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); flex-wrap: wrap; }
.head > div { max-width: 44rem; }

/* ─── Boutons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid var(--rule-strong); background: transparent; color: var(--noir);
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { border-color: var(--noir); }
.btn:active { transform: scale(0.98); }
.btn--dark { background: var(--noir); border-color: var(--noir); color: var(--ivoire); }
.btn--dark:hover { background: #2B2723; border-color: #2B2723; }
.btn--text { border-color: transparent; padding-inline: 0.4rem; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 5px; }
.btn--text:hover { border-color: transparent; text-decoration-color: var(--noir); }
.hd__cta { min-height: 2.5rem; padding: 0 1.15rem; font-size: 0.875rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 2.25rem; }

/* ─── Apparitions et transitions (discrètes) ─── */
/* Masqué seulement si le JavaScript tourne (js/journal.js ajoute .is-in) : sans JavaScript, tout reste visible (5 déc. 2026) */
@media (scripting: enabled) { [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); } }
[data-reveal].is-in { opacity: 1; transform: none; }
.view { transition: opacity 0.22s var(--ease); }
.view.is-leaving { opacity: 0; }
.view.is-entering { animation: enter 0.5s var(--ease-out) both; }
@keyframes enter { from { opacity: 0; } to { opacity: 1; } }

/* ─── Hero ─── */
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 6vh, 5rem) clamp(4rem, 9vw, 7rem); min-height: calc(100svh - var(--bar-h) - var(--hd-h)); }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.1rem, 7.2vw, 6.6rem); line-height: 0.98; letter-spacing: -0.025em; margin: 0; }
.hero__title span { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title span > i { display: block; font-style: normal; animation: line-up 1.1s var(--ease-out) both; }
.hero__title span:nth-child(2) > i { animation-delay: 0.1s; }
.hero__title em { font-style: italic; }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
.hero__text .lead, .hero__text .actions, .hero__text .eyebrow { animation: fade 1s var(--ease-out) 0.35s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.ecrin { position: relative; border-radius: var(--r-lg); background: var(--ecrin); aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; animation: fade 1.2s var(--ease) both; }
.jelly { width: 92%; aspect-ratio: 1280 / 854; animation: bob 9s ease-in-out infinite; }
.jelly video, .jelly img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.4s var(--ease); }
.jelly.is-ready video, .jelly.is-ready img { opacity: 1; }
.jelly[data-blend='key'] video { filter: url(#jelly-key); }
.jelly[data-blend='screen'] video, .jelly[data-blend='screen'] img { mix-blend-mode: screen; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1rem; gap: 2.25rem; }
  .ecrin { order: -1; aspect-ratio: 4 / 3; }
}

/* ─── Liste des pôles ─── */
.plist { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.plist a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; align-items: center; gap: 1.5rem; padding: 1.6rem 0.25rem; border-top: 1px solid var(--rule); text-decoration: none; transition: background-color 0.25s var(--ease); }
.plist__name { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.15; }
.plist__lead { color: var(--gris); }
.plist .chev { margin-right: 0.5rem; color: var(--gris); }
.plist a:hover .chev, .plist a:focus-visible .chev { transform: translateX(4px) rotate(45deg); color: var(--noir); }
@media (max-width: 720px) { .plist a { grid-template-columns: 1fr auto; gap: 0.35rem 1rem; padding: 1.3rem 0; } .plist__lead { grid-column: 1; font-size: 0.9375rem; } .plist .chev { grid-row: 1 / span 2; grid-column: 2; } }

/* ─── Univers ─── */
.ugrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem); }
.ucard { display: block; text-decoration: none; }
.ucard__media { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: #E6E0D5; }
.ucard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.ucard:hover .ucard__media img { transform: scale(1.025); }
.ucard__name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; margin: 1.1rem 0 0.25rem; }
.ucard__line { margin: 0; color: var(--gris); font-size: 0.9375rem; }
.ucard__poles { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--gris); }
.ucard.is-hidden { display: none; }
.ucard.is-fading { opacity: 0; transition: opacity 0.2s var(--ease); }
@media (max-width: 960px) { .ugrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ugrid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.25rem 0 1rem; }
.chip { min-height: 2.5rem; padding: 0 1.05rem; border-radius: 999px; border: 1px solid var(--rule-strong); background: transparent; font-size: 0.875rem; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.chip:hover { border-color: var(--noir); }
.chip[aria-pressed='true'] { background: var(--noir); border-color: var(--noir); color: var(--ivoire); }
.count { font-size: 0.875rem; color: var(--gris); margin: 0 0 2rem; min-height: 1.4em; }

/* ─── Méthode (aperçu) ─── */
.srow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.srow li { border-top: 1px solid var(--rule-strong); padding-top: 1.25rem; position: relative; }
.srow li::before { content: ''; position: absolute; top: -1px; left: 0; width: 2rem; height: 1px; background: var(--champagne); }
.srow i { display: block; font-style: normal; font-family: var(--serif); font-size: 0.95rem; color: var(--gris); }
.srow b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; margin: 0.4rem 0 0.5rem; }
.srow span { display: block; font-size: 0.875rem; color: var(--gris); line-height: 1.5; }
@media (max-width: 960px) { .srow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 520px) { .srow { grid-template-columns: 1fr; row-gap: 1.5rem; } }

/* ─── Conclusion ─── */
.outro { text-align: center; padding-block: clamp(5rem, 11vw, 9rem); border-top: 1px solid var(--rule); }
.outro__prism { width: 2.25rem; margin: 0 auto 1.75rem; opacity: 0.9; }
.outro .lead { margin-inline: auto; }
.outro .actions { justify-content: center; }

/* ─── Fiches (univers et concepts) ─── */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.875rem; color: var(--gris); margin-bottom: 2rem; }
.crumbs a { color: var(--gris); text-decoration: none; } .crumbs a:hover { color: var(--noir); text-decoration: underline; text-underline-offset: 4px; }
.kind { display: inline-block; font-size: 0.8125rem; color: var(--gris); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 0.15rem 0.7rem; }
.case-hero { margin-top: clamp(2rem, 4vw, 3rem); border-radius: var(--r-lg); overflow: hidden; background: #E6E0D5; aspect-ratio: 16 / 9; }
.case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case-hero--symbol { display: grid; place-items: center; background: var(--blanc); border: 1px solid var(--rule); }
.case-hero--symbol img { width: min(26%, 12rem); height: auto; object-fit: contain; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 2.5rem 0 0; padding: 1.5rem 0; border-block: 1px solid var(--rule); }
.facts dt { font-size: 0.8125rem; color: var(--gris); margin-bottom: 0.3rem; }
.facts dd { margin: 0; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(3rem, 6vw, 5rem); }
.case-block + .case-block { margin-top: 2.5rem; }
.case-block h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 0.8rem; }
.case-block p { margin: 0; color: var(--gris); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 0.65rem 0; border-top: 1px solid var(--rule); color: var(--gris); }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.gallery img { border-radius: var(--r-md); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.case-nav a { padding: 1.5rem 0; text-decoration: none; }
.case-nav a:last-child { text-align: right; }
.case-nav small { display: block; color: var(--gris); font-size: 0.8125rem; }
.case-nav span { font-family: var(--serif); font-size: 1.4rem; }
.case-nav a:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .case-body { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr; } .case-hero { aspect-ratio: 4 / 3; } }

/* ─── Page d'un pôle ─── */
.pole-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pole-hero__visual { border-radius: var(--r-lg); background: var(--blanc); border: 1px solid var(--rule); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.pole-hero__visual img { width: 100%; height: 100%; object-fit: contain; }
.pole-meta { display: flex; gap: 0.75rem; align-items: baseline; font-size: 0.9375rem; color: var(--gris); margin-bottom: 1rem; }
.pole-meta b { font-family: var(--serif); font-weight: 400; color: var(--noir); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.col h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 1rem; }
.col ul { list-style: none; margin: 0; padding: 0; }
.col li { padding: 0.7rem 0; border-top: 1px solid var(--rule); color: var(--gris); font-size: 0.9375rem; }
.col li:last-child { border-bottom: 1px solid var(--rule); }
.forwho { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; max-width: 50rem; margin: 0; }
.pricing { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 0; border-block: 1px solid var(--rule); }
.pricing p { margin: 0; color: var(--gris); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0.4rem; top: 50%; width: 0.55rem; height: 0.55rem; border-right: 1.5px solid var(--gris); border-bottom: 1.5px solid var(--gris); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--gris); max-width: 42rem; }
.other-poles { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.5rem; font-size: 0.9375rem; }
.other-poles a { color: var(--gris); text-underline-offset: 4px; } .other-poles a:hover { color: var(--noir); }
@media (max-width: 900px) { .pole-hero { grid-template-columns: 1fr; } .pole-hero__visual { order: -1; } .cols-3 { grid-template-columns: 1fr; } }

/* ─── Méthode (page) ─── */
.process { position: relative; margin-top: clamp(3rem, 6vw, 5rem); padding-left: clamp(3rem, 8vw, 7rem); }
.process__rail { position: absolute; left: clamp(0.9rem, 2.6vw, 2.2rem); top: 0; bottom: 0; width: 1px; background: var(--rule); }
.process__fill { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--champagne); }
.process__prism { position: absolute; left: 50%; width: 1.4rem; transform: translate(-50%, -50%); top: 0; }
.step { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2.2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--rule); opacity: 0.45; transition: opacity 0.5s var(--ease); }
.step.is-active { opacity: 1; }
.step__n { font-family: var(--serif); font-size: 1rem; color: var(--gris); margin-bottom: 0.4rem; }
.step__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; margin: 0 0 0.8rem; }
.step__text { margin: 0; color: var(--gris); max-width: 34rem; }
.step__aside { display: grid; gap: 1rem; align-content: start; }
.step__aside div { font-size: 0.9375rem; }
.step__aside small { display: block; font-size: 0.8125rem; color: var(--gris); margin-bottom: 0.2rem; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; } .process { padding-left: 2.25rem; } .process__rail { left: 0.4rem; } }

/* ─── Journal ─── */
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; text-decoration: none; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.feature__media, .acard__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: #E6E0D5; }
.feature__media img, .acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.feature:hover img, .acard:hover img { transform: scale(1.025); }
.is-contain { object-fit: contain !important; background: var(--blanc); }
.ameta { font-size: 0.8125rem; color: var(--gris); margin: 0 0 0.6rem; }
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem); }
.acard { display: block; text-decoration: none; }
.acard .ameta { margin-top: 1.1rem; }
.acard h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.25; margin: 0 0 0.5rem; }
.acard p { margin: 0; color: var(--gris); font-size: 0.9375rem; }
.acard.is-hidden, .feature[hidden] { display: none; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .agrid { grid-template-columns: 1fr; } }

/* Article */
.progress { position: fixed; top: calc(var(--bar-h) + var(--hd-h)); left: 0; right: 0; height: 2px; z-index: 39; }
.progress i { display: block; height: 100%; width: 0; background: var(--champagne); }
.reader { width: min(100% - 2 * var(--gutter), 42rem); margin-inline: auto; }
.reader__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.reader__cover { width: min(100% - 2 * var(--gutter), 60rem); margin: clamp(2.5rem, 5vw, 4rem) auto; border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.4rem; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.2; margin: 3rem 0 1rem; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote { margin: 2.5rem 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--champagne); font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.4; }

/* ─── Contact ─── */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__aside { position: sticky; top: calc(var(--bar-h) + var(--hd-h) + 2rem); }
.contact__alt { display: grid; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.alt { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.1rem 0; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; text-decoration: none; cursor: pointer; }
.alt svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--gris); }
.alt b { display: block; font-weight: 600; font-size: 0.9375rem; }
.alt small { display: block; color: var(--gris); font-size: 0.8125rem; }
.alt:hover b { text-decoration: underline; text-underline-offset: 4px; }
.form-card { background: var(--blanc); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem); position: relative; min-height: 32rem; }
.steps-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.35rem; }
.steps-bar i { height: 2px; border-radius: 2px; background: var(--rule); transition: background-color 0.4s var(--ease); }
.steps-bar i.is-done { background: var(--noir); }
.steps-label { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--gris); margin: 0.8rem 0 2rem; }
.fstep { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.fstep.is-current { display: block; animation: fade 0.4s var(--ease) both; }
.fstep legend { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.15; padding: 0; margin-bottom: 0.5rem; }
.fstep legend:focus { outline: none; }
.fhint { color: var(--gris); font-size: 0.9375rem; margin: 0 0 1.75rem; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.type-opt input, .radio-chips input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt label { display: block; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--rule-strong); border-radius: 14px; cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.type-opt label:hover { border-color: var(--noir); }
.type-opt b { display: block; font-weight: 600; font-size: 0.9375rem; }
.type-opt small { display: block; color: var(--gris); font-size: 0.8125rem; margin-top: 0.15rem; }
.type-opt input:checked + label { border-color: var(--noir); box-shadow: inset 0 0 0 1px var(--noir); background: var(--ivoire); }
.type-opt input:focus-visible + label, .radio-chips input:focus-visible + label { outline: 2px solid var(--noir); outline-offset: 3px; }
.sub-legend { font-size: 0.875rem; font-weight: 600; margin: 1.5rem 0 0.7rem; }
.radio-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-chips label { min-height: 2.6rem; display: inline-flex; align-items: center; padding: 0 1.05rem; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 0.875rem; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.radio-chips label:hover { border-color: var(--noir); }
.radio-chips input:checked + label { background: var(--noir); border-color: var(--noir); color: var(--ivoire); }
.ferr { display: block; color: #9B2F2B; font-size: 0.8125rem; margin: 0.5rem 0 0; min-height: 1em; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; position: relative; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 3rem; padding: 0.75rem 0.95rem; border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--blanc); font: inherit; font-size: 1rem; color: var(--noir); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgb(20 18 16 / 0.1); }
.field.is-error input, .field.is-error textarea { border-color: #9B2F2B; }
.fcount { justify-self: end; font-size: 0.75rem; color: var(--gris); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.875rem; color: var(--gris); cursor: pointer; margin-top: 0.4rem; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--noir); flex: none; }
.summary { margin: 0; }
.summary div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.summary dt { color: var(--gris); }
.summary dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.factions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.25rem; }
.sending, .done { display: none; }
.sending.is-on { display: grid; place-items: center; min-height: 26rem; text-align: center; color: var(--gris); }
.converge { position: relative; width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem; display: grid; place-items: center; }
.converge img { width: 2rem; animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.45; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1); } }
.done.is-on { display: block; text-align: center; padding: 1.5rem 0; animation: fade 0.6s var(--ease) both; }
.done:focus { outline: none; }
.done > img { width: 2.25rem; margin: 0 auto 1.5rem; }
.done .summary { text-align: left; margin-top: 2rem; }
.done .actions { justify-content: center; }
dialog { border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); width: min(92vw, 32rem); background: var(--blanc); color: var(--noir); box-shadow: 0 30px 80px rgb(20 18 16 / 0.18); }
dialog::backdrop { background: rgb(20 18 16 / 0.32); backdrop-filter: blur(4px); }
dialog h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 0 0 0.4rem; }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
.slots button { min-height: 2.75rem; border: 1px solid var(--rule-strong); border-radius: 12px; background: none; font-size: 0.8125rem; cursor: pointer; }
.slots button[aria-pressed='true'] { background: var(--noir); border-color: var(--noir); color: var(--ivoire); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }
@media (max-width: 560px) { .type-grid, .fgrid { grid-template-columns: 1fr; } .summary div { grid-template-columns: 1fr; gap: 0.15rem; } .slots { grid-template-columns: repeat(3, 1fr); } }

/* ─── Comparaison ─── */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 1rem; border-bottom: 1px solid var(--rule); }
.cmp-table th { font-size: 0.8125rem; color: var(--gris); font-weight: 600; }
.cmp-table td:first-child { font-weight: 600; width: 22%; padding-left: 0; }
.cmp-table td { color: var(--gris); } .cmp-table td:first-child { color: var(--noir); }
.st { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; border: 1px solid; white-space: nowrap; color: var(--noir); }
.st--same { border-color: #9a948c; } .st--enriched { border-color: var(--champagne); } .st--new { border-color: #b0413e; } .st--changed { border-color: #3b6ea8; }
.panel h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 1rem; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: 0.6rem 0; border-top: 1px solid var(--rule); color: var(--gris); font-size: 0.9375rem; }
@media (max-width: 760px) { .cmp-table thead { display: none; } .cmp-table tr { display: grid; padding: 1rem 0; border-bottom: 1px solid var(--rule); } .cmp-table td { border: 0; padding: 0.25rem 0; width: auto !important; } .cmp-table td[data-th]::before { content: attr(data-th) ' : '; color: var(--gris); font-weight: 600; } }

/* ─── Pied de page ─── */
.ft { border-top: 1px solid var(--rule); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem; font-size: 0.9375rem; }
.ft__top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; width: min(100%, var(--max)); margin-inline: auto; }
.ft__brand img { width: 140px; height: auto; }
.ft__sig { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: 1rem 0 0; }
.ft__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 1rem clamp(2.5rem, 6vw, 5rem); }
.ft__cols div { display: grid; gap: 0.55rem; align-content: start; }
.ft__h { margin: 0 0 0.3rem; font-weight: 600; font-size: 0.875rem; }
.ft__cols a { color: var(--gris); text-decoration: none; } .ft__cols a:hover { color: var(--noir); text-decoration: underline; text-underline-offset: 4px; }
.ft__muted { color: var(--gris); font-size: 0.8125rem; }
.ft__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; width: min(100%, var(--max)); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--gris); font-size: 0.8125rem; }
@media (max-width: 700px) { .ft__cols { grid-template-columns: 1fr 1fr; } }

/* ─── Message ─── */
.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; max-width: 22rem; padding: 0.9rem 1.2rem; border-radius: 14px; background: var(--noir); color: var(--ivoire); font-size: 0.875rem; transform: translateY(160%); visibility: hidden; transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s; }
.toast.is-on { transform: none; visibility: visible; transition: transform 0.45s var(--ease-out); }

/* ─── Mouvement réduit ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .jelly { animation: none; }
}

/* ─── Journal : méduse flottante (même rendu que le hero de l'accueil, css/studio.css) ───
   Aucun fond ni cadre sombre : la méduse flotte sur le fond de la section, avec le même halo très doux. */
.acard__media.has-jelly, .feature__media.has-jelly { background: none; overflow: visible; }
.jf { position: relative; display: grid; place-items: center; }
.acard__media .jf, .feature__media .jf { height: 100%; }
.jf.reader__cover { aspect-ratio: 16 / 9; border-radius: 0; }
.jf__halo { position: absolute; inset: 4% 2% 0 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(122 92 48 / 0.16), rgb(201 164 102 / 0.10) 45%, rgb(201 164 102 / 0) 100%); filter: blur(6px); }
.jf__bob { position: relative; width: 94%; animation: jf-bob 10s ease-in-out infinite; }
@keyframes jf-bob { 50% { transform: translateY(-12px) rotate(-0.6deg); } }
.jf .jelly { position: relative; width: 100%; aspect-ratio: 1280 / 854; animation: none; }
.jf .jelly video, .jf .jelly img, .jf .jelly canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.4s var(--ease); }
.jf .jelly.is-ready video, .jf .jelly.is-ready img, .jf .jelly.is-ready canvas { opacity: 1; }
.jf .jelly[data-blend='key'] video, .jf .jelly[data-blend='key'] img { filter: url(#jelly-key); }
.jf .jelly[data-blend='webgl'] video { opacity: 0 !important; }
.acard:hover .jf__bob { transform: none; }

/* ─── Journal : retour au site (en-tête et bas de page) ─── */
.retour { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.5rem; padding: 0 1rem 0 0.85rem; border: 1px solid var(--rule-strong);
  border-radius: 999px; background: rgb(255 255 255 / 0.55); color: var(--noir); font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease); }
.retour::before { content: ''; width: 0.42rem; height: 0.42rem; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateX(1px) rotate(45deg); }
.retour:hover { border-color: var(--champagne); background: var(--blanc); }
.retour:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; }
.hd__back { margin-left: clamp(0.75rem, 2vw, 1.75rem); margin-right: auto; }
.retour-bas { display: flex; justify-content: center; padding: 0 var(--gutter) clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 900px) { .hd { gap: 0.75rem; } .hd__back { min-height: 2.75rem; } }
/* Mouvement réduit : la méduse garde son flottement (décision du 3 décembre 2026), malgré la règle générale plus haut */
@media (prefers-reduced-motion: reduce) { .jf__bob { animation: jf-bob 10s ease-in-out infinite !important; } .retour { transition: none; } }
