/* ═══════════════════════════════════════════════════════════
   Médicap — design system
   Palette charte : navy / ice / paper / steel
   Signature : le « fil de vie » (tracé ECG continu)
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #061D3E;
  --abyss: #04152E;
  --steel: #4C76B6;
  --steel-sur-fonce: #5582BE;   /* acier éclairci : 4,6:1 sur --abyss (WCAG AA) */
  --steel-sur-clair: #4871AF;   /* acier assombri : 4,6:1 sur --paper (WCAG AA) */
  --ice: #93D5F0;
  --paper: #F8F7F6;
  --line: rgba(147, 213, 240, 0.14);
  --paper-70: rgba(248, 247, 246, 0.7);
  --paper-55: rgba(248, 247, 246, 0.55);
  --navy-70: rgba(6, 29, 62, 0.7);
  --font-display: "Poppins", "Poppins repli", sans-serif;
  --font-body: "Poppins", "Poppins repli", sans-serif;
  --pad-x: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video, svg { max-width: 100%; }
::selection { background: var(--ice); color: var(--navy); }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x); }

.icon {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  display: block; flex-shrink: 0;
}

/* Battement de cœur permanent (logo, CTA principaux) */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  8% { transform: scale(1.1); }
  16% { transform: scale(1); }
  24% { transform: scale(1.14); }
  34% { transform: scale(1); }
}
.beat { animation: heartbeat 1.8s ease-in-out infinite; transform-origin: center; }
.btn.beat:hover { animation: none; }

/* Balayage ECG continu (fil de vie du hero) */
@keyframes ecgSweep {
  0% { stroke-dashoffset: 760; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -760; }
}

/* ── Typographie ─────────────────────────────────────────── */

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-size: clamp(40px, 5.4vw, 76px);
  margin: 0;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(28px, 3.2vw, 42px);
  margin: 0 0 26px;
  color: var(--paper);
  text-wrap: balance;
}
.h-section--dark { color: var(--navy); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  color: var(--ice);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 12px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 12" fill="none"><polyline points="0,6 10,6 14,1 18,11 21,3 24,6 34,6" stroke="black" stroke-width="1.6" stroke-linejoin="round" stroke-linecap="round"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 12" fill="none"><polyline points="0,6 10,6 14,1 18,11 21,3 24,6 34,6" stroke="black" stroke-width="1.6" stroke-linejoin="round" stroke-linecap="round"/></svg>') center/contain no-repeat;
}
.eyebrow--steel { color: var(--steel-sur-clair); }

.body-lg { margin: 0 0 18px; color: var(--paper-70); font-weight: 300; font-size: 16.5px; line-height: 1.85; max-width: 56ch; }
.body-lg--dark { color: var(--navy-70); }

/* ── Boutons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border-radius: 999px; border: 0;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.btn--solid { background: var(--ice); color: var(--navy); font-weight: 700; box-shadow: 0 10px 36px rgba(147, 213, 240, 0.28); }
.btn--solid:hover { background: var(--paper); }
.btn--ghost { background: transparent; color: var(--paper); border: 1.5px solid rgba(147, 213, 240, 0.45); }
.btn--ghost:hover { border-color: var(--ice); background: rgba(76, 118, 182, 0.22); }
.btn--navy { background: var(--navy); color: var(--paper); font-weight: 700; }
.btn--navy:hover { background: var(--steel); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ice); font-weight: 600; font-size: 15px; text-decoration: none;
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: color .3s ease;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s cubic-bezier(.3,.9,.3,1.4); }
.link-arrow:hover { color: var(--paper); }
.link-arrow:hover .icon { transform: translateX(6px); }

/* ── Fil de vie (rail fixe) ──────────────────────────────── */

.liferail {
  position: fixed; left: 22px; top: 16vh; bottom: 16vh; width: 2px;
  background: rgba(76, 118, 182, 0.18); border-radius: 2px;
  z-index: 800; pointer-events: auto; cursor: pointer;
}
.liferail::before { content: ""; position: absolute; top: 0; bottom: 0; left: -10px; right: -10px; }
.liferail__fill {
  position: absolute; inset: 0 0 auto; height: 0%;
  background: linear-gradient(180deg, var(--ice), var(--steel));
  border-radius: 2px;
}
.liferail__dot {
  position: absolute; left: 50%; top: 0%;
  width: 13px; height: 13px; border-radius: 50%;
  cursor: grab;
  transform: translate(-50%, -50%);
  background: var(--ice);
  box-shadow: 0 0 12px rgba(147, 213, 240, 0.9);
}
@media (max-width: 900px) { .liferail { display: none; } }

/* ── Header ──────────────────────────────────────────────── */

.header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--pad-x);
  transition: background-color .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.header__logo { display: block; }
.header__logo img {
  height: 44px; display: block;
  filter: brightness(0) invert(1);
  transition: filter .4s ease;
}
.header.is-scrolled .header__logo img { filter: none; }
.header__nav { display: flex; gap: 30px; }
.header__nav a {
  color: rgba(248, 247, 246, 0.92); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  transition: color .3s ease;
}
.header__nav a:hover { color: var(--ice); }
.header__nav a.is-active { color: var(--ice); font-weight: 600; }
.header.is-scrolled .header__nav a.is-active { color: var(--steel); }
.header__cta { padding: 11px 24px; font-size: 14.5px; }
.header__right { display: flex; align-items: center; gap: 22px; }
.header__tel {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--paper); text-decoration: none;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: color .3s ease;
}
.header__tel .icon { width: 17px; height: 17px; }
.header__tel:hover { color: var(--ice); }
.header.is-scrolled .header__tel { color: var(--navy); }
.header.is-scrolled .header__tel:hover { color: var(--steel); }
@media (max-width: 1160px) { .header__tel { display: none; } }

