/* =============================================================================
   NETY — Feuille de style principale
   -----------------------------------------------------------------------------
   Tailwind (CDN) gère la plupart de la mise en page dans le HTML.
   Ce fichier contient : les tokens de design, les composants (cartes, modale,
   timeline…), les animations, le RTL (Darija) et le mode « mouvement réduit ».
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1) Tokens de design
--------------------------------------------------------------------------- */
:root {
  /* Thème clair professionnel */
  --bg: #ffffff;
  --bg-2: #f6f8fa; /* fond des sections alternées */
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --border: rgba(25, 40, 55, 0.11);
  --border-strong: rgba(25, 40, 55, 0.19);
  --heading: #192837; /* bleu marine de marque (titres & texte fort) */
  --navy: #192837; /* couleur structurelle (barre du haut, footer) */
  --navy-600: #12202e;
  --text: #3f4b59; /* corps de texte */
  --muted: #667085;
  --muted-2: #97a0ad;
  /* Accent principal = rouge de marque (ex-"orange" : nom de token conservé) */
  --orange: #e52324;
  --orange-600: #c51f20;
  --accent-ink: #b3181d; /* rouge assombri pour petits textes sur fond clair */
  --green: #1e7940; /* accent secondaire de marque */
  --green-ink: #1a6b39;
  --yellow: #ad7f31;
  --red: #e52324;
  --white: #ffffff;

  --font-head: "Barlow", "Tajawal", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Tajawal", system-ui, sans-serif;
  --font-body: "Inter", "Tajawal", system-ui, sans-serif;

  --header-h: 76px;
  --radius: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 16px 38px -30px rgba(25, 40, 55, 0.32);
}

/* Police arabe pour la Darija (RTL) */
html.is-rtl {
  --font-head: "Tajawal", "Barlow", sans-serif;
  --font-display: "Tajawal", "Barlow Condensed", sans-serif;
  --font-body: "Tajawal", "Inter", sans-serif;
}

/* ---------------------------------------------------------------------------
   2) Base
--------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: auto; /* Lenis gère le smooth scroll */
  /* L'animation hors-cadre du menu mobile RTL ne doit pas élargir la page. */
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
body.no-scroll {
  overflow: hidden;
}
h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: fixed;
  inset-inline-start: 0;
  top: 0;
  transform: translateY(-110%);
  transition: transform 0.2s var(--ease);
  z-index: 200;
  background: var(--orange);
  color: #111;
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Section rythmée */
.section {
  padding-block: clamp(76px, 10vw, 136px);
  position: relative;
}
/* Décalage pour les ancres (header sticky) */
section[id] {
  scroll-margin-top: 92px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-top: 16px;
  max-width: 24ch;
}
.section-lead {
  color: var(--muted);
  max-width: 620px;
  margin-top: 20px;
  font-size: 1.04rem;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   3) Boutons
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 10px 24px -16px rgba(229, 35, 36, 0.64);
}
.btn-primary:hover {
  background: var(--orange-600);
  box-shadow: 0 12px 26px -16px rgba(229, 35, 36, 0.58);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--heading);
  background: rgba(16, 22, 30, 0.04);
}
.btn-whatsapp {
  background: #25d366;
  color: #06331b;
}
.btn-whatsapp:hover {
  background: #2ee277;
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  padding: 10px 18px;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------------------
   4) Header
--------------------------------------------------------------------------- */
/* Fine ligne d'accent tout en haut de page */
.topbar {
  border-top: 3px solid var(--orange);
  background: var(--navy);
  color: #c3ccd6;
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 12px;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b9c0cb;
  transition: color 0.2s;
}
.topbar-item svg {
  color: var(--orange);
}
a.topbar-item:hover {
  color: #fff;
}
.topbar-item .placeholder-tag {
  color: var(--yellow);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-quote-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b9c0cb;
  font-weight: 600;
}
.topbar-quote-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37d67a;
}
/* La barre utilitaire adopte des libellés clairs pour le sélecteur de langue */
.topbar .lang-toggle {
  color: #e8eaed;
  border-color: rgba(255, 255, 255, 0.16);
  padding: 6px 10px;
}
.topbar .lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.topbar-contact {
  flex-wrap: nowrap;
}
@media (max-width: 900px) {
  .topbar-hide-md {
    display: none;
  }
}
@media (max-width: 620px) {
  .topbar-hide-sm {
    display: none;
  }
  .topbar-contact {
    gap: 14px;
  }
  .topbar {
    font-size: 0.78rem;
  }
}

