/* ==========================================================================
   style.css — Styles de base (mobile first)
   Les adaptations tablette / ordinateur sont dans responsive.css
   ========================================================================== */

/* ---------- 1. Variables (couleurs, typo, espacements) ---------- */
:root {
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #13305a;
  --blue-600: #1f5fbf;
  --blue-500: #2f74d8;
  --blue-50:  #eef4fc;
  --amber-500: #f5a524;   /* CTA principal (texte foncé dessus = bon contraste) */
  --amber-600: #e08e0b;
  --wa-green: #1f8f4e;    /* vert WhatsApp assombri pour contraste AA avec texte blanc */
  --wa-green-dark: #18733e;
  --gray-50:  #f5f7fa;
  --gray-100: #eceff4;
  --gray-200: #dde2ea;
  --gray-500: #5d6878;
  --gray-700: #343e4d;
  --ink: #142033;
  --white: #ffffff;
  --success: #17803d;
  --danger: #b42318;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, "Arial", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 3px rgba(11, 31, 58, .08);
  --shadow: 0 6px 24px rgba(11, 31, 58, .08);
  --shadow-lg: 0 18px 50px rgba(11, 31, 58, .14);
  --container: 1180px;
  --header-h: 68px;
  --mobilebar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: var(--mobilebar-h); /* place pour la barre fixe mobile */
}
html[dir="rtl"] body { font-family: var(--font-ar); }
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-800); letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- 3. Accessibilité ---------- */
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000;
  background: var(--navy-800); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 4. Mise en page ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 18px; }
