/* =========================================================================
   AC ASSISTANCE MEDICAL — Feuille de style partagée
   Un seul fichier CSS pour tout le site.
   Pour changer les couleurs : modifiez les variables dans :root ci-dessous.
   ========================================================================= */

/* ----------------------------------------------------------------------- */
/* 1. VARIABLES (palette, typographie, espacements)                        */
/* ----------------------------------------------------------------------- */
:root {
  /* Couleurs de marque (issues du logo) */
  --navy:        #12284C;   /* Couleur primaire / confiance */
  --navy-700:    #1B3663;
  --navy-600:    #23457C;
  --navy-050:    #EEF2F8;   /* Fond navy très clair */
  --red:         #E2231A;   /* RÉSERVÉ aux CTA d'appel / urgence */
  --red-600:     #C51810;
  --red-050:     #FDECEB;

  /* Neutres */
  --white:       #FFFFFF;
  --grey-050:    #F5F7FA;
  --grey-100:    #EDF1F6;
  --grey-200:    #E2E8F0;
  --grey-300:    #CBD5E1;
  --grey-500:    #64748B;   /* Texte secondaire */
  --grey-700:    #334155;
  --ink:         #0F1B31;   /* Texte principal */

  /* Rôles */
  --bg:            var(--white);
  --bg-soft:       var(--grey-050);
  --text:          var(--ink);
  --text-muted:    var(--grey-500);
  --border:        var(--grey-200);
  --primary:       var(--navy);
  --accent:        var(--red);

  /* Typographie */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Tailles fluides */
  --step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.45rem, 1.25rem + 1vw, 2.1rem);
  --step-3:  clamp(1.8rem, 1.45rem + 1.7vw, 2.9rem);
  --step-4:  clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --step-5:  clamp(2.6rem, 1.7rem + 4.4vw, 5rem);

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 0.85rem;
  --space-md: 1.4rem;
  --space-lg: 2.4rem;
  --space-xl: 4rem;
  --space-2xl: 6.5rem;

  /* Divers */
  --radius:      14px;
  --radius-lg:   22px;
  --radius-pill: 999px;
  --shadow-sm:   0 1px 2px rgba(15,27,49,.06), 0 2px 6px rgba(15,27,49,.05);
  --shadow-md:   0 8px 24px rgba(15,27,49,.09), 0 2px 6px rgba(15,27,49,.05);
  --shadow-lg:   0 22px 60px rgba(15,27,49,.16);
  --shadow-red:  0 12px 30px rgba(226,35,26,.30);
  --container:   1200px;
  --header-h:    76px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------------------------------------------------- */
/* 2. RESET / BASE                                                         */
/* ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;              /* garde-fou anti défilement horizontal */
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { text-wrap: pretty; }

/* ----------------------------------------------------------------------- */
/* 3. LAYOUT UTILITAIRES                                                    */
/* ----------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
}
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(3.2rem, 8vw, var(--space-2xl)); }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #E7EDF6;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px;
}
.section--navy .eyebrow { color: #FF7A72; }
.section--navy .eyebrow::before { background: #FF7A72; }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text-muted); line-height: 1.55; max-width: 62ch; }
.section--navy .lede { color: #B9C6DC; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.section__head { max-width: 720px; margin-bottom: var(--space-lg); }
.section__head.text-center { margin-inline: auto; }

/* ----------------------------------------------------------------------- */
/* 4. BOUTONS                                                              */
/* ----------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .88rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

/* Rouge = APPEL / URGENCE uniquement */
.btn--call {
  background: var(--red); color: #fff; box-shadow: var(--shadow-red);
}
.btn--call:hover { background: var(--red-600); box-shadow: 0 18px 40px rgba(226,35,26,.4); }

.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--navy-700); }

