/* =========================================================
   Me Naïma Laadam — Avocate, Casablanca
   Palette « Carte de visite » : noir profond / or / blanc
   ========================================================= */
:root {
  --night: #0b0a08;       /* noir de la carte */
  --night-2: #17140f;
  --blue: #a87a2c;        /* (alias historique) or foncé */
  --accent: #c99a3f;      /* or */
  --accent-2: #ecd08c;    /* or clair */
  --accent-ink: #8a6420;  /* or lisible sur fond clair */
  --gold-grad: linear-gradient(135deg, #f3d998 0%, #c99a3f 45%, #e8c878 70%, #9c7024 100%);
  --ivory: #fbf8f2;
  --paper: #f3ede1;
  --paper-2: #e8dfcd;
  --text: #17140f;
  --muted: #6b6253;
  --line: rgba(23, 20, 15, .14);
  --line-2: rgba(23, 20, 15, .07);
  --line-dark: rgba(236, 208, 140, .2);
  --white: #ffffff;
  --wa: #1fa855;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 4px;
  --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.9; }
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.08; letter-spacing: -.01em; }
html[dir="rtl"] :is(h1, h2, h3, h4) { font-weight: 600; letter-spacing: 0; line-height: 1.5; }
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); 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; }
.gold-text, .sec--night em, .hero__name {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.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 30px -12px rgba(201, 154, 63, .7); animation: goldshift 6s ease-in-out infinite; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(201, 154, 63, .85); }
@keyframes goldshift { 50% { background-position: 100% 100%; } }
.btn--dark { background: var(--night); color: var(--accent-2); }
.btn--dark:hover { background: #241e14; }
.btn--ghost { border-color: var(--line-dark); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn--line { border-color: var(--line); color: var(--text); }
.btn--line:hover { border-color: var(--night); }
.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, 11vw, 140px) 0; }
.sec--ivory { background: var(--paper); }
.sec--night { background: var(--night); color: var(--ivory); overflow: hidden; }
.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: 22px; }
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; }
.label--light { color: var(--accent); }
.h2 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); margin-bottom: 22px; }
html[dir="rtl"] .h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.sec--night .lead { color: rgba(251, 248, 242, .66); }
.sec__head { margin-bottom: clamp(44px, 6vw, 70px); 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; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--ivory); transition: height .3s; }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(11, 10, 8, 0); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; z-index: -1; }
.header.scrolled::before { background: rgba(11, 10, 8, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 48px; height: 48px; display: grid; place-items: center; color: var(--accent); }
.brand__logo svg { width: 48px; height: 48px; }
.brand__txt { display: grid; line-height: 1.2; }
.brand__txt strong { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; }
.brand__txt small { font-size: 12px; color: var(--accent-2); opacity: .85; }
.nav { display: flex; gap: 28px; font-size: 14.5px; }
.nav > a { position: relative; opacity: .82; transition: opacity .2s; padding: 6px 0; }
.nav > a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; 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: 14px; }
.lang { display: flex; border: 1px solid var(--line-dark); border-radius: 100px; padding: 3px; }
.lang button { min-width: 36px; height: 30px; border-radius: 100px; font-size: 12.5px; font-weight: 700; opacity: .7; transition: all .2s; }
.lang button.on { background: var(--gold-grad); color: var(--night); opacity: 1; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); 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: 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; min-height: 100svh; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(40px, 5vw, 60px); background: radial-gradient(120% 90% at 75% 30%, #1d1810 0%, var(--night) 60%); color: var(--ivory); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__swoosh { position: absolute; inset-block: 0; inset-inline-start: 0; width: clamp(90px, 13vw, 210px); height: 100%; opacity: .9; }
html[dir="rtl"] .hero__swoosh { transform: scaleX(-1); }
.hero__swoosh path:first-child { fill: #050403; }
.sw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s var(--ease) .2s forwards, glint 7s ease-in-out 3s infinite; }
.sw--2 { animation-delay: .45s, 3.3s; } .sw--3 { animation-delay: .7s, 3.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glint { 50% { filter: brightness(1.6) drop-shadow(0 0 6px rgba(236, 208, 140, .6)); } }
.hero__glow { position: absolute; width: 60vmax; height: 60vmax; inset-inline-end: -18vmax; top: -12vmax; border-radius: 50%; background: radial-gradient(circle, rgba(201, 154, 63, .22), transparent 62%); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12) translate(-3%, 4%); opacity: .7; } }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding-inline-start: clamp(0px, 8vw, 140px); }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 26px; }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15.5px; }
.kicker__line { width: 44px; height: 1px; background: var(--accent); }
.hero__title { display: grid; margin-bottom: 18px; }
.hero__pre { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; color: rgba(251, 248, 242, .8); font-style: italic; }
html[dir="rtl"] .hero__pre { font-style: normal; }
.hero__name { font-size: clamp(3.2rem, 7.4vw, 6.2rem); font-weight: 700; line-height: 1; padding-bottom: .08em; background-size: 200% 200%; animation: goldshift 8s ease-in-out infinite; }
html[dir="rtl"] .hero__name { font-size: clamp(2.9rem, 6.6vw, 5.4rem); line-height: 1.25; }
.hero__role { font-weight: 600; color: var(--accent-2); font-size: 1.05rem; margin-bottom: 18px; padding-inline-start: 16px; border-inline-start: 2px solid var(--accent); }
.hero__text { color: rgba(251, 248, 242, .72); max-width: 54ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Entrée du hero */
.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; } }

