/* =========================================================
   Maître Moulay Fouad Bouzidi — Avocat à Tanger
   Style « Carte noire & argent » : graphite, argent brossé,
   bleu de l'Ordre des Avocats de Tanger, monogramme F·B.
   ========================================================= */
:root {
  --ink: #0f1114;
  --night: #15181c;
  --steel: #1e2227;
  --steel-2: #272c33;
  --line-d: rgba(255, 255, 255, .09);
  --line-d2: rgba(255, 255, 255, .16);
  --pearl: #f5f4f1;
  --paper: #ebe9e4;
  --white: #fff;
  --text: #1a1c20;
  --muted: #5c616a;
  --muted-d: #9aa0a9;
  --line: rgba(20, 22, 26, .12);
  --silver: #c8ccd2;
  --silver-hi: #f1f2f4;
  --silver-lo: #8a9099;
  --blue: #1f4f9a;
  --blue-hi: #3c72c8;
  --blue-soft: #e6edf8;
  --wa: #1fa855;
  --err: #c0392b;

  --silver-grad: linear-gradient(100deg, #8c929b 0%, #f4f5f7 28%, #aeb4bc 52%, #eceef1 74%, #959ba4 100%);
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.04) 1px 3px), linear-gradient(160deg, #e9ebee, #b9bec5 45%, #dfe2e6 70%, #a9afb7);

  --f-h: "Marcellus", "Times New Roman", serif;
  --f-b: "Manrope", system-ui, sans-serif;
  --f-sig: "Great Vibes", cursive;
  --r: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hh: 76px;
}
html[lang^="ar"] {
  --f-h: "El Messiri", "IBM Plex Sans Arabic", sans-serif;
  --f-b: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-b); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--pearl); overflow-x: hidden; }