.section { padding-block: 64px; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy-800); color: #dbe5f3; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--blue-600); margin-bottom: 10px;
}
.section--navy .eyebrow { color: #9cc2f5; }
.lead { font-size: 1.1rem; color: var(--gray-500); }
.section--navy .lead { color: #b9c8de; }
.grid { display: grid; gap: 18px; }

/* ---------- 5. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 20px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--amber-500); color: var(--navy-900); box-shadow: 0 6px 18px rgba(245, 165, 36, .32); }
.btn--primary:hover { background: var(--amber-600); color: var(--navy-900); }
.btn--wa { background: var(--wa-green); color: var(--white); }
.btn--wa:hover { background: var(--wa-green-dark); color: var(--white); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { border-color: var(--gray-200); color: var(--navy-800); background: var(--white); }
.btn--outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .18s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
html[dir="rtl"] .link-arrow .icon, html[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--gray-100); }
.header-inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-800); font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; margin-inline-end: auto; }
.logo:hover { color: var(--navy-800); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--navy-800); color: var(--amber-500);
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark .icon { width: 22px; height: 22px; }
.logo small { display: block; font-size: .72rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0; }
.main-nav { display: none; }
.header-ctas { display: none; }
.header-mobile-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--gray-200); background: var(--white); color: var(--navy-800); cursor: pointer; text-decoration: none;
}
.icon-btn--wa { background: var(--wa-green); border-color: var(--wa-green); color: var(--white); }
.icon-btn--call { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-900); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Barre supérieure (ordinateur uniquement) */
.topbar { display: none; background: var(--navy-900); color: #b9c8de; font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; gap: 22px; min-height: 42px; }
.topbar-inner > span, .topbar-inner > a { display: inline-flex; align-items: center; gap: 7px; color: #b9c8de; text-decoration: none; }
.topbar-inner > a:hover { color: var(--white); }
.topbar .icon { width: 15px; height: 15px; color: var(--amber-500); }
.topbar .lang-switch { margin-inline-start: auto; background: transparent; border-color: rgba(255,255,255,.18); padding: 2px; }
.topbar .lang-switch a { color: #b9c8de; min-height: 28px; padding: 3px 10px; }
.topbar .lang-switch a:hover { color: var(--white); }
.topbar .lang-switch a[aria-current="true"] { background: var(--amber-500); color: var(--navy-900); }
.logo { min-width: 0; }
.logo > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .logo small { display: none; } }
@media (min-width: 1024px) { .logo small { white-space: nowrap; } .logo { flex-shrink: 0; } .logo > span:last-child { overflow: visible; } }

/* Menu mobile (panneau) */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--white); padding: 18px 18px calc(var(--mobilebar-h) + 24px);
  overflow-y: auto; display: none;
}
.mobile-nav.is-open { display: block; animation: fadeIn .18s var(--ease); }
.mobile-nav ul { list-style: none; margin: 0 0 20px; padding: 0; }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 4px; border-bottom: 1px solid var(--gray-100);
  font-size: 1.08rem; font-weight: 600; color: var(--navy-800); text-decoration: none;
}
.mobile-nav li a[aria-current="page"] { color: var(--blue-600); }
.mobile-nav .btn { width: 100%; margin-bottom: 10px; }
body.nav-open { overflow: hidden; }

/* Sélecteur de langue */
.lang-switch { display: inline-flex; border: 1px solid var(--gray-200); border-radius: 999px; padding: 3px; gap: 2px; background: var(--white); }
.lang-switch a {
  display: inline-grid; place-items: center; padding: 5px 11px; border-radius: 999px; text-decoration: none;
  font-size: .8rem; font-weight: 700; color: var(--gray-500); min-height: 32px; min-width: 36px;
}
.lang-switch a:hover { color: var(--navy-800); }
.lang-switch a[aria-current="true"] { background: var(--navy-800); color: var(--white); }
.lang-switch a[lang="ar"] { font-family: var(--font-ar); font-size: .95rem; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; background: var(--navy-800); color: #d3def0; overflow: hidden; }
.hero::before {
  /* trame discrète type plan technique */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-inner { position: relative; display: grid; gap: 40px; padding-block: 48px 56px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--amber-500); }
.hero-sub { font-size: 1.1rem; color: #c3d1e6; max-width: 600px; margin-bottom: 26px; }
.hero .btn-row { margin-bottom: 26px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.trust-list li { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 600; color: #e6edf7; }
.trust-list .icon { color: var(--amber-500); width: 18px; height: 18px; }

/* Panneau "demande rapide" (visuel du hero) */
.quick-panel {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.quick-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.quick-panel__title { font-weight: 800; color: var(--navy-800); font-size: 1.05rem; margin: 0; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--success); }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(23,128,61,.15); }
.quick-panel p.small { font-size: .9rem; color: var(--gray-500); margin-bottom: 14px; }
.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.chip {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px;
  border: 1px solid var(--gray-200); border-radius: 12px; background: var(--white);
  font-size: .8rem; font-weight: 700; color: var(--navy-800); cursor: pointer; text-align: center;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.chip .icon { width: 22px; height: 22px; color: var(--blue-600); }
.chip:hover { border-color: var(--blue-500); transform: translateY(-1px); }
.chip[aria-pressed="true"] { border-color: var(--blue-600); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-600); }
.quick-panel .btn { width: 100%; margin-bottom: 8px; }
.quick-panel__foot { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--gray-500); margin-top: 6px; }
.quick-panel__foot .icon { width: 16px; height: 16px; }

/* Hero compact (pages intérieures) */
.page-hero { background: var(--navy-800); color: #c9d6ea; padding-block: 40px 44px; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 12px; }
.page-hero .lead { color: #c3d1e6; max-width: 700px; margin-bottom: 22px; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; color: #7f95b5; }
.breadcrumb a { color: #b9cbe6; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- 8. Bande urgence ---------- */
.urgent-band { background: var(--amber-500); color: var(--navy-900); }
.urgent-band__inner { display: flex; flex-direction: column; gap: 14px; padding-block: 22px; }
.urgent-band h2 { font-size: 1.3rem; margin: 0 0 2px; color: var(--navy-900); }
.urgent-band p { margin: 0; font-weight: 500; }
.urgent-band .btn--navy { background: var(--navy-900); }

/* ---------- 9. Cartes services ---------- */
.services-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gray-200); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px;
}
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* toute la carte cliquable */
.service-card p { color: var(--gray-500); font-size: .96rem; flex-grow: 1; }
.service-card__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: relative; z-index: 1; }

/* ---------- 10. Pourquoi nous / features ---------- */
.feature-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 18px; border: 1px solid var(--gray-100);
}
.feature .icon { width: 26px; height: 26px; color: var(--blue-600); margin-bottom: 10px; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--gray-500); margin: 0; }

/* ---------- 11. Processus ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative; background: var(--navy-700); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 22px 20px 20px 72px; counter-increment: step;
}
html[dir="rtl"] .step { padding: 22px 72px 20px 20px; }
.step::before {
  content: counter(step); position: absolute; inset-inline-start: 20px; top: 20px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber-500); color: var(--navy-900); font-weight: 800;
}
.step h3 { margin-bottom: 4px; font-size: 1.05rem; }
.step p { margin: 0; color: #b9c8de; font-size: .95rem; }
.section--gray .step, .section:not(.section--navy) .step { background: var(--white); border-color: var(--gray-100); }
.section:not(.section--navy) .step p { color: var(--gray-500); }

/* ---------- 12. Témoignages ---------- */
.testimonials { display: grid; gap: 16px; }
.testimonial {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); margin: 0; position: relative;
}
.testimonial .stars { display: flex; gap: 2px; color: var(--amber-500); margin-bottom: 10px; }
.testimonial .stars .icon { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 14px; font-size: .98rem; }
.testimonial figcaption { font-size: .9rem; color: var(--gray-500); }
.testimonial figcaption strong { color: var(--navy-800); display: block; }
.demo-badge {
  position: absolute; top: 14px; inset-inline-end: 14px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px;
  background: #fff4e0; color: #8a4b00; border: 1px dashed #e0a24a;
}

