/* =========================================================
   Maître Rachid Imskine — Avocat à Agadir
   Style « carte de visite » : anthracite prune + cuivre, bande oblique, sceau à la balance
   ========================================================= */
:root {
  --ink: #16141b;
  --ink-2: #1f1c25;
  --ink-3: #2b2731;
  --ink-line: rgba(233, 205, 176, .14);
  --copper: #c27c47;
  --copper-2: #e4ab76;
  --copper-3: #99582b;
  --copper-grad: linear-gradient(100deg, #9a5a2d 0%, #cf8b54 38%, #eab784 56%, #c07a44 78%, #9f5f31 100%);
  --paper: #ffffff;
  --sand: #f8f5f1;
  --line: #e4d9cb;
  --text: #221f27;
  --muted: #6b6470;
  --light: #efe7dd;
  --light-muted: #b5aab0;
  --white: #fff;
  --wa: #1f9d55;
  --radius: 4px;
  --shadow: 0 24px 60px -28px rgba(22, 20, 27, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 78px;
  --f-display: "Marcellus", "El Messiri", Georgia, serif;
  --f-body: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
}
[dir="rtl"] {
  --f-display: "El Messiri", "Marcellus", serif;
  --f-body: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--paper); overflow-x: hidden; }
[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, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap; }
.mail { word-break: break-all; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--copper); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }
[dir="rtl"] .arrow { transform: scaleX(-1); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 15px 26px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: .95rem; letter-spacing: .02em; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; white-space: nowrap; }
.btn svg { font-size: 1.15em; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn--copper { background: var(--copper-grad); background-size: 160% 100%; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(194, 124, 71, .7); }
.btn--copper:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(228, 171, 118, .45); color: var(--light); }
.btn--ghost:hover { border-color: var(--copper-2); color: var(--copper-2); }
.btn--ink { background: var(--ink); color: var(--light); }
.btn--ink:hover { background: var(--ink-3); color: var(--copper-2); }
.btn--wa { background: var(--wa); color: var(--white); padding-block: 17px; }
.btn--wa:hover { background: #178347; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- Titres ---------- */
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-3); margin: 0 0 18px; }
.kicker::before, .eyebrow::before { content: ""; width: 34px; height: 8px; background: var(--copper-grad); clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); }
[dir="rtl"] .kicker, [dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .95rem; font-weight: 600; }
.kicker, .eyebrow--light { color: var(--copper-2); }
.h2 { font-family: var(--f-display); font-size: clamp(2rem, 3.8vw, 3.05rem); color: var(--ink); margin-bottom: 22px; letter-spacing: -.005em; }
[dir="rtl"] .h2 { font-weight: 600; line-height: 1.35; }
.h2 em { font-style: normal; color: var(--copper-3); background: linear-gradient(transparent 78%, rgba(194, 124, 71, .22) 78%); }
.lead { font-size: 1.1rem; color: var(--muted); }
.sec--ink .h2 { color: var(--light); }
.sec--ink .h2 em { color: var(--copper-2); background: none; }
.sec--ink .lead { color: var(--light-muted); }

