/* C.I.A.C.J.I — Encre & laurier doré. Couleurs principales réglables depuis l'admin (--ink, --gold). */
:root {
  --ink: #13202b;
  --gold: #9a8350;
  --ink-2: color-mix(in srgb, var(--ink) 86%, #fff);
  --ink-3: color-mix(in srgb, var(--ink) 80%, #000);
  --gold-l: color-mix(in srgb, var(--gold) 70%, #fff);
  --gold-d: color-mix(in srgb, var(--gold) 72%, #000);
  --gold-t: color-mix(in srgb, var(--gold) 12%, transparent);
  --ivory: #f7f4ec;
  --paper: #fffdf8;
  --line: #e6dfcf;
  --line-2: #d8cfba;
  --text: #1b2730;
  --muted: #56616a;
  --on-ink: #f3efe4;
  --on-ink-m: color-mix(in srgb, #f3efe4 74%, transparent);
  --wa: #128c4a;
  --err: #a3312a;
  --r: 6px;
  --shadow: 0 1px 2px rgba(19, 32, 43, .06), 0 12px 32px -12px rgba(19, 32, 43, .18);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .55);
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  --f-latin: "Marcellus", "Times New Roman", serif;
  --hdr: 72px;
}
.lang-fr {
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --f-head: "Marcellus", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font: 400 16.5px/1.75 var(--f-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.lang-fr { font-size: 17px; line-height: 1.65; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); font-weight: 700; color: inherit; }
.lang-fr h1, .lang-fr h2, .lang-fr h3 { font-weight: 400; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ltr-inline { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .ic--dir { transform: scaleX(-1); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold-l); color: var(--ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 4px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.3; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-l); color: var(--ink); }
.btn--gold:hover { background: color-mix(in srgb, var(--gold-l) 82%, #fff); }
.btn--ghost { border-color: color-mix(in srgb, var(--on-ink) 35%, transparent); color: var(--on-ink); }
.btn--ghost:hover { border-color: var(--gold-l); color: var(--gold-l); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: color-mix(in srgb, var(--wa) 85%, #000); }
.btn--link { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- en-tête ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: none; }
.brand__logo { width: 46px; height: 46px; }
.brand__t { display: flex; flex-direction: column; min-width: 0; }
.brand__t b { font: 400 19px/1.1 var(--f-latin); letter-spacing: .14em; color: var(--on-ink); white-space: nowrap; }
.brand__t small { font-size: 11.5px; line-height: 1.45; color: var(--gold-l); max-width: 240px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; font-size: 15.5px; color: var(--on-ink-m); border-radius: 4px; transition: color .2s; }
.nav a:hover { color: var(--gold-l); }
.nav__lang { display: none !important; }
.hdr__act { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__lang { font-size: 15px; color: var(--on-ink-m); padding: 8px 6px; border-bottom: 1px solid transparent; }
.hdr__lang:hover { color: var(--gold-l); border-color: var(--gold-l); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--on-ink) 25%, transparent); border-radius: 4px; background: transparent; color: var(--on-ink); cursor: pointer; }
.burger .ic { width: 22px; height: 22px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

@media (max-width: 1180px) { .brand__t small { display: none; } }
@media (max-width: 1023px) {
  .burger { display: inline-flex; }
  .hdr__lang { display: none; }
  .js .nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--ink); border-top: 1px solid color-mix(in srgb, var(--on-ink) 10%, transparent); padding: 8px clamp(16px, 4vw, 32px) 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid color-mix(in srgb, var(--on-ink) 8%, transparent); border-radius: 0; color: var(--on-ink); }
  .nav__lang { display: block !important; color: var(--gold-l) !important; border-bottom: 0 !important; }
  .nav { margin-inline-start: 0; }
  .hdr__act { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  .hdr__cta { display: none; }
  :root { --hdr: 64px; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__t b { font-size: 17px; }
}

/* ---------- héros ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); padding-block: clamp(48px, 8vw, 104px) clamp(104px, 12vw, 152px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; color: var(--gold); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 30%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%), linear-gradient(180deg, transparent 60%, var(--ink)); }
[dir="rtl"] .hero__bg::after { background: radial-gradient(60% 80% at 15% 30%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%), linear-gradient(180deg, transparent 60%, var(--ink)); }
.pattern { position: absolute; inset: 0; opacity: .06; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; mix-blend-mode: luminosity; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-l); font-size: 15px; font-weight: 500; letter-spacing: .04em; margin-bottom: 22px; }
.lang-fr .hero__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13.5px; }
.rule { display: inline-block; width: 34px; height: 1px; background: currentColor; flex: none; }
.hero__h1 { font-size: clamp(28px, 4.4vw, 52px); line-height: 1.38; letter-spacing: 0; text-wrap: balance; }
.lang-fr .hero__h1 { font-size: clamp(30px, 4.3vw, 54px); line-height: 1.13; }
.hero__lead { margin-top: 24px; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.9; color: var(--on-ink-m); max-width: 38em; }
.lang-fr .hero__lead { line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.seal { justify-self: center; width: 100%; max-width: 380px; }
.seal__frame {
  position: relative; text-align: center; padding: clamp(28px, 4vw, 44px) 24px clamp(26px, 3.5vw, 38px);
  border: 1px solid color-mix(in srgb, var(--gold-l) 45%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--ink-2) 70%, transparent), color-mix(in srgb, var(--ink) 40%, transparent));
  box-shadow: var(--shadow-lg);
}
.seal__frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid color-mix(in srgb, var(--gold-l) 18%, transparent); pointer-events: none; }
.seal__emblem { width: min(220px, 62%); height: auto; aspect-ratio: 1; margin-inline: auto; }
.seal__short { margin-top: 14px; font: 400 clamp(22px, 2.4vw, 28px)/1 var(--f-latin); letter-spacing: .26em; color: var(--gold-l); padding-inline-start: .26em; direction: ltr; }
.seal__name { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--on-ink-m); max-width: 28ch; margin-inline: auto; }
.seal__name[lang="fr"] { font-family: var(--f-latin); letter-spacing: .04em; text-transform: uppercase; font-size: 12px; line-height: 1.8; }
.seal__name[lang="ar"] { font-family: "Noto Kufi Arabic", sans-serif; font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__txt > *, .seal { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__txt > :nth-child(2) { animation-delay: .08s; }
  .hero__txt > :nth-child(3) { animation-delay: .16s; }
  .hero__txt > :nth-child(4) { animation-delay: .24s; }
  .seal { animation-delay: .2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .seal { max-width: 340px; justify-self: start; }
}
@media (max-width: 560px) {
  .seal { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- bandeau d'infos ---------- */
.info { position: relative; z-index: 2; margin-top: calc(-1 * clamp(64px, 7vw, 84px)); }
.info__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 0; }
.info__in > li { display: flex; gap: 14px; padding: 24px 22px; min-width: 0; }
.info__in > li + li { border-inline-start: 1px solid var(--line); }
.info__ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-t); color: var(--gold-d); flex: none; }
.info__in div { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.info__in small { font-size: 13px; color: var(--muted); }
.info__in b, .info__in a, .info__in span { font-weight: 600; font-size: 15px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.info__in a:hover { color: var(--gold-d); }
.info__in a.ltr { align-self: flex-start; }
@media (max-width: 1023px) {
  .info__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info__in > li:nth-child(3) { border-inline-start: 0; }
  .info__in > li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .info__in { grid-template-columns: 1fr; }
  .info__in > li { padding: 18px; }
  .info__in > li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.sec--paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec--ink { background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.sec__pattern { position: absolute; inset: 0; z-index: -1; color: var(--gold); }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-d); font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.lang-fr .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.eyebrow--light { color: var(--gold-l); }
.eyebrow--sm { font-size: 13px; margin-bottom: 18px; }
.h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.5; color: var(--ink); text-wrap: balance; }
.lang-fr .h2 { font-size: clamp(27px, 3.3vw, 42px); line-height: 1.18; }
.h2--light { color: var(--on-ink); }

/* domaines */
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc__card { position: relative; background: var(--paper); padding: 30px 26px 32px; display: flex; flex-direction: column; gap: 12px; transition: background-color .25s; }
.svc__card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .35s; }
[dir="rtl"] .svc__card::before { --origin: right; }
.svc__card:hover { background: #fff; }
.svc__card:hover::before { transform: scaleX(1); }
.svc__n { position: absolute; top: 24px; inset-inline-end: 24px; font: 600 13px/1 "Source Sans 3", sans-serif; color: var(--gold); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.svc__ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); color: var(--gold-d); margin-bottom: 6px; }
.svc__ic .ic { width: 24px; height: 24px; }
.svc__card h3 { font-size: 17.5px; line-height: 1.55; color: var(--ink); }
.lang-fr .svc__card h3 { font-size: 21px; line-height: 1.25; }
.svc__card p { color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.lang-fr .svc__card p { line-height: 1.6; }
@media (max-width: 1100px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc { grid-template-columns: 1fr; } .svc__card { padding: 26px 20px; } }

/* le centre + direction */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.about--one { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.about__p { margin-top: 22px; font-size: 17.5px; line-height: 2; color: var(--text); }
.lang-fr .about__p { line-height: 1.75; }
.points { margin-top: 30px; display: grid; gap: 12px; }
.points li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; }
.points .ic { color: var(--gold-d); }
.dir { position: relative; background: var(--ink); color: var(--on-ink); border-radius: var(--r); padding: clamp(26px, 3.5vw, 38px); box-shadow: var(--shadow-lg); }
.dir::before { content: ""; position: absolute; inset: 8px; border: 1px solid color-mix(in srgb, var(--gold-l) 20%, transparent); border-radius: 3px; pointer-events: none; }
.dir .eyebrow { color: var(--gold-l); }
.dir__top { display: flex; align-items: center; gap: 20px; }
.dir__ph { flex: none; width: 104px; height: 104px; border-radius: 50%; padding: 4px; border: 1px solid var(--gold-l); }
.dir__ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dir__mono { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); }
.dir__mono img { width: 72%; height: auto; }
.dir__name { font-size: clamp(21px, 2.2vw, 25px); line-height: 1.4; }
.lang-fr .dir__name { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.2; }
.dir__role { color: var(--gold-l); margin-top: 4px; font-weight: 500; }
.dir__list { margin-top: 26px; }
.dir__list li { position: relative; padding-block: 14px; padding-inline-start: 26px; border-top: 1px solid color-mix(in srgb, var(--on-ink) 12%, transparent); color: var(--on-ink-m); font-size: 15.5px; line-height: 1.75; }
.lang-fr .dir__list li { line-height: 1.55; }
.dir__list li::before { content: ""; position: absolute; inset-inline-start: 4px; top: calc(14px + .72em); width: 7px; height: 7px; background: var(--gold-l); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .dir__top { flex-direction: column; align-items: flex-start; } }

/* consultation */
.sec--ink .pattern { opacity: .05; }
.book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 72px); align-items: start; }
.book__lead { margin-top: 16px; color: var(--on-ink-m); font-size: 17px; }
.steps { margin-top: 36px; display: grid; gap: 26px; counter-reset: s; }
.steps li { display: flex; gap: 18px; }
.steps__n { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold-l); color: var(--gold-l); display: grid; place-items: center; font: 600 17px/1 "Source Sans 3", sans-serif; }
.steps h3 { font-size: 18px; line-height: 1.5; color: var(--on-ink); }
.lang-fr .steps h3 { font-size: 21px; line-height: 1.25; }
.steps p { margin-top: 4px; color: var(--on-ink-m); font-size: 15.5px; line-height: 1.85; }
.lang-fr .steps p { line-height: 1.6; }
.paym { margin-top: 36px; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--on-ink) 14%, transparent); }
.paym p { font-size: 14px; color: var(--gold-l); font-weight: 600; margin-bottom: 12px; }
.paym ul { display: flex; flex-wrap: wrap; gap: 10px; }
.paym li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--on-ink) 22%, transparent); border-radius: 999px; font-size: 14.5px; }
.paym .ic { color: var(--gold-l); width: 18px; height: 18px; }

