/* =========================================================
   Maître Ahmed Bekkar — Avocat à Salé
   Palette « Robe & Laiton » : encre marine / bleu du Barreau / ivoire / laiton
   ========================================================= */
:root {
  --ink: #0a1628;          /* encre — fonds sombres */
  --navy: #102440;
  --royal: #1f4a8f;        /* bleu de la carte de visite */
  --gold: #c6a15b;         /* laiton */
  --gold-2: #e6cd91;
  --ivory: #f8f4ec;
  --paper: #f1eadc;
  --paper-2: #e7dcc7;
  --white: #fff;
  --text: #182236;
  --muted: #5d6677;
  --line: rgba(10, 22, 40, .12);
  --line-l: rgba(255, 255, 255, .12);
  --wa: #1fa855;

  --f-display: "Cormorant Garamond", "Amiri", Georgia, serif;
  --f-body: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-ar-display: "Amiri", serif;
  --f-ar-body: "IBM Plex Sans Arabic", system-ui, sans-serif;

  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}
html[lang^="ar"] { --f-display: var(--f-ar-display); --f-body: var(--f-ar-body); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  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[lang^="ar"] body { font-size: 17px; line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg:not([viewBox]) { width: 22px; height: 22px; }
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; color: var(--gold); }
html[lang^="ar"] em { font-style: normal; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Loader & progression ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--ink); color: var(--gold);
  transition: clip-path 1s var(--ease-io) .1s, visibility 0s 1.2s;
  clip-path: inset(0 0 0 0);
}
.loader__mark { width: 74px; height: 74px; animation: pulse 1.6s var(--ease) infinite; }
.loader__line { width: 120px; height: 1px; background: rgba(198,161,91,.25); position: relative; overflow: hidden; }
.loader__line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: load 1.2s var(--ease-io) infinite; }
.loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.95); } }
@keyframes load { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); transform-origin: left; } 61% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .progress { transform-origin: right; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 100px; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(198,161,91,.8); }
.btn--gold::before { background: var(--gold-2); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink::before { background: var(--royal); }
.btn--ghost { border: 1px solid currentColor; color: inherit; }
.btn--ghost::before { background: currentColor; opacity: .08; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa::before { background: #178a45; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--royal); }
.link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }
html[dir="rtl"] .link:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Titres ---------- */
.h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); margin-bottom: 22px; text-wrap: balance; }
html[lang^="ar"] .h2 { font-weight: 700; line-height: 1.35; letter-spacing: 0; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.lead { font-size: 1.15rem; color: var(--text); margin-bottom: 18px; max-width: 60ch; }
.label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--royal); }
html[lang^="ar"] .label { letter-spacing: 0; font-size: 15px; }
.label__n { font-family: "Cormorant Garamond", serif; font-size: 15px; font-style: italic; color: var(--gold); letter-spacing: 0; padding-inline-end: 12px; border-inline-end: 1px solid currentColor; }
.label--light { color: var(--gold-2); }
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: rgba(255,255,255,.8); overflow: hidden; }
.sec--ink .h2 { color: var(--white); }
.sec--ink .lead { color: rgba(255,255,255,.72); }
.sec__head { margin-bottom: clamp(44px, 6vw, 72px); }
.sec__head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.sec__head--center { text-align: center; display: grid; justify-items: center; }
.sec__head--center .lead { margin-inline: auto; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; inset-inline: 0; z-index: 50; height: var(--header-h); color: var(--white); transition: background .4s, height .4s var(--ease), box-shadow .4s, color .4s; }
.header.scrolled { --header-h: 66px; background: rgba(248,244,236,.88); color: var(--ink); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(198,161,91,.55); border-radius: 50% 50% 4px 4px; color: var(--gold); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__mark svg { width: 30px; height: 30px; }
.brand__txt { display: grid; line-height: 1.2; }
.brand__txt strong { font-family: var(--f-display); font-size: 21px; font-weight: 600; }
html[lang^="ar"] .brand__txt strong { font-size: 20px; font-weight: 700; }
.brand__txt small { font-size: 12px; opacity: .7; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav > a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; opacity: .85; transition: opacity .2s, color .2s; }
.nav > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav > a:hover, .nav > a.active { opacity: 1; }
.nav > a.active::after, .nav > a:hover::after { transform: scaleX(1); }
.nav__foot { display: none; }
.header__end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid currentColor; border-radius: 100px; overflow: hidden; opacity: .9; }
.lang button { width: 36px; height: 32px; font-size: 12.5px; font-weight: 700; transition: background .2s, color .2s; }
.lang button[lang="ar"] { font-family: "Amiri", serif; font-size: 17px; line-height: 1; }
.lang button.on { background: var(--gold); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger.open span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 90px; color: rgba(255,255,255,.8);
  background: radial-gradient(120% 90% at 85% 10%, #173463 0%, var(--navy) 38%, var(--ink) 75%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__star { position: absolute; color: rgba(198,161,91,.16); animation: spin 90s linear infinite; }
.hero__star--a { width: 760px; height: 760px; top: -240px; inset-inline-end: -220px; }
.hero__star--b { width: 420px; height: 420px; bottom: -200px; inset-inline-start: -140px; animation-duration: 120s; animation-direction: reverse; color: rgba(255,255,255,.05); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__glow { position: absolute; top: 0; left: 0; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(198,161,91,.16), transparent 62%); opacity: 0; transition: opacity .6s; will-change: transform; }
.hero__grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 28px; }
html[lang^="ar"] .kicker { letter-spacing: 0; font-size: 15px; }
.kicker__line { width: 46px; height: 1px; background: var(--gold); }
.hero__title { font-family: var(--f-display); font-weight: 600; color: var(--white); line-height: .95; margin-bottom: 26px; }
.hero__pre { display: block; font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; color: var(--gold); margin-bottom: 8px; font-weight: 500; }
.hero__name { display: block; font-size: clamp(3.4rem, 8.4vw, 7.2rem); letter-spacing: -.02em; overflow: hidden; padding-bottom: .08em; }
.hero__name > span { display: inline-block; background: linear-gradient(100deg, #fff 30%, var(--gold-2) 50%, #fff 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.loaded .hero__name > span { animation: rise-in 1.1s var(--ease) calc(var(--i) * .1s + .25s) both, sheen 6s ease-in-out 2.4s infinite; }
@keyframes sheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
html[lang^="ar"] .hero__pre { font-style: normal; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
html[lang^="ar"] .hero__name { font-size: clamp(3.6rem, 8.6vw, 7rem); line-height: 1.25; letter-spacing: 0; }
.hero__role { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.hero__role svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.hero__text { font-size: 1.08rem; max-width: 54ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }

.hero__media { position: relative; justify-self: center; width: min(100%, 460px); }
.arch { position: relative; aspect-ratio: 400 / 540; clip-path: url(#archClip); overflow: hidden; background: var(--navy); }
.arch picture { display: block; height: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); transform-origin: 50% 30%; will-change: transform; }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,22,40,.75)); pointer-events: none; }
.arch__shine { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.loaded .arch__shine { animation: shine 1.6s var(--ease) 1.5s both; }
@keyframes shine { to { transform: translateX(120%); } }
.arch__outline { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.arch__outline path { stroke-dasharray: 2000; stroke-dashoffset: 0; }
.js .arch__outline path { stroke-dashoffset: 2000; }
.loaded .arch__outline path { animation: draw 2.4s var(--ease-io) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .arch picture { transform: translateY(101%); }
.loaded .arch picture { animation: arch-in 1.4s var(--ease-io) .35s forwards; }
@keyframes arch-in { to { transform: none; } }

.badge { position: absolute; top: 8%; inset-inline-start: -58px; width: 124px; height: 124px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); border: 1px solid rgba(198,161,91,.45); box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); z-index: 2; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge__ring text { direction: ltr; font-family: "Manrope", "IBM Plex Sans Arabic", sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .22em; fill: var(--gold-2); text-transform: uppercase; }
html[lang^="ar"] .badge__ring text { letter-spacing: 0; font-size: 12.5px; font-family: "IBM Plex Sans Arabic", sans-serif; }
.badge__c { display: grid; text-align: center; line-height: 1.1; }
.badge__c small { font-size: 9.5px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; }
html[lang^="ar"] .badge__c small { font-size: 11px; letter-spacing: 0; }
.badge__c b { font-family: "Cormorant Garamond", serif; font-size: 25px; color: var(--white); font-weight: 600; }
.years { position: absolute; bottom: 9%; inset-inline-end: -40px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px; background: rgba(248,244,236,.95); color: var(--ink); border-radius: 100px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); backdrop-filter: blur(8px); }
.years b { font-family: "Cormorant Garamond", serif; font-size: 44px; line-height: 1; font-weight: 700; color: var(--royal); min-width: 1.2em; text-align: center; }
.years span { font-size: 13.5px; font-weight: 600; max-width: 9ch; line-height: 1.25; }
.js .badge, .js .years { opacity: 0; transform: translateY(20px) scale(.9); }
.loaded .badge { animation: pop .9s var(--ease) 1.3s forwards; }
.loaded .years { animation: pop .9s var(--ease) 1.5s forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); }
html[lang^="ar"] .hero__scroll { letter-spacing: 0; font-size: 13px; }
.hero__scroll i { width: 1px; height: 44px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

.js .hero-in { opacity: 0; transform: translateY(34px); }
.loaded .hero-in { animation: rise-in 1.1s var(--ease) calc(var(--i) * .1s + .25s) forwards; }
.js .hero__name > span.hero-in { transform: translateY(105%); opacity: 1; }
@keyframes rise-in { to { opacity: 1; transform: none; } }

/* ---------- Chiffres ---------- */
.stats { background: var(--ink); color: rgba(255,255,255,.75); border-top: 1px solid var(--line-l); }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__list li { padding: 38px 28px; border-inline-end: 1px solid var(--line-l); display: grid; gap: 4px; }
.stats__list li:first-child { padding-inline-start: 0; }
.stats__list li:last-child { border-inline-end: 0; }
.stats__list b { font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 600; color: var(--gold-2); }
.stats__list li > span { font-size: 14.5px; }

/* ---------- Parcours ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 7vw, 110px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 30px); }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: 999px 999px 4px 4px / 60% 60% 4px 4px; z-index: -1; }
html[dir="rtl"] .frame::before { inset: 22px 22px -22px -22px; }
.frame__img { overflow: hidden; border-radius: 999px 999px 4px 4px / 60% 60% 4px 4px; aspect-ratio: 3 / 4.2; background: var(--paper-2); }
.frame__img picture { display: block; height: 100%; will-change: transform; transform: scale(1.12); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.frame figcaption { margin-top: 34px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.frame figcaption::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.about__quote { margin-top: 28px; padding: 26px 28px; background: var(--ink); color: var(--white); font-family: var(--f-display); font-size: 1.35rem; line-height: 1.4; border-radius: var(--r); position: relative; }
.about__quote::before { content: "“"; position: absolute; top: -22px; inset-inline-start: 18px; font-family: "Cormorant Garamond", serif; font-size: 90px; line-height: 1; color: var(--gold); }
html[lang^="ar"] .about__quote { font-size: 1.4rem; line-height: 1.7; }
.about__main > p:not(.label):not(.lead) { color: var(--muted); max-width: 62ch; margin-bottom: 18px; }

.timeline { position: relative; margin: 44px 0 44px; padding-inline-start: 34px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 5px; width: 1px; background: linear-gradient(var(--gold), rgba(198,161,91,.15)); }
.timeline li { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline li::before { content: ""; position: absolute; top: 25px; inset-inline-start: -34px; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); transition: background .4s .3s; }
.timeline li.in::before { background: var(--gold); }
.timeline__y { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--royal); line-height: 1.3; }
.timeline h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.timeline p { font-size: 14.5px; color: var(--muted); }

/* ---------- Ruban ---------- */
.ribbon-wrap { overflow: hidden; padding: 30px 0; margin: -30px 0; position: relative; z-index: 2; }
.ribbon { background: var(--gold); color: var(--ink); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.03); box-shadow: 0 20px 40px -24px rgba(10,22,40,.6); }
.ribbon__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
html[dir="rtl"] .ribbon__track { animation-name: marquee-rtl; }
.ribbon__track > div { display: flex; align-items: center; }
.ribbon span { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; white-space: nowrap; padding: 0 26px; }
.ribbon svg { width: 22px; height: 22px; flex: none; color: var(--ink); animation: spin 8s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.ribbon:hover .ribbon__track { animation-play-state: paused; }

/* ---------- Domaines ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 34px 30px 30px; min-height: 290px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity .8s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(198,161,91,.18), transparent 45%); opacity: 0; transition: opacity .4s; }
.card::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--royal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
html[dir="rtl"] .card::after { transform-origin: right; }
.card:hover { border-color: rgba(198,161,91,.55); box-shadow: 0 30px 60px -34px rgba(10,22,40,.45); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card__n { position: absolute; top: 22px; inset-inline-end: 26px; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 20px; color: var(--gold); }
.card__ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-2); margin-bottom: 10px; transition: transform .6s var(--ease), background .4s; }
.card__ic svg { width: 26px; height: 26px; }
.card:hover .card__ic { transform: rotate(-10deg) scale(1.06); background: var(--royal); }
.card h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; line-height: 1.15; color: var(--ink); }
html[lang^="ar"] .card h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.45; }
.card p { font-size: 15px; color: var(--muted); flex: 1; }
.card .link { margin-top: 6px; }
.cards .card:last-child { grid-column: span 3; min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px 24px; background: var(--ink); border-color: var(--ink); }
.cards .card:last-child .card__ic { background: var(--gold); color: var(--ink); margin: 0; }
.cards .card:last-child h3 { color: var(--white); }
.cards .card:last-child p { color: rgba(255,255,255,.7); flex: 1 1 320px; }
.cards .card:last-child .link { color: var(--gold-2); margin: 0; }

/* ---------- Serment ---------- */
.oath { position: relative; overflow: hidden; background: radial-gradient(90% 70% at 50% 0%, #15305a, var(--ink) 70%); color: rgba(255,255,255,.75); padding: clamp(90px, 12vw, 170px) 0; text-align: center; }
.oath__star { position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; margin: -450px 0 0 -450px; color: rgba(198,161,91,.09); animation: spin 140s linear infinite; }
.oath__in { position: relative; display: grid; justify-items: center; }
.oath .h2 { color: var(--white); max-width: 22ch; }
.oath__text {
  font-family: "Aref Ruqaa", "Amiri", serif; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.9; max-width: 30ch;
  margin: 34px auto 20px; padding: 44px clamp(20px, 5vw, 60px); position: relative; direction: rtl;
  border-block: 1px solid rgba(198,161,91,.35);
}
.oath__text::before, .oath__text::after { content: ""; position: absolute; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: var(--gold); transform: rotate(45deg); }
.oath__text::before { top: -7px; } .oath__text::after { bottom: -7px; }
.oath__text .w { color: rgba(255,255,255,.16); transition: color .5s, text-shadow .5s; }
.oath__text .w.lit { color: var(--gold-2); text-shadow: 0 0 24px rgba(198,161,91,.35); }
html:not(.js) .oath__text .w { color: var(--gold-2); }
.oath__tr { max-width: 70ch; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; line-height: 1.6; color: rgba(255,255,255,.75); }
.oath__tr[hidden] { display: none; }
.oath__note { margin-top: 18px; font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.45); }
.oath__values { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; border-top: 1px solid var(--line-l); }
.oath__values li { padding: 30px 16px 0; display: grid; gap: 4px; border-inline-end: 1px solid var(--line-l); }
.oath__values li:last-child { border-inline-end: 0; }
.oath__values b { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; color: var(--white); }
.oath__values span { font-size: 14px; }

/* ---------- Cabinet ---------- */
.office { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 100px); align-items: center; }
.office__img { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.office__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.15); transition: transform 1.8s var(--ease); }
.office__img figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 26px 22px; color: var(--white); font-size: 14px; font-weight: 500; background: linear-gradient(transparent, rgba(10,22,40,.85)); }
.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-io); }
html[dir="rtl"].js .wipe { clip-path: inset(0 0 0 100%); }
.js .wipe.in { clip-path: inset(0 0 0 0) !important; }
.wipe.in img, html:not(.js) .wipe img { transform: scale(1); }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 30px 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--ink); background: var(--gold-2); border-radius: 50%; padding: 4px; margin-top: 2px; }
.office__addr { display: flex; gap: 12px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-weight: 500; }
.office__addr svg { color: var(--royal); flex: none; margin-top: 2px; }