/* ---------- Barre d'infos ---------- */
.topbar { background: #0f0e13; color: var(--light-muted); font-size: .82rem; }
.topbar__in { display: flex; gap: 28px; align-items: center; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { color: var(--copper); }
.topbar__item:last-child { margin-inline-start: auto; color: var(--copper-2); font-weight: 600; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(22, 20, 27, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink-line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--light); }
.brand__mark { width: 46px; height: 46px; color: var(--copper-2); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand__txt strong { font-family: var(--f-display); font-size: 1.2rem; font-weight: 400; }
[dir="rtl"] .brand__txt strong { font-weight: 600; font-size: 1.25rem; }
.brand__txt small { font-size: .75rem; color: var(--copper-2); letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .brand__txt small { letter-spacing: 0; font-size: .85rem; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: .9rem; color: var(--light-muted); transition: color .25s; }
[dir="rtl"] .nav a { font-size: .98rem; }
.nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; background: var(--copper-grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover, .nav a.active { color: var(--light); }
.nav a.active::after, .nav a:hover::after { transform: scaleX(1); }
.header__end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; }
.lang button { background: none; border: 0; padding: 6px 10px; font-size: .8rem; font-weight: 700; color: var(--light-muted); cursor: pointer; }
.lang button.on { background: var(--copper); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--ink-line); border-radius: var(--radius); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 1.6px; background: var(--light); transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Accueil ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--light); padding: 70px 0 60px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(115deg, transparent 0 52%, var(--ink-2) 52% 100%); }
[dir="rtl"] .hero::before { background: linear-gradient(-115deg, transparent 0 52%, var(--ink-2) 52% 100%); }
.hero__band { position: absolute; z-index: -1; inset-inline-end: -5%; top: 58%; width: 62%; height: 110px; background: var(--copper-grad); opacity: .1; transform: skewY(-9deg); }
[dir="rtl"] .hero__band { transform: skewY(9deg); }
.hero__ghost { position: absolute; z-index: -1; width: 520px; height: 520px; inset-inline-start: -140px; top: -80px; color: var(--copper); opacity: .05; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero__title { font-family: var(--f-display); margin: 6px 0 18px; }
.hero__pre { display: block; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--copper-2); letter-spacing: .04em; }
.hero__name { display: block; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1.02; color: var(--white); }
[dir="rtl"] .hero__name { font-weight: 700; line-height: 1.2; }
.hero__role { font-size: 1.05rem; color: var(--light); padding-inline-start: 16px; border-inline-start: 2px solid var(--copper); max-width: 560px; }
.hero__text { color: var(--light-muted); max-width: 560px; }
.hero__motto { margin: 26px 0 34px; font-family: var(--f-display); font-size: 1.3rem; color: var(--copper-2); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.portrait { position: relative; margin: 0; padding-bottom: 34px; }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.portrait::before { content: ""; position: absolute; inset: -16px 16px 50px -16px; border: 1px solid rgba(228, 171, 118, .45); border-radius: var(--radius); }
[dir="rtl"] .portrait::before { inset: -16px -16px 50px 16px; }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait__plate { position: absolute; inset-inline: 0; bottom: 34px; display: flex; align-items: center; gap: 14px; padding: 70px 22px 44px; background: linear-gradient(transparent, rgba(15, 14, 19, .92) 55%); border-radius: 0 0 var(--radius) var(--radius); }
.portrait__seal { width: 50px; height: 50px; color: var(--copper-2); }
.portrait__plate span { display: flex; flex-direction: column; line-height: 1.3; }
.portrait__plate b { font-family: "El Messiri", serif; font-size: 1.3rem; font-weight: 600; color: var(--copper-2); text-align: start; }
.portrait__plate i { font-style: normal; font-family: "Marcellus", serif; font-size: .95rem; letter-spacing: .08em; color: var(--light); }
.portrait__strip { position: absolute; bottom: 8px; inset-inline: 8%; margin: 0; padding: 14px 30px; text-align: center; background: var(--copper-grad); color: var(--ink); font-family: var(--f-display); font-size: 1.1rem; clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); }
[dir="rtl"] .portrait__strip { font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--ink-line); }
.stats li { padding: 26px 22px 6px 0; }
.stats li + li { padding-inline-start: 22px; border-inline-start: 1px solid var(--ink-line); }
.stats b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; color: var(--copper-2); line-height: 1.2; }
[dir="rtl"] .stats b { font-weight: 700; }
.stats span { font-size: .9rem; color: var(--light-muted); }

/* ---------- Sections ---------- */
.sec { padding: 110px 0; position: relative; }
.sec--sand { background: var(--sand); }
.sec--ink { background: var(--ink); color: var(--light); }
.sec--flush { padding: 0; }
.sec__head { max-width: 720px; margin-bottom: 56px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }

/* ---------- Cabinet ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.about__head { position: sticky; top: calc(var(--header-h) + 30px); }
.quote { position: relative; margin: 34px 0 0; padding: 34px 30px 28px; background: var(--ink); color: var(--light); border-radius: var(--radius); overflow: hidden; }
.quote::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--copper-grad); }
.quote__seal { position: absolute; width: 150px; height: 150px; inset-inline-end: -36px; bottom: -36px; color: var(--copper); opacity: .12; }
.quote blockquote { margin: 0 0 16px; font-family: var(--f-display); font-size: 1.16rem; line-height: 1.6; }
.quote figcaption { color: var(--copper-2); font-size: .9rem; font-weight: 600; }
.about__main p { color: #3c3741; }
.about__main .lead { color: var(--text); font-size: 1.14rem; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.creds li { display: flex; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); }
.creds li:hover { border-color: var(--copper); transform: translateY(-3px); }
.creds__n { font-family: var(--f-display); font-size: 1.5rem; line-height: 1; color: var(--copper); }
.creds h3 { font-family: var(--f-display); font-size: 1.08rem; margin-bottom: 6px; color: var(--ink); }
[dir="rtl"] .creds h3 { font-weight: 600; }
.creds p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Domaines ---------- */
.practice { display: grid; grid-template-columns: 330px 1fr; gap: 28px; }
.practice__tabs { display: flex; flex-direction: column; gap: 6px; }
.practice__tabs button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; background: transparent; border: 1px solid transparent; border-radius: var(--radius); text-align: start; font-weight: 600; font-size: .98rem; color: var(--text); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.practice__tabs button:hover { background: rgba(255, 255, 255, .7); border-color: var(--line); }
.practice__tabs button[aria-selected="true"] { background: var(--ink); color: var(--light); }
.tab__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--white); color: var(--copper-3); font-size: 1.3rem; border: 1px solid var(--line); }
.practice__tabs button[aria-selected="true"] .tab__ic { background: var(--copper-grad); color: var(--ink); border-color: transparent; }
.panel { position: relative; padding: 44px 46px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 5px; background: var(--copper-grad); }
.panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.panel__n { direction: ltr; unicode-bidi: isolate; font-size: .8rem; font-weight: 700; letter-spacing: .18em; color: var(--copper-3); }
.panel__ic { font-size: 3rem; color: var(--copper); opacity: .8; }
.panel h3 { font-family: var(--f-display); font-size: 2rem; color: var(--ink); margin-bottom: 12px; }
[dir="rtl"] .panel h3 { font-weight: 600; }
.panel__d { color: var(--muted); font-size: 1.06rem; }
.panel__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 26px 0 34px; }
.panel__list li { display: flex; gap: 10px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.panel__list svg { color: var(--copper); margin-top: .35em; }
.more { margin-top: 64px; }
.more__h { font-family: var(--f-display); font-size: 1.4rem; margin-bottom: 20px; color: var(--ink); }
[dir="rtl"] .more__h { font-weight: 600; }
.more__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.more__list li { padding: 20px; background: rgba(255, 255, 255, .65); border: 1px solid var(--line); border-radius: var(--radius); }
.more__list li.star { background: var(--ink); color: var(--light); border-color: var(--ink); }
.more__list b { display: block; margin-bottom: 6px; font-size: .98rem; }
.more__list span { font-size: .88rem; color: var(--muted); }
.more__list li.star span { color: var(--light-muted); }

/* ---------- Arbitrage ---------- */
.arb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: arb; position: relative; }
.arb::before { content: ""; position: absolute; top: 27px; inset-inline: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--copper), transparent); }
.arb li { position: relative; padding: 0 24px 30px; text-align: center; }
.arb__n { position: relative; display: inline-grid; place-items: center; width: 84px; height: 54px; margin-bottom: 24px; background: var(--copper-grad); color: var(--ink); font-family: "Marcellus", serif; font-size: 1.4rem; clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); }
.arb h3 { font-family: var(--f-display); font-size: 1.35rem; color: var(--white); margin-bottom: 10px; }
[dir="rtl"] .arb h3 { font-weight: 600; }
.arb p { color: var(--light-muted); font-size: .96rem; margin: 0; }
.med { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; margin-top: 50px; padding: 34px 38px; border: 1px solid rgba(228, 171, 118, .35); border-radius: var(--radius); background: linear-gradient(120deg, var(--ink-2), var(--ink-3)); }
.med__seal { width: 74px; height: 74px; color: var(--copper-2); }
.med h3 { font-family: var(--f-display); font-size: 1.5rem; color: var(--copper-2); margin-bottom: 8px; }
[dir="rtl"] .med h3 { font-weight: 600; }
.med p { margin: 0; color: var(--light-muted); }