#site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  transition: transform 0.45s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid var(--border);
}
#site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -18px rgba(16, 22, 30, 0.4);
}
#site-header.is-hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.16em;
  color: var(--heading);
  line-height: 1;
}
.logo-text .dot {
  color: var(--orange);
}
/* Logo complet sur pastille blanche (footer sombre) */
.logo-footer {
  display: inline-block;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  line-height: 0;
}
.logo-footer img {
  display: block;
  height: 88px;
  width: auto;
}

/* Nav desktop */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.nav-desktop a {
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s;
}
.nav-desktop a:hover {
  color: var(--heading);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}
.nav-desktop + .header-actions {
  margin-inline-start: 12px;
}

/* Lien WhatsApp icône (header) */
.wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: #25d366;
  transition: background 0.2s, border-color 0.2s;
}
.wa-link:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.4);
}

/* CTA devis dans le header : desktop uniquement */
.cta-header {
  display: none;
  padding: 11px 18px;
  font-size: 0.95rem;
}
@media (min-width: 1040px) {
  .cta-header {
    display: inline-flex;
  }
}

/* Sélecteur de langue */
.lang {
  position: relative;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}
.lang-toggle:hover {
  border-color: var(--border-strong);
}
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 120;
}
.lang-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.92rem;
  text-align: start;
}
.lang-menu button:hover {
  background: var(--surface-2);
}
.lang-menu button.is-active {
  color: var(--orange);
  font-weight: 700;
}

/* Bouton menu (mobile) */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Menu mobile plein écran */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 90px 28px 40px;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
html.is-rtl .mobile-nav {
  transform: translateX(-100%);
}
.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
html.is-rtl .mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover {
  color: var(--orange);
}
.mobile-nav .btn {
  margin-top: 24px;
}

/* ---------------------------------------------------------------------------
   5) Hero
--------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(68px, 7vw, 96px);
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% 0 -10% 0;
  z-index: 0;
  background: url("../images/hero-pattern.svg") center/cover no-repeat;
  opacity: 0.62;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1000px 500px at 15% 10%,
      rgba(229, 35, 36, 0.08),
      transparent 60%
    ),
    linear-gradient(to bottom, transparent 40%, var(--bg));
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.55rem, 5.8vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--heading);
}
.hero-title .hl {
  color: var(--orange);
}
.hero-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 530px;
  margin-top: 20px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-visual img {
  width: min(100%, 420px);
  filter: drop-shadow(0 22px 36px rgba(25, 40, 55, 0.28));
}

/* Compteurs / stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
  max-width: 620px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  color: var(--orange-600);
  line-height: 1;
}
.stat-num .unit {
  font-size: 0.5em;
  color: var(--muted);
  margin-inline-start: 3px;
}
.stat-label {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 8px;
  line-height: 1.3;
}
.hero-delivery {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-delivery svg {
  color: var(--orange);
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------------------
   6) Grilles génériques de cartes (activités, pourquoi)
--------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 56px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(229, 35, 36, 0.08);
  color: var(--orange);
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
}
.feature-card h3 {
  font-size: 1.32rem;
  color: var(--heading);
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.98rem;
}
.feature-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--surface-2);
  font-size: 2.2rem;
  line-height: 1;
}

/* Liens éditoriaux vers les pages services locales */
.service-links {
  margin-top: 34px;
  max-width: 820px;
}
.service-links-title {
  font-family: var(--font-head);
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}
.service-links-intro {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 14px;
}
.service-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.service-link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--heading);
  font-weight: 600;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-link-grid a::after {
  content: "→";
  color: var(--orange);
  font-size: 1.2rem;
  line-height: 1;
}
.service-link-grid a:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.service-link-copy {
  display: grid;
  gap: 3px;
}
.service-link-label {
  color: var(--heading);
}
.service-link-desc {
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.45;
}
html.is-rtl .service-link-grid a::after {
  transform: scaleX(-1);
}