/* ---------- Carte de visite 3D ---------- */
.stage { --rx: 0deg; --ry: 0deg; position: relative; perspective: 1400px; display: grid; justify-items: center; gap: 26px; }
.bizcard {
  position: relative; width: min(100%, 540px); aspect-ratio: 1280 / 932; cursor: pointer; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease);
  animation: float 6s ease-in-out infinite;
}
.js .bizcard { animation: cardIn 1.4s var(--ease) .3s both, float 6s ease-in-out 1.7s infinite; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) rotateY(-50deg) rotateX(14deg); } to { opacity: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -14px; rotate: -1.2deg; } }
.bizcard__face {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform 1s var(--ease); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(236, 208, 140, .25);
}
.bizcard__back { transform: rotateY(180deg); }
.bizcard.flipped .bizcard__front { transform: rotateY(-180deg); }
.bizcard.flipped .bizcard__back { transform: rotateY(0deg); }
.bizcard__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 47%, transparent 60%); background-size: 250% 100%; background-position: 130% 0; animation: shine 6s ease-in-out 2s infinite; mix-blend-mode: soft-light; }
@keyframes shine { 0%, 55% { background-position: 130% 0; } 100% { background-position: -60% 0; } }

/* Recto : réplique de la carte (texte toujours de gauche à droite comme la carte imprimée) */
.bizcard__front { background: #fff; color: #111; direction: ltr; container-type: inline-size; }
.bizcard__arc { position: absolute; inset-block: 0; left: 0; width: 13%; height: 100%; }
.bizcard__body { position: absolute; inset: 0 0 0 9%; display: grid; align-content: center; justify-items: center; text-align: center; padding: 3cqw 3cqw 3cqw 4cqw; }
.bc-office { font-family: "El Messiri", serif; font-weight: 700; font-size: 7.4cqw; line-height: 1.15; }
.bc-name-ar { font-family: "Tajawal", sans-serif; font-weight: 500; font-size: 5.2cqw; line-height: 1.3; margin-top: 1.4cqw; }
.bc-name-lat { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 5.6cqw; line-height: 1.1; letter-spacing: .02em; }
.bc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; width: 100%; margin-top: 3cqw; font-size: 2.65cqw; line-height: 1.45; }
.bc-cols div { display: grid; justify-items: center; }
.bc-cols b { font-weight: 800; font-size: 3.6cqw; line-height: 1.3; }
.bc-cols [lang="ar"] { font-family: "Tajawal", sans-serif; font-weight: 700; font-size: 2.9cqw; }
.bc-cols [lang="ar"] b { font-family: "Tajawal", sans-serif; font-size: 3.9cqw; font-weight: 700; }
.bc-rule { display: block; width: 78%; height: 2px; margin: 2.4cqw auto 1.8cqw; background: linear-gradient(90deg, transparent, #c99a3f 20%, #f0d590 50%, #c99a3f 80%, transparent); }
.bc-addr { font-family: "Tajawal", sans-serif; font-weight: 700; font-size: 3cqw; line-height: 1.35; }
.bc-tel { font-family: "Tajawal", sans-serif; font-weight: 700; font-size: 3.4cqw; margin-top: .6cqw; }
.bc-tel b { font-family: "Manrope", sans-serif; font-weight: 800; }
.bc-mail { font-family: "Manrope", sans-serif; font-weight: 600; font-size: 3cqw; margin-top: .4cqw; }

/* Verso */
.bizcard__back { background: radial-gradient(120% 120% at 20% 0%, #231c11, #070605 70%); color: var(--ivory); display: grid; align-content: center; justify-items: center; text-align: center; gap: 6px; padding: 7%; container-type: inline-size; }
.bizcard__back::before { content: ""; position: absolute; inset: 4%; border: 1px solid rgba(236, 208, 140, .35); border-radius: 8px; pointer-events: none; }
.bizcard__logo { width: 19cqw; height: 19cqw; color: var(--accent); margin-bottom: 1cqw; }
.bb-name { font-family: var(--f-display); font-size: 6.6cqw; font-weight: 700; line-height: 1.15; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-t { font-size: 3.2cqw; color: rgba(251, 248, 242, .75); }
.bizcard__back .bc-rule { width: 40%; margin: 1.6cqw auto; }
.bb-row { display: flex; align-items: center; gap: 2cqw; font-size: 3.3cqw; font-weight: 600; line-height: 1.4; }
.bb-row svg { width: 3.8cqw; height: 3.8cqw; color: var(--accent); }

.stage__shadow { position: absolute; bottom: 30px; width: 70%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); filter: blur(6px); animation: shadow 6s ease-in-out 1.7s infinite; z-index: -1; }
@keyframes shadow { 50% { transform: scaleX(.85); opacity: .6; } }
.stage__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(251, 248, 242, .55); }
.stage__hint svg { width: 16px; height: 16px; color: var(--accent); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Chiffres */
.facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 7vw, 80px); border-top: 1px solid var(--line-dark); padding-inline-start: clamp(0px, 8vw, 140px); }
.facts li { display: grid; gap: 4px; padding: 24px 20px 0 0; }
html[dir="rtl"] .facts li { padding: 24px 0 0 20px; }
.facts li + li { border-inline-start: 1px solid var(--line-dark); padding-inline-start: 22px; }
.facts b { font-family: var(--f-display); font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; line-height: 1.15; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { font-size: 14px; color: rgba(251, 248, 242, .6); }

/* ---------- Bandeau défilant ---------- */
.ticker { overflow: hidden; background: var(--gold-grad); color: var(--night); 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.4rem; font-weight: 700; padding: 0 26px; white-space: nowrap; }
html[dir="rtl"] .ticker span { font-size: 1.25rem; }
.ticker i { width: 7px; height: 7px; background: var(--night); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Profil ---------- */
.profile { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.profile__main .lead { color: var(--text); margin-bottom: 18px; font-size: 1.2rem; }
.profile__main > p:not(.lead):not(.label) { color: var(--muted); margin-bottom: 30px; }
.plaque { position: relative; padding: 38px 32px 30px; border-radius: 6px; background: var(--night); color: var(--ivory); overflow: hidden; }
.plaque::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line-dark); border-radius: 3px; pointer-events: none; }
.plaque::after { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 154, 63, .3), transparent 65%); }
.plaque__logo { width: 76px; height: 76px; color: var(--accent); margin: 0 auto 18px; display: block; }
.ledger { display: grid; }
.ledger div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-dark); font-size: 14.5px; }
.ledger dt { color: var(--accent); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
html[dir="rtl"] .ledger dt { letter-spacing: 0; font-size: 14px; }
.quote { margin-top: 22px; padding: 22px 26px; border-inline-start: 3px solid var(--accent); background: var(--paper); font-family: var(--f-display); font-size: 1.35rem; font-style: italic; line-height: 1.45; color: var(--text); }
html[dir="rtl"] .quote { font-style: normal; font-size: 1.2rem; }

/* ---------- Domaines ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 28px; background: var(--white);
  border: 1px solid var(--line-2); border-radius: 6px; 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: 0 30px 50px -30px rgba(23, 20, 15, .45); border-color: rgba(201, 154, 63, .4); }
.tile:hover::before { transform: scaleX(1); }
.tile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.tile__ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--accent-2); transition: transform .5s var(--ease); }
.tile:hover .tile__ic { transform: rotate(-10deg) scale(1.06); }
.tile__ic svg { width: 25px; height: 25px; }
.tile__n { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.6rem; color: var(--accent); }
.tile h3 { font-size: 1.7rem; }
html[dir="rtl"] .tile h3 { font-size: 1.4rem; }
.tile p { font-size: 14.5px; color: var(--muted); }
.tile ul { display: grid; gap: 6px; font-size: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.tile li { display: flex; gap: 10px; align-items: baseline; }
.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: 10px; align-self: flex-start; }
.tile--gold { background: var(--night); color: var(--ivory); border-color: rgba(201, 154, 63, .5); }
.tile--gold .tile__ic { background: var(--gold-grad); color: var(--night); }
.tile--gold p { color: rgba(251, 248, 242, .7); }
.tile--gold ul { border-color: var(--line-dark); }
.tile--gold h3 { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile--gold .link { color: var(--accent-2); }
.tile--gold::after { content: ""; position: absolute; width: 300px; height: 300px; inset-inline-end: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 154, 63, .3), transparent 65%); pointer-events: none; }

/* ---------- Méthode ---------- */
#methode::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(201, 154, 63, .14), transparent 70%); pointer-events: none; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { position: relative; padding: 34px 26px 30px; border: 1px solid var(--line-dark); border-radius: 6px; background: rgba(255, 255, 255, .02); transition: border-color .3s, background .3s; }
.steps li:hover { border-color: var(--accent); background: rgba(201, 154, 63, .06); }
.steps__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 20px; font-family: "Cormorant Garamond", serif; font-size: 1.6rem; font-weight: 700; color: var(--night); background: var(--gold-grad); }
.steps h3 { font-size: 1.55rem; margin-bottom: 8px; color: var(--ivory); }
html[dir="rtl"] .steps h3 { font-size: 1.3rem; }
.steps p { color: rgba(251, 248, 242, .62); 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 noir & or ---------- */
.bk { border: 1px solid rgba(201, 154, 63, .3); box-shadow: 0 40px 80px -40px rgba(23, 20, 15, .45); }
.chip.sel svg, .mode.sel svg { color: var(--accent); }
.mode.sel { background: #fbf4e4; }
.urgent { position: relative; overflow: hidden; border: 1px solid rgba(201, 154, 63, .4); }
.urgent strong { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.urgent__tel { color: var(--accent-2); }
.qa[open] .qa__x { color: var(--accent); }
.qa h3 { font-weight: 600; }
.cards a { word-break: break-word; }
.contact__map iframe { filter: grayscale(.6) sepia(.15) contrast(1.05); }
.footer { background: var(--night); }
.footer__logo { color: var(--accent); }
.footer__word { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; font-size: 14px; }
  .header__cta { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .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: var(--night); 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-dark); 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-2); }
  .menu-open .header::before { background: var(--night); }
  .hero { min-height: 0; }
  .hero__grid, .profile, .faq, .contact { grid-template-columns: 1fr; }
  .hero__grid, .facts { padding-inline-start: clamp(40px, 9vw, 80px); }
  .stage { order: -1; }
  .bizcard { width: min(100%, 520px); }
  .sec__head--split { grid-template-columns: 1fr; gap: 0; }
  .sec__head--split .h2 { margin-bottom: 22px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .faq__side { position: static; }
  .bk__date { grid-template-columns: 1fr; }
  .contact__map { min-height: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand__txt small { display: none; }
  .brand__txt strong { font-size: 1.15rem; }
  .brand__logo, .brand__logo svg { width: 42px; height: 42px; }
  .lang button { min-width: 32px; }
  .hero { padding-top: calc(var(--header-h) + 26px); }
  .hero__swoosh { width: 64px; opacity: .75; }
  .hero__grid, .facts { padding-inline-start: 44px; }
  .hero__grid { gap: 30px; }
  .stage { margin-inline-start: -28px; gap: 16px; }
  .bizcard__face { border-radius: 10px; }
  /* Lignes du bas de la carte : plus grandes sur mobile */
  .bc-addr { font-size: 3.4cqw; }
  .bc-tel { font-size: 4.2cqw; }
  .bc-mail { font-size: 3.6cqw; }
  .bc-cols { font-size: 2.9cqw; }
  .bc-cols [lang="ar"] { font-size: 3.1cqw; }
  .bb-row { font-size: 4cqw; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts li { padding-inline-end: 12px; }
  .facts span { font-size: 13px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { padding: 26px 22px 22px; }
  .ledger div { grid-template-columns: 1fr; gap: 2px; }
  .plaque { padding: 30px 22px 22px; }
  .steps { grid-template-columns: 1fr; }
  .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(11, 10, 8, .96); -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(--ivory); font-size: 14px; font-weight: 700; }
  .mbar__main { background: var(--gold-grad); color: var(--night) !important; }
  .footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__copy > * { opacity: 1; transform: none; }
  .sw { stroke-dashoffset: 0; }
}
