/* =========================================================
   Cabinet Maître El Hassan Alaoui — Avocat à Meknès (AR · FR)
   Palette « Vert sombre & Cuivre sur crème » : reprise de la carte de visite
   (vert ardoise profond, cuivre du logo à la balance, fond crème).
   ========================================================= */
:root {
  --ink: #16231e;
  --navy: #23362f;          /* vert sombre de la carte */
  --navy-2: #2c4a40;
  --navy-3: #4f6b60;
  --gold: #8a5739;          /* cuivre assombri pour le texte sur fond clair */
  --gold-2: #b07a56;        /* cuivre du logo */
  --gold-3: #e2c3a8;
  --gold-soft: #f4e8dd;
  --paper: #fbf7f1;
  --ivory: #f5eee4;
  --sand: #ebe0d1;
  --white: #fff;
  --text: #22302b;
  --muted: #5e6862;
  --line: rgba(35, 54, 47, .14);
  --line-l: rgba(255, 255, 255, .14);
  --wa: #1fa855;

  --f-display: "Playfair Display", "Amiri", Georgia, serif;
  --f-name: "Playfair Display", Georgia, serif;
  --f-body: "DM Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 80px;
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -40px rgba(16, 28, 24, .45);
}
html[lang^="ar"] { --f-display: "Amiri", "IBM Plex Sans Arabic", serif; --f-name: "Aref Ruqaa", "Amiri", serif; --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 10px); }
body { font-variant-numeric: lining-nums; font-family: var(--f-body); color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang^="ar"] body { font-size: 17px; line-height: 1.9; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg:not([viewBox]) { width: 20px; height: 20px; }
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; color: var(--gold); }
html[lang^="ar"] em { font-style: normal; }
.sec--dark em, .footer em { color: var(--gold-2); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.nowrap { white-space: nowrap; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .progress { transform-origin: right; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn--primary { background: var(--navy-2); color: var(--white); }
.btn--primary:hover { background: var(--navy); box-shadow: 0 12px 26px -12px rgba(35, 54, 47, .8); transform: translateY(-1px); }
.btn--line { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--line:hover { border-color: var(--gold-2); color: var(--gold); }
.btn--line .wa-ic { color: var(--wa); }
.btn--gold { background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); color: var(--ink); }
.btn--gold:hover { box-shadow: 0 12px 26px -12px rgba(176, 122, 86, .9); transform: translateY(-1px); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: #178a45; }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 14px; }
.btn[hidden] { display: none; }

/* ---------- Bandeau ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 13px; }
.topbar__in { display: flex; align-items: center; gap: 26px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item b { color: var(--gold-3); font-weight: 600; letter-spacing: .03em; }
.topbar__item svg { width: 15px; height: 15px; color: var(--gold-2); }
.topbar__end { display: flex; gap: 22px; margin-inline-start: auto; }
.topbar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(16, 28, 24, .5); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { width: 46px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand__txt strong { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--ink); }
html[lang^="ar"] .brand__txt strong { font-family: var(--f-name); font-size: 21px; font-weight: 700; }
.brand__txt small { font-size: 12.5px; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav > a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--text); border-radius: 999px; transition: color .2s, background .2s; }
.nav > a:hover { color: var(--navy-2); background: rgba(44, 74, 64, .06); }
.nav > a.active { color: var(--navy-2); }
.nav > a.active::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold-2); }
.nav__foot { display: none; }
.header__end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button { min-width: 36px; height: 32px; padding: 0 8px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); transition: all .2s; }
.lang button[lang="ar"] { font-size: 16px; }
.lang button.on { background: var(--navy-2); color: var(--white); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { bottom: 17px; }
.burger.open span:first-child { transform: translateY(4.2px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-4.2px) rotate(-45deg); }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 85% 30%, rgba(176, 122, 86, .16), transparent 60%),
  radial-gradient(50% 60% at 10% 90%, rgba(44, 74, 64, .08), transparent 60%),
  linear-gradient(180deg, var(--paper), var(--ivory)); }
html[dir="rtl"] .hero { background:
  radial-gradient(60% 70% at 15% 30%, rgba(176, 122, 86, .16), transparent 60%),
  radial-gradient(50% 60% at 90% 90%, rgba(44, 74, 64, .08), transparent 60%),
  linear-gradient(180deg, var(--paper), var(--ivory)); }
/* veines de marbre discrètes */
.hero__veins { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700' viewBox='0 0 900 700'%3E%3Cg fill='none' stroke='%23b9ad97' stroke-width='.8' opacity='.55'%3E%3Cpath d='M-20 120c120 40 160 10 260 70s150 160 260 170 220-60 420-20'/%3E%3Cpath d='M-20 480c90-30 170 20 250-10s120-110 220-120 140 60 230 50 140-70 240-90'/%3E%3Cpath d='M300-10c20 90-30 140 10 220s120 90 110 190-80 140-60 310' stroke-width='.5'/%3E%3Cpath d='M640 700c-30-80 20-130-10-200s-110-70-100-160 90-130 70-350' stroke-width='.5'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 90px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 100px); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
html[lang^="ar"] .kicker { letter-spacing: 0; font-size: 15px; }
.kicker__line { width: 36px; height: 1px; background: var(--gold-2); }
.hero__title { margin: 18px 0 14px; color: var(--ink); line-height: 1.04; }
.hero__pre { display: block; font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; color: var(--navy-3); }
.hero__name { display: block; font-family: var(--f-name); font-size: clamp(46px, 6.8vw, 88px); font-weight: 700; letter-spacing: -.01em; color: var(--navy-2); }
html[lang^="ar"] .hero__name { line-height: 1.35; margin-top: 4px; }
.hero__role { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; color: var(--navy-2); }
.hero__text { margin-top: 22px; max-width: 54ch; font-size: 17.5px; color: var(--muted); }
html[lang^="ar"] .hero__text { font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__motto { display: flex; align-items: center; gap: 14px; margin-top: 38px; font-family: "Amiri", serif; font-size: 19px; color: var(--gold); }
.hero__mottoLine { flex: 0 1 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }

/* Portrait dans une arche + badge du numéro national + sceau tournant */
.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.frame { position: relative; padding: 14px; }
.frame__ring { position: absolute; inset: 0; border: 1px solid var(--gold-2); border-radius: 999px 999px 26px 26px; }
.frame__ring::after { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(44, 74, 64, .18); border-radius: inherit; }
.frame__img { display: block; overflow: hidden; border-radius: 999px 999px 18px 18px; aspect-ratio: 720 / 860; background: var(--sand); box-shadow: 0 50px 80px -50px rgba(16, 28, 24, .6); will-change: transform; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.badge { position: absolute; bottom: 34px; inset-inline-start: -38px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 24px 50px -24px rgba(16, 28, 24, .5), 0 0 0 1px var(--line); }
html[dir="rtl"] .badge { padding: 14px 14px 14px 18px; }
.badge img { width: 40px; height: auto; }
.badge div { display: flex; flex-direction: column; line-height: 1.3; }
.badge small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang^="ar"] .badge small { letter-spacing: 0; font-size: 12.5px; }
.badge b { font-family: var(--f-display); font-size: 24px; color: var(--navy-2); letter-spacing: .02em; }
.badge span { font-size: 12.5px; color: var(--gold); font-weight: 600; }
.seal { position: absolute; top: 26px; inset-inline-end: -30px; width: 128px; height: 128px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; box-shadow: 0 20px 40px -20px rgba(16, 28, 24, .7); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal text { font: 600 11.5px "DM Sans", sans-serif; letter-spacing: .1em; fill: var(--gold-3); }
.seal img { width: 52px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Repères */
.facts { position: relative; background: var(--navy); color: var(--white); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { display: flex; align-items: baseline; gap: 12px; padding: 26px 0 26px 24px; border-inline-start: 1px solid var(--line-l); }
html[dir="rtl"] .facts li { padding: 26px 24px 26px 0; }
.facts li:first-child { border: 0; padding-inline-start: 0; }
.facts b { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1; color: var(--gold-2); font-family: "Playfair Display", serif; }
.facts span { font-size: 14px; color: rgba(255, 255, 255, .75); line-height: 1.4; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.sec--tight { padding-block: clamp(64px, 8vw, 104px); }
.sec--sand { background: var(--ivory); }
.sec--dark { background: radial-gradient(70% 60% at 100% 0%, rgba(79, 107, 96, .55), transparent 60%), var(--navy); color: rgba(255, 255, 255, .78); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head--center .lead { max-width: 58ch; }
.label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
html[lang^="ar"] .label { letter-spacing: 0; font-size: 15px; }
.label__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold-3); font-size: 12px; font-family: "DM Sans", sans-serif; letter-spacing: 0; }
.label--light { color: var(--gold-2); }
.label--light .label__n { border-color: rgba(176, 122, 86, .4); }
.h2 { font-family: var(--f-display); font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
html[lang^="ar"] .h2 { font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.sec--dark .h2 { color: var(--white); }
.lead { font-size: 18px; color: var(--muted); }
.sec--dark .lead { color: rgba(255, 255, 255, .72); }
.minor { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }

/* ---------- Domaines : onglets ---------- */
.practice { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.practice__tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 24px); }
.ptab { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; text-align: start; border: 1px solid transparent; transition: background .25s, border-color .25s, color .25s; }
.ptab__n { font: 600 12px "DM Sans", sans-serif; color: var(--gold); opacity: .8; }
.ptab__ic svg { width: 22px; height: 22px; color: var(--navy-3); }
.ptab b { font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.ptab small { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--ivory); font: 600 12px "DM Sans", sans-serif; color: var(--muted); text-align: center; }
.ptab:hover { background: var(--ivory); }
.ptab.on { background: var(--navy-2); border-color: var(--navy-2); box-shadow: 0 18px 30px -22px rgba(35, 54, 47, .9); }
.ptab.on b { color: var(--white); }
.ptab.on .ptab__n, .ptab.on .ptab__ic svg { color: var(--gold-3); }
.ptab.on small { background: rgba(255, 255, 255, .14); color: var(--white); }
.practice__panel { position: relative; min-height: 100%; padding: clamp(26px, 4vw, 48px); border-radius: 22px; background: var(--white); box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.practice__panel::before { content: ""; position: absolute; top: -120px; inset-inline-end: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid var(--gold-3); box-shadow: 0 0 0 40px rgba(176, 122, 86, .05), 0 0 0 80px rgba(176, 122, 86, .03); }
.pp { position: relative; animation: fade .45s var(--ease); }
.pp__head { display: flex; justify-content: space-between; align-items: flex-start; }
.pp__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--gold-soft); color: var(--gold); }
.pp__ic svg { width: 32px; height: 32px; }
.pp__n { font: 600 72px/1 "Playfair Display", serif; color: transparent; -webkit-text-stroke: 1px var(--gold-3); }
.pp h3 { margin-top: 22px; font-family: var(--f-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--ink); line-height: 1.25; }
.pp__d { margin-top: 10px; max-width: 60ch; color: var(--muted); font-size: 17px; }
.pp__count { margin: 24px 0 14px; font-size: 13px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }
html[lang^="ar"] .pp__count { letter-spacing: 0; font-size: 14.5px; }
.pp__count b { font-size: 16px; }
.pp__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 28px; margin-bottom: 30px; }
.pp__list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; line-height: 1.5; }
.pp__list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-2); }
html[lang^="ar"] .pp__list svg { margin-top: 5px; }

/* ---------- L'avocate ---------- */
.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.about__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border-radius: 22px; box-shadow: var(--shadow); }
.about__quote { position: relative; margin: -60px 22px 0; padding: 22px 24px; border-radius: 16px; background: var(--navy); color: var(--white); font-family: var(--f-display); font-size: 19px; line-height: 1.5; box-shadow: 0 24px 40px -24px rgba(16, 28, 24, .8); }
.about__quote::before { content: "”"; position: absolute; top: -26px; inset-inline-start: 18px; font: 700 70px/1 "Playfair Display", serif; color: var(--gold-2); }
html[dir="rtl"] .about__quote::before { content: "“"; }
.about__main > p:not(.label) { margin-top: 16px; }
.about__main .lead { color: var(--text); }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 36px 0; }
.path { position: relative; padding-inline-start: 22px; }
.path::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 4px; width: 1px; background: linear-gradient(var(--gold-2), var(--gold-3)); }
.path li { position: relative; padding-bottom: 14px; display: flex; flex-direction: column; line-height: 1.45; }
.path li::before { content: ""; position: absolute; top: 7px; inset-inline-start: -22px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold-2); }
.path li:last-child::before { background: var(--gold-2); }
.path b { font-size: 14.5px; color: var(--navy-2); }
.path span { font-size: 14.5px; color: var(--muted); }
.card { align-self: start; padding: 22px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.card__head img { width: 44px; height: auto; }
.card__head div { display: flex; flex-direction: column; line-height: 1.35; }
.card__head small { font-size: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
html[lang^="ar"] .card__head small { letter-spacing: 0; font-size: 13px; }
.card__head strong { font-family: var(--f-display); font-size: 17px; color: var(--ink); }
.card__list > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; line-height: 1.45; }
.card__list > div:last-child { border: 0; }
.card__list dt { color: var(--muted); }
.card__list dd { font-weight: 600; color: var(--ink); }

/* ---------- Méthode ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__line { position: absolute; top: 27px; left: 12%; right: 12%; height: 1px; background: var(--line); }
.steps__line i { display: block; height: 100%; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .steps__line i { transform-origin: right; }
.steps li { position: relative; text-align: center; }
.steps__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold-3); font: 600 22px "Playfair Display", serif; color: var(--navy-2); box-shadow: 0 0 0 8px var(--ivory); }
.steps h3 { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--muted); max-width: 30ch; margin: 0 auto; }

/* ---------- Rendez-vous ---------- */
.bk { max-width: 1000px; margin: 0 auto; background: var(--white); border-radius: 22px; box-shadow: 0 40px 80px -50px rgba(16, 28, 24, .5), 0 0 0 1px var(--line); overflow: hidden; }
.bk__steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--paper); }
.bk__steps li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; font-size: 14px; color: var(--muted); position: relative; }
.bk__steps li::after { content: ""; position: absolute; bottom: -1px; inset-inline: 0; height: 2px; background: var(--gold-2); transform: scaleX(0); transition: transform .4s var(--ease); }
.bk__steps li.active::after, .bk__steps li.done::after { transform: scaleX(1); }
.bk__steps li.done::after { background: var(--gold-3); }
.bk__steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.bk__steps li.active { color: var(--ink); }
.bk__steps li.active span { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.bk__steps li.done span { background: var(--gold-soft); border-color: var(--gold-3); color: var(--gold); }
.bk__body { padding: clamp(22px, 4vw, 40px); }
.bk__step { display: none; }
.bk__step.active { display: block; animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.bk__q { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.bk__q:not(:first-child) { margin-top: 30px; }
.bk__areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; font-weight: 500; text-align: start; line-height: 1.35; transition: border-color .2s, background .2s, color .2s; }
.chip svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.chip:hover { border-color: var(--gold-3); }
.chip.sel { border-color: var(--navy-2); background: rgba(44, 74, 64, .06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--navy-2); }
.bk__modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mode { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-align: start; transition: border-color .2s, background .2s; }
.mode svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.mode b { display: block; font-size: 15px; }
.mode small { display: block; font-size: 13px; color: var(--muted); }
.mode:hover { border-color: var(--gold-3); }
.mode.sel { border-color: var(--navy-2); background: rgba(44, 74, 64, .06); box-shadow: inset 0 0 0 1px var(--navy-2); }
.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-weight: 600; text-transform: capitalize; }
.cal__nav { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); }
.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: 12px; color: var(--muted); padding: 4px 0; }
.day { aspect-ratio: 1; border-radius: 10px; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.day:hover:not(.off) { background: var(--gold-soft); }
.day.off { color: rgba(35, 54, 47, .25); cursor: default; }
.day.sel { background: var(--navy-2); color: var(--white); }
.slots__date { font-weight: 600; margin-bottom: 14px; text-transform: capitalize; }
.slots__empty { padding: 30px 20px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--muted); font-size: 15px; }
.slots__g + .slots__g { margin-top: 16px; }
.slots__g small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.slots__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { padding: 9px 0; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; direction: ltr; transition: border-color .2s, background .2s; }
.slot:hover:not(.taken) { border-color: var(--gold-2); }
.slot.sel { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.slot.taken { color: rgba(35, 54, 47, .25); 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: 14px; font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); background: var(--white); }
.field input.invalid { border-color: #c0392b; }
html[dir="rtl"] #b-phone { text-align: right; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 11px; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 15px; cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--navy-2); }
.bk__done { text-align: center; padding: 20px 0; }
.bk__doneIc { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: rgba(31, 168, 85, .12); color: var(--wa); }
.bk__doneIc svg { width: 34px; height: 34px; }
.bk__done h3 { font-family: var(--f-display); font-size: 26px; color: var(--ink); }
.bk__done > p { max-width: 50ch; margin: 10px auto 0; color: var(--muted); }
.bk__recap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0; }
.bk__recap span { padding: 6px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 14px; font-weight: 500; }
.bk__doneBtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.bk__bar { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; padding: 18px clamp(22px, 4vw, 40px); border-top: 1px solid var(--line); background: var(--paper); }
.bk__bar[hidden] { display: none; }
.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: 11.5px; color: var(--muted); }
.bk__sum b { font-size: 14px; font-weight: 600; }
.bk__err { grid-column: 1 / -1; grid-row: 2; color: #b23a2c; font-size: 14px; }
.bk__err:empty { display: none; }
.bk__err.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.bk__nav { display: flex; gap: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 30px); }
.urgent { margin-top: 32px; padding: 26px; border-radius: 18px; background: var(--navy); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.urgent::after { content: ""; position: absolute; width: 160px; height: 160px; inset-inline-end: -60px; top: -60px; border-radius: 50%; border: 1px solid rgba(176, 122, 86, .35); box-shadow: 0 0 0 22px rgba(176, 122, 86, .06); }
.urgent strong { display: block; font-family: var(--f-display); font-size: 22px; color: var(--white); margin-bottom: 6px; }
.urgent p { font-size: 15px; }
.urgent__tel { display: flex !important; width: max-content; align-items: center; gap: 10px; margin-top: 16px; font-size: 20px; font-weight: 600; color: var(--gold-2); }
.urgent__tel--2 { margin-top: 6px; font-size: 16px; color: var(--gold-3); }
.urgent__tel svg { width: 20px; height: 20px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.qa__x { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: var(--ink); transition: transform .3s var(--ease); }
.qa__x::after { transform: rotate(90deg); }
.qa[open] .qa__x { background: var(--navy-2); border-color: var(--navy-2); }
.qa[open] .qa__x::before, .qa[open] .qa__x::after { background: var(--gold-3); }
.qa[open] .qa__x::after { transform: rotate(0); }
.qa p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
.qa summary:hover h3 { color: var(--navy-2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: stretch; }
.infos { margin-top: 28px; }
.infos li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-style: normal; }
.infos li > svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); }
.infos li div { display: flex; flex-direction: column; line-height: 1.55; }
.infos small { font-size: 12.5px; color: var(--muted); }
.infos a:hover { color: var(--navy-2); }
.infos .ltr { width: max-content; }
.hours-l { display: block; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.socials svg { width: 16px; height: 16px; color: var(--navy-3); }
.qr { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 16px; border-radius: 16px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); }
.qr img { width: 96px; height: 96px; padding: 6px; border-radius: 10px; background: var(--white); image-rendering: pixelated; }
.qr strong { font-family: var(--f-display); font-size: 18px; color: var(--ink); }
.qr p { font-size: 14px; color: var(--muted); }
.contact__map { position: relative; min-height: 460px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line); background: var(--sand); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); }
.contact__dir { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--navy-2); color: var(--white); font-size: 14px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(16, 28, 24, .8); }
.contact__dir svg { width: 16px; height: 16px; }
.contact__dir:hover { background: var(--navy); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding-top: clamp(56px, 7vw, 84px); padding-bottom: 28px; font-size: 15px; }
.footer__top { display: flex; align-items: center; gap: 28px; padding-bottom: 44px; border-bottom: 1px solid var(--line-l); }
.footer__logo { width: 84px; height: auto; flex: none; }
.footer__word { flex: 1; font-family: "Amiri", serif; font-size: clamp(22px, 2.6vw, 32px); color: var(--gold-3); line-height: 1.5; }
html[lang="fr"] .footer__word { font-family: "Playfair Display", serif; font-style: italic; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr .8fr; gap: 36px; padding: 44px 0; }
.footer h3 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
html[lang^="ar"] .footer h3 { letter-spacing: 0; font-size: 15px; }
.footer li { padding: 3px 0; }
.footer a:hover { color: var(--white); }
.footer__name { font-family: var(--f-name); font-size: 24px; color: var(--white); }
.footer__about { margin-top: 8px; font-size: 14.5px; max-width: 36ch; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-l); transition: background .2s, border-color .2s; }
.footer__social a:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; }
.footer__areas { columns: 1; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer__disc { padding: 18px 0; border-top: 1px solid var(--line-l); font-size: 13px; color: rgba(255, 255, 255, .45); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .5); }

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

