/* =========================================================
   Maître Abdelhakim Djemil — « Terre cuite & Plâtre »
   Terre cuite de la carte de visite · plâtre du mur du cabinet ·
   bronze et noir de l'emblème (arc, balance, livre ouvert)
   ========================================================= */
:root {
  --plaster: #f3eee6;
  --paper: #faf7f2;
  --sand: #ece4d8;
  --white: #fff;
  --ink: #1c1915;
  --ink-2: #27221d;
  --text: #3a332c;
  --muted: #776c60;
  --terra: #a4532f;
  --terra-d: #87401f;
  --terra-l: #c87a54;
  --bronze: #b38b52;
  --bronze-l: #d9b98a;
  --line: rgba(28, 25, 21, .13);
  --line-l: rgba(255, 255, 255, .14);
  --wa: #1fa855;
  --ok: #3c9a63;
  --ko: #c0533a;

  --f-body: "Readex Pro", system-ui, sans-serif;
  --f-display: "Fraunces", Georgia, serif;
  --f-ar: "Reem Kufi", "Readex Pro", sans-serif;
  --f-head: var(--f-display);

  --header-h: 82px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 4px;
  --mark-arc: currentColor;
  --mark-scale: var(--bronze);
}
html[dir="rtl"] { --f-head: var(--f-ar); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  font-family: var(--f-body); font-weight: 300; color: var(--text); background: var(--plaster);
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
b, strong { font-weight: 500; }
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
::selection { background: var(--terra); color: #fff; }

.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Chargement ---------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; background: var(--terra); color: #fff;
  --mark-scale: #f3dcc0; transition: clip-path .9s var(--ease), visibility 0s .9s; clip-path: inset(0 0 0 0);
}
.loader__mark { width: 84px; height: 84px; animation: breathe 1.6s var(--ease) infinite; }
.loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes breathe { 50% { transform: scale(.92); opacity: .75; } }

.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; z-index: 60; }
html[dir="rtl"] .progress { transform-origin: right; }

/* ---------- Typo ---------- */
.h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; color: var(--ink); letter-spacing: -.015em; }
html[dir="rtl"] .h2 { line-height: 1.35; letter-spacing: 0; }
.h2 em { font-style: italic; color: var(--terra); }
html[dir="rtl"] .h2 em { font-style: normal; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 18px; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow span:first-child { font-family: var(--f-display); font-style: italic; font-weight: 500; letter-spacing: 0; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow span:first-child::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--bronze-l); }

