/* =========================================================
   Maître Tariq Elmourif — Avocat à Marrakech et Tinghir
   Palette « Ocre et palmeraie » : sable, terre de Marrakech, vert palmier
   Motif : arc outrepassé (portes de Marrakech, ksour du Sud-Est)
   ========================================================= */
:root {
  --ink: #1e2b25;         /* vert palmier très sombre (fonds sombres) */
  --ink-2: #26372f;
  --ink-3: #31473d;
  --clay: #b85a32;        /* terre cuite de Marrakech */
  --clay-2: #e3a47c;
  --clay-ink: #9a4320;    /* terre cuite lisible sur fond clair */
  --gold: #d2b06c;
  --sand: #f5ede1;
  --sand-2: #eadfcd;
  --white: #fffdf9;
  --text: #24211d;
  --muted: #6b645a;
  --line: rgba(30, 43, 37, .14);
  --line-2: rgba(30, 43, 37, .07);
  --line-dark: rgba(255, 255, 255, .13);
  --wa: #1fa855;
  --wa-2: #178a45;

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

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

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 100px; font-weight: 700; font-size: 15px; 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: 19px; height: 19px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-2); transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(31, 168, 85, .7); }
.btn--clay { background: var(--clay); color: var(--white); }
.btn--clay:hover { background: var(--clay-ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--ink); }
.btn[hidden] { display: none; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--clay); padding-bottom: 3px; }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }
html[dir="rtl"] .link:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Libellés de section ---------- */
.label { display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-ink); margin-bottom: 20px; }
.label::after { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; transform: rotate(45deg); opacity: .7; }
.label__n { font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; letter-spacing: 0; color: var(--ink); font-weight: 700; }
.label--light { color: var(--clay-2); }
.label--light .label__n { color: var(--white); }
html[dir="rtl"] .label { letter-spacing: 0; font-size: 15px; }
.h2 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); color: var(--ink); margin-bottom: 22px; }
html[dir="rtl"] .h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.h2 em { display: block; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.sec { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.sec--sand { background: var(--sand); }
.sec--ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.sec--ink .h2 { color: var(--white); }
.sec--ink em { color: var(--clay-2); }
.sec--ink .lead { color: rgba(255, 255, 255, .66); }
.sec__head { margin-bottom: clamp(44px, 6vw, 70px); max-width: 760px; }
.sec__head--center { text-align: center; margin-inline: auto; }
.sec__head--center .label { justify-content: center; }
.sec__head--center .label::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; transform: rotate(45deg); opacity: .7; }
.sec__head--center .lead { margin-inline: auto; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; }
.sec__head--split .h2 { margin-bottom: 0; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--ink); transition: box-shadow .35s; }
.header::before { content: ""; position: absolute; inset: 0; background: transparent; transition: background .35s; z-index: -1; }
.header.scrolled::before, .menu-open .header::before { background: rgba(245, 237, 225, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 46px; height: 46px; display: grid; place-items: center; color: var(--clay); }
.brand__logo svg { width: 100%; height: 100%; }
.brand__txt { display: grid; line-height: 1.2; }
.brand__txt strong { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; white-space: nowrap; }
html[dir="rtl"] .brand__txt strong { font-size: 1.25rem; }
.brand__txt small { font-size: 12px; opacity: .7; letter-spacing: .03em; }
.nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; }
.nav > a { position: relative; opacity: .75; transition: opacity .2s; padding: 6px 0; }
.nav > a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; border-radius: 2px; background: var(--clay); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover, .nav > a.active { opacity: 1; }
.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: 100px; overflow: hidden; padding: 2px; background: rgba(255, 253, 249, .6); }
.lang button { min-width: 34px; height: 32px; border-radius: 100px; font-size: 12.5px; font-weight: 700; opacity: .65; transition: all .2s; }
.lang button.on { background: var(--ink); color: var(--white); opacity: 1; }
.lang button:not(.on):hover { opacity: 1; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger.open span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--sand); padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 0; overflow: hidden; isolation: isolate; }
.hero__pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23b85a32' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M36 14l6.4 15.6L58 36l-15.6 6.4L36 58l-6.4-15.6L14 36l15.6-6.4z'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
}
html[dir="rtl"] .hero__pattern { mask-image: linear-gradient(-100deg, transparent 30%, #000 75%); -webkit-mask-image: linear-gradient(-100deg, transparent 30%, #000 75%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 1px solid var(--line); background: var(--white); border-radius: 100px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--clay-ink); margin-bottom: 28px; }
.kicker svg { width: 17px; height: 17px; }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14.5px; padding: 8px 12px 8px 16px; }
.hero__title { color: var(--ink); margin-bottom: 20px; }
.hero__pre { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); font-style: italic; font-weight: 500; color: var(--clay-ink); margin-bottom: 2px; }
html[dir="rtl"] .hero__pre { font-style: normal; font-weight: 500; }
.hero__name { display: block; font-size: clamp(3.4rem, 7.6vw, 6.4rem); font-weight: 700; line-height: .95; letter-spacing: -.02em; }
html[dir="rtl"] .hero__name { font-size: clamp(2.8rem, 6.4vw, 5rem); line-height: 1.3; letter-spacing: 0; }
.hero__role { font-size: 1.05rem; font-weight: 600; color: var(--ink); padding-inline-start: 16px; border-inline-start: 3px solid var(--clay); margin-bottom: 22px; }
.hero__text { max-width: 56ch; font-size: 1.07rem; color: var(--muted); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__hours { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 500; }
.hero__hours svg { width: 18px; height: 18px; color: var(--clay); }

.hero__media { position: relative; justify-self: end; width: 100%; max-width: 430px; padding: 0 0 44px; }
.arch { position: relative; aspect-ratio: 4 / 5; }
.arch img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-radius: 50% 50% var(--r) var(--r) / 38% 38% var(--r) var(--r); background: var(--sand-2); }
.arch::before { content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--clay); border-radius: 50% 50% 12px 12px / 38% 38% 12px 12px; }
.seal {
  position: absolute; inset-inline-start: -56px; bottom: 0; display: flex; align-items: center; gap: 16px;
  padding: 16px 22px 16px 16px; background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: 0 30px 60px -28px rgba(30, 43, 37, .55);
  animation: floaty 7s ease-in-out infinite;
}
html[dir="rtl"] .seal { padding: 16px 16px 16px 22px; }
.seal__logo { width: 56px; height: 56px; color: var(--clay); padding-inline-end: 14px; box-sizing: content-box; border-inline-end: 1px solid var(--line); }
.seal div { display: grid; line-height: 1.35; }
.seal__fr { font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; font-weight: 700; }
.seal__ar { font-family: "El Messiri", sans-serif; font-size: 15px; font-weight: 600; }
.seal__bar { font-size: 12px; color: var(--clay-ink); font-weight: 700; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); }
.facts li { padding: 26px 24px 30px; border-inline-start: 1px solid var(--line); display: grid; gap: 2px; }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts b { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.1rem, 3.4vw, 2.8rem); font-weight: 700; color: var(--clay-ink); line-height: 1.05; }
.facts span { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- Bandeau défilant ---------- */
.ticker { overflow: hidden; background: var(--ink); color: var(--sand); padding: 16px 0; direction: ltr; }
.ticker__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.ticker__track > div { display: flex; align-items: center; }
.ticker span { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; padding: 0 26px; white-space: nowrap; }
html[dir="rtl"] .ticker span { font-size: 1.1rem; }
.ticker i { width: 7px; height: 7px; background: var(--clay); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Le cabinet ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 30px); }
.about__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); border-radius: 14px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about__cap { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.about__cap svg { width: 18px; height: 18px; color: var(--clay-ink); }
.about__main > p:not(.label) { margin-bottom: 20px; }
.about__main .lead { color: var(--text); }
.ledger { margin: 34px 0 38px; border-top: 2px solid var(--ink); }
.ledger div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); padding-top: 3px; }
html[dir="rtl"] .ledger dt { letter-spacing: 0; font-size: 14.5px; }
.ledger dd { font-weight: 600; color: var(--ink); }

