/* css/polices.css */
/* Polices hébergées sur le site (tools : scratchpad polices.js, 14/11/2026). Source : Google Fonts, licence OFL. */
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/polices/amiri-arabic-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/polices/amiri-latin-ext-400.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: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/polices/amiri-latin-400.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: 'Amiri'; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/polices/amiri-arabic-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/polices/amiri-latin-ext-700.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: 'Amiri'; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/polices/amiri-latin-700.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: 200; font-display: swap; src: url(../assets/polices/inter-tight-latin-ext-200.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: 'Inter Tight'; font-style: normal; font-weight: 200; font-display: swap; src: url(../assets/polices/inter-tight-latin-200.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/polices/inter-tight-latin-ext-200.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: 'Inter Tight'; font-style: normal; font-weight: 300; font-display: swap; src: url(../assets/polices/inter-tight-latin-200.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/polices/inter-tight-latin-ext-200.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: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/polices/inter-tight-latin-200.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/polices/inter-tight-latin-ext-200.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: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/polices/inter-tight-latin-200.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; }

/* css/style.css */
/* ROQYA — Se faire roqia soi-même
   Direction : nuit profonde, or du logo, une couleur vive par étape du parcours. */

:root {
  --bg: #05080a;
  --bg-2: #0a1215;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f1ece0;
  --muted: #a9b1b3;
  --gold: #e9c46a;
  --gold-2: #f7e3a8;
  --gold-ink: #1a1405;
  --aqua: #3fe6cf;

  /* une couleur vive par colonne */
  --c-djinns: #9d8cff;
  --c-mal: #ff7a8a;
  --c-diag: #5cb8ff;
  --c-guerison: #46e0a4;
  --c-protection: #f2c45a;
  --c-biblio: #3fe6cf;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Amiri", "Traditional Arabic", serif;

  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: .005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Fond : aurore lente ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, #0b161a 0%, var(--bg) 60%); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: #1fb7a6; opacity: .28; animation: drift-a 38s var(--ease) infinite alternate; }
.aurora i:nth-child(2) { width: 44vw; height: 44vw; right: -12vw; top: 4vw; background: #6f5cf0; opacity: .24; animation: drift-b 46s var(--ease) infinite alternate; }
.aurora i:nth-child(3) { width: 38vw; height: 38vw; left: 30vw; top: 46vh; background: #c9963a; opacity: .13; animation: drift-a 54s var(--ease) infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-9vw, 9vh, 0) scale(1.1); } }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 100; height: var(--header-h); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.header.is-stuck, .header.is-open { background: rgba(5, 8, 10, .82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand b { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .22em; color: var(--gold-2); }

.nav { flex: 1; display: flex; justify-content: center; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-btn { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.nav-btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); opacity: .7; }
.nav-btn:hover, .nav-item.is-open .nav-btn { color: var(--text); background: var(--surface-2); }
.nav-item.is-open .nav-btn svg { transform: rotate(180deg); }
.nav-item.is-open .nav-btn { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }

.drawer { position: absolute; left: 0; right: 0; top: var(--header-h); padding: 0 var(--gutter); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
.nav-item.is-open .drawer { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drawer-in { max-width: 1000px; margin: 10px auto 0; display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 26px; border: 1px solid var(--line); border-top: 2px solid var(--c); border-radius: var(--radius); background: rgba(9, 15, 18, .96); backdrop-filter: blur(24px); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px color-mix(in srgb, var(--c) 10%, transparent); }
.drawer-head h3 { font-size: 30px; color: var(--c); }
.drawer-head p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.drawer-head a { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--text); min-height: 44px; }
.drawer-head a::after { content: "→"; transition: transform .2s; }
.drawer-head a:hover::after { transform: translateX(4px); }
.drawer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; align-content: start; }
.drawer-links a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 10px; font-size: 15px; transition: background .2s; }
.drawer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 10px var(--c); }
.drawer-links a:hover { background: var(--surface-2); }
.tag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.tag.free { color: var(--c-guerison); border-color: color-mix(in srgb, var(--c-guerison) 45%, transparent); }
.tag.premium { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }

.header-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15.5px; transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #c99a3b); color: var(--gold-ink); box-shadow: 0 8px 30px rgba(233, 196, 106, .22); }
.btn-gold:hover { box-shadow: 0 10px 40px rgba(233, 196, 106, .4); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--aqua); background: rgba(63, 230, 207, .07); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.header.is-open .burger span { background: transparent; }
.header.is-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.header.is-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
.nav-extra { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 18px; font-size: clamp(46px, 7.4vw, 96px); font-weight: 500; }
.hero h1 em { font-style: italic; background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero .lead { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 34px; font-size: 14.5px; color: var(--muted); }
.hero-facts b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 500; line-height: 1; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }

.orb { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.orb::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(233, 196, 106, .34), rgba(63, 230, 207, .12) 45%, transparent 70%); filter: blur(26px); animation: breathe 9s ease-in-out infinite; }
.orb .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(233, 196, 106, .2); }
.orb .ring:nth-of-type(1) { inset: 6%; animation: spin 80s linear infinite; border-style: dashed; border-color: rgba(63, 230, 207, .22); }
.orb .ring:nth-of-type(2) { inset: 0; border-color: rgba(255, 255, 255, .07); }
.orb .ring:nth-of-type(1)::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 18px var(--aqua); }
.orb img { position: relative; width: 74%; animation: float 9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 58px); }
.section-head p { margin-top: 14px; color: var(--muted); }

/* Parcours : 5 étapes */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, transparent), var(--surface) 55%); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 15px; letter-spacing: .2em; color: var(--c); }
.step::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: linear-gradient(90deg, var(--c), transparent); }
.step:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 50px color-mix(in srgb, var(--c) 14%, transparent); }
.step .ico { width: 46px; height: 46px; margin-top: 18px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-top: 18px; font-size: 27px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); flex: 1; }
.step .more { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--c); }
.step .more::after { content: " →"; }

/* Bibliothèque */
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; min-height: 210px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, background .3s, transform .35s var(--ease); }
.tile:hover { border-color: color-mix(in srgb, var(--c-biblio) 50%, transparent); background: rgba(63, 230, 207, .05); transform: translateY(-4px); }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c-biblio); background: rgba(63, 230, 207, .1); }
.tile h3 { font-size: 25px; }
.tile p { font-size: 14.5px; color: var(--muted); flex: 1; }
.tile .tags { display: flex; gap: 6px; }
.tile .tag { margin: 0; }

/* Formation + livres */
.duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.panel { position: relative; padding: clamp(26px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.panel h3 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 44px); }
.panel p { margin-top: 12px; color: var(--muted); max-width: 34em; }
.panel ul { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }
.panel li { display: flex; gap: 10px; }
.panel li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.panel .btn { margin-top: 28px; }
.panel-gold { border-color: rgba(233, 196, 106, .28); background: radial-gradient(120% 120% at 100% 0%, rgba(233, 196, 106, .16), transparent 55%), var(--surface); }
.panel-gold .eyebrow { color: var(--gold); }

/* Articles */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 12px; min-height: 180px; }
.post span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 25px; }
.post p { font-size: 14.5px; color: var(--muted); }

/* Écosystème */
.eco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.eco a { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, background .3s; min-height: 130px; }
.eco a:hover { border-color: var(--gold); background: rgba(233, 196, 106, .05); }
.eco b { font-family: var(--font-display); font-size: 23px; font-weight: 500; }
.eco span { font-size: 14px; color: var(--muted); flex: 1; }
.eco i { font-style: normal; font-size: 13px; color: var(--gold); overflow-wrap: anywhere; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq .section-head { text-align: center; margin-inline: auto; }
.faq .eyebrow::before { display: none; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 16px 4px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(21px, 2.2vw, 25px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(var(--text), var(--text)) center / 12px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 12px no-repeat; transition: transform .3s var(--ease), border-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--gold); }
.faq details[open] summary { color: var(--gold-2); }
.faq .answer { padding: 0 4px 24px; color: var(--muted); font-size: 16px; }
.faq .answer strong { color: var(--text); font-weight: 600; }
.faq .answer ul, .faq .answer ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.faq .answer ul { list-style: disc; } .faq .answer ol { list-style: decimal; }
.faq-more { margin-top: 32px; text-align: center; }

/* Pied de page */
.footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 56px 0 32px; background: rgba(0, 0, 0, .35); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer .brand b { font-size: 24px; }
.footer p { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 30em; }
.footer :is(h4, .footer-h) { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; color: var(--muted); }
.footer li a:hover { color: var(--text); }
.notice { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); }
.notice b { color: var(--text); }
.legal { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }

/* Message « page en préparation » */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: rgba(12, 20, 23, .96); border: 1px solid var(--line-strong); font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Adaptation ---------- */
@media (max-width: 1180px) {
  .burger { display: flex; }
  .header .wrap { justify-content: space-between; }
  .header-cta .btn { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); display: block; padding: 12px var(--gutter) 40px; background: rgba(5, 8, 10, .98); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
  .header.is-open .nav { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-btn { width: 100%; height: 60px; padding: 0 4px; justify-content: space-between; font-size: 18px; color: var(--text); border-radius: 0; }
  .nav-btn:hover, .nav-item.is-open .nav-btn { background: none; box-shadow: none; color: var(--c); }
  .nav-btn svg { width: 18px; height: 18px; }
  .drawer { position: static; padding: 0; visibility: visible; opacity: 1; transform: none; display: none; }
  .nav-item.is-open .drawer { display: block; }
  .drawer-in { display: block; margin: 0 0 16px; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
  .drawer-head h3, .drawer-head p { display: none; }
  .drawer-head a { margin: 0 0 4px; color: var(--c); }
  .drawer-links { grid-template-columns: 1fr; }
  .drawer-links a { padding-inline: 4px; }
  .nav-extra { display: grid; gap: 10px; margin-top: 24px; }
  .path { grid-template-columns: repeat(2, 1fr); }
  .path .step:last-child { grid-column: 1 / -1; min-height: 0; }
  .shelf, .eco { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cosmos { order: -1; width: min(88vw, 400px); }
  .duo, .posts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .path, .shelf, .eco { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .hero-actions .btn { width: 100%; }
  .brand b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .w { opacity: 1; filter: none; transform: none; }
}

/* =====================================================================
   Mouvement : étoiles, système de planètes, effets de lumière
   ===================================================================== */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body::after { content: ""; position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .055; mix-blend-mode: overlay; 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"); }
.progress { position: fixed; left: 0; top: 0; z-index: 150; width: 100%; height: 2px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--aqua), var(--c-djinns)); box-shadow: 0 0 12px var(--aqua); }

/* Titre : les mots se posent un par un */
.hero { overflow: clip; }
.hero .wrap { grid-template-columns: 1fr 1fr; }
.hero h1 .w { display: inline-block; animation: word 1s var(--ease) both; animation-delay: calc(var(--i) * .11s + .15s); }
@keyframes word { from { opacity: 0; filter: blur(14px); transform: translateY(.35em); } }

/* Système de planètes */
.cosmos { position: relative; width: min(100%, 580px); aspect-ratio: 1; margin-inline: auto; }
.cosmos .dial { position: absolute; inset: 20%; border-radius: 50%; opacity: .32; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .55) 0 .5deg, transparent .5deg 5deg); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 6px), #000 calc(100% - 6px)); mask: radial-gradient(closest-side, transparent calc(100% - 6px), #000 calc(100% - 6px)); animation: spin 140s linear infinite; }
.cosmos .orbits { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.orbits ellipse { fill: none; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .5; }
.orbits ellipse.dash { stroke-dasharray: 3 7; animation: dash 40s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.core { position: absolute; inset: 27%; z-index: 2; display: grid; place-items: center; }
.core::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(233, 196, 106, .42), rgba(63, 230, 207, .14) 45%, transparent 70%); filter: blur(22px); animation: breathe 9s ease-in-out infinite; }
.core i { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(233, 196, 106, .55); opacity: 0; animation: ping 6s var(--ease) infinite; }
.core i + i { animation-delay: 3s; }
@keyframes ping { 0% { transform: scale(.7); opacity: 0; } 15% { opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
.core img { position: relative; width: 100%; animation: float 9s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(233, 196, 106, .35)); }
.planet { position: absolute; left: 50%; top: 50%; width: var(--s, 16px); height: var(--s, 16px); border-radius: 50%; background: radial-gradient(circle at 32% 30%, #fff, var(--c) 42%, color-mix(in srgb, var(--c) 35%, #000) 100%); box-shadow: 0 0 16px var(--c), 0 0 44px color-mix(in srgb, var(--c) 50%, transparent); will-change: transform; }
.planet::before { content: ""; position: absolute; inset: -15px; border-radius: 50%; }
.planet::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s var(--ease); }
.planet:hover::after, .planet:focus-visible::after { opacity: 1; transform: scale(1.5); }
.planet span { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 4px); white-space: nowrap; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; background: rgba(8, 14, 17, .92); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); color: var(--text); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.planet:hover span, .planet:focus-visible span { opacity: 1; transform: translate(-50%, 0); }

/* Bandeau défilant */
.marquee { overflow: hidden; padding: 6px 0 10px; border-block: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 36px; padding-left: 36px; font-family: var(--font-display); font-style: italic; font-size: clamp(34px, 5vw, 64px); line-height: 1.2; color: transparent; -webkit-text-stroke: 1px rgba(241, 236, 224, .32); white-space: nowrap; }
.marquee span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Lumière qui suit le curseur sur les cartes */
.tile, .post, .eco a { position: relative; overflow: hidden; }
.step > *, .tile > *, .panel > *, .post > *, .eco a > * { position: relative; }
.step > .spot, .tile > .spot, .panel > .spot, .post > .spot, .eco a > .spot { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c, var(--aqua)) 22%, transparent), transparent 62%); }
:hover > .spot { opacity: 1 !important; }

