/* =========================================================
   Maître Abderrahim Laroui — Avocat à El Jadida
   Style « Sceau d'or » : noir d'encre, or ancien, ivoire
   (repris de la carte de visite du cabinet)
   ========================================================= */
:root {
  --ink: #0d0c0a;
  --ink-2: #15130f;
  --ink-3: #1f1c16;
  --gold: #c9a76a;
  --gold-2: #e4cb98;
  --gold-d: #957641;
  --ivory: #f8f4eb;
  --paper: #efe7d7;
  --white: #fffdf8;
  --text: #1d1a15;
  --muted: #6d6556;
  --line: #e2d7c2;
  --line-d: rgba(201, 167, 106, .2);
  --on-ink: #ece5d6;
  --on-ink-2: #a9a08f;

  --f-display: "Cinzel", Georgia, serif;
  --f-body: "Jost", system-ui, sans-serif;
  --radius: 4px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang^="ar"] {
  --f-display: "El Messiri", "Tajawal", serif;
  --f-body: "Tajawal", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font: 400 17px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang^="ar"] body { font-size: 18px; line-height: 1.85; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1.2em; height: 1.2em; flex: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 99; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 500; font-size: .95rem; letter-spacing: .02em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-d)); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border-color: var(--line-d); color: var(--on-ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 14px 0; }
