/* ============================================================
   KCR — Karaté Contact Rieupeyroux
   Système de design — V2 : papier-first, Newsreader, responsive++
   ============================================================ */

/* Polices self-hostées (RGPD + perf, plus de requête Google bloquante) */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-300-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-300-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;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-400-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;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-500-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;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-600-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;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-700-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;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/bricolage-grotesque-800-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;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/big-shoulders-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/big-shoulders-400-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;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/big-shoulders-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/big-shoulders-500-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;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/big-shoulders-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/big-shoulders-600-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;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/big-shoulders-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/big-shoulders-700-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;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/big-shoulders-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/big-shoulders-800-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;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:900;font-display:swap;src:url('/assets/fonts/big-shoulders-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:900;font-display:swap;src:url('/assets/fonts/big-shoulders-900-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;}
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-serif-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-serif-400-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;}
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-serif-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-serif-400-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;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/inter-tight-300-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/inter-tight-300-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;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-tight-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-tight-400-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;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-tight-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-tight-500-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;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-tight-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-tight-600-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;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-tight-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-tight-700-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;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/inter-tight-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/inter-tight-800-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;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/jetbrains-mono-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/jetbrains-mono-400-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;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/jetbrains-mono-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/jetbrains-mono-500-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;}

:root {
  /* Palette — neutres */
  --ink: #0E0E0E;
  --graphite: #1A1A1A;
  --soot: #232323;
  --smoke: #6B6663;
  --ash: #9A938C;
  --bone: #ECE5D8;
  --cream: #F5F1EA;
  --paper: #FAF7F2;
  --linen: #F2F0EB;
  --pearl: #E8E4DC;
  --blood: #B71C1C;
  --blood-deep: #7A0F0F;

  /* Sémantique (mode papier — défaut) */
  --bg: var(--paper);
  --bg-soft: var(--pearl);
  --bg-inverse: var(--ink);
  --fg: var(--ink);
  --fg-soft: var(--graphite);
  --fg-mute: var(--smoke);
  --fg-faint: var(--ash);
  --fg-inverse: var(--cream);
  --accent: var(--blood);
  --rule: rgba(14, 14, 14, 0.10);
  --rule-strong: rgba(14, 14, 14, 0.24);
  --header-bg: rgba(250, 247, 242, 0.86);
  --header-border: rgba(14, 14, 14, 0.08);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --fvs-display: 'opsz' 32, 'wdth' 100;
  --fvs-display-lg: 'opsz' 72, 'wdth' 96;
  --fvs-display-xl: 'opsz' 96, 'wdth' 92;

  /* Spacing tokens */
  --gutter: clamp(20px, 4vw, 56px);
  --gutter-sm: clamp(16px, 3vw, 32px);
  --section-y: clamp(64px, 9vw, 128px);
  --section-y-lg: clamp(80px, 13vw, 168px);
  --container: 1440px;
  --measure: 64ch;

  /* Easing */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  /* Header height */
  --header-h: 68px;
}

/* === MODE: LIN (cool neutral light) === */
:root[data-mode="lin"] {
  --bg: var(--linen);
  --bg-soft: #E8E5DE;
  --paper: var(--linen);
}

/* === MODE: CHARBON (dark) === */
:root[data-mode="charbon"] {
  --bg: var(--ink);
  --bg-soft: var(--graphite);
  --bg-inverse: var(--paper);
  --fg: var(--cream);
  --fg-soft: var(--paper);
  --fg-mute: var(--ash);
  --fg-faint: rgba(245,241,234,0.45);
  --fg-inverse: var(--ink);
  --rule: rgba(245, 241, 234, 0.12);
  --rule-strong: rgba(245, 241, 234, 0.28);
  --header-bg: rgba(14, 14, 14, 0.84);
  --header-border: rgba(245, 241, 234, 0.08);
}

/* === TYPOGRAPHY VARIANTS === */
:root[data-display="shoulders"] {
  --font-display: 'Big Shoulders Display', 'Impact', 'Arial Narrow', sans-serif;
  --fvs-display: normal;
  --fvs-display-lg: normal;
  --fvs-display-xl: normal;
}
:root[data-display="serif"] {
  --font-display: 'DM Serif Display', 'Times New Roman', Georgia, serif;
  --fvs-display: normal;
  --fvs-display-lg: normal;
  --fvs-display-xl: normal;
}

/* ALL display-family elements — unified selector for variant overrides */
.kcr-display,
.display, .h1, .h2, .h3, .h4,
.hero-title,
.editorial-title,
.article-title,
.instructor-name,
.timeline-year,
.timeline-body h4,
.stat-number,
.testimonial-mark,
.testimonial-quote,
.process-step .num,
.process-step h4,
.cours-card-day,
.cours-card-bot h3,
.instructor-portrait .initials,
.filiation-portrait .initials,
.filiation-card h3,
.valeur-card h3,
.valeur-quote,
.pricing-cell .price,
.contact-val,
.gallery-cluster h3,
.blog-card h3,
.article-body .local-note,
.article-body h2 {
  /* Inherit display font automatically — already set per-element */
}