.header.is-scrolled {
  background: rgba(248, 247, 246, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: rgba(6, 29, 62, 0.08);
  box-shadow: 0 4px 24px rgba(6, 29, 62, 0.08);
}
.header.is-scrolled .header__logo img { filter: none; }
.header.is-scrolled .header__nav a { color: rgba(6, 29, 62, 0.85); }
.header.is-scrolled .header__nav a:hover { color: var(--steel); }

@media (max-width: 900px) { .header__nav { display: none; } }
.header__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; cursor: pointer; flex-shrink: 0;
}
.header__burger span {
  display: block; height: 2.5px; border-radius: 2px; background: var(--paper);
  transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}
.header.is-scrolled .header__burger span, .header.menu-open .header__burger span { background: var(--navy); }
.header.menu-open .header__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header.menu-open .header__burger span:nth-child(2) { opacity: 0; }
.header.menu-open .header__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobilenav[hidden] { display: none; }
@media (min-width: 901px) { .mobilenav { display: none !important; } }
.mobilenav {
  position: fixed; inset: 72px 0 auto 0; z-index: 890;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--paper); padding: 18px var(--pad-x) 26px;
  box-shadow: 0 30px 60px rgba(6, 29, 62, 0.25);
  border-bottom: 1px solid rgba(6, 29, 62, 0.08);
}
.mobilenav a {
  padding: 13px 4px; text-decoration: none; color: var(--navy);
  font-weight: 600; font-size: 17px;
  border-bottom: 1px solid rgba(6, 29, 62, 0.07);
}
.mobilenav a.is-active { color: var(--steel); }
.mobilenav__tel { color: var(--steel) !important; border-bottom: 0 !important; }
.header.menu-open { background: rgba(248, 247, 246, 0.98); }
.header.menu-open .header__logo img { filter: none; }
@media (max-width: 900px) { .header__burger { display: flex; } }
@media (max-width: 600px) {
  .header { gap: 12px; }
  .header__tel { display: none; }
  .header__cta { padding: 11px 18px; font-size: 14px; }
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,29,62,.74) 0%, rgba(6,29,62,.5) 45%, var(--navy) 100%);
}
.hero__content { position: relative; width: 100%; padding-block: 130px 90px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 30px; padding: 9px 18px;
  border: 1px solid rgba(147, 213, 240, 0.4); border-radius: 999px;
  background: rgba(6, 29, 62, 0.5);
  color: var(--ice); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px rgba(147,213,240,.9); }

.hero__title { max-width: 1000px; }
.hero__title .line { display: block; overflow: hidden; padding-block: 0.04em; }
.hero__title .line-inner { display: block; will-change: transform; }
.hero__title .line--accent .line-inner { color: var(--ice); }

.hero__ecg { width: min(560px, 82%); height: 60px; margin: 10px 0 0; overflow: visible; }
#heroEcg {
  stroke: var(--ice); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 760; stroke-dashoffset: 760;
  filter: drop-shadow(0 0 8px rgba(147, 213, 240, 0.45));
  animation: ecgSweep 4.5s linear infinite;
}

.hero__lead { margin: 20px 0 0; max-width: 620px; color: rgba(248,247,246,.82); font-size: 18.5px; font-weight: 300; line-height: 1.65; }
.hero__actions { display: flex; gap: 16px; margin-top: 42px; flex-wrap: wrap; }

.hero__scrollcue {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--paper-55); text-decoration: none;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero__scrollline { width: 1.5px; height: 56px; background: linear-gradient(180deg, var(--ice), transparent); }

/* ── Stats ───────────────────────────────────────────────── */

.stats { padding: 40px 0 90px; }
.stats__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.stat {
  padding: 30px 24px;
  background: rgba(76, 118, 182, 0.12);
  border: 1px solid var(--line); border-radius: 20px;
  transition: border-color .35s ease, transform .35s ease;
}
.stat:hover { border-color: rgba(147, 213, 240, 0.5); transform: translateY(-4px); }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800; font-size: 44px; line-height: 1;
  letter-spacing: -0.02em; color: var(--ice);
}
.stat__value sup { font-size: 0.5em; }
.stat__value small { font-size: 0.52em; font-weight: 800; margin-left: 2px; }
.stat p { margin: 12px 0 0; color: var(--paper-70); font-size: 13.5px; line-height: 1.55; }

@media (max-width: 1100px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .stats__grid { grid-template-columns: 1fr; } }

/* ── Marquee ─────────────────────────────────────────────── */

.marquee { background: var(--ice); padding: 15px 0; overflow: hidden; }
.marquee__track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 60s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700; font-size: 19px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Scène produit ───────────────────────────────────────── */

.produit { position: relative; background: var(--navy); }
.produit::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/fond-mains.webp") center / cover no-repeat;
  opacity: 0.3; pointer-events: none;
}
.produit > * { position: relative; z-index: 1; }
.produit__stage {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 90px 40px;
}
.produit__layout {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 80px); align-items: center; width: 100%;
}
.produit__actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; flex-wrap: wrap; }

.produit__visual { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.produit__halo {
  position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76,118,182,.32) 0%, transparent 68%);
}
.produit__halo::after {
  content: ""; position: absolute; inset: 44px;
  border-radius: 50%; border: 1px dashed rgba(147, 213, 240, 0.28);
}
.produit__dae {
  position: relative; z-index: 2; width: min(330px, 62%);
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.5));
  will-change: transform;
}
.produit__link { position: absolute; z-index: 3; width: 110px; height: 8px; right: 8%; top: 34%; overflow: visible; display: none; }
.produit__link line { stroke: var(--ice); stroke-width: 2; stroke-dasharray: 120; stroke-dashoffset: 120; }

.produit__callouts { position: absolute; z-index: 4; right: -10px; top: 50%; width: min(300px, 46%); transform: translateY(-50%); }
.callout {
  position: absolute; inset: auto 0 auto 0; transform: translateY(24px);
  opacity: 0;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: rgba(6, 29, 62, 0.85);
  border: 1px solid rgba(147, 213, 240, 0.3); border-radius: 16px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.callout__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 13px;
  background: rgba(76, 118, 182, 0.28);
  border: 1px solid rgba(147, 213, 240, 0.3);
  color: var(--ice);
}
.callout__icon .icon { stroke-dasharray: 90; }
.callout strong { display: block; color: var(--ice); font-size: 14.5px; font-weight: 700; }
.callout p { margin: 6px 0 0; color: rgba(248,247,246,.8); font-size: 13px; line-height: 1.6; }