/* ---------- Animations ---------- */
.js .rise { opacity: 0; transform: translateY(22px); }
.js.loaded .rise { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s 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; }

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

/* =========================================================
   IDENTITÉ — carte de visite : crème, vert sombre, cuivre
   ========================================================= */
/* Héros : crème avec la grande vague vert sombre de la carte */
.hero, html[dir="rtl"] .hero { background: var(--paper); }
.hero::before { content: ""; position: absolute; inset-block: -10%; inset-inline-end: -12%; width: 52%; border-radius: 60% 0 0 40% / 70% 0 0 30%; background: radial-gradient(70% 60% at 30% 30%, rgba(176, 122, 86, .18), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy)); }
html[dir="rtl"] .hero::before { border-radius: 0 60% 40% 0 / 0 70% 30% 0; }
.hero__veins { opacity: .35; }
.hero__pre:empty { display: none; }
.hero__name { color: var(--navy); }
html[lang^="ar"] .hero__name { font-size: clamp(44px, 5.4vw, 74px); line-height: 1.45; font-weight: 700; }
.hero__role { background: var(--navy); box-shadow: none; color: var(--gold-3); font-weight: 600; }
.hero__motto { font-size: 21px; }
.hero__actions .btn--primary { background: var(--gold-2); color: var(--white); }
.hero__actions .btn--primary:hover { background: var(--gold); box-shadow: 0 12px 26px -12px rgba(138, 87, 57, .8); }

