@font-face{font-family:"Montserrat";src:url(fonts/montserrat-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Montserrat";src:url(fonts/montserrat-800.woff2) format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"Source Serif";src:url(fonts/source-serif-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Source Serif";src:url(fonts/source-serif-400i.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Source Serif";src:url(fonts/source-serif-700.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --navy:#132235;--navy-2:#1c2f47;--red:#C94734;--red-d:#a83826;--ink:#1d2430;--muted:#5d6676;
  --line:#e3e1dc;--paper:#fbfaf7;--card:#fff;
  --sans:"Montserrat",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --serif:"Source Serif",Georgia,"Times New Roman",serif;
  --measure:40rem;--topbar:3.5rem;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--topbar) + 1rem);-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);font-size:1.125rem;line-height:1.65;font-kerning:normal;hyphens:auto;-webkit-hyphens:auto}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.skip{position:absolute;left:-999px;top:0;background:var(--red);color:#fff;padding:.5rem 1rem;z-index:100;font-family:var(--sans)}
.skip:focus{left:1rem;top:1rem}

/* progress + top bar */
.progress{position:fixed;inset:0 0 auto 0;height:3px;z-index:60;pointer-events:none}
.progress span{display:block;height:100%;width:0;background:var(--red);transition:width .1s linear}
.topbar{position:sticky;top:0;z-index:50;height:var(--topbar);display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 clamp(1rem,3vw,2rem);background:rgba(19,34,53,.96);backdrop-filter:blur(6px);color:#fff;font-family:var(--sans)}
.brand{font-weight:800;text-decoration:none;font-size:.95rem;letter-spacing:-.01em;white-space:nowrap}
.brand em,.foot-t em{font-style:normal;color:#ef6a55}
.topnav{display:flex;gap:.5rem;align-items:center}
.toc-btn{display:none;white-space:nowrap;font:600 .85rem var(--sans);color:#fff;background:transparent;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:.4rem .9rem;cursor:pointer}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:.4rem;font:600 .95rem/1 var(--sans);text-decoration:none;background:var(--red);color:#fff;border:2px solid var(--red);padding:.85rem 1.3rem;border-radius:999px;transition:background .15s,border-color .15s,color .15s}
.btn:hover{background:var(--red-d);border-color:var(--red-d)}
.btn small{font-weight:600;opacity:.75}
.btn-ghost{background:transparent;border-color:rgba(255,255,255,.55);color:#fff}
.btn-ghost:hover{background:#fff;border-color:#fff;color:var(--navy)}
.btn-sm{padding:.45rem .95rem;font-size:.85rem}
.btn-block{display:flex;justify-content:center;margin-top:1.25rem}
:focus-visible{outline:3px solid #f0a33a;outline-offset:2px}

/* hero */
.hero{position:relative;color:#fff;background:var(--navy) url(img/fond.webp) center/cover no-repeat;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(19,34,53,.97) 0%,rgba(19,34,53,.88) 45%,rgba(19,34,53,.55) 100%)}
.hero-in{position:relative;max-width:72rem;margin:0 auto;padding:clamp(3rem,8vw,6.5rem) clamp(1.25rem,4vw,2.5rem);display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.hero-k{font:600 .8rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#ef6a55;margin:0 0 1rem}
.hero h1{font:800 clamp(2.6rem,6.2vw,4.6rem)/1.02 var(--sans);letter-spacing:-.025em;margin:0 0 1.5rem}
.hero h1 .l{display:block}
.hero h1 .red{color:#ef6a55}
.hero-epi{font-style:italic;font-size:clamp(1.15rem,2vw,1.4rem);line-height:1.45;max-width:30rem;margin:0 0 1.25rem;color:#e8ebf0;border-left:3px solid var(--red);padding-left:1rem}
.hero-by{font:600 1rem var(--sans);margin:0 0 2rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:.75rem}
.hero-meta{font:600 .8rem var(--sans);color:#aeb7c4;margin:1.5rem 0 0}
.hero-cover img{width:100%;max-width:22rem;margin-left:auto;border-radius:4px;box-shadow:0 30px 60px -20px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.08);transform:rotate(1.5deg)}

/* sommaire cards */
.sommaire{max-width:72rem;margin:0 auto;padding:clamp(2.5rem,6vw,4.5rem) clamp(1.25rem,4vw,2.5rem) 1rem}
.sommaire h2{font:800 1.6rem var(--sans);letter-spacing:-.01em;color:var(--navy);margin:0 0 1.5rem}
.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(15.5rem,1fr));gap:1rem}
.cards a{display:flex;flex-direction:column;height:100%;background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden;text-decoration:none;transition:transform .15s,box-shadow .15s}
.cards a:hover{transform:translateY(-2px);box-shadow:0 12px 24px -12px rgba(19,34,53,.35)}
.cards img,.card-noimg{aspect-ratio:1055/297;object-fit:cover;width:100%}
.card-noimg{background:linear-gradient(120deg,var(--navy),var(--navy-2))}
.card-k{font:600 .72rem var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--red);padding:.9rem 1rem 0}
.card-t{font:800 1rem/1.3 var(--sans);color:var(--navy);padding:.35rem 1rem .5rem;flex:1}
.card-m{font:600 .75rem var(--sans);color:var(--muted);padding:0 1rem 1rem}

/* layout */
.layout{max-width:72rem;margin:0 auto;padding:2rem clamp(1.25rem,4vw,2.5rem) 4rem;display:grid;grid-template-columns:16.5rem minmax(0,1fr);gap:clamp(2rem,5vw,4.5rem)}
.toc,.cards,.topbar,.ch-title,.hero{hyphens:manual;-webkit-hyphens:manual}
.toc{font-family:var(--sans);font-size:.84rem;line-height:1.35}
.toc-in{position:sticky;top:calc(var(--topbar) + 1.5rem);max-height:calc(100vh - var(--topbar) - 3rem);overflow:auto;padding-right:.5rem;scrollbar-width:thin}
.toc-h{font-weight:800;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 .75rem;display:flex;justify-content:space-between}
.toc-close{display:none;background:none;border:0;font-size:1.6rem;line-height:1;cursor:pointer;color:var(--navy)}
.toc ol{list-style:none;margin:0;padding:0}
.toc-ch>a{display:grid;grid-template-columns:2.6rem 1fr;gap:.25rem;padding:.5rem .5rem;border-radius:6px;text-decoration:none;color:var(--navy);font-weight:600}
.toc-num{color:var(--red);font-weight:800;font-size:.75rem;padding-top:.1rem}
.toc-ch>a:hover{background:#f0eee9}
.toc-ch.active>a{background:var(--navy);color:#fff}
.toc-ch.active>a .toc-num{color:#ef6a55}
.toc-sub{display:none;margin:.25rem 0 .5rem 2.9rem!important;border-left:2px solid var(--line)}
.toc-ch.active .toc-sub{display:block}
.toc-sub a{display:block;padding:.3rem .75rem;text-decoration:none;color:var(--muted);font-weight:600;margin-left:-2px;border-left:2px solid transparent}
.toc-sub a:hover{color:var(--navy)}
.toc-sub a.active{color:var(--red);border-left-color:var(--red)}

/* article */
.article{min-width:0;max-width:var(--measure)}
.chapter{padding-top:1rem;margin-bottom:4rem}
.chapter+.chapter{border-top:1px solid var(--line);padding-top:3.5rem}
.banner{width:100%;aspect-ratio:1055/297;object-fit:cover;border-radius:10px;margin-bottom:2rem}
.ch-head{margin-bottom:2rem}
.kicker{font:600 .8rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin:0 0 .5rem}
.ch-title{font:800 clamp(1.9rem,4vw,2.6rem)/1.1 var(--sans);letter-spacing:-.02em;color:var(--navy);margin:0;hyphens:manual}
.ch-meta{font:600 .78rem var(--sans);color:var(--muted);margin:.75rem 0 0}
.article h3,.article h4,.article h5{font-family:var(--sans);color:var(--navy);hyphens:manual;position:relative}
.article h3{font-size:1.4rem;font-weight:800;line-height:1.25;letter-spacing:-.01em;margin:2.75rem 0 .9rem}
.article h4{font-size:1.12rem;font-weight:800;line-height:1.3;margin:2.25rem 0 .75rem}
.article h5{font-size:1rem;font-weight:600;line-height:1.3;margin:1.75rem 0 .5rem;color:var(--red)}
.article h4 em,.article h3 em{font-style:normal}
.anchor{opacity:0;margin-left:.4rem;text-decoration:none;color:var(--red);font-weight:600;transition:opacity .15s}
:is(h3,h4,h5):hover .anchor,.anchor:focus{opacity:1}
.article p{margin:0 0 1.15rem}
.article a{color:var(--navy);text-decoration:underline;text-decoration-color:rgba(201,71,52,.45);text-decoration-thickness:1.5px;text-underline-offset:.18em}
.article a:hover{text-decoration-color:var(--red);color:var(--red-d)}
.article a.anchor{text-decoration:none}
.article ul,.article ol{padding-left:1.25rem;margin:0 0 1.25rem}
.article li{margin:0 0 .7rem;padding-left:.25rem}
.article li::marker{color:var(--red)}
.article blockquote{margin:2rem 0;padding:.25rem 0 .25rem 1.4rem;border-left:4px solid var(--red);font-size:1.3rem;line-height:1.45;color:var(--navy)}
.article blockquote p{margin:0}
.sep{border:0;text-align:center;margin:2.5rem 0;height:1rem}
.sep::before{content:"• • •";color:var(--red);letter-spacing:.5em;font-family:var(--sans)}
sup{line-height:0}

/* footer */
.foot{background:var(--navy);color:#cfd5de;font-family:var(--sans);font-size:.9rem}
.foot-in{max-width:72rem;margin:0 auto;padding:3rem clamp(1.25rem,4vw,2.5rem)}
.foot-t{font-weight:800;font-size:1.2rem;color:#fff;margin:0 0 .25rem}
.foot p{margin:0 0 1rem}
.foot .btn{margin:0 .5rem .5rem 0}
.foot-c{color:#8d97a6;font-size:.8rem;margin-top:1.5rem!important}
.totop{position:fixed;right:1rem;bottom:1rem;width:2.75rem;height:2.75rem;border-radius:50%;border:0;background:var(--navy);color:#fff;font-size:1.2rem;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s;box-shadow:0 6px 16px rgba(0,0,0,.25);z-index:40}
.totop.show{opacity:1;pointer-events:auto}

/* 404 */
.p404{min-height:100vh;display:grid;place-items:center;background:var(--navy);color:#fff;text-align:center;padding:2rem}
.p404 h1{font:800 2.2rem var(--sans);margin:.5rem 0 2rem}

/* responsive */
@media (max-width:980px){
  .hero-in{grid-template-columns:1fr}
  .hero-cover{order:-1}
  .hero-cover img{max-width:9rem;margin:0;transform:none}
  .layout{grid-template-columns:1fr}
  .article{max-width:none}
  .toc-btn{display:inline-block}
  .toc{position:fixed;inset:0 auto 0 0;width:min(22rem,88vw);background:var(--paper);z-index:70;transform:translateX(-100%);transition:transform .25s ease;padding:1.25rem;visibility:hidden}
  .toc.open{transform:none;visibility:visible;box-shadow:0 0 40px rgba(0,0,0,.3)}
  .toc-in{position:static;max-height:calc(100vh - 2.5rem)}
  .toc-close{display:block}
  .toc-sub{display:block}
  body.toc-open::after{content:"";position:fixed;inset:0;background:rgba(19,34,53,.5);z-index:65}
}
@media (max-width:560px){
  body{font-size:1.05rem}
  .brand{font-size:.8rem;white-space:normal;line-height:1.15;max-width:9.5rem}
  .topbar{gap:.5rem}
  .hero-cta .btn{width:100%;justify-content:center}
}

/* print */
@media print{
  .topbar,.progress,.toc,.sommaire,.totop,.hero-cta,.anchor,.skip,.foot .btn{display:none!important}
  body{background:#fff;font-size:11pt}
  .hero{background:none;color:#000}.hero::before{display:none}
  .hero-in,.layout{display:block;padding:0}
  .hero-epi,.hero-meta{color:#000}
  .hero-cover{display:none}
  .chapter{break-before:page}
  .article a{color:#000;text-decoration:none}
  .foot{background:none;color:#000}
}