/* ---------- 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: 500; font-size: 15.5px; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn .arrow, html[dir="rtl"] .link .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--terra { background: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--terra-d); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--terra); }
.btn--line { border-color: 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; }
.btn:active { transform: translateY(1px); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--terra); font-size: 14.5px; }
.link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }
html[dir="rtl"] .link:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, height .35s; height: var(--header-h); }
.header.scrolled { --header-h: 68px; background: rgba(250, 247, 242, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 48px; height: 48px; display: grid; place-items: center; background: var(--terra); color: #fff; position: relative; --mark-scale: #f3dcc0; }
.brand__mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.55); }
.brand__mark svg { width: 32px; height: 32px; }
.brand__txt { display: grid; line-height: 1.25; }
.brand__txt strong { font-family: var(--f-head); font-weight: 600; font-size: 17px; color: var(--ink); }
.brand__txt small { font-size: 12.5px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav > a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 400; color: var(--text); transition: color .2s; }
.nav > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 1.5px; background: var(--terra); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav > a:hover, .nav > a.active { color: var(--ink); }
.nav > a.active::after, .nav > a:hover::after { transform: scaleX(1); }
.nav__foot { display: none; }
.header__end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.lang button { min-width: 34px; height: 30px; border-radius: 100px; font-size: 12.5px; font-weight: 500; color: var(--muted); transition: all .2s; }
.lang button[lang="ar"] { font-family: var(--f-ar); font-size: 15px; }
.lang button.on { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; position: relative; color: var(--ink); }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; 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); }

/* ---------- Héros ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(30px, 6vw, 70px)) 0 0; overflow: hidden; }
.hero__plaster {
  position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(1100px 600px at 85% 10%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(164,83,47,.08), transparent 60%),
    var(--plaster);
}
.hero__plaster::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .05' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .45 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.hero__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; font-weight: 500; color: var(--terra); margin-bottom: 26px; }
.hero__tag > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.hero__tag > span:first-child::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__title { display: grid; gap: 4px; margin-bottom: 24px; }
.hero__pre { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--muted); }
html[dir="rtl"] .hero__pre { font-family: var(--f-ar); font-style: normal; }
.hero__name { font-family: var(--f-head); font-weight: 600; font-size: clamp(2.9rem, 7vw, 6rem); line-height: .98; color: var(--ink); letter-spacing: -.03em; }
html[dir="rtl"] .hero__name { line-height: 1.2; letter-spacing: 0; font-size: clamp(3rem, 7.6vw, 6.6rem); }
.hero__role { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 400; color: var(--ink); margin-bottom: 20px; }
.hero__role i { width: 8px; height: 8px; background: var(--terra); transform: rotate(45deg); }
.hero__text { font-size: 1.08rem; color: var(--muted); max-width: 52ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; padding: 0 0 40px; }
.hero__block { position: absolute; top: -26px; inset-inline-end: -26px; width: 72%; height: 82%; background: var(--terra); }
.hero__block::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.4); }
.hero__photo { position: relative; aspect-ratio: 4 / 4.7; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(28,25,21,.55); background: var(--sand); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; transform: scale(1.02); will-change: transform; }
.vcard { position: absolute; bottom: 0; inset-inline-start: -34px; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; background: var(--paper); box-shadow: 0 24px 50px -24px rgba(28,25,21,.5); }
html[dir="rtl"] .vcard { padding: 14px 14px 14px 22px; }
.vcard__mark { width: 54px; height: 54px; display: grid; place-items: center; background: var(--terra); color: #fff; position: relative; --mark-scale: #f3dcc0; flex: none; }
.vcard__mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.55); }
.vcard__mark svg { width: 36px; height: 36px; }
.vcard__txt { display: grid; line-height: 1.3; }
.vcard__txt b { font-family: var(--f-head); font-size: 16px; font-weight: 600; color: var(--ink); }
.vcard__txt small { font-size: 13px; color: var(--terra); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line); }
.pillars li { padding: 26px 26px 34px 0; display: grid; gap: 4px; position: relative; }
html[dir="rtl"] .pillars li { padding: 26px 0 34px 26px; }
.pillars li + li { padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
.pillars b { font-family: var(--f-head); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.pillars span { font-size: 14.5px; color: var(--muted); }

/* Statut ouvert / fermé */
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 100px; background: rgba(192,83,58,.1); color: var(--ko); font-size: 13px; font-weight: 500; }
.status[hidden] { display: none; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-open { background: rgba(60,154,99,.12); color: var(--ok); }
.status.is-open i { animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(60,154,99,.5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(60,154,99,0); } }

/* Entrées du héros */
.js .hero-in { opacity: 0; transform: translateY(24px); }
.js.loaded .hero-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.sec--sand { background: var(--sand); }
.sec--ink { background: var(--ink); color: rgba(255,255,255,.72); }
.sec--ink .h2 { color: #fff; }
.sec--ink .h2 em { color: var(--bronze-l); }
.sec--ink .lead { color: rgba(255,255,255,.62); }
.sec--terra { background: var(--terra-d); color: rgba(255,255,255,.8); overflow: hidden; }
.sec--terra .h2 { color: #fff; }
.sec--terra .h2 em { color: #f3dcc0; }
.sec--terra .lead { color: rgba(255,255,255,.75); margin-inline: auto; }
.sec__head { margin-bottom: clamp(40px, 6vw, 70px); max-width: 760px; }
.sec__head .lead { margin-top: 18px; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; }
.sec__head--split .lead { margin: 0; }
.sec__head--center { text-align: center; margin-inline: auto; }

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal[data-d="1"] { transition-delay: .08s; } .js .reveal[data-d="2"] { transition-delay: .16s; } .js .reveal[data-d="3"] { transition-delay: .24s; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Le Maître ---------- */
.missions { display: grid; grid-template-columns: 1fr .9fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.mission { padding-block: 10px; }
.mission__n { display: block; font-family: var(--f-display); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--terra); margin-bottom: 18px; }
.mission h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.6rem; color: var(--ink); margin-bottom: 12px; line-height: 1.3; }
.mission p { color: var(--muted); }
.missions__img { position: relative; }
.missions__img picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; box-shadow: 0 0 0 10px var(--plaster), 0 0 0 11px var(--bronze); }
.missions__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.missions__img figcaption { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--muted); }
.quote { position: relative; margin: clamp(60px, 8vw, 100px) auto 0; max-width: 860px; text-align: center; }
.quote svg { width: 42px; height: 42px; color: var(--terra); margin: 0 auto 20px; }
.quote p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.4; color: var(--ink); }
html[dir="rtl"] .quote p { font-family: var(--f-ar); font-style: normal; line-height: 1.7; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; color: var(--terra); font-weight: 500; }

/* ---------- Ruban ---------- */
.ribbon { background: var(--ink); color: var(--bronze-l); overflow: hidden; padding: 22px 0; }
.ribbon__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
html[dir="rtl"] .ribbon__track { animation-name: marquee-rtl; }
.ribbon__track > div { display: flex; align-items: center; gap: 30px; padding-inline-end: 30px; }
.ribbon span { font-family: var(--f-head); font-size: clamp(1.2rem, 2vw, 1.6rem); white-space: nowrap; }
.ribbon svg { width: 30px; height: 30px; color: var(--terra-l); --mark-scale: var(--bronze-l); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Domaines ---------- */
.grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area { position: relative; background: var(--sand); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 12px; min-height: 290px; transition: background .35s; }
.area:hover { background: var(--paper); }
.area__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.area__ic { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--terra); transition: background .35s, color .35s, border-color .35s; }
.area__ic svg { width: 24px; height: 24px; }
.area:hover .area__ic { background: var(--terra); border-color: var(--terra); color: #fff; }
.area__n { font-family: var(--f-display); font-style: italic; color: var(--muted); font-size: 15px; }
.area h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.32rem; line-height: 1.3; color: var(--ink); }
.area p { font-size: 15px; color: var(--muted); flex: 1; }
.area .link { margin-top: 8px; opacity: .0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.area:hover .link, .area:focus-within .link { opacity: 1; transform: none; }
.area--feat { background: var(--ink); color: rgba(255,255,255,.7); }
.area--feat:hover { background: var(--ink-2); }
.area--feat h3 { color: #fff; }
.area--feat p { color: rgba(255,255,255,.65); }
.area--feat .area__ic { border-color: var(--line-l); color: var(--bronze-l); }
.area--feat .area__n { color: var(--bronze-l); }
.area--feat .link { color: var(--bronze-l); opacity: 1; transform: none; }
@media (hover: none) { .area .link { opacity: 1; transform: none; } }

/* ---------- Cabinet ---------- */
.office { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.office__img { position: relative; }
.office__img::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--bronze); }
html[dir="rtl"] .office__img::before { inset: 26px 26px -26px -26px; }
.office__img picture { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.office__img img { width: 100%; height: 100%; object-fit: cover; }
.office__img figcaption { position: relative; margin-top: 40px; font-size: 13.5px; color: rgba(255,255,255,.5); }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 30px 0 36px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.85); font-size: 15px; }
.ticks svg { width: 20px; height: 20px; color: var(--bronze-l); flex: none; margin-top: 3px; }
.hours-card { border: 1px solid var(--line-l); padding: 24px 26px; background: rgba(255,255,255,.03); }
.hours-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.hours-card h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.25rem; color: #fff; }
.hours-card .status { background: rgba(192,83,58,.18); color: #ef9a83; }
.hours-card .status.is-open { background: rgba(60,154,99,.2); color: #7fd3a1; }
.hours-card__list li { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 1px dashed var(--line-l); font-size: 15px; }
.hours-card__list li b { font-weight: 400; color: #fff; }
.hours-card__list li.today { color: var(--bronze-l); }
.hours-card__list li.today b { color: var(--bronze-l); font-weight: 500; }
.hours-card__list li.today span::after { content: " •"; }

/* ---------- Terrain ---------- */
.gallery { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.gallery figure { position: relative; overflow: hidden; background: var(--sand); }
.gallery picture, .gallery img { width: 100%; height: 100%; }
.gallery img { object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 40px 20px 16px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(20,17,14,.75)); }
.gallery__a { grid-row: span 2; min-height: 460px; }
.gallery__b { aspect-ratio: 1 / .82; }
.gallery__c { background: var(--terra); color: #fff; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; --mark-scale: #f3dcc0; }
.gallery__mark { width: 52px; height: 52px; }
.gallery__c p { font-family: var(--f-head); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.3; }
.gallery__c p em { font-style: italic; color: #f3dcc0; }
html[dir="rtl"] .gallery__c p em { font-style: normal; }
.gallery__c .link { color: #fff; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 30px 28px 10px 0; border-top: 1px solid var(--ink); position: relative; }
html[dir="rtl"] .steps li { padding: 30px 0 10px 28px; }
.steps li::before { content: ""; position: absolute; top: -5px; inset-inline-start: 0; width: 9px; height: 9px; background: var(--terra); transform: rotate(45deg); }
.steps__n { display: block; font-family: var(--f-display); font-style: italic; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--terra); margin-bottom: 18px; }
.steps h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--muted); }

/* ---------- Rendez-vous ---------- */
.book__mark { position: absolute; width: 640px; height: 640px; top: -80px; inset-inline-end: -180px; color: rgba(255,255,255,.05); --mark-scale: rgba(255,255,255,.07); pointer-events: none; }
.bk { position: relative; background: var(--paper); color: var(--text); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,0,0,.6); max-width: 1040px; margin: 0 auto; }
.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(--terra); 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: 500; font-size: 14px; transition: all .3s; }
.bk__steps li.active { color: var(--ink); }
.bk__steps li.active span { background: var(--terra); border-color: var(--terra); color: #fff; }
.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: #fff; }
.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(10px); } }
.bk__q { font-size: 15.5px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
.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(--terra); }
.chip:hover { border-color: var(--ink); }
.chip.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.sel svg { color: var(--bronze-l); }
.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(--terra); flex: none; }
.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(--terra); box-shadow: 0 0 0 1px var(--terra) inset; background: #fbf1ea; }
.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-head); font-size: 1.3rem; 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 svg { width: 18px; height: 18px; }
.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: 500; }
.day { aspect-ratio: 1; border-radius: 50%; font-size: 14.5px; font-weight: 400; transition: all .2s; }
.day:hover:not(.off) { background: var(--sand); }
.day.off { color: rgba(28,25,21,.25); cursor: default; }
.day.sel { background: var(--terra); color: #fff; }
.slots__date { font-family: var(--f-head); font-size: 1.2rem; color: var(--ink); margin-bottom: 14px; text-transform: capitalize; }
.slots__empty { padding: 30px; border: 1px dashed var(--line); 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: 500; 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; background: var(--white); direction: ltr; transition: all .2s; }
.slot:hover { border-color: var(--ink); }
.slot.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.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: 500; 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(--terra); box-shadow: 0 0 0 3px rgba(164,83,47,.15); }
.field input.invalid { border-color: var(--ko); }
.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%; transition: all .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--terra); 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(--terra); 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.35; }
.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; color: rgba(28,25,21,.3); }
.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(--ko); font-size: 14px; font-weight: 500; }
.bk__err:empty { display: none; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.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-family: var(--f-head); font-weight: 500; 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: 110px; }
.urgent { margin-top: 34px; padding: 26px; background: var(--ink); color: rgba(255,255,255,.72); border-inline-start: 4px solid var(--terra); }
.urgent strong { display: block; font-family: var(--f-head); font-size: 1.3rem; color: #fff; margin-bottom: 6px; font-weight: 500; }
.urgent p { font-size: 15px; margin-bottom: 16px; }
.urgent__tel { display: inline-flex !important; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 500; color: var(--bronze-l); }
.urgent__tel svg { width: 22px; height: 22px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 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-size: 1.1rem; font-weight: 500; line-height: 1.5; color: var(--ink); transition: color .2s; }
.qa summary:hover h3 { color: var(--terra); }
.qa__x { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, border-color .3s; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; top: 50%; left: 10px; right: 10px; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .3s var(--ease), background .3s; }
.qa__x::after { transform: rotate(90deg); }
.qa[open] .qa__x { background: var(--terra); border-color: var(--terra); }
.qa[open] .qa__x::before, .qa[open] .qa__x::after { background: #fff; }
.qa[open] .qa__x::after { transform: rotate(0); }
.qa p { padding: 0 0 26px; color: var(--muted); max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.infos { display: grid; gap: 22px; margin-top: 36px; font-style: normal; }
.infos li { display: flex; gap: 16px; align-items: flex-start; }
.infos svg { width: 44px; height: 44px; padding: 11px; flex: none; border-radius: 50%; background: var(--paper); color: var(--terra); }
.infos small { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[dir="rtl"] .infos small { letter-spacing: 0; font-size: 13.5px; }
.infos div > a, .infos div > span { color: var(--ink); font-weight: 400; font-size: 1.05rem; }
.infos a:hover { color: var(--terra); }
.hours-l { display: block; }
address { font-style: normal; }
.contact__btns { margin-top: 32px; }
.contact__map { position: relative; min-height: 440px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }
.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: #fff; font-size: 14px; font-weight: 500; }
.contact__dir svg { width: 16px; height: 16px; }
.contact__dir:hover { background: var(--terra); }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: clamp(60px, 8vw, 100px) 0 30px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line-l); }
.footer__word { font-family: var(--f-head); font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.15; color: #fff; }
html[dir="rtl"] .footer__word { line-height: 1.45; }
.footer__word em { font-style: italic; color: var(--terra-l); }
html[dir="rtl"] .footer__word em { font-style: normal; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 50px 0; }
.footer h3 { font-size: 13px; font-weight: 500; color: #fff; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
html[dir="rtl"] .footer h3 { letter-spacing: 0; font-size: 15px; }
.footer ul { display: grid; gap: 8px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.brand--light .brand__txt strong { color: #fff; }
.brand--light .brand__txt small { color: rgba(255,255,255,.5); }
.footer__about { margin-top: 18px; font-size: 14.5px; max-width: 34ch; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer__disc { font-size: 13px; color: rgba(255,255,255,.4); padding: 22px 0; border-top: 1px solid var(--line-l); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255,255,255,.4); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: stretch; gap: 0; padding: 100px 28px 40px; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
  .nav.open { opacity: 1; visibility: visible; transition: opacity .35s; }
  .nav > a { font-family: var(--f-head); font-size: 1.9rem; padding: 10px 0; color: var(--ink); }
  .nav > a::after { display: none; }
  .nav > a.active { color: var(--terra); }
  .nav__foot { display: grid; justify-items: start; gap: 6px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
  .burger { display: block; }
  .menu-open { overflow: hidden; }
  .menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: 100%; margin-inline: auto; order: -1; }
  .hero__copy { text-align: center; }
  .hero__tag, .hero__role, .hero__actions { justify-content: center; }
  .hero__text { margin-inline: auto; }
  .missions { grid-template-columns: 1fr 1fr; }
  .missions__img { grid-column: 1 / -1; grid-row: 1; max-width: 360px; margin: 0 auto 20px; width: 100%; }
  .grid9 { grid-template-columns: 1fr 1fr; }
  .office { grid-template-columns: 1fr; }
  .office__img { max-width: 460px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .faq { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .wrap { width: calc(100% - 32px); }
  .header__cta, .brand__txt small { display: none; }
  .header__in { gap: 10px; }
  .header__end { gap: 4px; margin-inline-start: auto; }
  .brand { min-width: 0; gap: 9px; flex: 0 1 auto; }
  .brand__txt { min-width: 0; }
  .brand__txt strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lang button { min-width: 30px; }
  .brand__mark { width: 42px; height: 42px; flex: none; }
  .brand__mark svg { width: 28px; height: 28px; }
  .hero__block { top: -16px; inset-inline-end: -16px; }
  .vcard { inset-inline-start: -8px; padding: 10px 16px 10px 10px; }
  html[dir="rtl"] .vcard { padding: 10px 10px 10px 16px; }
  .vcard__mark { width: 44px; height: 44px; }
  .pillars { grid-template-columns: 1fr; text-align: center; }
  .pillars li, html[dir="rtl"] .pillars li { padding: 20px 0; }
  .pillars li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .sec__head--split { grid-template-columns: 1fr; }
  .missions { grid-template-columns: 1fr; }
  .grid9 { grid-template-columns: 1fr; }
  .area { min-height: 0; }
  .ticks { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__a { grid-row: auto; min-height: 0; aspect-ratio: 1.5; }
  .steps { grid-template-columns: 1fr; }
  .bk__steps li { padding: 14px 10px; justify-content: center; }
  .bk__steps b { display: none; }
  .bk__steps li.active b { display: inline; }
  .bk__modes, .bk__date, .form { grid-template-columns: 1fr; }
  .bk__bar { grid-template-columns: 1fr; }
  .bk__sum { display: none; }
  .bk__nav { justify-content: space-between; }
  .bk__nav .btn { flex: 1; padding: 0 14px; }
  .contact__map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .mbar { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--paper); box-shadow: 0 -1px 0 var(--line); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .4s var(--ease); }
  .past-hero .mbar { transform: none; }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 0; font-size: 12.5px; font-weight: 500; color: var(--ink); }
  .mbar svg { width: 22px; height: 22px; }
  .mbar a:nth-child(2) svg { color: var(--wa); }
  .mbar__main { background: var(--terra); color: #fff !important; }
  .wa-float { display: none; }
  body { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