.header.scrolled { background: rgba(13, 12, 10, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-d); padding: 8px 0; }
.header__in { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-ink); }
.brand__seal { width: 46px; height: 46px; color: var(--gold); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand__txt strong { font-family: var(--f-display); font-size: 1.08rem; letter-spacing: .04em; }
.brand__txt small { font-size: .74rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
html[lang^="ar"] .brand__txt small { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav > a { color: var(--on-ink-2); font-size: .92rem; position: relative; padding: 6px 0; transition: color .2s; }
.nav > a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover, .nav > a.active { color: var(--gold-2); }
.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-d); border-radius: var(--radius); overflow: hidden; }
.lang button { background: none; border: 0; padding: 6px 10px; font-size: .78rem; color: var(--on-ink-2); letter-spacing: .05em; }
.lang button.on { background: var(--gold); color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-d); border-radius: var(--radius); background: none; position: relative; }
.burger span { position: absolute; inset-inline: 11px; height: 1.5px; background: var(--gold); transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger.open span:first-child { top: 20px; transform: rotate(45deg); }
.burger.open span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-ink);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(201, 167, 106, .13), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(201, 167, 106, .07), transparent 70%),
    var(--ink);
  padding: 150px 0 70px;
}
[dir="rtl"] .hero { background:
    radial-gradient(60% 70% at 15% 30%, rgba(201, 167, 106, .13), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(201, 167, 106, .07), transparent 70%),
    var(--ink); }
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), rgba(201, 167, 106, .05) calc(100% / 6 - 1px) calc(100% / 6)); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
html[lang^="ar"] .kicker { letter-spacing: .04em; font-size: .95rem; }
.kicker__dot { width: 34px; height: 1px; background: var(--gold); }
.hero__title { display: flex; flex-direction: column; gap: 6px; }
.hero__pre { font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--gold); letter-spacing: .1em; font-weight: 500; }
.hero__name { font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1.04; letter-spacing: .02em; color: var(--white);
  background: linear-gradient(180deg, #fff9ec 30%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[lang^="ar"] .hero__name { line-height: 1.25; letter-spacing: 0; }
.hero__role { margin-top: 22px; display: inline-block; font-family: var(--f-display); font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink);
  padding-bottom: 12px; border-bottom: 3px solid var(--gold); }
html[lang^="ar"] .hero__role { letter-spacing: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.hero__text { margin-top: 26px; max-width: 560px; color: var(--on-ink-2); font-size: 1.04rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__media { position: relative; padding: 30px 0 50px; }
.hero__seal { position: absolute; width: 360px; height: 360px; color: var(--gold); opacity: .16; top: -40px; inset-inline-end: -110px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.frame { position: relative; margin: 0; margin-inline-start: auto; max-width: 470px; }
.frame::before { content: ""; position: absolute; inset: -14px; inset-inline-start: 14px; inset-block-end: 14px; border: 1px solid var(--gold); border-radius: var(--radius); opacity: .55; }
.frame img { position: relative; width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); filter: saturate(.92) contrast(1.03); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hours-card { position: absolute; bottom: 0; inset-inline-start: 0; width: 250px; padding: 18px 20px; background: rgba(21, 19, 15, .94); border: 1px solid var(--line-d); border-radius: var(--radius); backdrop-filter: blur(6px); box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .7); }
.hours-card small { display: block; color: var(--gold); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
html[lang^="ar"] .hours-card small { letter-spacing: 0; font-size: .85rem; }
.hours-card__row { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--on-ink-2); padding: 4px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.hours-card__row b { color: var(--on-ink); font-weight: 500; }
.status { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--on-ink); margin-bottom: 12px; line-height: 1.45; }
.status[hidden] { display: none; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #b0533f; margin-top: .45em; flex: none; box-shadow: 0 0 0 4px rgba(176, 83, 63, .18); }
.status.is-open i { background: #6fae6a; box-shadow: 0 0 0 4px rgba(111, 174, 106, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(111, 174, 106, .05); } }

.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid var(--line-d); }
.facts li { padding: 24px 22px 0 0; border-inline-end: 1px solid var(--line-d); padding-inline: 22px; }
.facts li:first-child { padding-inline-start: 0; }
.facts li:last-child { border-inline-end: 0; }
.facts b { display: block; font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; color: var(--gold-2); }
.facts span { font-size: .9rem; color: var(--on-ink-2); }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; position: relative; }
.sec--ivory { background: var(--ivory); }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
.sec__head { max-width: 720px; margin-bottom: 60px; }
.sec__head--center { text-align: center; margin-inline: auto; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 18px; font-weight: 500; }
html[lang^="ar"] .eyebrow { letter-spacing: .02em; font-size: .95rem; }
.sec__head--center .eyebrow { justify-content: center; }
.eyebrow__n { font-family: "Cinzel", serif; display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border: 1px solid currentColor; border-radius: 50%; font-size: .75rem; letter-spacing: 0; }
.eyebrow--light { color: var(--gold); }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: .01em; }
.h2 em { font-style: normal; color: var(--gold-d); }
.sec--ink .h2 em { color: var(--gold); }
.lead { font-size: 1.1rem; color: var(--muted); }
.sec--ink .lead { color: var(--on-ink-2); }

/* ---------- Domaines ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.area { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 42px 40px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.area::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold-d), var(--gold-2), var(--gold-d)); transform: scaleX(.18); transform-origin: var(--origin, left); transition: transform .5s var(--ease); }
[dir="rtl"] .area { --origin: right; }
.area:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(60, 45, 20, .35); }
.area:hover::before { transform: scaleX(1); }
.area__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.area__ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold); }
.area__ic svg { width: 30px; height: 30px; }
.area__n { font-family: "Cinzel", serif; font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: .7; }
.area h3 { font-size: 1.75rem; margin-bottom: 12px; }
.area > p { color: var(--muted); }
.area ul { margin: 26px 0 30px; display: grid; gap: 2px; }
.area li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.area li svg { color: var(--gold-d); margin-top: .25em; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-d); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link:hover { color: var(--text); }

/* ---------- Parcours ---------- */
.sec--ink::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 100% 0%, rgba(201, 167, 106, .08), transparent 70%); }
.path { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.path__head { position: sticky; top: 120px; }
.path__head .lead { margin-top: 22px; }
.path__quote { margin: 40px 0 0; display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line-d); border-radius: var(--radius); background: var(--ink-2); }
.path__quote svg { width: 56px; height: 56px; color: var(--gold); }
.path__quote p { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.55; color: var(--on-ink); }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; top: 30px; bottom: 30px; inset-inline-start: 31px; width: 1px; background: linear-gradient(var(--gold), var(--line-d)); }
.timeline li { position: relative; display: flex; gap: 26px; padding: 22px 0; }
.timeline__ic { position: relative; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); color: var(--gold); }
.timeline__ic svg { width: 26px; height: 26px; }
.timeline li:last-child .timeline__ic { background: var(--gold); color: var(--ink); }
.timeline h3 { font-size: 1.3rem; color: var(--white); margin: 6px 0 8px; }
.timeline p { color: var(--on-ink-2); }