/* ---------------------------------------------------------------------------
   7) Catalogue — filtres & cartes machines
--------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover {
  color: var(--heading);
  border-color: var(--border-strong);
}
.filter-btn.is-active {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.catalog-noscript {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}
.catalog-noscript ul {
  margin: 10px 0 0;
  padding-inline-start: 20px;
}
.catalog-noscript a {
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   7quater) Pages services locales (SEO statique)
--------------------------------------------------------------------------- */
.service-nav {
  display: none;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
}
.service-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.service-nav a:hover,
.service-nav a[aria-current="page"] {
  color: var(--heading);
  background: var(--bg-2);
}
.service-nav + .header-actions {
  margin-inline-start: 12px;
}
.service-quote {
  padding: 11px 16px;
  font-size: 0.9rem;
}
@media (max-width: 899px) {
  body.service-page #site-header {
    height: auto;
  }
  body.service-page .header-inner {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-block: 10px;
  }
  body.service-page .service-nav {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    gap: 4px;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }
  body.service-page .service-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  body.service-page .service-nav a[aria-current="page"] {
    border: 1px solid var(--border-strong);
  }
  body.service-page .service-nav + .header-actions {
    margin-inline-start: auto;
  }
  body.service-page .service-quote {
    padding: 10px 13px;
    font-size: 0.84rem;
  }
}
.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}
.service-breadcrumb a {
  color: var(--accent-ink);
  font-weight: 600;
}
.service-breadcrumb span[aria-hidden="true"] {
  color: var(--muted-2);
}
.service-hero {
  padding-block: clamp(52px, 7vw, 92px);
  background:
    radial-gradient(680px 260px at 88% 12%, rgba(229, 35, 36, 0.08), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 34px;
}
.service-hero .hero-title {
  max-width: 15ch;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
}
.service-hero .hero-subtitle {
  max-width: 600px;
}
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.service-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-hero-visual img {
  display: block;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
}
.service-prose > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.service-prose h3 {
  margin-top: 30px;
  color: var(--heading);
  font-size: 1.36rem;
}
.service-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 24px;
  padding-inline-start: 22px;
  color: var(--muted);
}
.service-list li::marker {
  color: var(--orange);
}
.service-feature-grid {
  margin-top: 42px;
}
.service-feature-grid .feature-card {
  min-height: 100%;
}
.service-faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-top: 32px;
}
.service-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 17px 20px;
  background: var(--surface);
}
.service-faq-item summary {
  cursor: pointer;
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 600;
  list-style-position: outside;
}
.service-faq-item p {
  margin-top: 12px;
  color: var(--muted);
}
.service-related {
  background: var(--bg-2);
}
.service-related-links {
  max-width: 900px;
  margin-top: 28px;
}
.service-contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.service-contact-card .section-title {
  margin-top: 12px;
}
.service-contact-card__details {
  color: var(--muted);
  font-style: normal;
  line-height: 1.85;
}
.service-contact-card__details a {
  color: var(--heading);
  font-weight: 600;
}