/* Inclinaison 3D des cartes du parcours */
.step.reveal.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .25s var(--ease), border-color .3s, box-shadow .35s, opacity .6s var(--ease); }
.step.reveal.in:hover { --ty: -6px; }

/* Bordure lumineuse tournante sur la formation */
.panel-gold::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--ang), transparent 0 62%, var(--gold-2) 78%, var(--aqua) 88%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: turn 7s linear infinite; }
@keyframes turn { to { --ang: 360deg; } }
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: sheen 5.5s var(--ease) infinite; }
@keyframes sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* Planètes : davantage de cercles, lunes, anneau */
.hero .wrap { grid-template-columns: .85fr 1.15fr; }
.cosmos { width: min(100%, 700px); }
.core { inset: 29%; }
.orbits ellipse.ghost { stroke: rgba(255, 255, 255, .5); opacity: .16; }
.orbits ellipse.far { opacity: .1; stroke-dasharray: 1 9; }
.orbits ellipse.belt { stroke: rgba(247, 227, 168, .9); stroke-width: 2.5px; stroke-dasharray: .6 7; stroke-linecap: round; opacity: .38; animation: dash 90s linear infinite reverse; }
.planet .moon { position: absolute; inset: -9px; border-radius: 50%; animation: spin 5s linear infinite; pointer-events: none; }
.planet .moon::before { content: ""; position: absolute; left: 50%; top: -2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; }
.planet .saturn { position: absolute; left: 50%; top: 50%; width: 210%; height: 62%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c) 75%, #fff); transform: translate(-50%, -50%) rotate(-20deg); opacity: .8; pointer-events: none; box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cosmos { width: min(94vw, 430px); }
}

/* Système de planètes : cadre moins haut que large, le centre reste rond */
.cosmos { aspect-ratio: 1 / .74; }
.cosmos .orbits { inset: auto; left: 0; top: 50%; width: 100%; height: auto; aspect-ratio: 1; transform: translateY(-50%); }
.core { inset: auto; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.cosmos .dial { inset: auto; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; margin: -29% 0 0 -29%; }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .w { animation: none !important; }
}

/* =====================================================================
   Scène d'ouverture en 3D
   ===================================================================== */
.intro { position: relative; height: 620vh; margin-top: calc(-1 * var(--header-h)); }
.no-intro .intro { display: none; }
.intro-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #020405; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.intro.ready #scene { opacity: 1; }
.intro-ui { position: absolute; inset: 0; pointer-events: none; }
.intro-ui button { pointer-events: auto; }

.intro-start { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 16vh; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.intro-start .eyebrow::before { display: none; }
.intro-title { font-family: var(--font-display); font-size: clamp(40px, 6.4vw, 92px); line-height: 1.05; text-shadow: 0 0 40px rgba(0, 0, 0, .8); }
.intro-hint { margin-top: 10px; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.intro-hint i { width: 24px; height: 38px; border: 1.5px solid var(--line-strong); border-radius: 14px; position: relative; }
.intro-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

.intro-cap { position: absolute; left: clamp(16px, 6vw, 90px); bottom: 14vh; display: flex; flex-direction: column; opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease); }
.intro-cap.on { opacity: 1; transform: none; filter: none; }
.intro-cap span { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; color: var(--muted); }
.intro-cap b { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(64px, 10vw, 150px); line-height: .95; color: var(--c); text-shadow: 0 0 50px color-mix(in srgb, var(--c) 55%, transparent); }
.intro-cap em { font-style: normal; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }

.intro-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 var(--gutter); text-align: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s .9s; }
.intro-end.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.intro-ar { font-family: var(--font-ar); font-size: clamp(26px, 3.6vw, 50px); line-height: 1.9; color: var(--gold-2); text-shadow: 0 0 30px rgba(233, 196, 106, .45), 0 2px 20px rgba(0, 0, 0, .8); }
.intro-fr { max-width: 30em; font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.35; text-shadow: 0 2px 20px rgba(0, 0, 0, .9); }
.intro-ref { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); }
.intro-end .btn { margin-top: 12px; min-width: 180px; }

.intro-dots { position: absolute; right: clamp(16px, 3vw, 40px); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.intro-dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .4s, box-shadow .4s, border-color .4s; }
.intro-dots i.on { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--gold); }
.intro-tools { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(18px, 4vh, 40px); display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(5, 8, 10, .55); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 700; color: var(--text); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--gold); }
.chip:active { transform: scale(.96); }
.chip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-2); background: rgba(233, 196, 106, .12); }
.chip[aria-pressed="false"] svg path + path { opacity: .25; }
@media (max-width: 560px) {
  .intro { height: 520vh; }
  .intro-cap { bottom: 18vh; }
  .intro-tools { left: 16px; right: 16px; justify-content: space-between; }
}

/* Fin de l'introduction : voile sombre derrière le verset pour la lisibilité */
.intro-end::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 130vw); height: min(620px, 90vh); transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(2, 4, 5, .82), rgba(2, 4, 5, .55) 55%, transparent); pointer-events: none; }
.intro-end > * { position: relative; }
#scene { transition-duration: .6s; }

/* Légende : le mot est dans la scène, la légende donne son sens */
.intro-cap { gap: 8px; }
.intro-cap em { font-family: var(--font-display); font-style: italic; text-transform: none; letter-spacing: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; color: var(--c); text-shadow: 0 0 30px color-mix(in srgb, var(--c) 50%, transparent), 0 2px 18px rgba(0, 0, 0, .8); }

/* =====================================================================
   Parcours d'ouverture : bouteille de lumière, étapes, curseur
   ===================================================================== */
.intro { height: 760vh; }
.intro-stage { cursor: grab; }
.intro-stage:active { cursor: grabbing; }

/* Lettres déstructurées qui se rejoignent */
.split .wd { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; opacity: 0; filter: blur(8px); transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.5); transition: transform 1.15s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 28ms); will-change: transform; }
.assemble.on .split .ch { opacity: 1; filter: none; transform: none; }
.assemble:not(.on) .split .ch { transition-duration: .5s, .35s, .35s; transition-delay: 0s; }

.intro-start { bottom: 10vh; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.intro-start.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.intro-start .intro-title { font-size: clamp(38px, 6vw, 88px); }

/* Les cinq étapes */
.intro-chap { position: absolute; left: clamp(16px, 6vw, 96px); bottom: 13vh; max-width: min(560px, calc(100vw - 32px)); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; pointer-events: none; }
.intro-chap.on { opacity: 1; visibility: visible; transition-delay: 0s; pointer-events: auto; }
.intro-chap > * { will-change: transform; }
.chap-ghost { position: absolute; left: -.06em; bottom: .1em; z-index: -1; font-family: var(--font-display); font-size: clamp(220px, 34vw, 520px); line-height: .8; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 34%, transparent); opacity: .5; pointer-events: none; }
.chap-num { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--c); }
.intro-chap h2 { font-size: clamp(46px, 7.2vw, 108px); line-height: .98; text-shadow: 0 2px 30px rgba(0, 0, 0, .7); }
.intro-chap h2 .ch { text-shadow: 0 0 40px color-mix(in srgb, var(--c) 45%, transparent); }
.intro-chap p { font-size: clamp(16px, 1.5vw, 19px); color: var(--text); max-width: 26em; text-shadow: 0 2px 16px rgba(0, 0, 0, .9); opacity: 0; transition: opacity .6s var(--ease) .35s; }
.intro-chap .btn { opacity: 0; transition: opacity .6s var(--ease) .5s, border-color .2s, background .2s; border-color: color-mix(in srgb, var(--c) 60%, transparent); background: rgba(5, 8, 10, .5); backdrop-filter: blur(8px); }
.intro-chap.on p, .intro-chap.on .btn { opacity: 1; }
.intro-dots { gap: 16px; }

