/* =========================================================
   Maître Abdelkebir Doullyazal — Avocat à Casablanca
   Style « Art déco Casablanca » : onyx, or, ivoire
   (repris de la plaque et de la carte de visite du cabinet)
   ========================================================= */
:root {
  --onyx: #0e0d0b;
  --onyx-2: #171510;
  --onyx-3: #221f18;
  --gold: #c9a24a;
  --gold-hi: #e6cc84;
  --gold-lo: #8a6a26;
  --ivory: #f7f2e6;
  --sand: #efe6d2;
  --paper: #fffcf5;
  --ink: #1b1813;
  --muted: #6b6250;
  --line: #d9ccae;
  --wa: #1f9d55;
  --err: #a8322a;

  --f-display: "Marcellus", "El Messiri", Georgia, serif;
  --f-body: "Jost", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --topbar: 38px;
  --header: 76px;
}
html[lang^="ar"] {
  --f-display: "El Messiri", "Marcellus", serif;
  --f-body: "IBM Plex Sans Arabic", "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.7 var(--f-body); color: var(--ink); background: var(--ivory); overflow-x: hidden; }
html[lang^="ar"] body { font-size: 17.5px; line-height: 1.85; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; margin: 0; line-height: 1.2; }
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 { font-weight: 600; line-height: 1.45; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--gold-lo); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.mail { direction: ltr; unicode-bidi: isolate; word-break: break-all; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--onyx); padding: 8px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Éléments communs ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 500 12.5px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
html[lang^="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; font-weight: 600; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg); }
.eyebrow--dark, .hero .eyebrow { color: var(--gold-lo); }
.h2 { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 18px; color: inherit; }
.sec--onyx .h2 em { color: var(--gold-hi); }
.lead { font-size: 1.1em; color: var(--muted); }
.sec--onyx .lead { color: #c9bfa8; }
.rule { width: 120px; height: 12px; color: var(--gold); display: block; margin: 22px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; font: 500 15px/1.2 var(--f-body); letter-spacing: .06em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
html[lang^="ar"] .btn { letter-spacing: 0; font-weight: 600; }
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--onyx); border-color: var(--gold-lo); }
.btn--gold:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn--line { border-color: var(--gold); color: var(--ink); background: var(--paper); }
.btn--line svg { color: var(--wa); }
.btn--line:hover { background: #fff; border-color: var(--gold-lo); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17864a; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }

/* ---------- Barre d'infos ---------- */
.topbar { background: var(--sand); color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; gap: 28px; align-items: center; min-height: var(--topbar); }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar__item svg { color: var(--gold-lo); width: 14px; height: 14px; }
.topbar__item:last-child { margin-inline-start: auto; color: var(--ink); font-weight: 600; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 245, .97); backdrop-filter: blur(8px); color: var(--ink); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 8px 28px rgba(27, 24, 19, .08); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gold); color: var(--gold-hi); background: var(--onyx); position: relative; }
.brand__mark::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(201, 162, 74, .35); }
.brand__mark svg { width: 30px; height: 30px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand__txt strong { font: 500 17px var(--f-display); color: var(--ink); }
.brand__txt small { font-size: 12px; color: var(--gold-lo); letter-spacing: .04em; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: 14.5px; color: #4a4336; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a.active { color: var(--gold-lo); border-bottom-color: var(--gold); }
.header__end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); }
.lang button { background: none; border: 0; color: var(--muted); font: 500 12.5px var(--f-body); padding: 7px 9px; cursor: pointer; }
.lang button.on { background: var(--gold); color: var(--onyx); }
.burger { display: none; background: none; border: 1px solid var(--line); width: 42px; height: 42px; padding: 11px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(8.3px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8.3px) rotate(-45deg); }

/* ---------- Accueil ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--paper), var(--ivory)); color: var(--ink); overflow: hidden; padding: clamp(48px, 7vw, 90px) 0 0; }
/* Soleil art déco */
.hero__rays { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(ellipse at 72% 110%, rgba(201, 162, 74, .2), transparent 55%); }
html[dir="rtl"] .hero__rays { transform: scaleX(-1); }
/* Soleil art déco qui tourne lentement */
.hero__sun { position: absolute; left: 72%; top: 105%; width: 2400px; height: 2400px; margin: -1200px 0 0 -1200px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(201, 162, 74, .17) 0 1.2deg, transparent 1.2deg 7.5deg);
  -webkit-mask-image: radial-gradient(circle, #000 8%, transparent 42%); mask-image: radial-gradient(circle, #000 8%, transparent 42%);
  animation: sun-turn 120s linear infinite; }
