/* =========================================================
   Maître Abdelmounim Rifai — Tanger
   Palette « Méditerranée » : pierre calcaire / encre marine / terre cuite / laiton
   ========================================================= */
:root {
  --stone: #f4efe6;      /* fond pierre claire */
  --sand: #ebe3d4;       /* sections alternées */
  --sand-2: #dfd4c0;
  --ink: #0f2a2e;        /* encre marine profonde */
  --ink-2: #16393e;
  --sea: #1f6a63;        /* vert d'eau du détroit */
  --clay: #b5532c;       /* terre cuite */
  --clay-2: #9a4322;
  --brass: #c9a560;
  --brass-2: #e7d3a0;
  --text: #1c2b2d;
  --muted: #5d6b6a;
  --line: rgba(15, 42, 46, .14);
  --line-2: rgba(15, 42, 46, .08);
  --white: #fffdf9;
  --wa: #1fa855;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}
html[dir="rtl"] {
  --f-display: "El Messiri", "Fraunces", serif;
  --f-body: "Readex Pro", "Instrument Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; font-family: var(--f-body); color: var(--text); background: var(--stone);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[dir="rtl"] body { font-size: 16.5px; line-height: 1.9; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; margin: 0; line-height: 1.1; letter-spacing: -.015em; }
html[dir="rtl"] :is(h1, h2, h3) { font-weight: 600; letter-spacing: 0; line-height: 1.35; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
svg { width: 20px; height: 20px; flex: none; }
svg[width="0"] { width: 0; height: 0; }
::selection { background: var(--clay); color: var(--white); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Fond animé ---------- */
.bg-anim { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-anim__blob { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.bg-anim__blob--a { top: -30vmax; left: -20vmax; background: radial-gradient(circle, rgba(181, 83, 44, .16), transparent 62%); animation: drift-a 26s ease-in-out infinite alternate; }
.bg-anim__blob--b { bottom: -35vmax; right: -25vmax; background: radial-gradient(circle, rgba(31, 106, 99, .17), transparent 62%); animation: drift-b 32s ease-in-out infinite alternate; }
.bg-anim__blob--c { top: 30%; left: 35%; width: 45vmax; height: 45vmax; background: radial-gradient(circle, rgba(201, 165, 96, .16), transparent 64%); animation: drift-c 38s ease-in-out infinite alternate; }
.bg-anim__grid {
  position: absolute; inset: -160px; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%230f2a2e' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Cpath d='M0 0l14 14M80 0L66 14M0 80l14-14M80 80L66 66'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 70%);
  animation: pan 60s linear infinite;
}
@keyframes drift-a { to { transform: translate(28vw, 22vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-30vw, -26vh) scale(1.1); } }
@keyframes drift-c { 0% { transform: translate(-20vw, -10vh) scale(.9); } 100% { transform: translate(18vw, 14vh) scale(1.2); } }
@keyframes pan { to { transform: translate(80px, 160px); } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r);
  font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--sea); }
.btn--clay { background: var(--clay); color: var(--white); }
.btn--clay:hover { background: var(--clay-2); }
.btn--sand { background: var(--brass-2); color: var(--ink); }
.btn--sand:hover { background: var(--white); }
.btn--line { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--clay); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link svg { width: 16px; height: 16px; }

/* ---------- Libellés de section ---------- */
.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay);
}
html[dir="rtl"] .label { letter-spacing: 0; font-size: 15px; }
.label span:first-child { font-family: var(--f-display); font-size: 15px; letter-spacing: 0; color: var(--muted); padding-inline-end: 14px; border-inline-end: 1px solid var(--line); }
.label--light { color: var(--brass-2); }
.label--light span:first-child { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.2); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--ink); max-width: 20ch; }
.h2 em { font-style: italic; color: var(--clay); }
html[dir="rtl"] .h2 em { font-style: normal; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }

