/* Easy AutoReply : landing publique « bientôt disponible ».
   Jetons repris de lumacil-design-system (tokens.css), polices servies en local.
   Propriétés logiques partout (inline-start / inline-end) : la même feuille sert le français et la derja (rtl). */

@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url(fonts/dm-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url(fonts/dm-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url(fonts/dm-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-display: swap; src: url(fonts/outfit-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Kufi Arabic'; font-weight: 400; font-display: swap; src: url(fonts/noto-kufi-arabic-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Noto Kufi Arabic'; font-weight: 700; font-display: swap; src: url(fonts/noto-kufi-arabic-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Noto Sans Arabic'; font-weight: 400; font-display: swap; src: url(fonts/noto-sans-arabic-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Noto Sans Arabic'; font-weight: 600; font-display: swap; src: url(fonts/noto-sans-arabic-arabic-600-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --ink: #252339;          /* --ds-text-ink */
  --muted: #5d5a69;        /* --ds-neutral-700, AA sur blanc et sur lilas */
  --line: #e5e2eb;         /* --ds-line-input */
  --page: #ffffff;
  --soft: #f8f8fb;         /* --ds-surface-page */
  --lilac: #f0ecff;        /* --ds-brand-100 */
  --lilac-line: #ddd5ff;   /* --ds-line-brand-strong */
  --violet: #6245d3;       /* --ds-brand-600 */
  --violet-hi: #7558e7;    /* --ds-brand-500 */
  --violet-deep: #302360;  /* --ds-brand-900 */
  --violet-ink: #43309f;   /* --ds-brand-800 */
  --ok-bg: #e7f7ec; --ok-ink: #1f7a4c;
  --wait-bg: #fff7e8; --wait-ink: #8a5a00; --wait-line: #f1c64f;
  --bad-bg: #ffebeb; --bad-ink: #b3261e;
  --r-card: 18px;
  --r-ctl: 12px;
  --f-head: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --f-body: 'DM Sans', system-ui, sans-serif;
  --shadow: 0 1px 2px rgb(48 35 96 / .06), 0 12px 32px -12px rgb(48 35 96 / .22);
}
:root[dir="rtl"] {
  --f-head: 'Noto Kufi Arabic', 'Outfit', system-ui, sans-serif;
  --f-body: 'Noto Sans Arabic', 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); overflow-wrap: break-word; }
:root[dir="rtl"] body { line-height: 1.8; }
:root[dir="rtl"] * { letter-spacing: 0 !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; text-wrap: balance; }
:root[dir="rtl"] :is(h1, h2, h3) { line-height: 1.45; }
h2 { font-size: clamp(1.7rem, 6vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.latin { font-family: 'DM Sans', system-ui, sans-serif; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { max-width: 760px; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 20; background: var(--violet); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 10px; color: #fff; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 600 1.12rem/1 'Outfit', sans-serif; letter-spacing: -.02em; white-space: nowrap; min-height: 44px; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-inline: 10px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .95rem; text-decoration: none; }
.lang:hover { background: var(--lilac); color: var(--violet-ink); }
.lang-ar { font-family: 'Noto Sans Arabic', sans-serif; }
.header-cta { padding-inline: 14px; font-size: .95rem; }
@media (max-width: 380px) { .brand-name { font-size: 1rem; } .header-cta { padding-inline: 10px; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: var(--r-ctl); border: 2px solid transparent; font: 700 1rem/1.25 var(--f-body); text-decoration: none; text-align: center; cursor: pointer; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-ink); color: #fff; }
.btn-quiet { background: transparent; color: var(--violet-ink); border-color: var(--lilac-line); }
.btn-quiet:hover { background: var(--lilac); color: var(--violet-ink); }
.header-cta.btn { min-height: 44px; white-space: nowrap; }
.cta-long { display: none; }
@media (min-width: 600px) { .cta-long { display: inline; } .cta-short { display: none; } }

/* ---------- Héros ---------- */
.hero { padding: 36px 0 56px; background: linear-gradient(180deg, var(--page) 0%, var(--soft) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--lilac); color: var(--violet-ink); font-weight: 700; font-size: .92rem; }
:root[dir="rtl"] .status { padding: 6px 10px 6px 14px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--violet-hi); box-shadow: 0 0 0 4px rgb(117 88 231 / .22); flex: none; }
.status-sub { font-weight: 500; color: var(--muted); }
.hero h1 { font-size: clamp(2.35rem, 10.5vw, 4.1rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 20px; max-width: 13ch; }
:root[dir="rtl"] .hero h1 { font-size: clamp(2rem, 8.6vw, 3.4rem); line-height: 1.4; max-width: 16ch; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.hero-note { font-size: .95rem; color: var(--muted); margin: 14px 0 0; }
@media (min-width: 920px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
}

/* ---------- Bulles et fiches (illustrations) ---------- */
.illus { position: relative; margin: 0; }
.illus-tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.phone { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 16px; box-shadow: var(--shadow); max-width: 440px; margin-inline: auto; }
.phone-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e3f2ec; color: #1f6b4f; font: 700 .95rem/1 var(--f-head); }
.phone-who { line-height: 1.3; }
.phone-who strong { display: block; font-size: .98rem; }
.phone-who span { font-size: .84rem; color: var(--muted); }
.phone-head .illus-tag { margin-inline-start: auto; }

.bubble { position: relative; max-width: 86%; margin: 0 0 8px; padding: 10px 14px; border-radius: 18px; font-size: .98rem; line-height: 1.45; }
:root[dir="rtl"] .bubble { line-height: 1.7; }
.bubble-in { background: #efedf3; border-end-start-radius: 6px; margin-inline-end: auto; }
.bubble-out { background: var(--lilac); color: var(--ink); border-end-end-radius: 6px; margin-inline-start: auto; }
.bubble-meta { display: block; font-size: .78rem; font-weight: 700; color: var(--violet-ink); margin-bottom: 2px; }
.mark { background: linear-gradient(transparent 58%, rgb(117 88 231 / .28) 58%); border-radius: 2px; }

.slip { position: relative; margin-top: 14px; background: #fff; border: 1.5px solid var(--lilac-line); border-radius: 16px; padding: 14px 16px 12px; }
.slip::before { content: ""; position: absolute; inset-inline: 14px; top: -1.5px; height: 3px; background: repeating-linear-gradient(90deg, var(--violet-hi) 0 8px, transparent 8px 14px); border-radius: 2px; }
.slip-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font: 600 1rem/1.3 var(--f-head); }
.slip dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 12px; font-size: .95rem; }
.slip dt { color: var(--muted); }
.slip dd { margin: 0; font-weight: 700; }
.slip-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fake-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 10px; background: var(--violet); color: #fff; font-weight: 700; font-size: .9rem; }
.fake-btn-quiet { background: transparent; color: var(--violet-ink); border: 1.5px solid var(--lilac-line); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.chip-wait { background: var(--wait-bg); color: var(--wait-ink); box-shadow: inset 0 0 0 1px var(--wait-line); }
.chip-ok { background: var(--ok-bg); color: var(--ok-ink); }
.chip-you { background: var(--violet-deep); color: #fff; }
.chip-cat { background: var(--lilac); color: var(--violet-ink); }

.spark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--violet); flex: none; }
.spark svg { width: 13px; height: 13px; }

.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--lilac); border-radius: 18px; border-end-end-radius: 6px; margin-inline-start: auto; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-hi); opacity: .4; }
.hero-thread { display: flex; flex-direction: column; }

/* Scènes 3D (kit ear3d) : poster fixe d'abord, puis fondu vers le canvas WebGL.
   Les dimensions sont réservées par aspect-ratio : rien ne saute au chargement. */
.stage3d { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; background: radial-gradient(120% 90% at 50% 28%, #fff 0%, var(--soft) 48%, var(--lilac) 100%); aspect-ratio: 4 / 5; width: 100%; max-width: 440px; margin-inline: auto; }
.stage3d picture, .stage3d .stage-poster, .stage3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage3d .stage-poster { object-fit: cover; transition: opacity .7s ease; }
.stage3d canvas { opacity: 0; transition: opacity .7s ease; }
.stage3d.is-live canvas { opacity: 1; }
.stage3d.is-live .stage-poster { opacity: 0; }
.stage-demo { border-radius: 16px; margin-bottom: 2px; }
@media (min-width: 920px) {
  .stage-hero { aspect-ratio: 5 / 4; max-width: none; }
  .stage-demo { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .stage3d canvas, .stage3d .stage-poster { transition: none; } }

.illus-caption { font-size: .88rem; color: var(--muted); text-align: center; margin: 14px auto 0; max-width: 40ch; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
@media (min-width: 920px) { .section { padding: 96px 0; } }

/* Vous vous reconnaissez ? */
.pains { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.pain { padding: 22px 20px 20px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }
.pain h3 { margin-bottom: 6px; }
.pain p { color: var(--muted); margin: 0; }
.pain-thread { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; justify-content: flex-end; }
@media (min-width: 820px) { .pain-thread { min-height: 128px; } }
.pain-thread .bubble { margin: 0; font-size: .92rem; padding: 7px 12px; }
.bubble-ghost { opacity: .55; }
.bubble-lost { box-shadow: 0 0 0 2px var(--violet-hi); }
.unread { position: absolute; inset-inline-end: -4px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bad-ink); border: 2px solid #fff; }
.bubble-row { display: flex; gap: 6px; flex-wrap: wrap; }
.bubble-row .bubble { max-width: none; }
@media (min-width: 820px) { .pains { grid-template-columns: repeat(3, 1fr); } }

/* Comment ça marche : vraie séquence, donc numérotée */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; align-content: start; grid-template-columns: 44px 1fr; column-gap: 16px; padding-bottom: 28px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--violet); color: #fff; font: 700 1.15rem/1 'Outfit', sans-serif; grid-row: span 2; }
.step::after { content: ""; position: absolute; inset-inline-start: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--lilac-line); }
.step:last-child::after { display: none; }
.step h3 { margin: 8px 0 4px; }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 920px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step::before { grid-row: auto; margin-bottom: 14px; }
  .step::after { inset-inline-start: 56px; inset-inline-end: -16px; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* Démonstrations */
.demos { display: grid; gap: 22px; }
.demo { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.demo-top h3 { margin: 0; font-size: 1.05rem; }
.demo .bubble { font-size: .94rem; }
.demo-arrow { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; color: var(--muted); font-size: .86rem; }
.demo-arrow::before, .demo-arrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.source { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin: 8px 0 0; }
.handoff { margin-top: 2px; padding: 12px 14px; border-radius: 14px; background: var(--wait-bg); box-shadow: inset 0 0 0 1px var(--wait-line); color: var(--wait-ink); font-size: .94rem; }
.handoff strong { display: block; margin-bottom: 2px; }
.demo figcaption { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: .94rem; }
.demo .slip { margin-top: 2px; }
@media (min-width: 920px) { .demos { grid-template-columns: repeat(3, 1fr); } }

/* Fonctionnalités : liste, pas des cartes */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 48px; }
.feature { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature .spark { width: 28px; height: 28px; border-radius: 9px; margin-top: 1px; }
.feature .spark svg { width: 15px; height: 15px; }
.feature h3 { margin: 0 0 4px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); }
@media (min-width: 820px) { .features { grid-template-columns: 1fr 1fr; } }

/* Offres */
.plans { display: grid; gap: 18px; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 22px; }
.plan-main { border: 2px solid var(--violet); }
.plan h3 { font-size: 1.45rem; margin-bottom: 4px; }
.plan-for { color: var(--muted); margin-bottom: 14px; }
.plan-price { margin: 0 0 16px; padding: 8px 12px; border-radius: 10px; background: var(--soft); font-weight: 700; font-size: .92rem; color: var(--ink); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { position: relative; padding-inline-start: 22px; }
.plan li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--violet-hi); }
.plan .later { color: var(--muted); }
.plan .later::before { background: transparent; box-shadow: inset 0 0 0 2px var(--violet-hi); }
.note { color: var(--muted); font-size: .95rem; margin-top: 22px; max-width: 70ch; }
@media (min-width: 920px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* Accès anticipé : le formulaire */
.signup { background: var(--violet-deep); color: #fff; }
.signup .section-head h2 { color: #fff; }
.signup .section-head p { color: #e7e0ff; }
.signup-grid { display: grid; gap: 32px; align-items: start; }
.signup-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: #e7e0ff; }
.signup-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.signup-points .spark { background: var(--violet-hi); }
@media (min-width: 920px) { .signup-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }

.form-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 24px 20px; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .45); }
@media (min-width: 600px) { .form-card { padding: 32px; } }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.pair .field { margin-bottom: 14px; }
@media (min-width: 600px) { .pair .field { margin-bottom: 0; } }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.hint { display: block; font-size: .88rem; color: var(--muted); margin-top: -2px; margin-bottom: 8px; font-weight: 400; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #b3b1bc; border-radius: var(--r-ctl); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--f-body); }
textarea.input { min-height: 88px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 40px; }
:root[dir="rtl"] select.input { background-position: 15px 50%, 20px 50%; }
.input:hover { border-color: var(--muted); }
.input:focus-visible { outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
.input[aria-invalid="true"] { border-color: var(--bad-ink); }
.err { display: block; color: var(--bad-ink); font-size: .9rem; font-weight: 500; margin-top: 6px; }
.err:empty { display: none; }
.pair { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .pair { grid-template-columns: 1fr 1fr; } }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #b3b1bc; font-weight: 500; }
.radio input:checked + span { background: var(--lilac); border-color: var(--violet); color: var(--violet-ink); font-weight: 700; }
.radio input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin: 4px 0 20px; font-size: .95rem; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--violet); }
.consent label { cursor: pointer; }
.trap { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-info { background: var(--lilac); color: var(--violet-ink); }
.form-status.is-error { background: var(--bad-bg); color: var(--bad-ink); }
.form-small { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font: 600 1.08rem/1.35 var(--f-head); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--lilac); color: var(--violet-ink); font: 600 1.3rem/1 'Outfit', sans-serif; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 64ch; }

/* Rappel final */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--muted); }

/* Pied de page */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { color: var(--muted); margin: 10px 0 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-links a, .footer-links span { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.footer-links span { color: var(--muted); }
.cross { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.cross h2 { font-size: 1.05rem; margin: 0 0 4px; letter-spacing: 0; }
.cross p { margin: 0 0 6px; color: var(--muted); }
.cross a, .cross .pending { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.pending { color: var(--muted); font-weight: 500; }
.copyright { color: var(--muted); margin: 28px 0 0; font-size: .88rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } }

/* Bandeau de consentement (affiché seulement si un identifiant de mesure est renseigné) */
.consent-bar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 30; max-width: 560px; margin-inline: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.consent-bar p { margin: 0 0 12px; font-size: .95rem; }
.consent-bar .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pages simples (merci, mentions, confidentialité) */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(2rem, 7vw, 2.8rem); letter-spacing: -.03em; }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; letter-spacing: -.01em; }
.doc p, .doc li { color: #3b3850; max-width: 70ch; }
.tbc { background: var(--wait-bg); color: var(--wait-ink); padding: 0 6px; border-radius: 6px; font-weight: 700; }
.thanks { text-align: center; padding: 72px 0 96px; }
.thanks .brand-mark { width: 56px; height: 56px; margin: 0 auto 20px; }
.thanks h1 { font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.03em; }
.thanks p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.thanks .ar { font-family: 'Noto Sans Arabic', sans-serif; line-height: 1.8; }
