/* ════════════════════════════════════════════════════════════
   DHOHA Institute — Design system v2027
   Style : Soft UI Evolution (clair, verre dépoli, dégradés or/rose/lilas)
   Typo  : Cormorant Garamond (titres) · Manrope (texte) · Cairo (arabe)
   Échelle d'espacement 4/8 · z-index : 0 / 10 / 20 / 40 / 100 / 1000
   ════════════════════════════════════════════════════════════ */

:root {
  /* Couleurs sémantiques */
  --bg: #fbf6ef;
  --bg-2: #f5ece0;
  --surface: #ffffff;
  --ink: #2b1d18;
  --ink-2: #5a483f;
  --muted: #76635a;
  --line: rgba(120, 85, 50, 0.16);
  --gold-1: #e9cc93;
  --gold-2: #b98a45;
  --gold-3: #8e6330;
  --gold-text: #7a5427;
  --rose: #e9b7bc;
  --rose-d: #b3546b;
  --lilac: #d9ccf0;
  --ok: #1c7a4b;
  --err: #b3261e;
  --g-gold: linear-gradient(135deg, #ecd29c 0%, #b98a45 55%, #8e6330 100%);
  --g-ink: linear-gradient(120deg, #8f6227 0%, #b78744 50%, #7a5427 100%);
  --g-warm: linear-gradient(135deg, #f7e1dc 0%, #f1d6bd 50%, #e9cc93 100%);

  /* Typo */
  --f-serif: 'Cormorant Garamond', 'Cairo Variable', 'Times New Roman', serif;
  --f-sans: 'Manrope Variable', 'Cairo Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rythme */
  --r-s: 14px;
  --r-m: 22px;
  --r-l: 32px;
  --sh-1: 0 1px 2px rgba(80, 50, 25, 0.06), 0 6px 18px rgba(80, 50, 25, 0.06);
  --sh-2: 0 2px 4px rgba(80, 50, 25, 0.06), 0 16px 40px rgba(80, 50, 25, 0.1);
  --sh-3: 0 4px 8px rgba(80, 50, 25, 0.07), 0 32px 70px rgba(80, 50, 25, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.28s;
  --hdr-h: 72px;
}
html[lang='ar'] {
  --f-serif: 'Cairo Variable', 'Cormorant Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 1rem; line-height: 1.65; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-block-start: -80px; inset-inline-start: 16px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; transition: inset-block-start 0.2s; }
.skip:focus { inset-block-start: 12px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--gold-1); color: var(--ink); }
main:focus { outline: none; }
.ic { flex: none; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.serif { font-family: var(--f-serif); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.center-x { justify-content: center; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }

/* ───── Fond : aurore + grain ───── */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.a1 { width: 70vmax; height: 70vmax; inset-block-start: -28vmax; inset-inline-end: -18vmax; background: radial-gradient(closest-side, rgba(244, 196, 196, 0.7), rgba(244, 196, 196, 0)); animation: drift1 26s ease-in-out infinite alternate; }
.a2 { width: 60vmax; height: 60vmax; inset-block-start: 20vh; inset-inline-start: -26vmax; background: radial-gradient(closest-side, rgba(233, 204, 147, 0.55), rgba(233, 204, 147, 0)); animation: drift2 32s ease-in-out infinite alternate; }
.a3 { width: 56vmax; height: 56vmax; inset-block-end: -24vmax; inset-inline-end: 6vmax; background: radial-gradient(closest-side, rgba(217, 204, 240, 0.6), rgba(217, 204, 240, 0)); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(-6vmax, 8vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(8vmax, -6vmax, 0) scale(1.12); } }
@keyframes drift3 { to { transform: translate3d(-8vmax, -4vmax, 0) scale(0.94); } }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.35; mix-blend-mode: multiply; 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='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .hdr, .ftr { position: relative; z-index: 2; }
.hdr { z-index: 100; }

/* ───── Verre dépoli ───── */
.glass {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--sh-1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: var(--r-m);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgba(255, 255, 255, 0.92); } }

/* ───── Typographie ───── */
.display { font-size: clamp(2.75rem, 7.2vw, 6.25rem); line-height: 0.98; letter-spacing: -0.02em; font-weight: 500; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.85rem); line-height: 1.04; letter-spacing: -0.015em; font-weight: 500; }
html[lang='ar'] .display, html[lang='ar'] .h2 { line-height: 1.25; letter-spacing: 0; font-weight: 700; }
html[lang='ar'] .display { font-size: clamp(2.4rem, 6vw, 5rem); }
html[lang='ar'] .h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.display em, .h2 em { font-style: italic; font-weight: 500; background: var(--g-ink); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: 0.06em; }
html[lang='ar'] .display em, html[lang='ar'] .h2 em { font-style: normal; font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 60ch; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
html[lang='ar'] .eyebrow { letter-spacing: 0; font-size: 0.9rem; text-transform: none; }
.eyebrow-pill { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--sh-1); }
.eyebrow-light { color: var(--gold-1); }
.chip { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
html[lang='ar'] .chip { letter-spacing: 0; text-transform: none; font-size: 0.8rem; }

/* ───── Boutons ───── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t), color var(--t), border-color var(--t);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.88rem; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff7ea; box-shadow: 0 10px 26px rgba(43, 29, 24, 0.28); }
.btn-dark::before, .btn-gold::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--g-gold); opacity: 0; transform: translateX(-101%); transition: transform 0.55s var(--ease), opacity 0.3s; }
html[dir='rtl'] .btn-dark::before, html[dir='rtl'] .btn-gold::before { transform: translateX(101%); }
.btn-dark:hover { color: var(--ink); box-shadow: 0 14px 34px rgba(142, 99, 48, 0.4); }
.btn-dark:hover::before { opacity: 1; transform: none; }
.btn-gold { background: var(--g-gold); color: #26180f; box-shadow: 0 10px 28px rgba(142, 99, 48, 0.38); }
.btn-gold::before { background: linear-gradient(135deg, #f6e3b4, #d1a35c 55%, #a8763a); }
.btn-gold:hover::before { opacity: 1; transform: none; }
.btn-gold:hover { box-shadow: 0 16px 38px rgba(142, 99, 48, 0.5); }
.btn-glass { background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: var(--sh-1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn-glass:hover { background: #fff; box-shadow: var(--sh-2); }
.btn-light { background: #fff7ea; color: #2b1d18; }
.btn-light:hover { background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25); }
.btn .ic { transition: transform var(--t) var(--ease); }
.btn:hover .ic:last-child { transform: translateX(4px); }
html[dir='rtl'] .btn .ic[class*=''] { }
html[dir='rtl'] .btn:hover .ic:last-child { transform: translateX(-4px); }
html[dir='rtl'] .btn .ic path[d^='M5 12h14'] { }
html[dir='rtl'] .ic-flip, html[dir='rtl'] .btn-glass .ic:last-child:not(:first-child) { transform: scaleX(-1); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color var(--t); }
.icon-btn:hover { background: rgba(0, 0, 0, 0.06); }

/* ───── Header ───── */
.hdr { position: fixed; inset-inline: 0; inset-block-start: 12px; pointer-events: none; }
.hdr-in {
  pointer-events: auto; width: min(1240px, 100% - 24px); margin-inline: auto; min-height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 14px 0 22px;
  background: rgba(255, 251, 245, 0.66); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 999px; box-shadow: var(--sh-1);
  transition: box-shadow var(--t), background-color var(--t), transform 0.5s var(--ease);
}
html[dir='rtl'] .hdr-in { padding: 0 22px 0 14px; }
.hdr.is-stuck .hdr-in { box-shadow: var(--sh-2); background: rgba(255, 251, 245, 0.86); }
.hdr.is-hidden .hdr-in { transform: translateY(calc(-100% - 24px)); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-t { display: grid; line-height: 1; }
.brand-t b { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.65rem; letter-spacing: 0.02em; text-transform: lowercase; background: var(--g-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-t small { font-size: 0.56rem; letter-spacing: 0.42em; font-weight: 700; color: var(--gold-text); margin-top: 3px; }
.nav { display: none; gap: 4px; }
.nav a { position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--ink-2); transition: color var(--t), background-color var(--t); }
.nav a:hover { color: var(--ink); background: rgba(185, 138, 69, 0.12); }
.nav a[aria-current='page'] { color: var(--ink); }
.nav a[aria-current='page']::after { content: ''; position: absolute; inset-inline: 22px; inset-block-end: 4px; height: 2px; border-radius: 2px; background: var(--g-gold); }
.hdr-act { display: flex; align-items: center; gap: 6px; }
.lang { min-width: 44px; height: 44px; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; border-radius: 999px; color: var(--ink-2); transition: background-color var(--t); }
.lang:hover { background: rgba(185, 138, 69, 0.14); }
.cart-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color var(--t); }
.cart-btn:hover { background: rgba(185, 138, 69, 0.14); }
.cart-n { position: absolute; inset-block-start: 3px; inset-inline-end: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--g-gold); color: #26180f; font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }
.cart-n[hidden] { display: none; }
.cart-n.pop { animation: pop 0.5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.45); } }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.hide-m { display: none; }
.mnav { pointer-events: auto; position: fixed; inset: 0; z-index: -1; padding: 120px 28px 40px; background: rgba(251, 246, 239, 0.97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: flex; flex-direction: column; justify-content: space-between; }
.mnav[hidden] { display: none; }
.mnav nav { display: grid; gap: 4px; }
.mnav nav a { font-family: var(--f-serif); font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.15; padding: 8px 0; border-bottom: 1px solid var(--line); animation: mIn 0.6s var(--ease) both; animation-delay: calc(var(--i) * 0.06s + 0.05s); }
@keyframes mIn { from { opacity: 0; transform: translateY(18px); } }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
  .hide-m { display: inline-flex; }
}

/* ───── Sections ───── */
.sec { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.sec-flush { padding-block-start: 24px; }
.sec-tint::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(251, 246, 239, 0), rgba(246, 226, 221, 0.6) 22%, rgba(236, 226, 246, 0.5) 78%, rgba(251, 246, 239, 0)); pointer-events: none; }
.sh { display: grid; gap: 14px; margin-block-end: clamp(32px, 5vw, 56px); }
.sh-c { justify-items: center; text-align: center; }
.sh-c .lead { margin-inline: auto; }

/* ───── Hero ───── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: calc(var(--hdr-h) + 56px) 72px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; z-index: 5; }
.hero-title { text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-block-start: 8px; }
.hero-trust li { display: grid; }
.hero-trust b { font-family: var(--f-serif); font-size: 2.2rem; line-height: 1; font-weight: 600; background: var(--g-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-trust span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.hero-stage { position: relative; aspect-ratio: 1; width: min(100%, 560px); margin-inline: auto; }
.hero-stage canvas { position: absolute; inset: -8%; width: 116%; height: 116%; z-index: 2; opacity: 0; transition: opacity 1.2s var(--ease); max-width: none; }
.hero-stage.gl-on canvas { opacity: 1; }
.orb-fallback { position: absolute; inset: 8%; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #fdf1f0 14%, #f1c9cf 38%, #dcbf8b 62%, #b98a45 100%);
  box-shadow: inset -30px -40px 80px rgba(142, 99, 48, 0.35), inset 20px 20px 60px rgba(255, 255, 255, 0.9), 0 50px 90px rgba(142, 99, 48, 0.28);
  animation: bob 7s ease-in-out infinite alternate; transition: opacity 1s; }
.hero-stage.gl-on .orb-fallback { opacity: 0; }
@keyframes bob { to { transform: translateY(-14px) scale(1.02); } }
.float-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 18px; will-change: transform; }
.float-chip b { display: block; font-size: 0.88rem; line-height: 1.2; }
.float-chip small { color: var(--gold-text); font-weight: 800; font-size: 0.9rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--g-gold); box-shadow: 0 0 0 5px rgba(185, 138, 69, 0.2); flex: none; }
.dot-r { background: linear-gradient(135deg, #f1b6c0, #b3546b); box-shadow: 0 0 0 5px rgba(179, 84, 107, 0.16); }
.dot-g { background: linear-gradient(135deg, #cfe3c4, #6f9d5e); box-shadow: 0 0 0 5px rgba(111, 157, 94, 0.18); }
.fc1 { inset-block-start: 8%; inset-inline-start: -2%; }
.fc2 { inset-block-start: 46%; inset-inline-end: -4%; }
.fc3 { inset-block-end: 6%; inset-inline-start: 6%; }
.scroll-cue { position: absolute; inset-block-end: 22px; inset-inline-start: 50%; width: 26px; height: 42px; border: 1.5px solid var(--gold-2); border-radius: 14px; translate: -50% 0; display: none; }
.scroll-cue span { position: absolute; inset-block-start: 8px; inset-inline-start: 50%; width: 4px; height: 8px; margin-inline-start: -2px; border-radius: 2px; background: var(--g-gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 24px; }
  .scroll-cue { display: block; }
}
@media (max-width: 640px) {
  .eyebrow-pill { letter-spacing: 0.06em; font-size: 0.68rem; padding: 8px 14px; }
  .float-chip { padding: 9px 12px 9px 10px; gap: 8px; }
  .float-chip b { font-size: 0.74rem; }
  .fc1 { inset-inline-start: 0; } .fc2 { inset-inline-end: 0; } .fc3 { inset-inline-start: 4%; }
}

/* ───── Marquee ───── */
.marquee { overflow: hidden; direction: ltr; padding-block: 28px; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.4); }
.marquee-track { display: flex; width: max-content; animation: marq 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-inline-end: 28px; }
.marquee li .serif { font-size: clamp(1.7rem, 3.4vw, 2.7rem); color: var(--ink-2); white-space: nowrap; font-style: italic; }
.marquee li .ic { color: var(--gold-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ───── Piliers ───── */
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); }
.pillars-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.pillar { padding: 30px 26px; display: grid; gap: 12px; align-content: start; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.pillar .ic { color: var(--gold-3); width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: var(--g-warm); }
.pillar h3 { font-size: 1.65rem; line-height: 1.1; }
.pillar p { color: var(--ink-2); font-size: 0.97rem; }

/* ───── Quiz ───── */
.quiz-wrap { display: grid; gap: 32px; align-items: center; }
.quiz { padding: clamp(22px, 3vw, 36px); min-height: 380px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.quiz-bar { height: 5px; border-radius: 3px; background: rgba(185, 138, 69, 0.18); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: var(--g-gold); border-radius: 3px; transition: width 0.6s var(--ease); }
.quiz-q:focus { outline: none; }
.quiz-q { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.quiz-count { font-size: 0.8rem; font-weight: 700; color: var(--gold-text); letter-spacing: 0.1em; }
.quiz-opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.opt { text-align: start; min-height: 64px; padding: 14px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, 0.8); font-weight: 650; display: flex; align-items: center; gap: 12px; transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t), background-color var(--t); }
.opt:hover { transform: translateY(-3px); border-color: var(--gold-2); box-shadow: var(--sh-2); background: #fff; }
.opt .ic { color: var(--gold-3); }
.quiz-res { display: grid; gap: 10px; }
.res { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); animation: mIn 0.6s var(--ease) both; animation-delay: calc(var(--i) * 0.1s); transition: box-shadow var(--t), transform var(--t) var(--ease); }
.res:hover { box-shadow: var(--sh-2); transform: translateX(4px); }
html[dir='rtl'] .res:hover { transform: translateX(-4px); }
.res .rank { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--g-gold); color: #26180f; font-weight: 800; }
.res b { display: block; font-family: var(--f-serif); font-size: 1.3rem; line-height: 1.15; }
.res small { color: var(--muted); }
.res .p { font-weight: 800; color: var(--gold-text); white-space: nowrap; }
.link-btn { font-weight: 700; color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; padding: 0 6px; }
@media (min-width: 1024px) { .quiz-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }

/* ───── Cartes soin ───── */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tone-rose { --t1: #fbe3e1; --t2: #efb9c3; --t3: #fff3ee; }
.tone-gold { --t1: #f7e6c3; --t2: #dcb673; --t3: #fff8e8; }
.tone-peach { --t1: #fddcc8; --t2: #f1b093; --t3: #fff3ea; }
.tone-lilac { --t1: #e8def7; --t2: #c7b4ea; --t3: #f8f4fd; }
.tone-sky { --t1: #d9ebf4; --t2: #a6cfe3; --t3: #f3f9fc; }
.tone-sage { --t1: #e0ecd9; --t2: #b3cca7; --t3: #f5faf2; }
.svc { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--sh-1); overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); will-change: transform; }
.svc:hover { box-shadow: var(--sh-3); }
.svc.is-tilting { transition: transform 0.08s linear, box-shadow 0.5s var(--ease); }
.svc-vis { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 25% 20%, var(--t3), transparent 55%), linear-gradient(145deg, var(--t1), var(--t2)); }
.svc-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)); inset-block-start: -18%; inset-inline-start: -10%; transition: transform 0.8s var(--ease); }
.svc:hover .svc-glow { transform: translate(24%, 18%) scale(1.1); }
.art-motif { position: relative; width: 58%; height: auto; filter: drop-shadow(0 12px 18px rgba(142, 99, 48, 0.25)); transition: transform 0.7s var(--ease); transform: translateZ(40px); }
.svc:hover .art-motif { transform: translateZ(60px) scale(1.07) rotate(-3deg); }
.svc-b { padding: 20px 22px 22px; display: grid; gap: 10px; flex: 1; align-content: start; transform: translateZ(20px); }
.svc-t { font-size: 1.75rem; line-height: 1.08; }
.svc-t a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.svc-s { color: var(--ink-2); font-size: 0.93rem; line-height: 1.6; }
.svc-meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--muted); font-weight: 650; }
.svc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.svc-f { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-block-start: auto; padding-block-start: 10px; border-block-start: 1px dashed var(--line); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price small { flex-basis: 100%; font-size: 0.72rem; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
html[lang='ar'] .price small { letter-spacing: 0; text-transform: none; }
.price b { font-family: var(--f-serif); font-size: 2.1rem; line-height: 1; font-weight: 600; }
.price i { font-style: normal; font-weight: 800; font-size: 0.82rem; color: var(--gold-text); }
.price-lg b { font-size: 3.2rem; }
.price-tbc span { font-weight: 700; color: var(--gold-text); font-size: 0.92rem; }
.add { position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-3); border: 1.5px solid var(--gold-2); background: rgba(255, 255, 255, 0.9); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease), box-shadow var(--t); flex: none; }
.add:hover { background: var(--g-gold); color: #26180f; transform: rotate(90deg) scale(1.06); box-shadow: 0 8px 20px rgba(142, 99, 48, 0.35); }
.add.is-in { background: var(--ink); border-color: var(--ink); color: #fff7ea; transform: none; }
.add-sm { width: 44px; height: 44px; }
.svc-more { align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 40px; background: var(--g-warm); min-height: 340px; }
.svc-more .serif { font-size: 2.2rem; line-height: 1.1; }
.svc-more .round { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff7ea; transition: transform 0.5s var(--ease); }
.svc-more:hover .round { transform: scale(1.12) rotate(-12deg); }

/* ───── Scroll horizontal (pin) ───── */
.sig { padding-block: clamp(48px, 6vw, 84px) clamp(40px, 6vw, 90px); overflow: clip; }
.sig .sh { margin-block-end: 8px; }
@media (min-width: 1024px) and (hover: hover) { .hscroll-track .svc-vis { aspect-ratio: 16 / 9; } .sig .sh .lead { display: none; } }
.hscroll { overflow-x: auto; scroll-snap-type: x proximity; padding: 24px max(20px, calc((100vw - 1240px) / 2)) 48px; scrollbar-width: none; direction: ltr; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: 22px; width: max-content; }
.hscroll-track .svc { width: min(78vw, 360px); scroll-snap-align: start; direction: ltr; }
html[dir='rtl'] .hscroll-track .svc { direction: rtl; }
.hscroll.is-pinned { overflow: visible; padding-block: 0; }

/* ───── Grille tarifaire ───── */
.tabs { display: grid; gap: 22px; max-width: 880px; margin-inline: auto; margin-block-end: 22px; }
.tablist { position: relative; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--sh-1); width: fit-content; max-width: 100%; margin-inline: auto; }
.tablist button { position: relative; z-index: 1; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: var(--ink-2); transition: color var(--t); }
.tablist button[aria-selected='true'] { color: #26180f; }
.tab-ink { position: absolute; z-index: 0; inset-block: 6px; border-radius: 999px; background: var(--g-gold); box-shadow: 0 8px 20px rgba(142, 99, 48, 0.35); transition: inset-inline-start 0.5s var(--ease), width 0.5s var(--ease); inset-inline-start: 6px; width: 0; }
.tabpanel { padding: clamp(14px, 3vw, 30px); }
.tabpanel[hidden] { display: none; }
.plist { display: grid; }
.prow { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 16px 4px; border-block-end: 1px solid var(--line); }
.prow:last-child { border-block-end: 0; }
.prow-n { display: grid; gap: 2px; grid-column: 1; }
.prow-n .serif { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.15; transition: color var(--t); }
.prow-n .serif em { font-style: normal; color: var(--gold-text); font-family: var(--f-sans); font-size: 0.8em; font-weight: 700; }
.prow-n:hover .serif { color: var(--gold-text); }
.prow-n small { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.prow-dots { border-block-end: 2px dotted rgba(142, 99, 48, 0.4); align-self: end; margin-block-end: 10px; min-width: 12px; }
.prow-p { font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); white-space: nowrap; }
.prow-p i { font-family: var(--f-sans); font-style: normal; font-size: 0.5em; font-weight: 800; color: var(--gold-text); }
.note { display: flex; gap: 10px; align-items: flex-start; margin-block-start: 18px; padding: 14px 16px; border-radius: 16px; background: var(--g-warm); font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.note .ic { color: var(--gold-3); margin-block-start: 3px; }

/* ───── Parcours ───── */
.journey { position: relative; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.journey-line { display: none; }
.step { padding: 28px 24px; display: grid; gap: 10px; transition: transform 0.5s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step-n { font-size: 3.4rem; line-height: 1; font-weight: 600; background: var(--g-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.6rem; line-height: 1.1; }
.step p { color: var(--ink-2); font-size: 0.95rem; }

/* ───── Bandeau formation ───── */
.formation-band { position: relative; overflow: hidden; display: grid; gap: 28px; padding: clamp(32px, 5vw, 72px); border-radius: clamp(28px, 4vw, 44px); color: #fff3e2;
  background: radial-gradient(circle at 85% 20%, rgba(233, 204, 147, 0.5), transparent 45%), radial-gradient(circle at 10% 100%, rgba(179, 84, 107, 0.55), transparent 50%), linear-gradient(135deg, #2f1d19 0%, #5f382f 48%, #9c6446 100%);
  box-shadow: var(--sh-3); }
.formation-band .lead { color: rgba(255, 243, 226, 0.85); }
.fb-copy { display: grid; gap: 18px; justify-items: start; z-index: 2; }
.fb-vis { position: relative; display: grid; place-items: center; min-height: 220px; }
.fb-vis .art-motif { width: min(260px, 70%); animation: spin 40s linear infinite; }
.fb-badge { position: absolute; inset-block-end: 6%; inset-inline-end: 6%; padding: 10px 18px; font-weight: 800; color: var(--ink); font-size: 0.85rem; border-radius: 999px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .formation-band { grid-template-columns: 1.3fr 0.7fr; align-items: center; } }

/* ───── Citations ───── */
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 960px; margin-inline: auto; }
.quote { padding: 30px; display: grid; gap: 14px; }
.quote .ic { color: var(--rose-d); }
.quote blockquote { font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.25; font-style: italic; }
html[lang='ar'] .quote blockquote { font-style: normal; font-weight: 600; }
.quote figcaption { font-size: 0.85rem; font-weight: 700; color: var(--muted); }

/* ───── CTA final ───── */
.cta-final { padding-block-end: clamp(80px, 10vw, 140px); }
.cta-card { position: relative; overflow: hidden; display: grid; gap: 22px; justify-items: center; text-align: center; padding: clamp(40px, 7vw, 100px) clamp(20px, 4vw, 60px); border-radius: clamp(28px, 4vw, 48px);
  background: radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.9), transparent 40%), radial-gradient(circle at 100% 100%, rgba(217, 204, 240, 0.8), transparent 50%), linear-gradient(135deg, #f8e3df, #f3d9bd 55%, #ebcf97); box-shadow: var(--sh-3); border: 1px solid rgba(255, 255, 255, 0.8); }

/* ───── Pied de page ───── */
.ftr { background: rgba(245, 236, 224, 0.85); border-block-start: 1px solid var(--line); padding-block-start: 64px; }
.ftr-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ftr-brand { display: grid; gap: 12px; align-content: start; }
.ftr-motto { font-size: 1.9rem; line-height: 1.1; font-style: italic; }
.ftr-h { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-block-end: 14px; font-weight: 800; }
html[lang='ar'] .ftr-h { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.ftr-l { display: grid; gap: 6px; }
.ftr-l a, .ftr-addr { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; min-height: 40px; transition: color var(--t); }
.ftr-addr { align-items: flex-start; padding-block: 4px; min-height: 0; margin-block-end: 8px; }
.ftr-addr .ic { margin-block-start: 3px; color: var(--gold-3); }
.ftr-l a:hover { color: var(--gold-text); }
.ftr-bot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 28px; margin-block-start: 40px; border-block-start: 1px solid var(--line); font-size: 0.85rem; }

/* ───── Tiroir sélection ───── */
.drawer-bg { position: fixed; inset: 0; z-index: 1000; background: rgba(43, 29, 24, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.4s; }
.drawer-bg.open { opacity: 1; }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 1001; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--bg); box-shadow: -30px 0 80px rgba(43, 29, 24, 0.25); transform: translateX(105%); transition: transform 0.55s var(--ease); visibility: hidden; }
html[dir='rtl'] .drawer { transform: translateX(-105%); box-shadow: 30px 0 80px rgba(43, 29, 24, 0.25); }
.drawer.open { transform: none; visibility: visible; }
.drawer-h { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-block-end: 1px solid var(--line); }
.drawer-h h2 { font-size: 2rem; }
.drawer-b { flex: 1; overflow: auto; padding: 18px 24px; display: grid; gap: 12px; align-content: start; overscroll-behavior: contain; }
.drawer-f { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-block-start: 1px solid var(--line); display: grid; gap: 12px; background: rgba(255, 255, 255, 0.6); }
.drawer-tot { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.drawer-tot b { font-family: var(--f-serif); font-size: 2.2rem; font-weight: 600; }
.citem { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); animation: mIn 0.5s var(--ease) both; }
.citem b { display: block; font-family: var(--f-serif); font-size: 1.25rem; line-height: 1.15; font-weight: 600; }
.citem small { color: var(--muted); font-weight: 600; }
.citem .cp { font-weight: 800; color: var(--gold-text); white-space: nowrap; }
.drawer-empty { text-align: center; padding: 56px 12px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.drawer-empty .ic { color: var(--gold-2); width: 48px; height: 48px; }

.wa-fab { position: fixed; inset-block-end: calc(20px + env(safe-area-inset-bottom)); inset-inline-end: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2bc46a, #128c4a); box-shadow: 0 12px 30px rgba(18, 140, 74, 0.45); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.wa-fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2bc46a; animation: ring 2.6s ease-out infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.wa-fab:hover { transform: scale(1.1) rotate(-6deg); }

/* ───── Pages internes ───── */
.page-hero { padding-block: calc(var(--hdr-h) + 80px) 40px; display: grid; }
.page-hero .container { display: grid; gap: 20px; justify-items: start; }
.page-hero .center, .nf .container { justify-items: center; text-align: center; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-block-end: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 0.88rem; background: rgba(255, 255, 255, 0.7); border: 1.5px solid var(--line); color: var(--ink-2); transition: all var(--t) var(--ease); }
.chip-btn:hover { border-color: var(--gold-2); color: var(--ink); }
.chip-btn[aria-pressed='true'] { background: var(--ink); color: #fff7ea; border-color: var(--ink); box-shadow: 0 8px 20px rgba(43, 29, 24, 0.25); }
.search { position: relative; display: flex; align-items: center; }
.search .ic { position: absolute; inset-inline-start: 16px; color: var(--muted); pointer-events: none; }
.search input { height: 48px; width: min(100%, 320px); padding-inline: 46px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, 0.8); transition: border-color var(--t), box-shadow var(--t); }
.search input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(185, 138, 69, 0.18); }
.empty { text-align: center; padding: 64px 0; display: grid; gap: 8px; color: var(--ink-2); }
.empty h3 { font-size: 2rem; }
.svc[hidden] { display: none; }

/* Fiche soin */
.sv-hero { position: relative; padding-block: calc(var(--hdr-h) + 56px) 56px; }
.sv-hero::before { content: ''; position: absolute; inset: 0 0 0 0; z-index: -1; background: radial-gradient(circle at 80% 0%, var(--t1), transparent 55%), radial-gradient(circle at 0% 100%, var(--t3), transparent 50%); opacity: 0.9; }
.sv-grid { display: grid; gap: 40px; align-items: start; }
.sv-copy { display: grid; gap: 20px; justify-items: start; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.crumbs a:hover { color: var(--gold-text); }
.crumbs [aria-current] { color: var(--ink); }
.sv-intro { color: var(--ink-2); max-width: 62ch; font-size: 1.05rem; }
.sv-benefits { display: grid; gap: 10px; }
.sv-benefits li { display: flex; gap: 12px; align-items: center; font-weight: 650; }
.sv-benefits .ic { color: #fff; background: var(--g-gold); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.sv-side { display: grid; gap: 20px; }
.sv-vis { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-l); display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 25% 20%, var(--t3), transparent 55%), linear-gradient(145deg, var(--t1), var(--t2)); box-shadow: var(--sh-3); --rx: 0deg; --ry: 0deg; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.5s var(--ease); }
.sv-vis .art-motif { width: 46%; }
.buybox { padding: 24px; display: grid; gap: 16px; }
.variants { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.variants legend { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); margin-block-end: 10px; padding: 0; }
html[lang='ar'] .variants legend { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.variant { position: relative; display: block; cursor: pointer; }
.variant input { position: absolute; opacity: 0; inset: 0; }
.variant-in { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 14px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, 0.85); transition: border-color var(--t), box-shadow var(--t), background-color var(--t); }
.variant-in b { font-weight: 800; }
.variant-in small { grid-column: 1; color: var(--muted); font-weight: 600; font-size: 0.82rem; }
.variant-in em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-family: var(--f-serif); font-weight: 600; font-size: 1.5rem; }
.variant input:checked + .variant-in { border-color: var(--gold-2); background: #fff; box-shadow: 0 0 0 4px rgba(185, 138, 69, 0.18), var(--sh-1); }
.variant input:focus-visible + .variant-in { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.buy-price { display: grid; gap: 4px; }
.buy-points { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.85rem; font-weight: 650; color: var(--ink-2); }
.buy-points li { display: flex; gap: 6px; align-items: center; }
.buy-points .ic { color: var(--ok); }
@media (min-width: 1024px) {
  .sv-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .sv-side { position: sticky; inset-block-start: 100px; }
}
.two { display: grid; gap: 48px; align-items: start; }
.three { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 960px) { .two { grid-template-columns: 1fr 1fr; gap: 64px; } .two-wide { grid-template-columns: 0.95fr 1.05fr; } }
.tech { display: grid; padding: 8px 22px; }
.tech > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; padding: 16px 0; border-block-end: 1px solid var(--line); align-items: baseline; }
.tech > div:last-child { border: 0; }
.tech dt { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 700; font-size: 0.88rem; }
.tech dt .ic { color: var(--gold-3); }
.tech dd { font-weight: 700; }
.note-ind { margin-block-start: 12px; }
.timeline { display: grid; gap: 0; position: relative; }
.timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-block-end: 28px; }
.timeline li::before { content: ''; position: absolute; inset-block: 48px 0; inset-inline-start: 23px; width: 2px; background: linear-gradient(var(--gold-2), rgba(185, 138, 69, 0.1)); }
.timeline li:last-child::before { display: none; }
.tl-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--g-gold); color: #26180f; font-weight: 800; box-shadow: 0 8px 20px rgba(142, 99, 48, 0.3); }
.timeline h3 { font-size: 1.55rem; line-height: 1.15; padding-block-start: 6px; }
.timeline p { color: var(--ink-2); }
.info { padding: 28px; display: grid; gap: 14px; align-content: start; }
.info h3 { display: flex; gap: 10px; align-items: center; font-size: 1.6rem; }
.info h3 .ic { color: var(--gold-3); }
.info-warn h3 .ic { color: var(--rose-d); }
.info ul { display: grid; gap: 10px; }
.info li { position: relative; padding-inline-start: 20px; color: var(--ink-2); }
.info li::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--g-gold); }
.faq { display: grid; gap: 12px; }
.faq details { padding: 4px 24px; transition: box-shadow var(--t); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 750; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--gold-3); transition: transform 0.4s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details[open] { box-shadow: var(--sh-2); }
.faq details p { padding-block-end: 22px; color: var(--ink-2); animation: mIn 0.5s var(--ease); }

/* Formation */
.formation-card { padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.fmeta { display: grid; gap: 14px; }
.fmeta li { display: flex; gap: 14px; align-items: center; }
.fmeta .ic { color: var(--gold-3); width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--g-warm); }
.fmeta small { display: block; color: var(--muted); font-weight: 700; font-size: 0.78rem; }
.fmeta b { font-weight: 800; }
.perks { display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: center; font-weight: 650; }
.perks .ic { color: #fff; background: var(--g-gold); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.timeline-lg h3 { font-size: 1.75rem; }
.services-list { margin-block-start: 22px; padding: 32px; display: grid; gap: 18px; }
.services-list h2 { font-size: 2rem; }
.services-list ul { display: flex; flex-wrap: wrap; gap: 10px; }
.services-list a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; transition: all var(--t); }
.services-list a:hover { border-color: var(--gold-2); box-shadow: var(--sh-1); }
.services-list .ic { color: var(--gold-3); }

/* Formulaire */
.form { padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; position: relative; }
.form h2 { font-size: 2.2rem; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 750; font-size: 0.9rem; }
.field label span { color: var(--rose-d); }
.field input, .field select, .field textarea { min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid rgba(120, 85, 50, 0.28); background: rgba(255, 255, 255, 0.9); width: 100%; transition: border-color var(--t), box-shadow var(--t); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(185, 138, 69, 0.2); }
.field.invalid input { border-color: var(--err); }
.hint { font-size: 0.8rem; color: var(--muted); }
.err { font-size: 0.85rem; font-weight: 700; color: var(--err); min-height: 0; display: none; }
.field.invalid .err { display: flex; gap: 6px; align-items: center; }
.field.invalid .err::before { content: '!'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--err); color: #fff; font-size: 0.72rem; }
.form-ok { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 32px; text-align: center; background: rgba(251, 246, 239, 0.97); border-radius: var(--r-m); animation: mIn 0.5s var(--ease); }
.form-ok[hidden] { display: none; }
.ok-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--g-gold); color: #26180f; box-shadow: 0 12px 30px rgba(142, 99, 48, 0.4); }
.form-ok h3 { font-size: 2rem; }
.contact-side { display: grid; gap: 18px; }
.info-card { padding: 28px; display: grid; gap: 16px; }
.info-card h3 { font-size: 1.8rem; }
.ci { display: grid; gap: 12px; }
.ci li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.ci .ic { color: var(--gold-3); margin-block-start: 3px; }
.ci a:hover { color: var(--gold-text); text-decoration: underline; }
.map { padding: 14px; display: grid; gap: 12px; }
.map iframe { background: linear-gradient(135deg, #f1e3d3, #e6e0f0); width: 100%; height: 260px; border: 0; border-radius: 18px; filter: saturate(0.85) contrast(0.98); }
.ftr-bot { padding-inline-end: 84px; }

/* ───── Curseur ───── */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 2000; pointer-events: none; display: none; }
.cursor i { display: block; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1.5px solid rgba(185, 138, 69, 0.8); background: rgba(233, 204, 147, 0.12); transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background-color 0.3s, border-color 0.3s; }
.cursor.hot i { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(233, 204, 147, 0.28); }
@media (hover: hover) and (pointer: fine) { .cursor.on { display: block; } }

/* ───── Révélations ───── */
.js [data-reveal], .js [data-reveal-row] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in, .js [data-reveal-row].in { opacity: 1; transform: none; }
.js .no-anim [data-reveal], .js .no-anim [data-reveal-row] { opacity: 1; transform: none; transition: none; }

/* Transitions de page natives */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.3s var(--ease) both vtOut; }
::view-transition-new(root) { animation: 0.5s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

/* ───── Mouvement réduit ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal-row] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .aurora i { animation: none; }
}
@media print { .hdr, .wa-fab, .aurora, .grain, .cursor, .drawer { display: none !important; } }

/* ───── Photos réelles ───── */
.svc-vis, .sv-vis { background: linear-gradient(145deg, var(--t1), var(--t2)); }
.svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc:hover .svc-img, .sv-vis:hover .svc-img { transform: scale(1.06); }
.svc-vis::after, .sv-vis::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(43, 29, 24, 0) 45%, rgba(43, 29, 24, 0.32)), linear-gradient(145deg, var(--t1), var(--t2)); background-blend-mode: normal; mix-blend-mode: normal; opacity: 1; -webkit-mask: none; }
.svc-vis::after, .sv-vis::after { background: linear-gradient(180deg, rgba(43, 29, 24, 0) 50%, rgba(43, 29, 24, 0.3)), linear-gradient(145deg, var(--t2), transparent 60%); opacity: 0.55; }
.svc-badge { position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-start: 14px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--sh-1); }
.svc-badge .art-motif, .svc:hover .svc-badge .art-motif { width: 26px; height: 26px; transform: none; filter: none; }
.sv-vis .svc-badge { inset-block-start: 18px; inset-inline-start: 18px; width: 54px; height: 54px; }
.sv-vis .svc-badge .art-motif { width: 30px; height: 30px; }
.fb-vis { min-height: 0; }
.fb-vis img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.duo { display: grid; gap: 16px; grid-template-columns: 1fr; }
.duo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--sh-2); }
@media (min-width: 720px) { .duo { grid-template-columns: 1.2fr 0.8fr; } }
.bento { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-l); box-shadow: var(--sh-1); isolation: isolate; background: var(--bg-2); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 29, 24, 0) 40%, rgba(43, 29, 24, 0.68)); }
.tile:hover img { transform: scale(1.08); }
.tile-t { position: absolute; inset-inline: 20px; inset-block-end: 18px; display: grid; gap: 2px; color: #fff7ea; }
.tile-t b { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 500; }
.tile-t small { font-weight: 700; font-size: 0.82rem; color: var(--gold-1); }
.tile-go { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #26180f; background: rgba(255, 247, 234, 0.9); transition: transform 0.5s var(--ease), background-color 0.3s; }
.tile:hover .tile-go { transform: rotate(-45deg) scale(1.08); background: var(--g-gold); }
html[dir='rtl'] .tile-go .ic { transform: scaleX(-1); }
.b-a { grid-column: span 2; grid-row: span 2; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .b-a { grid-column: span 3; grid-row: span 2; }
  .b-b { grid-column: span 3; grid-row: span 1; }
  .b-c { grid-column: span 3; grid-row: span 1; }
  .b-d { grid-column: span 3; grid-row: span 1; }
  .b-e { grid-column: span 3; grid-row: span 1; }
}
/* Recadrage : les visages sont dans le haut des photos portrait */
.svc-img, .tile img, .duo img, .fb-vis img { object-position: 50% 28%; }
img[src$="hydrafacial.webp"] { object-position: 50% 72%; }
img[src$="massage-pierres-chaudes.webp"], img[src$="cavitation.webp"], img[src$="manucure-paraffine.webp"] { object-position: 50% 50%; }