/* SHOULDERS variant — brutalist uppercase poster */
:root[data-display="shoulders"] .display,
:root[data-display="shoulders"] .h1,
:root[data-display="shoulders"] .h2,
:root[data-display="shoulders"] .hero-title,
:root[data-display="shoulders"] .editorial-title,
:root[data-display="shoulders"] .article-title,
:root[data-display="shoulders"] .instructor-name,
:root[data-display="shoulders"] .testimonial-quote,
:root[data-display="shoulders"] .filiation-card h3,
:root[data-display="shoulders"] .valeur-card h3,
:root[data-display="shoulders"] .cours-card-bot h3,
:root[data-display="shoulders"] .blog-card h3,
:root[data-display="shoulders"] .gallery-cluster h3,
:root[data-display="shoulders"] .contact-val,
:root[data-display="shoulders"] .article-body h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  font-style: normal;
}
:root[data-display="shoulders"] .h3,
:root[data-display="shoulders"] .h4,
:root[data-display="shoulders"] .timeline-body h4,
:root[data-display="shoulders"] .process-step h4 {
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
/* Em accents stay normal-case + italic-style colored */
:root[data-display="shoulders"] .display em,
:root[data-display="shoulders"] .h1 em,
:root[data-display="shoulders"] .h2 em,
:root[data-display="shoulders"] .hero-title em,
:root[data-display="shoulders"] .editorial-title em,
:root[data-display="shoulders"] .article-title em,
:root[data-display="shoulders"] .instructor-name em,
:root[data-display="shoulders"] .instructor-name span,
:root[data-display="shoulders"] .contact-val em {
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--accent);
}
/* Numbers & stat-likes stay non-uppercase */
:root[data-display="shoulders"] .stat-number,
:root[data-display="shoulders"] .process-step .num,
:root[data-display="shoulders"] .pricing-cell .price,
:root[data-display="shoulders"] .timeline-year,
:root[data-display="shoulders"] .instructor-portrait .initials,
:root[data-display="shoulders"] .filiation-portrait .initials {
  font-weight: 600;
  text-transform: none;
}
/* Local-note italic block — readability */
:root[data-display="shoulders"] .article-body .local-note {
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* DM SERIF variant — magazine drama */
:root[data-display="serif"] .display,
:root[data-display="serif"] .h1,
:root[data-display="serif"] .h2,
:root[data-display="serif"] .hero-title,
:root[data-display="serif"] .editorial-title,
:root[data-display="serif"] .article-title,
:root[data-display="serif"] .instructor-name,
:root[data-display="serif"] .filiation-card h3,
:root[data-display="serif"] .valeur-card h3,
:root[data-display="serif"] .cours-card-bot h3,
:root[data-display="serif"] .blog-card h3,
:root[data-display="serif"] .gallery-cluster h3,
:root[data-display="serif"] .contact-val,
:root[data-display="serif"] .article-body h2 {
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.0;
}
:root[data-display="serif"] .display em,
:root[data-display="serif"] .h1 em,
:root[data-display="serif"] .h2 em,
:root[data-display="serif"] .hero-title em,
:root[data-display="serif"] .editorial-title em,
:root[data-display="serif"] .article-title em,
:root[data-display="serif"] .instructor-name em,
:root[data-display="serif"] .contact-val em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* ============================================================
   RESET / BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 280ms var(--ease), color 280ms var(--ease);
  overflow-x: hidden;
}
@media (min-width: 760px) { body { font-size: 17px; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #FFF; }

main { padding-top: var(--header-h); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.display, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-wrap: balance;
  margin: 0;
}

.display {
  font-size: clamp(44px, 9.5vw, 140px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.028em;
  font-variation-settings: var(--fvs-display-xl);
}
.h1 { font-size: clamp(36px, 6vw, 80px); font-weight: 400; line-height: 0.98; font-variation-settings: var(--fvs-display-lg); letter-spacing: -0.025em; }
.h2 { font-size: clamp(28px, 4.2vw, 56px); font-weight: 500; line-height: 1.02; font-variation-settings: var(--fvs-display); letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -0.012em; }
.h4 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; font-family: var(--font-display); }

.display em, .h1 em, .h2 em, .h3 em, .display i, .h1 i, .h2 i {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Bricolage default — italic gets character */
.display em, .h1 em, .h2 em { font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 500;
}
@media (min-width: 760px) { .eyebrow { font-size: 12px; } }
.eyebrow.is-accent { color: var(--accent); }

.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 56ch;
  text-wrap: pretty;
}
.muted { color: var(--fg-mute); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.accent { color: var(--accent); }

p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
strong { font-weight: 600; color: var(--fg); }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 920px; }
.container--reading { max-width: 740px; }

.section { padding-block: var(--section-y); }
.section--lg { padding-block: var(--section-y-lg); }

/* Sections explicites — chacune force ses propres tokens */
.section--paper { background: var(--paper); color: var(--ink); --bg: var(--paper); --bg-soft: var(--pearl); --fg: var(--ink); --fg-soft: var(--graphite); --fg-mute: var(--smoke); --fg-faint: var(--ash); --rule: rgba(14,14,14,0.10); --rule-strong: rgba(14,14,14,0.24); }
.section--cream { background: var(--cream); color: var(--ink); --bg: var(--cream); --bg-soft: var(--bone); --fg: var(--ink); --fg-soft: var(--graphite); --fg-mute: var(--smoke); --fg-faint: var(--ash); --rule: rgba(14,14,14,0.10); --rule-strong: rgba(14,14,14,0.24); }
.section--bone { background: var(--bone); color: var(--ink); --bg: var(--bone); --bg-soft: var(--cream); --fg: var(--ink); --fg-soft: var(--graphite); --fg-mute: var(--smoke); --fg-faint: var(--ash); --rule: rgba(14,14,14,0.10); --rule-strong: rgba(14,14,14,0.24); }
.section--ink { background: var(--ink); color: var(--cream); --bg: var(--ink); --bg-soft: var(--graphite); --fg: var(--cream); --fg-soft: var(--paper); --fg-mute: var(--ash); --fg-faint: rgba(245,241,234,0.5); --rule: rgba(245,241,234,0.12); --rule-strong: rgba(245,241,234,0.28); }

/* En mode "charbon", les sections claires deviennent sombres */
:root[data-mode="charbon"] .section--paper,
:root[data-mode="charbon"] .section--cream,
:root[data-mode="charbon"] .section--bone {
  background: var(--ink); color: var(--cream);
  --bg: var(--ink); --bg-soft: var(--graphite);
  --fg: var(--cream); --fg-soft: var(--paper); --fg-mute: var(--ash); --fg-faint: rgba(245,241,234,0.5);
  --rule: rgba(245,241,234,0.12); --rule-strong: rgba(245,241,234,0.28);
}
:root[data-mode="charbon"] .section--cream { background: var(--graphite); --bg: var(--graphite); }
:root[data-mode="charbon"] .section--bone { background: var(--soot); --bg: var(--soot); }
:root[data-mode="lin"] .section--paper { background: var(--linen); --bg: var(--linen); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule--strong { background: var(--rule-strong); }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid var(--header-border);
  color: var(--fg);
  transition: background 280ms var(--ease), color 280ms var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.brand .brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand .brand-mark path { fill: var(--accent); transition: fill 240ms var(--ease); }
.brand .brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand .brand-text .brand-title { font-family: var(--font-display); font-size: 16px; font-weight: 500; letter-spacing: -0.005em; }
.brand .brand-text .brand-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55; }

.nav-links {
  display: flex; gap: 2px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--fg);
  opacity: 0.78;
  transition: opacity 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover { opacity: 1; background: var(--rule); }
.nav-link[aria-current="page"] { opacity: 1; color: var(--accent); }

.nav-cta {
  margin-left: 6px;
}

/* MOBILE MENU — fix : caché par défaut */
.btn-mobile-toggle { display: none; }
.mobile-drawer { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .btn-mobile-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 8px;
    background: var(--rule);
    color: var(--fg);
    margin-left: 6px;
    flex-shrink: 0;
  }
  .btn-mobile-toggle span {
    display: block; width: 18px; height: 1.5px;
    background: currentColor;
    position: relative;
  }
  .btn-mobile-toggle span::before,
  .btn-mobile-toggle span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
    background: currentColor;
    transition: transform 200ms var(--ease);
  }
  .btn-mobile-toggle span::before { top: -6px; }
  .btn-mobile-toggle span::after { top: 6px; }
  .btn-mobile-toggle.is-open span { background: transparent; }
  .btn-mobile-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
  .btn-mobile-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

  .mobile-drawer {
    display: block;
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--bg);
    color: var(--fg);
    padding: 24px var(--gutter) 40px;
    transform: translateY(-110%);
    transition: transform 320ms var(--ease);
    z-index: 99;
    overflow-y: auto;
    border-top: 1px solid var(--rule);
  }
  .mobile-drawer.is-open { transform: translateY(0); }
  .mobile-drawer .nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 400;
    padding: 14px 0;
    opacity: 1;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    line-height: 1.1;
  }
  .mobile-drawer .nav-link[aria-current="page"] { color: var(--accent); }
  .mobile-drawer .nav-link:hover { background: transparent; }
}