/* ---------- Expertises ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 36px); background: var(--white); border: 1px solid var(--line-2); border-radius: 16px; transition: transform .35s var(--ease), box-shadow .35s; }
.area:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -34px rgba(30, 43, 37, .45); }
.area__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.area__ic { width: 56px; height: 64px; display: grid; place-items: center; padding-top: 6px; background: var(--sand); color: var(--clay-ink); border-radius: 28px 28px 6px 6px; }
.area__ic svg { width: 26px; height: 26px; }
.area__n { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; font-weight: 700; color: var(--sand-2); -webkit-text-stroke: 1px var(--clay-2); }
.area h3 { font-size: 1.65rem; color: var(--ink); line-height: 1.15; }
html[dir="rtl"] .area h3 { font-size: 1.3rem; line-height: 1.5; }
.area p { color: var(--muted); font-size: 15px; }
.area ul { display: grid; gap: 7px; margin: 4px 0 14px; font-size: 14.5px; }
.area li { display: flex; gap: 10px; align-items: baseline; }
.area li::before { content: ""; width: 6px; height: 6px; background: var(--clay); transform: rotate(45deg) translateY(-2px); flex: none; }
.area .link { margin-top: auto; align-self: flex-start; }
.area--feat { background: var(--ink); color: rgba(255, 255, 255, .75); border-color: var(--ink); }
.area--feat h3, .area--feat .link { color: var(--white); }
.area--feat p { color: rgba(255, 255, 255, .65); }
.area--feat .area__ic { background: rgba(255, 255, 255, .08); color: var(--clay-2); }
.area__badge { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--clay-2); padding: 5px 12px; border-radius: 100px; }
html[dir="rtl"] .area__badge { letter-spacing: 0; font-size: 12.5px; }

/* ---------- Recherche & écrits ---------- */
#recherche { overflow: hidden; }
#recherche::before { content: ""; position: absolute; inset-inline-end: -140px; top: -60px; width: 420px; height: 560px; border: 1px solid var(--line-dark); border-radius: 210px 210px 0 0; }
.res { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; position: relative; }
.book { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 28px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 18px; }
.book__cover { align-self: start; box-shadow: 18px 24px 40px -18px rgba(0, 0, 0, .7); border-radius: 3px 8px 8px 3px; overflow: hidden; transform: rotate(-2deg); }
html[dir="rtl"] .book__cover { transform: rotate(2deg); }
.book__cover img { width: 100%; height: auto; }
.book__txt h3 { font-size: 2.2rem; color: var(--white); margin: 10px 0 4px; }
html[dir="rtl"] .book__txt h3 { font-size: 1.8rem; }
.book__sub { color: var(--clay-2); font-weight: 600; margin-bottom: 14px; }
.book__txt p:not(.book__sub) { font-size: 15px; color: rgba(255, 255, 255, .68); }
.book__pub { margin-top: 14px; font-size: 13.5px !important; color: var(--gold) !important; font-weight: 600; }
.res__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.res__tag svg { width: 16px; height: 16px; }
html[dir="rtl"] .res__tag { letter-spacing: 0; font-size: 13.5px; }
.res__list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.res__list li:first-child { padding-top: 0; }
.res__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(227, 164, 124, .4); color: var(--clay-2); }
.res__ic svg { width: 24px; height: 24px; }
.res__list h3 { font-size: 1.45rem; color: var(--white); margin: 6px 0 6px; line-height: 1.25; }
html[dir="rtl"] .res__list h3 { font-size: 1.15rem; line-height: 1.6; }
.res__list p { font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.res__foot { margin-top: clamp(40px, 5vw, 60px); display: flex; justify-content: center; }

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

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

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

.bk__bar { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; padding: 18px clamp(24px, 4vw, 44px); border-top: 1px solid var(--line); background: var(--sand); }
.bk__bar[hidden] { display: none; }
.bk__sum { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bk__sum span { display: grid; line-height: 1.3; }
.bk__sum small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bk__sum b { font-size: 14px; font-weight: 700; color: var(--muted); }
.bk__sum span.on b { color: var(--ink); }
.bk__err { grid-column: 1 / -1; grid-row: 2; color: #b0412e; font-size: 14px; font-weight: 600; }
.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: 30px 0; }
.bk__doneIc { width: 76px; height: 76px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(31, 168, 85, .12); color: var(--wa); }
.bk__doneIc svg { width: 36px; height: 36px; }
.bk__done h3 { font-size: 2.2rem; margin-bottom: 10px; color: var(--ink); }
.bk__done p { color: var(--muted); max-width: 52ch; margin: 0 auto 22px; }
.bk__recap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.bk__recap span { padding: 6px 14px; background: var(--sand); border-radius: 100px; font-size: 14px; font-weight: 600; }
.bk__doneBtns { display: flex; flex-wrap: wrap; justify-content: center; 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); }
.quick { margin-top: 30px; padding: 30px; background: var(--ink); color: rgba(255, 255, 255, .7); border-radius: 18px; }
.quick__ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(31, 168, 85, .16); color: var(--wa); margin-bottom: 16px; }
.quick__ic svg { width: 24px; height: 24px; }
.quick strong { display: block; font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.quick p { font-size: 14.5px; margin-bottom: 22px; }
.quick .btn { width: 100%; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 2px solid var(--ink); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: 1.45rem; color: var(--ink); line-height: 1.3; }
html[dir="rtl"] .qa h3 { font-size: 1.12rem; line-height: 1.6; }
.qa__x { position: relative; width: 36px; height: 36px; flex: none; border: 1px solid var(--line); border-radius: 50%; transition: all .3s; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s; }
.qa__x::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__x { background: var(--clay); color: var(--white); border-color: var(--clay); }
.qa[open] .qa__x::after { transform: translate(-50%, -50%); }
.qa p { padding: 0 0 26px; color: var(--muted); max-width: 64ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.office { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; text-align: start; background: var(--white); border: 1px solid var(--line-2); border-radius: 16px; transition: border-color .2s, transform .3s var(--ease); }
.office:hover { border-color: var(--clay); transform: translateY(-2px); }
.office__ic { width: 44px; height: 44px; color: var(--clay); }
.office__ic svg { width: 100%; height: 100%; }
.office b { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
html[dir="rtl"] .office b { font-size: 1.15rem; line-height: 1.5; }
.office small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.cards { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.cards li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.cards svg { width: 22px; height: 22px; color: var(--clay-ink); margin-top: 3px; }
.cards small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.cards a, .cards span { font-weight: 600; color: var(--ink); }
.cards a:hover { color: var(--clay-ink); }
.contact__map { position: relative; min-height: 480px; overflow: hidden; background: var(--sand-2); border-radius: 18px; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }
.map-tabs { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; display: flex; padding: 3px; background: var(--white); border-radius: 100px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4); }
.map-tabs button { padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 700; color: var(--muted); transition: all .2s; }
.map-tabs button.on { background: var(--ink); color: var(--white); }
.contact__dir { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--ink); color: var(--white); border-radius: 100px; font-size: 14px; font-weight: 700; }
.contact__dir svg { width: 16px; height: 16px; color: var(--clay-2); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: clamp(60px, 8vw, 100px) 0 40px; }
.footer__top { display: flex; align-items: center; gap: 28px; padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: 76px; height: 76px; color: var(--clay-2); }
.footer__word { flex: 1; font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 600; color: var(--white); line-height: 1.2; }
html[dir="rtl"] .footer__word { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.5; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer h3 { font-family: var(--f-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-2); margin-bottom: 16px; font-weight: 700; }
html[dir="rtl"] .footer h3 { letter-spacing: 0; font-size: 14.5px; }
.footer ul { display: grid; gap: 9px; font-size: 14.5px; }
.footer a:hover { color: var(--clay-2); }
.brand--light { color: var(--white); margin-bottom: 18px; }
.brand--light .brand__logo { color: var(--clay-2); }
.footer__about { font-size: 14.5px; max-width: 36ch; }
.hours li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer__disc { font-size: 13px; color: rgba(255, 255, 255, .42); max-width: 90ch; padding-top: 24px; border-top: 1px solid var(--line-dark); margin-bottom: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .45); }

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

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s 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; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; font-size: 14px; }
  .header__cta span { display: none; }
  .header__cta { padding: 0 12px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .res { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; gap: 0; padding: 20px var(--gutter) 40px;
    background: var(--sand); font-size: 1.5rem; font-family: var(--f-display);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .35s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav > a::after { display: none; }
  .nav__foot { display: grid; gap: 8px; margin-top: auto; font-family: var(--f-body); font-size: 15px; color: var(--clay-ink); }
  .hero__grid, .about, .faq, .contact { grid-template-columns: 1fr; }
  .sec__head--split { grid-template-columns: 1fr; gap: 22px; }
  .hero__media { order: -1; justify-self: center; max-width: 340px; }
  .seal { inset-inline-start: -24px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about__media, .faq__side { position: static; }
  .bk__date { grid-template-columns: 1fr; }
  .contact__map { min-height: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand__txt small { display: none; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__txt strong { font-size: 1.2rem; }
  .header__cta { display: none; }
  .lang button { min-width: 30px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { max-width: 280px; padding-bottom: 50px; }
  .seal { inset-inline-start: -14px; padding: 12px 14px 12px 12px; gap: 12px; }
  .seal__logo { width: 40px; height: 40px; padding-inline-end: 10px; }
  .seal__fr { font-size: 14px; } .seal__ar { font-size: 13px; } .seal__bar { font-size: 11px; }
  .facts li { padding: 20px 12px 22px 16px; }
  .facts span { font-size: 13px; }
  .areas { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; padding: 22px; }
  .book__cover { max-width: 190px; }
  .res__list li { grid-template-columns: 44px 1fr; gap: 14px; }
  .res__ic { width: 44px; height: 44px; }
  .res__foot .btn { width: 100%; white-space: normal; height: auto; min-height: 52px; padding: 12px 20px; text-align: center; }
  .ledger div { grid-template-columns: 1fr; gap: 2px; }
  .offices { grid-template-columns: 1fr; }
  .office { flex-direction: row; align-items: center; padding: 16px; }
  .office__ic { width: 38px; height: 38px; flex: none; }
  .bk__steps li { padding: 14px 12px; font-size: 13px; gap: 8px; justify-content: center; }
  .bk__steps b { display: none; }
  .bk__steps li.active b { display: inline; }
  .bk__modes, .form { grid-template-columns: 1fr; }
  .bk__bar { grid-template-columns: 1fr; }
  .bk__nav { justify-content: space-between; }
  .bk__nav .btn { flex: 1; padding: 0 16px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mbar {
    position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    background: rgba(30, 43, 37, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: var(--white); font-size: 14px; font-weight: 700; }
  .mbar__main { background: var(--wa); }
  .footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.office--main { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay) inset; }