/* ---------- 13. Zones ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 18px; }
.zones li {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--gray-200); font-weight: 600; font-size: .95rem; color: var(--navy-800);
}
.zones .icon { width: 16px; height: 16px; color: var(--blue-600); }

/* ---------- 14. CTA block ---------- */
.cta-box {
  background: var(--navy-800); color: #c9d6ea; border-radius: var(--radius-lg);
  padding: 32px 24px; display: grid; gap: 20px; position: relative; overflow: hidden;
}
.cta-box h2 { color: var(--white); margin-bottom: 6px; font-size: clamp(1.4rem, 4vw, 2rem); }
.cta-box p { margin: 0; }

/* ---------- 15. Contenu service / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 3.5vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: 3px; width: 20px; height: 20px; }
.problem-grid { display: grid; gap: 10px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0 0 1.4em; }
.problem-grid li {
  display: flex; gap: 10px; align-items: center; background: var(--gray-50); border-radius: 10px;
  padding: 12px 14px; font-weight: 600; color: var(--navy-800); border-inline-start: 3px solid var(--amber-500);
}
.layout-aside { display: grid; gap: 32px; }
.aside-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.aside-card h2, .aside-card h3 { font-size: 1.2rem; }
.aside-sticky { position: static; }

/* ---------- 16. FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; padding: 0 18px;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--navy-800);
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--blue-600); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding-bottom: 16px; color: var(--gray-700); }
.faq-group { margin-bottom: 36px; }

/* ---------- 17. Formulaires ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: .92rem; color: var(--navy-800); }
.field .req { color: var(--danger); }
.field .hint { font-size: .82rem; color: var(--gray-500); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 12px;
  background: var(--white); font-size: 16px; /* 16px évite le zoom auto iOS */
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(31, 95, 191, .14); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; min-height: 0; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-inline-end: 40px; }
html[dir="rtl"] .select { background-position: left 12px center; }
.file-drop {
  border: 2px dashed var(--gray-200); border-radius: 12px; padding: 18px; text-align: center; background: var(--gray-50);
  cursor: pointer; transition: border-color .15s, background-color .15s; position: relative;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--blue-500); background: var(--blue-50); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop .icon { width: 28px; height: 28px; margin: 0 auto 6px; color: var(--blue-600); }