@media (max-width: 600px) {
  .brand .brand-text .brand-sub { display: none; }
  .nav-cta { padding: 10px 16px; font-size: 13px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: 999px;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), box-shadow 240ms var(--ease), border-color 200ms var(--ease);
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  min-height: 44px;
}
.btn--primary {
  background: var(--accent);
  color: #FFF;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px -10px color-mix(in oklab, var(--accent) 60%, transparent);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 14px 32px -10px color-mix(in oklab, var(--accent) 70%, transparent);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--fg);
}
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--fg); }
.btn--solid {
  background: var(--fg);
  color: var(--bg);
}
.btn--solid:hover { transform: translateY(-1px); }
.btn--link {
  padding: 6px 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  min-height: auto;
}
.btn--link:hover { color: var(--accent); }
.btn--lg { padding: 16px 26px; font-size: 15px; min-height: 52px; }

.arrow-icon {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform 220ms var(--ease);
  flex-shrink: 0;
}
.btn:hover .arrow-icon { transform: translateX(4px); }

/* ============================================================
   HERO COMMONS
   ============================================================ */

.hero {
  position: relative;
  display: grid;
  overflow: hidden;
}
.hero[hidden] { display: none; }

.hero-photo {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%;
  filter: grayscale(0.55) contrast(1.06) brightness(0.62);
  z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(14,14,14,0.2) 0%, rgba(14,14,14,0.78) 70%),
    linear-gradient(180deg, rgba(14,14,14,0.45) 0%, rgba(14,14,14,0.1) 40%, rgba(14,14,14,0.88) 100%);
  z-index: 1;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='1'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: inline-block; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.hero-scroll-hint::after {
  content: "";
  width: 1px; height: 24px;
  background: linear-gradient(180deg, currentColor, transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%, 100% { transform: scaleY(0.6); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* === HERO VARIANT 1 — Paper, type-as-hero (NEW: light editorial) === */
.hero--v1 {
  background: var(--paper);
  color: var(--ink);
  min-height: auto;
  --hero-fg: var(--ink);
}
:root[data-mode="lin"] .hero--v1 { background: var(--linen); }
:root[data-mode="charbon"] .hero--v1 { background: var(--ink); color: var(--cream); --hero-fg: var(--cream); }
.hero--v1 .hero-photo, .hero--v1 .hero-scrim, .hero--v1 .hero-grain, .hero--v1 .hero-scroll-hint { display: none; }
.hero--v1 .hero-inner {
  grid-template-columns: 1fr;
  align-content: center;
  padding-block: clamp(104px, 13vw, 168px) clamp(56px, 8vw, 112px);
}
.hero--v1 .hero-meta { color: var(--fg-mute); }
.hero--v1 .hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 11.5vw, 168px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.035em;
  font-variation-settings: var(--fvs-display-xl);
  max-width: 14ch;
  color: var(--hero-fg);
}
.hero--v1 .hero-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero--v1 .lede { color: var(--fg-soft); }
.hero--v1::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--rule);
}