/* Emblème à la place du portrait */
.emblem { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 28px 56px; text-align: center;
  background: radial-gradient(70% 50% at 50% 30%, rgba(176, 122, 86, .16), transparent 70%), linear-gradient(170deg, var(--paper), var(--sand)); }
.frame__img .emblem__logo { width: 42%; height: auto; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(35, 54, 47, .25)); }
.emblem__name { margin-top: 16px; font-family: var(--f-name); font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.3; color: var(--navy); }
.emblem__sub { max-width: 22ch; font-size: 14.5px; font-weight: 600; color: var(--gold); line-height: 1.5; }
.frame__ring { border-color: var(--gold-2); }
.frame__ring::after { border-color: rgba(255, 255, 255, .25); }
.badge { bottom: -30px; inset-inline-start: -48px; }
.badge img { width: 34px; }
.badge b { font-family: var(--f-name); font-size: 20px; line-height: 1.3; color: var(--navy); letter-spacing: 0; }
html[lang="fr"] .badge b { font-family: "Playfair Display", serif; font-size: 18px; }
.seal { background: var(--gold-2); }
.seal text { fill: var(--white); font-size: 10.5px; }
.seal img { width: 40px; filter: brightness(0) invert(1); opacity: .95; }
.facts { background: var(--navy); }
.facts small { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.facts li { flex-wrap: wrap; column-gap: 10px; }

/* Domaines : fond blanc + une couleur par domaine */
#domaines { background: var(--white); }
.ptab { border-inline-start: 4px solid var(--ac); }
.ptab__n, .ptab__ic svg { color: var(--ac); }
.ptab small { background: color-mix(in srgb, var(--ac) 12%, #fff); color: var(--ac); }
.ptab:hover { background: color-mix(in srgb, var(--ac) 7%, #fff); }
.ptab.on { background: var(--ac); border-color: var(--ac); box-shadow: 0 18px 30px -20px var(--ac); }
.ptab.on .ptab__n, .ptab.on .ptab__ic svg { color: rgba(255, 255, 255, .85); }
.practice__panel { border-top: 6px solid var(--ac); background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 7%, #fff), #fff 55%); transition: border-color .3s; }
.practice__panel::before { border-color: color-mix(in srgb, var(--ac) 35%, #fff); box-shadow: 0 0 0 40px color-mix(in srgb, var(--ac) 5%, transparent), 0 0 0 80px color-mix(in srgb, var(--ac) 3%, transparent); }
.pp__ic { background: color-mix(in srgb, var(--ac) 14%, #fff); color: var(--ac); }
.pp__n { color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ac) 45%, #fff); }
.pp__count, .pp__list svg { color: var(--ac); }
.pp .btn--primary { background: var(--ac); }
.pp .btn--primary:hover { filter: brightness(.9); }

/* L'avocat : vert sombre */
#avocate { background: radial-gradient(60% 50% at 0% 0%, rgba(176, 122, 86, .16), transparent 60%), linear-gradient(160deg, var(--navy), var(--ink)); color: rgba(255, 255, 255, .82); }
#avocate .h2, #avocate .minor, #avocate .about__main .lead { color: var(--white); }
#avocate .label { color: var(--gold-3); }
#avocate .label__n { border-color: rgba(226, 195, 168, .45); }
#avocate .path b { color: var(--gold-3); }
#avocate .path span { color: rgba(255, 255, 255, .72); }
#avocate .path li::before { background: var(--navy); }
#avocate .btn--primary { background: var(--gold-2); color: var(--white); }
#avocate .btn--primary:hover { background: var(--gold); }
.about__mark { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 28px 90px; border-radius: 22px; text-align: center; background: var(--paper); box-shadow: var(--shadow); }
.about__photo .about__mark img { width: 120px; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
.about__mark span { margin-top: 12px; font-family: var(--f-name); font-size: clamp(28px, 3vw, 38px); font-weight: 700; color: var(--navy); line-height: 1.3; }
.about__mark small { font-size: 15px; font-weight: 600; color: var(--gold); }
.about__quote { background: var(--gold-2); }
.about__quote::before { color: var(--navy); }
html[lang^="ar"] .about__quote { font-size: 21px; }

/* Méthode */
#methode { background: var(--ivory); }

/* Rendez-vous : vert sombre */
#rendez-vous { background: radial-gradient(60% 60% at 50% 0%, rgba(176, 122, 86, .18), transparent 60%), linear-gradient(170deg, var(--navy-2), var(--navy)); }
#rendez-vous .h2 { color: var(--white); }
#rendez-vous .lead { color: rgba(255, 255, 255, .8); }
#rendez-vous .label { color: var(--gold-3); }
#rendez-vous .label__n { border-color: rgba(226, 195, 168, .45); }

/* Contact */
.lift { display: inline-flex; width: max-content; margin-top: 6px; padding: 2px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 13px; font-weight: 600; }
.contact__dir { background: var(--gold-2); }
.contact__dir:hover { background: var(--gold); }

.hero em { color: var(--gold); }
#avocate em, #rendez-vous em { color: var(--gold-3); }
.footer__logo { width: 72px; }
.footer__word { font-family: "Amiri", serif; }

/* Bouton WhatsApp avec texte */
.wa-float { width: auto; height: auto; display: flex; align-items: center; gap: 10px; padding: 6px; padding-inline-start: 18px; border-radius: 999px; transform-origin: 90% 50%; }
html[dir="rtl"] .wa-float { transform-origin: 10% 50%; }
.wa-float__t { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.wa-float__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.wa-float__ic svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .topbar__mail { display: none; }
  .nav > a { padding: 8px 9px; font-size: 14px; }
  .header__cta { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .topbar a[data-tel="2"] { display: none; }
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(16, 28, 24, .4); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a.active::after { display: none; }
  .nav__foot { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; color: var(--gold); font-weight: 600; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions, .hero__motto { justify-content: center; }
  .hero__media { order: -1; width: min(78%, 360px); }
  .badge { inset-inline-start: -22px; bottom: 20px; }
  .seal { width: 104px; height: 104px; inset-inline-end: -18px; }
  .seal img { width: 42px; }
  .facts__in { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 20px 0 20px 18px !important; }
  html[dir="rtl"] .facts li { padding: 20px 18px 20px 0 !important; }
  .facts li:nth-child(3) { border: 0; padding-inline-start: 0 !important; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-l); }
  .head { grid-template-columns: 1fr; }
  .practice { grid-template-columns: 1fr; }
  .practice__tabs { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .practice__tabs::-webkit-scrollbar { display: none; }
  .ptab { flex: none; grid-template-columns: auto auto; scroll-snap-align: start; border-color: var(--line); background: var(--white); }
  .ptab__n, .ptab small { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero::before, html[dir="rtl"] .hero::before { inset: -40px -25% auto; width: auto; height: min(118vw, 500px); border-radius: 0 0 50% 50% / 0 0 22% 22%; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps__line { display: none; }
  .faq, .contact { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { flex-wrap: wrap; }
  .bk__areas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .topbar { font-size: 12px; }
  .topbar__in { justify-content: center; padding-block: 6px; text-align: center; }
  .topbar__end { display: none; }
  .topbar__addr { white-space: normal; line-height: 1.5; }
  .header__in { gap: 10px; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .brand__txt { min-width: 0; }
  .brand__txt strong, .brand__txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header__end { gap: 8px; }
  .brand__logo { width: 38px; }
  .brand__txt strong { font-size: 16px; }
  html[lang^="ar"] .brand__txt strong { font-size: 14.5px; overflow: visible; }
  .brand__txt small { font-size: 11.5px; }
  .lang button { min-width: 32px; height: 30px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__motto { font-size: 17px; }
  .facts b { font-size: 30px; }
  .facts li { flex-direction: column; gap: 4px; }
  .pp__list { grid-template-columns: 1fr; }
  .pp__n { font-size: 52px; }
  .about__cols { grid-template-columns: 1fr; }
  .about__quote { margin: -46px 14px 0; font-size: 17px; }
  .badge { inset-inline-start: -10px; bottom: -34px; }
  .badge b { font-size: 16px; white-space: nowrap; }
  .badge span { font-size: 11.5px; }
  .steps { grid-template-columns: 1fr; }
  .bk__areas, .bk__modes, .bk__date, .form { grid-template-columns: 1fr; }
  .slots__grid { grid-template-columns: repeat(3, 1fr); }
  .bk__bar { grid-template-columns: 1fr; }
  .bk__nav { justify-content: space-between; }
  .bk__nav .btn { flex: 1; padding-inline: 14px; }
  .bk__steps li b { display: none; }
  .contact__map { min-height: 360px; }
  .qr img { width: 80px; height: 80px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; text-align: center; }
  .mbar { position: fixed; bottom: 0; inset-inline: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(16, 28, 24, .4); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; font-size: 12px; font-weight: 600; color: var(--navy-2); }
  .mbar svg { width: 21px; height: 21px; }
  .mbar a:nth-child(2) svg { color: var(--wa); }
  .mbar__main { background: var(--navy-2); color: var(--white) !important; }
  .wa-float { display: none; }
}