.btn--wa { background: #25D366; color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.28); }
.btn--wa:hover { background: #1FBF5B; color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--grey-300); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--navy .btn--ghost:hover { background: #fff; color: var(--navy); }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Pulsation douce pour l'appel d'urgence */
.pulse { position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(226,35,26,.55);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(226,35,26,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(226,35,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,35,26,0); }
}

/* ----------------------------------------------------------------------- */
/* 5. MOTIFS (Étoile de vie + ECG)                                         */
/* ----------------------------------------------------------------------- */
.star { display: inline-block; color: var(--red); }
.star svg { width: 100%; height: 100%; }

/* Ligne ECG animée en séparateur */
.ecg-divider { width: 100%; overflow: hidden; line-height: 0; color: var(--red); }
.ecg-divider svg { width: 100%; height: 46px; }
.ecg-line { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.ecg-divider.in-view .ecg-line { animation: draw 2.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ----------------------------------------------------------------------- */
/* 6. EN-TÊTE / NAVIGATION                                                 */
/* ----------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav {
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--space-md);
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__img { width: 44px; height: 44px; object-fit: contain; border-radius: 9px; }
/* Le logo (fond clair) posé sur le pied de page sombre : petite pastille blanche */
.site-footer .brand__img { background: #fff; padding: 3px; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.06rem;
  color: var(--navy); letter-spacing: -.01em;
}
.brand__name b { color: var(--red); font-weight: 700; }
.brand__tag { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted); }

.nav__links { display: flex; align-items: center; gap: .2rem; }
.nav__links a {
  font-size: .95rem; font-weight: 500; color: var(--navy);
  padding: .55rem .8rem; border-radius: 10px; position: relative;
  transition: background .18s, color .18s;
}
.nav__links a:hover { background: var(--navy-050); }
.nav__links a[aria-current="page"] { color: var(--red); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__phone { display: inline-flex; }

/* Menu déroulant Services */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .5rem; min-width: 280px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 9px; font-size: .92rem; }
.dropdown a .star { width: 15px; height: 15px; }

/* Bouton menu mobile */
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border);
  background: #fff; border-radius: 12px; padding: 0;
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; color: var(--navy); }

/* ----------------------------------------------------------------------- */
/* 7. MENU MOBILE (off-canvas)                                             */
/* ----------------------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden;
}
.mobile-menu__backdrop {
  position: absolute; inset: 0; background: rgba(15,27,49,.5);
  opacity: 0; transition: opacity .3s;
}
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(88vw, 360px);
  background: #fff; box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.2rem calc(1.2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { visibility: visible; }
.mobile-menu.open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-menu__close {
  width: 44px; height: 44px; border: 1px solid var(--border); background: #fff;
  border-radius: 12px; display: grid; place-items: center;
}
.mobile-menu__close svg { width: 22px; height: 22px; color: var(--navy); }
.mobile-nav a {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem .6rem; font-size: 1.05rem; font-weight: 500;
  color: var(--navy); border-bottom: 1px solid var(--grey-100);
}
.mobile-nav a[aria-current="page"] { color: var(--red); }
.mobile-nav .sub a { padding-left: 1.6rem; font-size: .96rem; font-weight: 400; color: var(--grey-700); }
.mobile-menu__cta { margin-top: auto; padding-top: 1.2rem; display: grid; gap: .7rem; }
body.menu-open { overflow: hidden; }

/* ----------------------------------------------------------------------- */
/* 8. HERO                                                                 */
/* ----------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(35,69,124,.55) 0%, rgba(18,40,76,0) 60%),
    linear-gradient(165deg, var(--navy) 0%, #0C1D3A 100%);
  color: #E7EDF6;
  padding-block: clamp(3rem, 6vw, 5rem);
  /* Section pleine hauteur : occupe l'écran sous l'en-tête */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
}
.hero::before { /* étoile de vie fantôme */
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px; opacity: .10; pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5'/%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5' transform='rotate(60 12 12)'/%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5' transform='rotate(120 12 12)'/%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero__grid { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: .5rem .9rem; border-radius: var(--radius-pill);
  font-size: var(--step--1); font-weight: 600; letter-spacing: .02em; color: #fff;
  margin-bottom: var(--space-md);
}
.hero__badge .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #34D399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.7)} 70%{box-shadow:0 0 0 8px rgba(52,211,153,0)} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0)} }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 1.7rem + 3.6vw, 4.5rem); margin-bottom: var(--space-md); }
.hero h1 .accent { color: #FF6A61; }
.hero__lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); color: #C4D0E4; max-width: 52ch; margin-bottom: var(--space-lg); }
.hero__cta { margin-bottom: var(--space-lg); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; }
.hero__proof-item { display: flex; align-items: center; gap: .6rem; font-size: var(--step--1); color: #C4D0E4; }
.hero__proof-item svg { width: 20px; height: 20px; color: #34D399; flex: none; }
.hero__proof strong { color: #fff; font-weight: 700; }

/* Carte visuelle du hero (placeholder motif) */
.hero__visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14);
}
.hero__card {
  position: absolute; z-index: 3; left: 18px; bottom: 18px;
  background: rgba(255,255,255,.96); color: var(--navy);
  border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem; max-width: 82%;
}
.hero__card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--red-050); display: grid; place-items: center; flex: none; }
.hero__card .ic svg { width: 22px; height: 22px; color: var(--red); }
.hero__card b { display: block; font-family: var(--font-head); font-size: 1.35rem; }
.hero__card span { font-size: .8rem; color: var(--text-muted); }

