/* ============================================
   a) RESET CSS BASIQUE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   b) VARIABLES CSS - CHARTE LE PROFESSOR
   ============================================ */
:root {
    /* --- Tons sombres --- */
    --deep: #0d1f15;
    --surface: #132b1e;
    --surface-2: #1a3c2a;

    /* --- Or --- */
    --gold: #e8c44a;
    --gold-dim: rgba(232, 196, 74, 0.15);
    --gold-glow: rgba(232, 196, 74, 0.4);
    --gold-dark: #d4a843;

    /* --- Verts d'accent --- */
    --green: #4a9e6e;
    --green-light: #6fcf97;

    /* --- Tons clairs --- */
    --cream: #f5f2eb;
    --cream-warm: #ece7dc;

    /* --- Textes --- */
    --text-dark: #1a1a1a;
    --text-mid: #555;
    --text-muted: #999;

    /* --- Neutres et utilitaires --- */
    --white: #ffffff;
    --blue: #5b8def;
    --red: #c0392b;

    /* --- Échelle typographique modulaire (ratio ~1.333) ---
       clamp(min, fluide-vw, max) → fluidité responsive sans media queries */
    --font-h1: clamp(2.5rem, 4.5vw + 1rem, 4rem);      /* hero, climax */
    --font-h2: clamp(2rem, 3vw + 1rem, 2.75rem);       /* sections principales */
    --font-h3: clamp(1.5rem, 1.5vw + 1rem, 1.875rem);  /* sous-sections */
    --font-h4: clamp(1.25rem, 1vw + 1rem, 1.5rem);     /* mises en avant */
    --font-h5: 1.125rem;
    --font-h6: 1rem;
    --font-body: clamp(1rem, 0.3vw + 0.95rem, 1.0625rem); /* lecture longue */
    --font-lead: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);  /* chapeaux/intros */
    --font-small: 0.875rem;
}

/* ============================================
   c) TYPOGRAPHIE
   ============================================ */
body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    font-size: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: var(--font-h1); line-height: 1.08; font-weight: 900; }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
h4 { font-size: var(--font-h4); line-height: 1.25; }
h5 { font-size: var(--font-h5); line-height: 1.35; }
h6 {
    font-size: var(--font-h6);
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

p {
    margin: 0 0 1em;
    max-width: 65ch; /* longueur de lecture confort pour la copy long-form */
}

.lead {
    font-size: var(--font-lead);
    font-weight: 500;
    line-height: 1.55;
}

.small {
    font-size: var(--font-small);
    color: var(--text-mid);
}

/* Mise en valeur brand : italique en doré, comme dans masterclass.html */
em {
    font-style: italic;
    color: var(--gold);
    font-weight: inherit;
}
.section-light em,
.section-light-warm em,
.section-bright em {
    color: var(--gold-dark); /* contraste sur fond clair */
}

/* ============================================
   d) CLASSES UTILITAIRES DE SECTION
   Alternance sombre / clair pour la longue page
   ============================================ */

/* ---------- d.1) Variantes sombres : atmosphère, autorité, climax ---------- */

/* .section-dark = atmosphère "live.leprofessor.fr/masterclass" :
   1. mesh gradient (vert + doré + touche bleu pour la profondeur)
   2. bruit SVG fractal (opacity 0.03 dans le SVG, voilé à 0.5)
   3. shimmer doré très lent qui balaye horizontalement */
.section-dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 0;
    color: var(--white);
    background-color: var(--deep);
    background-image:
        radial-gradient(ellipse 60% 50% at 15% 20%, rgba(74, 158, 110, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 85% 30%, rgba(232, 196, 74, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 85%, rgba(91, 141, 239, 0.06) 0%, transparent 50%);
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.section-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(232, 196, 74, 0.05) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: shimmer 14s ease-in-out infinite;
}

.section-dark-2 {
    position: relative;
    padding: 5rem 0;
    color: var(--white);
    background-color: var(--surface);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 196, 74, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(74, 158, 110, 0.06) 0%, transparent 60%);
}

.section-dark-3 {
    position: relative;
    padding: 5rem 0;
    color: var(--white);
    background-color: var(--surface-2);
    background-image:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232, 196, 74, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(111, 207, 151, 0.05) 0%, transparent 55%);
}

/* ---------- d.2) Variantes claires : lecture, preuves, décision ---------- */