/* Curseur en cercle */
.cursor { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor .intro-stage { cursor: none !important; }
.cursor i, .cursor b { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor i { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-2); box-shadow: 0 0 10px var(--gold); }
.cursor b { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(247, 227, 168, .75); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, opacity .3s; display: grid; place-items: center; font: 700 9.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.cursor.link b { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(247, 227, 168, .14); border-color: var(--gold-2); }
.cursor.scene b { width: 84px; height: 84px; margin: -42px 0 0 -42px; border-color: rgba(247, 227, 168, .55); color: var(--gold-2); }
.cursor.scene b::after { content: "Maintenir"; }
.cursor.down b { width: 30px; height: 30px; margin: -15px 0 0 -15px; background: rgba(247, 227, 168, .5); }
.cursor.down b::after { content: ""; }
.cursor.hide { opacity: 0; }

/* Titres du site : mêmes lettres qui se rejoignent, à l'apparition */
.section-head.assemble h2 .ch { transition-delay: calc(var(--i) * 22ms); }

@media (max-width: 560px) {
  .intro { height: 680vh; }
  .intro-chap { bottom: 16vh; }
  .intro-chap h2 { font-size: clamp(40px, 13vw, 64px); }
}
@media (prefers-reduced-motion: reduce) {
  .split .ch { opacity: 1; filter: none; transform: none; }
}

/* ---------- Ouverture « Libération » : neuf photos sur fond uni qui se fondent l'une dans l'autre ---------- */
.lib { position: relative; height: 100vh; height: 100svh; min-height: 420px; margin-top: calc(-1 * var(--header-h)); background: #040708; overflow: hidden; }
.lib-stage { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.lib-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity 1s linear; }
.lib-stage img.on { opacity: 1; }
.lib-tools { position: absolute; right: var(--gutter); bottom: clamp(18px, 5vh, 44px); display: flex; gap: 10px; }
.lib-tools [hidden] { display: none; }
@media (max-aspect-ratio: 1/1) {
  /* Écran en hauteur : l'image entière, pour ne pas couper les bras ni le verre. */
  .lib-stage img { object-fit: contain; object-position: 50% 42%; }
}
@media (prefers-reduced-motion: reduce) { .lib-stage img { transition: none; } }

/* css/clair.css */
/* ROQYA, monde visuel du 11/11/2026 (version claire). Chargé après style.css, qu'il corrige et prolonge.
   Idée directrice : l'ouverture reste dans l'ombre des photos, puis le jour se lève et tout le site
   est clair, aéré, avec des couleurs vives : un vert de guérison pour l'action, l'or du logo,
   et une couleur par étape du parcours. */

:root {
  /* page claire */
  --bg: #fbf8f1;
  --bg-2: #f3eee2;
  --text: #13231e;
  --muted: #55645e;
  --line: rgba(19, 35, 30, .12);
  --line-strong: rgba(19, 35, 30, .24);
  --surface: rgba(19, 35, 30, .035);
  --surface-2: rgba(19, 35, 30, .07);
  --vert: #0a8f63;
  --vert-2: #076f4d;
  --vert-pale: #e6f4ec;
  --sable: #f6ecd6;
  --gold: #b07d1f;
  --gold-2: #8f6412;
  --gold-ink: #17120a;
  --or-vif: #e3b95a;
  --nuit: #040708;
  --aqua: var(--vert);

  /* une couleur vive par étape */
  --c-djinns: #6a45f0;
  --c-mal: #e0484d;
  --c-diag: #1b74dc;
  --c-guerison: #0a8f63;
  --c-protection: #d58300;
  --c-biblio: #0e8fa3;

  --font-display: "Gloock", "Times New Roman", serif;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scrollbar-color: #b9c4bd var(--bg); }
body { font-size: 17px; line-height: 1.6; background: var(--bg); color: var(--text); }
::selection { background: var(--vert); color: #fff; }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.01em; }

/* Ce que l'ancien monde posait en décor et qui disparaît. */
.aurora, .progress, .marquee { display: none; }

/* ---------- En-tête : clair sur la photo, puis barre blanche ---------- */
.header { --text: #f6f0e2; --muted: #d8d0bf; --line-strong: rgba(246, 240, 226, .3); --surface-2: rgba(246, 240, 226, .12); color: var(--text); }
.header.is-stuck, .header.is-open { --text: #13231e; --muted: #55645e; --line-strong: rgba(19, 35, 30, .24); --surface-2: rgba(19, 35, 30, .07); background: rgba(251, 248, 241, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand b { font-family: var(--font-body); font-size: 19px; font-weight: 600; letter-spacing: .3em; color: var(--text); }
.nav-btn { font-weight: 500; }
.nav-item.is-open .nav-btn { box-shadow: none; color: var(--c); }
.drawer { --text: #13231e; --muted: #55645e; --line: rgba(19, 35, 30, .12); --line-strong: rgba(19, 35, 30, .24); --surface-2: rgba(19, 35, 30, .06); color: var(--text); }
.drawer-in { border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 14px; background: #fffdf8; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 24px 60px rgba(19, 35, 30, .16); }
.drawer-head h3 { color: var(--c); }
.drawer-links a::before { box-shadow: none; }
.btn { border-radius: 12px; font-weight: 600; }
.btn-gold { background: var(--vert); color: #fff; box-shadow: none; }
.btn-gold::after { display: none; }
.btn-gold:hover { background: var(--vert-2); box-shadow: none; transform: none; }
.btn-ghost { background: none; }
.btn-ghost:hover { border-color: var(--vert); background: none; }
.tag { border-radius: 999px; }
.tag.free { color: var(--vert-2); border-color: rgba(10, 143, 99, .45); background: var(--vert-pale); }
.tag.premium { color: var(--gold-2); border-color: rgba(176, 125, 31, .45); background: #fbf1da; }
.chip { border-radius: 10px; font-weight: 600; color: #f6f0e2; }
.toast { color: #f6f0e2; }

/* ---------- Boutons et liens du contenu ---------- */
.m-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 12px; background: var(--vert); color: #fff; font-weight: 600; font-size: 16px; box-shadow: 0 10px 24px -12px rgba(10, 143, 99, .7); transition: background .16s var(--ease), transform .16s var(--ease); }
.m-btn:hover { background: var(--vert-2); }
.m-btn:active { transform: scale(.98); }
.m-lien { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; font-size: 16px; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; transition: color .16s var(--ease), text-decoration-color .16s var(--ease); }
.m-lien:hover, a:hover > .m-lien { color: var(--vert-2); text-decoration-color: var(--vert); }
.m-fleche, .m-sortie { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
a:hover .m-fleche { transform: translateX(4px); }
a:hover .m-sortie { transform: translate(2px, -2px); }
.m-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Ouverture : dans l'ombre, la photo à droite, la promesse à gauche ---------- */
.lib { --text: #f6f0e2; --line-strong: rgba(246, 240, 226, .35); display: grid; align-items: end; min-height: 600px; background: var(--nuit); color: var(--text); }
.lib-stage { inset: 0 -4vw 0 4vw; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.lib-stage img { object-position: 35% 42%; }
.lib::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4, 7, 8, .92) 0%, rgba(4, 7, 8, .6) 30%, rgba(4, 7, 8, 0) 58%); }
.lib-texte { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin-inline: auto; padding: 0 var(--gutter) clamp(48px, 9vh, 104px); }
.lib-texte h1 { max-width: 9ch; font-size: clamp(3rem, 6.6vw, 6rem); line-height: .98; letter-spacing: -.02em; }
.lib-texte p { margin: 26px 0 34px; max-width: 34ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: #d8d0bf; }
.lib-texte .m-btn { background: var(--or-vif); color: var(--gold-ink); box-shadow: none; }
.lib-texte .m-btn:hover { background: #f2d999; }
.lib-texte .m-lien:hover { color: #f2d999; text-decoration-color: var(--or-vif); }
.lib-tools { z-index: 3; }

/* Le lever du jour : de l'ombre de l'ouverture à la page claire. */
.m-aube { height: clamp(140px, 26vh, 260px); background: linear-gradient(var(--nuit) 0%, #2b1d0c 28%, #a8732a 55%, #f0cd8b 76%, #fbf1dc 90%, var(--bg) 100%); }

/* ---------- Sections ---------- */
.m-section { padding: clamp(72px, 11vh, 140px) 0; }
.m-parcours { padding-top: clamp(40px, 6vh, 72px); }
.m-tete { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 6vh, 72px); }
.m-tete h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; }
.m-tete p { max-width: 36ch; font-size: 1.1rem; color: var(--muted); padding-bottom: .5em; }

/* Les cinq étapes : une liste que l'on descend, une couleur par étape. */
.m-etapes { border-top: 1px solid var(--line-strong); }
.m-etapes li { border-bottom: 1px solid var(--line); }
.m-etape { display: grid; grid-template-columns: 5.5rem minmax(0, 1.05fr) minmax(0, 1fr) 24px; align-items: center; gap: 0 32px; padding: clamp(26px, 3.6vh, 44px) 0; border-radius: 16px; transition: background .2s var(--ease), padding .3s var(--ease); }
.m-num { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); font-family: var(--font-display); font-size: 1.35rem; font-variant-numeric: lining-nums tabular-nums; transition: background .2s var(--ease), color .2s var(--ease); }
.m-etape-titre strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; letter-spacing: -.015em; transition: color .2s var(--ease); }
.m-etape-titre span { display: block; margin-top: 10px; max-width: 40ch; color: var(--muted); }
.m-etape-sujets { display: flex; flex-wrap: wrap; gap: 8px; font-size: .93rem; }
.m-etape-sujets span { padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 9%, #fff); color: color-mix(in srgb, var(--c) 72%, #13231e); }
.m-etape .m-fleche { width: 24px; height: 24px; color: var(--c); }
.m-etape:hover { background: color-mix(in srgb, var(--c) 7%, transparent); padding-left: 18px; padding-right: 18px; }
.m-etape:hover .m-etape-titre strong { color: var(--c); }
.m-etape:hover .m-num { background: var(--c); color: #fff; }

/* Le verset : une grande respiration verte. */
.m-verset { position: relative; display: grid; align-items: center; min-height: min(78svh, 720px); overflow: clip; isolation: isolate; background: #0b5b45; color: #f4f0e3; text-align: center; }
.m-verset::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 110%, rgba(240, 205, 139, .42), rgba(240, 205, 139, 0) 70%), linear-gradient(#0d6a50, #0a4f3c); }
.m-verset-image { display: none; }
.m-verset blockquote { margin: 0 auto; max-width: 52rem; padding: clamp(56px, 9vh, 96px) 0; }
.m-ar { font-family: var(--font-ar); font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.8; color: #f6dfa4; }
.m-fr { margin-top: 26px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2.2rem); line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.m-verset footer { margin-top: 20px; color: #bfe0d0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .m-verset::before { animation: m-aube linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    @keyframes m-aube { from { opacity: .55; } to { opacity: 1; } }
  }
}

/* La bibliothèque : quatre rayons, chacun sa couleur. */
.m-rayons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.m-rayons li { --c: var(--c-biblio); }
.m-rayons li:nth-child(1) { --c: var(--c-diag); }
.m-rayons li:nth-child(2) { --c: var(--c-guerison); }
.m-rayons li:nth-child(3) { --c: var(--c-djinns); }
.m-rayons li:nth-child(4) { --c: var(--c-protection); }
.m-rayons a { display: flex; flex-direction: column; height: 100%; min-height: 250px; padding: 28px 26px 26px; border-radius: 18px; background: color-mix(in srgb, var(--c) 8%, #fff); transition: background .2s var(--ease), transform .2s var(--ease); }
.m-rayons h3 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); color: color-mix(in srgb, var(--c) 78%, #13231e); }
.m-rayons p { margin-top: 14px; color: var(--muted); max-width: 26ch; }
.m-tags { display: flex; gap: 8px; margin-top: auto; padding-top: 28px; }
.m-tags .tag { margin: 0; }
.m-rayons a:hover { background: color-mix(in srgb, var(--c) 15%, #fff); transform: translateY(-3px); }

/* La formation : bande sable, la photo de l'homme libéré, le cours à côté. */
.m-formation { background: var(--sable); }
.m-formation-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.m-formation-image { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 22px; background: var(--nuit); box-shadow: 0 30px 60px -30px rgba(19, 35, 30, .55); }
.m-formation-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.18); }
.m-formation-texte h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.02em; }
.m-formation-texte > p { margin-top: 22px; max-width: 38ch; font-size: 1.1rem; color: var(--muted); }
.m-formation-texte ul { margin: 28px 0 36px; border-top: 1px solid var(--line); }
.m-formation-texte li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.m-livres { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 12px 40px; margin-top: clamp(56px, 8vh, 96px); padding: 24px 28px; border-radius: 18px; background: #fffdf8; }
.m-livres strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.m-livres > span:not(.m-lien) { color: var(--muted); }

/* Articles et autres sites. */
.m-liste { border-top: 1px solid var(--line-strong); }
.m-liste li { display: grid; grid-template-columns: 14rem minmax(0, 1.1fr) minmax(0, 1fr); align-items: baseline; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.m-liste-note { font-size: .95rem; color: var(--vert-2); font-weight: 600; }
.m-liste h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.15; }
.m-liste p { color: var(--muted); }
.m-univers { background: var(--vert-pale); }
.m-sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.m-sites a { display: grid; gap: 8px; height: 100%; padding: 28px 30px; border-radius: 18px; background: #fffdf8; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.m-sites strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); transition: color .2s var(--ease); }
.m-sites a > span { color: var(--muted); max-width: 40ch; }
.m-sites .m-hote { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .95rem; font-weight: 600; color: var(--vert-2); }
.m-sites a:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(19, 35, 30, .45); }
.m-sites a:hover strong { color: var(--vert-2); }

/* FAQ */
.m-faq .faq { max-width: none; margin: 0; border-top: 1px solid var(--line-strong); }
.faq summary { font-family: var(--font-display); font-weight: 400; min-height: 76px; }
.faq details[open] summary { color: var(--vert-2); }
.faq details[open] summary::after { border-color: var(--vert); }
.faq .answer { max-width: 70ch; color: var(--muted); }
.faq .answer strong { color: var(--text); }
.m-faq-suite { margin-top: 28px; }

/* Pied de page : un vert profond, pour finir sur du calme. */
.footer { --text: #f4f0e3; --muted: #b9d6c9; --line: rgba(244, 240, 227, .16); margin-top: 0; padding-top: 64px; border-top: 0; background: #0a4f3c; color: var(--text); }
.footer :is(h4, .footer-h) { color: #f6dfa4; letter-spacing: .04em; text-transform: none; font-size: 15px; font-weight: 600; }
.footer .brand b { color: var(--text); }
.notice { border-radius: 14px; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 960px) {
  .m-tete { grid-template-columns: 1fr; align-items: start; }
  .m-etape { grid-template-columns: 4.2rem minmax(0, 1fr) 22px; }
  .m-etape-sujets { display: none; }
  .m-rayons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-formation-grille { grid-template-columns: 1fr; }
  .m-livres { grid-template-columns: 1fr; }
  .m-liste li { grid-template-columns: 1fr; }
}
@media (max-aspect-ratio: 1/1), (max-width: 720px) {
  /* Écran en hauteur : la photo en haut, recadrée sur l'homme, la promesse en dessous. */
  .lib { height: auto; min-height: 100svh; align-items: end; }
  .lib-stage { inset: 0 0 auto 0; height: 62svh; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .lib-stage img { object-fit: cover; object-position: 50% 30%; }
  .lib::after { background: linear-gradient(rgba(4, 7, 8, 0) 38%, rgba(4, 7, 8, .96) 62%); }
  .lib-texte { padding-top: 50svh; padding-bottom: 40px; }
  .lib-texte h1 { max-width: none; font-size: clamp(2.6rem, 12vw, 4rem); }
  .lib-texte p { margin: 18px 0 26px; }
  .lib-tools { top: calc(var(--header-h) + 12px); bottom: auto; }
}
@media (max-width: 720px) {
  .m-btn { width: 100%; }
  .m-rayons { grid-template-columns: 1fr; }
  .m-rayons a { min-height: 0; }
  .m-tags { padding-top: 18px; }
  .m-sites { grid-template-columns: 1fr; }
  .m-num { width: 2.9rem; height: 2.9rem; font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .m-etape, .m-fleche, .m-sortie, .m-btn, .m-lien, .m-rayons a, .m-sites a { transition: none; }
}

/* css/ciel.css */
/* ============================================================
   Ouverture « ciel » (12/11/2026) : reprise de la première vue d'amaterasu.ai
   (fiche Refero « Celestial teal sanctuary »). Photo plein écran éclairée de
   turquoise, titre très fin et serré, une seule encre violette (#1b2978),
   petites capitales très espacées pour la navigation.
   Chargé après style.css et clair.css. Classes préfixées « ciel- ».
   ============================================================ */
:root {
  --ciel-violet: #1b2978;
  --ciel-indigo: #19366c;
  --ciel-teal: #75cdd6;
  --ciel-blanc: #ffffff;
  --ciel-font: "Inter Tight", "Albert Sans", system-ui, sans-serif;
  --ciel-ease: cubic-bezier(.16, 1, .3, 1);
}

/* L'en-tête du site reste caché sur l'ouverture : la marque et « Menu » de l'image le remplacent. */
.accueil-ciel .header { transition: background .3s, border-color .3s, opacity .4s var(--ciel-ease); }
.accueil-ciel .header:not(.is-stuck):not(.is-open):not(.montre) { opacity: 0; pointer-events: none; }
.accueil-ciel .header.montre { background: rgba(251, 248, 241, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); --text: #13231e; --muted: #55645e; --line-strong: rgba(19, 35, 30, .24); --surface-2: rgba(19, 35, 30, .07); border-bottom-color: var(--line); }

.ciel {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  margin-top: calc(-1 * var(--header-h));
  overflow: hidden;
  background: linear-gradient(90deg, #08324b 0%, #0b4262 40%, #1a6f93 100%);
  color: var(--ciel-blanc);
  font-family: var(--ciel-font);
  isolation: isolate;
}
.ciel ::selection { background: var(--ciel-violet); color: #fff; }

/* Couche 1 : la photo (puis la vidéo Flow quand elle existe). */
.ciel-fond { position: absolute; inset: 0; z-index: -1; transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -8px + var(--sy, 0) * 110px), 0) scale(calc(1 + var(--sy, 0) * .05)); will-change: transform; }
/* La vidéo garde toute sa largeur (pas de recadrage) ; elle est seulement décalée de 10 % vers la droite
   pour laisser le titre sur le fond, et fondue à gauche. */
.ciel-fond picture, .ciel-video { position: absolute; top: 0; bottom: 0; left: 10%; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%); }
.ciel-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.ciel-video { height: 100%; }
.ciel-image, .ciel-video { object-fit: cover; object-position: 50% 30%; }
.ciel-video { opacity: 0; transition: opacity 1.2s linear; }
.ciel-video.fin { transition: opacity 2s cubic-bezier(.4, 0, .2, 1); }
.ciel-video.joue { opacity: 1; }
.ciel-image { animation: ciel-recul 2.6s var(--ciel-ease) both; }
/* Lumière de la référence : clé cyan en haut à droite, ombre bleu nuit à gauche pour le titre. */
.ciel-lumiere {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 92% 6%, rgba(170, 238, 250, .55), rgba(132, 205, 238, 0) 70%),
    linear-gradient(90deg, rgba(6, 34, 56, .5) 0%, rgba(6, 34, 56, .18) 34%, rgba(6, 34, 56, 0) 55%),
    linear-gradient(0deg, rgba(5, 24, 38, .45) 0%, rgba(5, 24, 38, 0) 26%);
  mix-blend-mode: normal;
  pointer-events: none;
}

/* Fils décoratifs : une verticale et une courbe, comme sur la référence. */
.ciel-traits { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ciel-traits path { vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ciel-trait 2.4s .5s var(--ciel-ease) forwards; }

/* Haut de page : marque centrée, « Menu » à droite sous un filet. */
.ciel-haut { position: absolute; inset: 0 0 auto; height: 72px; z-index: 2; }
.ciel-marque {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 500; letter-spacing: .42em; padding-left: .42em;
  animation: ciel-fondu 1.2s .9s both;
}
.ciel-menu {
  position: absolute; top: 16px; right: clamp(16px, 2.4vw, 28px);
  width: clamp(120px, 15vw, 210px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0 0 14px;
  border: 0; border-top: 1px solid rgba(255, 255, 255, .55);
  background: none; color: inherit; cursor: pointer;
  font: 500 11px/1 var(--ciel-font); letter-spacing: .32em; text-transform: uppercase;
  animation: ciel-fondu 1.2s 1s both;
}
.ciel-menu svg { width: 16px; height: 16px; fill: currentColor; transition: transform .5s var(--ciel-ease); }
.ciel-menu:hover svg { transform: rotate(90deg); }
.ciel-menu:hover span { color: #dbe4ff; }

/* Titre : très fin, très serré, aligné à droite contre la tête. */
.ciel-centre { position: absolute; top: 22%; right: 55%; z-index: 2; text-align: right; }
.ciel-titre {
  margin: 0;
  font-family: var(--ciel-font);
  font-weight: 200;
  font-size: clamp(44px, 5.9vw, 116px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ciel-blanc);
  text-wrap: balance;
}
.ciel-titre > span { display: block; overflow: hidden; padding: 0 .04em .08em; margin-bottom: -.08em; }
.ciel-titre > span > span { display: block; animation: ciel-monte 1.6s var(--ciel-ease) both; }
.ciel-titre > span:nth-child(2) > span { animation-delay: .12s; }
.ciel-titre > span:nth-child(3) > span { animation-delay: .24s; }
.ciel-titre > span:nth-child(4) > span { animation-delay: .36s; }

/* Seul bouton : pilule violette. */
.ciel-cta {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: clamp(22px, 3.2vh, 34px);
  padding: 14px 24px;
  border-radius: 20px;
  border: 1px solid rgba(120, 140, 230, .45);
  background: linear-gradient(174deg, #2a398e 5%, #5566c5 100%);
  color: #fff;
  font: 500 11px/1 var(--ciel-font); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(27, 41, 120, .8);
  transition: transform .5s var(--ciel-ease), box-shadow .5s var(--ciel-ease), background-position .5s;
  animation: ciel-fondu 1.2s .7s both;
}
.ciel-cta i { width: 5px; height: 5px; border-radius: 50%; background: #9fe9f2; box-shadow: 0 0 10px 2px rgba(159, 233, 242, .7); }
.ciel-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(27, 41, 120, .95); }

/* Texte à droite, petit, comme la phrase de présentation de la référence. */
.ciel-texte {
  position: absolute; z-index: 2;
  left: 84%; top: 44%;
  width: min(15vw, 230px);
  margin: 0;
  font-size: clamp(12px, .95vw, 15px); font-weight: 300; line-height: 1.45;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 14px rgba(6, 34, 56, .55);
  animation: ciel-fondu 1.2s 1.1s both;
}

.ciel-defiler {
  position: absolute; z-index: 2; left: clamp(16px, 2vw, 28px); bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font: 500 10px/1 var(--ciel-font); letter-spacing: .32em; text-transform: uppercase;
  animation: ciel-fondu 1.2s 1.2s both;
}
.ciel-defiler svg { width: 9px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.2; animation: ciel-pas 2.4s 2.4s var(--ciel-ease) infinite; }

.ciel a:focus-visible, .ciel button:focus-visible { outline: 1px solid #fff; outline-offset: 6px; border-radius: 20px; }

/* Passage de l'ouverture turquoise au reste de la page, clair. */
.accueil-ciel .m-aube { background: linear-gradient(#0e3346 0%, #1f6f86 30%, #7fc6d3 58%, #d9eeee 82%, var(--bg) 100%); }

@keyframes ciel-recul { from { transform: scale(1.14); filter: blur(6px) brightness(.7); } to { transform: scale(1); filter: none; } }
@keyframes ciel-monte { from { transform: translateY(108%); } to { transform: none; } }
@keyframes ciel-fondu { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ciel-trait { to { stroke-dashoffset: 0; } }
@keyframes ciel-pas { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }

/* Écrans moyens : le texte de droite passe sous le titre. */
@media (max-width: 1100px) {
  .ciel-texte { left: auto; right: clamp(16px, 2.4vw, 28px); top: auto; bottom: 64px; width: min(34vw, 300px); }
}

/* Téléphone ou écran en hauteur : image verticale, homme en bas, titre dans le ciel au-dessus. */
@media (max-aspect-ratio: 4/5), (max-width: 760px) {
  .ciel { min-height: 600px; }
  /* La vidéo verticale est cadrée serré : on la pose sous le titre, fondue vers le ciel. */
  .ciel-fond picture, .ciel-video { inset: 27svh 0 0 0; width: 100%; height: auto; -webkit-mask-image: linear-gradient(transparent 0, #000 16%); mask-image: linear-gradient(transparent 0, #000 16%); }
  .ciel-video { height: 73svh; }
  .ciel-image, .ciel-video { object-position: 50% 0; }
  .ciel-lumiere { background: radial-gradient(ellipse 80% 50% at 90% 0%, rgba(170, 238, 250, .45), rgba(132, 205, 238, 0) 70%), linear-gradient(0deg, rgba(5, 24, 38, .85) 0%, rgba(5, 24, 38, .35) 28%, rgba(5, 24, 38, 0) 46%); }
  .ciel-traits { display: none; }
  .ciel-centre { position: static; text-align: left; }
  .ciel-titre { position: absolute; z-index: 2; top: calc(var(--header-h) + 4svh); left: 20px; right: 20px; }
  .ciel-cta { position: absolute; z-index: 2; left: 20px; bottom: 150px; margin: 0; }
  .ciel-titre { font-size: clamp(40px, 11.6vw, 64px); }
  .ciel-texte { left: 20px; right: 20px; top: auto; bottom: 60px; width: auto; max-width: 34ch; font-size: 14px; }
  .ciel-defiler { left: 20px; bottom: 22px; }
  .ciel-marque { left: 20px; transform: none; }
  .ciel-menu { width: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .ciel *, .ciel-image { animation: none !important; }
  .ciel-traits path { stroke-dashoffset: 0; }
  .ciel-fond { transform: none; }
}

/* css/ciel-page.css */
/* ============================================================
   Toute la page d'accueil aux couleurs de l'ouverture « ciel » (12/11/2026).
   Charte Amaterasu (reference/amaterasu-DESIGN.md) : trois fonds qui alternent
   — l'ombre turquoise de la photo, les bandes de lumière blanc → cyan,
   les sections blanches — et une seule encre, le violet #1b2978.
   Pilules à filet fin, aucune ombre portée, capitales très espacées.
   Chargé après ciel.css ; tout est limité à body.accueil-ciel.
   ============================================================ */
.accueil-ciel {
  --violet: #1b2978;
  --indigo: #19366c;
  --encre: #0c1734;
  --ardoise: #4f6383;
  --cyan: #84cdee;
  --teal: #75cdd6;
  --ceruleen: #579dc0;
  --orage: #466187;
  --nuit-teal: #0b3a52;
  --filet: rgba(27, 41, 120, .16);
  --filet-fort: rgba(27, 41, 120, .32);
  --lumiere: radial-gradient(at 5.62% 33.12%, #ffffff 30%, #84cdee 100%);
  --lumiere-inverse: radial-gradient(at 94% 20%, #ffffff 26%, #84cdee 100%);
  --vague: linear-gradient(174deg, #2a398e 5%, #5566c5 100%);

  /* Les couleurs par rubrique deviennent des nuances de la même famille bleue. */
  --c-djinns: #1b2978;
  --c-mal: #19366c;
  --c-diag: #2b5f8f;
  --c-guerison: #237b97;
  --c-protection: #466187;
  --c-biblio: #3f87ad;

  --bg: #ffffff;
  --text: var(--encre);
  --muted: var(--ardoise);
  --line: var(--filet);
  --line-strong: var(--filet-fort);
  --font-display: "Inter Tight", "Albert Sans", system-ui, sans-serif;
  --font-body: "Inter Tight", "Albert Sans", system-ui, sans-serif;
  font-family: var(--font-body);
  font-weight: 350;
  background: #fff;
  color: var(--encre);
}
.accueil-ciel ::selection { background: var(--violet); color: #fff; }
.accueil-ciel :focus-visible { outline: 1px solid var(--violet); outline-offset: 4px; border-radius: 20px; }
html:has(.accueil-ciel) { scrollbar-color: #9fb6cf #fff; }

/* Petites capitales très espacées : la voix « étiquette » de la charte. */
.accueil-ciel .m-liste-note,
.accueil-ciel .m-verset footer,
.accueil-ciel .footer :is(h4, .footer-h),
.accueil-ciel .m-hote { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }

/* Titres : très fins, serrés, violets sur fond clair. */
.accueil-ciel h1, .accueil-ciel h2, .accueil-ciel h3 { font-family: var(--font-display); }
.accueil-ciel .m-tete h2,
.accueil-ciel .m-formation-texte h2 { font-weight: 200; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.04em; color: var(--violet); max-width: 13ch; }
.accueil-ciel .m-tete p,
.accueil-ciel .m-formation-texte > p { font-weight: 350; color: var(--ardoise); }

/* ---------- Boutons : pilules à filet violet ---------- */
.accueil-ciel .m-btn {
  min-height: 0; padding: 16px 26px; border-radius: 20px;
  border: 1px solid var(--violet); background: transparent; color: var(--violet);
  font: 500 12px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: none; position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ciel-ease), border-color .5s var(--ciel-ease);
}
.accueil-ciel .m-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vague); transform: translateY(101%); transition: transform .6s var(--ciel-ease); }
.accueil-ciel .m-btn:hover { background: transparent; color: #fff; border-color: #3a47a8; }
.accueil-ciel .m-btn:hover::before { transform: none; }
.accueil-ciel .m-lien { min-height: 0; padding: 6px 0; font: 500 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--violet); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ciel-ease); }
.accueil-ciel .m-lien:hover, .accueil-ciel a:hover > .m-lien { color: var(--violet); background-size: 100% 1px; }
.accueil-ciel .tag { border-radius: 20px; font: 500 10px/1 var(--font-body); letter-spacing: .2em; padding: 6px 10px; background: transparent; }
.accueil-ciel .tag.free { color: #1d6c86; border-color: rgba(35, 123, 151, .45); background: transparent; }
.accueil-ciel .tag.premium { color: var(--violet); border-color: rgba(27, 41, 120, .45); background: transparent; }

/* ---------- En-tête une fois la photo passée : blanc, encre violette ---------- */
.accueil-ciel .header.is-stuck, .accueil-ciel .header.is-open, .accueil-ciel .header.montre {
  --text: var(--violet); --muted: #3b4a7a; --line-strong: var(--filet-fort); --surface-2: rgba(27, 41, 120, .06);
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--filet);
}
.accueil-ciel .brand img { display: none; }
.accueil-ciel .brand b { font: 500 13px/1 var(--font-body); letter-spacing: .42em; color: var(--text); }
.accueil-ciel .nav-btn { font: 500 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.accueil-ciel .btn { border-radius: 20px; font: 500 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.accueil-ciel .btn-gold { background: var(--vague); color: #fff; }
.accueil-ciel .btn-gold:hover { background: var(--violet); }
.accueil-ciel .btn-ghost { border: 1px solid var(--filet-fort); color: var(--violet); }
.accueil-ciel .btn-ghost:hover { border-color: var(--violet); }
.accueil-ciel .drawer { --text: var(--encre); --muted: var(--ardoise); --line: var(--filet); }
.accueil-ciel .drawer-in { border: 1px solid var(--filet); border-top: 1px solid var(--c); border-radius: 20px; background: rgba(255, 255, 255, .96); box-shadow: none; }
.accueil-ciel .drawer-head h3 { font-weight: 300; letter-spacing: -.02em; }
.accueil-ciel .drawer-links a::before { width: 5px; height: 5px; box-shadow: none; }

/* ---------- Passage de la photo à la lumière ---------- */
/* Le dégradé recouvre le haut de la bande de lumière et s'y fond, sans couture. */
.accueil-ciel .m-aube { position: relative; z-index: 1; height: clamp(160px, 26vh, 280px); margin-bottom: calc(-1 * clamp(160px, 26vh, 280px)); pointer-events: none; background: linear-gradient(#0d2f44 0%, rgba(42, 111, 146, .85) 30%, rgba(132, 205, 238, .35) 66%, rgba(255, 255, 255, 0) 100%); }
.accueil-ciel .m-parcours { position: relative; padding-top: calc(clamp(160px, 26vh, 280px) + clamp(24px, 4vh, 56px)); }

/* ---------- Les cinq étapes : bande de lumière blanc → cyan ---------- */
.accueil-ciel .m-parcours { background: var(--lumiere); }
.accueil-ciel .m-etapes { border-top: 1px solid var(--filet-fort); }
.accueil-ciel .m-etapes li { border-bottom: 1px solid var(--filet); }
.accueil-ciel .m-etape { border-radius: 0; grid-template-columns: 6rem minmax(0, 1.05fr) minmax(0, 1fr) 24px; }
.accueil-ciel .m-num { width: auto; height: auto; background: none; display: block; color: var(--c); font: 200 clamp(2.4rem, 3.6vw, 3.4rem)/1 var(--font-display); letter-spacing: -.04em; }
.accueil-ciel .m-etape-titre strong { font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.6rem); letter-spacing: -.035em; color: var(--violet); }
.accueil-ciel .m-etape-titre span { color: var(--ardoise); }
.accueil-ciel .m-etape-sujets span { padding: 6px 12px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: rgba(255, 255, 255, .45); color: color-mix(in srgb, var(--c) 85%, #0c1734); font-size: .88rem; }
.accueil-ciel .m-etape .m-fleche { color: var(--violet); }
.accueil-ciel .m-etape:hover { background: rgba(255, 255, 255, .55); padding-left: 22px; padding-right: 22px; }
.accueil-ciel .m-etape:hover .m-num { background: none; color: var(--violet); }
.accueil-ciel .m-etape:hover .m-etape-titre strong { color: var(--violet); }

/* ---------- Le verset : aurore bleu nuit et turquoise qui ondule, cercles fins ---------- */
.accueil-ciel .m-verset { background: #071735; color: #fff; min-height: min(92svh, 860px); }
.accueil-ciel .m-verset::before { display: none; }
.ciel-aurore { position: absolute; inset: -10%; z-index: -2; filter: blur(70px) saturate(120%); }
.ciel-aurore i { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: .85; }
.ciel-aurore i:nth-child(1) { width: 70%; height: 80%; left: -10%; top: 30%; background: radial-gradient(closest-side, #2f8fb3, transparent); animation: ciel-derive-1 22s ease-in-out infinite alternate; }
.ciel-aurore i:nth-child(2) { width: 60%; height: 70%; right: -8%; top: -12%; background: radial-gradient(closest-side, #5bb7d6, transparent); animation: ciel-derive-2 26s ease-in-out infinite alternate; }
.ciel-aurore i:nth-child(3) { width: 55%; height: 60%; left: 30%; bottom: -20%; background: radial-gradient(closest-side, #23338f, transparent); animation: ciel-derive-3 30s ease-in-out infinite alternate; }
@keyframes ciel-derive-1 { to { transform: translate(18%, -14%) scale(1.15); } }
@keyframes ciel-derive-2 { to { transform: translate(-22%, 16%) scale(.9); } }
@keyframes ciel-derive-3 { to { transform: translate(-16%, -10%) scale(1.2); } }
.ciel-cercles { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(78vh, 760px); height: min(78vh, 760px); margin: calc(min(78vh, 760px) / -2) 0 0 calc(min(78vh, 760px) / -2); fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: .6; transform: rotate(calc(var(--rot, 0) * 1deg)); will-change: transform; }
.ciel-cercles .centre { stroke: rgba(255, 255, 255, .55); stroke-width: .8; }
.accueil-ciel .m-ar { color: #fff; font-size: clamp(2.1rem, 4.6vw, 4rem); text-shadow: 0 0 40px rgba(132, 205, 238, .35); }
.accueil-ciel .m-fr { font-family: var(--font-display); font-weight: 200; font-size: clamp(1.5rem, 2.8vw, 2.6rem); letter-spacing: -.03em; line-height: 1.15; color: rgba(255, 255, 255, .94); }
.accueil-ciel .m-verset footer { margin-top: 28px; color: var(--teal); }

/* ---------- Bibliothèque : section blanche, colonnes séparées par des filets ---------- */
.accueil-ciel .m-biblio { background: #fff; }
.accueil-ciel .m-rayons { gap: 0; border-top: 1px solid var(--filet-fort); }
.accueil-ciel .m-rayons li + li { border-left: 1px solid var(--filet); }
.accueil-ciel .m-rayons a { border-radius: 0; background: none; padding: 34px 28px 30px; min-height: 280px; position: relative; overflow: hidden; isolation: isolate; }
.accueil-ciel .m-rayons a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lumiere); opacity: 0; transition: opacity .6s var(--ciel-ease); }
.accueil-ciel .m-rayons a:hover { background: none; transform: none; }
.accueil-ciel .m-rayons a:hover::before { opacity: 1; }
.accueil-ciel .m-rayons h3 { font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2rem); letter-spacing: -.03em; color: var(--violet); }
.accueil-ciel .m-rayons p { color: var(--ardoise); }

/* ---------- Formation : lumière inversée, la photo de l'homme apaisé ---------- */
.accueil-ciel .m-formation { background: var(--lumiere-inverse); }
.accueil-ciel .m-formation-image { aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: none; background: var(--nuit-teal); }
.accueil-ciel .m-formation-image img { object-position: 46% 30%; transform: translate3d(0, var(--py, 0px), 0) scale(1.22); will-change: transform; }
.accueil-ciel .m-formation-texte ul { border-top: 1px solid var(--filet-fort); }
.accueil-ciel .m-formation-texte li { border-bottom: 1px solid var(--filet); color: var(--encre); }
.accueil-ciel .m-livres { border-radius: 20px; background: rgba(255, 255, 255, .55); border: 1px solid var(--filet); }
.accueil-ciel .m-livres strong { font-weight: 300; letter-spacing: -.03em; color: var(--violet); }

/* ---------- Articles : blanc, filets ---------- */
.accueil-ciel .m-articles { background: #fff; }
.accueil-ciel .m-liste { border-top: 1px solid var(--filet-fort); }
.accueil-ciel .m-liste li { border-bottom: 1px solid var(--filet); transition: background .5s var(--ciel-ease); }
.accueil-ciel .m-liste-note { color: #1d6c86; }
.accueil-ciel .m-liste h3 { font-weight: 300; letter-spacing: -.03em; color: var(--violet); }

/* ---------- Autres sites : retour à l'ombre turquoise de la photo ---------- */
.accueil-ciel .m-univers { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(110deg, #08324b 0%, #0c4766 45%, #1a6f93 100%); color: #fff; }
.accueil-ciel .m-univers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 70% at 90% 0%, rgba(170, 238, 250, .45), transparent 70%); }
.accueil-ciel .m-univers .m-tete h2 { color: #fff; }
.accueil-ciel .m-univers .m-tete p { color: rgba(255, 255, 255, .78); }
.accueil-ciel .m-sites { gap: 0; border-top: 1px solid rgba(255, 255, 255, .3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.accueil-ciel .m-sites li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.accueil-ciel .m-sites li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .18); }
.accueil-ciel .m-sites a { border-radius: 0; background: none; padding: 32px 30px; color: #fff; transition: background .5s var(--ciel-ease); }
.accueil-ciel .m-sites a:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .07); }
.accueil-ciel .m-sites strong { font-weight: 200; font-size: clamp(1.8rem, 2.8vw, 2.6rem); letter-spacing: -.04em; color: #fff; }
.accueil-ciel .m-sites a:hover strong { color: #fff; }
.accueil-ciel .m-sites a > span { color: rgba(255, 255, 255, .75); }
.accueil-ciel .m-sites .m-hote { color: var(--teal); }

/* ---------- FAQ : blanc, encre violette ---------- */
.accueil-ciel .m-faq { background: #fff; }
.accueil-ciel .m-faq .faq { border-top: 1px solid var(--filet-fort); }
.accueil-ciel .faq details { border-bottom: 1px solid var(--filet); }
.accueil-ciel .faq summary { font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; color: var(--encre); transition: color .4s var(--ciel-ease); }
.accueil-ciel .faq summary:hover, .accueil-ciel .faq details[open] summary { color: var(--violet); }
.accueil-ciel .faq summary::after { border-color: var(--filet-fort); background: linear-gradient(var(--violet), var(--violet)) center / 11px 1px no-repeat, linear-gradient(var(--violet), var(--violet)) center / 1px 11px no-repeat; }
.accueil-ciel .faq details[open] summary::after { border-color: var(--violet); }

/* ---------- Pied de page : l'ombre turquoise, comme l'ouverture ---------- */
.accueil-ciel .footer { --text: #fff; --muted: rgba(255, 255, 255, .7); --line: rgba(255, 255, 255, .16); background: radial-gradient(ellipse 60% 80% at 95% 0%, rgba(132, 205, 238, .28), transparent 70%), linear-gradient(160deg, #061a2e 0%, #0b3a52 100%); color: #fff; }
.accueil-ciel .footer :is(h4, .footer-h) { color: var(--teal); }
.accueil-ciel .footer .brand b { color: #fff; }
.accueil-ciel .notice { border-radius: 20px; }

/* ---------- Apparitions au défilement : flou qui se dissipe, en cascade ---------- */
html.ciel-js .ciel-r { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(8px); }
html.ciel-js .ciel-r.vu { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ciel-ease), transform 1.3s var(--ciel-ease), filter 1.1s var(--ciel-ease); transition-delay: calc(var(--i, 0) * 80ms); }
/* Les grands titres montent ligne par ligne derrière un masque. */
html.ciel-js .ciel-titre-r { clip-path: inset(0 0 100% 0); transform: translate3d(0, 40%, 0); }
html.ciel-js .ciel-titre-r.vu { clip-path: inset(0 0 -10% 0); transform: none; transition: clip-path 1.2s var(--ciel-ease), transform 1.4s var(--ciel-ease); }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 960px) {
  .accueil-ciel .m-etape { grid-template-columns: 4.4rem minmax(0, 1fr) 22px; }
  .accueil-ciel .m-rayons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accueil-ciel .m-rayons li:nth-child(3) { border-left: 0; }
  .accueil-ciel .m-rayons li:nth-child(n+3) { border-top: 1px solid var(--filet); }
  .accueil-ciel .m-formation-image { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .accueil-ciel .m-btn { width: auto; }
  .accueil-ciel .m-rayons { grid-template-columns: 1fr; }
  .accueil-ciel .m-rayons li + li { border-left: 0; border-top: 1px solid var(--filet); }
  .accueil-ciel .m-rayons a { min-height: 0; padding: 28px 4px; }
  .accueil-ciel .m-sites { grid-template-columns: 1fr; }
  .accueil-ciel .m-sites li:nth-child(odd) { border-right: 0; }
  .accueil-ciel .m-sites a { padding: 26px 4px; }
  .accueil-ciel .m-num { font-size: 2.2rem; }
  .accueil-ciel .m-etape { grid-template-columns: 3.2rem minmax(0, 1fr) 20px; gap: 0 14px; }
  .ciel-cercles { width: 120vw; height: 120vw; margin: -60vw 0 0 -60vw; }
}
@media (prefers-reduced-motion: reduce) {
  .ciel-aurore i { animation: none; }
  html.ciel-js .ciel-r, html.ciel-js .ciel-titre-r { opacity: 1; transform: none; filter: none; clip-path: none; }
  .accueil-ciel .m-formation-image img { transform: scale(1.22); }
}

/* ---------- Mot « ROQYA » en filigrane qui défile sur la bande des autres sites ---------- */
.ciel-fantome {
  position: absolute; z-index: -1; left: 0; bottom: -.3em;
  white-space: nowrap; pointer-events: none;
  font: 200 clamp(110px, 17vw, 280px)/1 var(--font-display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  will-change: translate;
}
@media (prefers-reduced-motion: reduce) { .ciel-fantome { translate: none !important; } }

/* La bande des autres sites garde de la place sous la liste pour le filigrane. */
.accueil-ciel .m-univers { padding-bottom: clamp(150px, 22vw, 300px); }

/* (14/11/2026) Accueil : les titres de la liste « Lire gratuitement » sont des liens. */
.accueil-ciel .m-liste h3 a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ciel-ease); }
.accueil-ciel .m-liste h3 a:hover { background-size: 100% 1px; }

/* ---------- Avis des utilisateurs (14/11/2026) : accueil et page /avis/ ---------- */
.avis-notes { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 6vw, 96px); margin-bottom: clamp(28px, 5vh, 48px); }
.avis-note { display: flex; flex-direction: column; gap: 6px; margin: 0 0 clamp(20px, 3vh, 32px); }
.avis-notes .avis-note { margin: 0; }
.avis-note strong { font: 200 clamp(3rem, 6vw, 5rem)/1 var(--font-display); letter-spacing: -.05em; color: var(--violet); }
.avis-note small { font-size: .32em; font-weight: 300; letter-spacing: 0; color: var(--ardoise); }
.avis-note span { font: 500 11px/1.5 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: #1d6c86; }
.avis-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-fort); }
.avis-un { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.6vh, 36px) 0; border-bottom: 1px solid var(--filet); }
.avis-etoiles { font-size: 14px; letter-spacing: .28em; color: var(--violet); }
.avis-etoiles i { font-style: normal; opacity: .22; }
.avis-un blockquote { margin: 0; }
.avis-un blockquote p { margin: 0; font: 300 clamp(1.08rem, 1.5vw, 1.3rem)/1.55 var(--font-display); letter-spacing: -.01em; color: var(--encre); }
.avis-qui { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: auto 0 0; }
.avis-qui strong { font-weight: 500; color: var(--violet); }
.avis-qui span { font: 500 11px/1.5 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ardoise); }
.avis-partie + .avis-partie { margin-top: clamp(56px, 9vh, 100px); }
@media (max-width: 760px) { .avis-liste { grid-template-columns: 1fr; } }

.avis-mention { margin: 24px 0 0; max-width: 72ch; }

/* (14/11/2026) Étoiles des avis en vert, à la demande de Menad. Seulement la couleur : pas les carrés verts de Trustpilot,
   qui sont sa marque, et ces avis viennent de Google Play, Thinkific et tyriaq.com. */
.avis-etoiles { font-size: 19px; letter-spacing: .14em; color: #00b67a; }
.avis-etoiles i { opacity: 1; color: #d5dbe3; }

/* (14/11/2026) Le bloc des avis de l'accueil porte la bande de lumière du site (il n'avait aucun fond). */
.accueil-ciel .m-avis { background: var(--lumiere); }

/* (14/11/2026) Avis de l accueil : le bleu ciel vient du haut et de la gauche (le blanc est en bas à droite),
   pour que la section se détache de « Lire gratuitement », blanche, juste au-dessus. Mêmes couleurs que --lumiere. */
.accueil-ciel .m-avis { background: radial-gradient(at 82% 78%, #ffffff 24%, #84cdee 100%); }
.accueil-ciel .m-avis .avis-note span, .accueil-ciel .m-avis .avis-qui span { color: #1b2978; }
.accueil-ciel .m-avis .m-tete p { color: #1b2978; }

/* css/lecture.css */
/* ============================================================
   Pages de lecture des rubriques (12/11/2026), charte de l'accueil (Amaterasu).
   Chargé après ciel-page.css, sur <body class="accueil-ciel page-lecture">.
   ============================================================ */

/* L'en-tête est visible d'emblée (pas d'ouverture vidéo sur ces pages). */
.page-lecture .header { opacity: 1 !important; pointer-events: auto !important; background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--filet);
  --text: var(--violet); --muted: #3b4a7a; --line-strong: var(--filet-fort); --surface-2: rgba(27, 41, 120, .06); }
.page-lecture .rub-page-sombre .header { background: rgba(255, 255, 255, .86); }

/* Barre de progression de lecture. */
.lec-progression { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.lec-progression i { display: block; height: 100%; background: linear-gradient(90deg, #2a398e, #84cdee); transform-origin: 0 50%; transform: scaleX(var(--lu, 0)); }

/* Petites capitales espacées. */
.lec-fil, .lec-rang, .lec-meta span, .lec-sommaire summary, .lec-h2-num, .lec-hadith figcaption, .lec-citation figcaption,
.lec-verset figcaption, .lec-invocation figcaption, .lec-suivante-label, .rub-duree, .lec-sources h2 {
  font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
}

/* ---------- Tête de l'article : bande de lumière ---------- */
.lec-tete { position: relative; overflow: hidden; isolation: isolate; background: var(--lumiere); padding: calc(var(--header-h) + clamp(48px, 9vh, 110px)) 0 clamp(56px, 10vh, 120px); }
.lec-tete-in { position: relative; z-index: 1; }
.lec-fil { display: flex; flex-wrap: wrap; gap: 10px; color: var(--ardoise); }
.lec-fil a { color: var(--violet); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ciel-ease); }
.lec-fil a:hover { background-size: 100% 1px; }
.lec-rang { margin: clamp(36px, 6vh, 64px) 0 14px; color: #1d6c86; }
.lec-rang span { color: var(--ardoise); }
.lec-titre { margin: 0; max-width: 13ch; font-family: var(--font-display); font-weight: 200; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .98; letter-spacing: -.045em; color: var(--violet); text-wrap: balance; }
.lec-chapeau { margin: clamp(22px, 3.4vh, 34px) 0 0; max-width: 46ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 300; line-height: 1.5; color: var(--encre); }
.lec-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.lec-meta span { padding: 8px 14px; border: 1px solid var(--filet-fort); border-radius: 20px; color: var(--violet); }
.lec-fantome { position: absolute; z-index: 0; right: -2vw; bottom: -.18em; margin: 0; white-space: nowrap; pointer-events: none;
  font: 200 clamp(120px, 19vw, 300px)/1 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(27, 41, 120, .09); }

/* ---------- Corps : sommaire + texte ---------- */
.lec-corps { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); padding-top: clamp(56px, 9vh, 110px); padding-bottom: clamp(72px, 12vh, 140px); }
.lec-sommaire { position: relative; }
.lec-sommaire details { position: sticky; top: calc(var(--header-h) + 32px); }
.lec-sommaire summary { list-style: none; cursor: default; color: #1d6c86; margin-bottom: 18px; }
.lec-sommaire summary::-webkit-details-marker { display: none; }
.lec-sommaire ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet); }
.lec-sommaire li { border-bottom: 1px solid var(--filet); }
.lec-sommaire a { position: relative; display: block; padding: 12px 0 12px 16px; font-size: 14.5px; line-height: 1.35; color: var(--ardoise); text-decoration: none; transition: color .4s var(--ciel-ease); }
.lec-sommaire a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--filet-fort); transition: width .5s var(--ciel-ease), background .4s; }
.lec-sommaire a:hover, .lec-sommaire a[aria-current="true"] { color: var(--violet); }
.lec-sommaire a[aria-current="true"]::before { width: 12px; background: var(--violet); }

.lec-texte { max-width: 68ch; font-size: clamp(1.06rem, 1.15vw, 1.15rem); line-height: 1.8; color: var(--encre); }
.lec-texte p { margin: 0 0 1.15em; }
.lec-texte a { color: var(--violet); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 4px; transition: text-decoration-color .3s; }
.lec-texte a:hover { text-decoration-color: var(--violet); }
.lec-texte em { font-style: italic; }
.lec-texte strong { font-weight: 600; color: var(--violet); }
.lec-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.lec-section + .lec-section { margin-top: clamp(56px, 9vh, 96px); }
/* Lettrine sur le premier paragraphe. */
.lec-section:first-child > p:first-of-type::first-letter { float: left; margin: .06em .12em 0 0; font: 200 4.2em/.82 var(--font-display); color: var(--violet); }
.lec-texte h2 { margin: 0 0 .7em; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; color: var(--violet); text-wrap: balance; }
.lec-h2-num { display: block; margin-bottom: 14px; color: #1d6c86; letter-spacing: .28em; }
.lec-texte h3 { margin: 1.9em 0 .5em; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -.015em; color: var(--violet); }

/* Verset : encadré de lumière, arabe en grand. */
.lec-verset { margin: 2.2em 0; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px); border-radius: 20px; background: var(--lumiere-inverse); text-align: center; }
.lec-ar { margin: 0 0 .7em !important; font-family: var(--font-ar, "Amiri"), "Amiri", serif; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 2; color: var(--violet); }
.lec-verset blockquote { margin: 0; }
.lec-verset blockquote p { margin: 0 !important; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.6; letter-spacing: -.01em; color: var(--encre); }
.lec-verset figcaption { margin-top: 18px; color: #1d6c86; }

/* Hadith et citation : filet fin, pas de carte. */
.lec-hadith, .lec-citation { margin: 2em 0; padding: 4px 0 4px clamp(18px, 2.4vw, 28px); border-left: 1px solid var(--violet); }
.lec-hadith blockquote, .lec-citation blockquote { margin: 0; }
.lec-hadith blockquote p { margin: 0 0 14px !important; font-size: 1.12em; line-height: 1.7; color: var(--encre); }
.lec-citation blockquote p { margin: 0 0 14px !important; font-family: var(--font-display); font-weight: 300; font-size: 1.25em; line-height: 1.55; letter-spacing: -.012em; color: var(--violet); }
.lec-hadith figcaption, .lec-citation figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ardoise); letter-spacing: .2em; }
.lec-hadith figcaption span:first-child, .lec-citation figcaption span:first-child { color: #1d6c86; }

/* Listes à filets. */
.lec-liste { margin: 0 0 1.4em; padding: 0; list-style: none; border-top: 1px solid var(--filet); }
.lec-liste li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--filet); line-height: 1.6; }
.lec-liste li::before { content: ""; position: absolute; left: 4px; top: 1.32em; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--violet); }

.lec-note { margin: 1.8em 0; padding: 20px 24px; border: 1px solid var(--filet); border-radius: 20px; background: rgba(132, 205, 238, .14); font-size: .95em; }
.lec-note p { margin: 0 !important; }

.lec-invocation { margin: 1.4em 0; padding: 22px 26px; border: 1px solid var(--filet); border-radius: 20px; }
.lec-inv-fr { margin: 0 0 10px !important; font-family: var(--font-display); font-weight: 300; font-size: 1.15em; line-height: 1.55; color: var(--violet); }
.lec-inv-phon { margin: 0 0 14px !important; font-style: italic; color: #1d6c86; }
.lec-invocation figcaption { color: var(--ardoise); letter-spacing: .2em; }

.lec-sources { margin-top: clamp(64px, 10vh, 110px); padding-top: 28px; border-top: 1px solid var(--filet-fort); font-size: .9rem; line-height: 1.6; color: var(--ardoise); }
.lec-sources h2 { margin: 0 0 16px; font-size: 11px; color: #1d6c86; }
.lec-sources ul { margin: 0 0 16px; padding: 0 0 0 18px; }

/* ---------- Suite de la lecture : bande sombre ---------- */
.lec-suite { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 12vh, 140px) 0; background: linear-gradient(110deg, #08324b 0%, #0c4766 45%, #1a6f93 100%); color: #fff; }
.lec-suite::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 70% at 90% 0%, rgba(170, 238, 250, .4), transparent 70%); }
.lec-suite .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: end; }
.lec-suivante { position: relative; display: block; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; }
.lec-suivante-label { color: var(--teal); }
.lec-suivante strong { display: block; margin: 18px 0 14px; font-family: var(--font-display); font-weight: 200; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.045em; transition: letter-spacing .6s var(--ciel-ease); }
.lec-suivante-chapeau { display: block; max-width: 44ch; color: rgba(255, 255, 255, .78); line-height: 1.55; }
.lec-suivante .m-fleche { position: absolute; right: 0; bottom: 30px; width: 28px; height: 28px; color: var(--teal); }
.lec-suivante:hover strong { letter-spacing: -.03em; }
.lec-suivante:hover .m-fleche { transform: translateX(6px); }
.lec-rubrique { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .22); }
.lec-rubrique li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.lec-rubrique a { display: flex; gap: 16px; padding: 12px 0; color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .3s, padding .5s var(--ciel-ease); }
.lec-rubrique a span { width: 2.2em; color: var(--teal); font-size: 12px; letter-spacing: .2em; padding-top: 3px; }
.lec-rubrique a:hover { color: #fff; padding-left: 8px; }
.lec-rubrique li[aria-current="page"] a { color: #fff; }

/* ---------- Page de rubrique ---------- */
.rub-tete { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(64px, 12vh, 150px)) 0 clamp(72px, 12vh, 150px); background: #071735; color: #fff; }
.rub-tete .lec-fil, .rub-tete .lec-fil span { color: rgba(255, 255, 255, .7); }
.rub-tete .lec-fil a { color: var(--teal); }
.rub-h1 { margin: clamp(36px, 6vh, 70px) 0 0; max-width: 11ch; font-family: var(--font-display); font-weight: 200; font-size: clamp(3.4rem, 9vw, 8rem); line-height: .95; letter-spacing: -.05em; color: #fff; }
.rub-chapeau-tete { margin: 28px 0 0; max-width: 50ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.rub-tete .lec-meta span { color: #fff; border-color: rgba(255, 255, 255, .35); }
.rub-liste-zone { background: var(--lumiere); padding: clamp(56px, 10vh, 120px) 0 clamp(72px, 12vh, 140px); }
.rub-liste { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-fort); }
.rub-liste li { border-bottom: 1px solid var(--filet); }
.rub-ligne { position: relative; display: grid; grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.1fr) auto 26px; align-items: center; gap: 0 32px; padding: clamp(26px, 3.8vh, 42px) 0; color: var(--encre); text-decoration: none; isolation: isolate; transition: padding .5s var(--ciel-ease); }
.rub-ligne::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .6); opacity: 0; transition: opacity .5s var(--ciel-ease); }
.rub-num { font: 200 clamp(2.2rem, 3.4vw, 3.2rem)/1 var(--font-display); letter-spacing: -.04em; color: #2b5f8f; }
.rub-titre { font: 300 clamp(1.6rem, 2.6vw, 2.4rem)/1.08 var(--font-display); letter-spacing: -.035em; color: var(--violet); }
.rub-chapeau { color: var(--ardoise); line-height: 1.55; }
.rub-duree { color: #1d6c86; white-space: nowrap; }
.rub-ligne .m-fleche { color: var(--violet); }
.rub-ligne:hover { padding-left: 20px; padding-right: 20px; }
.rub-ligne:hover::before { opacity: 1; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 960px) {
  .lec-corps { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .lec-sommaire details { position: static; border: 1px solid var(--filet); border-radius: 20px; padding: 16px 20px; }
  .lec-sommaire summary { cursor: pointer; margin: 0; display: flex; justify-content: space-between; }
  .lec-sommaire summary::after { content: "+"; font-size: 16px; letter-spacing: 0; transition: transform .3s; }
  .lec-sommaire details[open] summary { margin-bottom: 14px; }
  .lec-sommaire details[open] summary::after { transform: rotate(45deg); }
  .lec-suite .wrap { grid-template-columns: 1fr; }
  .rub-ligne { grid-template-columns: 3.4rem minmax(0, 1fr) 22px; gap: 6px 16px; }
  .rub-chapeau { grid-column: 2; }
  .rub-duree { grid-column: 2; }
  .rub-ligne .m-fleche { grid-row: 1; grid-column: 3; }
}
@media (max-width: 560px) {
  .lec-titre { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .lec-verset { padding: 24px 18px; }
  .lec-hadith, .lec-citation { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .lec-sommaire a::before, .rub-ligne, .rub-ligne::before, .lec-suivante strong { transition: none; }
}
.lec-verset .fx-mot { transition: opacity .25s linear; }

/* ---------- Lecture à voix haute (voix de Menad, ElevenLabs) ---------- */
.lec-ecouter {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 0; border-radius: 20px;
  background: var(--vague); color: #fff; cursor: pointer;
  font: 500 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  transition: transform .4s var(--ciel-ease), box-shadow .4s var(--ciel-ease);
}
.lec-ecouter:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(27, 41, 120, .9); }
.lec-ecouter i { position: relative; width: 14px; height: 12px; background:
  linear-gradient(#fff, #fff) 0 100% / 2px 60% no-repeat, linear-gradient(#fff, #fff) 4px 100% / 2px 100% no-repeat,
  linear-gradient(#fff, #fff) 8px 100% / 2px 40% no-repeat, linear-gradient(#fff, #fff) 12px 100% / 2px 75% no-repeat; }

.lec-lecteur {
  position: fixed; z-index: 110; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  width: min(640px, calc(100% - 24px)); transform: translate(-50%, 140%);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px;
  padding: 10px 12px 10px 10px; border-radius: 28px; color: #fff;
  background: rgba(8, 40, 62, .9); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .6s var(--ciel-ease);
}
.lec-lecteur.ouvert { transform: translate(-50%, 0); }
.lec-lecteur button { border: 0; background: none; color: inherit; cursor: pointer; }
.lec-lect-jouer { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--vague) !important; }
.lec-lect-jouer svg { width: 18px; height: 18px; fill: #fff; }
.lec-lect-milieu { min-width: 0; }
.lec-lect-titre { display: block; margin-bottom: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 10.5px/1.2 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.lec-lect-barre { position: relative; height: 22px; margin: -4px 0; cursor: grab; touch-action: none; }
.lec-lect-barre.glisse { cursor: grabbing; }
.lec-lect-barre::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.lec-lect-barre i { position: absolute; left: 0; top: 10px; height: 2px; width: calc(var(--p, 0) * 100%); border-radius: 2px; background: #fff; }
.lec-lect-barre i::after { content: ""; position: absolute; right: -7px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(132, 205, 238, .5); transition: box-shadow .3s; }
.lec-lect-barre:hover i::after, .lec-lect-barre.glisse i::after { box-shadow: 0 0 0 6px rgba(132, 205, 238, .35); }
.lec-ecouter.charge { opacity: .7; cursor: progress; }
.lec-lect-temps { font: 400 12px/1 var(--font-body); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.lec-lect-vitesse { min-width: 46px; padding: 8px 10px !important; border: 1px solid rgba(255, 255, 255, .28) !important; border-radius: 20px; font: 500 12px/1 var(--font-body) !important; }
.lec-lect-fermer { width: 30px; height: 30px; font-size: 20px; line-height: 1; color: rgba(255, 255, 255, .7) !important; }
.lec-lecteur :focus-visible { outline: 1px solid #fff; outline-offset: 3px; }

/* Le passage en cours de lecture. */
[data-lu] { position: relative; transition: background-color .5s var(--ciel-ease); border-radius: 12px; }
.lec-lu { background-color: rgba(132, 205, 238, .2); }
.lec-tete-in.lec-lu { background-color: transparent; }
.lec-tete-in.lec-lu .lec-titre { text-shadow: 0 0 36px rgba(132, 205, 238, .6); }
.lec-texte .lec-lu::before { content: ""; position: absolute; left: -18px; top: .5em; bottom: .5em; width: 2px; border-radius: 2px; background: var(--violet); }
.lec-texte figure.lec-lu::before, .lec-texte ul.lec-lu::before { top: 12px; bottom: 12px; }
body:has(.lec-lecteur.ouvert) .footer { padding-bottom: 110px; }
@media (max-width: 560px) {
  .lec-lecteur { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; }
  .lec-lect-temps { display: none; }
  .lec-texte .lec-lu::before { left: -10px; }
}

/* ---------- Pages FAQ et Articles (13/11/2026) ---------- */
.faq-theme { margin: clamp(48px, 7vh, 80px) 0 18px; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -.03em; color: var(--violet); }
.faq-theme:first-child { margin-top: 0; }
.faq-theme a { color: inherit; text-decoration: none; }
.page-lecture .faq { border-top: 1px solid var(--filet-fort); }
.page-lecture .faq details { border-bottom: 1px solid var(--filet); }
.page-lecture .faq summary { padding: 20px 44px 20px 0; position: relative; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--encre); }
.page-lecture .faq summary::-webkit-details-marker { display: none; }
.page-lecture .faq .answer { padding: 0 0 22px; max-width: 72ch; line-height: 1.75; color: var(--encre); }
.page-lecture .faq .answer ul { margin: .6em 0 0; padding-left: 1.2em; }

/* ---------- Livres, Mon espace, pages légales (13/11/2026) ---------- */
.texte-legal, .espace, .livres { max-width: 820px; }
.texte-legal p, .texte-legal li, .espace p { line-height: 1.75; color: var(--encre); }
.texte-legal ul { padding-left: 1.2em; }
.legal-fiche { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 10px 24px; margin: 18px 0 8px; padding: 22px 0; border-top: 1px solid var(--filet-fort); border-bottom: 1px solid var(--filet); }
.legal-fiche dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ardoise); padding-top: 3px; }
.legal-fiche dd { margin: 0; color: var(--encre); line-height: 1.6; }
.legal-note { margin-top: 40px; font-size: .9rem; color: var(--ardoise); }
.livre { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding: 36px 0; border-bottom: 1px solid var(--filet); }
.livre:first-child { padding-top: 0; }
.livre-couv { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(12, 23, 52, .45); }
.livre h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; color: var(--violet); }
.livre-details { font-size: .92rem; color: var(--ardoise); }
.livre-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; }
.espace-bloc { margin-bottom: clamp(40px, 6vh, 70px); }
.espace-form { display: grid; gap: 14px; margin: 20px 0 28px; padding: 24px; border: 1px solid var(--filet); border-radius: 20px; background: rgba(255, 255, 255, .6); }
.espace-form label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ardoise); }
.espace-form input, .espace-form textarea { font: 400 1rem/1.5 var(--font-body); letter-spacing: 0; text-transform: none; padding: 10px 12px; border: 1px solid var(--filet-fort); border-radius: 10px; background: #fff; color: var(--encre); }
.espace-form button { justify-self: start; }
.espace-journal { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-fort); }
.espace-entree { padding: 18px 0; border-bottom: 1px solid var(--filet); }
.espace-entree p { margin: 0 0 6px; }
.espace-date { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #1d6c86 !important; }
.espace-vide { padding: 16px 0; color: var(--ardoise); }
.espace-lus { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-fort); }
.espace-lus li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.espace-lus span { font-size: .85rem; color: var(--ardoise); white-space: nowrap; }
@media (max-width: 600px) { .livre { grid-template-columns: 1fr; } .livre-couv { max-width: 200px; } .legal-fiche { grid-template-columns: 1fr; gap: 2px; } .legal-fiche dd { margin-bottom: 12px; } }

/* ---------- Auteur et date, liens « À lire aussi » (14/11/2026) ---------- */
.lec-auteur { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 22px 0 0; font-size: 14.5px; color: var(--ardoise); }
.lec-auteur a { display: inline-block; padding: 10px 0; color: var(--violet); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 4px; }
.lec-auteur a:hover { text-decoration-color: var(--violet); }
.lec-aussi { margin-top: clamp(56px, 9vh, 96px); }
.lec-aussi h2 { margin: 0 0 16px; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #1d6c86; }
.lec-aussi ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-fort); }
.lec-aussi li { border-bottom: 1px solid var(--filet); }
.lec-aussi a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 2px 16px; padding: 16px 0; text-decoration: none; transition: padding .5s var(--ciel-ease); }
.lec-aussi a span { grid-column: 1; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ardoise); }
.lec-aussi a strong { grid-column: 1; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; color: var(--violet); }
.lec-aussi a .m-fleche { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--violet); transition: transform .5s var(--ciel-ease); }
.lec-aussi a:hover { padding-left: 10px; }
.lec-aussi a:hover .m-fleche { transform: translateX(4px); }
/* Zones tactiles : le fil d'Ariane et les liens du sommaire font au moins 40 px de haut sous le doigt. */
.lec-fil a, .lec-fil > span:not([aria-hidden]) { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (prefers-reduced-motion: reduce) { .lec-aussi a, .lec-aussi a .m-fleche { transition: none; } }

/* ---------- Lexique, à propos, recherche, retour en haut (14/11/2026) ---------- */
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lexique { margin: 0; border-top: 1px solid var(--filet-fort); }
.lexique-mot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px clamp(24px, 5vw, 80px); padding: clamp(22px, 3.4vh, 34px) 0; border-bottom: 1px solid var(--filet); scroll-margin-top: calc(var(--header-h) + 24px); }
.lexique dt { font: 300 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -.03em; color: var(--violet); }
.lexique dt span { display: block; margin-top: 10px; font: 500 11px/1.5 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ardoise); }
.lexique dd { margin: 0; }
.lexique dd p { margin: 0 0 10px; max-width: 60ch; line-height: 1.7; color: var(--encre); }
.lexique-mot:target { background: rgba(132, 205, 238, .16); box-shadow: -16px 0 0 rgba(132, 205, 238, .16), 16px 0 0 rgba(132, 205, 238, .16); }
.a-propos h2.faq-theme { margin-bottom: 14px; }
.a-propos li { margin-bottom: 8px; }
.recherche-form { display: flex; gap: 12px; max-width: 760px; margin-bottom: 18px; }
.recherche-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 22px; border: 1px solid var(--filet-fort); border-radius: 26px; background: rgba(255, 255, 255, .8); color: var(--encre); font: 400 1.05rem/1 var(--font-body); }
.recherche-form input:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.recherche-etat { min-height: 1.6em; margin: 0 0 22px; font-size: .95rem; color: var(--ardoise); }
.faq-filtre { margin-bottom: 8px; }
.faq-filtre + .recherche-etat { margin-bottom: clamp(28px, 5vh, 48px); }
.recherche-resultats:empty { border-top: 0; }
.recherche-ligne { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px 0; }
.recherche-ligne .rub-titre { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.recherche-ligne .rub-chapeau, .recherche-ligne .rub-duree { grid-column: auto; }
.lec-haut { position: fixed; z-index: 58; left: max(16px, 2.778vw); bottom: max(16px, 2.778vw); width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--filet-fort); border-radius: 50%; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--violet); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s var(--ciel-ease), transform .4s var(--ciel-ease), visibility .4s, bottom .4s ease; }
.lec-haut.visible { opacity: 1; visibility: visible; transform: none; }
.lec-haut svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lec-haut:hover { border-color: var(--violet); }
body:has(.lec-lecteur.ouvert) .lec-haut { bottom: 104px; }
@media (max-width: 700px) { .lexique-mot { grid-template-columns: 1fr; } .recherche-form { flex-wrap: wrap; } .recherche-form .m-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .lec-haut { transition: none; } }
@media (max-width: 560px) { .lec-auteur span[aria-hidden] { display: none; } .lec-auteur time { flex-basis: 100%; } }
@media (max-width: 960px) { .lec-sommaire summary { padding: 10px 0; margin: -10px 0; } .lec-sommaire details[open] summary { margin-bottom: 4px; } }

/* ---------- « L'essentiel » en tête d'article et questions liées (14/11/2026) ---------- */
.lec-essentiel { margin: 0 0 clamp(40px, 7vh, 72px); padding: clamp(22px, 3.4vh, 32px) clamp(22px, 3vw, 36px); border: 1px solid var(--filet); border-radius: 20px; background: rgba(132, 205, 238, .14); }
.lec-essentiel h2 { margin: 0 0 14px; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #1d6c86; }
.lec-essentiel ul { margin: 0; padding: 0; list-style: none; }
.lec-essentiel li { position: relative; padding: 8px 0 8px 24px; line-height: 1.6; color: var(--encre); }
.lec-essentiel li::before { content: ""; position: absolute; left: 2px; top: 1.1em; width: 10px; height: 1px; background: var(--violet); }
.lec-essentiel + .lec-section > p:first-of-type::first-letter { float: left; margin: .06em .12em 0 0; font: 200 4.2em/.82 var(--font-display); color: var(--violet); }
.lec-questions a strong { font-size: 1.08rem; line-height: 1.4; }
.lec-questions + .lec-aussi { margin-top: clamp(40px, 6vh, 64px); }

/* css/curseur.css */
/* Curseur façon amaterasu.ai (13/11/2026). Interrupteur CURSEUR dans build.js. */
/* ---------- Curseur d'Amaterasu : point de 4 px + anneau fin de 44 px qui suit avec retard ---------- */
.curseur { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; opacity: 0; --curseur: #fff; transition: opacity .4s; }
.curseur.actif { opacity: 1; }
.curseur-point { position: fixed; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--curseur); transition: background .3s; }
.curseur-anneau { position: fixed; left: -22px; top: -22px; width: 44px; height: 44px; transition: width .5s cubic-bezier(.215, .61, .355, 1), height .5s cubic-bezier(.215, .61, .355, 1), left .5s cubic-bezier(.215, .61, .355, 1), top .5s cubic-bezier(.215, .61, .355, 1); }
.curseur-anneau svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--curseur); stroke-width: 1; transition: stroke .3s; }
.curseur-anneau circle + circle { opacity: .2; }
.curseur.survol .curseur-anneau { left: -34px; top: -34px; width: 68px; height: 68px; }
html.curseur-ama, html.curseur-ama a, html.curseur-ama button, html.curseur-ama summary { cursor: none; }
.curseur.clair { --curseur: #1b2978; }
/* L'arc blanc de l'anneau dessine la progression dans la page, sur le fond d'un cercle à 20 % (comme Amaterasu). */
.curseur-anneau svg { transform: rotate(-90deg); }
.curseur-anneau circle:first-child { stroke-dasharray: 135.1; stroke-dashoffset: calc(135.1 * (1 - var(--progres, 0))); transition: stroke-dashoffset .3s linear; }

/* css/typo.css */
/* Typographie plus marquée et un peu plus grande, d'après amaterasu.ai (13/11/2026).
   Mesures sur leur page à 1440 px : titre 80 px en graisse « 200 » de TWK Lausanne (qui équivaut à notre Inter Tight 300),
   libellés en Neo Sans Medium (≈ notre 600), texte courant 14 px en graisse 250 (≈ notre 400).
   Les couleurs ne changent pas. Interrupteur TYPO dans build.js. */

/* Texte courant : un cran plus plein. */
.accueil-ciel { font-weight: 400; }
.accueil-ciel .m-tete p, .accueil-ciel .m-formation-texte > p { font-weight: 400; }

/* Ouverture */
.ciel-titre { font-weight: 300; letter-spacing: -.035em; }
.ciel-marque { font-size: 14px; font-weight: 600; letter-spacing: .3em; padding-left: .3em; }
.ciel-menu { font-weight: 600; font-size: 11.5px; letter-spacing: .16em; }
.ciel-cta { font-weight: 600; font-size: 12px; letter-spacing: .12em; }
.ciel-defiler { font-weight: 600; font-size: 11px; letter-spacing: .16em; }
.ciel-texte { font-size: clamp(14px, 1.08vw, 18px); font-weight: 400; line-height: 1.45; }

/* Titres de sections et éléments fins de l'accueil */
.accueil-ciel .m-tete h2, .accueil-ciel .m-formation-texte h2 { font-weight: 300; font-size: clamp(2.8rem, 5.3vw, 4.9rem); letter-spacing: -.035em; }
.accueil-ciel .m-num, .accueil-ciel .m-sites strong, .accueil-ciel .m-fr, .rub-num { font-weight: 300; }
.accueil-ciel .m-etape-titre strong, .accueil-ciel .m-rayons h3, .accueil-ciel .m-livres strong, .accueil-ciel .m-liste h3, .accueil-ciel .faq summary, .accueil-ciel .drawer-head h3 { font-weight: 400; }
.accueil-ciel .m-lien, .accueil-ciel .m-btn, .accueil-ciel .tag { font-weight: 600; }

/* Pages de rubrique et articles */
.lec-titre, .rub-h1, .lec-suivante strong { font-weight: 300; }
.lec-texte h2, .rub-titre { font-weight: 400; }
.lec-chapeau, .rub-chapeau-tete, .lec-verset blockquote p, .lec-citation blockquote p, .lec-inv-fr { font-weight: 400; }
.lec-texte { font-size: clamp(1.1rem, 1.2vw, 1.2rem); }

/* ---------- Tailles qui suivent la largeur de l'écran, comme amaterasu.ai (13/11) ----------
   Mesuré chez eux : tout est proportionnel à la largeur (14 px à 1440 px = 18,7 px à 1920 px).
   1 « unité » = 1 px à 1440 px de large. Les minimums gardent la lisibilité sur petit écran ; plus de plafond. */
:root { --u: calc(100vw / 1440); }
@media (min-width: 761px) {
  .ciel-titre { font-size: max(44px, calc(85 * var(--u))); }
  .ciel-marque { font-size: max(14px, calc(14 * var(--u))); }
  .ciel-menu { width: calc(210 * var(--u)); font-size: max(11.5px, calc(11.5 * var(--u))); }
  .ciel-menu svg { width: max(16px, calc(16 * var(--u))); height: max(16px, calc(16 * var(--u))); }
  .ciel-cta { font-size: max(12px, calc(12 * var(--u))); padding: max(14px, calc(14 * var(--u))) max(24px, calc(24 * var(--u))); border-radius: max(20px, calc(24 * var(--u))); }
  .ciel-defiler { font-size: max(11px, calc(11 * var(--u))); }
  .ciel-texte { left: auto; right: calc(30 * var(--u)); width: calc(230 * var(--u)); font-size: max(14px, calc(16 * var(--u))); }
  /* Plafond à 108 px (atteint vers 2 160 px de large) : la colonne du titre, elle, s'arrête à 603 px,
     et au-delà « gratuitement » débordait et se faisait couper (signalé par Menad le 13/11). */
  .accueil-ciel .m-tete h2, .accueil-ciel .m-formation-texte h2 { font-size: clamp(2.8rem, calc(72 * var(--u)), 6.75rem); }
  .accueil-ciel .m-tete p, .accueil-ciel .m-formation-texte > p { font-size: max(1rem, calc(17 * var(--u))); }
}

/* css/fond-sonore.css */
/* Bouton du fond sonore (13/11/2026), mesures d'amaterasu.ai : 52 px à 1440 px de large (3,611vw),
   à 40 px des bords (2,778vw), bordure de 1 px à 20 % de la couleur du texte, onde de 10 px (0,694vw). */
.son { position: fixed; right: 2.778vw; bottom: 2.778vw; z-index: 60; display: flex; align-items: center; gap: 14px; color: #fff; transition: color .25s linear, bottom .4s ease; }
.son.clair { color: #1b2978; }
.son-bouton { width: max(44px, 3.611vw); height: max(44px, 3.611vw); display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius: 100%; background: none; color: inherit; cursor: pointer; transition: border-color .3s; }
.son-bouton:hover, .son-bouton:focus-visible { border-color: color-mix(in srgb, currentColor 55%, transparent); outline: none; }
.son-onde { width: max(10px, .694vw); height: max(10px, .694vw); overflow: visible; }
.son-onde polyline { fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1; }
/* Nom de la récitation en cours : cliquer passe à l'autre. */
.son-piste { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: 600 max(10px, .694vw)/1 var(--font-body, "Inter Tight", sans-serif); letter-spacing: .16em; text-transform: uppercase; opacity: .85; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 3px; transition: background-size .5s ease, opacity .3s; }
.son-piste:hover, .son-piste:focus-visible { background-size: 100% 1px; opacity: 1; outline: none; }
.son-piste[hidden] { display: none; }
@media (max-width: 600px) {
  .son { right: 5.333vw; bottom: 5.333vw; }
  .son-bouton { width: 13.867vw; height: 13.867vw; }
  .son-onde { width: 2.667vw; height: 2.667vw; }
  .son-piste { font-size: 10px; max-width: 46vw; text-align: right; line-height: 1.3; }
}
/* Ne pas gêner le lecteur des articles. */
body:has(.lec-lecteur.ouvert) .son { bottom: calc(2.778vw + 96px); }
@media print { .son { display: none; } }