/* Politique de confidentialité : page de lecture volontairement sobre */
.policy-content {
  padding: clamp(34px, 6vw, 72px) 0 clamp(64px, 9vw, 112px);
}
.policy-container {
  max-width: 840px;
}
.policy-container .section-title {
  margin-top: 12px;
}
.policy-container .section-lead {
  max-width: 700px;
}
.policy-updated {
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: 0.88rem;
}
.policy-container section {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.policy-container h2 {
  color: var(--heading);
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.3vw, 1.8rem);
  font-weight: 650;
  margin-bottom: 10px;
}
.policy-container p,
.policy-container address {
  color: var(--text);
  line-height: 1.72;
  font-style: normal;
}
.policy-container a {
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.machine-card {
  position: relative;
  text-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  color: inherit;
  font: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.18s var(--ease);
  transform-style: preserve-3d;
}
.machine-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.machine-card.is-hidden {
  display: none;
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  display: block;
  transition: transform 0.35s var(--ease);
}
.machine-card:hover .card-media img {
  transform: scale(1.02);
}
.card-body {
  padding: 22px 24px 24px;
}
.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(229, 35, 36, 0.07);
  border: 1px solid rgba(229, 35, 36, 0.16);
  padding: 5px 10px;
  border-radius: 999px;
}
.card-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--heading);
  margin: 14px 0 16px;
}
.card-specs {
  display: flex;
  gap: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.spec-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.spec-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* Le catalogue reste contenu et équilibré sur les petits écrans.
   Cette règle ne dépend pas du reset Tailwind chargé via CDN. */
@media (max-width: 699px) {
  .catalog-grid {
    width: 100%;
    gap: 16px;
  }
  .machine-card {
    width: 100%;
    min-width: 0;
    max-width: 430px;
    margin-inline: auto;
  }
  .card-media,
  .card-media img {
    max-width: 100%;
  }
  .card-media img {
    padding: 12px;
  }
  .card-body {
    padding: 20px;
  }
  .card-specs {
    justify-content: space-between;
    gap: 16px;
  }
  .spec,
  .card-price,
  .card-cta {
    min-width: 0;
  }
  .card-foot {
    gap: 10px;
  }
  .card-cta {
    text-align: end;
  }
}

/* Les deux caractéristiques restent lisibles même sur les écrans les plus étroits. */
@media (max-width: 359px) {
  .card-specs {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.card-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.card-price.is-soon {
  color: var(--accent-ink);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.card-cta .cta-arrow {
  transition: transform 0.25s var(--ease);
}
.machine-card:hover .card-cta .cta-arrow {
  transform: translateX(4px);
}
html.is-rtl .cta-arrow,
html.is-rtl .btn .cta-arrow {
  transform: scaleX(-1);
}
html.is-rtl .machine-card:hover .card-cta .cta-arrow {
  transform: scaleX(-1) translateX(4px);
}

/* Bientôt disponible : ruban + shimmer */
.machine-card.is-coming {
  background: #fbfcfd;
}
.coming-ribbon {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  z-index: 3;
  background: #f9e7e7;
  border: 1px solid rgba(229, 35, 36, 0.16);
  color: var(--accent-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: none;
}
.shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(25, 40, 55, 0.018) 40%,
    rgba(25, 40, 55, 0.04) 50%,
    rgba(25, 40, 55, 0.018) 60%,
    transparent 80%
  );
  background-size: 220% 100%;
  animation: shimmer 7s infinite linear;
  pointer-events: none;
}
@keyframes shimmer {
  0% {
    background-position: 180% 0;
  }
  100% {
    background-position: -80% 0;
  }
}

/* ---------------------------------------------------------------------------
   7bis) Couverture nationale
--------------------------------------------------------------------------- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hq-block {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(229, 35, 36, 0.08);
  color: var(--orange);
  flex-shrink: 0;
}
.zones-title {
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--heading);
  margin: 28px 0 14px;
}
.zones {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
}
.zone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.96rem;
}
.zone-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(229, 35, 36, 0.12);
}
.coverage-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 16px;
  border-inline-start: 3px solid var(--orange);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.92rem;
  border-radius: 0 6px 6px 0;
}
html.is-rtl .coverage-note {
  border-radius: 6px 0 0 6px;
}
.coverage-note svg {
  color: var(--orange);
  flex-shrink: 0;
}
.coverage-map {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eef1f5;
}
.coverage-map svg {
  display: block;
  width: 100%;
  height: auto;
}
.hq-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: hq-pulse 5.5s ease-out 2;
}
.hq-ring-2 {
  animation-delay: 0.6s;
}
@keyframes hq-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.2;
  }
  62% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------------------------------------------------------------------------
   7ter) Références clients
--------------------------------------------------------------------------- */
.ref-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
}
.ref-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ref-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.ref-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(20, 22, 26, 0.05);
  color: var(--heading);
  flex-shrink: 0;
}
.ref-icon svg {
  width: 26px;
  height: 26px;
}
.ref-card h3 {
  font-size: 1.25rem;
  color: var(--heading);
  margin-bottom: 6px;
}
.ref-card p {
  color: var(--muted);
  font-size: 0.94rem;
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--muted-2);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}
.client-note {
  margin-top: 14px;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------------------------------------------------------------------------
   8) Modale — fiche détail
