/* Polices auto-hébergées (licence OFL) : mêmes familles que l’ancien appel Google Fonts, sous-ensembles latin et latin étendu, avec la vraie italique de Newsreader. */
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/newsreader-italique-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/newsreader-italique-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Refonte L’Hybride — maquette de l’accueil (niveaux 1, 2 et 3 de l’audit)
   Chargée après site.css, uniquement sur l’accueil tant que la maquette
   n’est pas validée. Contenu et charte inchangés : seule la présentation
   évolue. Les états masqués ne s’appliquent qu’avec html.refonte (ajoutée
   par refonte.js) : sans JS, tout reste visible.
   ========================================================================== */

:root{
  --navy:#10193e;--navy-2:#09112d;--cream:#f2eee4;--paper:#fbfaf6;
  --ink:#191b20;--ink-2:#3f434a;--ink-3:#5a5f68;--line:#d7d3ca;
  --cyan:#18bfd0;--cyan-ink:#0d7f8c;
  --on-navy:#d6d9e2;--on-navy-2:#aab2c6;--line-navy:rgba(255,255,255,.16);
  --ease-out:cubic-bezier(.16,1,.3,1);--ease-in-out:cubic-bezier(.65,0,.35,1);
  --marge:220px;--gouttiere:58px;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .2 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.38'/%3E%3C/svg%3E")
}

/* --- Typographie ---------------------------------------------------------- */
h1,h2,h3{text-wrap:balance;font-optical-sizing:auto}
p,li,blockquote{text-wrap:pretty}
html{hanging-punctuation:first}
.kicker,.mono{letter-spacing:.08em}

/* --- Transitions entre pages (natives, avec repli) ------------------------ */
@view-transition{navigation:auto}
.header{view-transition-name:entete}
::view-transition-old(root){animation:.22s var(--ease-out) both vt-sortie}
::view-transition-new(root){animation:.5s var(--ease-out) both vt-entree}
@keyframes vt-sortie{to{opacity:0;transform:translateY(-6px)}}
@keyframes vt-entree{from{opacity:0;transform:translateY(10px)}}

/* La page n’apparaît plus en fondu : le contenu est là dès le premier rendu. */
.route{animation:none}

/* --- Ancien système d’apparition neutralisé ------------------------------
   Plus de flou, plus d’alternance gauche-droite, plus de will-change
   permanent. Les apparitions passent par .anime / .vu (refonte.js). */
.reveal,html.js .reveal,html.js .reveal.in{opacity:1;transform:none;filter:none;will-change:auto}
html.refonte .anime{opacity:0;transform:translateY(14px);transition:opacity .7s var(--ease-out) var(--delai,0s),transform .9s var(--ease-out) var(--delai,0s)}
html.refonte .anime.vu{opacity:1;transform:none}

/* --- En-tête ---------------------------------------------------------------- */
.header{transition:transform .45s var(--ease-out),background-color .3s,box-shadow .3s}
.header.est-masque{transform:translateY(-100%)}
.header:focus-within{transform:none}
.navlinks{font-size:.84rem;gap:24px}
.navlinks a{color:rgba(255,255,255,.8)}
.navlinks a:not(.order):hover{transform:none}
.navlinks .order,.navlinks .order:hover{transform:none;box-shadow:none}