.sec { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec--sand { background: var(--sand); }
.sec--ink { background: var(--ink); color: var(--white); overflow: hidden; }
.sec--ink .h2 { color: var(--white); }
.sec--ink .h2 em { color: var(--brass); }
.sec--ink .lead { color: rgba(255,255,255,.7); }
.sec__head { margin-bottom: clamp(44px, 6vw, 72px); display: grid; gap: 20px; }
.sec__head--center { justify-items: center; text-align: center; }
.sec__head--center .h2 { max-width: 22ch; }
.sec__head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }

/* ---------- Motif zellige (étoile à 8 branches) ---------- */
.zellige {
  position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e7d3a0' stroke-width='1.2'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Cpath d='M0 0l14 14M80 0L66 14M0 80l14-14M80 80L66 66'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
html[dir="rtl"] .zellige { -webkit-mask-image: linear-gradient(-90deg, #000, transparent 70%); mask-image: linear-gradient(-90deg, #000, transparent 70%); }
.zellige--soft { opacity: .05; -webkit-mask-image: radial-gradient(circle at 50% 0, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 0, #000, transparent 70%); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: border-color .3s; }
/* flou sur un pseudo-élément : un backdrop-filter sur .header piégerait le menu mobile (position: fixed) */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 239, 230, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: background .3s;
}
.header.scrolled { border-color: var(--line); }
.header.scrolled::before, body.menu-open .header::before { background: rgba(244, 239, 230, .97); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; min-width: 0; }
.brand__seal { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--brass); border-radius: 2px; }
.brand__seal svg { width: 34px; height: 34px; }
.brand__txt { display: grid; line-height: 1.2; }
.brand__txt strong { font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--ink); }
.brand__txt small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
html[dir="rtl"] .brand__txt strong { font-size: 20px; }
.brand--light .brand__seal { background: var(--brass); color: var(--ink); }
.brand--light strong { color: var(--white); }
.brand--light small { color: rgba(255,255,255,.6); }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav > a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: color .2s; }
.nav > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1px; background: var(--clay); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover, .nav > a.active { color: var(--clay); }
.nav > a.active::after, .nav > a:hover::after { transform: scaleX(1); }
.nav__foot { display: none; }
.header__end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lang button { width: 38px; height: 34px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.lang button[lang="ar"] { font-family: "El Messiri", serif; font-size: 16px; }
.lang button.on { background: var(--ink); color: var(--white); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger.open span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--sea); margin-bottom: 28px; }
.kicker__dot { width: 8px; height: 8px; background: var(--clay); transform: rotate(45deg); }
.hero__title { display: grid; color: var(--ink); margin-bottom: 24px; }
.hero__pre { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-style: italic; font-weight: 400; color: var(--clay); margin-bottom: 4px; }
html[dir="rtl"] .hero__pre { font-style: normal; font-weight: 500; }
.hero__name { font-size: clamp(2.9rem, 7.4vw, 6.2rem); line-height: .98; letter-spacing: -.03em; }
html[dir="rtl"] .hero__name { line-height: 1.2; letter-spacing: 0; font-size: clamp(2.8rem, 7vw, 5.6rem); }
.hero__role { font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 600; color: var(--ink); padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 22px; max-width: 54ch; }
.hero__text { color: var(--muted); font-size: 1.08rem; max-width: 54ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; padding-bottom: 40px; }
.hero__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,42,46,.35)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__media::before { content: ""; position: absolute; inset: 22px -22px 62px 22px; border: 1px solid var(--clay); border-radius: var(--r); z-index: -1; }
html[dir="rtl"] .hero__media::before { inset: 22px 22px 62px -22px; }