/* === HERO V2 — Photo full-bleed cinematic (kept dark) === */
.hero--v2 { background: var(--ink); color: var(--cream); min-height: min(820px, 90vh); }
.hero--v2 .hero-photo { filter: grayscale(0.82) contrast(1.12) brightness(0.5); }
.hero--v2 .hero-inner {
  align-content: end;
  padding-block: clamp(120px, 13vw, 168px) clamp(64px, 8vw, 112px);
}
.hero--v2 .hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8.4vw, 124px);
  font-weight: 400;
  font-variation-settings: var(--fvs-display-lg);
  line-height: 0.95;
  letter-spacing: -0.028em;
  max-width: 14ch;
}
.hero--v2 .hero-title em { font-style: italic; color: var(--accent); }

/* === HERO V3 — Split asymmetric (cream side + photo side) === */
.hero--v3 { background: var(--paper); color: var(--ink); min-height: auto; }
:root[data-mode="charbon"] .hero--v3 { background: var(--ink); color: var(--cream); }
.hero--v3 .hero-scrim, .hero--v3 .hero-grain, .hero--v3 .hero-scroll-hint { display: none; }
.hero--v3 .hero-photo { display: none; }
.hero--v3 .hero-inner {
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-block: clamp(96px, 12vw, 152px) clamp(48px, 7vw, 96px);
}
.hero--v3 .hero-text { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.hero--v3 .hero-meta { color: var(--fg-mute); }
.hero--v3 .hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 104px);
  font-weight: 400;
  font-variation-settings: var(--fvs-display-lg);
  line-height: 0.95;
  letter-spacing: -0.028em;
  color: var(--fg);
}
.hero--v3 .hero-title em { font-style: italic; color: var(--accent); }
.hero--v3-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink);
  overflow: hidden;
}
.hero--v3-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) contrast(1.05); }
.hero--v3-photo .photo-tag {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,241,234,0.92);
  background: rgba(14,14,14,0.55); padding: 6px 10px; backdrop-filter: blur(8px);
}
@media (max-width: 760px) {
  .hero--v3 .hero-inner { grid-template-columns: 1fr; }
  .hero--v3-photo { aspect-ratio: 3/4; }
}