/* ---------- Méthode ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: s; }
.steps__line { position: absolute; top: 36px; inset-inline: 36px; height: 1px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .steps__line i { transform-origin: right; }
.steps li { position: relative; display: grid; gap: 10px; }
.steps__n { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); font-family: "Cormorant Garamond", serif; font-size: 30px; font-weight: 600; color: var(--royal); margin-bottom: 12px; position: relative; transition: background .4s, color .4s; }
.steps li:hover .steps__n { background: var(--ink); color: var(--gold-2); }
.steps h3 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
html[lang^="ar"] .steps h3 { font-weight: 700; font-size: 1.45rem; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Rendez-vous ---------- */
.book__star { position: absolute; width: 700px; height: 700px; top: -300px; inset-inline-start: -260px; color: rgba(198,161,91,.1); animation: spin 110s linear infinite; }
.bk { position: relative; background: var(--ivory); color: var(--text); border-radius: 10px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,0,0,.7); max-width: 1040px; margin: 0 auto; }
.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(--gold); 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(--ink); }
.bk__steps li.active span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.bk__steps li.active::after, .bk__steps li.done::after { transform: scaleX(1); }
.bk__steps li.done span { background: var(--ink); border-color: var(--ink); 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(10px); } }
.bk__q { font-family: var(--f-body); font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.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(--royal); }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip.sel { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.sel svg { color: var(--gold); }
.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: 8px; background: var(--white); text-align: start; transition: all .2s; }
.mode svg { width: 26px; height: 26px; color: var(--royal); flex: none; }
.mode b { display: block; font-size: 15.5px; color: var(--ink); }
.mode small { color: var(--muted); font-size: 13px; }
.mode:hover { border-color: var(--ink); }
.mode.sel { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; background: #fbf5e8; }
.mode.sel svg { color: var(--gold); }
.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(--ink); text-transform: capitalize; }
.cal__nav { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.cal__nav svg { width: 18px; height: 18px; }
.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: background .2s, color .2s; }
.day:hover:not(.off) { background: var(--paper); }
.day.off { color: rgba(24,34,54,.25); cursor: default; text-decoration: line-through; text-decoration-color: rgba(24,34,54,.15); }
.day.sel { background: var(--gold); color: var(--ink); font-weight: 700; }
.slots__date { font-family: var(--f-display); font-size: 1.25rem; color: var(--ink); margin-bottom: 14px; text-transform: capitalize; }
.slots__empty { padding: 30px; border: 1px dashed var(--line); border-radius: 8px; 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: 6px; font-size: 14px; font-weight: 500; background: var(--white); direction: ltr; transition: all .2s; }
.slot:hover:not(.taken) { border-color: var(--ink); }
.slot.sel { background: var(--ink); border-color: var(--ink); 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(--ink); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(31,74,143,.14); }
.field input.invalid { border-color: #b3412e; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); height: 50px; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; height: 100%; font-weight: 500; transition: all .2s; }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); 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(--royal); 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: .08em; }
html[dir="rtl"] .bk__sum small { letter-spacing: 0; font-size: 12.5px; }
.bk__sum b { font-size: 14px; font-weight: 600; color: rgba(24,34,54,.35); }
.bk__sum span.on b { color: var(--ink); }
.bk__nav { display: flex; gap: 10px; }
.bk__nav [hidden] { display: none; }
.bk__nav .btn--ghost { color: var(--ink); border-color: var(--line); }
.bk__err { grid-column: 1 / -1; order: -1; color: #b3412e; font-size: 14px; font-weight: 600; }
.bk__err:empty { display: none; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.bk__done { text-align: center; padding: 30px 0; }
.bk__done.active { display: grid; justify-items: center; gap: 14px; }
.bk__doneIc { width: 72px; height: 72px; display: grid; place-items: center; background: var(--wa); color: #fff; border-radius: 50%; animation: pop .6s var(--ease); }
.bk__doneIc svg { width: 36px; height: 36px; }
.bk__done h3 { font-family: var(--f-display); font-size: 2rem; color: var(--ink); }
.bk__done p { color: var(--muted); max-width: 52ch; }
.bk__recap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 10px; }
.bk__recap span { padding: 6px 14px; background: var(--paper); border-radius: 100px; font-size: 14px; }
.bk__doneBtns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bk__doneBtns .btn--ghost { color: var(--ink); }

/* ---------- 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: 30px; background: var(--ink); color: rgba(255,255,255,.75); border-radius: 8px; display: grid; gap: 8px; position: relative; overflow: hidden; }
.urgent::before { content: ""; position: absolute; width: 180px; height: 180px; top: -90px; inset-inline-end: -90px; border-radius: 50%; border: 1px solid rgba(198,161,91,.35); box-shadow: 0 0 0 26px rgba(198,161,91,.06), 0 0 0 52px rgba(198,161,91,.04); animation: ring 3s ease-in-out infinite; }
@keyframes ring { 50% { transform: scale(1.12); } }
.urgent strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--white); }
.urgent p { font-size: 15px; }
.urgent__tel { display: inline-flex; align-items: center; gap: 10px; font-family: "Cormorant Garamond", serif; font-size: 1.9rem; font-weight: 600; color: var(--gold-2); margin-top: 6px; }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-family: var(--f-body); font-size: 1.1rem; font-weight: 600; line-height: 1.45; color: var(--ink); transition: color .2s; }
.qa summary:hover h3 { color: var(--royal); }
.qa__x { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, border-color .3s; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; top: 50%; left: 10px; right: 10px; height: 1.6px; margin-top: -.8px; background: var(--ink); transition: transform .3s var(--ease), background .3s; }
.qa__x::after { transform: rotate(90deg); }
.qa[open] .qa__x { background: var(--gold); border-color: var(--gold); }
.qa[open] .qa__x::after { transform: rotate(0); }
.qa p { padding: 0 0 26px; color: var(--muted); max-width: 64ch; }
.qa[open] p { animation: fade .4s var(--ease); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.infos { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 16px; }
.infos li { display: flex; gap: 14px; padding: 22px; background: var(--ivory); transition: background .3s; }
.infos li:hover { background: var(--white); }
.infos li:first-child, .infos li:nth-child(4) { grid-column: 1 / -1; }
.infos .hours-l { display: block; }
.infos svg { color: var(--royal); margin-top: 3px; flex: none; }
.infos small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.infos a, .infos span { font-weight: 600; color: var(--ink); word-break: break-word; }
.infos a:hover { color: var(--royal); }
.contact__map { position: relative; min-height: 460px; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.03); }
.map-pin { position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.map-pin svg { width: 44px; height: 57px; filter: drop-shadow(0 8px 10px rgba(10,22,40,.45)); animation: pin-bounce 2.4s var(--ease) infinite; }
.map-pin path { fill: var(--ink); stroke: var(--gold); stroke-width: 2; }
.map-pin use { color: var(--gold); }
.map-pin::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 18px; height: 6px; margin-left: -9px; border-radius: 50%; background: rgba(10,22,40,.35); animation: pin-shadow 2.4s var(--ease) infinite; }
.map-pin__label { padding: 5px 12px; border-radius: 100px; background: var(--ink); color: var(--gold-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(10,22,40,.6); }
@keyframes pin-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } }
@keyframes pin-shadow { 0%, 60%, 100% { transform: scale(1); opacity: 1; } 30% { transform: scale(.7); opacity: .5; } }
.contact__dir { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; border-radius: 100px; }
.contact__dir svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(60px, 8vw, 100px) 0 30px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line-l); }
.footer__word { font-family: var(--f-display); font-style: italic; font-size: clamp(2rem, 4.6vw, 3.6rem); color: var(--white); line-height: 1.15; }
html[lang^="ar"] .footer__word { font-style: normal; }
.brand--light { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { font-family: var(--f-body); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
html[lang^="ar"] .footer h3 { letter-spacing: 0; font-size: 15px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer a:hover { color: var(--white); }
.footer__about { margin-top: 20px; font-size: 15px; max-width: 36ch; }
.hours li { display: flex; flex-direction: column; }
.hours li span:first-child { color: var(--white); }
.footer__disc { margin-top: 50px; font-size: 13px; color: rgba(255,255,255,.42); max-width: 90ch; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-l); font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Flottants ---------- */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; background: var(--wa); color: #fff; border-radius: 50%; box-shadow: 0 14px 30px -10px rgba(31,168,85,.7); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.mbar { display: none; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; } .js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; } .js .reveal[data-d="4"] { transition-delay: .32s; }
.js .card.reveal.in { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-in, .js .badge, .js .years { opacity: 1 !important; transform: none !important; }
  .js .arch picture { transform: none !important; }
  .js .wipe { clip-path: none !important; }
  .js .arch__outline path { stroke-dashoffset: 0; }
  .js .loader { display: none; }
  .oath__text .w { color: var(--gold-2) !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .nav > a { padding: 8px 9px; font-size: 14px; }
  .header__cta { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: span 2; }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0; color: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px var(--gutter) 40px;
    background: var(--ivory); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { font-family: var(--f-display); font-size: 2rem; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav > a::after { display: none; }
  .nav__foot { display: grid; gap: 8px; margin-top: auto; padding-top: 30px; color: var(--muted); font-size: 16px; }
  .menu-open .header { background: var(--ivory); color: var(--ink); }
  .header__end { margin-inline-start: auto; gap: 8px; }

  .hero { min-height: 0; padding-bottom: 110px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { width: min(100%, 400px); order: -1; margin-top: 10px; }
  .badge { inset-inline-start: -20px; width: 104px; height: 104px; }
  .years { inset-inline-end: -14px; }

  .stats__list { grid-template-columns: 1fr 1fr; }
  .stats__list li { padding: 26px 18px; border-bottom: 1px solid var(--line-l); }
  .stats__list li:nth-child(odd) { padding-inline-start: 0; }
  .stats__list li:nth-child(even) { border-inline-end: 0; }
  .stats__list li:nth-child(n+3) { border-bottom: 0; }

  .about, .faq, .contact, .office { grid-template-columns: 1fr; }
  .about__media, .faq__side { position: static; }
  .about__media { max-width: 440px; }
  .sec__head--split { grid-template-columns: 1fr; gap: 10px; }
  .office__img { aspect-ratio: 4 / 3.6; }
  .oath__values { grid-template-columns: 1fr 1fr; }
  .oath__values li { padding-bottom: 26px; }
  .oath__values li:nth-child(even) { border-inline-end: 0; }

  .steps { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .steps__line { display: none; }
  .bk__date { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }

  body { padding-bottom: 72px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset: auto 0 0 0; z-index: 45;
    background: var(--white); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -10px 30px -18px rgba(10,22,40,.4);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 100px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--paper); }
  .mbar a:nth-child(2) svg { color: var(--wa); }
  .mbar__main { background: var(--gold) !important; color: var(--ink) !important; }
  .wa-float { display: none; }
}

@media (max-width: 720px) {
  .header__in { gap: 10px; }
  .brand { flex: 1 1 auto; gap: 10px; min-width: 0; }
  .brand__txt { min-width: 0; }
  .brand__txt strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 18px !important; }
  .brand__txt small { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__mark svg { width: 26px; height: 26px; }
  .header__end { flex: none; gap: 4px; }
  .burger { width: 40px; }
  .lang button { width: 30px; height: 30px; font-size: 12px; }
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero__media { width: min(78%, 340px); }
  .badge { width: 90px; height: 90px; inset-inline-start: -26px; top: 4%; }
  .badge__c b { font-size: 19px; }
  .badge__ring text { font-size: 11px; }
  .years { padding: 10px 16px 10px 12px; inset-inline-end: -30px; }
  .years b { font-size: 34px; }
  .years span { font-size: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero { padding-bottom: 64px; }

  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .card { min-height: 0; padding: 28px 24px 26px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .ticks { grid-template-columns: 1fr; }
  .oath__text { padding-inline: 4px; }
  .oath__values b { font-size: 1.5rem; }

  .steps { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 60px 1fr; column-gap: 18px; }
  .steps__n { grid-row: span 2; width: 60px; height: 60px; font-size: 24px; margin: 0; }

  .bk__steps li { padding: 14px 10px; justify-content: center; font-size: 13px; flex-direction: column; gap: 6px; text-align: center; }
  .bk__modes { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .bk__bar { grid-template-columns: 1fr; }
  .bk__sum { gap: 6px 16px; }
  .bk__nav { justify-content: space-between; }
  .bk__nav .btn { flex: 1; padding: 0 14px; }
  .bk__nav #bBack { flex: 0 0 auto; }

  .infos { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 380px) {
  .lang button { width: 28px; }
  .chip { font-size: 13.5px; padding: 9px 13px; }
}