/* ----------------------------------------------------------------------- */
/* 9. PLACEHOLDER IMAGE (bloc stylisé motif ECG)                           */
/* ----------------------------------------------------------------------- */
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  aspect-ratio: 16/10; display: grid; place-items: center; color: #fff;
}
/* L'image réelle couvre le placeholder : elle passe au-dessus du motif/label.
   Si l'image est absente ou échoue (onerror), le placeholder reste visible. */
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 2; }
.media__ph { position: relative; z-index: 1; text-align: center; padding: 1.5rem; width: 100%; }
.media__ph .star { width: 46px; height: 46px; margin: 0 auto .6rem; color: rgba(255,255,255,.9); }
.media__ph-label { font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.72); }
.media__ecg { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); color: rgba(255,106,97,.85); opacity: .5; }
.media__ecg svg { width: 100%; height: 60px; }
.media--tall { aspect-ratio: 3/4; }
.media--wide { aspect-ratio: 21/9; }

/* Carte interactive (OpenStreetMap) */
.map-embed {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  background: var(--grey-100); aspect-ratio: 4/3;
}
.map-embed--tall { aspect-ratio: 3/4; }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(1.02); }
.map-embed__cities {
  position: absolute; left: 12px; right: 12px; top: 12px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: .4rem; pointer-events: none;
}
.map-embed__cities span {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255,255,255,.94); color: var(--navy);
  border-radius: var(--radius-pill); padding: .28rem .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  box-shadow: var(--shadow-sm);
}
.map-embed__cities span svg { width: 12px; height: 12px; color: var(--red); }
.map-embed__link {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--navy); color: #fff; border-radius: var(--radius-pill);
  padding: .5rem .9rem; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  box-shadow: var(--shadow-md); transition: background .2s, transform .2s;
}
.map-embed__link:hover { background: var(--navy-700); transform: translateY(-2px); }
.map-embed__link svg { width: 15px; height: 15px; }