/* === HERO V4 — Editorial mosaic === */
.hero--v4 { background: var(--paper); color: var(--ink); min-height: auto; padding-block: clamp(88px, 11vw, 136px) clamp(48px, 7vw, 96px); }
:root[data-mode="charbon"] .hero--v4 { background: var(--ink); color: var(--cream); }
.hero--v4 .hero-scrim, .hero--v4 .hero-grain, .hero--v4 .hero-photo, .hero--v4 .hero-scroll-hint { display: none; }
.hero--v4 .hero-inner {
  padding: 0 var(--gutter);
  grid-template-columns: repeat(12, 1fr);
  gap: 12px 16px;
  align-items: stretch;
}
.hero--v4 .mosaic-eyebrow { grid-column: 1 / -1; }
.hero--v4 .hero-title {
  grid-column: 1 / 8;
  font-family: var(--font-display);
  font-size: clamp(38px, 6.6vw, 96px);
  font-weight: 400;
  line-height: 0.92;
  font-variation-settings: var(--fvs-display-lg);
  letter-spacing: -0.028em;
  margin: 0;
}
.hero--v4 .hero-title em { font-style: italic; color: var(--accent); }
.hero--v4 .mosaic-photo-a { grid-column: 8 / 13; grid-row: 2 / 4; aspect-ratio: 3/4; overflow: hidden; background: var(--graphite); }
.hero--v4 .mosaic-photo-b { grid-column: 1 / 5; aspect-ratio: 5/4; overflow: hidden; background: var(--graphite); margin-top: 12px; }
.hero--v4 .mosaic-photo-c { grid-column: 5 / 8; aspect-ratio: 5/4; overflow: hidden; background: var(--graphite); margin-top: 12px; }
.hero--v4 .mosaic-photo-a img, .hero--v4 .mosaic-photo-b img, .hero--v4 .mosaic-photo-c img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) contrast(1.05);
}
.hero--v4 .mosaic-meta {
  grid-column: 1 / 5;
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-mute);
}
.hero--v4 .hero-cta-row { grid-column: 5 / 13; align-self: end; margin-top: 16px; }

@media (max-width: 880px) {
  .hero--v4 .hero-title { grid-column: 1 / -1; font-size: clamp(36px, 9vw, 64px); }
  .hero--v4 .mosaic-photo-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/10; margin-top: 16px; }
  .hero--v4 .mosaic-photo-b { grid-column: 1 / 7; }
  .hero--v4 .mosaic-photo-c { grid-column: 7 / -1; }
  .hero--v4 .mosaic-meta { grid-column: 1 / -1; margin-top: 8px; }
  .hero--v4 .hero-cta-row { grid-column: 1 / -1; }
}

/* ============================================================
   STATS BAND
   ============================================================ */

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: clamp(32px, 5vw, 72px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat:last-child { border-right: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 180px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings: var(--fvs-display-xl);
  color: var(--fg);
}
.stat-number sup { font-size: 0.32em; font-weight: 400; color: var(--accent); vertical-align: top; margin-left: 6px; line-height: 1; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  max-width: 22ch;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .stats-band { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
}

/* ============================================================
   EDITORIAL TWO-COL
   ============================================================ */

.editorial {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px, 5vw, 112px);
  align-items: start;
}
.editorial-meta { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .editorial-meta { position: sticky; top: calc(var(--header-h) + 32px); } }
.editorial-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.022em; font-weight: 500; }
.editorial-body { font-size: 17px; line-height: 1.65; }
.editorial-body p { max-width: 60ch; }

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.timeline-item:last-child { border-bottom: 1px solid var(--rule); }
.timeline-year {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variation-settings: var(--fvs-display);
  line-height: 1.05;
  text-wrap: balance;
}
.timeline-body h4 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.timeline-body p { color: var(--fg-mute); max-width: 56ch; font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 760px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
}

/* ============================================================
   COURS CARDS
   ============================================================ */

.cours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 24px);
}
.cours-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--graphite);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  isolation: isolate;
  transition: transform 360ms var(--ease);
}
.cours-card:hover { transform: translateY(-4px); }
.cours-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.72) contrast(1.05) brightness(0.62);
  transition: transform 700ms var(--ease), filter 360ms var(--ease);
  z-index: 0;
}
.cours-card:hover img { transform: scale(1.04); filter: grayscale(0.35) contrast(1.05) brightness(0.7); }
.cours-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,14,14,0.4) 0%, rgba(14,14,14,0) 35%, rgba(14,14,14,0.86) 100%);
}
.cours-card-top, .cours-card-bot { position: relative; z-index: 2; padding: clamp(18px, 2.4vw, 32px); }
.cours-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.cours-card-day {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.cours-card-slot {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245,241,234,0.85);
}
.cours-card-bot h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--cream);
}
.cours-card-bot p { font-size: 13px; opacity: 0.8; max-width: 32ch; margin: 0; line-height: 1.5; color: var(--cream); }
.cours-card-arrow {
  position: absolute; bottom: clamp(18px, 2.4vw, 32px); right: clamp(18px, 2.4vw, 32px); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(245,241,234,0.4);
  display: grid; place-items: center;
  transition: background 200ms, transform 200ms, border-color 200ms;
  color: var(--cream);
}
.cours-card:hover .cours-card-arrow { background: var(--accent); border-color: var(--accent); transform: translate(4px, -4px); }
@media (max-width: 760px) { .cours-grid { grid-template-columns: 1fr; } }