--------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open {
  display: flex;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 30, 0.55);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px -28px rgba(25, 40, 55, 0.52);
}
.modal-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--orange);
  color: #ffffff;
}
.modal-close svg {
  width: 22px;
  height: 22px;
}
#modal-content {
  display: grid;
  grid-template-columns: 1fr;
}
.modal-gallery {
  background: var(--bg-2);
  padding: 26px;
}
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.thumb {
  width: 72px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg);
  cursor: pointer;
  padding: 0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.is-active {
  border-color: var(--orange);
}
.modal-info {
  padding: 30px 28px 34px;
}
.modal-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--heading);
  margin: 12px 0 4px;
}
.modal-h4 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 22px 0 10px;
}
.modal-usage {
  color: var(--muted);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  text-align: start;
}
.spec-table th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}
.spec-table td {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-align: end;
}
.modal-disclaimer {
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-top: 12px;
  font-style: italic;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.modal-actions .btn {
  flex: 1 1 auto;
}

/* Bloc "être prévenu" */
.notify-box {
  margin-top: 24px;
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.notify-box h4 {
  color: var(--heading);
  font-size: 1.3rem;
}
.notify-box p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 8px 0 16px;
}
.notify-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.notify-form input {
  flex: 1 1 200px;
}
.notify-success {
  margin-top: 14px;
  color: #126b38;
  font-weight: 600;
}
.notify-status {
  width: 100%;
}
.notify-consent {
  flex-basis: 100%;
  margin: 2px 0;
}

/* ---------------------------------------------------------------------------
   9) "Comment ça marche" — timeline
--------------------------------------------------------------------------- */
.how-pin {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.how-progress {
  display: none;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.how-step {
  display: flex;
  gap: 20px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.how-step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  width: 54px;
}
.how-step h3 {
  font-size: 1.4rem;
  color: var(--heading);
  margin-bottom: 8px;
}
.how-step p {
  color: var(--muted);
  font-size: 0.96rem;
}
.how-step-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 2px;
}

/* ---------------------------------------------------------------------------
   10) Contact
--------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.contact-form,
.contact-info {
  min-width: 0;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.field {
  margin-bottom: 16px;
}
.field.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  background: #f7f9fb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--heading);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(229, 35, 36, 0.12);
}
textarea {
  resize: vertical;
  min-height: 120px;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa1ac' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-inline-end: 40px;
}
html.is-rtl select {
  background-position: left 14px center;
}
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-status.is-ok {
  background: #e7f6ed;
  color: #126b38;
}
.form-status.is-error {
  background: #fff0f1;
  color: #a31524;
}
.form-status.is-info {
  background: #eaf1f7;
  color: #193f5c;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
}
.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--orange);
}
.form-consent label {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}
.form-consent a,
.form-privacy-note a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-privacy-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}
.form-honeypot {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child {
  border-bottom: 0;
}
.info-row svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-row > div {
  min-width: 0;
}
.info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.info-value {
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.placeholder-tag {
  color: var(--yellow);
  font-size: 0.8rem;
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 260px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  filter: grayscale(0.15);
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.map-link:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   11) Footer
--------------------------------------------------------------------------- */
.footer {
  /* Footer sombre : on redéfinit les tokens localement pour ancrer la page */
  --heading: #f4f6f8;
  --text: #aeb4bd;
  --muted: #8a929c;
  --muted-2: #6b7280;
  --border: rgba(255, 255, 255, 0.1);
  --surface: #22323f;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: 56px 30px;
  background: var(--navy);
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}
.footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-tagline {
  color: var(--muted);
  margin-top: 16px;
  max-width: 340px;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a,
.footer-contact-list li {
  color: var(--muted);
  transition: color 0.2s;
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--orange);
}
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.25s;
}
.social a:hover {
  color: var(--heading);
  border-color: var(--border-strong);
  background: var(--surface);
}
.social svg {
  width: 20px;
  height: 20px;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------------------
   12) Bouton WhatsApp flottant
--------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #06331b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -12px rgba(37, 211, 102, 0.48);
  animation: wa-pulse 5s ease-out infinite;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}