/* .section-light = ambiance "papier crème" subtile :
   - radial gradients très discrets (or pâle + vert d'eau)
   - bruit fractal voilé pour effet papier
   - pas de shimmer (lecture longue = calme) */
.section-light {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 0;
    color: var(--text-dark);
    background-color: var(--cream);
    background-image:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(232, 196, 74, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 60% at 90% 100%, rgba(74, 158, 110, 0.04) 0%, transparent 55%);
}

.section-light::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: multiply; /* le bruit prend la teinte du fond crème */
}

/* Variante plus chaude : pour zones témoignages/garanties */
.section-light-warm {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 0;
    color: var(--text-dark);
    background-color: var(--cream-warm);
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 196, 74, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(212, 168, 67, 0.05) 0%, transparent 55%);
}

.section-light-warm::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: multiply;
}

/* Variante neutre/clinique : pour contenu très lisible (FAQ, méthode) */
.section-bright {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 0;
    color: var(--text-dark);
    background-color: var(--white);
    background-image:
        radial-gradient(ellipse 90% 40% at 50% 0%, rgba(232, 196, 74, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(74, 158, 110, 0.03) 0%, transparent 50%);
}

/* ---------- d.3) Transitions entre sections ---------- */

/* Divider à insérer entre deux sections de tons opposés.
   Usage : <div class="section-divider dark-to-light"></div>
   Trois variantes : fondu vertical, ligne dorée, pas de fondu (juste accent) */
.section-divider {
    width: 100%;
    height: 4rem;
    pointer-events: none;
}

.section-divider.dark-to-light {
    background: linear-gradient(to bottom, var(--deep) 0%, var(--cream) 100%);
}

.section-divider.light-to-dark {
    background: linear-gradient(to bottom, var(--cream) 0%, var(--deep) 100%);
}

.section-divider.dark-to-light-warm {
    background: linear-gradient(to bottom, var(--deep) 0%, var(--cream-warm) 100%);
}

.section-divider.light-warm-to-dark {
    background: linear-gradient(to bottom, var(--cream-warm) 0%, var(--deep) 100%);
}

/* Fine ligne dorée — accent élégant entre deux sections de même registre.
   Usage : <div class="section-divider gold-line"></div> */
.section-divider.gold-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-glow), transparent);
}

/* ============================================
   e) CONTAINER RESPONSIVE
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: 720px; /* lecture longue confortable */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   f) BOUTON CTA DE BASE
   ============================================ */
.cta-primary {
    display: inline-block;
    background-color: var(--gold);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1.125rem 2.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.cta-primary:active {
    transform: translateY(0);
}

/* ============================================
   g) ANIMATIONS
   ============================================ */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ============================================
   h) ACCESSIBILITÉ
   Respect de prefers-reduced-motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .section-dark::after {
        animation: none;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   i) PLACEHOLDER ÉDITORIAL — "La Métamorphose"
   Mise en scène : épreuve d'imprimerie d'un livre rare
   en attente de bon-à-tirer. À remplacer après le 19 mai.
   ============================================ */

/* Composition : .section-dark conserve l'atmosphère masterclass.
   On ajoute lignes de manuscrit + grille éditoriale 4 rangs. */
.section-dark.placeholder {
    padding: clamp(2rem, 5vh, 3.5rem) clamp(1.5rem, 5vw, 4rem);
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: clamp(2rem, 4.5vh, 3.5rem);
    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 47px,
            rgba(232, 196, 74, 0.022) 47px,
            rgba(232, 196, 74, 0.022) 48px
        ),
        radial-gradient(ellipse 60% 50% at 15% 20%, rgba(74, 158, 110, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 85% 30%, rgba(232, 196, 74, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 85%, rgba(91, 141, 239, 0.06) 0%, transparent 50%);
}

/* Bookmark ribbon : fil doré vertical, marge gauche */
.placeholder__ribbon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: clamp(1rem, 3vw, 2.5rem);
    width: 1px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--gold-glow) 12%,
        var(--gold-dim) 50%,
        var(--gold-glow) 88%,
        transparent 100%
    );
}

/* Ambient gold : halo doré qui suit le curseur (script.js) */
.placeholder__ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        circle 700px at var(--mx, 50%) var(--my, 30%),
        rgba(232, 196, 74, 0.045) 0%,
        rgba(232, 196, 74, 0.012) 35%,
        transparent 60%
    );
    mix-blend-mode: screen;
    transition: background 0.5s ease;
}