/* Placeholder (striped diagonal) */
.placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(14,14,14,0.025) 0 12px, rgba(14,14,14,0.05) 12px 24px),
    linear-gradient(135deg, var(--bone) 0%, var(--cream) 100%);
  display: flex; align-items: flex-end; padding: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fg-mute);
}
.section--ink .placeholder, :root[data-mode="charbon"] .placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(245,241,234,0.025) 0 12px, rgba(245,241,234,0.05) 12px 24px),
    linear-gradient(135deg, var(--soot) 0%, var(--graphite) 100%);
  color: rgba(245,241,234,0.55);
}

/* ============================================================
   INSTRUCTEURS
   ============================================================ */

.instructor-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(40px, 7vw, 112px) 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.instructor-row:last-child { border-bottom: 1px solid var(--rule); }
.instructor-row.is-reverse { grid-template-columns: 1fr 1.05fr; }
.instructor-row.is-reverse .instructor-text { order: 2; }
.instructor-row.is-reverse .instructor-portrait { order: 1; }

.instructor-portrait {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-soft);
  overflow: hidden;
}
.instructor-portrait .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; padding: 24px;
}
.instructor-portrait .initials {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 152px);
  font-weight: 400;
  font-variation-settings: var(--fvs-display-lg);
  line-height: 0.85;
  color: var(--fg);
  letter-spacing: -0.025em;
  align-self: flex-start;
}
.instructor-portrait .placeholder-caption {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--fg-mute); text-transform: uppercase;
  max-width: 70%; line-height: 1.5; margin-top: auto; text-align: right; align-self: flex-end;
}
.instructor-text { display: flex; flex-direction: column; gap: 18px; }
.instructor-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.instructor-name { font-family: var(--font-display); font-size: clamp(36px, 5.4vw, 80px); font-weight: 400; line-height: 0.96; letter-spacing: -0.028em; font-variation-settings: var(--fvs-display-lg); }
.instructor-name span { display: block; font-style: italic; font-weight: 400; }
.grade-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  align-self: flex-start;
}
.grade-badge .dan { color: var(--accent); font-weight: 600; }
.palmares {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.palmares li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: baseline;
  color: var(--fg-soft);
  line-height: 1.5;
}
.palmares li::before {
  content: "—";
  color: var(--accent);
  font-family: var(--font-mono);
}
@media (max-width: 880px) {
  .instructor-row, .instructor-row.is-reverse { grid-template-columns: 1fr; }
  .instructor-row.is-reverse .instructor-text { order: 1; }
  .instructor-row.is-reverse .instructor-portrait { order: 0; }
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.testimonial {
  padding: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial:last-child { border-right: 0; }
.testimonial-mark {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.7;
  color: var(--accent);
  font-weight: 400;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  font-weight: 400;
  font-variation-settings: var(--fvs-display);
  color: var(--fg);
  letter-spacing: -0.005em;
  margin: 0;
}
.testimonial-cite {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.testimonial-cite strong { color: var(--fg); }
@media (max-width: 880px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial { border-right: 0; }
}

/* ============================================================
   PROCESS
   ============================================================ */

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.process-step { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--rule); }
.process-step .num {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 136px);
  font-weight: 300;
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-variation-settings: var(--fvs-display-xl);
  margin-bottom: 8px;
}
.process-step h4 { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
.process-step p { font-size: 14px; color: var(--fg-mute); margin: 0; max-width: 32ch; line-height: 1.55; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT STRIP
   ============================================================ */

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.contact-strip .item {
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 10px;
  transition: background 200ms var(--ease);
  text-decoration: none; color: var(--fg);
  min-height: 100px;
}
.contact-strip .item:hover { background: var(--bg-soft); }
.contact-strip .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); }
.contact-strip .val { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 22px); font-weight: 400; letter-spacing: -0.012em; line-height: 1.2; }
.contact-strip .val em { font-style: italic; color: var(--accent); }
@media (max-width: 880px) { .contact-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-strip { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  --fg: var(--cream); --fg-soft: var(--paper); --fg-mute: var(--ash); --rule: rgba(245,241,234,0.12);
  padding: clamp(56px, 8vw, 112px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand p { font-size: 13px; opacity: 0.7; max-width: 38ch; line-height: 1.6; margin: 0; }
.footer-col h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); margin: 0 0 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; opacity: 0.85; transition: opacity 180ms, color 180ms; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ash);
  flex-wrap: wrap;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--cream); }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   TWEAKS PANEL
   ============================================================ */