.book__card { background: var(--paper); color: var(--text); border-radius: 8px; padding: clamp(22px, 3.4vw, 38px); box-shadow: var(--shadow-lg); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.fld { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fld--full { grid-column: 1 / -1; }
.fld label, .fld legend { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 0; }
.fld legend { margin-bottom: 7px; }
.fld input, .fld select {
  width: 100%; height: 52px; padding: 0 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 4px;
  font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-size: 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; padding-inline-end: 36px; }
[dir="rtl"] .fld select { background-position: 14px 50%, 20px 50%; }
.fld input[type="date"] { line-height: 52px; min-width: 0; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-t); }
.fld [aria-invalid="true"] { border-color: var(--err); }
.fld select:disabled { background-color: #f4f1ea; color: var(--muted); }
.fld__hint { font-size: 13px; color: var(--muted); line-height: 1.6; }
.fld__err { font-size: 13px; color: var(--err); }
.types__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type__box { height: 100%; display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.type__box .ic { color: var(--gold-d); margin-bottom: 4px; }
.type__box b { font-size: 15px; line-height: 1.4; color: var(--ink); }
.type__box small { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.type__box em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--gold-d); margin-top: 4px; }
.type input:checked + .type__box { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 7%, #fff); box-shadow: inset 0 0 0 1px var(--gold); }
.type input:focus-visible + .type__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.7; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__err { margin: 18px 0 0; padding: 12px 14px; border-radius: 4px; background: #fbefee; color: var(--err); font-size: 14.5px; }
.form .btn--gold { margin-top: 22px; background: var(--ink); color: var(--on-ink); }
.form .btn--gold:hover { background: var(--ink-2); }
.form__noscript { margin-top: 12px; text-align: center; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .types__row { grid-template-columns: 1fr; }
  .type__box { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; }
  .type__box .ic { margin: 0; }
  .type__box small, .type__box em { flex-basis: 100%; padding-inline-start: 30px; margin-top: 0; }
}

.done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.done:focus { outline: none; }
.done[hidden] { display: none; }
.done__ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-t); color: var(--gold-d); }
.done__ic .ic { width: 30px; height: 30px; }
.done h3 { font-size: 22px; color: var(--ink); }
.done__ref { display: flex; flex-direction: column; gap: 2px; padding: 12px 24px; border: 1px dashed var(--line-2); border-radius: 6px; background: var(--ivory); }
.done__ref small { color: var(--muted); font-size: 13px; }
.done__ref b { font: 400 26px/1.2 var(--f-latin); letter-spacing: .12em; color: var(--ink); }
.done__sum { font-weight: 600; color: var(--ink); }
.done > p { color: var(--muted); font-size: 15px; }
.done__pay { width: 100%; text-align: start; }
.done__pay:empty { display: none; }
.pbox { border: 1px solid var(--line); border-radius: 6px; padding: 16px; background: #fff; }
.pbox + .pbox { margin-top: 10px; }
.pbox h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); font-family: var(--f-head); }
.lang-fr .pbox h4 { font-weight: 400; font-size: 17px; }
.pbox h4 .ic { color: var(--gold-d); }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 8px; border-top: 1px solid var(--line); font-size: 14.5px; }
.prow:first-of-type { border-top: 0; }
.prow small { color: var(--muted); display: block; font-size: 12.5px; }
.prow code { font-family: ui-monospace, Menlo, monospace; font-size: 14px; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
.copy { flex: none; border: 1px solid var(--line-2); background: var(--ivory); border-radius: 4px; padding: 6px 12px; font-size: 13px; cursor: pointer; min-height: 36px; }
.pnote { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq .sec__head { position: sticky; top: calc(var(--hdr) + 32px); }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; font-weight: 600; font-size: 17px; color: var(--ink); line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .3s, background-color .2s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.qa[open] summary i { background: var(--ink); border-color: var(--ink); }
.qa[open] summary i::before, .qa[open] summary i::after { background: var(--on-ink); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.qa summary:hover { color: var(--gold-d); }
.qa__a p { padding-bottom: 24px; color: var(--muted); line-height: 1.95; max-width: 62ch; }
.lang-fr .qa__a p { line-height: 1.65; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .sec__head { position: static; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: stretch; }
.clist { margin-top: 30px; display: grid; gap: 22px; }
.clist__row { display: flex; gap: 16px; }
.clist__row > .ic { width: 22px; height: 22px; color: var(--gold-d); margin-top: 4px; }
.clist small { font-size: 13px; color: var(--muted); }
.clist p { font-size: 16.5px; color: var(--ink); font-weight: 500; }
.clist p.muted { font-weight: 400; font-size: 14.5px; color: var(--muted); }
.clist a:hover { color: var(--gold-d); }
.lnk { display: inline-block; margin-top: 4px; font-size: 14.5px; color: var(--gold-d); text-decoration: underline; text-underline-offset: 4px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.map { min-height: 420px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--ivory); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.25) contrast(1.02); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }

/* pied de page */
.ftr { background: var(--ink-3); color: var(--on-ink-m); padding-top: clamp(48px, 7vw, 72px); font-size: 15px; }
.ftr__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .7fr); gap: 36px; padding-bottom: 40px; }
.ftr__brand { display: flex; gap: 16px; align-items: flex-start; }
.ftr__brand img { width: 56px; height: 56px; flex: none; }
.ftr__brand b { font: 400 20px/1.2 var(--f-latin); letter-spacing: .16em; color: var(--on-ink); }
.ftr__brand p { margin-top: 8px; line-height: 1.7; max-width: 36ch; }
.ftr__col { display: grid; gap: 8px; align-content: start; }
.ftr__col ul { display: grid; gap: 8px; }
.ftr a:hover { color: var(--gold-l); }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid color-mix(in srgb, var(--on-ink) 10%, transparent); padding-block: 20px 28px; font-size: 13.5px; }
.privacy { max-width: 70ch; }
.privacy summary { cursor: pointer; color: var(--on-ink); }
.privacy p { margin-top: 10px; line-height: 1.8; }
@media (max-width: 900px) { .ftr__in { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr__in { grid-template-columns: 1fr; } }

/* WhatsApp flottant + barre mobile */
.wa-float { position: fixed; z-index: 40; bottom: 24px; inset-inline-end: 24px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }
.mbar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; z-index: 45; inset-inline: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--paper); border-top: 1px solid var(--line-2); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
  .mbar a + a { border-inline-start: 1px solid var(--line); }
  .mbar a:nth-child(2) .ic { color: var(--wa); }
  .mbar__main { background: var(--ink); color: var(--on-ink) !important; }
  .mbar__main .ic { color: var(--gold-l); }
}
