/* ==========================================================================
   Wu Xing Wing Chun Kung Fu — feuille de style
   Encre · Papier · Vermillon
   ========================================================================== */

/* Polices auto-hébergées (Fraunces, Geist) — fichiers dans /assets/fonts/ */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-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: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-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: 'Geist';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/geist-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/geist-normal-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 {
  --ink: #121110;
  --ink-2: #1b1917;
  --ink-3: #2a2723;
  --paper: #f4efe6;
  --paper-2: #ebe4d7;
  --paper-3: #dfd6c5;
  --red: #c62f26;
  --red-deep: #9e2219;
  --gold: #b89b5e;
  --muted: #6b645b;
  --muted-ink: #a39b8f;
  --line: rgba(18, 17, 16, .14);
  --line-ink: rgba(244, 239, 230, .14);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-cjk: "Noto Serif SC", "Songti SC", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 10px 14px; z-index: 1000; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.cjk { font-family: var(--f-cjk); font-weight: 600; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; }
p { margin: 0 0 1em; }
em, .it { font-style: italic; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow .num { color: var(--red); font-variant-numeric: tabular-nums; }
.on-ink .eyebrow { color: var(--muted-ink); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-3); max-width: 60ch; }
.on-ink .lead, .hero .lead, .phero .lead { color: #d8d0c4; }
.hero .eyebrow, .phero .eyebrow { color: var(--muted-ink); }
.red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border: 1px solid var(--bg); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateY(0); }
.btn:hover { border-color: var(--ink); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.on-ink .btn::after { background: var(--paper); }
.on-ink .btn:hover { color: var(--ink); border-color: var(--paper); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.on-ink .btn--ghost { --fg: var(--paper); border-color: var(--line-ink); }
.on-ink .btn--ghost::after { background: var(--paper); }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.link-u:hover { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(244, 239, 230, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-dark:not(.is-solid) { color: var(--paper); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 50px; height: 50px; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -.01em; }
.brand-txt small { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav a { font-size: 14.5px; position: relative; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 230px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .3s var(--ease);
  box-shadow: 0 20px 50px -20px rgba(18,17,16,.25);
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 3px; }
.sub a:hover { background: var(--paper-2); }
.nav .btn { padding: 11px 18px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .site-header { color: var(--paper); background: transparent; border-color: transparent; backdrop-filter: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); line-height: 1.25; }
.mobile-menu li.small a { font-family: var(--f-body); font-size: 17px; color: var(--muted-ink); padding-left: 2px; line-height: 2; }
.mobile-menu .mm-foot { font-size: 14px; color: var(--muted-ink); display: grid; gap: 4px; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(84px, 12vw, 160px) 0; }
.sec--related { margin-top: 20px; padding-top: clamp(56px, 7vw, 96px); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-paper2 { background: var(--paper-2); }
.no-bg { background: none !important; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 880px; }
.sec-head--split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.sec-head--split .lead { margin: 0; justify-self: end; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-ink .hr { background: var(--line-ink); }

/* ---------- Hero (accueil) ---------- */
.hero {
  min-height: 100svh; background: var(--ink); color: var(--paper);
  display: grid; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 30px) 0 40px;
}
.hero::before { /* grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-glow { position: absolute; width: 70vmax; height: 70vmax; right: -18vmax; top: 50%; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(198,47,38,.28), rgba(198,47,38,0)); pointer-events: none; }
.hero .hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 8rem); line-height: .92; letter-spacing: -.03em; }
.hero h1 .l2 { display: block; font-size: .36em; line-height: 1.15; letter-spacing: -.01em; margin-top: .45em; color: #d8d0c4; font-style: italic; }
.hero .lead { margin: 30px 0 38px; max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-stage .fallback { position: absolute; inset: 12%; opacity: .9; }
.hero-stage.is-3d .fallback { display: none; }
.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted-ink); letter-spacing: .02em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); display: inline-block; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue b { width: 1px; height: 34px; background: linear-gradient(var(--paper), transparent); position: relative; overflow: hidden; }
.scroll-cue b::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--red); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- Page hero (pages intérieures) ---------- */
.phero { background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { max-width: 15ch; }
.phero .lead { margin-top: 26px; }
.phero-bg { position: absolute; inset: 0; z-index: 1; opacity: .34; }
.phero-bg img { width: 100%; height: 120%; position: relative; top: -10%; object-fit: cover; filter: grayscale(.4) contrast(1.05); }
.phero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 15%, rgba(18,17,16,.55) 60%, rgba(18,17,16,.35)); }
.phero .vert { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: var(--f-cjk); font-size: clamp(4rem, 10vw, 9rem); color: var(--red); opacity: .9; line-height: 1; z-index: 2; letter-spacing: .1em; }
.crumbs { font-size: 13px; color: var(--muted-ink); margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--paper); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 0; animation: marq 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; font-style: italic; }
.marquee .cjk { font-style: normal; opacity: .65; font-size: .8em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Bienvenue ---------- */
.welcome { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.big-statement { font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.16; letter-spacing: -.015em; margin: 26px 0 36px; }
.big-statement .w { opacity: .14; transition: opacity .2s; }
.no-js .big-statement .w, .reduced .big-statement .w { opacity: 1; }
.welcome-media { position: relative; }
.stack { position: relative; aspect-ratio: 4/5; }
.stack figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); }
.stack figure img { width: 100%; height: 115%; position: relative; top: -7.5%; object-fit: cover; }
.stack .s1 { inset: 0 18% 22% 0; }
.stack .s2 { inset: 46% 0 0 34%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); border: 8px solid var(--paper); }
.stack .badge {
  position: absolute; left: -14px; bottom: 6%; z-index: 3; width: 128px; height: 128px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; text-align: center;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
}
.stack .badge b { display: block; font-family: var(--f-display); font-size: 34px; letter-spacing: 0; font-weight: 400; text-transform: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 110px); }
.stat { position: relative; padding: 34px 24px 6px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat::before { content: ""; position: absolute; top: -1px; left: 0; width: 34px; height: 2px; background: var(--red); }
.stat + .stat::before { left: 28px; }
.stat b { display: flex; align-items: flex-start; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .95; letter-spacing: -.035em; font-variant-numeric: lining-nums tabular-nums; }
.stat b sup { font-size: .42em; line-height: 1; color: var(--red); margin: .12em 0 0 .06em; font-weight: 400; }
.stat > span { font-size: 14.5px; line-height: 1.5; color: var(--muted); display: block; margin-top: 14px; max-width: 24ch; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 50px; }
.value { padding: 26px 26px 26px 0; }
.value + .value { padding-left: 26px; border-left: 1px solid var(--line); }
.value h3 { font-size: 1.35rem; margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; }
.value h3 .cjk { color: var(--red); font-size: 1rem; }
.value p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* ---------- Méthode : scroll horizontal ---------- */
.method { overflow: hidden; }
.method-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 10px) 0 30px; }
.method-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(26px, 4vh, 50px); }
.method-head h2 { max-width: 12ch; }
.method-progress { width: 180px; height: 1px; background: var(--line-ink); position: relative; flex: none; }
.method-progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.method-track { display: flex; gap: 22px; padding-left: var(--gutter); padding-right: 30vw; will-change: transform; }
.mcard {
  flex: none; width: min(440px, 78vw); height: min(56vh, 520px); min-height: 380px;
  border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  background: var(--ink-2);
}
.mcard .el { position: absolute; right: 26px; top: 56px; font-family: var(--f-cjk); font-size: 8.5rem; line-height: 1; color: rgba(244,239,230,.07); pointer-events: none; transition: color .6s var(--ease); }
.mcard:hover .el { color: rgba(198,47,38,.22); }
.mcard .n { font-size: 13px; letter-spacing: .16em; color: var(--muted-ink); display: flex; justify-content: space-between; }
.mcard .n b { color: var(--red); font-weight: 500; }
.mcard h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 14px; }
.mcard p { color: #cfc7ba; font-size: 15.5px; margin: 0; }
.mcard--img { padding: 0; }
.mcard--img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); }
.mcard--intro { background: transparent; border: 0; padding: 0; justify-content: flex-end; width: min(360px, 78vw); }