.tweaks-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px -8px rgba(0,0,0,0.45), 0 0 0 1px rgba(245,241,234,0.15);
  transition: transform 200ms var(--ease);
}
.tweaks-fab[data-active="true"] { display: inline-flex; }
.tweaks-fab:hover { transform: scale(1.05); }
.tweaks-fab svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: none; }

.tweaks-panel {
  position: fixed; right: 20px; bottom: 80px; z-index: 201;
  width: min(340px, calc(100vw - 40px));
  max-height: calc(100vh - 120px);
  background: #131313;
  color: var(--cream);
  border: 1px solid rgba(245,241,234,0.12);
  border-radius: 14px;
  box-shadow: 0 28px 72px -18px rgba(0,0,0,0.6);
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.tweaks-panel[data-open="true"] { display: flex; }
.tweaks-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(245,241,234,0.08);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.tweaks-header .close {
  width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(245,241,234,0.06);
  color: var(--cream);
}
.tweaks-body { padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.tweak-group { display: flex; flex-direction: column; gap: 10px; }
.tweak-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,241,234,0.55);
  display: flex; justify-content: space-between; align-items: center;
}
.tweak-label .v { color: var(--cream); }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(245,241,234,0.1);
  cursor: pointer;
  position: relative;
  transition: transform 160ms;
}
.swatch:hover { transform: translateY(-2px); }
.swatch[data-active="true"] { box-shadow: 0 0 0 2px var(--cream); }
.seg-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: rgba(245,241,234,0.06);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}
.seg {
  padding: 8px 8px;
  font-size: 11px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  opacity: 0.7;
  transition: background 160ms, opacity 160ms;
  color: var(--cream);
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seg:hover { opacity: 1; }
.seg[data-active="true"] { background: var(--cream); color: var(--ink); opacity: 1; }
.tweak-row { display: flex; align-items: center; justify-content: space-between; }
.tweak-pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(245,241,234,0.06);
  border-radius: 999px;
  color: rgba(245,241,234,0.7);
}

@media (max-width: 480px) {
  .tweaks-panel { right: 10px; left: 10px; width: auto; bottom: 76px; }
  .tweaks-fab { right: 14px; bottom: 14px; }
}

/* ============================================================
   REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   GALERIE
   ============================================================ */

.gallery-cluster { margin-top: clamp(40px, 6vw, 72px); }
.gallery-cluster:first-of-type { margin-top: 0; }
.gallery-cluster h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 6px; }
.gallery-cluster .cluster-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 20px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 8px;
}
.gallery-item {
  background: var(--bg-soft); overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 180px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.04); transition: transform 700ms var(--ease), filter 360ms; }
.gallery-item:hover img { transform: scale(1.03); filter: grayscale(0) contrast(1.05); }
.gallery-item .caption {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,241,234,0.92);
  background: rgba(14,14,14,0.72); padding: 5px 10px; backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 200ms;
}
.gallery-item:hover .caption, .gallery-item:focus .caption { opacity: 1; }

.gallery-item.span-tall { grid-row: span 2; }
.gallery-item.span-wide { grid-column: span 6; }
.gallery-item.span-half { grid-column: span 6; }
.gallery-item.span-third { grid-column: span 4; }
.gallery-item.span-2-3 { grid-column: span 8; }
@media (max-width: 880px) {
  .gallery-item.span-third, .gallery-item.span-half, .gallery-item.span-wide, .gallery-item.span-2-3 { grid-column: span 12; }
  .gallery-item.span-tall { grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(14, 14, 14, 0.96);
  display: none; align-items: center; justify-content: center;
  padding: clamp(20px, 4vw, 40px);
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox .lb-caption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,241,234,0.7); }
.lightbox .lb-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(245,241,234,0.08); color: var(--cream); display: grid; place-items: center; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(245,241,234,0.06); color: var(--cream); display: grid; place-items: center; }
.lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }
@media (max-width: 600px) {
  .lightbox .lb-nav { width: 40px; height: 40px; }
}