/* ---------- Principes ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why li { position: relative; padding: 38px 34px 38px 0; border-bottom: 1px solid var(--line); }
.why li:not(:nth-child(3n + 1)) { padding-inline-start: 34px; border-inline-start: 1px solid var(--line); }
.why__n { display: block; font-family: "Marcellus", serif; font-size: 2.8rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--copper); margin-bottom: 18px; }
.why h3 { font-family: var(--f-display); font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }
[dir="rtl"] .why h3 { font-weight: 600; }
.why p { margin: 0; color: var(--muted); }
.why li::after { content: ""; position: absolute; bottom: -1px; inset-inline-start: 0; width: 0; height: 2px; background: var(--copper-grad); transition: width .5s var(--ease); }
.why li:hover::after { width: 100%; }

/* ---------- Rendez-vous ---------- */
.booking { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.lines { display: grid; gap: 12px; margin: 30px 0 22px; }
.lines a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); }
.lines a:hover { border-color: var(--copper); transform: translateX(4px); }
[dir="rtl"] .lines a:hover { transform: translateX(-4px); }
.lines svg { font-size: 1.4rem; color: var(--copper); }
.lines span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.lines small { font-size: .8rem; color: var(--muted); }
.lines b { font-size: 1.12rem; color: var(--ink); }
.lines b.mail { font-size: .98rem; }
.hours { display: flex; gap: 12px; color: var(--muted); }
.hours svg { font-size: 1.3rem; color: var(--copper); margin-top: .25em; }
.hours b { display: block; color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 42px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--copper); }
.form__h { grid-column: 1 / -1; font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); }
[dir="rtl"] .form__h { font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .86rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(194, 124, 71, .18); }
.field textarea { resize: vertical; }
.invalid { border-color: #c0392b !important; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 40px; font-size: .86rem; cursor: pointer; transition: all .2s; }
.pill:hover { border-color: var(--copper); }
.pill.sel { background: var(--ink); border-color: var(--ink); color: var(--copper-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: .35em; accent-color: var(--copper); width: 17px; height: 17px; flex: none; }
.form__err { margin: 0; color: #b03a2e; font-size: .9rem; min-height: 0; }
.form__err:empty, .form__ok:empty { display: none; }
.form__ok { margin: 0; color: var(--wa); font-weight: 600; }
.form__note { margin: 0; font-size: .82rem; color: var(--muted); }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); }
[dir="rtl"] .qa h3 { font-weight: 600; }
.qa__x { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, border-color .3s; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; background: var(--copper-3); transform: translate(-50%, -50%); transition: transform .3s; }
.qa__x::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__x { background: var(--ink); border-color: var(--ink); }
.qa[open] .qa__x::before, .qa[open] .qa__x::after { background: var(--copper-2); }
.qa[open] .qa__x::after { transform: translate(-50%, -50%); }
.qa p { padding-bottom: 24px; margin: 0; color: var(--muted); max-width: 720px; }

/* ---------- Bandeau ---------- */
.band { position: relative; padding: 120px 0; text-align: center; color: var(--light); overflow: hidden; isolation: isolate; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.6); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(22, 20, 27, .82), rgba(22, 20, 27, .92)); }
.band__logo { width: 76px; height: 76px; color: var(--copper-2); margin: 0 auto 20px; }
.band__motto { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 820px; margin: 0 auto 34px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.contact__card { padding: 80px 64px; }
.contact__list { display: grid; gap: 22px; margin: 10px 0 34px; }
.contact__list dt { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-2); margin-bottom: 4px; }
[dir="rtl"] .contact__list dt { letter-spacing: 0; font-size: .92rem; }
.contact__list dd { margin: 0; color: var(--light); }
.contact__list a:hover { color: var(--copper-2); }
address { font-style: normal; }
.contact__btns { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.social { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--ink-line); border-radius: var(--radius); font-size: 1.3rem; color: var(--light); }
.social:hover { border-color: var(--copper-2); color: var(--copper-2); }