/* ---------- Cours (cartes) ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course { position: relative; perspective: 1000px; }
.course-in { display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease); height: 100%; }
.course:hover .course-in { box-shadow: 0 40px 70px -40px rgba(18,17,16,.45); }
.course-media { aspect-ratio: 4/3.2; overflow: hidden; position: relative; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.course:hover .course-media img { transform: scale(1.06); }
.course-media .tag { position: absolute; left: 16px; top: 16px; background: var(--paper); color: var(--ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 2px; }
.course-body { padding: 26px 26px 30px; transform: translateZ(30px); }
.course-body h3 { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.course-body h3 .arr { font-family: var(--f-body); font-size: 20px; color: var(--red); transition: transform .5s var(--ease); }
.course:hover .course-body h3 .arr { transform: translate(4px, -4px); }
.course-body p { color: var(--muted); font-size: 15.5px; margin: 0; }
.course-body ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.course-body li { font-size: 12.5px; border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; color: var(--ink-3); }

/* ---------- Instructeurs ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { perspective: 1000px; }
.member-in { display: block; position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.member-photo { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.member:hover .member-photo img { filter: grayscale(0); transform: scale(1.04); }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(18,17,16,.75)); }
.member-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: var(--paper); transform: translateZ(40px); display: flex; justify-content: space-between; align-items: end; }
.member-cap h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.member-cap span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #e5ddd0; display: block; margin-top: 6px; }
.member-cap .cjk { font-size: 2.2rem; color: var(--red); line-height: 1; }

/* ---------- Témoignages ---------- */
.testi { overflow: hidden; }
.testi-bg { position: absolute; inset: 0; opacity: .18; }
.testi-bg img { width: 100%; height: 130%; position: relative; top: -15%; object-fit: cover; filter: grayscale(1); }
.testi .wrap { position: relative; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.quote { margin: 0; }
.quote .stars { color: var(--red); letter-spacing: 4px; font-size: 14px; margin-bottom: 20px; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.38; letter-spacing: -.005em; }
.quote figcaption { margin-top: 24px; font-size: 14px; color: var(--muted-ink); display: flex; align-items: center; gap: 12px; }
.quote figcaption::before { content: ""; width: 24px; height: 1px; background: var(--red); }

/* ---------- Formulaire essai ---------- */
.trial { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.trial-aside { position: sticky; top: calc(var(--header-h) + 30px); }
.trial-aside ul { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.trial-aside li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.times { list-style: none; padding: 0; margin: 26px 0 30px; border-top: 1px solid var(--line); }
.times li { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line); }
.times b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.times b small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.times span { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.times i { font-style: normal; font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 5px 11px; border-radius: 99px; background: var(--paper-2); border: 1px solid var(--line); }
.trial-aside li b { font-family: var(--f-display); font-weight: 400; color: var(--red); font-size: 1.2rem; }
.form {
  background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px);
  position: relative; overflow: hidden;
}
.form::before { content: "試"; position: absolute; right: -20px; top: -50px; font-family: var(--f-cjk); font-size: 16rem; color: rgba(244,239,230,.04); line-height: 1; pointer-events: none; }
.form h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin-bottom: 8px; }
.form > p { color: var(--muted-ink); font-size: 15px; margin-bottom: 30px; }
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(244,239,230,.25);
  color: var(--paper); font: inherit; font-size: 17px; padding: 26px 0 10px; border-radius: 0; outline: none;
  transition: border-color .3s;
}
.field label { position: absolute; left: 0; top: 24px; font-size: 16px; color: var(--muted-ink); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 2px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.field .err { font-size: 12.5px; color: #ff8a80; display: none; margin-top: 6px; }
.field.invalid .err { display: block; }
.field.invalid input { border-color: #ff8a80; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; border: 0; padding: 0; }
.chips legend { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 12px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 15px; border: 1px solid rgba(244,239,230,.25); border-radius: 99px; font-size: 14px; cursor: pointer; transition: all .3s var(--ease); }
.chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 12.5px; color: var(--muted-ink); margin: 16px 0 0; }
.form-ok { display: none; text-align: center; padding: 40px 0 20px; }
.form.sent .form-fields { display: none; }
.form.sent .form-ok { display: block; }
.form-ok .seal { width: 84px; height: 84px; margin: 0 auto 24px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Blog cartes ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 22px; }
.post { display: flex; flex-direction: column; }
.post-media { aspect-ratio: 16/11; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.post:hover .post-media img { transform: scale(1.05); filter: saturate(1); }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); margin: 18px 0 10px; letter-spacing: .02em; }
.post-meta .cat { color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; font-weight: 500; }
.post h3 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 10px; transition: color .3s; }
.post:hover h3 { color: var(--red); }
.post p { font-size: 15px; color: var(--muted); margin: 0; }
.post--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 20px; }
.post--feature .post-media { aspect-ratio: 16/10; }
.post--feature h3 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filters button { background: none; border: 1px solid var(--line); border-radius: 99px; padding: 9px 16px; font-size: 14px; transition: all .3s var(--ease); }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.post.is-hidden { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); }
.faq-list { border-top: 1px solid var(--line); }
.on-ink .faq-list { border-color: var(--line-ink); }
.faq details { border-bottom: 1px solid var(--line); }
.on-ink .faq details { border-color: var(--line-ink); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative; font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--red); transition: transform .4s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq .ans { padding: 0 40px 26px 0; color: var(--muted); font-size: 16px; }
.on-ink .faq .ans { color: #cfc7ba; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; overflow: hidden; }
.cta-band h2 { font-size: clamp(2.6rem, 6.4vw, 6rem); max-width: 14ch; margin: 22px auto 34px; }
.cta-band .ring { position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .07; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(70px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--f-body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-ink); font-weight: 500; margin-bottom: 18px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.foot-grid a:hover, .foot-bottom a:hover { color: var(--red); }
.foot-brand p { color: var(--muted-ink); font-size: 15px; max-width: 34ch; margin-top: 22px; }
.foot-word { font-family: var(--f-display); font-size: clamp(4rem, 15vw, 15rem); line-height: .8; letter-spacing: -.04em; margin: clamp(60px, 8vw, 110px) 0 30px; color: transparent; -webkit-text-stroke: 1px rgba(244,239,230,.22); white-space: nowrap; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted-ink); border-top: 1px solid var(--line-ink); padding-top: 24px; }
.foot-bottom a { color: inherit; }

/* ---------- Contenu éditorial ---------- */
.prose { font-size: 18px; line-height: 1.72; max-width: 68ch; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin: 2em 0 .6em; line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose .lead { font-family: var(--f-display); font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.45; color: var(--ink); max-width: none; margin-bottom: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.prose a:hover { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--red); font-family: var(--f-display); font-size: 1.35rem; line-height: 1.45; font-style: italic; }
.prose strong { font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.prose tr:last-child td { border-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--top { align-items: start; }
.media-frame { border-radius: var(--radius); overflow: hidden; position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.parallax img { height: 118%; position: relative; top: -9%; } /* centre la parallaxe : plus de bande vide en haut ou en bas */

/* principes wing chun */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--paper); display: flex; flex-direction: column; gap: 16px; }
.principle svg { width: 100%; height: 150px; }
.principle h3 { font-size: 1.5rem; }
.principle p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* animaux */
.animals { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-ink); }
.animal { padding: 34px 22px 30px; border-right: 1px solid var(--line-ink); position: relative; transition: background .5s var(--ease); }
.animal:last-child { border-right: 0; }
.animal:hover { background: var(--ink-2); }
.animal .cjk { font-size: 4rem; line-height: 1; color: var(--red); display: block; margin-bottom: 26px; transition: transform .6s var(--ease); }
.animal:hover .cjk { transform: translateY(-6px) scale(1.05); }
.animal h3 { font-size: 1.6rem; margin-bottom: 6px; }
.animal .meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 14px; }
.animal p { font-size: 15px; color: #cfc7ba; margin: 0; }

/* méthode liste */
.aspects { counter-reset: a; border-top: 1px solid var(--line); }
.aspect { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.aspect .n { font-family: var(--f-cjk); color: var(--red); font-size: 2rem; }
.aspect h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.aspect p { color: var(--muted); margin: 0; }

/* Voie : trois piliers */
.pillars { display: grid; gap: 0; }
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; padding: clamp(50px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.pillar:nth-child(even) .pillar-media { order: -1; }
.pillar-media { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.pillar-media img { width: 100%; height: 118%; position: relative; top: -9%; object-fit: cover; }
.pillar .big-cjk { font-family: var(--f-cjk); font-size: clamp(5rem, 9vw, 8rem); color: var(--red); line-height: 1; margin-bottom: 20px; }
.pillar h2 { margin-bottom: 22px; }
.pillar p { color: var(--ink-3); }
.pull { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.35; border-left: 2px solid var(--red); padding-left: 24px; margin: 30px 0 0; }
.signature { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; margin-top: 30px; }

/* Bios instructeurs */
.bio { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; padding: clamp(60px, 8vw, 120px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.bio:first-child { border-top: 0; }
.bio-photo { position: sticky; top: calc(var(--header-h) + 30px); aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio .role { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 18px 0 26px; display: block; }
.bio dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; border-top: 1px solid var(--line); padding-top: 24px; margin: 30px 0 0; font-size: 15px; }
.bio dt { color: var(--muted); }
.bio dd { margin: 0; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 0; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 0; bottom: 0; width: 1px; background: var(--line-ink); }
.timeline .tl-fill { position: absolute; left: 110px; top: 0; width: 1px; height: 100%; background: var(--red); transform-origin: top; transform: scaleY(0); }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 26px 0; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 106px; top: 36px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1px solid var(--red); }
.tl-item b { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; line-height: 1; padding-top: 4px; }
.tl-item h3 { font-size: 1.35rem; margin-bottom: 6px; }
.tl-item p { color: #cfc7ba; margin: 0; font-size: 15.5px; max-width: 60ch; }

/* Horaire */
.sched-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sched { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.sched-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sched-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sched-cap h3 { font-size: 1.35rem; }
.sched-cap span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.wk, .sat { list-style: none; margin: 0; padding: 14px; display: grid; gap: 10px; }
.wk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wk > * { grid-column: var(--c); grid-row: var(--r, 1); }
.wk-day { margin: 0; padding: 2px 4px 4px; font-family: var(--f-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.slot { position: relative; border-radius: 3px; padding: 12px 14px 13px; font-size: 14px; line-height: 1.35; border-left: 3px solid var(--ink); background: var(--paper-2); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.slot time { display: block; font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.slot b { display: block; font-weight: 600; }
.slot span { display: block; color: var(--muted); font-size: 13.5px; }
.sat .slot { display: grid; grid-template-columns: 112px 1fr; column-gap: 12px; align-items: baseline; }
.sat .slot time { grid-row: span 2; margin: 0; }
.slot[data-kind="enfants"] { border-left-color: var(--gold); }
.slot[data-kind="adultes"] { border-left-color: var(--red); }
.slot[data-kind="libre"] { border-left-color: var(--muted); }
.slot.dim { opacity: .18; transform: scale(.98); }
.sched-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.sched-note b { color: var(--ink); font-weight: 600; }
.legend { display: flex; gap: 18px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 7px; vertical-align: -1px; }

/* Galerie */
.gallery { columns: 3 300px; column-gap: 14px; }
.gallery a { display: block; margin: 0 0 14px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,11,10,.94); display: none; place-items: center; padding: 60px 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 84vh; width: auto; max-width: 92vw; border-radius: 3px; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #aaa; font-size: 13px; }
.press { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.press .src { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.press h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }

/* Article */
.art-hero { padding: calc(var(--header-h) + clamp(50px, 7vw, 100px)) 0 50px; }
.art-hero .crumbs { color: var(--muted); }
.art-hero .crumbs a:hover { color: var(--ink); }
.art-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); max-width: 20ch; line-height: 1.04; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); align-items: center; }
.art-meta .cat { color: var(--red); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 500; }
.art-meta .by { color: var(--ink); }
.art-cover { aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(50px, 7vw, 90px); }
.art-cover img { width: 100%; height: 120%; position: relative; top: -10%; object-fit: cover; }
.art-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 50px; }
.toc { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; font-size: 14px; }
.toc h4 { font-family: var(--f-body); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-left: 1px solid var(--line); }
.toc a { display: block; padding-left: 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); line-height: 1.35; transition: all .3s; }
.toc a.active, .toc a:hover { color: var(--ink); border-color: var(--red); }
.share { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; font-size: 14px; display: grid; gap: 10px; }
.share h4 { font-family: var(--f-body); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.share a, .share button { background: none; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; text-align: left; font-size: 14px; transition: all .3s; }
.share a:hover, .share button:hover { border-color: var(--ink); }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin: 50px 0; max-width: 68ch; }
.author-box .av { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--ink); display: grid; place-items: center; color: var(--paper); font-family: var(--f-display); font-size: 1.6rem; }
.author-box .av img { width: 100%; height: 100%; object-fit: cover; }
.author-box b { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; display: block; }
.author-box span { color: var(--muted); font-size: 14px; }
.note { background: var(--paper-2); border-left: 2px solid var(--gold); padding: 14px 18px; font-size: 14.5px; color: var(--ink-3); margin: 0 0 1.4em; border-radius: 0 3px 3px 0; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: transparent; }
.progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* Contact */
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-cards a, .contact-cards div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.contact-cards span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-cards a:hover strong { color: var(--red); }
.contact-cards strong { font-weight: 400; font-family: var(--f-display); font-size: 1.35rem; transition: color .3s; }
.map { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); margin-top: 40px; filter: grayscale(1) contrast(1.05); transition: filter .8s; }
.map:hover { filter: none; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf .cjk { font-size: clamp(6rem, 18vw, 14rem); color: var(--red); line-height: 1; }

/* ---------- Révélations au scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js .hero [data-reveal] { opacity: 1; } /* texte du héros visible tout de suite (LCP) : seul le glissement est animé */
/* Titre du héros : peint dès le premier affichage (bon LCP), seulement un léger glissement */
.hero-title { animation: heroRise 1s var(--ease) both; }
@keyframes heroRise { from { transform: translateY(26px); } }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-clip] { clip-path: inset(100% 0 0 0); }
.js [data-clip].in { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .split-line > span { display: block; transform: translateY(105%); }
.js .in .split-line > span, .js .split-line.in > span { transform: none; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-clip], .js .split-line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .art-layout { grid-template-columns: minmax(0, 1fr) 200px; }
  .art-layout .toc { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .animals { grid-template-columns: repeat(3, 1fr); }
  .animal { border-bottom: 1px solid var(--line-ink); }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .nav > ul, .nav .btn { display: none; }
  .menu-btn { display: block; }
  .hero .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; width: min(300px, 78vw); justify-self: center; margin: -20px 0 -40px; }
  .hero { padding-top: calc(var(--header-h) + 10px); }
  .hero-meta { position: static; margin-top: 40px; padding: 0 var(--gutter); }
  .welcome, .trial, .faq, .split, .pillar, .bio, .sec-head--split, .post--feature { grid-template-columns: 1fr; }
  .sec-head--split .lead { justify-self: start; }
  .pillar:nth-child(even) .pillar-media { order: 0; }
  .trial-aside, .bio-photo { position: static; }
  .bio-photo { max-width: 460px; }
  .courses, .team, .posts, .principles { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(3)::before { left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding-bottom: 24px; }
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .share { position: static; display: flex; flex-wrap: wrap; }
  .share h4 { width: 100%; }
  .sched { grid-template-columns: 1fr; }
  .wk { grid-template-columns: 1fr; }
  .wk > * { grid-column: 1; grid-row: auto; order: calc(var(--c) * 10 + var(--r, 1)); }
  .wk-day { padding-top: 12px; }
  .wk-day[style*="--c:1"] { padding-top: 2px; }
  .sat .slot { grid-template-columns: 96px 1fr; }
  .aspect { grid-template-columns: 50px 1fr; }
  .aspect p { grid-column: 2; }
  .press { grid-template-columns: 1fr; gap: 10px; }
  .method-pin { height: auto; padding: 0; }
  .method-progress { display: none; }
  .method-track { flex-direction: column; padding-right: var(--gutter); }
  .mcard { width: 100%; height: auto; min-height: 300px; }
  .mcard--img { height: 320px; }
  .mcard--intro { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .times li { display: block; }
  .times span { justify-content: flex-start; margin-top: 8px; }
  .courses, .team, .posts, .principles, .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .animals { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-cards a, .contact-cards div { grid-template-columns: 1fr; gap: 4px; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 24px; }
  .timeline::before, .timeline .tl-fill { left: 70px; }
  .tl-item::before { left: 66px; }
  .tl-item b { font-size: 1.35rem; }
  .phero .vert { display: none; }
  .stack .badge { width: 104px; height: 104px; left: -6px; }
  .stack .badge b { font-size: 28px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .scroll-cue { display: none !important; }
  .brand-txt small { letter-spacing: .12em; font-size: 8.5px; white-space: nowrap; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  /* zones de toucher plus grandes (sans changer la mise en page) */
  .foot-grid ul { gap: 0; }
  .foot-grid li a { display: inline-block; padding: 10px 0; }
  .crumbs a { padding: 10px 0; margin: -10px 0; }
  .mobile-menu li.small a { line-height: 2.5; }
  .testi-bg img { object-position: 20% 50%; } /* évite le panneau « Kung Fu » coupé au centre */
  .art-cover { aspect-ratio: 16/10; } /* 21/9 écrasait les photos : têtes coupées */
}

/* ==========================================================================
   Héros de l'accueil — versions à comparer (Photo, Encre)
   ========================================================================== */

/* ---------- Version Photo : grande photo plein écran ---------- */
.hero--photo { align-items: end; padding-bottom: clamp(110px, 14vh, 150px); }
.hero-photo { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 40%; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  filter: grayscale(1) contrast(1.1) brightness(.92);
  animation: heroPhotoIn 2.6s var(--ease) both;
}
@keyframes heroPhotoIn { from { transform: scale(1.14); opacity: 0; } }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(18,17,16,.96) 0%, rgba(18,17,16,.72) 32%, rgba(18,17,16,.18) 62%, rgba(18,17,16,.45) 100%),
    linear-gradient(90deg, rgba(18,17,16,.55) 0%, rgba(18,17,16,0) 60%);
}
.hero--photo::before { z-index: 1; }
.hero--photo .hero-grid { z-index: 2; grid-template-columns: 1fr; }
.hero--photo .hero-copy { max-width: 760px; }
.hero--photo .hero-meta { z-index: 2; }
.hero-vert {
  position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: clamp(4rem, 9vw, 8.5rem); line-height: 1; letter-spacing: .08em;
  color: var(--red);
}
.hero-vert span { display: block; animation: heroVertIn 1.6s var(--ease) .6s both; }
@keyframes heroVertIn { from { opacity: 0; transform: translateY(-60px); } }

/* ---------- Version Encre : papier, arche photo, sceau rouge ---------- */
.hero--encre { background: var(--paper); color: var(--ink); }
.hero--encre::before { mix-blend-mode: multiply; opacity: .07; }
.hero--encre .eyebrow, .hero--encre .hero-meta { color: var(--muted); }
.hero--encre .lead, .hero--encre h1 .l2 { color: var(--muted); }
.hero--encre h1 .l2 { color: var(--red); }
.hero--encre .scroll-cue b { background: linear-gradient(var(--ink), transparent); }
.hero--encre .hero-grid { grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); }
.hero-ghost {
  position: absolute; right: -6vw; top: 50%; transform: translateY(-50%);
  font-size: clamp(22rem, 52vw, 50rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(198, 47, 38, .22); pointer-events: none; user-select: none;
  animation: heroGhostIn 2.4s var(--ease) both;
}
@keyframes heroGhostIn { from { opacity: 0; letter-spacing: .2em; } }
.hero-arch { position: relative; justify-self: end; width: min(100%, 440px); aspect-ratio: 3 / 4; }
.arch, .arch-line { position: absolute; inset: 0; border-radius: 999px 999px 6px 6px; }
.arch { overflow: hidden; background: var(--paper-3); animation: archIn 1.6s var(--ease) .2s both; }
@keyframes archIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.arch img { width: 100%; height: 116%; object-fit: cover; object-position: 30% 20%; filter: grayscale(.9) sepia(.18) contrast(1.05); }
.arch-line { border: 1px solid var(--red); transform: translate(18px, -18px); animation: heroFade 1.4s var(--ease) .9s both; }
@keyframes heroFade { from { opacity: 0; } }
.hero-seal { position: absolute; left: -34px; bottom: 54px; width: 96px; height: 96px; }
.hero-stamp {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--red); color: var(--paper); border-radius: 6px;
  box-shadow: 0 18px 40px -18px rgba(158, 34, 25, .7); transform: rotate(-5deg);
  animation: sealIn .7s cubic-bezier(.3, 1.6, .5, 1) 1.3s both;
}
.hero-stamp span { writing-mode: vertical-rl; font-size: 34px; line-height: 1; letter-spacing: .06em; }
.hero-stamp::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(244, 239, 230, .55); border-radius: 3px; }
@keyframes sealIn { from { opacity: 0; transform: scale(1.8) rotate(-18deg); } }

/* ---------- Sélecteur de version (temporaire) ---------- */
.vswitch {
  position: fixed; left: 50%; bottom: 74px; transform: translateX(-50%); z-index: 90;
  display: flex; align-items: center; gap: 2px; padding: 5px;
  background: rgba(18, 17, 16, .92); color: var(--paper); border-radius: 999px;
  font-size: 13px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.vswitch span { padding: 8px 10px 8px 14px; color: var(--muted-ink); }
.vswitch a { padding: 8px 15px; border-radius: 999px; transition: background .3s; }
.vswitch a:hover { background: var(--ink-3); }
.vswitch a[aria-current] { background: var(--red); }

@media (max-width: 960px) {
  .hero--photo .hero-grid { grid-template-columns: 1fr; }
  .hero--photo { padding-top: calc(var(--header-h) + 26vh); padding-bottom: 40px; }
  .hero-photo img { height: 66%; object-position: 58% 20%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); } /* mobile : montre le chi sao (les deux mains) et le visage, pas seulement un visage */
  .hero-shade { background: linear-gradient(0deg, rgba(18,17,16,.97) 0%, rgba(18,17,16,.9) 50%, rgba(18,17,16,.55) 66%, rgba(18,17,16,.1) 85%, rgba(18,17,16,.45) 100%); }
  .hero-vert { display: none; }
  .hero--encre .hero-grid { grid-template-columns: 1fr; }
  .hero-arch { order: -1; justify-self: center; width: min(250px, 62vw); margin: 10px 0 18px; }
  .hero-seal { width: 70px; height: 70px; left: -22px; bottom: 30px; }
  .hero-stamp span { font-size: 25px; }
  .arch-line { transform: translate(12px, -12px); }
  .hero-ghost { font-size: 26rem; right: -34vw; top: 24%; -webkit-text-stroke-color: rgba(198, 47, 38, .13); }
}
@media (max-width: 640px) {
  .vswitch { bottom: 12px; font-size: 12.5px; }
  .vswitch span { display: none; }
}

/* Principes : schémas techniques */
.principle svg { height: auto; aspect-ratio: 320 / 190; }
.principle .pl { font-family: var(--f-body); font-size: 7.5px; font-weight: 500; letter-spacing: .16em; fill: #8a8276; }
.principle .pl.lr { fill: var(--red); }
.js .principle .dr { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .principle.in .dr { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) calc(var(--d, 0s) + .3s); }
@media (prefers-reduced-motion: reduce) { .js .principle .dr { stroke-dashoffset: 0 !important; } }