/* ============================================================
   BLOG
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.blog-card {
  text-decoration: none; color: var(--fg);
  display: flex; flex-direction: column; gap: 16px;
}
.blog-card.is-feature { grid-column: 1 / 8; }
.blog-card.is-normal { grid-column: span 4; }
.blog-card .cover {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.blog-card.is-feature .cover { aspect-ratio: 16/10; }
.blog-card .cover img, .blog-card .cover .placeholder {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.45) contrast(1.04);
  transition: transform 700ms var(--ease), filter 360ms;
}
.blog-card:hover .cover img { transform: scale(1.04); filter: grayscale(0.15) contrast(1.04); }
.blog-card .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); display: flex; gap: 14px; align-items: center; }
.blog-card .meta .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.blog-card h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; line-height: 1.1; letter-spacing: -0.018em; margin: 0; }
.blog-card.is-feature h3 { font-size: clamp(28px, 4vw, 52px); font-weight: 400; line-height: 1.0; }
.blog-card .excerpt { color: var(--fg-mute); font-size: 14px; line-height: 1.55; max-width: 50ch; margin: 0; }
.blog-card .read { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
@media (max-width: 880px) {
  .blog-card.is-feature, .blog-card.is-normal { grid-column: 1 / -1; }
}

/* ARTICLE READING */
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding-block: clamp(96px, 12vw, 132px) 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-mute);
  margin-left: var(--gutter);
}
.article-hero { padding: clamp(8px, 1vw, 16px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.article-hero .container--reading { display: flex; flex-direction: column; gap: 22px; }
.article-hero .article-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 64px); font-weight: 400; line-height: 1.0; letter-spacing: -0.028em; font-variation-settings: var(--fvs-display-lg); max-width: 18ch; margin: 0; }
.article-hero .article-title em { font-style: italic; color: var(--accent); }
.article-hero .lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--fg-mute); font-family: var(--font-display); font-weight: 400; max-width: 38ch; font-variation-settings: var(--fvs-display); }
.article-cover { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); margin-bottom: 0; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.04); }
.article-body { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 112px); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; }
.article-body p { max-width: 64ch; margin: 0 0 1.2em; color: var(--fg-soft); }
.article-body h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); font-weight: 500; margin: 48px 0 14px; line-height: 1.1; letter-spacing: -0.015em; }
.article-body h2 .num { color: var(--accent); font-family: var(--font-mono); font-size: 12px; display: block; margin-bottom: 6px; letter-spacing: 0.14em; font-weight: 500; }
.article-body ul { padding: 0; margin: 0 0 1.4em; list-style: none; max-width: 60ch; }
.article-body ul li { padding: 12px 0 12px 24px; border-bottom: 1px solid var(--rule); position: relative; color: var(--fg-soft); }
.article-body ul li::before { content: "—"; color: var(--accent); position: absolute; left: 0; font-family: var(--font-mono); }
.article-body .local-note {
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: var(--fvs-display);
  max-width: none;
  color: var(--fg);
}
.article-body .local-note::before {
  content: "AU DOJO";
  display: block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 8px; font-style: normal; font-weight: 500;
}
.article-end-cta { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 32px; }

/* ============================================================
   FORMS
   ============================================================ */

.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  font-weight: 500;
}
.field label .req { color: var(--accent); margin-left: 4px; font-weight: 600; }
.field input,
.field textarea,
.field select {
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--fg);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
  width: 100%;
  border-radius: 4px;
  min-height: 52px;
}
.field textarea { min-height: 140px; padding-top: 14px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='currentColor' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--fg-soft); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-faint); opacity: 1; }
.field-hint { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.04em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 16px; } }

/* Honeypot — invisible, anti-spam */
.field-honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }

/* Checkbox (consent / RGPD) */
.field-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  padding: 4px 0;
}
.field-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  min-height: 0;
  transition: background 200ms, border-color 200ms, box-shadow 200ms;
}
.field-check input[type="checkbox"]:hover { border-color: var(--fg-soft); }
.field-check input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
.field-check input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.field-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.field-check span { font-size: 13px; line-height: 1.5; color: var(--fg-mute); padding-top: 2px; }
.field-check span a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.field-check span a:hover { color: var(--accent); }

/* ============================================================
   MAP / IFRAMES
   ============================================================ */

.map-frame {
  width: 100%; aspect-ratio: 16/9; background: var(--bg-soft); border: 0; border-radius: 2px;
}

/* ============================================================
   PRICING TABLE
   ============================================================ */

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.pricing-cell {
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 8px;
}
.pricing-cell .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); }
.pricing-cell .price { font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -0.03em; color: var(--fg); font-variation-settings: var(--fvs-display-lg); }
.pricing-cell .price .euro { font-size: 0.45em; color: var(--accent); vertical-align: top; line-height: 1.2; }
.pricing-cell .sub { font-size: 13px; color: var(--fg-mute); line-height: 1.45; margin-top: 6px; max-width: 28ch; }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pricing { grid-template-columns: 1fr; } }

/* ============================================================
   UTILITIES — Page Top Heading
   ============================================================ */

.page-top {
  padding: clamp(80px, 11vw, 144px) 0 clamp(40px, 5vw, 72px);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .testimonial { padding: 24px 20px; }
  .article-body { padding-inline: 0; }
  .article-body h2 { margin-top: 40px; }
}

/* ============================================================
   RESPONSIVE — garde-fou anti-débordement (éditorial, 2026-06)
   ============================================================ */
body { overflow-wrap: break-word; }
main { overflow-x: clip; }   /* aucun scroll horizontal accidentel (header sticky hors <main>) */
