/* =========================================================================
   Maître Atika Ellouaziri — site v8 (19/10/2026) : « vivant », lumineux, très lisible.
   Blanc · bleu royal · or — motif zellige — animations douces. Aucun argument commercial.
   ========================================================================= */
:root {
  --b9: #0E2457;
  --b8: #15306E;
  --b6: #1E4FB5;
  --b5: #2E64D6;
  --sky: #F3F7FE;
  --sky2: #E5EDFB;
  --gold: #C9A04F;
  --gold-l: #E7CB8B;
  --gold-d: #8A6420;
  --ink: #1A2747;
  --muted: #47536F;
  --line: #DCE4F2;
  --white: #FFFFFF;
  --grad: linear-gradient(135deg, #0E2457 0%, #173A86 52%, #2559C4 100%);
  --grad-soft: linear-gradient(135deg, #1E4FB5 0%, #2E64D6 100%);
  --grad-gold: linear-gradient(100deg, #94681C 0%, #C99A45 38%, #E2C27C 50%, #C99A45 62%, #94681C 100%);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
  --ar: "Noto Naskh Arabic", "Amiri", "Traditional Arabic", serif;
  --ar-h: "Amiri", "Noto Naskh Arabic", serif;
  --wrap: 1240px;
  --gut: 28px;
  --r: 20px;
  --sh: 0 24px 50px -24px rgba(14, 36, 87, .35);
  --sh-s: 0 12px 30px -16px rgba(14, 36, 87, .3);
  --ease: cubic-bezier(.2, .65, .25, 1);
  --zel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A04F' stroke-width='1.1'%3E%3Crect x='26' y='26' width='28' height='28'/%3E%3Crect x='26' y='26' width='28' height='28' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='5'/%3E%3Cpath d='M0 0L20.2 20.2M80 0L59.8 20.2M0 80L20.2 59.8M80 80L59.8 59.8M40 0v20.2M40 80V59.8M0 40h20.2M80 40H59.8'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; font-feature-settings: "lnum" 1 !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.7 var(--sans); text-rendering: optimizeLegibility; overflow-x: hidden; }
[dir="rtl"] body { font: 500 19px/1.95 var(--ar); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { position: relative; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.c { text-align: center; margin-top: 46px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--b8); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.jf { display: block; width: auto; height: 100%; }

/* ---------- animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -20px) scale(1.06); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 160, 79, .55); } 100% { box-shadow: 0 0 0 12px rgba(201, 160, 79, 0); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-r { to { transform: translateX(50%); } }
.js .ia { animation: rise .95s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- typographie commune ---------- */
.k { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font: 700 14px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.k::before { content: ""; width: 36px; height: 2px; border-radius: 2px; background: var(--grad-gold); flex: none; }
.k--c { justify-content: center; }
.k--c::after { content: ""; width: 36px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.k--light { color: var(--gold-l); }
[dir="rtl"] .k { font: 700 16px/1.5 var(--ar); letter-spacing: 0; }
.h2 { font: 700 clamp(2.4rem, 4.2vw, 3.6rem)/1.08 var(--serif); color: var(--b9); letter-spacing: -.01em; }
.h2 em, .hx__h1 em, .ph__h1 em {
  font-style: italic; background: var(--grad-gold); background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: shine 6s linear infinite; padding-inline-end: .06em;
}
[dir="rtl"] .h2 { font: 700 clamp(2.1rem, 3.6vw, 3rem)/1.45 var(--ar-h); }
[dir="rtl"] .h2 em, [dir="rtl"] .hx__h1 em, [dir="rtl"] .ph__h1 em { font-style: normal; }
.lead { font-size: 19.5px; line-height: 1.65; color: var(--muted); margin-top: 18px; max-width: 760px; }
[dir="rtl"] .lead { font-size: 20px; line-height: 1.9; }
.sh { max-width: 820px; margin-bottom: 56px; }
.sh--c { margin-inline: auto; text-align: center; }
.sh--c .lead { margin-inline: auto; }
.sh--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.sh--split .lead { margin-top: 0; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 60px; border: 1.5px solid transparent;
  font: 600 16.5px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
[dir="rtl"] .btn { font: 700 17px/1.4 var(--ar); letter-spacing: 0; }
.btn .arr { width: 19px; height: 19px; stroke-width: 1.9; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn .arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.btn--grad { background: var(--grad); background-size: 140% 140%; color: #fff; box-shadow: 0 16px 32px -14px rgba(30, 79, 181, .75); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(30, 79, 181, .85); background-position: 100% 0; }
.btn--line { border-color: var(--b8); color: var(--b8); background: var(--white); }
.btn--line:hover { background: var(--b8); color: #fff; transform: translateY(-2px); }
.btn--navy { background: var(--b8); color: #fff; }
.btn--navy:hover { background: var(--b6); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--b8); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .45); }
.lnk { display: inline-flex; align-items: center; gap: 10px; font: 600 16.5px/1.3 var(--sans); color: var(--b6); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
[dir="rtl"] .lnk { font: 700 17px/1.5 var(--ar); }
.lnk:hover { color: var(--b9); }
.arr { width: 19px; height: 19px; flex: none; stroke-width: 1.8; }
[dir="rtl"] .arr { transform: scaleX(-1); }

.sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.sec--tint { background: linear-gradient(180deg, var(--sky) 0%, #FAFCFF 100%); }

/* ---------- bandeau supérieur ---------- */
.tp { background: var(--grad); color: #fff; font-size: 14.5px; }
[dir="rtl"] .tp { font-size: 15.5px; }
.tp__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.tp__role { display: flex; flex-wrap: wrap; font-weight: 500; }
.tp__role span + span::before { content: "✦"; margin-inline: 12px; color: var(--gold-l); font-size: 10px; vertical-align: 2px; }
.tp__ct { display: flex; align-items: center; gap: 22px; }
.tp__ct a, .tp__h { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.tp__h { font-weight: 500; opacity: .9; }
.tp__ct a:hover { color: var(--gold-l); }
.tp__ct svg { width: 16px; height: 16px; stroke-width: 1.8; color: var(--gold-l); }
.tp__lang { padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 30px; }
.tp__lang:hover { background: #fff; color: var(--b8) !important; }
.tp__lang[lang="ar"] { font: 700 15.5px/1.4 var(--ar); }
.tp__lang[lang="fr"] { font: 600 14.5px/1.4 var(--sans); }

/* ---------- en-tête ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 14px 34px -22px rgba(14, 36, 87, .45); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 90px; transition: min-height .3s; }
.hd.is-scrolled .hd__in { min-height: 76px; }
.hd__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--b9); flex: none; }
.hd__logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sky); border: 1.5px solid var(--gold); padding: 6px 0 7px; }
.hd__logo .jf { height: 42px; }
.hd__txt { display: flex; flex-direction: column; line-height: 1.15; }
.hd__txt b { font: 700 26px/1.1 var(--serif); }
.hd__txt small { font: 600 14px/1.3 var(--sans); color: var(--gold-d); margin-top: 4px; letter-spacing: .02em; }
[dir="rtl"] .hd__txt b { font: 700 25px/1.4 var(--ar-h); }
[dir="rtl"] .hd__txt small { font: 600 15px/1.5 var(--ar); margin-top: 0; }

.nv__list { display: flex; align-items: center; gap: 4px; }
.nv__a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 12px 15px; background: none; border: 0; cursor: pointer; font: 500 17px/1.2 var(--sans); color: var(--b9); text-decoration: none; border-radius: 30px; transition: color .2s, background-color .2s; }
[dir="rtl"] .nv__a { font: 600 18px/1.5 var(--ar); }
.nv__a:hover { color: var(--b6); background: var(--sky); }
.nv__a::after { content: ""; position: absolute; inset-inline: 15px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--grad-gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nv__a[aria-current="page"]::after, .nv__it[data-current] > .nv__a::after, .nv__btn[aria-expanded="true"]::after { transform: scaleX(1); }
.nv__a[aria-current="page"], .nv__it[data-current] > .nv__a { font-weight: 600; color: var(--b6); }
.nv__btn { font-weight: 600; }
.chev { width: 18px; height: 18px; transition: transform .25s; }
.nv__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nv__foot { display: none; }
.hd__burger { display: none; }

/* menu « Expertises » */
.mg { position: absolute; inset-inline: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 34px 60px -30px rgba(14, 36, 87, .45);
  visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s; }
.nv__it--mg.is-open .mg { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s var(--ease); }
.mg__in { display: grid; grid-template-columns: 340px 1fr; gap: 40px; padding-block: 30px 34px; }
.mg__intro { position: relative; overflow: hidden; border-radius: var(--r); background: var(--grad); color: #fff; padding: 30px 28px; }
.mg__intro::before { content: ""; position: absolute; inset: 0; background: var(--zel); opacity: .16; }
.mg__intro > * { position: relative; }
.mg__intro .k { color: var(--gold-l); }
.mg__h { font: 700 30px/1.15 var(--serif); }
[dir="rtl"] .mg__h { font: 700 27px/1.5 var(--ar-h); }
.mg__p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .86); margin: 12px 0 22px; }
.mg__intro .lnk { color: #fff; border-color: var(--gold-l); }
.mg__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; align-content: center; }
.mg__grid a { display: flex; gap: 16px; align-items: flex-start; padding: 13px 14px; border-radius: 16px; text-decoration: none; color: var(--b9); transition: background-color .2s, transform .2s; }
.mg__grid a:hover, .mg__grid a[aria-current="page"] { background: var(--sky); transform: translateX(3px); }
[dir="rtl"] .mg__grid a:hover { transform: translateX(-3px); }
.mg__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: #fff; box-shadow: 0 10px 20px -12px rgba(30, 79, 181, .8); }
.mg__ic svg { width: 25px; height: 25px; stroke-width: 1.6; }
.mg__t { display: flex; flex-direction: column; gap: 3px; }
.mg__t b { font: 600 17.5px/1.3 var(--sans); }
.mg__t small { font-size: 15px; line-height: 1.5; color: var(--muted); }
[dir="rtl"] .mg__t b { font: 700 18px/1.5 var(--ar); }
[dir="rtl"] .mg__t small { font-size: 16px; line-height: 1.7; }

/* ---------- accueil : hero ---------- */
.hx { position: relative; overflow: hidden; padding-top: clamp(44px, 6vw, 80px); background: #fff; }
.hx__bg { position: absolute; inset: 0; pointer-events: none; }
.hx__bg::after { content: ""; position: absolute; inset: 0; background: var(--zel); opacity: .1; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000, transparent 70%); }
[dir="rtl"] .hx__bg::after { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 15% 30%, #000, transparent 70%); }
.hx__bg i { position: absolute; border-radius: 50%; filter: blur(10px); animation: drift 18s ease-in-out infinite; }
.hx__bg .b1 { width: 760px; height: 760px; top: -260px; inset-inline-end: -200px; background: radial-gradient(circle, #D6E3FB 0%, rgba(214, 227, 251, 0) 68%); }
.hx__bg .b2 { width: 560px; height: 560px; bottom: -220px; inset-inline-start: -180px; background: radial-gradient(circle, #F6E6C2 0%, rgba(246, 230, 194, 0) 68%); animation-delay: -6s; }
.hx__bg .b3 { width: 360px; height: 360px; top: 30%; inset-inline-start: 38%; background: radial-gradient(circle, rgba(46, 100, 214, .14) 0%, rgba(46, 100, 214, 0) 70%); animation-delay: -12s; }
.hx__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; border-radius: 40px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-s); font: 600 14.5px/1.3 var(--sans); color: var(--b8); }
[dir="rtl"] .pill { padding: 8px 12px 8px 18px; font: 700 15.5px/1.5 var(--ar); }
.pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s ease-out infinite; }
.hx__h1 { margin-top: 26px; font: 700 clamp(3.2rem, 6vw, 5.7rem)/1.02 var(--serif); color: var(--b9); letter-spacing: -.015em; }
.hx__h1 .ln { display: inline-block; }
[dir="rtl"] .hx__h1 { font: 700 clamp(2.7rem, 5vw, 4.4rem)/1.4 var(--ar-h); letter-spacing: 0; }
.hx__subs { margin-top: 28px; display: grid; gap: 12px; }
.hx__subs li { display: flex; align-items: center; gap: 14px; font: 500 clamp(19px, 1.7vw, 22px)/1.4 var(--sans); color: var(--b9); }
.hx__subs svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--grad-soft); color: #fff; stroke-width: 1.6; box-shadow: 0 10px 22px -12px rgba(30, 79, 181, .8); }
.hx__adr { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.hx__adr svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--gold-d); stroke-width: 1.7; }
[dir="rtl"] .hx__adr { font-size: 18px; }
.hx__dom { margin-top: 30px; }
.hx__doml { font: 700 14px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 14px; }
[dir="rtl"] .hx__doml { font: 700 16px/1.5 var(--ar); letter-spacing: 0; }
.hx__dom ul { display: flex; flex-wrap: wrap; gap: 9px; }
.hx__dom a { display: inline-block; padding: 9px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 40px; font: 500 15.5px/1.3 var(--sans); color: var(--b8); text-decoration: none; transition: all .25s var(--ease); }
[dir="rtl"] .hx__dom a { font: 600 16px/1.5 var(--ar); }
.hx__dom a:hover { background: var(--grad-soft); border-color: transparent; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(30, 79, 181, .8); }
.hx__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hx__fig { position: relative; width: 100%; max-width: 520px; justify-self: center; margin: 0 0 30px; }
.hx__back { position: absolute; inset: 9% -7% -5% 12%; border-radius: 40px; background: var(--grad); transform: rotate(4deg); box-shadow: var(--sh); }
[dir="rtl"] .hx__back { inset: 9% 12% -5% -7%; transform: rotate(-4deg); }
.hx__back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--zel); opacity: .35; }
.hx__ring { position: absolute; width: 190px; height: 190px; top: -42px; inset-inline-start: -48px; border-radius: 50%; border: 2px dashed var(--gold); opacity: .7; animation: spin 40s linear infinite; }
.hx__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 260px 260px 28px 28px; box-shadow: 0 40px 70px -34px rgba(14, 36, 87, .6); border: 6px solid #fff; background: var(--sky2); }
.hx__img img { width: 100%; height: 108%; object-fit: cover; object-position: 50% 14%; }
.fc { position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 18px; background: rgba(255, 255, 255, .95); box-shadow: var(--sh); animation: float 4.5s ease-in-out infinite alternate; }
[dir="rtl"] .fc { padding: 14px 14px 14px 20px; }
.fc--1 { bottom: 34px; inset-inline-start: -46px; }
.fc--2 { top: 70px; inset-inline-end: -34px; animation-delay: -2.2s; }
.fc__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); padding: 6px 0; }
.fc__ic .jf { height: 40px; }
.fc__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 160, 79, .22); }
.fc__t { display: flex; flex-direction: column; line-height: 1.25; }
.fc__t small { font: 500 13.5px/1.3 var(--sans); color: var(--muted); }
.fc__t b { font: 700 20px/1.2 var(--serif); color: var(--b9); }
[dir="rtl"] .fc__t small { font: 600 14px/1.5 var(--ar); }
[dir="rtl"] .fc__t b { font: 700 18px/1.5 var(--ar-h); }
.fc--2 .fc__t b { font: 700 18px/1.2 var(--serif); }
.fc--2 .fc__t small { font: 600 13.5px/1.3 var(--sans); color: var(--gold-d); letter-spacing: .06em; }

/* bandeau défilant des domaines */
.mq { position: relative; margin-top: clamp(54px, 7vw, 86px); background: var(--grad); overflow: hidden; padding: 20px 0; }
.mq::before { content: ""; position: absolute; inset: 0; background: var(--zel); opacity: .12; }
.mq__track { position: relative; display: flex; width: max-content; animation: marq 46s linear infinite; }
[dir="rtl"] .mq__track { animation-name: marq-r; }
.mq:hover .mq__track { animation-play-state: paused; }
.mq ul { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; }
.mq a { font: italic 600 27px/1.2 var(--serif); color: #fff; text-decoration: none; white-space: nowrap; transition: color .2s; }
[dir="rtl"] .mq a { font: 700 23px/1.5 var(--ar-h); }
.mq a:hover { color: var(--gold-l); }
.mq__s { color: var(--gold-l); font-size: 16px; }

/* bandeau des titres */
.cr { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.cr__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.cr__list li { display: flex; gap: 16px; align-items: center; padding: 30px 24px; border-inline-start: 1px solid var(--line); }
.cr__list li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.cr__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sky); color: var(--b6); border: 1px solid var(--line); }
.cr__ic svg { width: 27px; height: 27px; stroke-width: 1.5; }
.cr__list span { display: block; font-size: 14.5px; color: var(--muted); }
.cr__list b { display: block; font: 700 23px/1.2 var(--serif); color: var(--b9); }
[dir="rtl"] .cr__list span { font-size: 15.5px; }
[dir="rtl"] .cr__list b { font: 700 20px/1.5 var(--ar-h); }

/* ---------- expertises (grille) ---------- */
.xs { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.xs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.xs__it--feat { grid-column: span 2; grid-row: span 2; }
.xc {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; height: 100%;
  padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--b9); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.xc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .4s var(--ease); }
.xc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--zel); opacity: 0; transition: opacity .4s; }
.xc:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.xc:hover::before { opacity: 1; }
.xc:hover::after { opacity: .12; }
.xc__n { position: absolute; top: 20px; inset-inline-end: 22px; font: italic 700 22px/1 var(--serif); color: var(--gold); transition: color .3s; }
.xc__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-soft); color: #fff; box-shadow: 0 14px 26px -14px rgba(30, 79, 181, .9); transition: background .4s, transform .4s var(--ease); }
.xc__ic svg { width: 30px; height: 30px; stroke-width: 1.5; }
.xc:hover .xc__ic { background: var(--grad-gold); transform: rotate(-6deg) scale(1.05); }
.xc__h { font: 700 26px/1.15 var(--serif); margin: 22px 0 10px; transition: color .3s; }
[dir="rtl"] .xc__h { font: 700 23px/1.5 var(--ar-h); }
.xc__p { font-size: 16.5px; line-height: 1.6; color: var(--muted); flex: 1; transition: color .3s; }
[dir="rtl"] .xc__p { font-size: 17px; line-height: 1.85; }
.xc__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 600 15.5px/1.3 var(--sans); color: var(--b6); transition: color .3s; }
[dir="rtl"] .xc__go { font: 700 16px/1.5 var(--ar); }
.xc__go .arr { transition: transform .3s var(--ease); }
.xc:hover .xc__go .arr { transform: translateX(5px); }
[dir="rtl"] .xc:hover .xc__go .arr { transform: scaleX(-1) translateX(5px); }
.xc:hover .xc__h, .xc:hover .xc__go { color: #fff; }
.xc:hover .xc__p { color: rgba(255, 255, 255, .85); }
.xc:hover .xc__n { color: var(--gold-l); }
/* carte vedette : pourvoi en cassation */
.xc--feat, .xs__it--feat .xc { background: var(--grad); color: #fff; border: 0; padding: 40px 38px 36px; }
.xs__it--feat .xc::after { opacity: .14; }
.xs__it--feat .xc__h { font-size: clamp(32px, 3vw, 42px); color: #fff; margin-top: 28px; max-width: 54%; }
.xs__it--feat .xc__p { color: rgba(255, 255, 255, .88); font-size: 18px; max-width: 50%; flex: 0; }
.xs__it--feat .xc__go { color: #fff; margin-top: 26px; }
.xs__it--feat .xc__n { color: var(--gold-l); font-size: 30px; }
.xs__it--feat .xc__ic { background: var(--grad-gold); width: 66px; height: 66px; }
.xs__it--feat .xc__art { position: absolute; z-index: -1; bottom: -6px; inset-inline-end: 2%; height: 84%; opacity: .95; transition: transform .6s var(--ease); }
.xs__it--feat .xc__art .jf { height: 100%; }
.xs__it--feat .xc:hover .xc__art { transform: translateY(-8px) scale(1.02); }
.xs__it--feat .xc::before { background: linear-gradient(135deg, #102a63, #2559C4); }
.xc--all { background: linear-gradient(135deg, #FBF5E7, #F4E7C6); border-color: #ECDDB6; }
.xc--all .xc__ic { background: var(--grad-gold); }
.xc--all .xc__h { font-size: 24px; }

/* ---------- présentation ---------- */
.ab__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ab__media { position: relative; padding: 0 0 70px; padding-inline-end: 70px; max-width: 540px; }
.ab__main { position: relative; overflow: hidden; border-radius: 260px 260px 26px 26px; box-shadow: var(--sh); border: 6px solid #fff; }
.ab__main::before { content: ""; position: absolute; inset: -40px -50px auto auto; width: 0; }
.ab__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.06); }
.ab__side { position: absolute; bottom: 0; inset-inline-end: 0; width: 46%; overflow: hidden; border-radius: 22px; border: 6px solid #fff; box-shadow: var(--sh); }
.ab__side img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.ab__side:hover img { transform: scale(1.06); }
.ab__badge { position: absolute; top: 34px; inset-inline-end: 20px; display: flex; flex-direction: column; padding: 18px 22px; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: var(--sh); animation: float 5s ease-in-out infinite alternate; }
.ab__badge small { font: 500 13.5px/1.3 var(--sans); color: var(--gold-l); }
.ab__badge b { font: italic 700 26px/1.2 var(--serif); }
[dir="rtl"] .ab__badge small { font: 600 14px/1.5 var(--ar); }
[dir="rtl"] .ab__badge b { font: 700 22px/1.5 var(--ar-h); }
.prose p { font-size: 18.5px; line-height: 1.75; color: var(--ink); }
.prose p + p { margin-top: 18px; }
[dir="rtl"] .prose p { font-size: 19.5px; line-height: 2; }
.ab__txt .prose { margin-top: 24px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 34px; }
.facts div { padding: 14px 18px; border-radius: 14px; background: var(--sky); border-inline-start: 3px solid var(--gold); }
.facts dt { font: 700 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.facts dd { font: 600 18px/1.4 var(--sans); color: var(--b9); margin-top: 3px; }
[dir="rtl"] .facts dt { font: 700 14.5px/1.5 var(--ar); letter-spacing: 0; }
[dir="rtl"] .facts dd { font: 700 18px/1.6 var(--ar); }

/* ---------- conviction ---------- */
.cv { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: clamp(84px, 10vw, 136px) 0; text-align: center; }
.cv__pat { position: absolute; inset: -80px 0; background: var(--zel); opacity: .2; }
.cv__fig { position: absolute; bottom: -10px; inset-inline-end: 4%; height: 82%; opacity: .1; }
.cv__fig .jf { height: 100%; }
.cv__in { max-width: 1000px; }
.cv__q { position: relative; padding-top: 40px; }
.cv__q::before { content: "“"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%); font: 700 140px/1 var(--serif); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cv__q p { font: italic 600 clamp(2.1rem, 3.8vw, 3.3rem)/1.28 var(--serif); }
[dir="rtl"] .cv__q::before { content: "«"; font-size: 72px; top: -16px; }
[dir="rtl"] .cv__q p { font: 700 clamp(1.9rem, 3.2vw, 2.7rem)/1.75 var(--ar-h); }
.cv__sig { margin-top: 28px; font: 600 17px/1.4 var(--sans); color: var(--gold-l); letter-spacing: .05em; }
[dir="rtl"] .cv__sig { font: 700 18px/1.6 var(--ar); }

/* ---------- juridictions ---------- */
.jx__wrap { position: relative; }
.jx__line { position: absolute; top: 46px; inset-inline: 16.6%; height: 3px; border-radius: 3px; background: var(--line); }
.jx__line i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--b6)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
[dir="rtl"] .jx__line i { transform-origin: right; background: linear-gradient(-90deg, var(--gold), var(--b6)); }
.jx__wrap.is-in .jx__line i { transform: scaleX(1); }
.jx__row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jx__it { display: flex; flex-direction: column; align-items: center; text-align: center; }
.jx__mk { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); box-shadow: var(--sh-s); font: italic 700 40px/1 var(--serif); color: var(--b6); position: relative; z-index: 1; }
.jx__mk--fig { background: var(--grad); border: 3px solid var(--gold); padding: 12px 0 14px; }
.jx__mk--fig .jf { height: 62px; }
.jx__tag { margin-top: 22px; display: inline-block; padding: 5px 14px; border-radius: 30px; background: var(--sky); font: 700 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
[dir="rtl"] .jx__tag { font: 700 14.5px/1.5 var(--ar); letter-spacing: 0; }
.jx__it h3 { font: 700 30px/1.2 var(--serif); color: var(--b9); margin: 12px 0 10px; }
[dir="rtl"] .jx__it h3 { font: 700 25px/1.5 var(--ar-h); }
.jx__it > p:not(.jx__tag) { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 340px; }
.jx__it .lnk { margin-top: 16px; }
.jx__it--top h3 { color: var(--b6); }

/* ---------- mosaïque de photos ---------- */
.mo__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.mo__it--0 { grid-column: span 2; grid-row: span 2; }
.mo__it a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r); box-shadow: var(--sh-s); }
.mo__it img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mo__it a:hover img { transform: scale(1.07); }
.mo__cap { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(0deg, rgba(14, 36, 87, .88), rgba(14, 36, 87, 0)); color: #fff; font: 500 15.5px/1.4 var(--sans); transform: translateY(10px); opacity: .0; transition: opacity .35s, transform .35s var(--ease); }
[dir="rtl"] .mo__cap { font: 600 16px/1.6 var(--ar); }
.mo__it a:hover .mo__cap, .mo__it a:focus-visible .mo__cap { opacity: 1; transform: none; }
.mo__it--0 .mo__cap { opacity: 1; transform: none; font-size: 17px; }

/* ---------- participations ---------- */
.tbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tb { padding: 10px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: 40px; cursor: pointer; font: 500 16px/1.2 var(--sans); color: var(--b8); transition: all .25s; }
[dir="rtl"] .tb { font: 600 16.5px/1.5 var(--ar); }
.tb:hover { border-color: var(--b6); }
.tb span { color: var(--gold-d); font-weight: 700; margin-inline-start: 4px; }
.tb[aria-pressed="true"] { background: var(--grad-soft); border-color: transparent; color: #fff; box-shadow: 0 12px 22px -12px rgba(30, 79, 181, .8); }
.tb[aria-pressed="true"] span { color: var(--gold-l); }
.pcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pc:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.pc[hidden] { display: none; }
.pc__media { position: relative; aspect-ratio: 16 / 9; background: var(--sky2); overflow: hidden; }
.pc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pc:hover .pc__media img { transform: scale(1.05); }
.vid { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.vid img { opacity: .9; }
.vid__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: var(--grad-soft); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 255, 255, .35); transition: transform .3s var(--ease); }
.vid:hover .vid__play { transform: translate(-50%, -50%) scale(1.1); }
.vid__play svg { width: 26px; height: 26px; margin-left: 4px; }
.pc__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pc__pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.pc__pics img:first-child { grid-row: span 2; }
.pc__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.pc__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font: 700 12.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
.pc__cat { padding: 4px 12px; border-radius: 30px; background: var(--sky); color: var(--b6); }
[dir="rtl"] .pc__top { font: 700 14.5px/1.5 var(--ar); letter-spacing: 0; }
.pc__src { font: 700 16px/1.3 var(--sans); color: var(--b9); }
.pc__t { font: 700 21px/1.7 var(--ar); color: var(--b9); }
.pc__t:not([lang]) { font: 700 24px/1.2 var(--serif); }
[dir="rtl"] .pc__t:not([lang]) { font: 700 21px/1.6 var(--ar-h); }
.pc__p { font-size: 16.5px; line-height: 1.6; color: var(--muted); }
[dir="rtl"] .pc__p { font-size: 17.5px; line-height: 1.85; }
.pc blockquote { padding: 10px 16px; border-inline-start: 3px solid var(--gold); background: var(--sky); border-radius: 0 10px 10px 0; font: 600 17px/1.8 var(--ar); color: var(--b9); }
.pc .lnk { align-self: flex-start; margin-top: 6px; }

/* galerie (page Participations) */
.gl__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gl__btn { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--sky2); border-radius: 16px; overflow: hidden; }
.gl__btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gl__btn:hover img { transform: scale(1.07); }
.gl__grid figcaption { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(10, 26, 64, .95); display: flex; align-items: center; justify-content: center; padding: 60px 80px; }
.lb[hidden] { display: none; }
.lb figure { max-width: 100%; max-height: 100%; text-align: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 160px); margin: 0 auto; border-radius: 12px; }
.lb figcaption { margin-top: 14px; color: #fff; font-size: 17px; }
.lb__x { position: absolute; top: 16px; inset-inline-end: 22px; width: 48px; height: 48px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb__nav:hover { background: rgba(255, 255, 255, .12); }
.lb__nav svg { width: 24px; height: 24px; stroke-width: 1.8; }
.lb__prev { inset-inline-start: 18px; }
.lb__prev svg { transform: scaleX(-1); }
.lb__next { inset-inline-end: 18px; }
[dir="rtl"] .lb__prev svg { transform: none; }
[dir="rtl"] .lb__next svg { transform: scaleX(-1); }

/* ---------- FAQ ---------- */
.fq__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.fq__side { position: sticky; top: 130px; }
.fq__list { display: grid; gap: 12px; }
.fq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.fq details[open] { border-color: rgba(30, 79, 181, .35); box-shadow: var(--sh-s); }
.fq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; cursor: pointer; list-style: none; font: 600 19px/1.45 var(--sans); color: var(--b9); }
[dir="rtl"] .fq summary { font: 700 19.5px/1.7 var(--ar); }
.fq summary::-webkit-details-marker { display: none; }
.fq summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); transition: background .3s, transform .3s var(--ease); }
.fq summary i::before, .fq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--b6); transform: translate(-50%, -50%); transition: transform .3s, background .3s; }
.fq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.fq details[open] summary i { background: var(--grad-soft); transform: rotate(180deg); }
.fq details[open] summary i::before, .fq details[open] summary i::after { background: #fff; }
.fq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.fq__a { padding: 0 24px 24px; max-width: 780px; }
.fq__a p { font-size: 17.5px; line-height: 1.7; color: var(--muted); }
[dir="rtl"] .fq__a p { font-size: 18.5px; line-height: 1.95; }
.fq__a a { color: var(--b6); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- coordonnées ---------- */
.ct__card { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 70px); align-items: start; padding: clamp(36px, 5vw, 64px); border-radius: 32px; background: var(--grad); color: #fff; box-shadow: var(--sh); }
.ct__pat { position: absolute; inset: 0; background: var(--zel); opacity: .14; }
.ct__card > *:not(.ct__pat) { position: relative; }
.ct__card .h2 { color: #fff; }
.ct__card .lead { color: rgba(255, 255, 255, .86); }
.ct__head .btn { margin-top: 28px; }
.ct__list { border-top: 1px solid var(--line); }
.ct__list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ct__list svg { width: 26px; height: 26px; flex: none; margin-top: 2px; color: var(--gold-d); stroke-width: 1.5; }
.ct__l { display: block; font: 700 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 3px; }
[dir="rtl"] .ct__l { font: 700 15px/1.5 var(--ar); letter-spacing: 0; }
.ct__v { font: 500 19px/1.5 var(--sans); color: var(--b9); text-decoration: none; }
[dir="rtl"] .ct__v { font: 600 19px/1.7 var(--ar); }
a.ct__v:hover { color: var(--b6); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
[dir="rtl"] a.ct__v.ltr { font-family: var(--sans); font-weight: 500; }
.ct__card .ct__list { border-color: rgba(255, 255, 255, .22); }
.ct__card .ct__list li { border-color: rgba(255, 255, 255, .22); }
.ct__card .ct__list svg { color: var(--gold-l); }
.ct__card .ct__l { color: var(--gold-l); }
.ct__card .ct__v { color: #fff; }
.ct__card a.ct__v:hover { color: var(--gold-l); }
.ct--page { background: #fff; }
.ct--page .ct__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.ct--page .ct__list { margin-top: 28px; }
.ct__alt { margin-top: 18px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.ct__alt[lang="ar"] { font: 500 18px/1.9 var(--ar); }

/* formulaire */
.form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--sh); }
.form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 26px 26px 0 0; background: var(--grad-gold); }
.form h3 { font: 700 32px/1.15 var(--serif); color: var(--b9); }
[dir="rtl"] .form h3 { font: 700 27px/1.5 var(--ar-h); }
.form__p { margin: 10px 0 26px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.fld2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.fld { margin-bottom: 18px; }
.fld label { display: block; margin-bottom: 7px; font: 600 15.5px/1.3 var(--sans); color: var(--b9); }
[dir="rtl"] .fld label { font: 700 16px/1.5 var(--ar); }
.fld input, .fld select, .fld textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--sky); font: 400 17px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
[dir="rtl"] .fld input:not([dir]), [dir="rtl"] .fld select, [dir="rtl"] .fld textarea { font: 500 17px/1.6 var(--ar); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--b6); background: #fff; box-shadow: 0 0 0 4px rgba(30, 79, 181, .15); }
.fld textarea { resize: vertical; min-height: 140px; }
.form__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__btns .btn--navy { background: var(--grad); box-shadow: 0 16px 32px -14px rgba(30, 79, 181, .75); }
.form__note { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.map { padding: 0 var(--gut) clamp(60px, 7vw, 100px); }
.map iframe { display: block; width: 100%; max-width: var(--wrap); margin: 0 auto; height: 440px; border: 0; border-radius: 26px; box-shadow: var(--sh); }

/* ---------- pages intérieures ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 34px 0 clamp(54px, 6vw, 84px); }
.ph__bg { position: absolute; inset: 0; pointer-events: none; }
.ph__bg::after { content: ""; position: absolute; inset: 0; background: var(--zel); opacity: .09; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
[dir="rtl"] .ph__bg::after { -webkit-mask-image: linear-gradient(-90deg, transparent 30%, #000); mask-image: linear-gradient(-90deg, transparent 30%, #000); }
.ph__bg i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite; }
.ph__bg .b1 { width: 560px; height: 560px; top: -260px; inset-inline-end: -120px; background: radial-gradient(circle, #D3E1FB 0%, rgba(211, 225, 251, 0) 68%); }
.ph__bg .b2 { width: 420px; height: 420px; bottom: -260px; inset-inline-start: 20%; background: radial-gradient(circle, #F6E6C2 0%, rgba(246, 230, 194, 0) 68%); animation-delay: -8s; }
.ph__fig { position: absolute; bottom: -12px; inset-inline-end: 6%; height: 108%; opacity: .07; pointer-events: none; }
.ph__fig .jf { height: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 44px); }
.crumbs li + li::before { content: "/"; margin-inline: 10px; color: var(--gold); }
.crumbs a { color: var(--b6); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.ph__row { display: flex; gap: 30px; align-items: flex-start; }
.ph__ic { flex: none; width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; background: var(--grad-soft); color: #fff; box-shadow: 0 18px 34px -16px rgba(30, 79, 181, .85); margin-top: 4px; animation: float 4.5s ease-in-out infinite alternate; }
.ph__ic svg { width: 46px; height: 46px; stroke-width: 1.3; }
.ph__h1 { font: 700 clamp(2.6rem, 4.8vw, 4.3rem)/1.06 var(--serif); color: var(--b9); max-width: 980px; }
[dir="rtl"] .ph__h1 { font: 700 clamp(2.2rem, 4vw, 3.5rem)/1.45 var(--ar-h); }
.ph .lead { max-width: 860px; }

.dp__grid { display: grid; grid-template-columns: 1fr 370px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.dp__main h2 { font: 700 34px/1.2 var(--serif); color: var(--b9); margin: 44px 0 20px; padding-top: 34px; border-top: 1px solid var(--line); }
[dir="rtl"] .dp__main h2 { font: 700 28px/1.5 var(--ar-h); }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding: 14px 18px; padding-inline-start: 56px; border-radius: 14px; background: var(--sky); font-size: 18px; line-height: 1.55; color: var(--ink); transition: transform .3s var(--ease), background-color .3s; }
.checks li:hover { transform: translateX(4px); background: var(--sky2); }
[dir="rtl"] .checks li:hover { transform: translateX(-4px); }
[dir="rtl"] .checks li { font-size: 19px; line-height: 1.8; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 16px; top: 15px; width: 26px; height: 26px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat, var(--grad-soft); }
[dir="rtl"] .checks li::before { top: 19px; }
.checks--sm li { font-size: 16.5px; padding-block: 10px; }
.checks--sm li::before { top: 11px; }
.note { margin-top: 34px; padding: 26px 30px; border-radius: 20px; background: linear-gradient(135deg, #FBF5E7, #F6EBCF); border-inline-start: 4px solid var(--gold); }
.note__k { font: 700 13.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 8px; }
[dir="rtl"] .note__k { font: 700 16px/1.5 var(--ar); letter-spacing: 0; }
.note p:not(.note__k) { font-size: 17.5px; line-height: 1.7; }
.dp__aside { position: sticky; top: 118px; display: grid; gap: 20px; }
.side { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px 18px; box-shadow: var(--sh-s); }
.side__h { font: 700 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .side__h { font: 700 15.5px/1.5 var(--ar); letter-spacing: 0; }
nav.side a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--b9); font: 500 16.5px/1.35 var(--sans); transition: background-color .2s, color .2s; }
[dir="rtl"] nav.side a { font: 600 17px/1.6 var(--ar); }
nav.side a:hover { background: var(--sky); color: var(--b6); }
nav.side a[aria-current="page"] { background: var(--grad-soft); color: #fff; font-weight: 600; }
nav.side a svg { width: 22px; height: 22px; flex: none; color: var(--b6); stroke-width: 1.6; }
nav.side a[aria-current="page"] svg { color: var(--gold-l); }
.side--ct { background: var(--grad); color: #fff; border: 0; }
.side--ct .side__h { color: var(--gold-l); border-color: rgba(255, 255, 255, .2); }
.side--ct .ct__list { border-top: 0; }
.side--ct .ct__list li { border-color: rgba(255, 255, 255, .2); }
.side--ct .ct__list svg, .side--ct .ct__l { color: var(--gold-l); }
.side--ct .ct__v { color: #fff; }
.ct__list--sm li { padding: 12px 0; gap: 14px; }
.ct__list--sm svg { width: 22px; height: 22px; }
.ct__list--sm .ct__v { font-size: 17px; }
.side--ct .lnk { margin: 14px 0 6px; font-size: 15.5px; color: #fff; border-color: var(--gold-l); }

/* vue d'ensemble des expertises */
.dv__list { display: grid; gap: 22px; }
.dv { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 5vw, 64px); padding: 34px 36px; border: 1px solid var(--line); border-radius: 26px; background: #fff; scroll-margin-top: 120px; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.dv:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.dv__head { display: flex; align-items: center; gap: 18px; align-self: start; }
.dv__n { font: italic 700 24px/1 var(--serif); color: var(--gold); width: 32px; flex: none; }
.dv__ic { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-soft); color: #fff; box-shadow: 0 14px 26px -14px rgba(30, 79, 181, .9); }
.dv__ic svg { width: 31px; height: 31px; stroke-width: 1.5; }
.dv__h { font: 700 32px/1.15 var(--serif); }
[dir="rtl"] .dv__h { font: 700 27px/1.5 var(--ar-h); }
.dv__h a { color: var(--b9); text-decoration: none; }
.dv__h a:hover { color: var(--b6); }
.dv__body > p { font-size: 18.5px; line-height: 1.65; color: var(--ink); }
.dv__body .checks { grid-template-columns: 1fr 1fr; margin: 16px 0 22px; }

/* cabinet */
.pr__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pr__grid li { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pr__grid li:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.pr__n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); color: #fff; font: italic 700 26px/1 var(--serif); }
.pr__grid h3 { font: 700 27px/1.2 var(--serif); color: var(--b9); margin: 18px 0 8px; }
[dir="rtl"] .pr__grid h3 { font: 700 23px/1.5 var(--ar-h); }
.pr__grid p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.tl__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.tl__list { position: relative; display: grid; gap: 14px; }
.tl__list::before { content: ""; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 74px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--b6)); }
.tl__list li { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tl__y { font: italic 700 24px/1.2 var(--serif); color: var(--b6); }
[dir="rtl"] .tl__y { font: 700 21px/1.5 var(--ar-h); }
.tl__list h3 { font: 600 19px/1.4 var(--sans); color: var(--b9); }
[dir="rtl"] .tl__list h3 { font: 700 19.5px/1.6 var(--ar); }
.tl__list p { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 4px; }
.mt__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: mt; }
.mt__grid li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.mt__grid li:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.mt__n { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 24px/1 var(--serif); box-shadow: 0 0 0 6px var(--sky); }
.mt__grid h3 { font: 600 19px/1.35 var(--sans); color: var(--b9); margin: 20px 0 8px; }
[dir="rtl"] .mt__grid h3 { font: 700 19.5px/1.6 var(--ar); }
.mt__grid p { font-size: 16.5px; line-height: 1.6; color: var(--muted); }

.prose--legal { max-width: 860px; }
.prose--legal h2 { font: 700 29px/1.25 var(--serif); color: var(--b9); margin: 38px 0 12px; }
.prose--legal h2:first-child { margin-top: 0; }
[dir="rtl"] .prose--legal h2 { font: 700 25px/1.5 var(--ar-h); }

/* ---------- pied de page ---------- */
.ft { position: relative; overflow: hidden; background: linear-gradient(160deg, #0E2457 0%, #15306E 55%, #1B4196 100%); color: rgba(255, 255, 255, .88); }
.ft::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-gold); }
.ft__pat { position: absolute; inset: 0; background: var(--zel); opacity: .08; }
.ft > .wrap, .ft__bot { position: relative; }
.ft__top { display: grid; grid-template-columns: 1.25fr 1fr .8fr 1.35fr; gap: 40px; padding-block: 72px 44px; }
.ft__logo { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; border: 1.5px solid var(--gold); background: rgba(255, 255, 255, .06); padding: 10px 0 12px; }
.ft__logo .jf { height: 56px; }
.ft__name { display: flex; flex-direction: column; align-items: flex-start; margin: 18px 0 10px; }
.ft__name b { font: 700 26px/1.2 var(--serif); color: #fff; }
.ft__name span { font: 700 21px/1.6 var(--ar-h); color: var(--gold-l); }
.ft__brand > p:last-child { font-size: 15.5px; line-height: 1.7; }
[dir="rtl"] .ft__brand > p:last-child { font-size: 16.5px; line-height: 1.9; }
.ft__h { font: 700 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 16px; }
[dir="rtl"] .ft__h { font: 700 16px/1.5 var(--ar); letter-spacing: 0; }
.ft ul a { text-decoration: none; color: #fff; transition: color .2s; }
.ft ul a:hover { color: var(--gold-l); }
.ft__top > div > ul:not(.ft__ct) li { padding: 5px 0; font-size: 16px; }
[dir="rtl"] .ft__top > div > ul:not(.ft__ct) li { font-size: 17px; }
.ft__ct li { display: flex; gap: 12px; padding: 7px 0; }
.ft__ct svg { width: 20px; height: 20px; flex: none; color: var(--gold-l); margin-top: 3px; stroke-width: 1.6; }
.ft__ct .ct__l { font-size: 12px; margin-bottom: 0; color: var(--gold-l); }
.ft__ct .ct__v { font-size: 16px; color: #fff; }
[dir="rtl"] .ft__ct .ct__l { font-size: 14px; }
[dir="rtl"] .ft__ct .ct__v { font-size: 16.5px; }
.ft__notice { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .75); }
[dir="rtl"] .ft__notice { font-size: 16px; line-height: 1.9; }
.ft__bot { background: rgba(0, 0, 0, .18); padding: 16px 0; font-size: 14.5px; color: rgba(255, 255, 255, .75); }

/* =========================== responsive =========================== */
@media (max-width: 1180px) {
  .xs__grid { grid-template-columns: repeat(2, 1fr); }
  .xs__it--feat { grid-column: span 2; grid-row: auto; }
  .mt__grid { grid-template-columns: repeat(2, 1fr); }
  .gl__grid { grid-template-columns: repeat(3, 1fr); }
  .ft__top { grid-template-columns: 1fr 1fr; }
  .nv__a { padding-inline: 11px; }
  .nv__a::after { inset-inline: 11px; }
  .tp__h { display: none; }
}

@media (max-width: 1080px) {
  .hd__in, .hd.is-scrolled .hd__in { min-height: 76px; }
  .hd__logo { width: 50px; height: 50px; }
  .hd__logo .jf { height: 37px; }
  .hd__txt b { font-size: 23px; }
  .hd__burger { display: grid; align-content: center; gap: 6px; width: 50px; height: 50px; padding: 0 13px; background: var(--grad); border: 0; border-radius: 14px; cursor: pointer; }
  .hd__burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .hd__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hd__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hd__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nv { display: none; position: fixed; inset-inline: 0; bottom: 0; top: var(--nv-top, 120px); z-index: 59; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gut) 40px; border-top: 1px solid var(--line); }
  .nv.is-open { display: block; animation: rise .35s var(--ease) both; }
  .nv__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nv__it { border-bottom: 1px solid var(--line); }
  .nv__a { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 20px; border-radius: 0; }
  .nv__a:hover { background: none; }
  [dir="rtl"] .nv__a { font-size: 20px; }
  .nv__a::after { display: none; }
  .mg { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; display: none; transition: none; }
  .nv__it--mg.is-open .mg { display: block; }
  .mg .wrap { padding-inline: 0; }
  .mg__in { grid-template-columns: 1fr; gap: 0; padding-block: 0 14px; }
  .mg__intro { order: 2; margin-top: 10px; padding: 0; background: none; color: inherit; }
  .mg__intro::before, .mg__intro .k, .mg__h, .mg__p { display: none; }
  .mg__intro .lnk { color: var(--b6); border-color: var(--gold); }
  .mg__grid { grid-template-columns: 1fr; }
  .mg__grid a { padding: 12px 8px; }
  .nv__foot { display: grid; gap: 12px; margin-top: 26px; }
  .nv__foot a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--sky); text-decoration: none; font: 600 18px/1.3 var(--sans); color: var(--b9); }
  .nv__foot a[lang] { background: var(--grad); color: #fff; justify-content: center; }
  .nv__foot a[lang="ar"] { font: 700 19px/1.5 var(--ar); }
  .nv__foot svg { width: 22px; height: 22px; color: var(--gold-d); }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 980px) {
  .hx__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hx__txt { display: contents; }
  .pill { order: 1; align-self: flex-start; }
  .hx__h1 { order: 2; }
  .hx__fig { order: 3; max-width: 440px; margin: 44px auto 40px; }
  .hx__subs { order: 4; }
  .hx__adr { order: 5; }
  .hx__dom { order: 6; }
  .hx__btns { order: 7; }
  .cr__list { grid-template-columns: repeat(2, 1fr); }
  .cr__list li { padding: 22px 18px; border-top: 1px solid var(--line); }
  .cr__list li:nth-child(-n+2) { border-top: 0; }
  .cr__list li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .ab__grid, .fq__grid, .tl__grid, .dp__grid, .ct__card, .ct--page .ct__grid, .sh--split { grid-template-columns: 1fr; }
  .sh--split { gap: 0; }
  .sh--split .lead { margin-top: 18px; }
  .ab__media { margin-inline: auto; }
  .fq__side { position: static; }
  .jx__row, .pcs, .pr__grid { grid-template-columns: 1fr; }
  .jx__row { gap: 44px; }
  .jx__line { top: 46px; bottom: 46px; inset-inline: auto; left: 50%; width: 3px; height: auto; }
  .jx__line i { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--gold), var(--b6)); }
  [dir="rtl"] .jx__line i { transform-origin: top; background: linear-gradient(180deg, var(--gold), var(--b6)); }
  .jx__wrap.is-in .jx__line i { transform: scaleY(1); }
  .jx__line { display: none; }
  .pcs { max-width: 640px; }
  .dp__aside { position: static; }
  .dv { grid-template-columns: 1fr; gap: 18px; }
  .mo__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .xs__it--feat .xc__p, .xs__it--feat .xc__h { max-width: 100%; }
  .xs__it--feat .xc__art { opacity: .16; height: 80%; }
  .ph__fig { display: none; }
}

@media (max-width: 820px) {
  .tp__role { display: none; }
  .tp__in { justify-content: center; }
  .tp__ct { gap: 16px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
  :root { --gut: 18px; --r: 18px; }
  body { font-size: 17.5px; }
  .hd__logo { width: 46px; height: 46px; }
  .hd__logo .jf { height: 34px; }
  .hd__brand { gap: 11px; }
  .hd__txt b { font-size: 21px; }
  .hd__txt small { font-size: 12.5px; }
  [dir="rtl"] .hd__txt b { font-size: 21px; }
  [dir="rtl"] .hd__txt small { font-size: 13.5px; }
  .tp { font-size: 14px; }
  .tp__ct { gap: 6px 14px; padding-block: 6px; }
  .xs__grid, .mt__grid, .facts, .fld2, .dv__body .checks { grid-template-columns: 1fr; }
  .xs__it--feat { grid-column: auto; }
  .xs__it--feat .xc { padding: 32px 26px 28px; }
  .gl__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mo__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
  .mo__cap { display: none; }
  .mo__it--0 .mo__cap { display: block; font-size: 15px; padding: 30px 14px 12px; }
  .hx__fig { width: calc(100% - 20px); }
  .fc--1 { inset-inline-start: -10px; bottom: 18px; }
  .fc--2 { inset-inline-end: -10px; top: 40px; }
  .fc { padding: 10px 14px 10px 10px; }
  .fc__ic { width: 42px; height: 42px; }
  .fc__ic .jf { height: 32px; }
  .fc__t b { font-size: 17px; }
  .hx__ring { width: 120px; height: 120px; top: -24px; inset-inline-start: -20px; }
  .hx__btns .btn { flex: 1 1 100%; }
  .mq a { font-size: 22px; }
  .ab__media { padding-inline-end: 40px; padding-bottom: 50px; }
  .ab__badge { top: 18px; inset-inline-end: 0; padding: 12px 16px; }
  .ab__badge b { font-size: 21px; }
  .ft__top { grid-template-columns: 1fr; gap: 30px; }
  .tl__list::before { display: none; }
  .tl__list li { grid-template-columns: 1fr; gap: 4px; }
  .ph__row { flex-direction: column; gap: 18px; }
  .ph__ic { width: 66px; height: 66px; border-radius: 20px; }
  .ph__ic svg { width: 34px; height: 34px; }
  .ct__card { border-radius: 24px; }
  .dv { padding: 26px 22px; }
  .lb { padding: 50px 12px; }
  .lb__nav { top: auto; bottom: 14px; transform: none; }
  .map iframe { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

@media print {
  .tp, .hd, .ft__bot, .map, .form, .lb, .mq { display: none !important; }
  body { background: #fff; }
}

/* =========================== v8.1 — prise de rendez-vous et formulaires enregistrés =========================== */
.nv__a[href="rendez-vous.html"] { background: var(--grad); color: #fff !important; padding-inline: 20px; margin-inline-start: 6px; box-shadow: 0 12px 24px -14px rgba(30, 79, 181, .9); }
.nv__a[href="rendez-vous.html"]:hover { background: var(--grad); filter: brightness(1.12); }
.nv__a[href="rendez-vous.html"]::after { display: none; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.ct__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.chk { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--muted); cursor: pointer; }
[dir="rtl"] .chk { font-size: 16.5px; line-height: 1.8; }
.chk input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--b6); }
.chk a { color: var(--b6); }
.form__err { margin: 4px 0 14px; padding: 12px 16px; border-radius: 12px; background: #FDECEC; color: #9B1C1C; font-weight: 600; font-size: 15.5px; }
.form__ok { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #E8F6EE; color: #13633A; display: grid; gap: 4px; }
.form__ok span { font-size: 15px; }

.bk-sec { padding-top: clamp(48px, 6vw, 80px); }
.bk__grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.bk { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--sh); padding: clamp(22px, 3.4vw, 40px); scroll-margin-top: 110px; }
.bk::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 28px 28px 0 0; background: var(--grad-gold); }
.bk__steps { display: flex; gap: 10px; margin-bottom: 28px; }
.bk__steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--sky); color: var(--muted); font: 600 15px/1.3 var(--sans); transition: background-color .3s, color .3s; }
[dir="rtl"] .bk__steps li { font: 700 15.5px/1.5 var(--ar); }
.bk__steps b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); font: 700 15px/1 var(--sans); }
.bk__steps li.is-on { background: var(--grad); color: #fff; }
.bk__steps li.is-on b { background: var(--gold); border-color: var(--gold); color: #fff; }
.bk__steps li.is-done b { background: var(--b6); border-color: var(--b6); color: #fff; }
.bk__pane:not([hidden]) { animation: rise .45s var(--ease) both; }
.bk__p1 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.bk__load, .bk__off { padding: 40px 10px; text-align: center; color: var(--muted); }
.bk__off p + p { margin-top: 16px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__title { font: 700 26px/1.2 var(--serif); color: var(--b9); text-transform: capitalize; }
[dir="rtl"] .cal__title { font: 700 22px/1.5 var(--ar-h); }
.cal__nav { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--b8); font: 600 24px/1 var(--sans); cursor: pointer; transition: all .2s; }
.cal__nav:hover:not(:disabled) { background: var(--grad-soft); color: #fff; border-color: transparent; }
.cal__nav:disabled { opacity: .35; cursor: default; }
[dir="rtl"] .cal__nav { transform: scaleX(-1); }
.cal__wd, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__wd span { text-align: center; font: 700 12.5px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-d); padding-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[dir="rtl"] .cal__wd span { font: 700 12px/1.5 var(--ar); letter-spacing: 0; text-transform: none; }
.cal__d { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; border: 1.5px solid transparent; background: transparent; color: #A7B1C7; font: 500 17px/1 var(--sans); padding: 0; }
.cal__d b { font-weight: 600; }
.cal__d i { font-style: normal; font-size: 10.5px; font-weight: 600; margin-top: 4px; color: var(--gold-d); }
button.cal__d { cursor: pointer; background: var(--sky); color: var(--b9); border-color: var(--line); transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
button.cal__d:hover { transform: translateY(-2px); border-color: var(--b6); }
.cal__d.is-today b { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.cal__d.is-sel { background: var(--grad) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 14px 26px -14px rgba(30, 79, 181, .9); }
.cal__d.is-sel i { color: var(--gold-l); }
.cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.cal__legend span { display: inline-block; width: 14px; height: 14px; border-radius: 5px; vertical-align: -2px; margin-inline-end: 6px; }
.lg-open { background: var(--sky); border: 1.5px solid var(--line); }
.lg-sel { background: var(--grad); }
.bk__times { min-height: 260px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, var(--sky), #fff); border: 1px solid var(--line); }
.bk__hint { min-height: 220px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--muted); }
.bk__hint-ic { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: #fff; color: var(--gold); font-size: 22px; box-shadow: var(--sh-s); }
.bk__day { font: 700 22px/1.25 var(--serif); color: var(--b9); margin-bottom: 6px; }
.bk__day::first-letter { text-transform: uppercase; }
[dir="rtl"] .bk__day { font: 700 19px/1.6 var(--ar-h); }
.bk__tgt { font: 700 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); margin: 14px 0 8px; }
[dir="rtl"] .bk__tgt { font: 700 14.5px/1.5 var(--ar); letter-spacing: 0; }
.bk__tg { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.bk__t { padding: 11px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--b8); font: 600 16px/1 var(--sans); cursor: pointer; transition: all .2s var(--ease); }
.bk__t:hover { border-color: var(--b6); transform: translateY(-2px); }
.bk__t.is-sel { background: var(--grad-soft); border-color: transparent; color: #fff; box-shadow: 0 12px 22px -12px rgba(30, 79, 181, .9); }
.bk__next { width: 100%; margin-top: 20px; }
.bk__next:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none; }
.bk__sum { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding: 16px 18px; border-radius: 18px; background: var(--grad); color: #fff; }
.bk__sum-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: var(--gold-l); }
.bk__sum-ic svg { width: 26px; height: 26px; }
.bk__sum > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.bk__sum b { font: 700 20px/1.3 var(--serif); }
.bk__sum b::first-letter { text-transform: uppercase; }
[dir="rtl"] .bk__sum b { font: 700 18px/1.6 var(--ar-h); }
.bk__edit { padding: 9px 16px; border-radius: 30px; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; cursor: pointer; font: 600 14.5px/1 var(--sans); }
.bk__edit:hover { background: rgba(255, 255, 255, .14); }
.btn.is-busy { opacity: .7; pointer-events: none; }
.bk__ok { text-align: center; padding: 10px 0; }
.bk__ok-ic { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-soft); color: #fff; box-shadow: 0 0 0 10px var(--sky); }
.bk__ok-ic svg { width: 38px; height: 38px; }
.bk__ok-h { font: 700 clamp(30px, 3.4vw, 40px)/1.15 var(--serif); color: var(--b9); }
[dir="rtl"] .bk__ok-h { font: 700 30px/1.5 var(--ar-h); }
.bk__ok-p { color: var(--muted); margin: 10px auto 22px; max-width: 520px; }
.bk__ok-dl { display: grid; gap: 10px; max-width: 560px; margin: 0 auto 26px; text-align: start; }
.bk__ok-dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--sky); }
.bk__ok-dl dt { font: 700 12.5px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
[dir="rtl"] .bk__ok-dl dt { font: 700 14.5px/1.6 var(--ar); letter-spacing: 0; }
.bk__ok-dl dd { font-weight: 600; color: var(--b9); }
.bk__ok-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bk__aside { position: sticky; top: 118px; }
.bk__card { position: relative; overflow: hidden; border-radius: 26px; background: var(--grad); color: #fff; padding: 30px 28px; box-shadow: var(--sh); }
.bk__card::before { content: ""; position: absolute; inset: 0; background: var(--zel); opacity: .14; }
.bk__card > * { position: relative; }
.bk__ah { font: 700 28px/1.2 var(--serif); margin-bottom: 18px; }
[dir="rtl"] .bk__ah { font: 700 24px/1.5 var(--ar-h); }
.bk__how { display: grid; gap: 16px; }
.bk__how li { display: flex; gap: 14px; }
.bk__how li > b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #fff; font: 700 16px/1 var(--sans); }
.bk__how h3 { font: 600 17px/1.35 var(--sans); }
[dir="rtl"] .bk__how h3 { font: 700 17.5px/1.6 var(--ar); }
.bk__how p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .82); margin-top: 2px; }
.bk__call { display: grid; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.bk__call span { font-size: 14.5px; color: var(--gold-l); }
.bk__call a { font: 600 20px/1.3 var(--sans); color: #fff; text-decoration: none; }
.bk__call a:hover { color: var(--gold-l); }
@media (max-width: 1080px) {
  .nv__a[href="rendez-vous.html"] { margin: 12px 0 4px; justify-content: center; border-radius: 16px; }
}
@media (max-width: 980px) {
  .bk__grid { grid-template-columns: 1fr; }
  .bk__aside { position: static; }
}
@media (max-width: 760px) {
  .bk__p1 { grid-template-columns: 1fr; }
  .bk__steps span { display: none; }
  .bk__steps li { justify-content: center; }
  .bk__steps li.is-on { flex: 2.4; }
  .bk__steps li.is-on span { display: inline; }
  .bk__ok-dl div { grid-template-columns: 1fr; gap: 2px; }
  .cal__d { border-radius: 10px; font-size: 15px; }
  .cal__d i { font-size: 9.5px; margin-top: 2px; }
}
