/* ==========================================================================
   Marwa AL-ASBAHI, traductrice-interprète assermentée (AlifTrad)
   Identité : sarcelle profond, safran en touche, papier clair à trame de points.
   Hébergement Starter Infomaniak (site statique). Conception : Abdullah AL-SALAMY
   ========================================================================== */
/* ---------- Polices (hébergées sur le site, licence SIL OFL) ---------- */
/* Latin : Plus Jakarta Sans (titres et texte) + Instrument Serif italique (mots mis en valeur) */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url(plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(instrument-serif-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF; }
/* Arabe : El Messiri (titres), Aref Ruqaa (calligraphie), Noto Naskh Arabic (texte) */
@font-face { font-family: "El Messiri"; font-style: normal; font-weight: 600; font-display: swap; src: url(el-messiri-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }
@font-face { font-family: "El Messiri"; font-style: normal; font-weight: 700; font-display: swap; src: url(el-messiri-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }
@font-face { font-family: "El Messiri"; font-style: normal; font-weight: 600; font-display: swap; src: url(el-messiri-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF; }
@font-face { font-family: "El Messiri"; font-style: normal; font-weight: 700; font-display: swap; src: url(el-messiri-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF; }
@font-face { font-family: "El Messiri AR"; font-style: normal; font-weight: 600; font-display: swap; src: url(el-messiri-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }
@font-face { font-family: "El Messiri AR"; font-style: normal; font-weight: 700; font-display: swap; src: url(el-messiri-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }
@font-face { font-family: "Aref Ruqaa"; font-style: normal; font-weight: 700; font-display: swap; src: url(aref-ruqaa-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }
@font-face { font-family: "Noto Naskh Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(noto-naskh-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }
@font-face { font-family: "Noto Naskh Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(noto-naskh-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }

/* ---------- Jetons ---------- */
:root {
  color-scheme: light;
  --bg: #F4F8F7;
  --surface: #FFFFFF;
  --ink: #0F2A2E;
  --muted: #566C6F;
  --line: #DBE5E3;
  --line-strong: #C2D2CF;
  --brand: #0E6B66;
  --brand-deep: #0A4C49;
  --brand-soft: #E1EFED;
  --accent: #F0B23A;
  --accent-soft: #FDF1DA;
  --accent-ink: #8A5A00;
  --stamp: #3940A8;
  --seal: #B23A3A;
  --wa: #1E9E5A;
  --wa-deep: #17844A;
  --ok: #1E8A5A;
  --ok-soft: #E3F5EC;
  --err: #B42318;
  --err-soft: #FDECEA;
  --footer: #0C2427;

  --display: "Plus Jakarta Sans", "El Messiri AR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif-it: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: var(--display);
  --body: var(--display);
  --head: var(--display);
  --calli: var(--head);
  --ar: "El Messiri AR", "Plus Jakarta Sans", system-ui, sans-serif;
  --naskh: "El Messiri AR", "Plus Jakarta Sans", serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(15, 42, 46, .06), 0 14px 32px -16px rgba(15, 42, 46, .25);
  --shadow-lg: 0 34px 70px -32px rgba(10, 40, 40, .55), 0 10px 26px -14px rgba(10, 40, 40, .3);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 70px;
  --dots: radial-gradient(rgba(14, 107, 102, .16) 1px, transparent 1.3px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:lang(ar) { line-height: 1.85; }
[lang="fr"] { line-height: 1.65; }
.nw { white-space: nowrap; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
:lang(ar) :is(h1, h2, h3, h4), :is(h1, h2, h3, h4):lang(ar) { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; color: #fff; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico .f { fill: currentColor; stroke: none; opacity: .18; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff; --bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .75rem 1.45rem; border-radius: 14px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--display); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { --bg: var(--brand-deep); --bd: var(--brand-deep); color: var(--fg); transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(14, 107, 102, .7); }
.btn:active { transform: none; }
.btn-ghost { --bg: var(--surface); --fg: var(--brand-deep); --bd: var(--line-strong); }
.btn-ghost:hover { --bg: var(--brand-soft); --bd: var(--brand); --fg: var(--brand-deep); box-shadow: none; }
.btn-wa { --bg: var(--wa); --bd: var(--wa); --fg: #fff; }
.btn-wa:hover { --bg: var(--wa-deep); --bd: var(--wa-deep); box-shadow: 0 12px 24px -12px rgba(30, 158, 90, .7); }
.btn-light { --bg: #fff; --fg: var(--brand-deep); --bd: #fff; }
.btn-light:hover { --bg: var(--accent-soft); --bd: var(--accent-soft); --fg: var(--ink); box-shadow: none; }
.btn-sm { min-height: 2.6rem; padding: .5rem 1.05rem; font-size: .9375rem; border-radius: 12px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn .ico { width: 1.15em; height: 1.15em; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink);
  background: rgba(244, 248, 247, .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-solid { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(15, 42, 46, .35); }
.bar { display: flex; align-items: center; gap: 1.1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; margin-inline-end: auto; min-width: 0; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark rect { fill: var(--brand); }
.brand-mark circle { fill: var(--accent); }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-text b { font: 700 1.08rem/1.2 var(--display); letter-spacing: -0.01em; white-space: nowrap; justify-self: start; }
.brand-text > span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.brand-text > span:lang(ar), :lang(ar) .brand-text > span { font-size: .85rem; }
.nav { display: flex; gap: .2rem; list-style: none; }
.nav a { display: block; padding: .45rem .8rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.lang-toggle { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .875rem; }
.lang-toggle a, .lang-toggle span { display: grid; place-items: center; min-width: 2.2rem; height: 2rem; padding-inline: .55rem; border-radius: 9px; text-decoration: none; color: var(--ink); line-height: 1; }
.lang-toggle [aria-current] { background: var(--brand); color: #fff; }
.lang-toggle a:hover { background: var(--brand-soft); }
.lang-toggle .ar-glyph { font-family: var(--display); font-size: 1rem; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; }
.menu-btn .ico { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-panel { display: none; }
@media (max-width: 920px) {
  .site-header .nav, .site-header .bar > .btn { display: none; }
  .menu-btn { display: grid; }
  .mobile-panel { display: grid; gap: .2rem; padding: .25rem var(--gutter) 1.2rem; background: var(--surface); border-bottom: 1px solid var(--line); }
  .mobile-panel a:not(.btn) { padding: .8rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
  .mobile-panel .btn { margin-top: .75rem; }
  .site-header.menu-open { background: var(--surface); }
}
@media (max-width: 400px) { .brand-text > span { display: none; } }

/* ---------- Accueil ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(2rem, 5vw, 3.75rem)) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 80% at 25% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 25% 30%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.4rem; padding: .35rem .85rem .35rem .4rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .875rem; font-weight: 600; color: var(--brand-deep); }
[dir="rtl"] .pill { padding: .35rem .4rem .35rem .85rem; }
.pill .dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.pill .dot .ico { width: .95rem; height: .95rem; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 1.1rem; }
.hero h1:lang(ar) { font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.35; letter-spacing: 0; }
.swap { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; vertical-align: -.08em; border-radius: .26em; background: var(--accent); color: var(--ink); font-family: system-ui, sans-serif; font-weight: 600; font-size: .78em; }
.rotline { font: 600 clamp(1.1rem, 1.7vw, 1.3rem)/1.5 var(--display); margin-bottom: 1rem; color: var(--ink); }
.rotline:lang(ar) { line-height: 1.8; }
.rot { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--brand); }
.rot > span { grid-area: 1 / 1; justify-self: start; white-space: nowrap; background: linear-gradient(transparent 62%, var(--accent-soft) 62%); transition: transform .55s var(--ease), opacity .45s; }
.js .rot > span:not(.is-on) { transform: translateY(100%); opacity: 0; }
.js .rot > span.is-out { transform: translateY(-100%); opacity: 0; }
.hero-lede { font-size: 1.1rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }




/* Visuel : panneau sarcelle et comparateur */




































@keyframes press { 0% { opacity: 0; transform: rotate(-10deg) scale(1.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-10deg) scale(1); } }













@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; }  }



/* ---------- Sections ---------- */
.section { padding-block: clamp(3.25rem, 7vw, 5.25rem); }
.section.alt { background: var(--surface); }
.kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; padding: .25rem .7rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); font: 600 .85rem/1.3 var(--display); }
.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); margin-bottom: .6rem; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.icon-tile { width: 3.3rem; height: 3.3rem; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.icon-tile .ico { width: 1.65rem; height: 1.65rem; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: .8rem; min-width: 0;
  padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background-color .3s;
}
.svc:hover { transform: translateY(-4px); background: var(--surface); border-color: var(--brand); box-shadow: var(--shadow); }
.svc:hover .icon-tile { background: var(--brand); color: #fff; }
.svc .icon-tile { transition: background-color .3s, color .3s; }
.svc h3 { font-size: 1.3rem; }
.svc > p { color: var(--muted); font-size: .98rem; margin: 0; }
.svc .btn { margin-top: auto; align-self: flex-start; }
.svc.is-new { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--bg) 42%); }
.svc.is-new:hover { border-color: var(--accent); }
.svc.is-new .icon-tile { background: var(--accent); color: var(--ink); }
.new-pill { position: absolute; top: 1.2rem; inset-inline-end: 1.2rem; margin: 0; padding: .2rem .65rem; border-radius: 999px; background: var(--accent); color: var(--ink); font: 700 .78rem/1.4 var(--display); }
.ticks { list-style: none; display: grid; gap: .45rem; margin-bottom: .3rem; font-size: .95rem; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; }
.ticks .ico { width: 1.15rem; height: 1.15rem; color: var(--brand); stroke-width: 2.4; margin-top: .2em; }
:lang(ar) .ticks .ico { margin-top: .4em; }
.how { border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.how summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .85rem; cursor: pointer; list-style: none; font: 600 .9rem/1.4 var(--display); color: var(--brand-deep); }
.how summary::-webkit-details-marker { display: none; }
.how summary .ico { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.how[open] summary .ico { transform: rotate(180deg); }
.how ol { margin: 0; padding: 0 .85rem 0 2.1rem; display: grid; gap: .35rem; font-size: .88rem; }
[dir="rtl"] .how ol { padding: 0 2.1rem 0 .85rem; }
.how .note { margin: .55rem .85rem .75rem; font-size: .82rem; color: var(--muted); }
.how[open] ol { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr; max-width: 40rem; } }

/* ---------- Étapes ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; counter-increment: step; display: grid; gap: .5rem; align-content: start; padding: 1.3rem 1.25rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.steps li::after { content: counter(step); position: absolute; top: 1.15rem; inset-inline-end: 1.2rem; font: 700 2.4rem/1 var(--display); color: var(--brand-soft); }
.steps h3 { font-size: 1.1rem; margin-top: .3rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Confiance ---------- */















/* ---------- Demande de devis ---------- */
.request-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.request-aside h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); margin-bottom: .8rem; }
.request-aside > p { color: var(--muted); }




.quick { display: grid; gap: .6rem; }
.quick > span { font-weight: 600; font-size: .95rem; }
.quick div { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 961px) { .request-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
@media (max-width: 960px) { .request-grid { grid-template-columns: 1fr; } }

.form-card { position: relative; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 1.5rem; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; list-style: none; }
.progress li { display: grid; gap: .5rem; font: 600 .8rem/1.3 var(--display); color: var(--muted); }
.progress li::before { content: ""; height: 6px; border-radius: 6px; background: var(--line); transition: background-color .4s var(--ease); }
.progress li.done::before, .progress li[aria-current]::before { background: var(--brand); }
.progress li[aria-current] { color: var(--brand-deep); }
.form:not(.is-wizard) .wizard-only { display: none !important; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.1rem; }
.step + .step { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.is-wizard .step + .step { border-top: 0; padding-top: 0; }
.is-wizard .step:not(.is-active) { display: none; }
.is-wizard .step.is-active { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .is-wizard .step.is-active { animation-name: stepInRtl; }
@keyframes stepInRtl { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.step > legend { font: 700 1.4rem/1.35 var(--display); letter-spacing: -0.015em; padding: 0; margin-bottom: .1rem; }
:lang(ar) .step > legend { letter-spacing: 0; line-height: 1.5; }
.subgroup { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.1rem; }
.subgroup-title { font: 700 1.02rem/1.3 var(--display); margin: .2rem 0 -.2rem; padding: 0; color: var(--brand-deep); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) { .row, .row-3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.field > label, .label { font-weight: 600; font-size: .925rem; }
.req { color: var(--err); margin-inline-start: .15em; }
.hint { font-size: .8125rem; color: var(--muted); }
:lang(ar) .hint { font-size: .875rem; }
.form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], select, textarea) {
  width: 100%; min-height: 3.05rem; padding: .7rem .95rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid transparent; border-radius: 12px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
.form :is(input, select, textarea):hover { border-color: var(--line-strong); }
.form :is(input, select, textarea):focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 107, 102, .15); }
.form [aria-invalid="true"] { border-color: var(--err) !important; background: var(--err-soft) !important; }
.form :is(input[type="date"], input[type="time"], input[type="tel"], input[type="email"]) { direction: ltr; }
[dir="rtl"] .form :is(input[type="date"], input[type="time"], input[type="tel"], input[type="email"]) { text-align: right; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .6rem; }
.choices.three { grid-template-columns: 1fr; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; width: 100%; height: 100%; }
.choice .c { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .8rem; height: 100%; padding: .8rem 1rem; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice .c-ico { grid-row: 1 / span 2; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--brand); transition: background-color .2s, color .2s; }
.choice .c-ico .ico { width: 1.35rem; height: 1.35rem; }
.choice .c-radio { grid-row: 1 / span 2; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice .c-title { font: 600 .98rem/1.3 var(--display); }
.choice .c-sub { grid-column: 2; font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.choice input:hover + .c { border-color: var(--brand); }
.choice input:checked + .c { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 10px 22px -16px rgba(14, 107, 102, .8); }
.choice input:checked + .c .c-ico { background: var(--brand); color: #fff; }
.choice input:checked + .c .c-radio { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + .c { outline: 3px solid var(--accent); outline-offset: 2px; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem .45rem .5rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; font: 600 .88rem/1.3 var(--sans); transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
[dir="rtl"] .chip { padding: .45rem .5rem .45rem .8rem; }
:lang(ar) .chip { font-size: .95rem; }
.chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.chip .ck { width: 1.2rem; height: 1.2rem; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: all .2s; }
.chip .ck .ico { width: .75rem; height: .75rem; stroke-width: 3; opacity: 0; transform: scale(.4); transition: all .25s var(--ease); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip[aria-pressed="true"] .ck { background: #fff; border-color: #fff; color: var(--brand); }
.chip[aria-pressed="true"] .ck .ico { opacity: 1; transform: none; }
html:not(.js) .chips-field { display: none; }
@media (max-width: 560px) {
  .chip-cloud { gap: .35rem; }
  .chip { padding: .36rem .65rem .36rem .4rem; font-size: .82rem; gap: .35rem; }
  [dir="rtl"] .chip { padding: .36rem .4rem .36rem .65rem; }
  :lang(ar) .chip { font-size: .86rem; }
  .chip .ck { width: 1.05rem; height: 1.05rem; }
}

.drop { position: relative; display: grid; justify-items: center; gap: .3rem; text-align: center; padding: 1.5rem 1rem; border-radius: var(--r-md); border: 2px dashed var(--line-strong); background: var(--bg); transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.drop:hover { border-color: var(--brand); }
.drop.is-over { border-color: var(--brand); background: var(--brand-soft); transform: scale(1.01); }
.drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.drop .up { width: 2.9rem; height: 2.9rem; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow); margin-bottom: .3rem; }
.drop strong { color: var(--brand); }
.file-list { list-style: none; display: grid; gap: .45rem; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: .7rem; padding: .5rem .5rem .5rem .65rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: .9375rem; animation: stepIn .3s var(--ease); }
.file-list .fi { width: 2.4rem; height: 2.1rem; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); font: 700 .625rem/1 var(--display); text-transform: uppercase; flex: none; }
.file-list .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: start; }
.file-list .size { color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.file-list button { width: 2rem; height: 2rem; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; }
.file-list button:hover { background: var(--err-soft); color: var(--err); }
.file-list button .ico { width: 1rem; height: 1rem; }
.file-total { font-size: .8125rem; color: var(--muted); }
.file-total.is-over { color: var(--err); font-weight: 600; }
.recap { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; padding: .85rem 1rem; border-radius: 14px; background: var(--bg); font-size: .875rem; }
.recap b { font: 700 .875rem/1.3 var(--display); margin-inline-end: .25rem; }
.recap span { padding: .25rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; cursor: pointer; }
.consent input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex: none; accent-color: var(--brand); }
:lang(ar) .consent input { margin-top: .45rem; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step-nav { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.step-nav .grow { margin-inline-start: auto; }
.status { margin: 0; padding: .85rem 1.05rem; border-radius: 12px; font-weight: 600; font-size: .925rem; }
.status.is-error { background: var(--err-soft); color: var(--err); }
.status.is-ok { background: var(--ok-soft); color: var(--ok); }
.status.is-info { background: var(--brand-soft); color: var(--brand-deep); }
.status-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: -.5rem; }
.sent { display: grid; justify-items: center; text-align: center; gap: .9rem; padding: clamp(1.5rem, 5vw, 3rem) 1rem; }
.sent:focus { outline: none; }
.sent svg { width: 84px; height: 84px; }
.sent .ring { fill: none; stroke: var(--ok-soft); stroke-width: 6; }
.sent .ring-on { fill: none; stroke: var(--ok); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 252; stroke-dashoffset: 252; transform: rotate(-90deg); transform-origin: 50% 50%; animation: draw .8s var(--ease) forwards; }
.sent .tick { fill: none; stroke: var(--ok); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent h3 { font-size: 1.7rem; }
.sent p { color: var(--muted); max-width: 30rem; margin: 0; }

/* ---------- Questions ---------- */
.faq { display: grid; gap: .65rem; max-width: 50rem; margin-inline: auto; }
.faq details { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; font: 600 1.02rem/1.45 var(--display); }
:lang(ar) .faq summary { line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 1.9rem; height: 1.9rem; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq summary .pm .ico { width: .95rem; height: .95rem; stroke-width: 2.6; }
.faq .a { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .97rem; }
.faq details[open] .a { animation: rise .35s var(--ease); }
.faq .a p { margin: 0; }

/* ---------- Contact ---------- */













.ct-tile { --c: var(--brand); --c-sh: rgba(14, 107, 102, .45); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; height: 100%; padding: 1rem 1.15rem; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.ct-tile:hover, .ct-tile:focus-visible { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 18px 34px -20px var(--c-sh); color: var(--ink); }
.ct-tile.wa { --c: var(--wa); --c-sh: rgba(30, 158, 90, .5); }
.ct-tile.form { --c: var(--accent-ink); --c-sh: rgba(240, 178, 58, .6); }
.ct-ico { width: 3.1rem; height: 3.1rem; border-radius: 15px; display: grid; place-items: center; background: var(--c); color: #fff; }
.ct-tile.form .ct-ico { background: var(--accent); color: var(--ink); }
.ct-ico .ico { width: 1.55rem; height: 1.55rem; }
.ct-ico .ico .f { opacity: .3; }
.ct-txt { min-width: 0; }
.ct-txt b { display: block; font: 700 1.08rem/1.3 var(--display); }
.ct-txt span { display: block; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.ct-tile > .go { width: 1.2rem; height: 1.2rem; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.ct-tile:hover > .go { transform: translateX(4px); color: var(--c); }
[dir="rtl"] .ct-tile > .go { transform: scaleX(-1); }
[dir="rtl"] .ct-tile:hover > .go { transform: scaleX(-1) translateX(4px); }


/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .72); padding-block: clamp(3rem, 6vw, 4.5rem) 1.6rem; font-size: .925rem; }

.site-footer .brand { color: #fff; margin-bottom: .9rem; }
.site-footer .brand-text > span { color: rgba(255, 255, 255, .6); }
.site-footer h3 { font: 700 .95rem/1.3 var(--display); color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer p { margin: 0 0 .45rem; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.co-info { display: grid; gap: .5rem; font-style: normal; }
.co-info b { color: #fff; font-family: var(--display); font-size: 1.05rem; justify-self: start; }
.co-info span { display: flex; gap: .45rem; align-items: flex-start; }
.co-info .ico { width: 1rem; height: 1rem; margin-top: .25em; color: var(--accent); }







.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.footer-legal .credit a { color: var(--accent); font-weight: 600; }


/* ---------- Barre de contact flottante ---------- */
.dock { position: fixed; z-index: 45; display: flex; gap: 6px; padding: 6px; border-radius: 18px; inset-inline-end: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(15, 42, 46, .45); transform: translateY(160%); transition: transform .45s var(--ease); }
.dock.show { transform: none; }
.dock a { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 2.9rem; padding: 0 1rem; border-radius: 13px; background: var(--bg); color: var(--ink); font: 600 .9rem/1 var(--display); text-decoration: none; transition: filter .2s, transform .2s var(--ease); }
.dock a:hover { filter: brightness(1.04); transform: translateY(-1px); color: var(--ink); }
.dock a.wa, .dock a.wa:hover { background: var(--wa); color: #fff; }
.dock a.primary, .dock a.primary:hover { background: var(--brand); color: #fff; }
.dock .ico { width: 1.2rem; height: 1.2rem; }
.dock .ico .f { opacity: .3; }
html:not(.js) .dock { display: none; }
@media (max-width: 760px) {
  .dock { inset-inline: calc(10px + env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-right, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .dock a { flex: 1; flex-direction: column; gap: .25rem; height: 3.5rem; padding: 0 .4rem; font-size: .78rem; }
}

/* ---------- Pages simples ---------- */
.plain { padding-top: var(--header-h); }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
.prose h2 { font-size: 1.3rem; margin: 2.3rem 0 .7rem; }
.prose ul { padding-inline-start: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .3rem; }
.prose .status { margin-bottom: 1.4rem; }
.co-inline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem; }
.plain .footer-legal { margin-top: 1.4rem; }
.plain .site-footer { padding-top: 2.4rem; }

/* ---------- Illustrations et icônes (v6) ---------- */
.art { width: 100%; height: auto; direction: ltr; }
.art .la { font-family: var(--display); }
.art .ar { font-family: var(--ar); }
.art .spin { transform-box: fill-box; transform-origin: center; transition: transform .7s var(--ease); }
.kicker .ico { width: 1rem; height: 1rem; }
.swap .ico { width: .82em; height: .82em; stroke-width: 2.6; }

.svc-art { margin: -.35rem -.3rem 0; border-radius: 18px; overflow: hidden; overflow: clip; aspect-ratio: 2 / 1; background: var(--brand-soft); }
.svc-art .art { transition: transform .7s var(--ease); }
.svc:hover .svc-art .art { transform: scale(1.04); }
.svc:hover .art .spin { transform: rotate(180deg); }
.svc .svc-art + .icon-tile { position: relative; margin: -2.7rem 0 0; margin-inline-start: 1rem; border: 3px solid #fff; box-shadow: var(--shadow); }
.new-pill { z-index: 2; box-shadow: 0 6px 16px -8px rgba(138, 90, 0, .6); }

@media (min-width: 961px) {
  .steps li:not(:last-child)::before { content: ""; position: absolute; top: 2.95rem; inset-inline-start: calc(100% + 3px); width: 12px; border-top: 2px dashed var(--line-strong); }
}
.steps .icon-tile { background: linear-gradient(145deg, var(--brand-soft), #fff); border: 1px solid var(--line); }
.steps li:hover .icon-tile { background: var(--brand); color: #fff; }
.steps .icon-tile { transition: background-color .3s, color .3s; }





@keyframes float { 50% { transform: translate(4px, -5px); } }


.progress li > span { display: flex; align-items: center; gap: .35rem; }
.progress .ico { width: 1rem; height: 1rem; flex: none; }
@media (max-width: 400px) { .progress .ico { display: none; } }

.faq summary { justify-content: flex-start; }
.faq summary .q { flex: 1; min-width: 0; }
.q-ico { width: 2.3rem; height: 2.3rem; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); transition: background-color .3s, color .3s; }
.q-ico .ico { width: 1.2rem; height: 1.2rem; }
.faq details[open] .q-ico, .faq summary:hover .q-ico { background: var(--accent); color: var(--ink); }
@media (min-width: 561px) { .faq .a { padding-inline-start: calc(1.2rem + 2.3rem + 1rem); } }



@keyframes pulse { 0% { transform: scale(.55); opacity: .95; } 100% { transform: scale(1.7); opacity: 0; } }


/* ==========================================================================
   v7 : en-tête mobile, interactions, et un style propre à chaque langue
   ========================================================================== */
/* ---------- En-tête : le nom reste toujours visible sur téléphone ---------- */
.brand-text b { overflow-wrap: normal; }
@media (max-width: 600px) {
  .bar { gap: .55rem; }
  .brand { gap: .55rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text b { font-size: clamp(.98rem, 4.4vw, 1.15rem); white-space: normal; line-height: 1.1; }
  .lang-toggle [aria-current] { display: none; }
  .lang-toggle a { min-width: 2.45rem; height: 2.35rem; }
  .menu-btn { width: 42px; height: 42px; }
}

/* ---------- Barre de lecture et lien actif ---------- */
.read-progress { position: absolute; inset: auto 0 -1px 0; height: 3px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand), var(--accent)); pointer-events: none; }
[dir="rtl"] .read-progress { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--brand), var(--accent)); }
.nav a.is-active { color: var(--brand-deep); background: var(--brand-soft); }

/* ---------- Illustrations : couleurs par thème ---------- */
.svc-art { background: var(--i-soft, var(--brand-soft)); }

/* ==========================================================================
   STYLE FRANÇAIS — bleu nuit, ivoire, laiton, touche de rouge
   Titres en Garamond, étiquettes numérotées façon édition, filets fins
   ========================================================================== */
html[lang="fr"] {
  --bg: #F8F6F1; --surface: #FFFFFF; --ink: #141B34; --muted: #5B6178; --line: #E5E1D8; --line-strong: #CEC8BB;
  --brand: #1E2A5E; --brand-deep: #121A40; --brand-soft: #E9ECF5;
  --accent: #B8955A; --accent-soft: #F4EEE2; --accent-ink: #7A5C25; --rouge: #B0222C;
  --footer: #0E1430;
  --head: "Plus Jakarta Sans", "El Messiri AR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 10px; --r-md: 8px;
  --dots: radial-gradient(rgba(30, 42, 94, .12) 1px, transparent 1.3px);
  --i-brand: #1E2A5E; --i-deep: #121A40; --i-soft: #E9ECF5; --i-soft2: #D9DFEE; --i-soft3: #CBD3E8; --i-soft4: #B8C2DE;
  --i-accent: #C9A86A; --i-accent-soft: #F4EEE2; --i-accent-2: #E8D9B8; --i-accent-3: #EFE4CC; --i-accent-4: #D9C29A;
  --i-map: #1A2552; --i-map2: #2A3A78; --i-ribbon1: #9C7A40; --i-ribbon2: #C9A86A;
  --gui-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='56' viewBox='0 0 240 56'%3E%3Cpath d='M0 28Q30 -18 60 28T120 28T180 28T240 28T300 28M-30 28Q0 -18 30 28T90 28T150 28T210 28T270 28T330 28M-60 28Q-30 -18 0 28T60 28T120 28T180 28T240 28T300 28M-90 28Q-60 -18 -30 28T30 28T90 28T150 28T210 28T270 28T330 28' fill='none' stroke='%231E2A5E' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
  --gui-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='56' viewBox='0 0 240 56'%3E%3Cpath d='M0 28Q30 -18 60 28T120 28T180 28T240 28T300 28M-30 28Q0 -18 30 28T90 28T150 28T210 28T270 28T330 28M-60 28Q-30 -18 0 28T60 28T120 28T180 28T240 28T300 28M-90 28Q-60 -18 -30 28T30 28T90 28T150 28T210 28T270 28T330 28' fill='none' stroke='%23FFFFFF' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  --fr-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M0 6H50M70 6H120' stroke='%23CEC8BB' stroke-width='1'/%3E%3Cpath d='M60 1l5 5-5 5-5-5z' fill='%23B0222C'/%3E%3Ccircle cx='47' cy='6' r='1.6' fill='%23CEC8BB'/%3E%3Ccircle cx='73' cy='6' r='1.6' fill='%23CEC8BB'/%3E%3C/svg%3E");
}
html[lang="fr"] h1, html[lang="fr"] h2, html[lang="fr"] h3 { font-weight: 800; letter-spacing: -0.03em; }
html[lang="fr"] .hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; }
@media (min-width: 600px) { html[lang="fr"] .h1-pair-fr { white-space: nowrap; } }
html[lang="fr"] body { word-spacing: .03em; }
html[lang="fr"] .section-head h2, html[lang="fr"] .request-aside h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.06; letter-spacing: -0.035em; }
html[lang="fr"] .svc h3 { font-size: 1.3rem; }
html[lang="fr"] .steps h3 { font-size: 1.1rem; letter-spacing: -0.02em; }
html[lang="fr"] .step > legend { font-family: var(--head); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.025em; }
html[lang="fr"] .sent h3, html[lang="fr"] .plain h1 { font-family: var(--head); }
html[lang="fr"] .brand-text b { font-family: var(--head); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
html[lang="fr"] .site-footer h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--accent); }
html[lang="fr"] .co-info b { font-family: var(--head); font-weight: 800; letter-spacing: -0.02em; }

/* Accueil : trame guillochée, mot en italique rouge */
html[lang="fr"] .hero::before { background-image: var(--gui-navy); background-size: 240px 56px; }
html[lang="fr"] .rotline { font: 600 clamp(1.15rem, 1.8vw, 1.4rem)/1.4 var(--head); letter-spacing: -0.01em; }
html[lang="fr"] .rot { color: var(--rouge); font: italic 400 1.4em/1.1 var(--serif-it); letter-spacing: 0; margin-inline-start: .12em; }
html[lang="fr"] .rot > span { background: linear-gradient(currentColor, currentColor) 0 94% / 100% 1px no-repeat; }
html[lang="fr"] .swap { background: var(--brand); color: #fff; border-radius: .18em; }
html[lang="fr"] .pill { border-radius: 4px; box-shadow: none; }
html[lang="fr"] .pill .dot { border-radius: 3px; }








/* En-tête : liseré tricolore, soulignement animé */
html[lang="fr"] .site-header { background: rgba(248, 246, 241, .9); }
html[lang="fr"] .site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #1E2A5E 0 33.3%, #FFFFFF 33.3% 66.6%, #B0222C 66.6%); box-shadow: 0 1px 0 rgba(20, 27, 52, .06); }
html[lang="fr"] .read-progress { background: var(--rouge); }
html[lang="fr"] .nav a { position: relative; background: none; border-radius: 0; }
html[lang="fr"] .nav a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 1.5px; background: var(--rouge); transform: scaleX(0); transition: transform .35s var(--ease); }
html[lang="fr"] .nav a:hover, html[lang="fr"] .nav a.is-active { background: none; color: var(--brand); }
html[lang="fr"] .nav a:hover::after, html[lang="fr"] .nav a.is-active::after { transform: scaleX(1); }
html[lang="fr"] .lang-toggle, html[lang="fr"] .menu-btn { border-radius: 6px; }
html[lang="fr"] .lang-toggle a, html[lang="fr"] .lang-toggle span { border-radius: 4px; }

/* Boutons : sobres, bascule vers le rouge au survol */
html[lang="fr"] .btn { border-radius: 4px; letter-spacing: .015em; }
html[lang="fr"] .btn:not(.btn-ghost):not(.btn-wa):not(.btn-light):hover { --bg: var(--rouge); --bd: var(--rouge); box-shadow: 0 12px 24px -12px rgba(176, 34, 44, .55); }
html[lang="fr"] .btn .ico.flip { transition: transform .3s var(--ease); }
html[lang="fr"] .btn:hover .ico.flip { transform: translateX(3px); }

/* Étiquettes de section : « 01 —— SERVICES » */
html[lang="fr"] main { counter-reset: sec; }
html[lang="fr"] .kicker { counter-increment: sec; padding: 0; background: none; border-radius: 0; color: var(--rouge); font: 600 .78rem/1.3 var(--display); letter-spacing: .2em; text-transform: uppercase; gap: .75rem; }
html[lang="fr"] .kicker .ico { display: none; }
html[lang="fr"] .kicker::before { content: counter(sec, decimal-leading-zero); order: -2; font: italic 400 1.45rem/1 var(--serif-it); letter-spacing: 0; color: var(--accent-ink); }
html[lang="fr"] .kicker::after { content: ""; order: -1; width: 2.4rem; height: 1px; background: currentColor; opacity: .55; }


html[lang="fr"] .section-head.center h2::after { content: ""; display: block; width: 120px; height: 12px; margin: 1rem auto 0; background: var(--fr-divider) no-repeat center; }

/* Cartes et blocs */
html[lang="fr"] .svc { border-radius: 8px; }
html[lang="fr"] .svc:hover { border-color: var(--accent); }
html[lang="fr"] .svc-art { border-radius: 4px; }
html[lang="fr"] .icon-tile { border-radius: 6px; }
html[lang="fr"] .svc.is-new { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--bg) 42%); }
html[lang="fr"] .new-pill { border-radius: 3px; background: var(--rouge); color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
html[lang="fr"] .steps li { border-radius: 8px; }
html[lang="fr"] .steps li::after { content: counter(step, upper-roman); font: italic 400 2.7rem/1 var(--serif-it); color: var(--accent); }





html[lang="fr"] .form-card { border-radius: 8px; }
html[lang="fr"] .choice .c, html[lang="fr"] .faq details, html[lang="fr"] .ct-tile, html[lang="fr"] .file-list li, html[lang="fr"] .recap { border-radius: 6px; }
html[lang="fr"] .form :is(input, select, textarea) { border-radius: 4px; }
html[lang="fr"] .progress li::before { height: 3px; }
html[lang="fr"] .q-ico { border-radius: 50%; background: none; border: 1px solid var(--accent); }
html[lang="fr"] .faq details[open] .q-ico, html[lang="fr"] .faq summary:hover .q-ico { background: var(--brand); border-color: var(--brand); color: #fff; }
html[lang="fr"] .faq summary .pm { border-radius: 50%; }
html[lang="fr"] .faq details[open] { border-color: var(--accent); }


html[lang="fr"] .ct-tile.form .ct-ico { background: var(--accent); color: #fff; }
html[lang="fr"] .dock { border-radius: 10px; }
html[lang="fr"] .dock a { border-radius: 6px; }
html[lang="fr"] .site-footer { border-top: 3px solid var(--accent); }


/* ==========================================================================
   STYLE ORIENTAL — émeraude, or, parchemin
   Calligraphie Ruqaa, étoiles à huit branches, arcs, cadres de manuscrit
   ========================================================================== */
html[lang="ar"] {
  --bg: #FBF6EC; --surface: #FFFDF8; --ink: #1E1912; --muted: #6E604C; --line: #ECE1CB; --line-strong: #DCCBA8;
  --brand: #1E2A5E; --brand-deep: #121A40; --brand-soft: #E9ECF5;
  --accent: #C99A2E; --accent-soft: #F7ECCF; --accent-ink: #7B5714;
  --footer: #0E1430;
  --head: "El Messiri", "Plus Jakarta Sans", system-ui, sans-serif;
  --display: var(--head);
  --body: "Noto Naskh Arabic", "Plus Jakarta Sans", "Segoe UI", Tahoma, serif;
  --ar: "Noto Naskh Arabic", "Plus Jakarta Sans", serif;
  --naskh: "Noto Naskh Arabic", serif;
  --calli: "Aref Ruqaa", "El Messiri", serif;
  --dots: none;
  --i-brand: #1E2A5E; --i-deep: #121A40; --i-soft: #F1E8D4; --i-soft2: #E6D8B8; --i-soft3: #DCCBA6; --i-soft4: #CDB98E;
  --i-accent: #C99A2E; --i-accent-soft: #F7ECCF; --i-accent-2: #EFD9A6; --i-accent-3: #F3E3BE; --i-accent-4: #DDBF7E;
  --i-map: #1A2552; --i-map2: #2A3A78; --i-ribbon1: #9B7420; --i-ribbon2: #C99A2E;
  --lat-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30.00 18.00 L33.51 21.51 L38.49 21.51 L38.49 26.49 L42.00 30.00 L38.49 33.51 L38.49 38.49 L33.51 38.49 L30.00 42.00 L26.49 38.49 L21.51 38.49 L21.51 33.51 L18.00 30.00 L21.51 26.49 L21.51 21.51 L26.49 21.51ZM0.00 -12.00 L3.51 -8.49 L8.49 -8.49 L8.49 -3.51 L12.00 0.00 L8.49 3.51 L8.49 8.49 L3.51 8.49 L0.00 12.00 L-3.51 8.49 L-8.49 8.49 L-8.49 3.51 L-12.00 0.00 L-8.49 -3.51 L-8.49 -8.49 L-3.51 -8.49ZM60.00 -12.00 L63.51 -8.49 L68.49 -8.49 L68.49 -3.51 L72.00 0.00 L68.49 3.51 L68.49 8.49 L63.51 8.49 L60.00 12.00 L56.49 8.49 L51.51 8.49 L51.51 3.51 L48.00 0.00 L51.51 -3.51 L51.51 -8.49 L56.49 -8.49ZM0.00 48.00 L3.51 51.51 L8.49 51.51 L8.49 56.49 L12.00 60.00 L8.49 63.51 L8.49 68.49 L3.51 68.49 L0.00 72.00 L-3.51 68.49 L-8.49 68.49 L-8.49 63.51 L-12.00 60.00 L-8.49 56.49 L-8.49 51.51 L-3.51 51.51ZM60.00 48.00 L63.51 51.51 L68.49 51.51 L68.49 56.49 L72.00 60.00 L68.49 63.51 L68.49 68.49 L63.51 68.49 L60.00 72.00 L56.49 68.49 L51.51 68.49 L51.51 63.51 L48.00 60.00 L51.51 56.49 L51.51 51.51 L56.49 51.51ZM38.49 38.49L51.51 51.51M21.51 38.49L8.49 51.51M38.49 21.51L51.51 8.49M21.51 21.51L8.49 8.49M30.0 18.0V0M30.0 42.0V60M18.0 30.0H0M42.0 30.0H60M12 0H48M12 60H48M0 12V48M60 12V48' fill='none' stroke='%23C99A2E' stroke-opacity='0.22' stroke-width='1'/%3E%3C/svg%3E");
  --lat-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30.00 18.00 L33.51 21.51 L38.49 21.51 L38.49 26.49 L42.00 30.00 L38.49 33.51 L38.49 38.49 L33.51 38.49 L30.00 42.00 L26.49 38.49 L21.51 38.49 L21.51 33.51 L18.00 30.00 L21.51 26.49 L21.51 21.51 L26.49 21.51ZM0.00 -12.00 L3.51 -8.49 L8.49 -8.49 L8.49 -3.51 L12.00 0.00 L8.49 3.51 L8.49 8.49 L3.51 8.49 L0.00 12.00 L-3.51 8.49 L-8.49 8.49 L-8.49 3.51 L-12.00 0.00 L-8.49 -3.51 L-8.49 -8.49 L-3.51 -8.49ZM60.00 -12.00 L63.51 -8.49 L68.49 -8.49 L68.49 -3.51 L72.00 0.00 L68.49 3.51 L68.49 8.49 L63.51 8.49 L60.00 12.00 L56.49 8.49 L51.51 8.49 L51.51 3.51 L48.00 0.00 L51.51 -3.51 L51.51 -8.49 L56.49 -8.49ZM0.00 48.00 L3.51 51.51 L8.49 51.51 L8.49 56.49 L12.00 60.00 L8.49 63.51 L8.49 68.49 L3.51 68.49 L0.00 72.00 L-3.51 68.49 L-8.49 68.49 L-8.49 63.51 L-12.00 60.00 L-8.49 56.49 L-8.49 51.51 L-3.51 51.51ZM60.00 48.00 L63.51 51.51 L68.49 51.51 L68.49 56.49 L72.00 60.00 L68.49 63.51 L68.49 68.49 L63.51 68.49 L60.00 72.00 L56.49 68.49 L51.51 68.49 L51.51 63.51 L48.00 60.00 L51.51 56.49 L51.51 51.51 L56.49 51.51ZM38.49 38.49L51.51 51.51M21.51 38.49L8.49 51.51M38.49 21.51L51.51 8.49M21.51 21.51L8.49 8.49M30.0 18.0V0M30.0 42.0V60M18.0 30.0H0M42.0 30.0H60M12 0H48M12 60H48M0 12V48M60 12V48' fill='none' stroke='%23C99A2E' stroke-opacity='0.12' stroke-width='1'/%3E%3C/svg%3E");
  --lat-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30.00 18.00 L33.51 21.51 L38.49 21.51 L38.49 26.49 L42.00 30.00 L38.49 33.51 L38.49 38.49 L33.51 38.49 L30.00 42.00 L26.49 38.49 L21.51 38.49 L21.51 33.51 L18.00 30.00 L21.51 26.49 L21.51 21.51 L26.49 21.51ZM0.00 -12.00 L3.51 -8.49 L8.49 -8.49 L8.49 -3.51 L12.00 0.00 L8.49 3.51 L8.49 8.49 L3.51 8.49 L0.00 12.00 L-3.51 8.49 L-8.49 8.49 L-8.49 3.51 L-12.00 0.00 L-8.49 -3.51 L-8.49 -8.49 L-3.51 -8.49ZM60.00 -12.00 L63.51 -8.49 L68.49 -8.49 L68.49 -3.51 L72.00 0.00 L68.49 3.51 L68.49 8.49 L63.51 8.49 L60.00 12.00 L56.49 8.49 L51.51 8.49 L51.51 3.51 L48.00 0.00 L51.51 -3.51 L51.51 -8.49 L56.49 -8.49ZM0.00 48.00 L3.51 51.51 L8.49 51.51 L8.49 56.49 L12.00 60.00 L8.49 63.51 L8.49 68.49 L3.51 68.49 L0.00 72.00 L-3.51 68.49 L-8.49 68.49 L-8.49 63.51 L-12.00 60.00 L-8.49 56.49 L-8.49 51.51 L-3.51 51.51ZM60.00 48.00 L63.51 51.51 L68.49 51.51 L68.49 56.49 L72.00 60.00 L68.49 63.51 L68.49 68.49 L63.51 68.49 L60.00 72.00 L56.49 68.49 L51.51 68.49 L51.51 63.51 L48.00 60.00 L51.51 56.49 L51.51 51.51 L56.49 51.51ZM38.49 38.49L51.51 51.51M21.51 38.49L8.49 51.51M38.49 21.51L51.51 8.49M21.51 21.51L8.49 8.49M30.0 18.0V0M30.0 42.0V60M18.0 30.0H0M42.0 30.0H60M12 0H48M12 60H48M0 12V48M60 12V48' fill='none' stroke='%23FFFFFF' stroke-opacity='0.09' stroke-width='1'/%3E%3C/svg%3E");
  --lat-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30.00 18.00 L33.51 21.51 L38.49 21.51 L38.49 26.49 L42.00 30.00 L38.49 33.51 L38.49 38.49 L33.51 38.49 L30.00 42.00 L26.49 38.49 L21.51 38.49 L21.51 33.51 L18.00 30.00 L21.51 26.49 L21.51 21.51 L26.49 21.51ZM0.00 -12.00 L3.51 -8.49 L8.49 -8.49 L8.49 -3.51 L12.00 0.00 L8.49 3.51 L8.49 8.49 L3.51 8.49 L0.00 12.00 L-3.51 8.49 L-8.49 8.49 L-8.49 3.51 L-12.00 0.00 L-8.49 -3.51 L-8.49 -8.49 L-3.51 -8.49ZM60.00 -12.00 L63.51 -8.49 L68.49 -8.49 L68.49 -3.51 L72.00 0.00 L68.49 3.51 L68.49 8.49 L63.51 8.49 L60.00 12.00 L56.49 8.49 L51.51 8.49 L51.51 3.51 L48.00 0.00 L51.51 -3.51 L51.51 -8.49 L56.49 -8.49ZM0.00 48.00 L3.51 51.51 L8.49 51.51 L8.49 56.49 L12.00 60.00 L8.49 63.51 L8.49 68.49 L3.51 68.49 L0.00 72.00 L-3.51 68.49 L-8.49 68.49 L-8.49 63.51 L-12.00 60.00 L-8.49 56.49 L-8.49 51.51 L-3.51 51.51ZM60.00 48.00 L63.51 51.51 L68.49 51.51 L68.49 56.49 L72.00 60.00 L68.49 63.51 L68.49 68.49 L63.51 68.49 L60.00 72.00 L56.49 68.49 L51.51 68.49 L51.51 63.51 L48.00 60.00 L51.51 56.49 L51.51 51.51 L56.49 51.51ZM38.49 38.49L51.51 51.51M21.51 38.49L8.49 51.51M38.49 21.51L51.51 8.49M21.51 21.51L8.49 8.49M30.0 18.0V0M30.0 42.0V60M18.0 30.0H0M42.0 30.0H60M12 0H48M12 60H48M0 12V48M60 12V48' fill='none' stroke='%23E2B654' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E");
  --octa: polygon(50.00% 0.00%, 64.64% 14.64%, 85.36% 14.64%, 85.36% 35.36%, 100.00% 50.00%, 85.36% 64.64%, 85.36% 85.36%, 64.64% 85.36%, 50.00% 100.00%, 35.36% 85.36%, 14.64% 85.36%, 14.64% 64.64%, 0.00% 50.00%, 14.64% 35.36%, 14.64% 14.64%, 35.36% 14.64%);
  --octagon: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
}
html[lang="ar"] body { font-size: 1.125rem; }
html[lang="ar"] .art .ar { font-family: var(--head); }
html[lang="ar"] .hero h1 { font-family: var(--head); font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.45; font-weight: 700; }
html[lang="ar"] .h1-calli { display: block; font-family: var(--calli); font-size: 1.12em; line-height: 1.5; }
html[lang="ar"] .h1-pair { display: block; font-size: .66em; color: var(--brand); line-height: 1.5; }
html[lang="ar"] .swap { background: var(--accent); }
html[lang="ar"] .rotline { font-family: var(--head); font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
html[lang="ar"] .rot { font-family: var(--calli); font-size: 1.2em; color: var(--brand); }
html[lang="ar"] .rot > span { background: linear-gradient(transparent 70%, var(--accent-soft) 70%); }
html[lang="ar"] .section-head h2, html[lang="ar"] .request-aside h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.5; }
html[lang="ar"] .svc h3 { font-size: 1.45rem; }
html[lang="ar"] .step > legend { font-family: var(--head); font-size: 1.55rem; }
html[lang="ar"] .brand-text b { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; text-align: right; }
html[lang="ar"] .faq summary { font-weight: 600; }

/* Motifs : étoiles à huit branches */
html[lang="ar"] .hero::before { background-image: var(--lat-gold); background-size: 60px 60px; -webkit-mask-image: radial-gradient(70% 85% at 80% 25%, #000, transparent 72%); mask-image: radial-gradient(70% 85% at 80% 25%, #000, transparent 72%); }
html[lang="ar"] .section.alt { background: var(--surface) var(--lat-soft); background-size: 60px 60px; }


html[lang="ar"] .site-footer { background: var(--footer) var(--lat-dark); background-size: 60px 60px; border-top: 3px solid var(--accent); }

/* Ornement sous les titres */
html[lang="ar"] .section-head h2::after, html[lang="ar"] .request-aside h2::after { content: ""; display: block; width: 150px; height: 18px; margin-top: .55rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='18' viewBox='0 0 150 18'%3E%3Cpath d='M0 9H58M92 9H150' stroke='%23C99A2E' stroke-width='1.5'/%3E%3Cpath d='M50 9l4-4 4 4-4 4zM92 9l4-4 4 4-4 4z' fill='%23C99A2E'/%3E%3Cpath d='M75.00 1.50 L77.20 3.70 L80.30 3.70 L80.30 6.80 L82.50 9.00 L80.30 11.20 L80.30 14.30 L77.20 14.30 L75.00 16.50 L72.80 14.30 L69.70 14.30 L69.70 11.20 L67.50 9.00 L69.70 6.80 L69.70 3.70 L72.80 3.70Z' fill='%23C99A2E'/%3E%3Ccircle cx='75' cy='9' r='2.4' fill='%23FBF6EC'/%3E%3C/svg%3E") no-repeat center; }

html[lang="ar"] .section-head.center h2::after { margin-inline: auto; }

/* Étiquettes : ◆ texte ◆ */
html[lang="ar"] .kicker { padding: 0; background: none; border-radius: 0; color: var(--accent-ink); font: 700 1rem/1.5 var(--head); gap: .6rem; }
html[lang="ar"] .kicker .ico { display: none; }
html[lang="ar"] .kicker::before, html[lang="ar"] .kicker::after { content: ""; width: .5rem; height: .5rem; background: var(--accent); transform: rotate(45deg); }


/* En-tête */
html[lang="ar"] .site-header { background: rgba(251, 246, 236, .9); }
html[lang="ar"] .site-header.is-solid { border-bottom-color: var(--line-strong); }
html[lang="ar"] .site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand)); }

/* Arc (mihrab) autour du document, étoile en médaillon */






/* Boutons */
html[lang="ar"] .btn { border-radius: 12px; }
html[lang="ar"] .btn:not(.btn-ghost):not(.btn-wa):not(.btn-light):hover { box-shadow: 0 0 0 3px rgba(201, 154, 46, .45), 0 12px 24px -12px rgba(30, 42, 94, .6); }

/* Cartes : arcs et cadres de manuscrit */
html[lang="ar"] .svc { border-radius: 22px; outline: 1px solid var(--line-strong); outline-offset: -9px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background-color .3s, outline-color .3s; }
html[lang="ar"] .svc:hover { outline-color: var(--accent); border-color: var(--accent); }
html[lang="ar"] .svc-art { border-radius: 150px 150px 12px 12px / 80px 80px 12px 12px; }
html[lang="ar"] .svc.is-new { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--bg) 42%); }
html[lang="ar"] .new-pill { background: var(--brand); color: #fff; }

html[lang="ar"] .steps li { border-radius: 18px; outline: 1px solid var(--line); outline-offset: -7px; }
html[lang="ar"] .steps li::after { content: counter(step, arabic-indic); font: 700 2.9rem/1 var(--calli); color: var(--accent); opacity: .75; }
html[lang="ar"] .steps .icon-tile { clip-path: var(--octagon); border-radius: 0; border: 0; }


html[lang="ar"] .q-ico { width: 2.5rem; height: 2.5rem; border-radius: 0; clip-path: var(--octa); background: var(--accent-soft); }
html[lang="ar"] .q-ico .ico { width: 1.05rem; height: 1.05rem; }
html[lang="ar"] .faq details { border-radius: 16px; }
html[lang="ar"] .faq details[open] { border-color: var(--accent); }
html[lang="ar"] .faq summary .pm { border-radius: 50%; }


html[lang="ar"] .ct-tile { border-radius: 18px; }
html[lang="ar"] .form-card { border-radius: 24px; outline: 1px solid var(--line); outline-offset: -10px; }
html[lang="ar"] .progress li::before { background: var(--line); }
html[lang="ar"] .progress li.done::before, html[lang="ar"] .progress li[aria-current]::before { background: linear-gradient(270deg, var(--brand), var(--accent)); }
html[lang="ar"] .plain h1 { font-family: var(--calli); }

/* Accueil sans vignette : texte centré dans les deux langues */
.hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.hero-grid > div { position: relative; max-width: 50rem; }
.hero-lede { margin-inline: auto; max-width: 40rem; }
.hero-actions { justify-content: center; }
.hero { padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
/* Français : trame guillochée centrée, filet sous le titre */
html[lang="fr"] .hero::before { -webkit-mask-image: radial-gradient(65% 85% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(65% 85% at 50% 40%, #000, transparent 75%); }
html[lang="fr"] .hero-grid > div { max-width: 58rem; padding-top: clamp(1rem, 3vw, 2rem); }
.rot { transition: width .5s var(--ease); max-width: 100%; }
html[lang="fr"] .hero h1::after { content: ""; display: block; width: 120px; height: 12px; margin: 1.1rem auto 0; background: var(--fr-divider) no-repeat center; }
/* Arabe : texte centré sous un arc doré et une étoile */
html[lang="ar"] .hero-grid > div { max-width: 48rem; padding: clamp(3.2rem, 7vw, 4.6rem) clamp(1rem, 5vw, 3.5rem) .5rem; }
html[lang="ar"] .hero-grid > div::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1.5px solid rgba(201, 154, 46, .6); border-bottom: 0; border-radius: 50% 50% 0 0 / clamp(140px, 22vw, 230px) clamp(140px, 22vw, 230px) 0 0; -webkit-mask-image: linear-gradient(#000 55%, transparent 96%); mask-image: linear-gradient(#000 55%, transparent 96%); pointer-events: none; }
html[lang="ar"] .hero-grid > div::after { content: ""; position: absolute; top: -21px; left: calc(50% - 21px); width: 42px; height: 42px; background: var(--accent); clip-path: var(--octa); }

/* Téléphone : le nom complet tient toujours dans l'en-tête */
@media (max-width: 600px) {
  .site-header .brand-text > span { display: none; }
  html[lang="fr"] .brand-text b { font-size: clamp(.98rem, 4.4vw, 1.1rem); }
  html[lang="ar"] .brand-text b { font-size: clamp(.98rem, 4.4vw, 1.1rem); }
}


/* ==========================================================================
   v10 : version courte et plus claire
   ========================================================================== */
/* Langue : un lien clair vers l'autre version */
.lang-toggle a { display: inline-flex; align-items: center; gap: .35rem; width: auto; padding-inline: .75rem; font-size: .9rem; }
.lang-toggle a:lang(ar) { font-family: "El Messiri AR", "El Messiri", sans-serif; font-size: .95rem; }
.lang-toggle a:lang(fr) { font-family: var(--display); }
.lang-toggle .ico { width: 1rem; height: 1rem; color: var(--brand); }
@media (max-width: 600px) { .lang-toggle .ico { display: none; } .lang-toggle a { padding-inline: .55rem; min-width: 0; } }
.lang-toggle .l-short { display: none; }
@media (max-width: 380px) { .lang-toggle .l-long { display: none; } .lang-toggle .l-short { display: inline; } }

/* Accueil plus compact */
.hero { padding: calc(var(--header-h) + clamp(1.6rem, 4vw, 2.6rem)) 0 clamp(2rem, 4vw, 2.6rem); }
.pill { margin-bottom: 1.1rem; }
.hero h1 { margin-bottom: .8rem; }
.hero-lede { margin-bottom: 1.4rem; font-size: 1.05rem; }
.hero-actions { margin-bottom: 0; }
html[lang="ar"] .hero-grid > div { padding: clamp(2.4rem, 6vw, 3.4rem) clamp(1rem, 5vw, 3.5rem) 0; }
html[lang="fr"] .hero-grid > div { padding-top: 0; }
html[lang="fr"] .hero h1::after { margin-top: .9rem; }

/* Bandeau de garanties sous l'accueil */
.proof { position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: var(--brand-deep); color: #fff; }
html[lang="fr"] .proof::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--gui-white); background-size: 240px 56px; }
html[lang="ar"] .proof { background: var(--brand-deep) var(--lat-dark); background-size: 60px 60px; border-block: 2px solid var(--accent); }
html[lang="fr"] .proof { border-bottom: 2px solid var(--accent); }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.15rem; }
.proof-list { list-style: none; display: grid; grid-template-columns: repeat(4, auto); gap: .8rem 1.8rem; }
.proof-list li { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.p-ico { width: 2.4rem; height: 2.4rem; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .22); color: var(--accent); }
html[lang="ar"] .p-ico { border: 0; border-radius: 0; clip-path: var(--octagon); background: var(--accent); color: var(--ink); }
.p-ico .ico { width: 1.2rem; height: 1.2rem; }
.proof-list b { display: block; font: 700 .97rem/1.25 var(--display); }
.proof-list small { display: block; font-size: .8rem; line-height: 1.35; color: rgba(255, 255, 255, .72); }
.proof-link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; font-size: .9rem; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: .3em; white-space: nowrap; }
.proof-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.proof-link .ico { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.proof-link:hover .ico { transform: translateX(3px); }
[dir="rtl"] .proof-link:hover .ico { transform: scaleX(-1) translateX(3px); }
@media (max-width: 1100px) { .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } }
@media (max-width: 420px) { .proof-list { gap: .75rem 1rem; } .p-ico { width: 2.1rem; height: 2.1rem; } .proof-list b { font-size: .9rem; } .proof-list small { font-size: .74rem; } }

/* Sections plus serrées */
.section { padding-block: clamp(2.5rem, 5.5vw, 4rem); }
.section-head { margin-bottom: clamp(1.2rem, 3vw, 1.8rem); }
html[lang="ar"] .section-head h2::after, html[lang="ar"] .request-aside h2::after { margin-top: .35rem; }

/* Services : cartes compactes, carrousel sur téléphone */
.svc { padding: 1rem 1rem 1.2rem; gap: .6rem; }
html[lang="ar"] .svc { outline-offset: -7px; }
.svc-art { margin: 0; aspect-ratio: 2.3 / 1; }
.svc-art img.art { width: 100%; height: 100%; object-fit: cover; }
.svc .svc-art + .icon-tile { margin-top: -2.3rem; margin-inline-start: .9rem; width: 2.9rem; height: 2.9rem; }
.svc .icon-tile .ico { width: 1.45rem; height: 1.45rem; }
.svc h3 { font-size: 1.2rem; }
html[lang="ar"] .svc h3 { font-size: 1.32rem; }
.svc > p { font-size: .95rem; }
.ticks { gap: .3rem; font-size: .92rem; }
.svc .btn { margin-top: .4rem; }
.svc .how summary { padding: .5rem .8rem; }
.svc-dots { display: none; }
@media (max-width: 960px) {
  .svc-grid { display: flex; max-width: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: .35rem var(--gutter) .9rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 min(86%, 23rem); scroll-snap-align: start; }
  .svc:hover { transform: none; }
  .svc-dots { display: flex; justify-content: center; gap: .45rem; margin-top: .3rem; }
  .svc-dots span { width: .5rem; height: .5rem; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
  .svc-dots span.on { width: 1.5rem; background: var(--brand); }
}

/* Étapes : une frise compacte */
.steps-sec { background: var(--bg); }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; counter-reset: step; }
html[lang] .steps li { padding: 0 .4rem; border: 0; outline: 0; border-radius: 0; background: none; text-align: center; justify-items: center; gap: .3rem; }
html[lang] .steps li::after { content: counter(step); top: -.3rem; inset-inline-end: auto; inset-inline-start: calc(50% + .95rem); width: 1.45rem; height: 1.45rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font: 700 .78rem/1 var(--display); opacity: 1; }
html[lang="ar"] .steps li::after { content: counter(step, arabic-indic); font: 700 .85rem/1 var(--head); }
html[lang] .steps .icon-tile { width: 3.4rem; height: 3.4rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
html[lang="ar"] .steps .icon-tile { border: 0; background: var(--brand-soft); }
html[lang] .steps li:hover .icon-tile { background: var(--brand); color: #fff; }
.steps h3 { margin-top: .45rem; }
html[lang] .steps h3 { font-size: 1.04rem; }
html[lang="ar"] .steps h3 { font-size: 1.15rem; }
.steps p { font-size: .9rem; max-width: 15rem; }
@media (min-width: 761px) {
  html[lang] .steps li:not(:last-child)::before { content: ""; position: absolute; top: 1.7rem; inset-inline-start: calc(50% + 2.4rem); width: calc(100% - 4.8rem + 1.2rem); border: 0; border-top: 2px dashed var(--line-strong); }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem .8rem; }
  html[lang] .steps li::before { display: none; }
}

/* Demande de devis : colonne d'accompagnement réduite */
.request-aside h2 { margin-bottom: .6rem; }
.secure-line { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 1.2rem; font-size: .9rem; color: var(--muted); }
.secure-line .ico { width: 1.15rem; height: 1.15rem; color: var(--ok); }
#demande.alt { background: var(--surface); }
html[lang="ar"] #demande.alt { background: var(--surface) var(--lat-soft); background-size: 60px 60px; }

/* Questions : deux colonnes sur grand écran */
.faq { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .6rem; }
.faq summary { padding: .8rem 1rem; font-size: .97rem; gap: .8rem; }
.q-ico { width: 2.1rem; height: 2.1rem; }
@media (min-width: 561px) { .faq .a { padding-inline-start: calc(1rem + 2.1rem + .8rem); } }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* Contact dans le pied de page */
.site-footer { padding-block: clamp(2.4rem, 5vw, 3.4rem) 1.3rem; }
.contact-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem; margin-bottom: 1.1rem; }
.contact-head h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
html[lang="ar"] .contact-head h2 { font-family: var(--head); }
.contact-head p { margin: 0; color: rgba(255, 255, 255, .7); }
.ct-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.site-footer .ct-tile { gap: .75rem; padding: .85rem .95rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.site-footer .ct-tile:hover, .site-footer .ct-tile:focus-visible { background: rgba(255, 255, 255, .11); border-color: var(--c); color: #fff; text-decoration: none; box-shadow: none; }
.site-footer .ct-ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; }
.site-footer .ct-tile.mail { --c: #fff; }
.site-footer .ct-tile.mail .ct-ico, .site-footer .ct-tile.loc .ct-ico { background: rgba(255, 255, 255, .12); color: var(--accent); }
.site-footer .ct-tile.loc { --c: var(--accent); }
.site-footer .ct-txt b { color: #fff; font-size: 1rem; }
.site-footer .ct-txt span { color: rgba(255, 255, 255, .7); font-size: .85rem; }
.site-footer .ct-tile > .go { color: rgba(255, 255, 255, .5); }
.site-footer .ct-tile:hover > .go { color: #fff; }
[dir="rtl"] .ct-tile > .go { transform: scaleX(-1); }
[dir="rtl"] .ct-tile:hover > .go { transform: scaleX(-1) translateX(4px); }
@media (max-width: 1000px) { .ct-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ct-row { grid-template-columns: minmax(0, 1fr); gap: 8px; } .site-footer .ct-tile { padding: .7rem .85rem; } }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .brand { margin: 0; }
.footer-bottom .co-inline { gap: .45rem 1.4rem; font-size: .88rem; }
.co-info .nw { display: inline; }
.footer-legal { align-items: center; margin-top: 1.1rem; padding-top: 0; border-top: 0; }
.ft-links { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.ft-links a { color: rgba(255, 255, 255, .78); }
@media (max-width: 760px) { .footer-legal { flex-direction: column; align-items: flex-start; } }

/* Barre flottante : plus fine */
@media (max-width: 760px) { .dock a { height: 3.1rem; } }

/* ---------- Mouvement réduit et impression ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .dock, #demande { display: none !important; }
  .hero { padding-top: 1rem; }
}

/* Puce « Autre / أخرى » des documents */
.chip.chip-other { border-style: dashed; color: var(--brand); background: transparent; }
.chip.chip-other:hover { background: var(--brand-soft); }
.chip.chip-other .ico { width: .95rem; height: .95rem; stroke-width: 2.4; }
/* En-tête : le bouton reste sur une ligne entre 920 et 1100 px */
.site-header .bar > .btn { white-space: nowrap; }
@media (max-width: 1100px) { .nav a { padding-inline: .5rem; } .bar { gap: .8rem; } }