.file-drop strong { color: var(--navy-800); }
.file-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: .88rem; }
.file-list li { display: flex; justify-content: space-between; gap: 8px; background: var(--white); border: 1px solid var(--gray-100); padding: 7px 10px; border-radius: 8px; }
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; } /* anti-spam, invisible */
.form-note { font-size: .82rem; color: var(--gray-500); margin: 0; }
.form-status { border-radius: 12px; padding: 16px; font-weight: 600; display: none; }
.form-status.is-visible { display: block; animation: fadeIn .2s var(--ease); }
.form-status--ok { background: #e8f6ee; color: #0f5a2b; border: 1px solid #b6e0c4; }
.form-status--err { background: #fdecea; color: #8c1d13; border: 1px solid #f3c1bb; }
.form-status .btn { margin-top: 12px; }
.tabs { display: flex; gap: 6px; background: var(--gray-100); padding: 5px; border-radius: 999px; margin-bottom: 22px; width: fit-content; max-width: 100%; }
.tabs button {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 700; cursor: pointer;
  color: var(--gray-500); min-height: 44px;
}
.tabs button[aria-selected="true"] { background: var(--white); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.notice {
  display: flex; gap: 10px; align-items: flex-start; background: var(--blue-50); color: var(--navy-800);
  border-radius: 12px; padding: 12px 14px; font-size: .9rem;
}
.notice .icon { color: var(--blue-600); margin-top: 2px; }

/* ---------- 18. Contact / carte ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon-wrap { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--navy-800); font-size: .88rem; }
.contact-list a { font-weight: 600; word-break: break-word; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); background: var(--gray-50); aspect-ratio: 16 / 10; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { height: 100%; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--gray-500); }
.map-placeholder .icon { width: 36px; height: 36px; margin: 0 auto 8px; color: var(--blue-600); }

/* ---------- 19. Réalisations (placeholders) ---------- */
.work-grid { display: grid; gap: 16px; }
.work-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); background: var(--white); }
.work-card__media {
  aspect-ratio: 4 / 3; background: repeating-linear-gradient(-45deg, var(--gray-50), var(--gray-50) 10px, var(--gray-100) 10px, var(--gray-100) 20px);
  display: grid; place-items: center; color: var(--gray-500); font-size: .85rem; font-weight: 600; text-align: center; padding: 12px;
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; }
.work-card__body { padding: 16px 18px; }
.work-card__body h3 { margin-bottom: 4px; font-size: 1rem; }
.work-card__body p { margin: 0; font-size: .9rem; color: var(--gray-500); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 8px; }

/* ---------- 20. Tarifs ---------- */
.price-grid { display: grid; gap: 16px; }
.price-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 24px; }
.price-card h3 { display: flex; align-items: center; gap: 10px; }
.price-card h3 .icon { color: var(--blue-600); }
.price-card ul { padding-inline-start: 1.1em; color: var(--gray-700); font-size: .95rem; }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9b8cf; padding-top: 56px; font-size: .95rem; }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #cfdbec; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 34px; padding-bottom: 40px; }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo small { color: #8ea2bf; }
.footer-brand .logo-mark { background: var(--navy-700); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--amber-500); margin-top: 3px; width: 18px; height: 18px; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; }
.social a:hover { background: rgba(255,255,255,.14); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px; display: flex; flex-direction: column; gap: 10px; font-size: .85rem; }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.footer-zones { font-size: .9rem; }

/* ---------- 22. Barre d'action fixe (mobile) ---------- */
.mobile-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90; height: var(--mobilebar-h);
  display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white);
  border-top: 1px solid var(--gray-200); box-shadow: 0 -6px 20px rgba(11,31,58,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--navy-800);
}
.mobile-bar a .icon { width: 22px; height: 22px; }
.mobile-bar .mb-call { color: var(--navy-900); background: var(--amber-500); }
.mobile-bar .mb-wa { color: var(--white); background: var(--wa-green); }

/* ---------- 23. Page 404 / merci ---------- */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 72px; }
.center-page .big { font-size: clamp(4rem, 16vw, 7rem); font-weight: 800; color: var(--blue-50); -webkit-text-stroke: 2px var(--blue-600); line-height: 1; margin-bottom: 10px; }
.center-page .btn-row { justify-content: center; }