/* ----------------------------------------------------------------------- */
/* 10. BANDE D'URGENCE                                                     */
/* ----------------------------------------------------------------------- */
.urgence-strip { background: var(--red); color: #fff; }
.urgence-strip .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .8rem 1.6rem; padding-block: 1rem; text-align: center;
}
.urgence-strip p { font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); display: flex; align-items: center; gap: .6rem; }
.urgence-strip svg { width: 24px; height: 24px; }
.urgence-strip a.tel { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; white-space: nowrap; }
.urgence-strip .btn { background: #fff; color: var(--red); }
.urgence-strip .btn:hover { background: #fff; }

/* ----------------------------------------------------------------------- */
/* 11. GRILLE DE SERVICES                                                  */
/* ----------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-md); }
/* Nombres de colonnes déterministes (mobile-first) — voir aussi les media queries */
.grid--services { grid-template-columns: repeat(4, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1080px) {
  .grid--services, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid--services, .grid--4, .grid--3 { grid-template-columns: 1fr; }
}

.service-card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.7rem 1.6rem;
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--red));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__ic {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: var(--navy-050); display: grid; place-items: center;
  transition: background .3s;
}
.service-card__ic svg { width: 28px; height: 28px; color: var(--navy); transition: color .3s; }
.service-card:hover .service-card__ic { background: var(--navy); }
.service-card:hover .service-card__ic svg { color: #fff; }
.service-card h3 { font-size: 1.22rem; }
.service-card p { color: var(--text-muted); font-size: .96rem; }
.service-card .more {
  margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--red);
}
.service-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.service-card:hover .more svg { transform: translateX(4px); }
.service-card--link { cursor: pointer; }

/* ----------------------------------------------------------------------- */
/* 12. "POURQUOI NOUS CHOISIR" / FEATURES                                  */
/* ----------------------------------------------------------------------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__ic {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--red-050); display: grid; place-items: center;
}
.feature__ic svg { width: 26px; height: 26px; color: var(--red); }
.feature h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.feature p { color: var(--text-muted); font-size: .95rem; }
.section--navy .feature__ic { background: rgba(255,255,255,.08); }
.section--navy .feature__ic svg { color: #FF8A82; }
.section--navy .feature p { color: #B9C6DC; }

/* ----------------------------------------------------------------------- */
/* 13. COMPTEURS                                                           */
/* ----------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-md); }
.stat { text-align: center; padding: 1.2rem .6rem; }
.stat__num {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); color: #fff; line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: .1rem;
}
.stat__num .suffix { color: #FF8A82; }
.stat__label { margin-top: .5rem; color: #B9C6DC; font-size: .95rem; }

/* ----------------------------------------------------------------------- */
/* 14. ZONES                                                               */
/* ----------------------------------------------------------------------- */
.zones { display: flex; flex-wrap: wrap; gap: .7rem; }
.zone-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: .6rem 1.1rem; font-weight: 500; font-family: var(--font-head); font-size: .98rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.zone-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--navy); }
.zone-pill svg { width: 18px; height: 18px; color: var(--red); }
/* Carte « Zone couverte » (remplace la carte géographique en page d'accueil) */
.coverage {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #E7EDF6; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.3rem);
}
.coverage::before {
  content: ""; position: absolute; right: -50px; top: -50px; width: 210px; height: 210px; opacity: .07; pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5'/%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5' transform='rotate(60 12 12)'/%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5' transform='rotate(120 12 12)'/%3E%3C/svg%3E");
}
.coverage__head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; position: relative; }
.coverage__head .star { flex: none; }
.coverage__head b { display: block; font-family: var(--font-head); color: #fff; font-size: 1.15rem; }
.coverage__head span { font-size: .85rem; color: #B9C6DC; }
.coverage__list { display: grid; position: relative; }
.coverage__list li { display: flex; align-items: center; gap: .85rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.coverage__list li:last-child { border-bottom: 0; }
.coverage__pin { width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.coverage__pin svg { width: 18px; height: 18px; color: #FF8A82; }
.coverage__city { display: flex; flex-direction: column; line-height: 1.25; }
.coverage__city b { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.coverage__city span { font-size: .82rem; color: #94A3BE; }
.coverage__foot { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem; background: rgba(255,255,255,.07); padding: .5rem .9rem; border-radius: var(--radius-pill); font-size: .85rem; color: #C4D0E4; }
.coverage__foot .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse-dot 2s infinite; }

.zone-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s;
}
.zone-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.zone-card h3 { display: flex; align-items: center; gap: .5rem; }
.zone-card h3 svg { width: 22px; height: 22px; color: var(--red); }
.zone-card p { color: var(--text-muted); font-size: .95rem; margin-top: .4rem; }

/* ----------------------------------------------------------------------- */
/* 15. TÉMOIGNAGES                                                         */
/* ----------------------------------------------------------------------- */
.testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.7rem; display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars { display: flex; gap: 3px; color: #F5A623; }
.testimonial__stars svg { width: 18px; height: 18px; }
.testimonial p { font-size: 1.02rem; color: var(--grey-700); }
.testimonial__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600;
}
.testimonial__who b { display: block; font-size: .95rem; color: var(--navy); }
.testimonial__who span { font-size: .82rem; color: var(--text-muted); }

/* ----------------------------------------------------------------------- */
/* 16. FAQ / ACCORDÉON                                                     */
/* ----------------------------------------------------------------------- */
.accordion { display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item > summary {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--navy);
  list-style: none; transition: background .2s;
}
.faq-item > summary::-webkit-details-marker { display: none; }  /* retire le triangle par défaut (Safari/Chrome) */
.faq-item > summary::marker { content: ""; }                    /* retire la puce (Firefox) */
.faq-item > summary:hover { background: var(--grey-050); }
.faq-item > summary > span:first-child { flex: 1 1 auto; }
.faq-item .icon { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s; }
.faq-item .icon::before, .faq-item .icon::after {
  content: ""; position: absolute; background: var(--red); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-item .icon::before { width: 14px; height: 2.5px; }
.faq-item .icon::after { width: 2.5px; height: 14px; transition: transform .3s; }
.faq-item[open] .icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-item__body { padding: 0 1.3rem; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease); }
.faq-item[open] .faq-item__body { padding: 0 1.3rem 1.25rem; max-height: 520px; }
.faq-item__body p { color: var(--text-muted); }
.faq-item[open] > summary .icon { transform: rotate(90deg); }

/* ----------------------------------------------------------------------- */
/* 17. LISTES DE VÉRIF (inclus / équipement)                               */
/* ----------------------------------------------------------------------- */
.check-list { display: grid; gap: .75rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--grey-700); }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 2px; }
.check-list.on-navy li { color: #C4D0E4; }
.check-list.on-navy li svg { color: #34D399; }

/* Panneau info/réassurance */
.panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm);
}
.panel--soft { background: var(--bg-soft); box-shadow: none; }
.panel--accent { border-left: 4px solid var(--red); }

/* Étapes numérotées */
.steps { display: grid; gap: 1.2rem; counter-reset: step; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step__n {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ----------------------------------------------------------------------- */
/* 18. BANDE CTA                                                           */
/* ----------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .container { position: relative; z-index: 2; max-width: 760px; }
.cta-band h2 { color: #fff; margin-bottom: var(--space-sm); }
.cta-band p { color: #C4D0E4; margin-bottom: var(--space-lg); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.cta-band .btn-row { justify-content: center; }
.cta-band__ecg { position: absolute; left: 0; right: 0; bottom: 0; color: rgba(255,106,97,.4); }

/* ----------------------------------------------------------------------- */
/* 19. PIED DE PAGE                                                        */
/* ----------------------------------------------------------------------- */
.site-footer { background: #0C1B33; color: #A9B7CE; padding-top: var(--space-xl); }
.footer__grid {
  display: grid; gap: var(--space-lg);
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: #7E8FAC; }
.footer__about { margin-top: 1rem; font-size: .95rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.site-footer ul { display: grid; gap: .7rem; }
.site-footer a { color: #A9B7CE; font-size: .94rem; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer__contact { gap: .9rem; }
.footer__contact li { display: flex; gap: .7rem; align-items: center; font-size: .94rem; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: #FF8A82; margin-top: 3px; }
.footer__contact a { color: #fff; font-weight: 500; }
.footer__hours { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; background: rgba(255,255,255,.06); padding: .5rem .9rem; border-radius: var(--radius-pill); font-size: .85rem; }
.footer__hours .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; }
.footer__bottom {
  margin-top: var(--space-xl); border-top: 1px solid rgba(255,255,255,.09);
  padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  align-items: center; justify-content: space-between; font-size: .85rem;
}
.footer__bottom a:hover { color: #fff; }

/* ----------------------------------------------------------------------- */
/* 20. BOUTONS FLOTTANTS + BARRE MOBILE                                    */
/* ----------------------------------------------------------------------- */
.float-wa {
  position: fixed; right: 16px; z-index: 90;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  display: grid; place-items: center; transition: transform .25s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; color: #fff; }

.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(15,27,49,.08);
}
.call-bar .btn { width: 100%; }

/* ----------------------------------------------------------------------- */
/* 21. FORMULAIRE                                                          */
/* ----------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); font-family: var(--font-head); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--border);
  border-radius: 12px; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-050);
}
.form__note { font-size: .85rem; color: var(--text-muted); }
.form__hint { display: flex; gap: .6rem; align-items: flex-start; background: var(--red-050); border-radius: 12px; padding: .9rem 1.1rem; font-size: .9rem; color: var(--red-600); }
.form__hint svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 1px; }

/* ----------------------------------------------------------------------- */
/* 22. FIL D'ARIANE + PAGE HEADER                                          */
/* ----------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(120% 100% at 90% -20%, rgba(35,69,124,.5) 0%, rgba(18,40,76,0) 55%),
    linear-gradient(160deg, var(--navy) 0%, #0C1D3A 100%);
  color: #E7EDF6; position: relative; overflow: hidden;
  padding-block: clamp(2.6rem, 7vw, 4.5rem);
}
.page-hero::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 320px; height: 320px; opacity: .09;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5'/%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5' transform='rotate(60 12 12)'/%3E%3Crect x='10.5' y='1.5' width='3' height='21' rx='1.5' transform='rotate(120 12 12)'/%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.page-hero p { color: #C4D0E4; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 60ch; }
.page-hero__ic { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: 1.1rem; }
.page-hero__ic svg { width: 32px; height: 32px; color: #FF8A82; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: #93A3C0; margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #FF8A82; }

/* Deux colonnes contenu */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr 1fr; align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.stack-lg > * + * { margin-top: var(--space-md); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 1.6rem; }
.prose h3 { margin-top: 1.3rem; }
.prose ul { display: grid; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.4rem; color: var(--grey-700); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* Encadré latéral sticky */
.side-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #E7EDF6; border-radius: var(--radius-lg); padding: 1.8rem; position: sticky; top: calc(var(--header-h) + 16px);
}
.side-cta h3 { color: #fff; margin-bottom: .6rem; }
.side-cta p { color: #B9C6DC; font-size: .95rem; margin-bottom: 1.2rem; }
.side-cta .btn { width: 100%; }
.side-cta .btn + .btn { margin-top: .6rem; }

/* ----------------------------------------------------------------------- */
/* 23. LOADER                                                              */
/* ----------------------------------------------------------------------- */
#loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy);
  display: grid; place-items: center; transition: opacity .5s ease, visibility .5s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader__inner { width: 220px; text-align: center; }
.loader__ecg { color: #FF6A61; }
.loader__ecg svg { width: 100%; height: 60px; }
.loader__ecg path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: loaderdraw 1.4s var(--ease) infinite; }
@keyframes loaderdraw { 0%{stroke-dashoffset:400} 60%{stroke-dashoffset:0} 100%{stroke-dashoffset:-400} }
.loader__name { margin-top: 1rem; font-family: var(--font-head); font-weight: 700; color: #fff; letter-spacing: .04em; }

/* ----------------------------------------------------------------------- */
/* 24. RÉVÉLATION AU DÉFILEMENT                                            */
/* ----------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ----------------------------------------------------------------------- */
/* 25. DIVERS (404, badges)                                                */
/* ----------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--navy-050); color: var(--navy); border-radius: var(--radius-pill);
  padding: .35rem .8rem; font-size: .82rem; font-weight: 600; font-family: var(--font-head);
}
.badge svg { width: 15px; height: 15px; color: var(--red); }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 20vw, 10rem); color: var(--navy); line-height: 1; }

/* ----------------------------------------------------------------------- */
/* 26. RESPONSIVE                                                          */
/* ----------------------------------------------------------------------- */
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}
@media (max-width: 1040px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav__links, .nav__phone .label-lg { display: none; }
  .nav__toggle { display: inline-flex; }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .side-cta { position: static; }
  /* Sur mobile : le visuel s'affiche en bannière épurée, en haut du héros */
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__visual { display: block; order: -1; aspect-ratio: 16/10; max-width: 560px; width: 100%; margin-inline: auto; }
  .hero__card { display: none; }              /* on retire la carte (le badge 24/7 suffit) */
  .hero__badge { margin-bottom: .9rem; }
  .hero__lede { margin-bottom: 1.4rem; }
  .call-bar { display: block; }
  .float-wa { bottom: calc(78px + env(safe-area-inset-bottom)); }
  /* petit dégagement pour la barre d'appel fixe */
  .site-footer { padding-bottom: 78px; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  /* Héros mobile : titre plus mesuré, texte compact */
  .hero h1 { font-size: clamp(1.9rem, 1.35rem + 3vw, 2.7rem); margin-bottom: 1rem; }
  .hero__lede { font-size: 1.02rem; }
  .hero__proof { gap: .7rem 1.3rem; }
  .hero__proof-item { font-size: .9rem; }
  /* Bande d'urgence : texte plus compact et centré, sans coupure du numéro */
  .urgence-strip p { font-size: 1rem; flex-wrap: wrap; justify-content: center; gap: .3rem .5rem; line-height: 1.4; }
  .urgence-strip svg { width: 20px; height: 20px; }
}

/* ----------------------------------------------------------------------- */
/* 27. PRÉFÉRENCE MOUVEMENT RÉDUIT                                         */
/* ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .pulse::after { display: none; }
  .ecg-line { stroke-dashoffset: 0; }
  #loader { display: none; }
}