@keyframes sun-turn { to { transform: rotate(360deg); } }
/* Losanges dorés qui montent */
.spark { position: absolute; bottom: -20px; width: 8px; height: 8px; border: 1.5px solid var(--gold); transform: rotate(45deg); opacity: 0; animation: spark-rise 16s linear infinite; }
.spark:nth-child(3n) { width: 5px; height: 5px; background: var(--gold); border: 0; }
.spark:nth-child(4n) { width: 12px; height: 12px; border-width: 1px; }
.spark:nth-child(2) { left: 6%; animation-delay: -2s; animation-duration: 18s; }
.spark:nth-child(3) { left: 14%; animation-delay: -9s; }
.spark:nth-child(4) { left: 22%; animation-delay: -5s; animation-duration: 21s; }
.spark:nth-child(5) { left: 31%; animation-delay: -13s; animation-duration: 15s; }
.spark:nth-child(6) { left: 39%; animation-delay: -1s; animation-duration: 19s; }
.spark:nth-child(7) { left: 47%; animation-delay: -7s; }
.spark:nth-child(8) { left: 55%; animation-delay: -15s; animation-duration: 22s; }
.spark:nth-child(9) { left: 62%; animation-delay: -4s; animation-duration: 17s; }
.spark:nth-child(10) { left: 69%; animation-delay: -11s; }
.spark:nth-child(11) { left: 76%; animation-delay: -6s; animation-duration: 20s; }
.spark:nth-child(12) { left: 83%; animation-delay: -14s; animation-duration: 14s; }
.spark:nth-child(13) { left: 90%; animation-delay: -3s; animation-duration: 18s; }
.spark:nth-child(14) { left: 96%; animation-delay: -10s; }
.spark:nth-child(15) { left: 51%; animation-delay: -12s; animation-duration: 23s; }
@keyframes spark-rise {
  0% { transform: translate(0, 0) rotate(45deg); opacity: 0; }
  12% { opacity: .75; }
  50% { transform: translate(24px, -48vh) rotate(225deg); }
  85% { opacity: .5; }
  100% { transform: translate(-12px, -95vh) rotate(405deg); opacity: 0; }
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { display: flex; flex-direction: column; gap: 4px; }
.hero__pre { font: 400 clamp(20px, 2.2vw, 26px) var(--f-display); color: var(--gold-lo); }
.hero__name { font-size: clamp(40px, 6vw, 74px); color: var(--ink); line-height: 1.05; }
html[lang^="ar"] .hero__name { line-height: 1.3; }
.hero__role { margin: 16px 0 0; font-size: 1.05em; color: var(--gold-lo); font-weight: 500; letter-spacing: .03em; }
.hero__motto { font: 400 clamp(21px, 2.3vw, 27px)/1.4 var(--f-display); color: var(--ink); margin: 0 0 14px; }
.hero__text { color: var(--muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero__visual { position: relative; padding-bottom: 90px; max-width: 440px; justify-self: center; width: 100%; }
/* Cadre à gradins (ziggourat art déco) */
.deco-frame { --cut: polygon(0 10%, 9% 10%, 9% 5%, 18% 5%, 18% 0, 82% 0, 82% 5%, 91% 5%, 91% 10%, 100% 10%, 100% 100%, 0 100%);
  margin: 0; position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--gold-hi), var(--gold-lo)); padding: 2px; clip-path: var(--cut); }
.deco-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; clip-path: var(--cut); background: var(--onyx-3); filter: saturate(.9) contrast(1.03); }
.deco-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(14, 13, 11, .45)); clip-path: var(--cut); pointer-events: none; }