.scene-dots {
  position: absolute; right: -34px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 9px;
}
.scene-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(147, 213, 240, 0.25);
  transition: background-color .3s ease, transform .3s ease;
  cursor: pointer;
}
.scene-dots i:hover { background: rgba(147, 213, 240, 0.6); }
.scene-dots i.is-active { background: var(--ice); transform: scale(1.35); box-shadow: 0 0 8px rgba(147,213,240,.8); }

/* ── Carte de France ─────────────────────────────────────── */

.france { background: var(--paper); }
.france__stage {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 96px var(--pad-x) 64px;
}
.france__head { text-align: center; position: relative; z-index: 5; }
.france__head .eyebrow { justify-content: center; }
.france__map-wrap { position: relative; flex: 1; min-height: 0; display: flex; align-items: flex-start; justify-content: center; margin-top: 8px; width: 100%; }
.france__mapbox { position: relative; width: min(54vh, 78vw); margin-top: 0; container-type: inline-size; transform: translateX(calc(-14% - 52px)); }
@media (max-width: 900px) { .france__mapbox { transform: none; } }
.france__map {
  width: 100%; height: auto; display: block;
  transform: scale(1.12); transform-origin: 55.9% 51.4%;
  will-change: transform, opacity, filter;
}

/* Le cœur (organe fourni par le client) qui remplace la carte.
   Le conteneur est décalé pour que la masse de l'organe tombe
   exactement sous le point d'ancrage du texte (50% / 46%). */
.france__heartpos {
  position: absolute; left: 55.9%; top: 51%;
  opacity: 0; will-change: transform, opacity;
}
.france__heart {
  display: block; height: min(54vh, 66vw); width: auto;
  filter: drop-shadow(0 20px 50px rgba(6, 29, 62, 0.35));
  transform-origin: center;
}
@keyframes pump {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.07); }
  20% { transform: scale(1); }
  32% { transform: scale(1.11); }
  48% { transform: scale(1); }
}
.france__heart.is-beating { animation: pump 1.1s ease-in-out infinite; }


}
@media (max-width: 900px) { .france__heartpos { display: none; } }
@media (prefers-reduced-motion: reduce) { .france__heartpos { display: none; } }

/* Corse à sa position réelle + encarts DOM (Guadeloupe, Martinique, La Réunion) */
.france__corse {
  position: absolute; left: 97%; top: 92%; width: 12%;
  filter: drop-shadow(18px 30px 34px rgba(6, 29, 62, 0.28));
}
.france__dom {
  position: absolute; left: 128%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 30px; z-index: 4;
}
.france__dom figure { margin: 0; text-align: center; }
.france__dom img { height: 92px; width: auto; display: block; margin: 0 auto 8px; }
.france__dom figcaption {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy-70);
}
@media (max-width: 900px) {
  .france__dom { position: static; transform: none; flex-direction: row; justify-content: center; margin-top: 18px; gap: 26px; }
  .france__dom img { height: 64px; }
  .france__corse { display: none; }
}

/* Statistiques au centre de la carte — une visible à la fois,
   toutes ancrées exactement au même point (le cœur de l'hexagone) */
.fstat {
  position: absolute; top: 51%; left: 55.9%;
  transform: translate(-50%, -50%);
  width: min(300px, 54vw);
  text-align: center; opacity: 0;
  will-change: opacity;
}
.fstat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(44px, 4.8vw, 78px); line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ice); text-shadow: 0 4px 30px rgba(6, 29, 62, 0.65);
  white-space: nowrap;
}
.fstat__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--paper);
}
.fstat__sub {
  display: block; margin: 12px auto 0; max-width: 250px;
  color: var(--paper); font-size: 13.5px; font-weight: 600; line-height: 1.5;
  text-shadow: 0 2px 14px rgba(6, 29, 62, 0.8);
}

/* Progression de la séquence */
.france__progress {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 6;
  width: min(300px, 60%); height: 2px;
  background: rgba(6, 29, 62, 0.15); border-radius: 2px; overflow: hidden;
}
.france__progress > div { width: 0%; height: 100%; background: linear-gradient(90deg, var(--steel), var(--navy)); }

/* ── Avantages ───────────────────────────────────────────── */

.avantages { background: var(--navy); border-top: 1px solid var(--line); }
.avantages__stage {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px var(--pad-x) 80px;
}
.avantages__head { text-align: center; }
.avantages__head .eyebrow { justify-content: center; }

.avantages__row {
  display: flex; gap: clamp(12px, 1.6vw, 24px);
  width: 100%; max-width: 1280px; margin-top: 40px;
  align-items: stretch;
}
.avantage {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 30px 18px 26px; border-radius: 20px;
  border: 1px solid transparent;
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease, background-color .35s ease;
}
.avantages--carousel .avantage { opacity: 0.62; transform: scale(0.96); cursor: pointer; }
.avantages--carousel .avantage.is-active {
  opacity: 1; transform: scale(1.04);
  background: rgba(76, 118, 182, 0.14);
  border-color: rgba(147, 213, 240, 0.32);
}
.avantage__icon {
  display: flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; border-radius: 19px;
  background: linear-gradient(150deg, rgba(76,118,182,.5), rgba(76,118,182,.16));
  border: 1px solid rgba(147, 213, 240, 0.35);
  color: var(--ice);
  box-shadow: 0 18px 44px rgba(76, 118, 182, 0.35);
}
.avantage__icon .icon { width: 30px; height: 30px; stroke-width: 1.5; stroke-dasharray: 130; }
.avantage h3 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(16px, 1.25vw, 19px);
  letter-spacing: -0.01em; line-height: 1.25;
  color: var(--paper);
}
.avantage p { margin: 12px auto 0; color: rgba(248,247,246,.8); font-size: 13.5px; font-weight: 300; line-height: 1.65; }

