/* =========================================================
   Me Naïma Laadam — Avocate, Casablanca
   Thème clair : blanc / noir / or — images de justice flottantes
   ========================================================= */
:root {
  --night: #111111;       /* noir */
  --night-2: #1c1c1c;
  --blue: #b08a3e;        /* (alias historique) or */
  --accent: #b8913f;      /* or */
  --accent-2: #d9b971;    /* or clair */
  --accent-ink: #8c6a24;  /* or lisible sur blanc */
  --gold-grad: linear-gradient(135deg, #e6c983 0%, #b8913f 50%, #d8b66c 75%, #94712c 100%);
  --ivory: #ffffff;       /* fond principal */
  --paper: #f8f5ef;       /* blanc cassé des sections alternées */
  --paper-2: #efe9dd;
  --text: #111111;
  --muted: #5f5a52;
  --line: rgba(17, 17, 17, .12);
  --line-2: rgba(17, 17, 17, .07);
  --line-gold: rgba(184, 145, 63, .35);
  --line-dark: rgba(217, 185, 113, .22);
  --white: #ffffff;
  --wa: #1fa855;
  --shadow: 0 30px 60px -30px rgba(17, 17, 17, .28);

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(18px, 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(--ivory);
  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(--accent-2); color: var(--night); }
:focus-visible { outline: 2px solid var(--accent); 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(--night); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }
em { font-style: italic; color: var(--accent-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;
  min-height: 52px; padding: 0 28px; border-radius: 2px; letter-spacing: .01em; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.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 { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--gold { background: var(--gold-grad); background-size: 200% 200%; color: var(--night); box-shadow: 0 10px 26px -12px rgba(184, 145, 63, .75); animation: goldshift 6s ease-in-out infinite; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(184, 145, 63, .85); }
@keyframes goldshift { 50% { background-position: 100% 100%; } }
.btn--dark { background: var(--night); color: #fff; box-shadow: 0 12px 26px -14px rgba(17, 17, 17, .7); }
.btn--dark svg { color: var(--accent-2); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--line { border-color: var(--line); color: var(--text); background: #fff; }
.btn--line svg { color: var(--accent-ink); }
.btn--line:hover { border-color: var(--accent); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178f47; }
.btn[hidden] { display: none; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--accent-ink); }
.link svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.sec--ivory { background: var(--paper); }
.label { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 20px; }
html[dir="rtl"] .label { letter-spacing: 0; font-size: 15px; }
.label__n { font-family: "Cormorant Garamond", serif; font-size: 18px; font-style: italic; letter-spacing: 0; padding-inline-end: 14px; border-inline-end: 1px solid currentColor; line-height: 1.2; }
.h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 22px; }
html[dir="rtl"] .h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.sec__head { position: relative; margin-bottom: clamp(40px, 6vw, 64px); max-width: 780px; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.sec__head--split .h2 { margin-bottom: 0; }
.sec__head--center { text-align: center; margin-inline: auto; }
.sec__head--center .lead { margin-inline: auto; }

/* Image décorative flottante en arrière-plan de section */
.float-img { --py: 0px; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; overflow: hidden; opacity: .08; filter: grayscale(1) contrast(1.1); translate: 0 var(--py); }
.float-img img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s ease-in-out infinite; }
@keyframes drift { 50% { transform: scale(1.08) rotate(-2deg); } }
.float-img--profil { width: 440px; height: 440px; inset-inline-end: -200px; bottom: 40px; }
.float-img--areas { width: 380px; height: 380px; inset-inline-start: -130px; bottom: 60px; }
.sec > .wrap { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--text); transition: height .3s; }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .0); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; z-index: -1; }
.header.scrolled::before { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line-2); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .25); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo { width: 48px; height: 48px; flex: none; display: grid; place-items: center; color: var(--accent); }
.brand__logo svg { width: 48px; height: 48px; }
.brand__txt { display: grid; line-height: 1.25; min-width: 0; }
.brand__txt strong { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.brand__txt small { font-size: 12px; color: var(--accent-ink); white-space: nowrap; }
.nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; }
.nav > a { position: relative; opacity: .8; transition: opacity .2s; padding: 6px 0; }
.nav > a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--accent); 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: 12px; flex: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 100px; padding: 3px; background: #fff; }
.lang button { min-width: 36px; height: 30px; border-radius: 100px; font-size: 12.5px; font-weight: 700; opacity: .65; transition: all .2s; }
.lang button.on { background: var(--night); color: var(--accent-2); opacity: 1; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; position: relative; background: #fff; }
.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: 17px; } .burger span:last-child { top: 25px; }
.burger.open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(50px, 6vw, 80px); background: linear-gradient(180deg, #fff 0%, #faf7f1 100%); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__veil { position: absolute; inset: 0; background:
  radial-gradient(50% 60% at 78% 40%, rgba(217, 185, 113, .22), transparent 70%),
  repeating-linear-gradient(90deg, transparent 0 119px, rgba(184, 145, 63, .06) 119px 120px); }
.hero__scales { position: absolute; width: clamp(320px, 42vw, 620px); height: auto; aspect-ratio: 1; inset-inline-start: -8vw; bottom: -12%; color: var(--accent); opacity: .08; animation: sway 9s ease-in-out infinite; transform-origin: 50% 14%; }
@keyframes sway { 50% { transform: rotate(4deg); } }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 22px; }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15.5px; }
.kicker__line { width: 44px; height: 2px; background: var(--gold-grad); flex: none; }
.hero__title { display: grid; margin-bottom: 18px; }
.hero__pre { font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 500; color: var(--muted); font-style: italic; }
html[dir="rtl"] .hero__pre { font-style: normal; }
.hero__name { font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 700; line-height: 1.02; color: var(--night); }
html[dir="rtl"] .hero__name { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: 1.3; }
.hero__name::after { content: ""; display: block; width: 90px; height: 3px; margin-top: 14px; background: var(--gold-grad); }
.hero__role { font-weight: 700; color: var(--accent-ink); font-size: 1.05rem; margin-bottom: 16px; }
.hero__text { color: var(--muted); max-width: 54ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.js .hero__copy > * { opacity: 0; transform: translateY(20px); animation: rise 1s var(--ease) forwards; }
.js .hero__copy > :nth-child(2) { animation-delay: .12s; } .js .hero__copy > :nth-child(3) { animation-delay: .24s; }
.js .hero__copy > :nth-child(4) { animation-delay: .36s; } .js .hero__copy > :nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Collage d'images flottantes */
.collage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.02; justify-self: center; }
.collage__ring { position: absolute; inset: 8% 4% 2% 10%; border: 1px solid var(--line-gold); border-radius: 50%; animation: spin 60s linear infinite; }
.collage__ring::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.ph { --py: 0px; position: absolute; margin: 0; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); translate: 0 var(--py); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--main { inset: 6% 18% 4% 20%; border-radius: 999px 999px 8px 8px; border: 6px solid #fff; outline: 1px solid var(--line-gold); outline-offset: 10px; animation: float 7s ease-in-out infinite; }
.ph--top { width: 36%; aspect-ratio: 1; top: 0; inset-inline-end: 0; border-radius: 50%; border: 5px solid #fff; animation: float 8s ease-in-out -2s infinite; }
.ph--bot { width: 40%; aspect-ratio: 5 / 4; bottom: 4%; inset-inline-start: 0; border-radius: 8px; border: 5px solid #fff; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.collage__badge { position: absolute; bottom: 12%; inset-inline-end: 6%; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--accent-2); box-shadow: var(--shadow); animation: float 6s ease-in-out -1s infinite; }
.collage__badge svg { width: 70px; height: 70px; }
.js .collage .ph, .js .collage__badge { opacity: 0; animation-name: popin, float; animation-duration: 1.1s, var(--fd, 7s); animation-timing-function: var(--ease), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; }
.js .ph--main { animation-delay: .2s, 1.3s; --fd: 7s; }
.js .ph--top { animation-delay: .45s, 1.6s; --fd: 8s; }
.js .ph--bot { animation-delay: .65s, 1.8s; --fd: 9s; }
.js .collage__badge { animation-delay: .85s, 2s; --fd: 6s; }
@keyframes popin { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }

/* Chiffres clés : cartes séparées (aucune ligne ne touche le texte) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(44px, 6vw, 70px); }
.facts li { display: grid; align-content: start; gap: 6px; padding: 20px 22px; background: #fff; border: 1px solid var(--line-2); border-top: 3px solid var(--accent); border-radius: var(--r); box-shadow: 0 14px 30px -24px rgba(17, 17, 17, .35); }
.facts b { font-family: var(--f-display); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--night); }
.facts span { font-size: 14px; line-height: 1.5; color: var(--muted); }

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

/* ---------- Profil ---------- */
.profile { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.frame { position: relative; margin: 0; border-radius: var(--r); }
.frame::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--accent); border-radius: var(--r); z-index: -1; }
html[dir="rtl"] .frame::before { inset: -14px -14px 14px 14px; }
.frame img { width: 100%; height: auto; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 28% 50%; border-radius: var(--r); box-shadow: var(--shadow); }
.profile__media { position: relative; z-index: 1; }
.quote { position: relative; margin: -60px 24px 0; padding: 24px 26px; background: var(--night); color: #fff; border-radius: var(--r); font-family: var(--f-display); font-size: 1.3rem; font-style: italic; line-height: 1.5; box-shadow: var(--shadow); }
.quote::before { content: "“"; position: absolute; top: -18px; inset-inline-start: 18px; font-family: "Cormorant Garamond", serif; font-size: 70px; line-height: 1; color: var(--accent); font-style: normal; }
html[dir="rtl"] .quote { font-style: normal; font-size: 1.15rem; }
.profile__main .lead { color: var(--text); margin-bottom: 16px; font-size: 1.18rem; }
.profile__main > p:not(.lead):not(.label) { color: var(--muted); margin-bottom: 26px; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.ledger div { padding: 14px 16px; background: var(--paper); border-inline-start: 3px solid var(--accent); border-radius: 4px; }
.ledger dt { color: var(--accent-ink); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
html[dir="rtl"] .ledger dt { letter-spacing: 0; font-size: 13.5px; }
.ledger dd { font-size: 14.5px; font-weight: 600; line-height: 1.5; }

/* ---------- Domaines ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px 26px; background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
html[dir="rtl"] .tile::before { transform-origin: right; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-gold); }
.tile:hover::before { transform: scaleX(1); }
.tile__top { display: flex; align-items: center; justify-content: space-between; }
.tile__ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--accent-ink); border: 1px solid var(--line-gold); transition: transform .5s var(--ease), background .3s, color .3s; }
.tile:hover .tile__ic { transform: rotate(-10deg); background: var(--night); color: var(--accent-2); }
.tile__ic svg { width: 25px; height: 25px; }
.tile__n { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.6rem; color: var(--accent); line-height: 1; }
.tile h3 { font-size: 1.65rem; }
html[dir="rtl"] .tile h3 { font-size: 1.35rem; }
.tile p { font-size: 14.5px; color: var(--muted); }
.tile ul { display: grid; gap: 7px; font-size: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.tile li { display: flex; gap: 10px; align-items: baseline; line-height: 1.5; }
.tile li::before { content: ""; width: 5px; height: 5px; flex: none; transform: translateY(-3px) rotate(45deg); background: var(--accent); }
.tile .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.tile--gold { background: var(--night); color: #fff; border-color: var(--night); }
.tile--gold .tile__ic { background: var(--gold-grad); color: var(--night); border: 0; }
.tile--gold p { color: rgba(255, 255, 255, .7); }
.tile--gold ul { border-color: var(--line-dark); }
.tile--gold h3 { color: var(--accent-2); }
.tile--gold .link { color: var(--accent-2); }

/* ---------- Bande citation (image de fond) ---------- */
.band { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(90px, 12vw, 150px) 0; isolation: isolate; }
.band__img { --py: 0px; position: absolute; inset: -18% 0; z-index: -2; background: url("../img/tribunal-colonnes.jpg") center / cover no-repeat; translate: 0 var(--py); }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 17, 17, .78), rgba(17, 17, 17, .62)); }
.band__in { display: grid; justify-items: center; gap: 14px; }
.band__ic { width: 74px; height: 74px; color: var(--accent-2); animation: sway 7s ease-in-out infinite; transform-origin: 50% 14%; }
.band__q { font-family: var(--f-display); font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.25; max-width: 22ch; }
.band__s { color: rgba(255, 255, 255, .78); max-width: 52ch; font-size: 1.08rem; }

/* ---------- Méthode ---------- */
.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.method__head .h2 { margin-bottom: 30px; }
.frame--sm img { aspect-ratio: 4 / 3; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.steps li { position: relative; padding: 28px 24px 26px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 14px 30px -24px rgba(17, 17, 17, .35); transition: border-color .3s, transform .4s var(--ease); }
.steps li:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.steps__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px; font-family: "Manrope", sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--accent-2); background: var(--night); }
.steps h3 { font-size: 1.5rem; margin-bottom: 6px; }
html[dir="rtl"] .steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); font-size: 15px; }