/* ---------- Pied de page ---------- */
.footer { background: #0f0e13; color: var(--light-muted); padding: 72px 0 30px; font-size: .93rem; }
.footer__top { display: flex; align-items: center; gap: 22px; padding-bottom: 36px; border-bottom: 1px solid var(--ink-line); }
.footer__seal { width: 58px; height: 58px; color: var(--copper-2); }
.footer__motto { margin: 0; font-family: var(--f-display); font-size: 1.5rem; color: var(--light); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 44px 0; }
.footer h3 { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-2); margin-bottom: 16px; }
[dir="rtl"] .footer h3 { letter-spacing: 0; font-size: .95rem; }
.footer__name { font-family: var(--f-display); font-size: 1.2rem; color: var(--light); }
.footer ul { display: grid; gap: 8px; }
.footer a:hover { color: var(--copper-2); }
.fhours li { display: flex; justify-content: space-between; gap: 12px; }
.fhours li span:last-child { color: var(--light); }
.footer__disc { font-size: .8rem; opacity: .75; max-width: 900px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: .82rem; }

/* ---------- Barre mobile ---------- */
.mbar { display: none; }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); 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; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav a { padding: 8px 8px; font-size: .85rem; }
  .header__cta { display: none; }
  .more__list { grid-template-columns: repeat(3, 1fr); }
  .practice { grid-template-columns: 280px 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .topbar__hours { display: none; }
  .burger { display: flex; }
  .header__cta { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 14px 24px 26px; background: var(--ink); border-bottom: 1px solid var(--ink-line); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s, visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--ink-line); }
  .nav a::after { display: none; }
  .hero { padding-top: 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .portrait { max-width: 440px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--ink-line); }
  .about, .booking, .faq { grid-template-columns: 1fr; gap: 40px; }
  .about__head { position: static; }
  .practice { grid-template-columns: minmax(0, 1fr); }
  .practice__panels { min-width: 0; }
  .practice__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .practice__tabs::-webkit-scrollbar { display: none; }
  .practice__tabs button { width: auto; flex: none; white-space: nowrap; }
  .arb { grid-template-columns: 1fr; gap: 34px; }
  .arb::before { display: none; }
  .med { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .why { grid-template-columns: 1fr 1fr; }
  .why li, .why li:not(:nth-child(3n + 1)) { padding: 32px 26px 32px 0; padding-inline-start: 0; border-inline-start: 0; }
  .why li:nth-child(2n) { padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; }
  .contact__card { padding: 60px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--ink); border-top: 1px solid var(--ink-line); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .35s var(--ease); }
  body.past-hero .mbar { transform: none; }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; font-size: .78rem; color: var(--light); }
  .mbar svg { font-size: 1.3rem; color: var(--copper-2); }
  .mbar__main { background: var(--copper-grad); color: var(--ink) !important; font-weight: 700; }
  .mbar__main svg { color: var(--ink) !important; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 16px; }
  .topbar__in { gap: 14px; font-size: .76rem; }
  .topbar__item:first-child span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; }
  .header__cta, .brand__txt small { display: none; }
  .header__in { gap: 12px; }
  .header__end { gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__txt strong { font-size: .98rem; line-height: 1.25; }
  .lang button { padding: 6px 8px; }
  .sec { padding: 76px 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .portrait::before { inset: -10px 10px 46px -10px; }
  [dir="rtl"] .portrait::before { inset: -10px -10px 46px 10px; }
  .portrait__strip { font-size: .98rem; inset-inline: 4%; }
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li + li { padding: 18px 0 6px; border-inline-start: 0; }
  .stats li + li { border-top: 1px solid var(--ink-line); }
  .creds, .panel__list, .more__list, .why { grid-template-columns: 1fr; }
  .why li, .why li:nth-child(2n) { padding: 28px 0; border-inline-start: 0; padding-inline-start: 0; }
  .btn { white-space: normal; text-align: center; }
  .panel { padding: 32px 22px; }
  .panel h3 { font-size: 1.6rem; }
  .form { grid-template-columns: 1fr; padding: 28px 20px; }
  .med { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; text-align: center; }
  .footer__motto { font-size: 1.25rem; }
}

/* =========================================================
   Thème clair — fonds blancs (en-tête, accueil, arbitrage, accès)
   ========================================================= */
.header { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(22, 20, 27, .25); }
.brand { color: var(--ink); }
.brand__mark, .brand__txt small { color: var(--copper); }
.nav a { color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--ink); }
.lang, .burger { border-color: var(--line); }
.lang button { color: var(--muted); }
.lang button.on { color: var(--white); }
.burger span { background: var(--ink); }