html[lang^="ar"] body { font-size: 17px; line-height: 1.85; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-h); font-weight: 400; line-height: 1.2; }
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 { font-weight: 500; line-height: 1.45; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.mail { word-break: break-all; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; letter-spacing: .01em; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--silver { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 79, 154, .7); }
.btn--silver:hover { background: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--text); background: var(--white); }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: var(--ink); color: var(--silver-hi); }
.btn--dark:hover { background: var(--blue); }
.btn--line { border-color: var(--line); background: transparent; color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178d46; }
.arrow { transition: transform .25s var(--ease); }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow, html[dir="rtl"] .link:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); color: var(--text); transition: background .3s, box-shadow .3s, height .3s; }
.header.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 44px; height: 44px; color: var(--ink); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt strong { font-family: var(--f-h); font-size: 1.15rem; font-weight: 500; letter-spacing: .02em; }
.brand__txt small { font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav > a { font-size: .9rem; color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav > a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover, .nav > a.active { color: var(--text); }
.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: 999px; padding: 3px; }
.lang button { background: none; border: 0; min-width: 34px; height: 30px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.lang button[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: .9rem; }
.lang button.on { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(900px 600px at 85% 15%, rgba(31, 79, 154, .10), transparent 60%), linear-gradient(180deg, #fff 0%, var(--pearl) 100%); color: var(--text); padding: calc(var(--hh) + 64px) 0 56px; overflow: hidden; }
html[dir="rtl"] .hero { background: radial-gradient(900px 600px at 15% 15%, rgba(31, 79, 154, .10), transparent 60%), linear-gradient(180deg, #fff 0%, var(--pearl) 100%); }
.hero__grain { position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: radial-gradient(rgba(20,22,26,.05) 1px, transparent 1px); background-size: 3px 3px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; margin-bottom: 28px; }
html[lang^="ar"] .kicker { letter-spacing: 0; font-size: .9rem; }
.kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 0 4px rgba(60, 114, 200, .25); }
.hero__title { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.hero__pre { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--muted); font-family: var(--f-h); }
.hero__name { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.05; background: linear-gradient(100deg, #0f1114 0%, #3b4250 45%, #1f4f9a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
html[lang^="ar"] .hero__name { line-height: 1.3; }
.hero__role { font-size: 1.05rem; color: var(--text); margin-bottom: 22px; padding-inline-start: 14px; border-inline-start: 2px solid var(--blue-hi); }
.hero__areas { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__areas li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; color: var(--text); box-shadow: 0 6px 16px -12px rgba(15,17,20,.4); }
.hero__areas svg { width: 18px; height: 18px; color: var(--blue); }
.hero__text { max-width: 560px; color: var(--muted); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Carte NFC */
.hero__media { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nfc { width: min(460px, 100%); aspect-ratio: 85.6 / 54; perspective: 1400px; cursor: pointer; }
.nfc__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(8deg) rotateZ(-2deg); transition: transform .9s var(--ease); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
@media (hover: hover) { .nfc:hover .nfc__inner { transform: rotateY(180deg); } }
.nfc.flip .nfc__inner { transform: rotateY(180deg); }
.nfc__face { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 40px 70px -30px rgba(15,17,20,.55), 0 0 0 1px rgba(255,255,255,.08) inset; direction: ltr; }
.nfc__front { padding: 4% 6% 0; background: radial-gradient(120% 90% at 20% 0%, #3a3f46 0%, #24282d 40%, #15181b 100%); color: var(--silver-hi); }
.nfc__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 45%, transparent 60%); background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.nfc__wave { position: absolute; top: 18px; right: 22px; width: 26px; height: 26px; color: var(--silver); opacity: .85; }
.nfc__logo { width: 24%; height: auto; aspect-ratio: 1; color: var(--silver-hi); filter: drop-shadow(0 1px 0 rgba(255,255,255,.3)); margin-bottom: 4%; }
.nfc__en { font-family: "Manrope", sans-serif; font-weight: 700; font-size: clamp(.9rem, 2.4vw, 1.25rem); letter-spacing: .06em; background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nfc__ar { font-family: "El Messiri", sans-serif; font-size: clamp(1rem, 2.6vw, 1.4rem); color: var(--silver-hi); direction: rtl; line-height: 1.5; }
.nfc__ar--sm { font-size: clamp(.95rem, 2.3vw, 1.2rem); color: var(--text); }
.nfc__role { font-family: "Manrope", sans-serif; font-size: clamp(.55rem, 1.4vw, .7rem); font-weight: 700; letter-spacing: .18em; color: var(--silver); margin-top: 2%; }
.nfc__sig { align-self: flex-end; margin-top: 3%; font-family: var(--f-sig); font-size: clamp(.95rem, 2.6vw, 1.4rem); line-height: 1.2; color: var(--silver); opacity: .85; transform: rotate(-5deg); }
.nfc__back { transform: rotateY(180deg); background: linear-gradient(180deg, #fbfbfa, #e9eaec); color: var(--text); justify-content: flex-start; padding-top: 12%; }
.nfc__back .nfc__wave { color: var(--blue); }
.nfc__line { width: 40%; height: 1px; background: var(--line); margin: 4% 0; }
.nfc__row { font-family: "Manrope", sans-serif; font-weight: 700; font-size: clamp(.9rem, 2.4vw, 1.2rem); letter-spacing: .04em; color: var(--blue); }
.nfc__row--sm { font-size: clamp(.62rem, 1.6vw, .8rem); color: var(--muted); font-weight: 500; margin-top: 2%; }
.nfc__by { position: absolute; inset: auto 0 0; padding: 3.5% 0; background: var(--blue); color: #fff; font-family: "Manrope", sans-serif; font-weight: 700; font-size: clamp(.55rem, 1.4vw, .72rem); letter-spacing: .3em; }
.nfc__hint { font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin: 0; }
@media (hover: none) { .nfc__hint { visibility: hidden; } }

.facts { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 24px 22px 0 0; display: flex; flex-direction: column; gap: 4px; }
html[dir="rtl"] .facts li { padding: 24px 0 0 22px; }
.facts li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 22px; }
.facts b { font-family: var(--f-h); font-weight: 400; font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.facts span { font-size: .86rem; color: var(--muted); }

/* ---------- Bandeau ---------- */
.ticker { background: var(--blue); color: #fff; overflow: hidden; padding: 16px 0; direction: ltr; }
.ticker__track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker__track > div { display: flex; align-items: center; }
.ticker span { font-family: var(--f-h); font-size: 1.15rem; padding: 0 22px; white-space: nowrap; }
.ticker i { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid rgba(255,255,255,.7); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: 110px 0; position: relative; }
.sec--paper { background: var(--paper); }
.sec--night { background: var(--white); color: var(--text); }
.sec__head { max-width: 720px; margin-bottom: 56px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.sec__head--split .lead { margin: 0; }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
html[lang^="ar"] .label { letter-spacing: 0; font-size: .95rem; }
.label__n { font-family: "Marcellus", serif; font-size: .9rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; letter-spacing: .05em; }
.label--light { color: var(--blue); }

.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 22px; }
.h2 em { font-style: normal; color: var(--blue); }

.lead { font-size: 1.12rem; color: var(--muted); }


/* ---------- Profil ---------- */
.profile { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.profile__media { display: flex; flex-direction: column; gap: 18px; }
.plate { position: relative; aspect-ratio: 4 / 3.2; border-radius: 10px; background: var(--brushed); box-shadow: 0 50px 80px -40px rgba(15, 17, 20, .55), 0 2px 0 rgba(255,255,255,.8) inset, 0 -2px 0 rgba(0,0,0,.15) inset; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8%; color: #2b2f35; transform: rotate(-1.5deg); }
.plate::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(0,0,0,.18); border-radius: 6px; box-shadow: 0 1px 0 rgba(255,255,255,.6); }
.plate__screw { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9097a0 70%); box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.plate__screw::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 1.5px; background: rgba(0,0,0,.4); transform: rotate(35deg); }
.plate__screw:nth-child(1) { top: 26px; left: 26px; } .plate__screw:nth-child(2) { top: 26px; right: 26px; }
.plate__screw:nth-child(3) { bottom: 26px; left: 26px; } .plate__screw:nth-child(4) { bottom: 26px; right: 26px; }
.plate > :not(.plate__screw) { text-shadow: 0 1px 0 rgba(255,255,255,.7); }
.plate__logo { width: 64px; height: 64px; color: #3a3f46; margin-bottom: 10px; }
.plate__ar { font-family: "El Messiri", sans-serif; font-weight: 600; font-size: clamp(1.2rem, 2.3vw, 1.6rem); line-height: 1.4; }
.plate__ar2 { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: .95rem; }
.plate__rule { width: 50%; height: 1px; background: rgba(0,0,0,.25); box-shadow: 0 1px 0 rgba(255,255,255,.6); margin: 12px 0; }
.plate__fr { font-family: "Marcellus", serif; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: .03em; }
.plate__fr2 { font-family: "Manrope", sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.plate__floor { position: absolute; bottom: 30px; display: flex; gap: 14px; font-size: .78rem; color: #4a5058; }
.plate__floor b { font-weight: 600; }
.profile__cap { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin: 0; }
.profile__cap svg { color: var(--blue); width: 18px; height: 18px; }
.ledger { margin: 30px 0 34px; border-top: 1px solid var(--line); }
.ledger > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
html[lang^="ar"] .ledger dt { letter-spacing: 0; font-size: .95rem; }
.ledger dd { margin: 0; }

/* ---------- Domaines ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r); background: var(--pearl); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; overflow: hidden; }
.area::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--blue); opacity: 0; transition: opacity .35s; }
.area:hover { transform: translateY(-6px); border-color: rgba(31, 79, 154, .35); box-shadow: 0 30px 50px -30px rgba(15, 17, 20, .35); background: var(--white); }
.area:hover::before { opacity: 1; }
.area__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.area__ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(31, 79, 154, .2); }
.area__ic svg { width: 26px; height: 26px; }
.area__n { font-family: "Marcellus", serif; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1px var(--blue); opacity: .5; line-height: 1; }
.area h3 { font-size: 1.6rem; margin-bottom: 12px; color: var(--text); }
.area > p { color: var(--muted); font-size: .96rem; }
.area ul { list-style: none; margin: 6px 0 26px; padding: 0; flex: 1; }
.area li { position: relative; padding: 9px 0; padding-inline-start: 22px; border-top: 1px solid var(--line); font-size: .94rem; color: var(--text); }
.area li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 1.15em; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--blue); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--blue); }
.link svg { width: 18px; height: 18px; }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 26px 0 0; }
html[dir="rtl"] .steps li { padding: 0 0 0 26px; }
.steps li + li { padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
.steps__n { display: block; font-family: "Marcellus", serif; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--blue); margin-bottom: 18px; }
.steps h3 { font-size: 1.4rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .96rem; }
.pledge { margin-top: 64px; display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-radius: var(--r); background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(31, 79, 154, .15); }
.pledge svg { width: 34px; height: 34px; color: var(--blue); }
.pledge p { margin: 0; font-family: var(--f-h); font-size: 1.2rem; }

/* ---------- Réservation ---------- */
.sec--booking { background: radial-gradient(800px 400px at 50% 0%, rgba(31, 79, 154, .10), transparent 70%), var(--paper); }
.bk { max-width: 980px; margin-inline: auto; background: var(--white); color: var(--text); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(15, 17, 20, .35); border: 1px solid var(--line); }
.bk__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--pearl); border-bottom: 1px solid var(--line); }
.bk__steps li { display: flex; align-items: center; gap: 10px; padding: 18px 24px; color: var(--muted); font-size: .92rem; position: relative; }
.bk__steps li::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .4s var(--ease); }
.bk__steps li.active::after, .bk__steps li.done::after { transform: scaleX(1); }
.bk__steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; font-size: .82rem; }
.bk__steps li.active { color: var(--text); }
.bk__steps li.active span, .bk__steps li.done span { background: var(--blue); border-color: var(--blue); color: #fff; }
.bk__body { padding: 34px 36px 10px; min-height: 360px; }
.bk__step { display: none; animation: fade .4s var(--ease); }
.bk__step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.bk__q { font-family: var(--f-b); font-size: 1rem; font-weight: 700; margin: 0 0 14px; }
.bk__areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 30px; }
.chip, .mode { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); text-align: start; transition: border-color .2s, box-shadow .2s, background .2s; }
.chip svg, .mode svg { width: 22px; height: 22px; color: var(--blue); }
.chip span { font-size: .92rem; font-weight: 600; }
.chip:hover, .mode:hover { border-color: var(--blue-hi); }
.chip.sel, .mode.sel { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 1px var(--blue) inset; }
.bk__modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.mode span { display: flex; flex-direction: column; line-height: 1.35; }
.mode b { font-size: .95rem; } .mode small { color: var(--muted); font-size: .8rem; }
.bk__date { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__head strong { font-family: var(--f-h); font-weight: 400; font-size: 1.2rem; text-transform: capitalize; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; }
.cal__nav svg { width: 18px; height: 18px; }
html[dir="rtl"] .cal__nav svg { transform: scaleX(-1); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__wd, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd span { font-size: .74rem; color: var(--muted); font-weight: 700; padding: 6px 0; }
.day { aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--white); font-size: .9rem; font-weight: 600; transition: background .2s, color .2s; }
.day:hover:not(.off) { background: var(--blue-soft); }
.day.off { background: transparent; color: #b5b9bf; cursor: default; font-weight: 400; }
.day.sel { background: var(--blue); color: #fff; }
.slots__empty { color: var(--muted); padding: 24px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
.slots__date { font-weight: 700; margin-bottom: 10px; text-transform: capitalize; }
.slots__g { margin-bottom: 14px; }
.slots__g small { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.slots__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { padding: 9px 0; border-radius: 9px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; font-weight: 600; direction: ltr; }
.slot:hover:not(.taken) { border-color: var(--blue); }
.slot.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.slot.taken { opacity: .35; text-decoration: line-through; cursor: default; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field__l { font-size: .86rem; font-weight: 600; }
.field input, .field textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
html[dir="rtl"] #b-phone { text-align: right; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 79, 154, .15); }
.field input.invalid { border-color: var(--err); }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-weight: 600; cursor: pointer; }
.seg input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { margin-top: 5px; accent-color: var(--blue); width: 17px; height: 17px; }
.bk__bar { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: center; padding: 18px 36px 24px; border-top: 1px solid var(--line); }
.bk__sum { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bk__sum span { display: flex; flex-direction: column; line-height: 1.3; opacity: .45; }
.bk__sum span.on { opacity: 1; }
.bk__sum small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.bk__sum b { font-size: .9rem; }
.bk__err { grid-column: 1 / -1; grid-row: 2; margin: 0; color: var(--err); font-size: .88rem; min-height: 0; }
.bk__err:empty { display: none; }
.bk__err.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.bk__nav { display: flex; gap: 10px; }
.bk__done { text-align: center; padding: 20px 0 30px; }
.bk__doneIc { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; }
.bk__doneIc svg { width: 36px; height: 36px; }
.bk__done h3 { font-size: 1.8rem; margin-bottom: 10px; }
.bk__done p { max-width: 520px; margin: 0 auto 18px; color: var(--muted); }
.bk__recap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.bk__recap span { padding: 6px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 600; font-size: .88rem; text-transform: capitalize; }
.bk__doneBtns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__side { position: sticky; top: calc(var(--hh) + 30px); }
.urgent { margin-top: 18px; padding: 28px; border-radius: var(--r); background: var(--ink); color: var(--silver-hi); }
.urgent strong { font-family: var(--f-h); font-weight: 400; font-size: 1.4rem; display: block; margin-bottom: 6px; }
.urgent p { color: var(--muted-d); font-size: .94rem; }
.urgent__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 700; color: var(--silver-hi); }
.urgent__tel svg { width: 22px; height: 22px; color: var(--blue-hi); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-family: var(--f-b); font-weight: 600; font-size: 1.08rem; line-height: 1.5; }
.qa__x { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: background .25s, transform .3s; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.qa__x::after { rotate: 90deg; transition: rotate .3s; }
.qa[open] .qa__x { background: var(--blue); color: #fff; border-color: var(--blue); }
.qa[open] .qa__x::after { rotate: 0deg; }
.qa p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 640px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-style: normal; }
.cards li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.cards__wide { grid-column: 1 / -1; }
.cards svg { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.cards div { display: flex; flex-direction: column; min-width: 0; }
.cards small { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
html[lang^="ar"] .cards small { letter-spacing: 0; font-size: .85rem; }
.cards a, .cards span { font-weight: 600; }
.cards a:hover { color: var(--blue); }
address { font-style: normal; }
.contact__map { position: relative; border-radius: var(--r); overflow: hidden; min-height: 440px; background: var(--white); border: 1px solid var(--line); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.contact__dir { position: absolute; inset-inline-start: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--silver-hi); font-weight: 600; font-size: .9rem; }
.contact__dir:hover { background: var(--blue); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-d); padding: 80px 0 110px; }
.footer__top { display: flex; align-items: center; gap: 24px; padding-bottom: 50px; border-bottom: 1px solid var(--line-d); }
.footer__logo { width: 64px; height: 64px; color: var(--silver); }
.footer__word { flex: 1; margin: 0; font-family: var(--f-h); font-size: clamp(1.6rem, 3.4vw, 2.6rem); background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.3; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 50px 0; }
.brand--light { color: var(--silver-hi); margin-bottom: 16px; }
.footer__about { font-size: .92rem; }
.footer h3 { font-family: var(--f-b); font-size: .8rem; font-weight: 700; color: var(--silver-hi); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
html[lang^="ar"] .footer h3 { letter-spacing: 0; font-size: .95rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer a:hover { color: var(--silver-hi); }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer__disc { font-size: .8rem; opacity: .75; border-top: 1px solid var(--line-d); padding-top: 24px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }

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

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); 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; }


/* ---------- Fonds animés ---------- */
.hero { padding-bottom: 250px; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 2; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob--1 { width: 520px; height: 520px; background: #c9d8f2; top: -140px; inset-inline-end: -80px; animation: drift1 22s ease-in-out infinite; }
.blob--2 { width: 420px; height: 420px; background: #e4e7ec; bottom: 40px; inset-inline-start: -120px; animation: drift2 26s ease-in-out infinite; }
.blob--3 { width: 300px; height: 300px; background: #dbe6f7; top: 40%; left: 45%; animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(140px, -70px) scale(.9); } }
@keyframes drift3 { 33% { transform: translate(-90px, -60px); } 66% { transform: translate(80px, 40px) scale(1.2); } }
.hero__pattern { position: absolute; inset: -96px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%231f4f9a' stroke-width='1'%3E%3Cpath d='M48 22 55 41 74 48 55 55 48 74 41 55 22 48 41 41z'/%3E%3Crect x='31' y='31' width='34' height='34'/%3E%3Crect x='31' y='31' width='34' height='34' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 0 31 31M96 0 65 31M0 96 31 65M96 96 65 65'/%3E%3C/g%3E%3C/svg%3E"); background-size: 96px 96px; opacity: .07; animation: pan 60s linear infinite; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); }
@keyframes pan { to { transform: translate(96px, 96px); } }
.hero__city { position: absolute; inset: auto 0 0; width: 100%; height: 240px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.city__line { opacity: .28; stroke-dasharray: 9000; stroke-dashoffset: 9000; animation: draw 6s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.city__sea { opacity: .35; }
.city__sea path { animation: wave 14s linear infinite; }
.city__sea path:nth-child(2) { animation-duration: 10s; animation-direction: reverse; }
.city__sea path:nth-child(3) { animation-duration: 18s; }
@keyframes wave { to { transform: translateX(-720px); } }
.city__birds { opacity: .4; stroke-width: 1.2; animation: fly 38s linear infinite; }
@keyframes fly { from { transform: translate(-120px, 70px); } to { transform: translate(1560px, 20px); } }
.hero__grain { z-index: 1; }

.sec--art { overflow: hidden; isolation: isolate; }
.sec--art > .wrap { position: relative; z-index: 1; }
.sec__art { position: absolute; z-index: 0; color: var(--blue); opacity: .07; pointer-events: none; }
.sec__art--columns { width: 560px; height: auto; top: 50%; inset-inline-start: -60px; transform: translateY(-50%); opacity: .06; animation: rise 12s ease-in-out infinite; }
.sec__art--scales { width: 520px; height: auto; top: -40px; inset-inline-end: -80px; opacity: .08; }
.sec__art--scales .sway { transform-origin: 100px 52px; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes rise { 50% { transform: translateY(calc(-50% - 16px)); } }
.sec--booking { isolation: isolate; overflow: hidden; }
.sec--booking::before { content: ""; position: absolute; inset: -96px; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%231f4f9a' stroke-width='1'%3E%3Cpath d='M48 22 55 41 74 48 55 55 48 74 41 55 22 48 41 41z'/%3E%3Crect x='31' y='31' width='34' height='34'/%3E%3Crect x='31' y='31' width='34' height='34' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 0 31 31M96 0 65 31M0 96 31 65M96 96 65 65'/%3E%3C/g%3E%3C/svg%3E"); background-size: 96px 96px; opacity: .06; animation: pan 80s linear infinite reverse; }
.sec--booking > .wrap { position: relative; }
.ticker { position: relative; z-index: 3; }
@media (max-width: 720px) {
  .hero { padding-bottom: 180px; }
  .hero__city { height: 170px; }
  .blob { filter: blur(50px); }
  .blob--1 { width: 320px; height: 320px; }
  .blob--2 { width: 260px; height: 260px; }
  .sec__art--columns, .sec__art--scales { width: 340px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: var(--hh) 0 0; flex-direction: column; gap: 0; padding: 20px 24px 40px; background: var(--white); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; overflow-y: auto; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { font-family: var(--f-h); font-size: 1.6rem; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav__foot { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; color: var(--muted); }
  .burger { display: block; }
  .menu-open { overflow: hidden; }
  .menu-open .header { background: var(--white); }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { order: -1; }
  .nfc { width: min(400px, 92%); }
  .profile, .faq, .contact { grid-template-columns: 1fr; gap: 48px; }
  .faq__side { position: static; }
  .areas { grid-template-columns: 1fr; }
  .area ul { flex: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .sec__head--split { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bk__areas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --hh: 66px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .header__cta { display: none; }
  .brand__logo { width: 38px; height: 38px; }
  .brand__txt small { display: none; }
  .lang button { min-width: 30px; }
  .header__in { gap: 10px; }
  .header__end { gap: 8px; }
  .hero { padding: calc(var(--hh) + 36px) 0 180px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts b { font-size: 1.3rem; }
  .sec { padding: 76px 0; }
  .ledger > div { grid-template-columns: 1fr; gap: 2px; }
  .plate { transform: none; aspect-ratio: auto; padding: 56px 24px; }
  .plate__floor { position: static; margin-top: 12px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, html[dir="rtl"] .steps li { padding: 0; border: 0 !important; }
  .pledge { flex-direction: column; text-align: center; }
  .bk__steps li { padding: 14px 10px; justify-content: center; }
  .bk__steps b { display: none; }
  .bk__body { padding: 24px 18px 6px; }
  .bk__modes, .bk__date, .form { grid-template-columns: 1fr; }
  .bk__bar { grid-template-columns: 1fr; padding: 16px 18px 20px; }
  .bk__nav { justify-content: space-between; }
  .bk__nav .btn { flex: 1; padding: 0 14px; }
  .cards { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; }
  .footer { padding-bottom: 120px; }
  .footer__top { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; inset: auto 10px 10px; z-index: 45; padding: 8px; border-radius: 18px; background: rgba(15, 17, 20, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transform: translateY(140%); transition: transform .4s var(--ease); padding-bottom: calc(8px + env(safe-area-inset-bottom) / 2); }
  .past-hero .mbar { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; color: var(--silver-hi); font-size: .85rem; font-weight: 600; background: rgba(255,255,255,.06); }
  .mbar a:nth-child(2) svg { color: var(--wa); }
  .mbar svg { width: 18px; height: 18px; }
  .mbar__main { background: var(--blue) !important; color: #fff !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
