/* =========================================================
   Maître Ahmed Sryej — Avocat à Taza
   Palette : bronze / noir / blanc
   ========================================================= */
:root {
  --night: #121110;       /* encre de la carte */
  --night-2: #211e1b;
  --slate: #2c2722;
  --copper: #b08d57;      /* bronze (accent) */
  --copper-2: #ead9bb;
  --copper-ink: #8a6534;  /* bronze lisible sur fond clair */
  --ivory: #fbfaf7;       /* papier */
  --paper: #f3efe7;
  --paper-2: #e7dfd1;
  --text: #121110;
  --muted: #5e5850;
  --line: rgba(18, 17, 16, .14);
  --line-2: rgba(18, 17, 16, .07);
  --line-dark: rgba(234, 217, 187, .17);
  --white: #ffffff;
  --wa: #1fa855;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-card: "Barlow Condensed", "Arial Narrow", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}
html[dir="rtl"] {
  --f-display: "Noto Kufi Arabic", "Fraunces", serif;
  --f-body: "Noto Sans Arabic", "Inter", 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: 16.5px; line-height: 1.95; }
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: -.015em; }
html[dir="rtl"] :is(h1, h2, h3, h4) { font-weight: 700; 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(--copper-2); color: var(--night); }
:focus-visible { outline: 2px solid var(--copper-ink); 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(--copper-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 26px; border-radius: 4px; font-weight: 600; 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--copper { background: var(--night); color: var(--ivory); box-shadow: 0 12px 30px -14px rgba(18, 17, 16, .7), inset 0 -3px 0 var(--copper); }
.btn--copper:hover { transform: translateY(-2px); background: var(--slate); }
.sec--night .btn--copper, .footer .btn--copper { background: var(--copper-2); color: var(--night); box-shadow: inset 0 -3px 0 var(--copper); }
.btn--dark { background: var(--night); color: var(--ivory); }
.btn--dark:hover { background: var(--slate); }
.btn--ghost { border-color: var(--line); color: var(--text); background: var(--white); }
.btn--ghost:hover { border-color: var(--night); }
.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: 600; font-size: 14.5px; color: var(--copper-ink); }
.link svg { width: 16px; height: 16px; }

/* ---------- Libellés de section ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.sec--paper { background: var(--paper); }
.sec--night { background: var(--night); color: var(--ivory); }
.sec--night em { color: var(--copper-2); }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: 22px; }
html[dir="rtl"] .label { letter-spacing: 0; font-size: 14.5px; }
.label__n { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-family: "Fraunces", serif; font-size: 13px; font-style: italic; letter-spacing: 0; }
.label--light { color: var(--copper); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 22px; }
html[dir="rtl"] .h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.sec--night .lead { color: rgba(251, 250, 247, .66); }
.sec__head { margin-bottom: clamp(44px, 6vw, 70px); max-width: 760px; }
.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(--text); transition: height .3s; }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(251, 250, 247, 0); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; z-index: -1; }
.header.scrolled::before { background: rgba(251, 250, 247, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.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: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--copper); background: var(--night); box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--line); }
.brand__logo svg { width: 30px; height: 30px; }
.brand__txt { display: grid; line-height: 1.2; }
.brand__txt strong { font-family: var(--f-card); font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html[dir="rtl"] .brand__txt strong { font-family: "Noto Kufi Arabic", sans-serif; font-size: 1.05rem; letter-spacing: 0; }
.brand__txt small { font-size: 12px; color: var(--copper-ink); }
.nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav > a { position: relative; opacity: .78; transition: opacity .2s; padding: 6px 0; }
.nav > a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--copper); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover, .nav > a.active { opacity: 1; }
.nav > a.active::after, .nav > a:hover::after { transform: scaleX(1); }
.nav__foot { display: none; }
.header__end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 100px; padding: 3px; background: var(--white); }
.lang button { min-width: 36px; height: 30px; border-radius: 100px; font-size: 12.5px; font-weight: 600; opacity: .65; transition: all .2s; }
.lang button.on { background: var(--night); color: var(--ivory); opacity: 1; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; position: relative; background: var(--white); }
.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 (papier de la carte) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(40px, 5vw, 60px);
  background:
    radial-gradient(50% 60% at 80% 35%, rgba(176, 141, 87, .18), transparent 70%),
    radial-gradient(40% 50% at 5% 100%, rgba(176, 141, 87, .16), transparent 70%),
    var(--ivory);
}
html[dir="rtl"] .hero { background:
    radial-gradient(50% 60% at 20% 35%, rgba(176, 141, 87, .18), transparent 70%),
    radial-gradient(40% 50% at 95% 100%, rgba(176, 141, 87, .16), transparent 70%),
    var(--ivory); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .38; will-change: transform; }
.orb--1 { width: 460px; height: 460px; background: #e3c99c; top: -120px; inset-inline-start: 4%; animation: orb1 18s ease-in-out infinite alternate; }
.orb--2 { width: 380px; height: 380px; background: #efdcbc; bottom: -140px; inset-inline-end: 8%; animation: orb2 22s ease-in-out infinite alternate; }
.orb--3 { width: 300px; height: 300px; background: #d2b07a; top: 35%; left: 45%; opacity: .35; animation: orb3 26s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(140px, 120px) scale(1.15); } }
@keyframes orb2 { to { transform: translate(-160px, -90px) scale(1.2); } }
@keyframes orb3 { to { transform: translate(-120px, 80px) scale(.85); } }
.hero__rules { position: absolute; inset: 0; opacity: .6;
  background: repeating-linear-gradient(0deg, transparent 0 47px, rgba(18, 17, 16, .055) 47px 48px);
  -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  animation: rules 12s linear infinite; }
@keyframes rules { to { background-position: 0 48px; } }
.drift { position: absolute; color: var(--copper-ink); opacity: 0; animation: drift 16s linear infinite; }
.drift--1 { width: 34px; height: 34px; left: 12%; animation-delay: 0s; }
.drift--2 { width: 22px; height: 22px; left: 38%; animation-delay: -5s; animation-duration: 20s; }
.drift--3 { width: 28px; height: 28px; left: 62%; animation-delay: -10s; animation-duration: 18s; }
.drift--4 { width: 18px; height: 18px; left: 86%; animation-delay: -3s; animation-duration: 22s; }
@keyframes drift { 0% { top: 105%; opacity: 0; transform: rotate(0); } 15%, 80% { opacity: .14; } 100% { top: -8%; opacity: 0; transform: rotate(40deg); } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: 26px; }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15px; }
.kicker__line { width: 44px; height: 2px; background: var(--copper); }
.hero__title { display: grid; margin-bottom: 20px; }
.hero__pre { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--copper-ink); }
html[dir="rtl"] .hero__pre { font-family: var(--f-body); font-style: normal; font-weight: 500; }
.hero__name { font-family: var(--f-card); font-weight: 700; text-transform: uppercase; font-size: clamp(3.6rem, 8.6vw, 7rem); line-height: .9; letter-spacing: .01em; color: var(--night); }
html[dir="rtl"] .hero__name { font-family: "Noto Kufi Arabic", sans-serif; font-weight: 800; text-transform: none; font-size: clamp(2.8rem, 6.6vw, 5.4rem); line-height: 1.35; letter-spacing: 0; }
.hero__role { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; font-weight: 600; color: var(--night); padding-block: 14px; border-block: 1px solid var(--line); margin-bottom: 22px; }
.hero__role svg { width: 28px; height: 28px; color: var(--copper-ink); }
.hero__text { font-size: 1.06rem; color: var(--muted); max-width: 56ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Carte de visite 3D (recto / verso) ---------- */
.hero__media { position: relative; justify-self: center; width: min(100%, 560px); }
.vstage { display: grid; justify-items: center; gap: 18px; }
.vcard { display: block; width: 100%; perspective: 1600px; container-type: inline-size; text-align: center; -webkit-tap-highlight-color: transparent; animation: deal 1.4s var(--ease) both; }
.vcard__float { display: block; transform-style: preserve-3d; animation: floaty 7s ease-in-out infinite; }
html[dir="rtl"] .vcard__float { animation-name: floaty-r; }
.vcard__inner { position: relative; display: block; aspect-ratio: 1.6; transform-style: preserve-3d; animation: turn 14s var(--ease) 2s infinite; transition: transform .9s var(--ease); }
.vcard:hover .vcard__inner { animation-play-state: paused; }
.vcard.flipped .vcard__inner { animation: none; transform: rotateY(180deg); }
.vface { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 1.4cqw; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.vface--front {
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%) -100% 0 / 250% 100% no-repeat, #fff;
  color: #111010; padding: 3.6cqw 4.6cqw 3.4cqw; box-shadow: 0 50px 70px -40px rgba(18, 17, 16, .55), 0 0 0 1px rgba(18, 17, 16, .08);
  border-inline-start: .8cqw solid; border-image: linear-gradient(180deg, #8a6534, var(--copper), #8a6534) 1;
  animation: sheen 7s ease-in-out 2.2s infinite;
}
.vf__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2cqw; }
.vf__fr, .vf__ar { display: grid; justify-items: center; line-height: 1.12; }
.vf__fr b { font-family: var(--f-card); font-size: 6.6cqw; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.vf__fr i { font-family: var(--f-card); font-style: normal; font-weight: 600; font-size: 4cqw; line-height: 1.1; }
.vf__ar b { font-family: "Noto Kufi Arabic", sans-serif; font-size: 5.6cqw; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.vf__ar i { font-family: "Noto Kufi Arabic", sans-serif; font-style: normal; font-weight: 700; font-size: 3.6cqw; line-height: 1.3; color: #26221e; }
.vf__logo { width: 21cqw; height: 21cqw; margin-inline: -4cqw; filter: drop-shadow(0 .4cqw .4cqw rgba(18, 17, 16, .2)); }
.vf__agree { display: grid; justify-items: center; margin-top: .6cqw; padding-bottom: 1.2cqw; border-bottom: .45cqw solid #111010; }
.vf__agree span:first-child { font-family: "Noto Kufi Arabic", sans-serif; font-weight: 700; font-size: 3.3cqw; line-height: 1.35; }
.vf__agree span:last-child { font-family: var(--f-body); font-weight: 600; font-size: 2.8cqw; letter-spacing: .02em; }
.vf__addr { display: grid; justify-items: center; gap: .9cqw; margin-top: auto; padding-top: 1.6cqw; line-height: 1.35; }
.vf__line { display: inline-flex; align-items: center; gap: 1cqw; font-family: "Noto Sans Arabic", sans-serif; font-weight: 600; font-size: 3cqw; color: #111010; white-space: nowrap; }
.vf__line svg { width: 3cqw; height: 3cqw; color: #9a7643; }
.vf__near { font-family: "Noto Sans Arabic", sans-serif; font-weight: 500; font-size: 2.7cqw; color: #6b5a45; }
.vf__line--fr { font-family: var(--f-card); font-weight: 600; font-size: 3.2cqw; letter-spacing: .01em; color: #26221e; }
.vf__tels { display: flex; justify-content: center; gap: 1.6cqw; margin-top: .6cqw; }
.vf__tels > span { display: inline-flex; align-items: baseline; gap: 1cqw; padding: .5cqw 2cqw; border-radius: 100px; background: #111010; color: #fff; font-family: var(--f-card); font-weight: 700; font-size: 3.8cqw; letter-spacing: .03em; white-space: nowrap; }
.vf__tels small { font-size: 2.6cqw; font-weight: 600; color: #e0c393; letter-spacing: .08em; text-transform: uppercase; }
.vface--back {
  transform: rotateY(180deg); align-items: center; justify-content: center; gap: 1.4cqw; padding: 6cqw;
  background: radial-gradient(70% 90% at 50% 0%, #2c2722, var(--night) 70%); color: var(--copper-2);
  box-shadow: 0 50px 70px -40px rgba(18, 17, 16, .7), inset 0 0 0 1.4cqw var(--night), inset 0 0 0 calc(1.4cqw + 1px) rgba(176, 141, 87, .45);
}
.vb__logo { width: 16cqw; height: 16cqw; color: var(--copper); margin-bottom: 1cqw; }
.vb__ar { font-family: "Noto Kufi Arabic", sans-serif; font-weight: 700; font-size: 4.4cqw; color: #fff; line-height: 1.5; }
.vb__fr { font-family: "Fraunces", serif; font-style: italic; font-size: 3.8cqw; }
.vb__hours { margin-top: 2cqw; padding: .8cqw 2.6cqw; border: 1px solid rgba(176, 141, 87, .5); border-radius: 100px; font-family: var(--f-card); font-weight: 600; font-size: 3.2cqw; letter-spacing: .14em; color: var(--copper); }
.vstage__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.vstage__hint svg { width: 16px; height: 16px; color: var(--copper-ink); animation: spin 6s linear infinite; }
@keyframes deal { from { opacity: 0; transform: translateY(60px) rotateX(55deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-12px); } }
@keyframes floaty-r { 0%, 100% { transform: rotate(2.5deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-12px); } }
@keyframes turn { 0%, 40% { transform: rotateY(0); } 50%, 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes sheen { 0%, 60% { background-position: -100% 0, 0 0; } 85%, 100% { background-position: 200% 0, 0 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; padding: 24px 24px 0 0; }
html[dir="rtl"] .facts li { padding: 24px 0 0 24px; }
.facts li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.facts b { font-family: var(--f-card); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--night); line-height: 1.15; }
html[dir="rtl"] .facts b { font-family: "Noto Kufi Arabic", sans-serif; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.6; }
.facts b[dir="ltr"] { justify-self: start; }
.facts span { font-size: 14px; color: var(--muted); }

/* ---------- Bandeau défilant ---------- */
.ticker { overflow: hidden; background: var(--night); color: var(--ivory); padding: 18px 0; direction: ltr; border-block: 3px solid var(--copper); }
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker__track > div { display: flex; align-items: center; }
.ticker span { font-family: var(--f-card); font-size: 1.45rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 0 26px; white-space: nowrap; }
html[dir="rtl"] .ticker span { font-family: "Noto Kufi Arabic", sans-serif; font-size: 1.1rem; text-transform: none; letter-spacing: 0; }
.ticker i { width: 9px; height: 14px; background: var(--copper); border-radius: 50% 50% 2px 2px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Profil : sceau tournant + plaque ---------- */
.profile { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.profile__media { position: relative; display: grid; justify-items: center; }
.plaque { position: relative; width: min(100%, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.plaque__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.plaque__ring text { font-family: var(--f-card); font-weight: 600; font-size: 13.5px; letter-spacing: .1em; fill: var(--copper-ink); }
.plaque::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 1px dashed rgba(138, 101, 52, .4); }
.plaque__core { position: relative; width: 62%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2c2722, var(--night) 70%); color: var(--copper);
  box-shadow: 0 40px 60px -30px rgba(18, 17, 16, .6), inset 0 0 0 10px var(--night), inset 0 0 0 11px rgba(176, 141, 87, .45); }
.plaque__core svg { width: 52%; height: 52%; }
.plate { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; margin-top: -26px; padding: 16px 34px 14px; border-radius: 4px;
  background: linear-gradient(180deg, #fff, var(--paper)); border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(18, 17, 16, .5); line-height: 1.35; }
.plate small { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-ink); }
html[dir="rtl"] .plate small { letter-spacing: 0; font-size: 12.5px; }
.plate strong { font-family: "Noto Kufi Arabic", sans-serif; font-size: 1.25rem; font-weight: 800; }
.plate span { font-family: var(--f-card); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; }
.profile__cap { display: flex; align-items: center; justify-content: center; text-align: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.profile__cap svg { width: 16px; height: 16px; color: var(--copper-ink); }
.profile__main > p:not(.label) { margin-bottom: 18px; }
.profile__main > p.lead { color: var(--text); }
.ledger { margin: 30px 0 34px; border-top: 1px solid var(--line); }
.ledger div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-size: 13.5px; font-weight: 600; color: var(--copper-ink); }
.ledger dd { font-size: 15px; }

/* ---------- Affaires (grille de dossiers) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, background .45s, color .45s;
}
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
html[dir="rtl"] .tile::before { transform-origin: right; }
.tile__n { position: absolute; top: 18px; inset-inline-end: 22px; font-family: "Fraunces", serif; font-style: italic; font-size: 2.4rem; line-height: 1; color: rgba(138, 101, 52, .2); transition: color .45s; }
.tile__ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--copper-ink); margin-bottom: 8px; transition: background .45s, color .45s; }
.tile__ic svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.45rem; }
html[dir="rtl"] .tile h3 { font-size: 1.15rem; }
.tile p { font-size: 14.5px; color: var(--muted); transition: color .45s; }
.tile .link { margin-top: auto; padding-top: 10px; }
.tile:hover, .tile--seal { background: var(--night); color: var(--ivory); transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(18, 17, 16, .6); }
.tile--seal { transform: none; }
.tile:hover::before, .tile--seal::before { transform: scaleX(1); }
.tile:hover p, .tile--seal p { color: rgba(251, 250, 247, .7); }
.tile:hover .tile__ic, .tile--seal .tile__ic { background: rgba(176, 141, 87, .16); color: var(--copper-2); }
.tile:hover .tile__n, .tile--seal .tile__n { color: rgba(176, 141, 87, .45); }
.tile:hover .link, .tile--seal .link { color: var(--copper-2); }

/* ---------- Formation ---------- */
.path { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.path__head { position: sticky; top: calc(var(--header-h) + 30px); }
.path__seal { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 12px 22px 12px 12px; border: 1px solid var(--line-dark); border-radius: 100px; color: var(--copper-2); font-weight: 600; }
html[dir="rtl"] .path__seal { padding: 12px 12px 12px 22px; }
.path__seal svg { width: 44px; height: 44px; padding: 6px; border-radius: 50%; background: rgba(176, 141, 87, .12); }
.degrees { position: relative; display: grid; gap: 16px; }
.degrees::before { content: ""; position: absolute; top: 30px; bottom: 30px; inset-inline-start: 31px; width: 1px; background: linear-gradient(var(--copper), rgba(176, 141, 87, .1)); }
.degrees li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: center; padding: 26px 28px 26px 0; border-radius: 14px; transition: background .3s; }
html[dir="rtl"] .degrees li { padding: 26px 0 26px 28px; }
.degrees li:hover { background: var(--night-2); }
.degrees__n { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--night); border: 1px solid var(--copper); font-family: var(--f-display); font-size: 1.35rem; font-style: italic; color: var(--copper-2); }
.degrees li:last-child .degrees__n { background: linear-gradient(135deg, var(--copper-2), var(--copper)); color: var(--night); border-color: transparent; }
.degrees h3 { font-size: 1.6rem; margin-bottom: 4px; }
html[dir="rtl"] .degrees h3 { font-size: 1.45rem; }
.degrees p { color: rgba(251, 250, 247, .6); font-size: 15px; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 40px; height: 2px; background: var(--copper); }
.steps__n { display: block; font-family: var(--f-display); font-size: 3.4rem; line-height: 1; color: var(--copper-ink); margin-bottom: 14px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Rendez-vous ---------- */
.bk { position: relative; background: var(--ivory); color: var(--text); border-radius: 16px; 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(--copper); 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(--copper); border-color: var(--copper); 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: 100px; font-size: 14.5px; background: var(--white); transition: all .2s; }
.chip svg { width: 18px; height: 18px; color: var(--copper-ink); }
.chip:hover { border-color: var(--night); }
.chip.sel { background: var(--night); border-color: var(--night); color: var(--white); }
.chip.sel svg { color: var(--copper-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: 10px; background: var(--white); text-align: start; transition: all .2s; }
.mode svg { width: 26px; height: 26px; color: var(--copper-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(--copper); box-shadow: 0 0 0 1px var(--copper) inset; background: #faf4ea; }

.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: 10px; 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: 10px;
  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(--copper); box-shadow: 0 0 0 3px rgba(176, 141, 87, .25); }
.field input.invalid { border-color: #b0412e; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; 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(--copper); 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(--copper-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: 14px; 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(251, 250, 247, .66); font-size: 15px; margin-bottom: 18px; }
.urgent__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 700; color: var(--copper-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(--copper-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: 12px; border: 1px solid var(--line-2); }
.cards svg { width: 22px; height: 22px; color: var(--copper-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(--copper-ink); }
.contact__map { position: relative; min-height: 440px; border-radius: 14px; 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: 100px; background: var(--night); color: var(--ivory); font-size: 14px; font-weight: 600; }
.contact__dir svg { width: 16px; height: 16px; color: var(--copper-2); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(251, 250, 247, .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(--copper); }
.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(--copper); 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(--copper-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(251, 250, 247, .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(251, 250, 247, .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; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; font-size: 14px; }
  .header__cta { display: none; }
  .bento { 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(--ivory); font-size: 1.35rem; font-family: var(--f-display);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .35s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav > a::after { display: none; }
  .nav__foot { display: grid; gap: 8px; margin-top: auto; font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--copper-ink); }
  .menu-open .header::before { background: var(--ivory); }
  .hero__grid, .profile, .path, .faq, .contact { grid-template-columns: 1fr; }
  .sec__head--split { grid-template-columns: 1fr; gap: 0; }
  .sec__head--split .h2 { margin-bottom: 22px; }
  .hero__media { order: -1; width: min(100%, 520px); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .path__head, .faq__side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .bk__date { grid-template-columns: 1fr; }
  .contact__map { min-height: 360px; }
  .plaque { width: min(78%, 320px); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand__txt small { display: none; }
  .brand__logo { width: 40px; height: 40px; }
  .lang button { min-width: 32px; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { padding: 6px 4px 0; }
  .facts li { padding-inline-end: 12px; }
  .facts span { font-size: 13px; }
  /* Mobile : affaires en carrousel horizontal */
  .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 82%; scroll-snap-align: center; }
  .tile:hover { transform: none; }
  .ledger div { grid-template-columns: 1fr; gap: 2px; }
  .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(18, 17, 16, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 2px solid var(--copper); 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: 600; }
  .mbar__main { background: var(--copper-2); color: var(--night) !important; }
  .footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