/* Plaque en laiton — la « porte » du cabinet */
.plaque {
  position: absolute; bottom: 0; inset-inline-start: -48px; width: min(330px, 86%);
  display: grid; gap: 4px; padding: 26px 30px; text-align: center;
  background: linear-gradient(135deg, #e9d59f 0%, #c9a560 38%, #f1e2b7 55%, #b8904a 100%);
  color: #3b2a0c; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 30px 50px -20px rgba(15,42,46,.55);
}
.plaque::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(59,42,12,.35); border-radius: 2px; pointer-events: none; }
.plaque__screw { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6d8, #8a6a2c); }
.plaque__screw:nth-child(1) { top: 14px; left: 14px; } .plaque__screw:nth-child(2) { top: 14px; right: 14px; }
.plaque__screw:nth-child(3) { bottom: 14px; left: 14px; } .plaque__screw:nth-child(4) { bottom: 14px; right: 14px; }
.plaque__role { font-family: var(--f-display); font-style: italic; font-size: 15px; }
html[dir="rtl"] .plaque__role { font-style: normal; }
.plaque__name { font-family: var(--f-display); font-size: 25px; font-weight: 600; line-height: 1.15; text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.plaque__line { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .85; }
html[dir="rtl"] .plaque__line { letter-spacing: 0; font-size: 14px; text-transform: none; }
.plaque__no { font-size: 12px; margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(59,42,12,.3); }

/* Bandeau de faits */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--ink); }
.facts li { padding: 26px 24px 30px; display: grid; gap: 6px; border-inline-end: 1px solid var(--line); }
.facts li:first-child { padding-inline-start: 0; }
.facts li:last-child { border: 0; }
.facts b { font-family: var(--f-display); font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 500; color: var(--ink); line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Parcours ---------- */
.profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.profile__side { position: sticky; top: calc(var(--header-h) + 30px); }
.profile__img { position: relative; overflow: hidden; border-radius: var(--r); }
.profile__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.profile__img figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; color: var(--white);
  font-family: var(--f-display); font-size: 1.3rem; font-style: italic; line-height: 1.35;
  background: linear-gradient(transparent, rgba(15,42,46,.9));
}
html[dir="rtl"] .profile__img figcaption { font-style: normal; }
.profile__main { display: grid; gap: 22px; }
.profile__main .h2 { margin-bottom: 8px; }
.profile__main > p:not(.lead) { color: var(--muted); max-width: 62ch; }
.ledger { margin-top: 18px; border-top: 1px solid var(--ink); }
.ledger > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-weight: 600; color: var(--ink); }
.ledger dd { color: var(--muted); }
.ledger > div:last-child dd { font-family: var(--f-display); font-size: 1.2rem; color: var(--clay); direction: ltr; text-align: end; }
html[dir="rtl"] .ledger > div:last-child dd { text-align: start; }
html[dir="rtl"] .ledger > div:last-child dd { text-align: right; }
.profile__cta { margin-top: 14px; }