/* ---------- 24. Animations légères ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 25. Utilitaires ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; }
.text-center { text-align: center; }
.muted { color: var(--gray-500); }
.legal-warning {
  background: #fff4e0; border: 1px solid #f0c27a; color: #6b3d00; border-radius: 12px; padding: 14px 16px; margin-bottom: 28px; font-weight: 600;
}
.hero .eyebrow, .page-hero .eyebrow { color: #9cc2f5; }
.work-card__media--icon { background: var(--blue-50); color: var(--blue-600); aspect-ratio: 16 / 7; }
.work-card__media--icon .icon { width: 56px; height: 56px; stroke-width: 1.5; }

/* ---------- Petits utilitaires (pages générées) ---------- */
.consent { font-weight: 500 !important; display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.feature-grid--2 { margin-bottom: 1.4em; }
@media (min-width: 1024px) { .feature-grid.feature-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.steps.steps--list { grid-template-columns: 1fr !important; }
.steps--list .step { padding: 22px 20px 20px 72px; }
html[dir="rtl"] .steps--list .step { padding: 22px 72px 20px 20px; }
.other-services { columns: 2; display: block; }
.other-services li { margin-bottom: 8px; }
.small-text { font-size: .92rem; }
.sep { border: 0; border-top: 1px solid var(--gray-100); margin: 18px 0; }
.thanks-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: #e8f6ee; color: var(--success); display: grid; place-items: center; }
.section-head--tight { margin-bottom: 22px; }
p.notice { margin-bottom: 24px; }

/* ---------- Arabe : l'espacement entre lettres casse les liaisons ---------- */
html[lang="ar"] body { font-size: 1.05rem; line-height: 1.75; }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; }
html[lang="ar"] .eyebrow { text-transform: none; font-size: .9rem; }
html[dir="rtl"] .select { padding-inline-end: 40px; }
input[dir="ltr"] { text-align: start; }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"] { text-align: right; }

/* ---------- Rejoindre l'équipe ---------- */
.section--tight { padding-block: 24px 8px; }
.join-band { display: grid; gap: 16px; align-items: center; background: var(--blue-50); border: 1px solid #d6e4f7; border-radius: var(--radius-lg); padding: 24px; }
.join-band h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 4px; }
.join-band p { margin: 0; color: var(--gray-700); }
.join-band__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--white); color: var(--blue-600); display: grid; place-items: center; }
.join-band__icon .icon { width: 28px; height: 28px; }
.join-band .btn { justify-self: start; }
@media (min-width: 768px) { .join-band { grid-template-columns: auto 1fr auto; padding: 28px 32px; } }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.fieldset legend { font-weight: 700; font-size: .92rem; color: var(--navy-800); margin-bottom: 6px; padding: 0; }
.trade-list li { font-weight: 600; }
.steps--compact .step { padding: 16px 16px 14px 62px; background: var(--gray-50) !important; }
.steps--compact .step::before { width: 32px; height: 32px; top: 14px; inset-inline-start: 16px; }
html[dir="rtl"] .steps--compact .step { padding: 16px 62px 14px 16px; }
.steps--compact .step h3 { font-size: .98rem; }

/* ---------- Version simplifiée ---------- */
.quick-actions { display: grid; gap: 10px; margin-bottom: 6px; }
.quick-actions .btn { width: 100%; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--blue-600); }
.service-card__more .icon { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(3px); }
html[dir="rtl"] .service-card:hover .service-card__more .icon { transform: scaleX(-1) translateX(3px); }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Partage de position ---------- */
.geo-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.geo-btn .icon { color: var(--blue-600); }
.geo-status { margin: 0; font-size: .9rem; font-weight: 600; color: var(--gray-700); }
.geo-status.is-ok { color: var(--success); }
.geo-status.is-ok a { font-weight: 700; }
.geo-status.is-error { color: var(--danger); font-weight: 500; }
.geo-remove { background: none; border: 0; padding: 0; color: var(--gray-500); text-decoration: underline; cursor: pointer; font: inherit; font-weight: 600; }
.geo-remove:hover { color: var(--danger); }