.bk__sec { margin-top: 16px; color: var(--muted); font-size: 15px; }
.bk__sec a { font-weight: 800; color: var(--accent-ink); margin-inline-start: 6px; font-size: 1.1rem; }

/* ---------- Rendez-vous ---------- */
.bk { position: relative; background: var(--ivory); color: var(--text); border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.bk__steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--white); }
.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(--accent); 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: 600; font-size: 14px; transition: all .3s; }
.bk__steps li.active { color: var(--night); }
.bk__steps li.active span { background: var(--accent); border-color: var(--accent); color: var(--night); }
.bk__steps li.active::after, .bk__steps li.done::after { transform: scaleX(1); }
.bk__steps li.done span { background: var(--night); border-color: var(--night); 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); } to { opacity: 1; transform: none; } }
.bk__q { font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--night); margin-bottom: 16px; letter-spacing: 0; line-height: 1.5; }
html[dir="rtl"] .bk__q { font-family: var(--f-body); font-weight: 600; }
.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: 2px; font-size: 14.5px; background: var(--white); transition: all .2s; }
.chip svg { width: 18px; height: 18px; color: var(--accent-ink); }
.chip:hover { border-color: var(--night); }
.chip.sel { background: var(--night); border-color: var(--night); color: var(--white); }
.chip.sel svg { color: var(--accent-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: 6px; background: var(--white); text-align: start; transition: all .2s; }
.mode svg { width: 26px; height: 26px; color: var(--accent-ink); }
.mode b { display: block; font-size: 15.5px; color: var(--night); }
.mode small { color: var(--muted); font-size: 13px; }
.mode:hover { border-color: var(--night); }
.mode.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: #f1f4fb; }

.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.35rem; font-weight: 600; color: var(--night); 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: 600; }
.day { aspect-ratio: 1; border-radius: 50%; font-size: 14.5px; font-weight: 500; transition: all .2s; }
.day:hover:not(.off) { background: var(--paper); }
.day.off { opacity: .28; cursor: default; }
.day.sel { background: var(--night); color: var(--white); }
.slots__date { font-family: var(--f-display); font-size: 1.25rem; color: var(--night); margin-bottom: 14px; text-transform: capitalize; }
.slots__empty { padding: 30px; border: 1px dashed var(--line); border-radius: 6px; 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: 600; letter-spacing: .06em; text-transform: uppercase; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { padding: 10px 0; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 500; background: var(--white); direction: ltr; transition: all .2s; }
.slot:hover:not(.taken) { border-color: var(--night); }
.slot.sel { background: var(--night); border-color: var(--night); 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: 600; color: var(--night); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px;
  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(--accent); box-shadow: 0 0 0 3px rgba(195, 202, 216, .2); }
.field input.invalid { border-color: #b0412e; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 6px; 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: 500; transition: all .2s; }
.seg input:checked + span { background: var(--night); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); 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(--accent-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(--white); }
.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: 600; color: var(--muted); }
.bk__sum span.on b { color: var(--night); }
.bk__err { grid-column: 1 / -1; grid-row: 2; color: #b0412e; font-size: 14px; font-weight: 500; min-height: 0; }
.bk__err:empty { display: none; }
.bk__err.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.bk__nav { display: flex; gap: 10px; }
.bk__done { text-align: center; padding: 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: 2rem; margin-bottom: 10px; }
.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; border-radius: 100px; background: var(--paper); font-size: 14px; font-weight: 500; }
.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, 7vw, 100px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 30px); }
.urgent { margin-top: 30px; padding: 28px; border-radius: 6px; background: var(--night); color: var(--ivory); }
.urgent strong { display: block; font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 6px; }
.urgent p { color: rgba(245, 247, 251, .66); font-size: 15px; margin-bottom: 18px; }
.urgent__tel { display: flex; width: fit-content; margin-top: 6px; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 700; color: var(--accent-2); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.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.4rem; }
html[dir="rtl"] .qa h3 { font-size: 1.25rem; }
.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(--night); color: var(--accent-2); border-color: var(--night); }
.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; }
.cards { display: grid; gap: 12px; }
.cards li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--white); border-radius: 6px; border: 1px solid var(--line-2); }
.cards svg { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 3px; }
.cards small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.cards a, .cards span { font-weight: 500; }
.cards a:hover { color: var(--accent-ink); }
.contact__map { position: relative; min-height: 440px; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.contact__dir { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 2px; background: var(--night); color: var(--ivory); font-size: 14px; font-weight: 600; }
.contact__dir svg { width: 16px; height: 16px; color: var(--accent-2); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(245, 247, 251, .7); padding: clamp(60px, 8vw, 100px) 0 110px; }
.footer__top { display: flex; align-items: center; gap: 24px; padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: 70px; height: 70px; color: var(--accent); }
.footer__word { flex: 1; font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3rem); color: var(--ivory); line-height: 1.2; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer h3 { font-family: var(--f-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
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(--accent-2); }
.brand--light { color: var(--ivory); margin-bottom: 18px; }
.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(245, 247, 251, .45); 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(245, 247, 251, .5); }

/* ---------- 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(24px); 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; }

/* ---------- Ajustements thème clair ---------- */
#rendez-vous .bk { border: 1px solid var(--line-gold); box-shadow: var(--shadow); }
.bk__steps li.active span { background: var(--gold-grad); border-color: transparent; }
.chip.sel svg, .mode.sel svg { color: var(--accent); }
.chip.sel svg { color: var(--accent-2); }
.mode.sel { background: #fbf6ea; }
.day.sel, .slot.sel { color: var(--accent-2); }
.urgent { position: relative; overflow: hidden; }
.urgent::after { content: ""; position: absolute; width: 200px; height: 200px; inset-inline-end: -70px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 185, 113, .3), transparent 65%); }
.urgent strong { color: var(--accent-2); }
.urgent__tel { color: #fff; }
.urgent__tel svg { color: var(--accent-2); }
.qa[open] .qa__x { color: var(--accent-2); }
.qa h3 { font-weight: 600; line-height: 1.35; }
.cards li { box-shadow: 0 10px 24px -22px rgba(17, 17, 17, .4); }
.cards a { word-break: break-word; }
.contact__map { box-shadow: var(--shadow); }
.contact__map iframe { filter: grayscale(.5) contrast(1.05); }
.contact__dir svg { color: var(--accent-2); }
.footer { background: var(--night); color: rgba(255, 255, 255, .68); }
.footer__logo { color: var(--accent); }
.footer__word { color: #fff; }
.footer h3 { color: var(--accent-2); }
.footer__bottom, .footer__disc { color: rgba(255, 255, 255, .45); }
.footer a:hover { color: var(--accent-2); }
.footer__disc { border-color: var(--line-dark); }
.footer__top { border-color: var(--line-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; font-size: 14px; }
  .header__cta { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; }
  .method__head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: end; }
  .method__head .frame { grid-column: 2; grid-row: 1 / span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; gap: 0; padding: 20px var(--gutter) 40px;
    background: #fff; font-size: 1.45rem; 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-2); opacity: 1; }
  .nav > a::after { display: none; }
  .nav__foot { display: grid; gap: 8px; margin-top: auto; font-family: var(--f-body); font-size: 16px; color: var(--accent-ink); font-weight: 700; }
  .menu-open .header::before { background: #fff; }
  .hero__grid, .profile, .faq, .contact { grid-template-columns: 1fr; }
  .collage { max-width: 440px; margin-top: 10px; }
  .sec__head--split { grid-template-columns: 1fr; gap: 0; }
  .sec__head--split .h2 { margin-bottom: 20px; }
  .profile__media { max-width: 560px; }
  .faq__side { position: static; }
  .bk__date { grid-template-columns: 1fr; }
  .contact__map { min-height: 360px; }
  .float-img { opacity: .08; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  html[dir="rtl"] body { font-size: 16.5px; }
  .brand { gap: 8px; }
  .brand__txt small { display: none; }
  .brand__txt strong { font-size: 1.05rem; }
  .brand__logo, .brand__logo svg { width: 40px; height: 40px; }
  .header__end { gap: 8px; }
  .lang button { min-width: 30px; height: 28px; font-size: 12px; }
  .burger { width: 40px; height: 40px; }
  .burger span { left: 11px; right: 11px; }
  .burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
  .burger.open span:first-child, .burger.open span:last-child { top: 19px; }
  .hero { padding-top: calc(var(--header-h) + 18px); }
  .hero__grid { gap: 26px; }
  .collage { width: 92%; }
  .collage__badge { width: 66px; height: 66px; }
  .collage__badge svg { width: 50px; height: 50px; }
  .ph--main { outline-offset: 6px; border-width: 4px; }
  .ph--top, .ph--bot { border-width: 3px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts { gap: 10px; }
  .facts li { padding: 16px 14px; }
  .facts b { font-size: 1.3rem; }
  .facts span { font-size: 13px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { padding: 24px 20px 22px; }
  .ledger { grid-template-columns: 1fr; }
  .quote { margin: -40px 12px 0; padding: 22px 20px; font-size: 1.15rem; }
  .frame img { aspect-ratio: 4 / 3; }
  .frame::before { inset: -10px 10px 10px -10px; }
  html[dir="rtl"] .frame::before { inset: -10px -10px 10px 10px; }
  .method__head { display: block; }
  .method__head .frame { margin-bottom: 10px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { display: grid; grid-template-columns: 46px 1fr; gap: 2px 16px; padding: 20px 18px; align-items: start; }
  .steps__n { grid-row: span 2; width: 46px; height: 46px; margin: 0; }
  .steps h3 { margin-bottom: 0; }
  .float-img--profil { width: 260px; height: 260px; inset-inline-end: -110px; }
  .float-img--areas { width: 240px; height: 240px; }
  .bk__steps li { padding: 14px 10px; 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; }
  .qa summary { padding: 20px 0; gap: 14px; }
  .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(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .3);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: var(--text); font-size: 14px; font-weight: 700; }
  .mbar a svg { color: var(--accent-ink); }
  .mbar__main { background: var(--night); color: #fff !important; }
  .mbar__main svg { color: var(--accent-2) !important; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 380px) {
  .brand__txt strong { font-size: .95rem; }
  .lang button { min-width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__copy > *, .js .collage .ph, .js .collage__badge { opacity: 1; transform: none; }
}

/* 7 domaines : la carte « Cassation » occupe toute la dernière ligne */
@media (min-width: 641px) {
  .tile--gold { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 40px; align-items: start; }
  .tile--gold > .tile__top, .tile--gold > h3, .tile--gold > p, .tile--gold > .link { grid-column: 1; }
  .tile--gold > ul { grid-column: 2; grid-row: 1 / span 4; grid-template-columns: 1fr 1fr; gap: 10px 24px; border-top: 0; padding-top: 6px; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .tile--gold { grid-template-columns: 1fr; }
  .tile--gold > ul { grid-column: 1; grid-row: auto; border-top: 1px solid var(--line-dark); padding-top: 14px; }
}

/* ---------- Portrait de Me Laadam dans le hero ---------- */
.collage { aspect-ratio: 1 / 1.12; }
.collage__ring { inset: 4% 2% 6% 2%; }
.collage__disc { position: absolute; inset: 14% 8% 10%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, #f6efe0 55%, rgba(217, 185, 113, .35) 100%); }
.portrait { position: absolute; z-index: 2; inset: 0 6% 0 6%; margin: 0; filter: drop-shadow(0 30px 34px rgba(17, 17, 17, .28)); animation: float 7s ease-in-out infinite; }
.portrait img { width: 100%; height: 100%; object-fit: contain; }
.ph--top { width: 30%; z-index: 1; top: 2%; inset-inline-end: -2%; }
.ph--side { z-index: 1; width: 26%; aspect-ratio: 3 / 4; inset-inline-start: -3%; bottom: 14%; border-radius: 999px 999px 8px 8px; border: 5px solid #fff; animation: float 9s ease-in-out -4s infinite; }
.ph--side img { object-position: 30% 30%; }
.collage__badge { z-index: 3; bottom: 4%; inset-inline-end: 2%; }
.js .collage .portrait { opacity: 0; animation: popin 1.1s var(--ease) .2s forwards, float 7s ease-in-out 1.3s infinite; }
.js .ph--side { animation-delay: .6s, 1.8s; --fd: 9s; }
@media (max-width: 960px) {
  .collage { max-width: 470px; }
}
@media (max-width: 640px) {
  .collage { width: 100%; }
  .ph--top { width: 28%; inset-inline-end: 0; }
  .ph--side { width: 24%; inset-inline-start: 0; }
  .collage__badge { width: 60px; height: 60px; inset-inline-end: 4%; }
  .collage__badge svg { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .js .collage .portrait { opacity: 1; } }
@media (max-width: 960px) { .collage { order: -1; margin-top: 0; } }
@media (max-width: 640px) { .collage { width: 84%; max-width: 330px; } .hero__grid { gap: 18px; } }