/* ---------- Arbitrage ---------- */
.arb { position: relative; background: var(--ink); color: var(--white); padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.arb .h2 { color: var(--white); }
.arb .h2 em { color: var(--brass); }
.arb .lead { color: rgba(255,255,255,.72); margin: 22px 0 30px; }
.arb__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 40px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.9); }
.ticks svg { color: var(--brass); margin-top: 3px; width: 18px; height: 18px; }
.verdict { background: var(--ink-2); border: 1px solid rgba(231,211,160,.2); border-radius: var(--r); padding: clamp(30px, 4vw, 48px); display: grid; gap: 22px; }
.verdict__ring { position: relative; width: 150px; height: 150px; }
.verdict__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.verdict__ring circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 6; }
.verdict__ring .verdict__arc { stroke: var(--brass); stroke-dasharray: 553; stroke-dashoffset: 553; transition: stroke-dashoffset 1.8s var(--ease) .2s; stroke-linecap: round; }
.verdict.in .verdict__arc, html:not(.js) .verdict__arc { stroke-dashoffset: 0; }
.verdict__n { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Fraunces", serif; font-size: 44px; color: var(--white); direction: ltr; }
.verdict__n small { font-size: 22px; color: var(--brass); }
.verdict__n { display: flex; align-items: center; justify-content: center; }
.verdict blockquote { font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--white); }
.verdict figcaption { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
html[dir="rtl"] .verdict figcaption { letter-spacing: 0; font-size: 14px; }

/* ---------- Domaines : index éditorial ---------- */
.index { border-top: 1px solid var(--ink); }
.row { border-bottom: 1px solid var(--line); }
.row summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 48px minmax(0, 1fr) 40px; gap: 18px; align-items: center;
  padding: 26px 0; transition: background .25s;
}
.row summary::-webkit-details-marker { display: none; }
.row__n { font-family: "Fraunces", serif; font-size: 15px; color: var(--muted); }
.row__ic { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--sea); transition: background .25s, color .25s, border-color .25s; }
.row__ic svg { width: 22px; height: 22px; }
.row__t { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: baseline; }
.row h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--ink); transition: color .25s; }
.row__d { color: var(--muted); font-size: 15px; }
.row__x { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); justify-self: end; transition: background .25s, border-color .25s; }
.row__x::before, .row__x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .25s; }
.row__x::after { transform: translate(-50%, -50%) rotate(90deg); }
.row[open] .row__x { background: var(--ink); border-color: var(--ink); }
.row[open] .row__x::before, .row[open] .row__x::after { background: var(--white); }
.row[open] .row__x::after { transform: translate(-50%, -50%) rotate(0); }
.row summary:hover h3, .row[open] h3 { color: var(--clay); }
.row summary:hover .row__ic, .row[open] .row__ic { background: var(--clay); border-color: var(--clay); color: var(--white); }
.row__body { padding: 0 0 32px calc(56px + 48px + 36px); display: grid; gap: 22px; justify-items: start; }
html[dir="rtl"] .row__body { padding: 0 calc(56px + 48px + 36px) 32px 0; }
.row__body ul { display: flex; flex-wrap: wrap; gap: 8px; }
.row__body li { padding: 7px 14px; background: var(--sand); border-radius: 100px; font-size: 14px; color: var(--ink); }
.row[open] .row__body { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Engagement ---------- */
.commit { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.note { background: var(--stone); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--sea); }
.note h3 { font-size: 1.35rem; color: var(--ink); }
.note p { color: var(--muted); font-size: 15px; }
.note__tag { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sea); }
html[dir="rtl"] .note__tag { letter-spacing: 0; font-size: 14px; }
.note--press { grid-row: span 2; background: var(--ink); color: var(--white); border-top-color: var(--clay); position: relative; overflow: hidden; justify-content: flex-end; min-height: 460px; padding: 40px; }
.note__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transition: transform 1.2s var(--ease); }
.note--press:hover .note__img { transform: scale(1.04); }
.note--press::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,42,46,.1) 0%, rgba(15,42,46,.55) 45%, rgba(15,42,46,.96) 100%); }
.note--press > :not(.note__img) { position: relative; z-index: 2; }
.note--press h3 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; }
.note--press p { color: rgba(255,255,255,.72); font-size: 16px; }
.note--press .note__tag { color: var(--brass); }
.note--press .link { color: var(--brass-2); align-self: flex-start; margin-top: 10px; }
.commit .note:nth-child(4) { grid-column: 2 / 4; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { padding: 34px 28px 10px 0; border-inline-end: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
html[dir="rtl"] .steps li { padding: 34px 0 10px 28px; }
.steps li + li { padding-inline-start: 28px; }
.steps li:last-child { border: 0; }
.steps__n { font-family: "Fraunces", serif; font-size: 68px; line-height: 1; font-weight: 400; color: transparent; -webkit-text-stroke: 1px var(--clay); }
.steps h3 { font-size: 1.4rem; color: var(--ink); }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Rendez-vous ---------- */
.bk { position: relative; background: var(--stone); color: var(--text); border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.bk__steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--white); }
.bk__steps li { display: flex; align-items: center; gap: 12px; padding: 18px 24px; color: var(--muted); font-size: 15px; position: relative; }
.bk__steps li::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
html[dir="rtl"] .bk__steps li::after { transform-origin: right; }
.bk__steps span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-weight: 600; font-size: 14px; transition: all .3s; }
.bk__steps li.active { color: var(--ink); }
.bk__steps li.active span { background: var(--clay); border-color: var(--clay); color: var(--white); }
.bk__steps li.active::after, .bk__steps li.done::after { transform: scaleX(1); }
.bk__steps li.done span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.bk__body { padding: clamp(24px, 4vw, 44px); min-height: 380px; }
.bk__step { display: none; }
.bk__step.active { display: block; animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.bk__q { font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: 0; }
.bk__q + * + .bk__q, .bk__modes { margin-top: 0; }
.bk__areas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 14.5px; background: var(--white); transition: all .2s; }
.chip svg { width: 18px; height: 18px; color: var(--sea); }
.chip:hover { border-color: var(--ink); }
.chip.sel { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.sel svg { color: var(--brass); }
.bk__modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mode { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); text-align: start; transition: all .2s; }
.mode svg { width: 26px; height: 26px; color: var(--sea); }
.mode b { display: block; font-size: 15.5px; color: var(--ink); }
.mode small { color: var(--muted); font-size: 13px; }
.mode:hover { border-color: var(--ink); }
.mode.sel { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay) inset; background: #fbf3ee; }
.mode.sel svg { color: var(--clay); }