.avantages__progress {
  width: min(320px, 70%); height: 2px; margin-top: 26px;
  background: rgba(76, 118, 182, 0.25); border-radius: 2px; overflow: hidden;
}
#avantagesBar { width: 0%; height: 100%; background: linear-gradient(90deg, var(--steel), var(--ice)); }
.avantages__cta { margin-top: 40px; }
/* Écrans desktop peu hauts : la scène est épinglée pendant le scroll, elle doit tenir
   entière sous le bandeau fixe (portables 1366×657, 1280×600…). */
@media (min-width: 901px) and (max-height: 760px) {
  .avantages__stage { padding-top: 28px; padding-bottom: 28px; }
  .avantages__row { margin-top: 22px; }
  .avantage { padding: 20px 16px 18px; }
  .avantage p { margin-top: 8px; line-height: 1.55; }
  .avantages__progress { margin-top: 16px; }
  .avantages__cta { margin-top: 18px; }
}

/* ── Offre ───────────────────────────────────────────────── */

.offre {
  position: relative;
  background: linear-gradient(135deg, #0A2A55 0%, var(--navy) 60%);
  border-top: 1px solid var(--line);
  padding: 120px 0;
}
.offre::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/fond-mosaique-hd.webp") center top / cover no-repeat;
  opacity: 0.32; pointer-events: none;
}
.offre > .container { position: relative; z-index: 1; }
.offre__layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.offre__copy .btn { margin-top: 16px; }

.offre__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.flip { perspective: 1100px; height: 235px; }
.flip__inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.4, .9, .3, 1);
}
.flip:hover .flip__inner, .flip:focus-within .flip__inner { transform: rotateY(180deg); }
.flip__front, .flip__back {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 20px; padding: 24px;
  display: flex; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.flip__front {
  flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, rgba(76,118,182,.35), rgba(6,29,62,.9));
  border: 1px solid rgba(147, 213, 240, 0.3);
}
.flip__icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 15px;
  background: rgba(147, 213, 240, 0.14);
  border: 1px solid rgba(147, 213, 240, 0.3);
  color: var(--ice);
}
.flip__icon .icon { width: 26px; height: 26px; }
.flip__front h3 { margin: 0; color: var(--paper); font-size: 17.5px; font-weight: 700; line-height: 1.3; }
.flip__hint { display: block; margin-top: 8px; color: rgba(147, 213, 240, 0.7); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.flip__back { transform: rotateY(180deg); background: var(--ice); align-items: center; }
.flip__back p { margin: 0; color: var(--navy); font-size: 14px; font-weight: 500; line-height: 1.65; }

@media (max-width: 1024px) { .offre__layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .offre__grid { grid-template-columns: 1fr; } .flip { height: 210px; } }

/* ── Contact ─────────────────────────────────────────────── */

.contact {
  background: radial-gradient(ellipse at 70% 10%, rgba(76, 118, 182, 0.2) 0%, rgba(248, 247, 246, 0) 58%), var(--paper);
  padding: 120px 0; color: var(--navy);
}
.contact__layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }

.contact__channels { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact__channels li, .contact__channels a {
  display: flex; align-items: center; gap: 14px;
  color: var(--navy); font-size: 17.5px; font-weight: 600; text-decoration: none;
}
.contact__chip {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--navy); color: var(--ice);
  transition: background-color .3s ease;
}
.contact__channels a:hover .contact__chip { background: var(--steel); }
.contact__legal { margin: 36px 0 0; color: rgba(6, 29, 62, 0.7); font-size: 13px; }
.contact__legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.form[hidden] { display: none !important; }
.form {
  display: flex; flex-direction: column; gap: 18px;
  padding: 40px;
  background: #fff; border: 1px solid rgba(6, 29, 62, 0.1); border-radius: 24px;
  box-shadow: 0 20px 60px rgba(6, 29, 62, 0.08);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 7px; color: var(--navy); font-size: 13.5px; font-weight: 600; }
.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--navy);
  padding: 13px 16px;
  background: var(--paper);
  border: 1.5px solid rgba(6, 29, 62, 0.15); border-radius: 12px;
  outline: none;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--steel); background: #fff;
  box-shadow: 0 0 0 4px rgba(76, 118, 182, 0.12);
}
.form textarea { resize: vertical; }
.form .btn { margin-top: 6px; }