@media(max-width:960px){
  .navlinks{position:fixed;inset:68px 0 auto 0;height:calc(100dvh - 68px);overflow:auto;padding:22px var(--g) 36px;background:var(--navy-2);font:400 clamp(1.7rem,7vw,2.3rem)/1.15 var(--serif)}
  .navlinks a{padding:12px 0;border-bottom:1px solid var(--line-navy);color:#fff}
  .navlinks .order{margin-top:24px;padding:15px 18px;border:1px solid #fff;font:600 .9rem var(--sans);text-align:center}
  .navlinks.open{opacity:1;transform:none;transition:opacity .3s var(--ease-out),transform .45s var(--ease-out)}
  @starting-style{.navlinks.open{opacity:0;transform:translateY(-10px)}}
}

/* --- Boutons : un remplissage d’encre, plus de flèche partout -------------- */
.btn{--encre:linear-gradient(var(--remplissage,var(--navy)),var(--remplissage,var(--navy)));background-color:transparent;box-shadow:none;transition:background-size .4s var(--ease-out),background-color .25s,color .3s,border-color .3s}
.btn,.btn.primary,.btn.light{background-image:var(--encre);background-repeat:no-repeat;background-position:50% 100%;background-size:100% 0}
.btn:hover,.btn.primary:hover,.btn.light:hover{background-image:var(--encre);background-repeat:no-repeat;background-position:50% 100%;background-size:100% 100%}
.btn:hover{background-color:transparent;color:var(--encre-remplissage,#fff);transform:none;box-shadow:none}
.btn:active{transform:translateY(1px)}
.btn:before,.btn:after{content:none}
.btn.primary{background-color:var(--navy);color:#fff;--remplissage:var(--navy-2)}
.btn.primary:hover{background-color:var(--navy)}
.btn.primary:after{content:"→";font:500 .78rem var(--mono);transition:transform .3s var(--ease-out)}
.btn.primary:hover:after{transform:translateX(4px)}
.btn.light{--remplissage:var(--cream);--encre-remplissage:var(--navy);border-color:rgba(255,255,255,.6);color:#fff}
.btn.light:hover{background-color:transparent;border-color:var(--cream)}
.btn.disabled:after,.btn:disabled:after{content:none}

/* --- Titres courants : le sur-titre passe dans la marge, comme dans un livre */
.section-head .kicker,.reason-grid>.kicker,.statement-grid>.kicker,.matrix-layout .kicker,.photo-break-texte .mono{position:relative;padding-top:15px}
.section-head .kicker:before,.reason-grid>.kicker:before,.statement-grid>.kicker:before,.matrix-layout .kicker:before,.photo-break-texte .mono:before{content:"";position:absolute;left:0;top:0;width:28px;height:1px;background:var(--cyan);transform-origin:left}
html.refonte .anime .kicker:before,html.refonte .kicker.anime:before,html.refonte .anime .mono:before{transform:scaleX(0);transition:transform 1s var(--ease-out) calc(var(--delai,0s) + .15s)}
html.refonte .anime.vu .kicker:before,html.refonte .kicker.anime.vu:before,html.refonte .anime.vu .mono:before{transform:scaleX(1)}

@media(min-width:961px){
  .section-head{grid-template-columns:var(--marge) minmax(0,1fr);column-gap:var(--gouttiere);row-gap:18px;align-items:start;margin-bottom:44px}
  .section-head>div:first-child{display:contents}
  .section-head .kicker{grid-column:1;grid-row:1;margin-top:.9rem}
  .section-head h2{grid-column:2;grid-row:1;max-width:20ch}
  .section-head .lead{grid-column:2;grid-row:2;max-width:58ch;font-size:1.08rem}
  .editorial-list,.editorial-list+.actions,.reader-use-grid,.reader-reflexes,.regle-pages{margin-left:calc(var(--marge) + var(--gouttiere))}
}
@media(max-width:960px){
  .section-head{gap:14px}
  .section-head .kicker{margin-bottom:10px}
}

/* Filet du chapitre « Pourquoi ce livre » : il se trace. */
.rule{transform-origin:left}
html.refonte .anime .rule{transform:scaleX(0);transition:transform 1.2s var(--ease-out) .25s}
html.refonte .anime.vu .rule{transform:none}

/* --- Titres dévoilés ligne par ligne (mots découpés par refonte.js) ------- */
.mot{display:inline-block;overflow:clip;vertical-align:top;padding-bottom:.14em;margin-bottom:-.14em}
.mot>span{display:inline-block}
html.refonte .decoupe:not(.vu) .mot>span{transform:translateY(108%)}
html.refonte .decoupe .mot>span{transition:transform 1s var(--ease-out) calc(var(--ligne,0) * 90ms + var(--delai,0s))}

/* --- Hero ------------------------------------------------------------------ */
.hero-video-overlay{background:linear-gradient(90deg,rgba(6,15,46,.82) 0%,rgba(6,15,46,.6) 38%,rgba(6,15,46,.16) 68%,rgba(6,15,46,0) 100%)}
.hero-video-section h1{font-size:clamp(3.6rem,7.2vw,6.4rem);letter-spacing:-.028em;line-height:.94}
.hero .actions .btn:first-child{background-color:var(--cream);border-color:var(--cream);color:var(--navy);--remplissage:#fff;--encre-remplissage:var(--navy)}
.hero .actions .btn:first-child:after{content:"→";font:500 .78rem var(--mono);transition:transform .3s var(--ease-out)}
.hero .actions .btn:first-child:hover:after{transform:translateX(4px)}

/* Entrée orchestrée au chargement : une seule fois, en CSS. */
@media(prefers-reduced-motion:no-preference){
  html.js .hero-copy>*{animation:hero-entree .9s var(--ease-out) both}
  html.js .hero-copy>.kicker{animation-delay:.05s}
  html.js .hero-copy>h1{animation:hero-titre 1.1s var(--ease-out) .1s both}
  html.js .hero-copy>.subtitle{animation-delay:.28s}
  html.js .hero-copy>.intro{animation-delay:.36s}
  html.js .hero-copy>.hero-meta{animation-delay:.44s}
  html.js .hero-copy>.actions{animation-delay:.52s}
  html.js .hero-copy>.student-note{animation-delay:.6s}
}
@keyframes hero-entree{from{opacity:0;transform:translateY(12px)}}
@keyframes hero-titre{from{clip-path:inset(-.2em -.2em 100% -.2em);transform:translateY(.25em)}to{clip-path:inset(-.2em -.2em -.3em -.2em);transform:none}}

@media(max-width:800px){
  .hero.hero-video-section{display:block;min-height:0}
  .hero-video{position:relative;inset:auto;display:block;width:100%;height:clamp(250px,68vw,440px);object-position:70% 50%;transform:none!important}
  .hero-video-overlay{inset:0 0 auto 0;height:clamp(250px,68vw,440px);background:linear-gradient(180deg,rgba(8,17,47,0) 45%,#08112f 100%)}
  .hero-video-section .hero-grid{min-height:0;padding-top:0;padding-bottom:0}
  .hero-video-section .hero-copy{padding:4px 0 52px}
  .hero-video-section h1{font-size:clamp(3.2rem,15vw,4.2rem)}
}

/* --- Thèse : vraie italique, guillemets suspendus, encre au défilement ----- */
.statement-thesis{padding:96px 0}
.statement-thesis blockquote{padding:0;font:400 italic clamp(2.4rem,4.7vw,4.5rem)/1.06 var(--serif);letter-spacing:-.022em}
.statement-thesis blockquote em{font-weight:400}
.statement-thesis .thesis-quote{position:static;font:inherit;font-style:normal;color:var(--cyan)}
.statement-thesis .thesis-quote-open{position:absolute;left:0;top:0;transform:translateX(calc(-100% - .12em))}
.statement-thesis .thesis-quote-close{margin-left:.18em}
@media(max-width:960px){
  .statement-thesis blockquote{padding-left:.7em;font-size:clamp(2.1rem,9vw,3.2rem)}
  .statement-thesis .thesis-quote-open{left:.7em}
}
@supports (animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    .statement-thesis blockquote em{padding:0 .1em;margin:0 -.1em;color:transparent;background:linear-gradient(90deg,#fff 0 46%,rgba(255,255,255,.2) 54% 100%) 100% 0/200% 100% no-repeat;-webkit-background-clip:text;background-clip:text;animation:encre linear both;animation-timeline:view();animation-range:entry 70% cover 38%}
    .statement-thesis blockquote em~em{animation-range:cover 26% cover 50%}
  }
}
@keyframes encre{to{background-position:0 0}}

/* --- Matrice ------------------------------------------------------------- */
.matrix-axis-x,.matrix-axis-y{font-size:.64rem}
.matrix-axis-x i,.matrix-axis-y i{color:#7c818c}
.matrix-axis-x b,.matrix-axis-y b{color:#3f444e}
.quad{transition:background-color .7s var(--ease-out),color .7s var(--ease-out)}
.quad h3,.quad p{transition:color .7s var(--ease-out)}
.matrice-animee{border-left-color:transparent;border-bottom-color:transparent}
.matrice-animee:before,.matrice-animee:after{content:"";position:absolute;background:#353b46;z-index:2;pointer-events:none}
.matrice-animee:before{left:-1px;top:0;bottom:0;width:1px;transform-origin:bottom}
.matrice-animee:after{left:0;right:0;bottom:-1px;height:1px;transform-origin:left}
html.refonte .matrice-animee:not(.est-tracee):before{transform:scaleY(0)}
html.refonte .matrice-animee:not(.est-tracee):after{transform:scaleX(0)}
html.refonte .matrice-animee:before,html.refonte .matrice-animee:after{transition:transform 1s var(--ease-in-out)}
html.refonte .matrice-animee .quad{transition:opacity .7s var(--ease-out),transform .7s var(--ease-out),background-color .8s var(--ease-out)}
html.refonte .matrice-animee:not(.est-tracee) .quad{opacity:0;transform:translateY(8px)}
html.refonte .matrice-animee .quad:nth-child(3){transition-delay:.35s}
html.refonte .matrice-animee .quad:nth-child(1){transition-delay:.5s}
html.refonte .matrice-animee .quad:nth-child(4){transition-delay:.65s}
html.refonte .matrice-animee .quad:nth-child(2){transition-delay:.8s,.8s,0s}
html.refonte .matrice-animee:not(.est-arrivee) .quad.hybrid{background:#f8f7f2;color:var(--ink)}
html.refonte .matrice-animee:not(.est-arrivee) .quad.hybrid p{color:#575b62}
.matrice-point{position:absolute;z-index:3;left:9%;top:90%;width:13px;height:13px;margin:-6.5px 0 0 -6.5px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(16,25,62,.35);pointer-events:none;opacity:0;transition:left 1.3s var(--ease-in-out) 1s,top 1.3s var(--ease-in-out) 1s,opacity .4s .8s}
.est-tracee .matrice-point{opacity:1;left:91%;top:11%}

/* --- Structure du livre : règle des 336 pages ---------------------------- */
.regle-pages{margin-top:0;margin-bottom:30px}
.regle-pages-piste{position:relative;height:34px;border-bottom:1px solid var(--ink-3)}
.regle-pages-segment{position:absolute;bottom:0;height:9px;background:var(--navy);transform-origin:left;transition:background-color .3s,height .3s var(--ease-out)}
.regle-pages-segment span{position:absolute;left:0;bottom:calc(100% + 6px);font:500 .62rem/1 var(--mono);letter-spacing:.06em;color:var(--ink-3);transition:color .3s}
.regle-pages-segment.est-active{background:var(--cyan);height:16px}
.regle-pages-segment.est-active span{color:var(--navy)}
.regle-pages-bornes{display:flex;justify-content:space-between;margin-top:7px;font:500 .62rem/1 var(--mono);letter-spacing:.06em;color:var(--ink-3)}
html.refonte .regle-pages:not(.vu) .regle-pages-segment{transform:scaleX(0)}
html.refonte .regle-pages .regle-pages-segment{transition:transform .9s var(--ease-out) calc(var(--i) * 140ms),background-color .3s,height .3s var(--ease-out)}
.editorial-row.est-active{box-shadow:inset 3px 0 0 var(--cyan);padding-left:14px}
.editorial-row:hover{background:transparent;padding-left:14px}

/* --- Quatrième de couverture : l’objet plutôt que la texture ------------- */
.photo-break-objet{min-height:0;display:block;background:var(--navy);transform:none!important;padding:0}
.photo-break-objet:before{content:none}
.photo-break-objet .shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:var(--gouttiere);align-items:end;padding-bottom:0}
.photo-break-texte{padding:96px 0 88px}
.photo-break-texte h2{font-size:clamp(2.3rem,4vw,3.6rem);max-width:17ch;margin-top:6px}
.photo-break-texte .mono{color:var(--on-navy-2)}
.photo-break-image{margin:0;align-self:stretch;overflow:hidden;background:#e6e6e3}
.photo-break-image img{width:100%;height:100%;max-height:640px;object-fit:cover;object-position:50% 38%}
html.refonte .photo-break-image.anime{opacity:1;transform:none;clip-path:inset(100% 0 0 0);transition:clip-path 1.2s var(--ease-in-out)}
html.refonte .photo-break-image.anime.vu{clip-path:inset(0)}
html.refonte .photo-break-image.anime img{transform:scale(1.08);transition:transform 1.6s var(--ease-out)}
html.refonte .photo-break-image.anime.vu img{transform:none}
@media(max-width:960px){
  .photo-break-objet .shell{grid-template-columns:1fr;gap:0}
  .photo-break-texte{padding:64px 0 36px}
  .photo-break-image{height:440px;margin:0 calc(var(--g) * -1)}
}

/* --- Usages et réflexes -------------------------------------------------- */
.reader-use:hover{transform:none;box-shadow:none}

/* --- Certification : une liste, pas des pastilles ----------------------- */
.certification-band-photo{background-attachment:scroll}
.certification-band-photo .certification-pills{gap:6px 0}
.certification-band-photo .certification-pill{min-height:0;padding:0;border:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;font:500 .7rem/1.4 var(--mono);letter-spacing:.08em;color:rgba(255,255,255,.82)}
.certification-band-photo .certification-pill+.certification-pill:before{content:"·";margin:0 12px;color:var(--cyan)}
.certification-band-photo .certification-pill img{width:12px;height:12px}

/* --- Feuilleteuse : plate, carrée, réglée comme une règle ---------------- */
.book-viewer{background:var(--cream);border:0;box-shadow:none}
.book-arrow{border-radius:0;border-color:var(--navy);background:transparent;transition:background-color .25s,color .25s}
.book-arrow:hover{transform:none;background:var(--navy);color:#fff}
.book-dot{width:18px;height:3px;border-radius:0;background:#c3c0b8;transition:width .35s var(--ease-out),background-color .3s}
.book-dot.active{width:36px;height:3px;border-radius:0;background:var(--navy)}
@media(max-width:640px){.book-arrow:hover{transform:translateY(-50%)}}

/* --- Briefs : même traitement bichrome pour toutes les photos ----------- */
.news-home{background:var(--paper)}
.news-home-grid{gap:34px}
.news-home-card,.news-home-card:not(:first-child),.news-home-card:last-child{border:0;border-top:1px solid var(--ink);background:transparent;padding-top:18px}
.news-home-card:hover{transform:none;box-shadow:none}
.news-home-media{position:relative;height:210px;background:var(--navy);isolation:isolate}
.news-home-media img{filter:grayscale(1) contrast(1.08) brightness(1.04);mix-blend-mode:screen;transition:transform 1.1s var(--ease-out)}
.news-home-media:after{content:"";position:absolute;inset:0;background:var(--cream);mix-blend-mode:multiply;pointer-events:none}
.news-home-card:hover .news-home-media img{transform:scale(1.03)}
.news-home-copy{padding:20px 0 0}
.news-home-card h3 a{background:linear-gradient(var(--cyan),var(--cyan)) no-repeat 0 100%/0 1px;transition:background-size .5s var(--ease-out)}
.news-home-card:hover h3 a{background-size:100% 1px}
html.refonte .news-home-card.anime .news-home-media{clip-path:inset(0 0 100% 0);transition:clip-path 1.1s var(--ease-in-out) var(--delai,0s)}
html.refonte .news-home-card.anime.vu .news-home-media{clip-path:inset(0)}

/* --- Médias : lisibles, sans débordement --------------------------------- */
.media-proof-logo{opacity:.72}
.media-proof-logo:hover{opacity:1;transform:none}
@media(max-width:1180px){
  .media-proof-inner{grid-template-columns:minmax(0,1fr);gap:20px}
  .media-proof-logos{grid-template-columns:repeat(6,minmax(0,1fr));justify-items:start}
  .media-proof-logo img,.media-proof-logo img[src]{max-width:100%}
  .media-proof-more{grid-column:auto;justify-self:start}
}
@media(max-width:760px){
  .media-proof-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 16px}
  .media-proof-logo{padding:0}
  .media-proof-logo img,.media-proof-logo img[src]{max-width:100%}
}
@media(max-width:420px){
  .media-proof-logos{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* --- Auteur : portrait net, sans bords fondus ---------------------------- */
.author-photo img{-webkit-mask-image:none;mask-image:none}
.author-photo:hover img{transform:none}
html.refonte .author-photo.anime{opacity:1;transform:none;clip-path:inset(0 100% 0 0);transition:clip-path 1.3s var(--ease-in-out)}
html.refonte .author-photo.anime.vu{clip-path:inset(0)}
@media(max-width:960px){
  .author-home .author-photo{order:1;min-height:0}
  .author-home .author-photo img{height:min(520px,110vw);object-position:center 22%}
  .author-home .author-grid>div:last-child{order:2;padding-bottom:64px}
}

/* --- Commander : l’offre Maroc en premier plan --------------------------- */
.purchase-section .buy-grid.buy-3{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)}
.purchase-section .buy-card:hover{transform:none;box-shadow:none;background:transparent}
.purchase-section .buy-card:first-child,.purchase-section .buy-card:first-child:hover{background:var(--navy);border-color:var(--navy)!important}
.purchase-section .buy-card:first-child .eyebrow{color:var(--on-navy-2)!important}
.purchase-section .buy-card:first-child .price,.purchase-section .buy-card:first-child p strong{color:#fff!important}
.purchase-section .buy-card:first-child p{color:var(--on-navy)!important}
.purchase-section .buy-card:first-child .btn.primary{background-color:var(--cream);border-color:var(--cream);color:var(--navy);--remplissage:#fff;--encre-remplissage:var(--navy)}
.purchase-section .buy-card:first-child .student-price-link a{color:#fff;border-color:var(--cyan)}
.purchase-section .buy-card:last-child .price{color:#8a8f99!important}
.purchase-section .buy-card:last-child .btn.disabled{min-height:0;padding:0;border:0;opacity:1;font:500 .7rem var(--mono);letter-spacing:.08em;text-transform:uppercase;color:#8a8f99!important}
@media(max-width:960px){.purchase-section .buy-grid.buy-3{grid-template-columns:minmax(0,1fr)}}

/* --- Matière : grain papier très léger sur les fonds crème ------------- */
.section.cream,.media-proof-band,.purchase-section{background-image:var(--grain);background-size:180px}

/* --- Animations réduites : tout est visible, rien ne bouge ------------- */
@media(prefers-reduced-motion:reduce){
  html.refonte .anime,html.refonte .decoupe .mot>span,html.refonte .matrice-animee .quad,html.refonte .regle-pages .regle-pages-segment{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}
  .header.est-masque{transform:none}
  .matrice-point{display:none}
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

/* --- En-têtes photo : une vraie image (prioritaire), plus de fond fixe --- */
.page-hero.has-photo-bg,.chapter-hero,.article-hero,.visual-strip{isolation:isolate;background-attachment:scroll!important}
.hero-fond{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none}

/* --- Entrée des en-têtes : même geste que l’accueil -------------------- */
@media(prefers-reduced-motion:no-preference){
  html.js .page-hero h1,html.js .chapter-hero h1,html.js .article-hero h1{animation:hero-titre 1.1s var(--ease-out) .05s both}
  html.js .page-hero .lead,html.js .page-hero .actions,html.js .chapter-meta,html.js .article-hero-copy p{animation:hero-entree .9s var(--ease-out) .3s both}
}

/* Plus de halo radial décoratif dans les en-têtes. */
.page-hero:after,.concept-hero:after,.explain-hero:after,.chapter-hero:before{content:none}
.page-hero.has-photo-bg:before{background:linear-gradient(90deg,rgba(7,15,43,.92) 0%,rgba(7,15,43,.82) 45%,rgba(7,15,43,.6) 100%)}

/* --- Glossaire (« L’Hybride explique ») : une entrée de dictionnaire ----- */
.page-hero.explain-hero{background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line)}
.explain-hero h1{color:var(--ink);font-size:clamp(3.2rem,8vw,6.6rem);letter-spacing:-.03em}
.explain-hero .lead{color:var(--ink-3)}
.explain-hero .breadcrumbs,.explain-hero .breadcrumbs a,.explain-hero .breadcrumbs span{color:var(--ink-3)}
.explain-hero .kicker{color:var(--cyan-ink)!important}
.explain-definition{font-family:var(--serif)}

/* --- Concepts : en-tête bleu marine uni, sans dégradé ------------------- */
.page-hero.concept-hero{background:var(--navy)}

/* --- Chapitres : une ouverture de chapitre, comme dans le livre -------- */
.chapter-hero{padding:96px 0 80px}
.chapter-hero .hero-fond{filter:grayscale(1) contrast(1.05)}
.chapter-hero-overlay{background:linear-gradient(90deg,rgba(7,15,43,.94) 0%,rgba(7,15,43,.84) 55%,rgba(7,15,43,.7) 100%)}
.numero-chapitre{display:block;margin:0 0 10px;font:400 clamp(4.2rem,10vw,8.5rem)/.82 var(--serif);letter-spacing:-.04em;color:var(--cyan);text-transform:none}
.chapter-meta{border-top-color:var(--line-navy)}
.chapter-meta>div{border-bottom-color:var(--line-navy)}

/* --- Briefs : photos au même traitement que l’accueil ----------------- */
.article-hero .hero-fond{filter:grayscale(1) contrast(1.06)}
.article-hero-overlay{background:linear-gradient(100deg,rgba(7,15,43,.94) 0%,rgba(9,17,45,.8) 55%,rgba(9,17,45,.55) 100%)}
.news-card{border:0;border-top:1px solid var(--ink);background:transparent}
.news-card:hover{transform:none;box-shadow:none}
.news-card-media{position:relative;background:var(--navy);isolation:isolate}
.news-card-media img{filter:grayscale(1) contrast(1.08) brightness(1.04);mix-blend-mode:screen}
.news-card-media:after{content:"";position:absolute;inset:0;background:var(--cream);mix-blend-mode:multiply;pointer-events:none}
.news-card-copy h3 a{background:linear-gradient(var(--cyan),var(--cyan)) no-repeat 0 100%/0 1px;transition:background-size .5s var(--ease-out)}
.news-card:hover .news-card-copy h3 a{background-size:100% 1px}

/* --- Figure de la page 17 : la reproduction, posée comme une page ----- */
.book-figure{background:var(--paper);border:0;padding:clamp(18px,3vw,40px);box-shadow:0 1px 0 var(--line),0 24px 50px -30px rgba(16,25,62,.35)}
.book-figure figcaption{font-size:.84rem;color:var(--ink-3)}

/* --- Cartes et listes : plus de soulèvement ni d’ombre au survol ------ */
.audience:hover,.usage-card:hover,.resource-card:hover,.press-mention-card:hover,.press-angle-card:hover,.press-download:hover,.press-copy-block:hover,.buy-card:hover,.radar-card:hover{transform:none;box-shadow:none}
.press-topics span:hover,.radar-liens a:hover,.footer-links a:hover{transform:none}
.press-mention-logo img{opacity:.8}
.share-btn{border-radius:0}

/* Sur-titres d’en-tête : un peu d’air avant le titre. */
.page-hero-grid .kicker,.article-hero-copy .kicker{display:block;margin-bottom:16px}
/* En mobile, le titre passe sur toute la largeur de la photo : voile uniforme. */
@media(max-width:800px){.page-hero.has-photo-bg:before{background:rgba(7,15,43,.88)}}
/* Tableaux de concepts (Quintette…) : défilement dans leur cadre, jamais de la page. */
.concept-intro-grid>*,.concept-visual-block{min-width:0}
.quintette-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