/* Filigrane vertical "Métamorphose" — fantôme typographique éditorial */
.placeholder__watermark {
    position: absolute;
    top: 50%;
    right: clamp(-0.5rem, 0.5vw, 1.25rem);
    z-index: 0;
    pointer-events: none;
    user-select: none;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    transform-origin: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(7rem, 17vw, 14rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: rgba(232, 196, 74, 0.038);
    white-space: nowrap;
}

/* === HEADER : ledger / fiche bibliographique === */
.ledger {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 0 clamp(0.5rem, 2vw, 2rem);
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(245, 242, 235, 0.55);
}
.ledger__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.24em;
}
.ledger__rule {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--gold);
}
.ledger__name sup {
    font-size: 0.5em;
    margin-left: 0.18em;
    letter-spacing: 0;
}
.ledger__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.ledger__pair em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
    margin-right: 0.2em;
    font-family: 'Playfair Display', serif;
    font-size: 1.15em;
}
.ledger__sep {
    color: rgba(232, 196, 74, 0.4);
    font-weight: 400;
    letter-spacing: 0;
}

/* === FOLIO : composition deux colonnes asymétrique 1.6:1 === */
.folio {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: 0 clamp(0.5rem, 2vw, 2rem);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* --- Colonne titre --- */
.folio__title {
    min-width: 0;
}

.overline {
    margin: 0 0 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--gold);
    display: inline-flex;
    align-items: baseline;
    gap: 0.7em;
    max-width: none;
}
.overline em {
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.04em;
    color: var(--cream);
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    margin-left: 0.1em;
}
.overline__numeral {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4em;
    line-height: 1;
    color: var(--gold-glow);
}

/* OPUS — titre principal sur deux registres : article cassé + nom monumental */
.opus {
    margin: 0 0 1.85rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.025em;
    color: var(--cream);
}
.opus__article {
    display: block;
    font-size: clamp(2.25rem, 5.5vw, 3.85rem);
    color: rgba(245, 242, 235, 0.62);
    margin-left: 0.05em;
    margin-bottom: -0.08em;
}
.opus__noun {
    display: block;
    font-size: clamp(3.25rem, 10.5vw, 8.25rem);
    line-height: 0.9;
}
.opus__noun em {
    font-style: italic;
    font-weight: 700;
    background-image: linear-gradient(
        120deg,
        var(--cream) 0%,
        var(--cream) 30%,
        var(--gold) 50%,
        var(--cream) 70%,
        var(--cream) 100%
    );
    background-size: 250% 100%;
    background-position: -50% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: title-shimmer 9s ease-in-out infinite;
    transition: filter 0.6s ease;
}
.folio:hover .opus__noun em {
    filter: drop-shadow(0 0 35px var(--gold-glow));
}
@keyframes title-shimmer {
    0%, 100% { background-position: -50% center; }
    50%      { background-position: 150% center; }
}

/* Trait doré tracé au load */
.opus__rule {
    display: block;
    height: 1px;
    width: 6.5rem;
    margin: 0 0 1.75rem;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold-dim) 100%);
    transform-origin: left center;
    transform: scaleX(0);
    animation: rule-draw 1.4s cubic-bezier(0.7, 0, 0.3, 1) forwards;
    animation-delay: var(--d, 1100ms);
}
@keyframes rule-draw {
    to { transform: scaleX(1); }
}

/* Imprimatur — date d'ouverture typographiée */
.release {
    margin: 0;
    line-height: 1.4;
    max-width: none;
}
.release__caption {
    display: block;
    margin-bottom: 0.45rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: rgba(245, 242, 235, 0.5);
}
.release__date {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1;
    color: var(--cream);
}
.release__date em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

/* === Colonne droite : fiche d'épreuve / bon à tirer === */
.proof {
    position: relative;
    padding: 1.75rem 1.85rem 1.85rem;
    border: 1px solid rgba(232, 196, 74, 0.18);
    background: rgba(13, 31, 21, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.5s ease, transform 0.5s ease;
}
.proof:hover {
    border-color: rgba(232, 196, 74, 0.35);
    transform: translateY(-2px);
}
/* Marques d'angle dorées style "tampon de validation" */
.proof::before,
.proof::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid var(--gold);
}
.proof::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}
.proof::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.proof__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(232, 196, 74, 0.18);
}
.proof__label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--gold);
}
.proof__stamp {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(245, 242, 235, 0.55);
    letter-spacing: 0.04em;
}