.form--sent { align-items: center; text-align: center; padding: 60px 40px; }
.form__check {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--ice); color: var(--navy);
}
.form__check .icon { width: 34px; height: 34px; }
.form--sent h3 { margin: 20px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.form--sent p { margin: 10px 0 0; color: var(--navy-70); font-size: 16px; }
/* Échec d'envoi : masqué au repos (attribut hidden), affiché par main.js */
.form__error { margin: 0; color: var(--navy); font-size: 14px; line-height: 1.6; }
.form__error a { color: var(--steel); font-weight: 600; }

@media (max-width: 900px) {
  .contact__layout { grid-template-columns: 1fr; }
  .contact__layout > * { min-width: 0; }
  .contact__channels li, .contact__channels a { flex-wrap: wrap; font-size: 16px; }
  [data-2col] { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form { padding: 28px 22px; } }

/* ── Footer ──────────────────────────────────────────────── */

.footer { background: var(--abyss); border-top: 1px solid rgba(147, 213, 240, 0.12); padding: 76px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer__brand { text-align: center; }
.footer__icon { height: 54px; width: auto; margin: 0 auto; display: block; filter: brightness(0) invert(1); }
.footer__brand p { margin: 16px auto 0; max-width: 300px; color: rgba(248,247,246,.6); font-size: 14px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; justify-content: center; }
.footer__lfc { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer__lfc-logo { display: flex; border-radius: 10px; transition: opacity .3s ease; }
.footer__lfc-logo:hover { opacity: .82; }
.footer__lfc img { height: 46px; width: auto; border-radius: 10px; }
.footer__lfc span { font-size: 13px; color: var(--paper-55); max-width: 280px; line-height: 1.6; }

.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(147, 213, 240, 0.25);
  color: var(--ice); font-size: 13px; font-weight: 700; text-decoration: none;
  transition: background-color .3s ease;
}
.footer__social a:hover { background: rgba(76, 118, 182, 0.3); }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__label { margin-bottom: 6px; color: var(--steel-sur-fonce); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.footer__col a { color: rgba(248,247,246,.75); text-decoration: none; font-size: 14px; transition: color .3s ease; }
.footer__col a:hover { color: var(--ice); }
.footer__col a.footer__strong { color: var(--paper); font-size: 16px; font-weight: 600; }
.footer__muted { color: rgba(248,247,246,.6); font-size: 14px; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 52px; padding-top: 24px;
  border-top: 1px solid rgba(147, 213, 240, 0.1);
  color: rgba(248,247,246,.55); font-size: 13px;
}
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { color: var(--ice); }

@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 34px; } }

/* ── Responsive : scènes en pile sous 900px ──────────────── */

@media (max-width: 900px) {
  .produit__layout { grid-template-columns: 1fr; }
  .produit__visual { min-height: 0; flex-direction: column; margin-top: 30px; }
  .produit__callouts { position: static; width: 100%; transform: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
  .callout { position: static; opacity: 1; transform: none; }
  .scene-dots { display: none; }

  .france__stage { min-height: 0; padding-bottom: 80px; }
  .france__heart { display: none; }
  .france__mapbox { width: min(86vw, 58vh); margin-top: 0; }
  .france__map { transform: none; }
  .france__map-wrap { flex: none; flex-direction: column; }
  .fstat { position: static; transform: none; opacity: 1 !important; width: 100%; max-width: 420px; margin-top: 30px; }
  .fstat__num { color: var(--steel); text-shadow: none; }
  .fstat__label { color: var(--navy); }
  .fstat__sub { color: var(--navy-70); text-shadow: none; }
  .france__progress { display: none; }

  .avantages__stage { min-height: 0; }
  .avantages__deck { min-height: 0; display: flex; flex-direction: column; gap: 44px; }
  .avantages__row { flex-direction: column; gap: 28px; }
  .avantages__progress { display: none; }
}

/* ── Mouvement réduit, desktop : caractéristiques du DAE sous l'image ──
   Sans animation, les 5 bulles s'empilaient à droite du DAE dans une colonne
   de 70 à 230 px (texte d'un mot par ligne). Grille de 2 colonnes sous l'image. */
@media (prefers-reduced-motion: reduce) and (min-width: 901px) {
  .produit__visual { flex-direction: column; align-items: stretch; min-height: 0; }
  .produit__callouts { position: static; transform: none; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
  .callout { width: auto; }
}

/* ── Reduced motion ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  #heroEcg { stroke-dashoffset: 0; }
  .hero__title .line-inner { transform: none !important; }
  .callout, .fstat { opacity: 1; transform: none; position: static; }
  .avantages__row { flex-direction: column; gap: 28px; }
  .produit__callouts { position: static; transform: none; display: flex; flex-direction: column; gap: 14px; width: 100%; }
  .avantages__deck { min-height: 0; display: flex; flex-direction: column; gap: 44px; }
  .france__map { transform: none; }
  .france__heart { display: none; }
  .france__map-wrap { flex-direction: column; }
  .fstat { width: 100%; max-width: 420px; margin-top: 30px; }
  .fstat__num { color: var(--steel); text-shadow: none; }
  .fstat__label { color: var(--navy); }
  .fstat__sub { color: var(--navy-70); text-shadow: none; }
  .marquee__track { animation: none; }
}

/* ── Pages intérieures ───────────────────────────────────── */

.phero { position: relative; padding: 170px 0 80px; background: radial-gradient(ellipse at 70% 10%, rgba(76, 118, 182, 0.3) 0%, rgba(6, 29, 62, 0) 55%), var(--navy); }
.phero > .container { position: relative; z-index: 1; }
.phero--fond-mosaique::before, .phero--fond-bureaux::before {
  content: ""; position: absolute; inset: 0;
  background: center top / cover no-repeat;
  opacity: 0.26; pointer-events: none;
}
.phero--fond-mosaique::before { background-image: url("../assets/fond-mosaique-hd.webp"); }
.phero--fond-bureaux::before { background-image: url("../assets/bureaux-openspace.jpg"); background-position: center; }

/* Fond photo continu sur plusieurs sections (hero + blocs) */
.fondphoto {
  position: relative;
  background: radial-gradient(ellipse at 70% 10%, rgba(76, 118, 182, 0.3) 0%, rgba(6, 29, 62, 0) 55%), var(--navy);
}
.fondphoto::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/bureaux-openspace.jpg") center / cover no-repeat;
  opacity: 0.34; pointer-events: none;
}
.fondphoto > * { position: relative; z-index: 1; }
.phero--nu { background: none; }
@media (max-width: 900px) { .fondphoto::before { opacity: 0.18; } }
.phero--center { text-align: center; }
.phero--center .eyebrow { justify-content: center; }
.phero--center .body-lg { margin-inline: auto; }
.phero .h-display { font-size: clamp(36px, 4.4vw, 58px); color: var(--paper); text-wrap: balance; }
.phero .h-display .tint { color: var(--ice); }
.phero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.phero__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.phero__visual .produit__halo { width: 400px; height: 400px; }
.phero__visual img { position: relative; width: min(400px, 80%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; } .phero__visual { min-height: 0; margin-top: 20px; } }

/* Cartes de caractéristiques sur fond papier */
.section-paper { background: var(--paper); padding: 100px 0; color: var(--navy); }
.section-paper .h-section { color: var(--navy); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
  background: #fff; border: 1px solid rgba(6, 29, 62, 0.08); border-radius: 20px;
  padding: 32px 28px; box-shadow: 0 6px 24px rgba(6, 29, 62, 0.05);
  transition: transform .35s ease, box-shadow .35s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(6, 29, 62, 0.1); }
.fcard__icon {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 20px;
  background: var(--navy); color: var(--ice);
}
.fcard h3 { margin: 0 0 12px; color: var(--navy); font-size: 18px; font-weight: 600; }
.fcard p { margin: 0; color: rgba(6, 29, 62, 0.65); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 1000px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }

/* Cartes numérotées sur navy */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ncard {
  background: rgba(76, 118, 182, 0.12); border: 1px solid var(--line); border-radius: 22px;
  padding: 36px 30px; transition: border-color .35s ease, transform .35s ease;
}
.ncard:hover { border-color: rgba(147, 213, 240, 0.5); transform: translateY(-4px); }
.ncard__num { display: block; color: var(--ice); font-size: 15px; font-weight: 800; letter-spacing: 2px; margin-bottom: 16px; }
.ncard h2, .ncard h3 { margin: 0 0 14px; color: var(--paper); font-size: 21px; font-weight: 600; line-height: 1.3; }
.ncard p { margin: 0; color: rgba(248, 247, 246, 0.68); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 900px) { .ngrid { grid-template-columns: 1fr; } }

/* Cartes blanches simples */
.wcard {
  background: #fff; border: 1px solid rgba(6, 29, 62, 0.08); border-radius: 20px;
  padding: 30px; box-shadow: 0 6px 24px rgba(6, 29, 62, 0.05);
  transition: transform .35s ease, box-shadow .35s ease;
}
.wcard:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(6, 29, 62, 0.1); }
.wcard h3 { margin: 0 0 10px; color: var(--navy); font-size: 19px; font-weight: 600; }
.wcard p { margin: 0; color: rgba(6, 29, 62, 0.65); font-size: 14.5px; line-height: 1.7; }

/* Accordéons (FAQ / Actualités) */
.acc { background: rgba(76, 118, 182, 0.1); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.acc__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); color: var(--paper);
  transition: background-color .3s ease;
}
.acc__head:hover { background: rgba(76, 118, 182, 0.12); }
/* Titre (h2/h3) qui englobe le bouton : aucun style propre, le bouton ne contient que des <span>. */
.acc__heading { margin: 0; font: inherit; color: inherit; }
.acc__title { display: block; margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--paper); }
.acc__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.acc__date { color: var(--paper-55); font-size: 13px; }
.acc__excerpt { display: block; margin: 10px 0 0; color: rgba(248, 247, 246, 0.68); font-size: 15px; line-height: 1.7; font-weight: 300; }
.acc__chev {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(147, 213, 240, 0.4); color: var(--ice);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s ease;
}
.acc__chev .icon { width: 16px; height: 16px; transform: rotate(90deg); }
.acc.is-open .acc__chev { transform: rotate(180deg); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.3, .9, .3, 1); }
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body-inner { overflow: hidden; }
.acc__content { padding: 0 28px 26px; border-top: 1px solid rgba(147, 213, 240, 0.1); }
.acc__content p { margin: 18px 0 0; color: rgba(248, 247, 246, 0.8); font-size: 15.5px; line-height: 1.85; font-weight: 300; }
.acc__source { color: rgba(248, 247, 246, 0.55) !important; font-size: 13px !important; font-style: italic; }

