/* Preuves & Pratique : pages des études (dossier /etudes/).
   Chargée avant pp.css, qui apporte les couleurs et la typographie du site. */
:root{--paper:#F3F1EA;--card:#FFFFFF;--ink:#16232E;--slate:#5C6B74;--rule:#E4E1D8;--solid:#2F6B5A;--caveat:#9C3B2E;--measure:38rem}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-size:1.0625rem;line-height:1.65;-webkit-font-smoothing:antialiased}
.wrap{width:100%;max-width:60rem;margin:0 auto;padding:0 1.5rem}
a{color:var(--ink);text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:.05em}
a:hover{color:var(--solid)}
:focus-visible{outline:2px solid var(--solid);outline-offset:3px;border-radius:2px}
.masthead{border-bottom:1px solid var(--rule);padding:1.75rem 0 1.5rem}
.wordmark{font-size:1.3125rem;font-weight:600;letter-spacing:-0.005em;margin:0;line-height:1.2}
.wordmark a{text-decoration:none;color:var(--ink)}
.wordmark .amp{font-style:italic;font-weight:400;color:var(--slate);padding:0 .08em}
.masthead nav{margin-top:.6rem;font-size:.9375rem}
.masthead nav a{margin-right:1.25rem;color:var(--slate)}
.opening{padding:2.75rem 0 1.75rem}
footer{padding:2.5rem 0 3.5rem;border-top:1px solid var(--rule);margin-top:1.5rem}
footer p{font-size:.875rem;color:var(--slate);margin:0 0 .4rem}
footer nav{margin-bottom:1rem}
footer nav a{margin-right:1.25rem;font-size:.875rem}

/* ouverture */
.etude .fil{font-size:.875rem;margin:0 0 1.75rem;color:#9FB0B9}
.etude .fil a{text-decoration:none}
.etude .fil a:hover{text-decoration:underline}
.etude .fil span[aria-hidden]{padding:0 .5rem}
.etude .source-ligne{font-size:.9375rem;margin:0 0 .75rem;color:#D3DADE}
body.pp.etude .opening h1{font-weight:400;font-size:clamp(1.6rem,3.6vw,2.35rem);line-height:1.2;letter-spacing:-.015em;max-width:32ch;margin:0 0 1.5rem}
body.pp.etude.liste .opening h1{font-weight:300;font-size:clamp(2.2rem,5vw,3.4rem);line-height:1.08;max-width:22ch}
.etude .standfirst{max-width:var(--measure);margin:0}
.etude .verdict-ligne{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;margin:0;font-size:.9375rem;color:#D3DADE}
.pastille{display:inline-block;font-weight:600;font-size:.875rem;border-radius:999px;padding:.3rem .9rem;background:#E9ECE8;color:var(--ink)}
.pastille[data-verdict="solide"]{background:#E9F0EA;color:var(--solid)}
.pastille[data-verdict="fragile"]{background:#F5E9E5;color:var(--caveat)}

/* corps */
.etude .corps-etude{display:grid;grid-template-columns:1fr;gap:1.25rem;padding-top:2.5rem;align-items:start}
@media(min-width:56rem){.etude .corps-etude{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:1.5rem}}
.etude .bloc{background:var(--card);border-radius:20px;box-shadow:0 1px 0 rgba(20,33,42,.06);padding:1.75rem clamp(1.25rem,4vw,2.25rem)}
.etude .bloc + .bloc{margin-top:1.25rem}
.etude .bloc h2{font-size:1.25rem;line-height:1.3;margin:1.5rem 0 .4rem}
.etude .bloc h2:first-child{margin-top:0}
.etude .bloc p{margin:0 0 .75rem;max-width:var(--measure)}
.etude .bloc p:last-child{margin-bottom:0}
.etude .cote .bloc{padding:1.5rem}
.etude .cote h2{font-size:1.0625rem}
.etude .cote p,.etude .cote li{font-size:.9375rem;line-height:1.55}
.etude .cote ul{list-style:none;margin:0;padding:0}
.etude .cote li{margin:0 0 .4rem}
.etude .themes{display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none}
.etude .themes a{display:inline-block;font-size:.875rem;text-decoration:none;border:1px solid #CFCBC0;border-radius:999px;padding:.3rem .8rem;background:var(--card)}
.etude .themes a:hover{border-color:var(--slate);color:var(--ink)}
.etude .inscrire{background:#14212A;color:#D3DADE}
.etude .inscrire h2{color:#F3F1EA}
.etude .inscrire a.bouton{display:inline-block;margin-top:.25rem;background:#A9C2B4;color:#14212A;text-decoration:none;font-weight:600;border-radius:999px;padding:.6rem 1.2rem}
.etude .inscrire a.bouton:hover{background:#C9DCCD}

/* liste complète */
.liste .toutes{list-style:none;margin:0;padding:2.5rem 0 0}
.liste .toutes li{background:var(--card);border-radius:14px;box-shadow:0 1px 0 rgba(20,33,42,.06);padding:1rem 1.25rem;margin:0 0 .6rem}
.liste .toutes a{font-family:"Spectral",Georgia,serif;font-weight:500;font-size:1.0625rem;line-height:1.4;text-decoration:none}
.liste .toutes a:hover{text-decoration:underline}
.liste .toutes p{margin:.35rem 0 0;font-size:.875rem;color:var(--slate)}
.liste .toutes .v{font-weight:600}
.liste .toutes .v[data-verdict="solide"]{color:var(--solid)}
.liste .toutes .v[data-verdict="fragile"]{color:var(--caveat)}