.proof__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0 0 1.35rem;
}
.proof__row {
    display: grid;
    grid-template-columns: 6.5em 1fr;
    gap: 0.75rem;
    align-items: baseline;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    line-height: 1.4;
}
.proof__row dt {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(245, 242, 235, 0.45);
}
.proof__row dd {
    color: rgba(245, 242, 235, 0.85);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.proof__row dd time {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}
.proof__dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 var(--gold-glow);
    animation: status-pulse 2.6s ease-out infinite;
}
@keyframes status-pulse {
    0%   { box-shadow: 0 0 0 0 var(--gold-glow); }
    70%  { box-shadow: 0 0 0 12px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.proof__countdown {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(232, 196, 74, 0.18);
    font-family: 'Outfit', sans-serif;
}
.proof__count {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--cream);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
    min-width: 1.5em;
    display: inline-block;
    text-align: right;
}
.proof__count[data-pulse] {
    color: var(--gold);
}
.proof__unit {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(245, 242, 235, 0.5);
    margin-right: 0.35rem;
}
.proof__sep {
    color: rgba(232, 196, 74, 0.35);
    font-size: 1.3rem;
    line-height: 1;
    margin: 0 0.1rem;
}

/* === SOMMAIRE en filigrane === */
.contents {
    position: relative;
    z-index: 1;
    padding: 0 clamp(0.5rem, 2vw, 2rem);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}
.contents__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(245, 242, 235, 0.45);
}
.contents__label {
    color: var(--gold);
    flex-shrink: 0;
}
.contents__rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--gold-dim) 0%, transparent 100%);
}
.contents__hint {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.92rem;
    color: rgba(245, 242, 235, 0.4);
    flex-shrink: 0;
}

.contents__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.25rem 2rem;
}
.contents__list li {
    display: grid;
    grid-template-columns: 2.5em 1fr auto;
    gap: 0.6rem;
    align-items: baseline;
    padding: 0.3rem 0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: rgba(245, 242, 235, 0.18);
    transition: color 0.4s ease;
}
.contents__list:hover li {
    color: rgba(245, 242, 235, 0.3);
}
.contents__list li:hover {
    color: rgba(245, 242, 235, 0.55);
}
.contents__num {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(232, 196, 74, 0.35);
    transition: color 0.4s ease;
}
.contents__list li:hover .contents__num {
    color: var(--gold);
}
.contents__leader {
    height: 1px;
    border-bottom: 1px dotted currentColor;
    align-self: center;
    margin-bottom: 0.25em;
    opacity: 0.7;
}
.contents__page {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: inherit;
    letter-spacing: 0.05em;
}

/* === COLOPHON : note + signature === */
.colophon {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 clamp(0.5rem, 2vw, 2rem);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}
.colophon__note {
    margin: 0;
    max-width: 38ch;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(245, 242, 235, 0.5);
}
.colophon__note strong {
    color: var(--gold);
    font-weight: 500;
}
.colophon__signature {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: rgba(245, 242, 235, 0.78);
    text-align: right;
    white-space: nowrap;
    max-width: none;
}
.colophon__signature em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}
.colophon__rule {
    display: inline-block;
    width: 1.8em;
    height: 1px;
    background: var(--gold);
}

/* Stagger reveal piloté par --d */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal-up 1.1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    animation-delay: var(--d, 0ms);
}
@keyframes reveal-up {
    to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 920px) {
    .folio {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .placeholder__watermark {
        font-size: clamp(6rem, 22vw, 9rem);
        opacity: 0.7;
    }
}
@media (max-width: 640px) {
    .ledger {
        flex-direction: column;
        align-items: flex-start;
    }
    .ledger__meta {
        gap: 0.65rem;
    }
    .colophon {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .colophon__signature {
        text-align: left;
        white-space: normal;
    }
    .placeholder__ribbon {
        left: 1rem;
    }
    .contents__list {
        grid-template-columns: 1fr;
    }
    .proof__row {
        grid-template-columns: 5.5em 1fr;
    }
}

/* Tactile : halo statique */
@media (hover: none) {
    .placeholder__ambient {
        background: radial-gradient(
            circle 600px at 50% 25%,
            rgba(232, 196, 74, 0.04) 0%,
            transparent 60%
        );
    }
}

/* Reduced motion : tout neutralisé, contenu visible */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; animation: none; }
    .opus__rule { transform: scaleX(1); animation: none; }
    .proof__dot { animation: none; }
    .opus__noun em { animation: none; background-position: 50% center; }
}