.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.tag--ice { background: var(--ice); color: var(--navy); }
.tag--steel { background: var(--steel-sur-clair); color: var(--paper); }

/* Bandeau CTA final */
.ctaband { background: var(--navy); padding: 90px 0; text-align: center; }
.ctaband--paper { background: var(--paper); }
.ctaband__inner { max-width: 760px; margin: 0 auto; padding-inline: var(--pad-x); }
.ctaband h2 { margin: 0 0 16px; color: var(--paper); font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.ctaband--paper h2 { color: var(--navy); }
.ctaband p { margin: 0 0 32px; color: rgba(248, 247, 246, 0.7); font-size: 16px; line-height: 1.75; font-weight: 300; }
.ctaband--paper p { color: var(--navy-70); }
.ctaband__ecg { width: min(420px, 80%); height: 50px; overflow: visible; margin-bottom: 12px; }
.ctaband__ecg polyline {
  fill: none; stroke: var(--ice); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 760; stroke-dashoffset: 760;
}
.ctaband__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Stats affichées dans l'organe : même ancre, format resserré pour
   tenir dans la silhouette plus étroite */
.fstat--heart { width: min(240px, 44vw); }
.fstat--heart .fstat__num { font-size: clamp(38px, 3.8vw, 62px); }
.fstat--heart .fstat__label { font-size: clamp(19px, 1.8vw, 27px); }
.fstat--heart .fstat__sub { max-width: 220px; font-size: 12.5px; }

/* Tailles proportionnelles à la carte (container queries) */
@supports (container-type: inline-size) {
  .fstat { width: 70cqw; }
  .fstat__num { font-size: 12cqw; }
  .fstat__label { font-size: 5.2cqw; }
  .fstat__sub { font-size: 2.7cqw; max-width: 46cqw; margin-top: 2cqw; }
  .fstat--heart { width: 48cqw; }
  .fstat--heart .fstat__num { font-size: 9.2cqw; }
  .fstat--heart .fstat__label { font-size: 4.1cqw; }
  .fstat--heart .fstat__sub { font-size: 2.25cqw; max-width: 36cqw; }
  .france__heart { height: 92cqw; max-width: none; width: auto; }

/* ── Pop-up devis ────────────────────────────────────────── */

.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; transition: opacity .3s ease;
}
.modal.is-open { opacity: 1; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(6, 29, 62, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal__box {
  position: relative; width: min(1080px, 100%);
  max-height: 90vh;
  background: #fff; border-radius: 24px; padding: 0;
  overflow: hidden;
  display: flex; align-items: stretch;
  box-shadow: 0 30px 90px rgba(6, 29, 62, 0.35);
  color: var(--navy);
  transform: translateY(16px) scale(.98);
  transition: transform .3s cubic-bezier(.3, .9, .3, 1);
}
.modal__banner {
  width: 430px; flex-shrink: 0; align-self: stretch;
  object-fit: cover; object-position: center 8%;
}
.modal__content { position: relative; flex: 1; padding: 36px; overflow-y: auto; }
@media (max-width: 820px) {
  .modal__box { flex-direction: column; }
  .modal__banner { width: 100%; height: 150px; align-self: auto; object-fit: cover; object-position: center 10%; }
  .modal__content { padding: 24px 22px; }
}
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(6, 29, 62, 0.15); background: none;
  color: var(--navy); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s ease;
}
.modal__close:hover { background: var(--paper); }
.modal__close .icon { width: 16px; height: 16px; }
.modal__content > h3 { margin: 0 0 6px; font-size: 24px; font-weight: 700; color: var(--navy); }
.modal__content > p { margin: 0 0 22px; color: var(--navy-70); font-size: 14.5px; }
.form--modal { padding: 0; border: 0; box-shadow: none; border-radius: 0; }

/* Icônes sociales (formes pleines) */
.icon--fill { fill: currentColor; stroke: none; }

/* ── Page mentions légales ───────────────────────────────── */
.legal { max-width: 800px; }
.legal__block { margin-bottom: 44px; }
.legal__block h2 {
  margin: 0 0 14px; color: var(--ice);
  font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
}
.legal__block p { margin: 0 0 12px; color: rgba(248, 247, 246, 0.78); font-size: 15.5px; line-height: 1.8; font-weight: 300; }
.legal__block a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.legal__block a:hover { color: var(--paper); }

/* ── Photos humaines ─────────────────────────────────────── */

.humanband {
  position: relative; min-height: 480px;
  display: flex; align-items: center;
  overflow: hidden;
}
.humanband__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.humanband__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 29, 62, 0.88) 0%, rgba(6, 29, 62, 0.55) 55%, rgba(6, 29, 62, 0.15) 100%);
}
.humanband__content { position: relative; width: 100%; padding-block: 90px; }
.humanband__content .h-section { margin-bottom: 14px; }
.humanband__content .body-lg { max-width: 46ch; }