/* La plaque (reprise de la plaque réelle du cabinet) */
.plaque { position: absolute; inset-inline: 7%; bottom: 0; padding: 18px 22px 16px; text-align: center; color: var(--gold-hi);
  background: linear-gradient(145deg, #1d1b16, #070706 60%, #16140f); border: 1px solid var(--gold); box-shadow: 0 24px 50px rgba(27, 24, 19, .35), inset 0 0 0 4px #0b0a08, inset 0 0 0 5px rgba(201, 162, 74, .55); }
.plaque__screw { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9c9c9c 60%, #555); }
.plaque__screw:nth-child(1) { top: 7px; left: 7px; } .plaque__screw:nth-child(2) { top: 7px; right: 7px; }
.plaque__screw:nth-child(3) { bottom: 7px; left: 7px; } .plaque__screw:nth-child(4) { bottom: 7px; right: 7px; }
.plaque__mark { width: 34px; height: 34px; margin: 0 auto 4px; }
.plaque p { margin: 0; }
.plaque__ar { font: 700 20px/1.4 "El Messiri", serif; }
.plaque__rule { width: 110px; height: 10px; margin: 6px auto; }
.plaque__fr { font: 600 16px/1.3 "Jost", sans-serif; letter-spacing: .02em; }
.plaque__bar { font: 400 12.5px/1.5 "Jost", sans-serif; color: #d9c48d; }
.plaque__floor { font-size: 12.5px; line-height: 1.6; margin-top: 8px !important; padding-top: 8px; border-top: 1px solid rgba(201, 162, 74, .35); color: #d9c48d; }

.stats { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 26px 22px 30px; display: flex; flex-direction: column; gap: 6px; border-inline-start: 1px solid var(--line); }
.stats li:first-child { border-inline-start: 0; }
.stats b { font: 400 clamp(24px, 2.6vw, 34px)/1.2 var(--f-display); color: var(--gold-lo); direction: ltr; unicode-bidi: isolate; }
html[lang^="ar"] .stats b { font-weight: 600; }
.stats span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.sec--ivory { background: var(--ivory); }
#maitre { background: var(--paper); border-top: 1px solid var(--line); }
.sec--sand { background: var(--sand); }
.sec--onyx { background: var(--onyx); color: #efe7d4; }
.sec--onyx::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(201, 162, 74, .06) 119px 120px); animation: lines-drift 30s linear infinite; }
@keyframes lines-drift { to { background-position: 120px 0; } }
.sec--flush { padding: 0; }
.sec__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); position: relative; }
.sec__head--center { text-align: center; margin-inline: auto; }
.sec__head--center .eyebrow::after { content: ""; width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg); }

/* ---------- Le Maître ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about__photo { margin: 0; position: sticky; top: calc(var(--header) + 24px); }
.arch { border: 1px solid var(--gold); padding: 10px; border-radius: 240px 240px 0 0; background: var(--paper); }
.arch img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 45%; border-radius: 230px 230px 0 0; }
.about__photo figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.about__main p { color: #3d372b; }
.about__main .lead { color: var(--ink); }
.idcard { margin-top: 34px; background: var(--onyx); color: #efe7d4; border: 1px solid var(--gold); box-shadow: 0 20px 40px rgba(27, 24, 19, .18); }
.idcard__head { display: flex; align-items: center; gap: 12px; padding: 14px 22px; background: linear-gradient(90deg, var(--gold-lo), var(--gold), var(--gold-lo)); color: var(--onyx); font: 500 14px var(--f-body); letter-spacing: .16em; text-transform: uppercase; }
html[lang^="ar"] .idcard__head { letter-spacing: 0; font-size: 16px; font-weight: 600; }
.idcard__head svg { width: 26px; height: 26px; }
.idcard__rows { margin: 0; padding: 8px 22px 12px; }
.idcard__rows div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px dashed rgba(201, 162, 74, .3); }
.idcard__rows div:last-child { border-bottom: 0; }
.idcard__rows dt { color: #a99f88; font-size: 14.5px; }
.idcard__rows dd { margin: 0; color: var(--gold-hi); font-weight: 500; text-align: end; }

/* ---------- Domaines ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area { position: relative; background: var(--paper); padding: 28px 24px 26px; display: flex; flex-direction: column; transition: background .25s; }
.area::before, .area::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid var(--gold); transition: width .3s, height .3s; }
.area::before { top: 10px; inset-inline-start: 10px; border-top-width: 1.5px; border-inline-start-width: 1.5px; }
.area::after { bottom: 10px; inset-inline-end: 10px; border-bottom-width: 1.5px; border-inline-end-width: 1.5px; }
.area:hover { background: #fff; }
.area:hover::before, .area:hover::after { width: 34px; height: 34px; }
.area__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.area__ic { display: grid; place-items: center; width: 52px; height: 52px; background: var(--onyx); color: var(--gold-hi); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.area__ic svg { width: 26px; height: 26px; }
.area__n { font: 400 28px var(--f-display); color: var(--line); }
.area h3 { font-size: 21px; margin-bottom: 8px; }
.area p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.area ul { list-style: none; margin: 0 0 18px; padding: 0; font-size: 14.5px; }
.area li { padding: 5px 0; display: flex; gap: 10px; align-items: baseline; border-top: 1px solid #eee4cf; }
.area li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.area__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--gold-lo); text-decoration: none; }
.area__cta svg { width: 16px; height: 16px; transition: transform .2s; }
.area__cta:hover svg { transform: translateX(4px); }
html[dir="rtl"] .area__cta:hover svg { transform: scaleX(-1) translateX(4px); }
.more { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; justify-content: center; }
.more__h { font: 500 18px var(--f-display); color: var(--gold-lo); }
.more__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.more__list li { padding: 7px 16px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }

/* ---------- Engagements ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.why li { text-align: center; padding: 34px 20px 28px; border: 1px solid rgba(201, 162, 74, .3); background: linear-gradient(180deg, rgba(201, 162, 74, .07), transparent 60%); position: relative; }
.why li::before { content: ""; position: absolute; top: -1px; left: 50%; width: 40px; height: 3px; background: var(--gold); transform: translateX(-50%); }
.why__n { display: block; font: 400 38px/1 "Marcellus", serif; color: var(--gold); margin-bottom: 18px; }
.why h3 { font-size: 20px; color: #fff8e6; margin-bottom: 10px; }
.why p { font-size: 14.5px; color: #b3a98f; margin: 0; }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; inset-inline: 32px; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); }
.steps li { position: relative; }
.steps__n { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; font: 400 21px "Marcellus", serif; color: var(--onyx); background: linear-gradient(135deg, var(--gold-hi), var(--gold)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Photos ---------- */
.shots { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; position: relative; }
.shot { margin: 0; position: relative; overflow: hidden; border: 1px solid rgba(201, 162, 74, .4); aspect-ratio: 3 / 5; }
.shot--wide { aspect-ratio: auto; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; font-size: 13.5px; color: #f3ead3; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }

/* ---------- Rendez-vous ---------- */
.booking { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.lines { list-style: none; margin: 26px 0 22px; padding: 0; display: grid; gap: 10px; }
.lines a { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.lines a:hover { border-color: var(--gold); }
.lines svg { width: 22px; height: 22px; color: var(--gold-lo); }
.lines span { display: flex; flex-direction: column; line-height: 1.35; }
.lines small { color: var(--muted); font-size: 13px; }
.lines b { font-weight: 600; font-size: 17px; }
.hours { display: flex; gap: 12px; font-size: 15px; color: #3d372b; }
.hours svg { width: 20px; height: 20px; color: var(--gold-lo); margin-top: 3px; }
.hours b { display: block; }
.form { background: var(--onyx); color: #efe7d4; padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border: 1px solid var(--gold); position: relative; }
.form::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 162, 74, .25); pointer-events: none; }
.form__h { grid-column: 1 / -1; font-size: 26px; color: #fff8e6; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; position: relative; }
.field--full { grid-column: 1 / -1; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: 13.5px; color: #c9bfa8; padding: 0; margin-bottom: 7px; }
.field input, .field select, .field textarea { font: inherit; font-size: 15.5px; color: #fff8e6; background: var(--onyx-2); border: 1px solid #3a342a; padding: 12px 14px; border-radius: 0; width: 100%; color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .invalid { border-color: #d66a5f; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: inherit; font-size: 13.5px; padding: 7px 13px; background: transparent; color: #d6cbb1; border: 1px solid #4a4235; cursor: pointer; }
.pill:hover { border-color: var(--gold); }
.pill.sel { background: var(--gold); color: var(--onyx); border-color: var(--gold); }
.consent { display: flex; gap: 10px; font-size: 14px; color: #c9bfa8; align-items: flex-start; position: relative; }
.consent input { margin-top: 5px; accent-color: var(--gold); }
.form__err { color: #f08b80; font-size: 14px; margin: 0; min-height: 0; position: relative; }
.form__err:empty, .form__ok:empty { display: none; }
.form__ok { color: #7fd6a2; font-size: 14px; margin: 0; position: relative; }
.form__note { font-size: 13px; color: #8e846e; margin: 0; text-align: center; position: relative; }
.form .btn { position: relative; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__mark { width: 120px; height: 120px; color: var(--line); margin-top: 20px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: 19px; }
.qa__x { flex: none; position: relative; width: 26px; height: 26px; border: 1px solid var(--gold); transform: rotate(45deg); transition: background .2s; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: var(--gold-lo); transform: translate(-50%, -50%) rotate(-45deg); }
.qa__x::after { transform: translate(-50%, -50%) rotate(45deg); transition: opacity .2s; }
.qa[open] .qa__x { background: var(--gold); }
.qa[open] .qa__x::after { opacity: 0; }
.qa[open] .qa__x::before { background: var(--onyx); }
.qa p { color: #4a4336; padding-bottom: 22px; margin: 0; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; position: relative; }
.contact__card { padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px); }
.contact__list { margin: 26px 0 32px; display: grid; gap: 20px; }
.contact__list dt { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
html[lang^="ar"] .contact__list dt { letter-spacing: 0; font-size: 14.5px; }
.contact__list dt svg { width: 17px; height: 17px; }
.contact__list dd { margin: 0; color: #e3d9c2; }
.contact__list a { text-decoration: none; color: #fff8e6; }
.contact__list a:hover { color: var(--gold-hi); }
address { font-style: normal; }
.contact__btns { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.social { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(201, 162, 74, .5); color: var(--gold-hi); }
.social svg { width: 20px; height: 20px; }
.contact__map { position: relative; border-inline-start: 1px solid var(--gold); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.7) sepia(.25) contrast(1.05); }

/* ---------- Pied de page ---------- */
.footer { background: #080807; color: #a99f88; padding: 64px 0 100px; font-size: 14.5px; }
.footer__top { text-align: center; padding-bottom: 40px; border-bottom: 1px solid rgba(201, 162, 74, .2); }
.footer__mark { width: 54px; height: 54px; color: var(--gold); }
.footer__motto { font: 400 clamp(20px, 2.4vw, 26px) var(--f-display); color: #f3ead3; margin: 12px 0 0; }
.footer__top .rule { margin: 18px auto 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; padding: 40px 0; }
.footer h3 { font: 500 13px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
html[lang^="ar"] .footer h3 { letter-spacing: 0; font-size: 15px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-hi); }
.footer__name { font: 400 19px var(--f-display); color: #f3ead3; }
.fhours li { display: flex; justify-content: space-between; gap: 12px; }
.footer__disc { font-size: 12.5px; color: #71695a; border-top: 1px solid rgba(201, 162, 74, .15); padding-top: 22px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #71695a; }

/* ---------- Barre mobile ---------- */
.mbar { display: none; }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s 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; }
@media (prefers-reduced-motion: reduce) { .hero__sun, .spark, .sec--onyx::before { animation: none; } .spark { display: none; } .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13.5px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav { position: fixed; top: var(--header); inset-inline: 0; bottom: 0; flex-direction: column; gap: 0; padding: 20px var(--pad); background: var(--paper); margin: 0; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font: 400 22px var(--f-display); padding: 16px 0; border-bottom: 1px solid var(--line); }
  body.menu-open { overflow: hidden; }
  .topbar__hours { display: none; }
  .hero__grid, .about, .booking, .faq { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 420px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shot--wide { aspect-ratio: 3 / 5; }
  .contact { grid-template-columns: 1fr; }
  .contact__map { min-height: 380px; border-inline-start: 0; border-top: 1px solid var(--gold); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .faq__mark { display: none; }
}
@media (max-width: 720px) {
  :root { --header: 66px; }
  body { font-size: 16px; }
  .topbar__item:first-child { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__item:last-child { margin: 0; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__mark svg { width: 26px; height: 26px; }
  .brand__txt strong { font-size: 15px; }
  .brand__txt small { font-size: 11px; }
  .lang button { padding: 6px 7px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats li { padding: 20px 14px; }
  .areas { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .shots { gap: 10px; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .plaque { inset-inline: 3%; padding: 16px 14px 14px; }
  .plaque__ar { font-size: 18px; }
  .plaque__fr { font-size: 14.5px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: var(--onyx); border-top: 1px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); transition: transform .3s; }
  body.past-hero .mbar { transform: none; }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; font-size: 12.5px; color: #e3d9c2; text-decoration: none; }
  .mbar svg { width: 20px; height: 20px; color: var(--gold-hi); }
  .mbar__main { background: var(--gold); color: var(--onyx) !important; font-weight: 600; }
  .mbar__main svg { color: var(--onyx); }
}