.bk__date { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__head strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); text-transform: capitalize; }
.cal__nav { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.cal__nav:disabled { opacity: .3; cursor: default; }
html[dir="rtl"] .cal__nav svg { transform: scaleX(-1); }
.cal__wd, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd span { font-size: 12px; color: var(--muted); padding: 6px 0; font-weight: 600; }
.day { aspect-ratio: 1; border-radius: 50%; font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s; }
.day:hover:not(.off) { background: var(--sand); }
.day.off { color: rgba(28,43,45,.25); cursor: default; text-decoration: line-through; text-decoration-color: rgba(28,43,45,.15); }
.day.sel { background: var(--clay); color: var(--white); }
.slots__date { font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 14px; text-transform: capitalize; }
.slots__empty { padding: 30px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); text-align: center; }
.slots__g { margin-bottom: 18px; }
.slots__g small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { padding: 10px 0; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; font-weight: 500; background: var(--white); direction: ltr; transition: all .2s; }
.slot:hover:not(.taken) { border-color: var(--ink); }
.slot.sel { background: var(--ink); border-color: var(--ink); color: var(--white); }
.slot.taken { opacity: .35; text-decoration: line-through; cursor: not-allowed; background: transparent; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field__l { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(31,106,99,.14); }
.field input.invalid { border-color: var(--clay); }
.seg { display: flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); height: 50px; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; height: 100%; font-weight: 500; transition: all .2s; }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: -2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--clay); flex: none; }