.contact__photo {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 20px; margin-top: 34px; display: block;
  box-shadow: 0 16px 44px rgba(6, 29, 62, 0.14);
}

.pagephoto {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 20px; margin-top: 26px; display: block;
  box-shadow: 0 16px 44px rgba(6, 29, 62, 0.12);
}

/* ── Page La French Care ─────────────────────────────────── */
.lfc__visual { min-height: 360px; }
.lfc__carte {
  width: min(420px, 100%); padding: 34px 30px 30px;
  border: 1px solid rgba(147, 213, 240, 0.28); border-radius: 24px;
  background: rgba(76, 118, 182, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.lfc__logo {
  position: static; display: block; width: 220px; height: auto; margin: 0 auto 30px;
  border-radius: 14px; filter: none;
}
.lfc__chiffres { list-style: none; margin: 0; padding: 26px 0 0; border-top: 1px solid rgba(147, 213, 240, 0.22); }
.lfc__chiffres li + li { margin-top: 22px; }
.lfc__num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 34px; line-height: 1; letter-spacing: -0.03em; color: var(--ice);
}
.lfc__num--mot { font-size: 24px; letter-spacing: -0.01em; }
.lfc__legende { display: block; margin-top: 7px; color: var(--paper-70); font-size: 14px; line-height: 1.55; }

/* ── Page Géo'DAE ────────────────────────────────────────── */
.geodae__visual { position: relative; }
.geodae__mapbox { position: relative; }
.geodae__mapbox img { width: min(440px, 80vw); height: auto; display: block; }
.geodae__pin--sm { width: 30px; height: 30px; }
.geodae__pin--sm .icon { width: 15px; height: 15px; }
.geodae__pin {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(147, 213, 240, 0.16);
  border: 1px solid rgba(147, 213, 240, 0.45);
  color: var(--ice);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 20px rgba(6, 29, 62, 0.4);
}
.geodae__pin .icon { width: 20px; height: 20px; }

/* Vidéo intégrée (YouTube) */
.videobox {
  position: relative; aspect-ratio: 16 / 9;
  max-width: 960px; margin: 0 auto;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.videobox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Accordéons sur fond clair (page Nous rejoindre) */
.acc--light { background: #fff; border: 1px solid rgba(6, 29, 62, 0.08); box-shadow: 0 6px 24px rgba(6, 29, 62, 0.05); }
.acc--light .acc__head:hover { background: rgba(6, 29, 62, 0.03); }
.acc--light .acc__title { color: var(--navy); }
.acc--light .acc__chev { border-color: rgba(6, 29, 62, 0.18); color: var(--steel); }
.acc--light .acc__content { border-top-color: rgba(6, 29, 62, 0.08); }
.acc--light .acc__content p { color: rgba(6, 29, 62, 0.72); font-weight: 400; }
.acc--light .acc__content strong { color: var(--navy); }

body.is-railgrab { user-select: none; }
body.is-railgrab .liferail, body.is-railgrab .liferail__dot { cursor: grabbing; }

/* FAQ en 2 colonnes */
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  align-items: start;
}
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }

/* Vignettes des articles (Actualités) */
.acc__thumb {
  width: 128px; height: 96px; flex-shrink: 0;
  border-radius: 12px; object-fit: cover;
  border: 1px solid rgba(147, 213, 240, 0.18);
}
.acc__thumb--logo { object-fit: contain; background: #fff; padding: 12px; }
.acc__head > div, .acc__head > .acc__text { flex: 1; text-align: left; }
@media (max-width: 700px) { .acc__thumb { display: none; } }

/* ── Actualités en grille : cartes uniformes + lecture en pop-up ── */
.actus-grid {
  max-width: 1200px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 22px; align-items: stretch; grid-auto-rows: 1fr;
}
.actus-grid .acc { height: 100%; }
.actus-grid .acc__heading { height: 100%; }
.actus-grid .acc__head { height: 100%; align-items: flex-start; }
.actus-grid .acc__body { display: none; }
.actus-grid .acc__chev { transform: rotate(-90deg); }
.actus-grid .acc__title {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.actus-grid .acc__excerpt {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 860px) { .actus-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.actus-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 30px; }
.actus-modal__bg { position: absolute; inset: 0; background: rgba(4, 16, 36, 0.72); backdrop-filter: blur(4px); }
.actus-modal__card {
  position: relative; background: var(--paper); color: var(--navy);
  max-width: 800px; max-height: 84vh; overflow-y: auto;
  border-radius: 22px; padding: 44px 48px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.actus-modal__card h2 { margin: 0 0 18px; font-size: 26px; font-family: var(--font-display); }
.actus-modal__card .acc__content p { line-height: 1.7; margin: 0 0 14px; color: rgba(6, 29, 62, 0.8); }
.actus-modal__card .acc__content .acc__source { color: rgba(6, 29, 62, 0.5); font-size: 13px; }
.actus-modal__card .acc__source a { color: var(--steel-sur-clair); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.actus-modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 18px; cursor: pointer;
}
@media (max-width: 860px) { .actus-modal { padding: 14px; } .actus-modal__card { padding: 28px 22px; } }

/* ── Bandeau cookies (RGPD) ── */
.cookiebar {
  position: fixed; left: 18px; bottom: 18px; z-index: 1400; /* sous les modales (1500, 2000) : il masquait le bouton d'envoi */
  max-width: 320px;
  background: var(--navy);
  border: 1px solid rgba(147, 213, 240, 0.25);
  border-radius: 18px; padding: 22px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.cookiebar__text { margin: 0 0 16px; color: rgba(248, 247, 246, 0.85); font-size: 14px; line-height: 1.6; }
.cookiebar__text a { color: var(--ice); }
.cookiebar__actions { display: flex; gap: 10px; }
.cookiebar__actions .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 560px) {
  .cookiebar { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .cookiebar__actions { flex-direction: column; }
}

/* ── FAQ : questions groupées par thème + carte d'aide sticky ── */
.faq-layout {
  max-width: 1140px; display: grid; grid-template-columns: 1fr 340px;
  gap: clamp(32px, 4vw, 64px); align-items: start;
}
.faq-layout__col { display: flex; flex-direction: column; gap: 44px; }
.faq-group { display: flex; flex-direction: column; gap: 14px; }
.faq-group > .eyebrow { margin-bottom: 2px; }
.faq-aside {
  position: sticky; top: 110px;
  background: radial-gradient(ellipse at 70% 10%, rgba(76, 118, 182, 0.3) 0%, rgba(6, 29, 62, 0) 60%), var(--navy);
  border-radius: 22px; padding: 36px 30px; text-align: center;
}
/* Section « Nos offres d'emploi » : salle de réunion en fond (sur fond clair) */
.fond-reunion { position: relative; }
.fond-reunion::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/bureaux-reunion.jpg") center / cover no-repeat;
  opacity: 0.25; pointer-events: none;
}
.fond-reunion > * { position: relative; z-index: 1; }

/* ── Page Carrières : onglets Notre équipe / Nous rejoindre ── */
.tabbar-wrap { background: var(--paper); padding: 34px var(--pad-x) 44px; }
.tabbar {
  display: flex; gap: 8px; justify-content: center; width: max-content;
  margin: 0 auto; padding: 6px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(6, 29, 62, 0.12);
  box-shadow: 0 8px 30px rgba(6, 29, 62, 0.08);
}
.tabbar__btn {
  padding: 12px 30px; border-radius: 999px; border: 0;
  background: transparent; color: var(--navy);
  font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.tabbar__btn:hover { background: rgba(6, 29, 62, 0.06); }
.tabbar__btn.is-active { background: var(--navy); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
@media (max-width: 480px) { .tabbar__btn { padding: 11px 20px; font-size: 14px; } }

/* ── Page Carrières : grille de portraits + photo des bureaux ── */
.team-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 30px 24px; max-width: 1100px; margin: 46px auto 0;
}
.team-grid figure { margin: 0; text-align: center; width: 240px; }
.team-grid img {
  width: 100%; aspect-ratio: 10 / 9; object-fit: cover; object-position: top;
  border-radius: 16px; display: block;
  box-shadow: 0 14px 40px rgba(6, 29, 62, 0.14);
  transition: box-shadow .35s ease, transform .35s ease;
}
.team-grid figure:hover img {
  box-shadow: 0 18px 46px rgba(76, 118, 182, 0.3), 0 0 0 3px var(--ice);
  transform: translateY(-4px);
}
.team-grid figcaption { margin-top: 12px; font-weight: 600; color: var(--navy); }
.team-grid figcaption small { display: block; font-weight: 400; color: rgba(6, 29, 62, 0.7); font-size: 13px; }
.team-grid img.team-grid__centre { object-position: center 62%; }
.team-grid__quote {
  display: block; margin-top: 8px;
  font-weight: 400; font-style: italic; font-size: 13.5px;
  color: rgba(6, 29, 62, 0.68); line-height: 1.55; text-wrap: balance;
}
@media (max-width: 560px) { .team-grid figure { width: calc(50% - 12px); } }

.faq-aside__photo {
  width: calc(100% + 60px); margin: -36px -30px 20px; display: block;
  border-radius: 21px 21px 0 0; max-width: none;
}
.faq-aside__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(147, 213, 240, 0.14); border: 1px solid rgba(147, 213, 240, 0.4);
  color: var(--ice); margin-bottom: 18px;
}
.faq-aside__icon .icon { width: 28px; height: 28px; }
.faq-aside h3 { margin: 0 0 10px; color: var(--paper); font-family: var(--font-display); font-size: 24px; }
.faq-aside p { margin: 0 0 24px; color: rgba(248, 247, 246, 0.66); font-size: 15px; line-height: 1.65; }
.faq-aside__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 980px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* Bandeau CTA avec photo (femme) en surimpression sur fond navy */
.ctaband--femme { position: relative; }
.ctaband--femme::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/fond-femme.webp") right center / cover no-repeat;
  opacity: 0.3; pointer-events: none;
}
.ctaband--femme .ctaband__inner { position: relative; z-index: 1; }