.whatsapp-float:hover {
  transform: scale(1.03);
}
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.2),
      0 10px 24px -12px rgba(37, 211, 102, 0.48);
  }
  62% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0),
      0 10px 24px -12px rgba(37, 211, 102, 0.48);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0),
      0 10px 24px -12px rgba(37, 211, 102, 0.48);
  }
}

/* ---------------------------------------------------------------------------
   13) Bannière placeholder (avant mise en ligne)
--------------------------------------------------------------------------- */
.placeholder-banner {
  background: repeating-linear-gradient(
    45deg,
    rgba(173, 127, 49, 0.08),
    rgba(173, 127, 49, 0.08) 12px,
    rgba(173, 127, 49, 0.13) 12px,
    rgba(173, 127, 49, 0.13) 24px
  );
  border-bottom: 1px solid rgba(173, 127, 49, 0.24);
  color: var(--yellow);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  position: relative;
  z-index: 101;
}

/* ---------------------------------------------------------------------------
   14) Animations utilitaires
--------------------------------------------------------------------------- */
.reveal {
  will-change: transform, opacity;
}
.reveal.is-in {
  opacity: 1 !important;
  transform: none !important;
}
.reveal-card.is-in {
  opacity: 1 !important;
  transform: none !important;
}
.word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  vertical-align: top;
}
.word-inner {
  display: inline-block;
  will-change: transform;
}

/* ---------------------------------------------------------------------------
   15) Responsive
--------------------------------------------------------------------------- */
@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-link-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .field.row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .zones {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-logos {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .service-nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .service-hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
  .service-contact-card {
    grid-template-columns: 1.28fr 0.72fr;
    align-items: center;
  }
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-grid.why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  #modal-content {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .coverage-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ref-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .how-pin {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
  .how-progress {
    display: block;
    position: relative;
    align-self: stretch;
  }
  .how-progress-track {
    position: absolute;
    inset-inline-start: 26px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: var(--surface-2);
    border-radius: 2px;
    overflow: hidden;
  }
  .how-progress-fill {
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform-origin: top;
    transform: scaleY(0.25);
  }
  .how-progress-label {
    font-family: var(--font-head);
    font-size: 3.6rem;
    font-weight: 800;
    color: var(--heading);
    text-transform: uppercase;
    padding-inline-start: 54px;
  }
  .how-progress-sub {
    color: var(--muted);
    padding-inline-start: 54px;
    max-width: 200px;
  }
}

/* ---------------------------------------------------------------------------
   16) RTL (Darija) — ajustements en miroir
--------------------------------------------------------------------------- */
html.is-rtl body {
  text-align: right;
}
html.is-rtl .eyebrow::before {
  order: 2;
}
html.is-rtl .how-progress-fill {
  transform-origin: top;
}

/* ---------------------------------------------------------------------------
   17) Mouvement réduit — on allège / désactive
--------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .shimmer,
  .whatsapp-float,
  .hq-ring {
    animation: none !important;
  }
  .reveal,
  .reveal-card {
    opacity: 1 !important;
    transform: none !important;
  }
  #site-header.is-hidden {
    transform: none;
  }
}