/* ---------- Cabinet ---------- */
.pano { position: relative; margin: 0 0 60px; border-radius: var(--radius); overflow: hidden; }
.pano::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(228, 203, 152, .7); border-radius: 2px; pointer-events: none; }
.pano img { width: 100%; aspect-ratio: 1529 / 688; object-fit: cover; }
.office { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.steps li { display: flex; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps__n { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-d); font-family: "Cinzel", serif; font-weight: 600; }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Rendez-vous ---------- */
.bk { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.bk__head .lead { margin-top: 20px; }
.bk__info { margin-top: 36px; display: grid; gap: 14px; }
.bk__info li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-ink-2); }
.bk__info svg { color: var(--gold); margin-top: .3em; }
.bk__info a { color: var(--on-ink); }
.bk__form { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 38px; display: grid; gap: 26px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
html[lang^="ar"] legend { letter-spacing: 0; font-size: .95rem; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chips--2 { grid-template-columns: 1fr 1fr; }
.chip { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); text-align: start; font-size: .93rem; transition: border-color .2s, background .2s, color .2s; }
.chip svg { color: var(--gold); width: 22px; height: 22px; }
.chip b { margin-inline-start: auto; font-weight: 400; color: var(--on-ink-2); font-size: .85rem; }
.chip:hover { border-color: var(--gold-d); }
.chip.sel { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip.sel svg, .chip.sel b { color: var(--ink); }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.day { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); line-height: 1.3; transition: border-color .2s, background .2s; }
.day b { font-family: "Cinzel", serif; font-size: 1.3rem; color: var(--white); font-weight: 600; }
.day small { font-size: .72rem; color: var(--on-ink-2); }
.day:hover { border-color: var(--gold-d); }
.day.sel { background: var(--gold); border-color: var(--gold); }
.day.sel b, .day.sel small { color: var(--ink); }
.bk__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; color: var(--on-ink-2); }
.field input, .field textarea { width: 100%; padding: 13px 14px; background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); color: var(--on-ink); font: inherit; font-size: 1rem; resize: vertical; transition: border-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: #6f685b; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
[dir="rtl"] #b-phone { text-align: right; }
.bk__err { color: #e49a85; font-size: .92rem; min-height: 1em; margin: -10px 0 -10px; }
.bk__err:empty { display: none; }
.bk__note { font-size: .82rem; color: var(--on-ink-2); text-align: center; margin-top: -10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq__side { position: sticky; top: 120px; }
.urgent { margin-top: 36px; padding: 28px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius); }
.urgent strong { font-family: var(--f-display); font-size: 1.25rem; color: var(--gold-2); }
.urgent p { color: var(--on-ink-2); margin: 6px 0 18px; }
.urgent__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; color: var(--white); font-weight: 500; }
.urgent__tel svg { color: var(--gold); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: 1.15rem; font-family: var(--f-body); font-weight: 500; }
html[lang^="ar"] .qa h3 { font-family: var(--f-display); }
.qa__x { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; inset: 50% 8px auto; height: 1px; background: var(--gold-d); transition: transform .3s; }
.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: 640px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
address { font-style: normal; }
.cards { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cards li { display: flex; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.cards li:first-child, .cards__wide { grid-column: 1 / -1; }
.cards svg { color: var(--gold-d); width: 22px; height: 22px; margin-top: 3px; }
.cards div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cards small { color: var(--muted); font-size: .8rem; }
.cards span, .cards a { font-weight: 500; }
.cards a:hover { color: var(--gold-d); }
.cards .mail { overflow-wrap: anywhere; }
.cards__near { margin-top: 4px; font-style: italic; }
html[lang^="ar"] .cards__near { font-style: normal; }
.contact__map { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.12); }
.contact__dir { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--ink); color: var(--gold-2); border-radius: var(--radius); font-size: .9rem; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: var(--on-ink-2); padding: 90px 0 110px; }
.footer__top { display: flex; align-items: center; gap: 36px; padding-bottom: 56px; border-bottom: 1px solid var(--line-d); }
.footer__seal { width: 120px; height: 120px; color: var(--gold); }
.footer__word { flex: 1; font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--on-ink); line-height: 1.35; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer h3 { font-family: var(--f-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 500; }
html[lang^="ar"] .footer h3 { letter-spacing: 0; font-size: .95rem; }
.footer ul { display: grid; gap: 10px; font-size: .95rem; }
.footer a:hover { color: var(--gold-2); }
.footer .mail { overflow-wrap: anywhere; }
.footer__about { margin-top: 18px; font-size: .95rem; max-width: 320px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.hours li:first-child { color: var(--on-ink); }
.footer__disc { font-size: .82rem; padding: 22px 0; border-top: 1px solid var(--line-d); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Barre mobile + WhatsApp ---------- */
.mbar { display: none; }
.wa-float { position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: .35s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.past-hero .wa-float { opacity: 1; transform: none; pointer-events: auto; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .header__cta { display: none; }
  .hero__grid { gap: 40px; }
  .path, .bk, .faq, .office { gap: 50px; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px; padding: 90px 30px 40px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; margin: 0; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav > a { font-family: var(--f-display); font-size: 1.7rem; color: var(--on-ink); padding: 8px 0; }
  .nav__foot { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-d); color: var(--gold); }
  .header__end { margin-inline-start: auto; }
  .menu-open { overflow: hidden; }

  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; width: 100%; margin-inline: auto; }
  .frame { margin-inline: auto; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .facts li { padding: 22px 18px; border-bottom: 1px solid var(--line-d); }
  .facts li:nth-child(2n) { border-inline-end: 0; }
  .facts li:nth-child(odd) { padding-inline-start: 0; }

  .sec { padding: 90px 0; }
  .sec__head--split, .areas, .path, .office, .bk, .faq, .contact { grid-template-columns: 1fr; }
  .sec__head--split { gap: 18px; }
  .path__head, .faq__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  html[lang^="ar"] body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .brand__seal { width: 40px; height: 40px; }
  .brand__txt strong { font-size: .98rem; }
  .brand__txt small { font-size: .68rem; }
  .lang button { padding: 6px 8px; }

  .hero { padding: 108px 0 50px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__seal { width: 240px; height: 240px; inset-inline-end: -70px; top: -20px; }
  .hero__media { padding: 24px 0 70px; }
  .frame { max-width: 88%; }
  .hours-card { width: 230px; }
  .facts b { font-size: 1.1rem; }

  .sec { padding: 72px 0; }
  .sec__head { margin-bottom: 40px; }
  .area { padding: 32px 22px 28px; }
  .area__n { font-size: 2.8rem; }
  .area h3 { font-size: 1.5rem; }
  .pano { margin-bottom: 40px; }
  .pano::after { inset: 8px; }
  .pano img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
  .steps { grid-template-columns: 1fr; }
  .timeline li { gap: 18px; }
  .timeline__ic { width: 52px; height: 52px; }
  .timeline::before { inset-inline-start: 26px; }

  .bk__form { padding: 24px 18px; }
  .chips { grid-template-columns: 1fr; }
  .chips--2 { grid-template-columns: 1fr 1fr; }
  .chips--2 .chip { flex-direction: column; align-items: flex-start; gap: 2px; }
  .chips--2 .chip b { margin: 0; }
  .days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .bk__grid { grid-template-columns: 1fr; }

  .cards { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; }
  .footer { padding: 70px 0 120px; }
  .footer__top { flex-direction: column; text-align: center; gap: 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }

  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset: auto 0 0; z-index: 45; background: rgba(13, 12, 10, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-d); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; font-size: .76rem; color: var(--on-ink); border-radius: var(--radius); }
  .mbar svg { color: var(--gold); width: 22px; height: 22px; }
  .mbar__main { background: var(--gold); color: var(--ink) !important; }
  .mbar__main svg { color: var(--ink); }
}

/* =========================================================
   Thème clair : en-tête, accueil, parcours et rendez-vous en blanc.
   Le noir reste en accent (pied de page, pastilles, carte « urgent »).
   ========================================================= */
.header, .hero, .sec--ink, .mbar {
  --on-ink: var(--text);
  --on-ink-2: var(--muted);
  --ink-2: var(--ivory);
  --ink-3: var(--white);
  --line-d: rgba(149, 118, 65, .24);
}
.header.scrolled { background: rgba(255, 253, 248, .94); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(60, 45, 20, .25); }
.nav > a:hover, .nav > a.active { color: var(--gold-d); }
.lang button.on { color: var(--white); background: var(--gold-d); }
.brand__txt small, .kicker, .hero__pre, .eyebrow--light, .hours-card small, legend { color: var(--gold-d); }

.hero { background:
    radial-gradient(55% 65% at 85% 25%, rgba(201, 167, 106, .16), transparent 70%),
    linear-gradient(180deg, var(--white), var(--ivory)); }
[dir="rtl"] .hero { background:
    radial-gradient(55% 65% at 15% 25%, rgba(201, 167, 106, .16), transparent 70%),
    linear-gradient(180deg, var(--white), var(--ivory)); }
.hero__grain { opacity: .9; }
.hero__name { background: linear-gradient(180deg, var(--ink) 35%, #5a4724); -webkit-background-clip: text; background-clip: text; }
.hero__seal { opacity: .22; }
.frame img { box-shadow: 0 40px 70px -35px rgba(60, 45, 20, .45); }
.hours-card { background: rgba(255, 253, 248, .96); border-color: var(--line); box-shadow: 0 24px 50px -24px rgba(60, 45, 20, .35); }
.hours-card__row { border-top-color: var(--line); }
.btn--ghost { background: var(--white); border-color: var(--line); }
.btn--ghost:hover { color: var(--gold-d); }
.facts b { color: var(--gold-d); }

.sec--ink { background: var(--white); }
.sec--ink .h2 em { color: var(--gold-d); }
.path__quote { border-color: var(--line); }
.path__quote p { color: var(--text); }
.timeline__ic { background: var(--white); color: var(--gold-d); }
.timeline h3 { color: var(--text); }

.bk__form { border-color: var(--line); box-shadow: 0 30px 60px -40px rgba(60, 45, 20, .35); }
.chip, .day { border-color: var(--line); }
.chip svg { color: var(--gold-d); }
.day b { color: var(--text); }
.field input, .field textarea { border-color: var(--line); }
.field input::placeholder, .field textarea::placeholder { color: #a79e8c; }
.bk__err { color: #a4452f; }

@media (max-width: 920px) {
  .nav { background: var(--white); }
  .nav__foot { color: var(--gold-d); }
}
@media (max-width: 620px) {
  .mbar { background: rgba(255, 253, 248, .97); box-shadow: 0 -10px 30px -20px rgba(60, 45, 20, .3); }
  .mbar svg { color: var(--gold-d); }
}