.bk__bar { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; padding: 18px clamp(24px, 4vw, 44px); border-top: 1px solid var(--line); background: var(--white); }
.bk__bar[hidden] { display: none; }
.bk__sum { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bk__sum span { display: grid; line-height: 1.3; }
.bk__sum small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[dir="rtl"] .bk__sum small { letter-spacing: 0; font-size: 12.5px; }
.bk__sum b { font-size: 14px; font-weight: 600; color: rgba(28,43,45,.35); }
.bk__sum span.on b { color: var(--ink); }
.bk__nav { display: flex; gap: 10px; }
.bk__nav [hidden] { display: none; }
.bk__err { grid-column: 1 / -1; order: -1; color: var(--clay); font-size: 14px; font-weight: 500; }
.bk__err:empty { display: none; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.bk__done { text-align: center; padding: 30px 0; }
.bk__done.active { display: grid; justify-items: center; gap: 14px; }
.bk__doneIc { width: 72px; height: 72px; display: grid; place-items: center; background: var(--wa); color: #fff; border-radius: 50%; }
.bk__doneIc svg { width: 36px; height: 36px; }
.bk__done h3 { font-size: 2rem; color: var(--ink); }
.bk__done p { color: var(--muted); max-width: 52ch; }
.bk__recap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 10px; }
.bk__recap span { padding: 6px 14px; background: var(--sand); border-radius: 100px; font-size: 14px; }
.bk__doneBtns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 8px; }
.urgent { margin-top: 30px; padding: 28px; background: var(--sand); border-inline-start: 3px solid var(--clay); display: grid; gap: 8px; }
.urgent strong { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; color: var(--ink); }
.urgent p { color: var(--muted); font-size: 15px; }
.urgent__tel { display: inline-flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--clay); margin-top: 6px; }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-family: var(--f-body); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; line-height: 1.45; color: var(--ink); }
.qa summary:hover h3 { color: var(--clay); }
.qa__x { position: relative; width: 20px; height: 20px; flex: none; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1.6px; background: var(--clay); transition: transform .3s var(--ease); }
.qa__x::after { transform: rotate(90deg); }
.qa[open] .qa__x::after { transform: rotate(0); }
.qa p { padding: 0 0 26px; color: var(--muted); max-width: 64ch; }
.qa[open] p { animation: drop .4s var(--ease); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact .h2 { margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards li { display: flex; gap: 14px; padding: 22px; background: var(--stone); }
.cards li:first-child, .cards li:nth-last-child(-n+2) { grid-column: 1 / -1; }
.cards svg { color: var(--clay); margin-top: 3px; }
.cards small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.cards a, .cards span { font-weight: 500; color: var(--ink); word-break: break-word; }
.cards a:hover { color: var(--clay); }
.contact__map { position: relative; min-height: 420px; border-radius: var(--r); overflow: hidden; background: var(--sand-2); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.2) contrast(1.05); }
.contact__dir { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; border-radius: var(--r); }
.contact__dir svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(60px, 8vw, 100px) 0 30px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__word { font-family: var(--f-display); font-style: italic; font-size: clamp(1.8rem, 4.2vw, 3.2rem); color: var(--white); line-height: 1.15; }
html[dir="rtl"] .footer__word { font-style: normal; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
html[dir="rtl"] .footer h3 { letter-spacing: 0; font-size: 15px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer a:hover { color: var(--white); }
.footer__about { margin-top: 20px; font-size: 15px; max-width: 36ch; }
.hours li { display: flex; flex-direction: column; }
.hours li span:first-child { color: var(--white); }
.footer__disc { margin-top: 50px; font-size: 13px; color: rgba(255,255,255,.45); max-width: 90ch; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Flottants ---------- */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; background: var(--wa); color: #fff; border-radius: 50%; box-shadow: 0 14px 30px -10px rgba(31,168,85,.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.mbar { display: none; }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; } .js .reveal[data-d="2"] { transition-delay: .16s; } .js .reveal[data-d="3"] { transition-delay: .24s; }
.hero__copy > *, .hero__media { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; } .hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__media { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .nav > a { padding: 8px 9px; font-size: 14px; }
  .header__cta { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px var(--gutter) 40px;
    background: var(--stone); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { font-family: var(--f-display); font-size: 1.9rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav__foot { display: grid; gap: 8px; margin-top: auto; padding-top: 30px; color: var(--muted); font-size: 16px; }
  .header__end { margin-inline-start: auto; gap: 8px; }
  .lang button { width: 34px; height: 32px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: 100%; margin: 0 auto; padding-inline: 24px; }
  .plaque { inset-inline-start: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 22px 18px 24px; border-bottom: 1px solid var(--line); }
  .facts li:nth-child(odd) { padding-inline-start: 0; }
  .facts li:nth-child(even) { border-inline-end: 0; }
  .facts li:nth-child(n+3) { border-bottom: 0; }

  .profile, .faq, .contact, .arb__grid { grid-template-columns: 1fr; }
  .profile__side, .faq__side { position: static; }
  .profile__img { max-width: 460px; }
  .profile__img img { aspect-ratio: 4 / 3; }
  .sec__head--split { grid-template-columns: 1fr; gap: 20px; }

  .commit { grid-template-columns: 1fr 1fr; }
  .note--press { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
  .commit .note:nth-child(4) { grid-column: auto; }
  .commit .note:nth-child(2) { grid-column: 1 / -1; }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps li, html[dir="rtl"] .steps li { padding: 28px 22px 28px 0; }
  html[dir="rtl"] .steps li { padding: 28px 0 28px 22px; }
  .steps li:nth-child(even) { border-inline-end: 0; padding-inline-start: 22px; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .bk__date { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }

  body { padding-bottom: 72px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset: auto 0 0 0; z-index: 45;
    background: var(--white); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -10px 30px -18px rgba(15,42,46,.4);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r); font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--sand); }
  .mbar a:nth-child(2) svg { color: var(--wa); }
  .mbar__main { background: var(--clay) !important; color: var(--white) !important; }
  .wa-float { display: none; }
}

@media (max-width: 720px) {
  .header__in { gap: 10px; }
  .brand { flex: 1 1 auto; gap: 10px; }
  .brand__txt { min-width: 0; }
  .brand__txt strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header__end { flex: none; gap: 4px; }
  .burger { width: 40px; }
  .brand__txt small { display: none; }
  .brand__seal { width: 36px; height: 36px; }
  .brand__seal svg { width: 26px; height: 26px; }
  .brand__txt strong, html[dir="rtl"] .brand__txt strong { font-size: 16px; }
  .lang button { width: 30px; height: 30px; font-size: 12px; }
  .hero { padding-top: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { padding-inline: 14px 14px; }
  .hero__media::before { inset: 14px -2px 54px 26px; }
  html[dir="rtl"] .hero__media::before { inset: 14px 26px 54px -2px; }
  .plaque { width: min(290px, 88%); padding: 20px 22px; }
  .plaque__name { font-size: 21px; }

  .ledger > div { grid-template-columns: 1fr; gap: 2px; }
  html[dir="rtl"] .ledger > div:last-child dd { text-align: right; }
  .ledger > div:last-child dd { text-align: left; }
  .ticks { grid-template-columns: 1fr; }

  .row summary { grid-template-columns: 44px minmax(0, 1fr) 36px; gap: 14px; padding: 22px 0; }
  .row__n { display: none; }
  .row__ic { width: 44px; height: 44px; }
  .row__t { grid-template-columns: 1fr; gap: 6px; }
  .row__d { font-size: 14px; }
  .row__x { width: 36px; height: 36px; }
  .row__body, html[dir="rtl"] .row__body { padding: 0 0 26px; }

  .commit { grid-template-columns: 1fr; }
  .note--press { padding: 30px 26px; }
  .note--press { min-height: 420px; }

  .steps { grid-template-columns: 1fr; }
  .steps li, html[dir="rtl"] .steps li, .steps li + li, .steps li:nth-child(even) { padding: 24px 0; border-inline-end: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; }
  .steps li:last-child { border-bottom: 0; }
  .steps__n { grid-row: span 2; font-size: 52px; }

  .bk__steps li { padding: 14px 10px; justify-content: center; font-size: 13px; flex-direction: column; gap: 6px; text-align: center; }
  .bk__modes { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .bk__bar { grid-template-columns: 1fr; }
  .bk__sum { gap: 6px 16px; }
  .bk__nav { justify-content: space-between; }
  .bk__nav .btn { flex: 1; padding: 0 14px; }
  .bk__nav #bBack { flex: 0 0 auto; }

  .cards { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 380px) {
  .lang button { width: 28px; }
  .brand__txt strong, html[dir="rtl"] .brand__txt strong { font-size: 15px; }
  .chip { font-size: 13.5px; padding: 9px 13px; }
}