.hero { background: var(--white); color: var(--text); }
.hero::before { background: linear-gradient(115deg, transparent 0 52%, var(--sand) 52% 100%); }
[dir="rtl"] .hero::before { background: linear-gradient(-115deg, transparent 0 52%, var(--sand) 52% 100%); }
.hero__band { opacity: .08; }
.hero__ghost { opacity: .06; }
.kicker, .eyebrow--light, .hero__pre { color: var(--copper-3); }
.hero__name { color: var(--ink); }
.hero__role { color: var(--text); }
.hero__text { color: var(--muted); }
.hero__motto { color: var(--copper-3); }
.btn--ghost { border-color: rgba(194, 124, 71, .55); color: var(--ink); }
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-3); }
.portrait__frame { box-shadow: 0 40px 80px -36px rgba(22, 20, 27, .45); }
.portrait::before { border-color: rgba(194, 124, 71, .5); }
.stats, .stats li + li { border-color: var(--line); }
.stats b { color: var(--copper-3); }
.stats span { color: var(--muted); }

.sec--ink { background: var(--white); color: var(--text); border-top: 1px solid var(--line); }
.sec--ink .h2 { color: var(--ink); }
.sec--ink .h2 em { color: var(--copper-3); background: linear-gradient(transparent 78%, rgba(194, 124, 71, .22) 78%); }
.sec--ink .lead { color: var(--muted); }
.arb h3 { color: var(--ink); }
.arb p { color: var(--muted); }
.med { background: var(--sand); border-color: var(--line); }
.med__seal { color: var(--copper); }
.med h3 { color: var(--copper-3); }
.med p { color: var(--muted); }

.contact__list dt { color: var(--copper-3); }
.contact__list dd { color: var(--text); }
.contact__list a:hover { color: var(--copper-3); }
.social { border-color: var(--line); color: var(--ink); }
.social:hover { border-color: var(--copper); color: var(--copper-3); }

@media (max-width: 960px) {
  .nav { background: var(--white); border-bottom-color: var(--line); box-shadow: 0 20px 40px -20px rgba(22, 20, 27, .2); }
  .nav a { border-bottom-color: var(--line); color: var(--ink); }
  .stats li:nth-child(n + 3) { border-top-color: var(--line); }
}
@media (max-width: 640px) {
  .stats li + li { border-top-color: var(--line); }
}
