/* ==========================================================================
   Ondéa — site vitrine · feuille de style
   Palette « eau » : du fond de bassin (sombre) à l'écume (clair).
   Deux familles : Bricolage Grotesque pour les titres et les grands nombres,
   Instrument Sans pour le texte. JetBrains Mono uniquement pour le compteur.
   ========================================================================== */

/* fonts.css est lié avant cette feuille dans chaque page. */

:root {
  --profond: #052a38;   /* fond des sections sombres */
  --bassin:  #0a5468;   /* survols, dégradés */
  --source:  #0e7490;   /* couleur de marque, boutons, liens */
  --ecume:   #7fe3f2;   /* accent clair, sur fond sombre seulement */
  --eau-1:   #dff0f4;   /* teinte de marque sur fond clair */
  --eau-0:   #f3f8f9;   /* fond alterné */
  --blanc:   #ffffff;

  --nuit:    #10222b;   /* titres */
  --ardoise: #34505c;   /* texte courant */
  --gris:    #58707c;   /* texte secondaire — 5,2:1 sur blanc */
  --ligne:   #d4e2e7;
  --ligne-2: #e8f0f3;

  --danger:  #b3412a;
  --ok:      #1f7a4d;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --texte:   'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, Consolas, monospace;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --ombre-1: 0 1px 2px rgba(5, 42, 56, .06), 0 2px 8px rgba(5, 42, 56, .05);
  --ombre-2: 0 10px 30px rgba(5, 42, 56, .10), 0 2px 6px rgba(5, 42, 56, .05);
  --ombre-3: 0 30px 70px rgba(5, 42, 56, .22), 0 6px 16px rgba(5, 42, 56, .08);

  --maxw: 1160px;
  --marge: clamp(18px, 4vw, 32px);
  --nav-h: 66px;
  --bloc: clamp(64px, 9vw, 120px);
}

/* ------------------------------------------------------------- Base ----- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ardoise);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--source); text-decoration: none; }
a:hover { color: var(--bassin); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--nuit); font-weight: 600; }
code { font-family: var(--mono); font-size: .9em; background: var(--eau-0); padding: .1em .4em; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--nuit);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.05rem; }

:focus-visible { outline: 3px solid var(--ecume); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--source); color: #fff; padding: 12px 18px; font-weight: 600; }
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------- Structure ---- */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--marge); }
.wrap--etroit { max-width: 780px; }

.bloc { padding-block: var(--bloc); }
.bloc--serre { padding-block: clamp(44px, 6vw, 72px); }
.bloc--fond { background: var(--eau-0); }
.bloc--sombre {
  background: var(--profond);
  color: #b9d3dc;
  background-image:
    radial-gradient(900px 520px at 85% -10%, rgba(127, 227, 242, .16), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(14, 116, 144, .45), transparent 60%);
}
.bloc--sombre h1, .bloc--sombre h2, .bloc--sombre h3, .bloc--sombre h4, .bloc--sombre strong { color: #fff; }
.bloc--sombre a:not(.btn) { color: var(--ecume); }

/* En-tête de section : titre + lead, sans étiquette */
.tete { max-width: 700px; margin-bottom: clamp(30px, 4vw, 52px); }
.tete--centre { margin-inline: auto; text-align: center; }
.tete p { font-size: 1.15rem; color: var(--gris); }
.bloc--sombre .tete p { color: #9cbcc8; }

/* Petit mot d'amorce, en display, phrase normale — pas une étiquette en capitales */
.amorce { font-family: var(--display); font-weight: 600; color: var(--source); font-size: 1.05rem; margin-bottom: 10px; display: block; }
.bloc--sombre .amorce { color: var(--ecume); }

.grille { display: grid; gap: 22px; }
.grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grille--3, .grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grille--2, .grille--3, .grille--4 { grid-template-columns: minmax(0, 1fr); } }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.duo--inv > :first-child { order: 2; }
.duo--haut { align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); gap: 32px; } .duo--inv > :first-child { order: 0; } }

/* ------------------------------------------------------------ Boutons ---- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; min-height: 48px;
  font: 600 1rem var(--texte);
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--plein { background: var(--source); color: #fff; box-shadow: 0 6px 20px rgba(14, 116, 144, .28); }
.btn--plein:hover { background: var(--bassin); color: #fff; box-shadow: 0 10px 26px rgba(14, 116, 144, .34); }

.btn--ligne { background: transparent; color: var(--nuit); border-color: var(--ligne); }
.btn--ligne:hover { border-color: var(--source); color: var(--source); }

.btn--clair { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--clair:hover { background: rgba(255, 255, 255, .17); color: #fff; }

.btn--wa { background: #1f9e5a; color: #fff; }
.btn--wa:hover { background: #17864a; color: #fff; }

.btn--large { padding: 16px 30px; font-size: 1.06rem; }
.btn--bloc { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btns--centre { justify-content: center; }
@media (max-width: 480px) { .btns .btn { flex: 1 1 100%; } }

/* --------------------------------------------------------- Navigation ---- */

.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.is-scrolled { border-bottom-color: var(--ligne-2); box-shadow: 0 6px 24px rgba(5, 42, 56, .06); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 18px; }

.marque { display: flex; align-items: center; gap: 10px; flex: none; }
.marque img { width: 34px; height: 34px; }
.marque b { font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--nuit); letter-spacing: -0.03em; }

.nav__liens { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__liens a { padding: 9px 13px; border-radius: 999px; color: var(--ardoise); font-weight: 500; font-size: .96rem; }
.nav__liens a:hover { background: var(--eau-0); color: var(--nuit); }
.nav__liens a[aria-current="page"]:not(.btn) { color: var(--source); background: var(--eau-1); font-weight: 600; }
.nav__liens .btn { margin-left: 10px; padding: 10px 20px; min-height: 42px; font-size: .95rem; }
.nav__liens a.btn--plein, .nav__liens a.btn--plein:hover { color: #fff; }

.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--ligne); border-radius: 12px; cursor: pointer; color: var(--nuit);
}
.nav__toggle .ferme { display: none; }
.nav__toggle[aria-expanded="true"] .ouvre { display: none; }
.nav__toggle[aria-expanded="true"] .ferme { display: block; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__liens {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--ligne);
    padding: 14px var(--marge) 22px; box-shadow: 0 30px 50px rgba(5, 42, 56, .14);
    margin-left: 0;
  }
  .nav__liens[hidden] { display: none; }
  .nav__liens a { padding: 14px 16px; font-size: 1.08rem; border-radius: 12px; }
  .nav__liens .btn { margin: 10px 0 0; }
}

/* --------------------------------------------------------------- Héros --- */

.hero {
  background: var(--profond); color: #b9d3dc;
  padding: clamp(48px, 7vw, 96px) 0 0;
  background-image:
    radial-gradient(1100px 600px at 80% -20%, rgba(127, 227, 242, .2), transparent 60%),
    radial-gradient(800px 500px at -10% 100%, rgba(14, 116, 144, .55), transparent 60%);
  overflow: hidden;
}
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; max-width: 14ch; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: #b9d3dc; max-width: 34em; }
.hero__lead strong { color: #fff; }
.hero .btns { margin-top: 30px; }
.hero__preuves { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: #8fb2bf; }
.hero__preuves li { display: inline-flex; align-items: center; gap: 8px; }
.hero__preuves svg { color: var(--ecume); flex: none; }

/* Le compteur : l'élément mémorable. Un afficheur à rouleaux, comme sur
   un compteur d'eau, dont les chiffres tournent au chargement. */
.compteur {
  background: #0b1f28; border: 1px solid rgba(127, 227, 242, .18);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--ombre-3);
  position: relative;
}
.compteur__titre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.compteur__titre b { color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
.compteur__titre span { color: #7d9daa; font-size: .85rem; }
.rouleaux { display: flex; gap: 6px; }
.rouleau {
  flex: 1; aspect-ratio: 5 / 7; min-width: 0;
  background: linear-gradient(#0f2a35, #071a22);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px;
  overflow: hidden; position: relative;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, .5);
}
.rouleau::after { content: ''; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(255, 255, 255, .08); }
.rouleau__bande {
  display: flex; flex-direction: column;
  transition: transform 1.8s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0ms);
}
.rouleau__bande span {
  height: calc(100% / 10); flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 500; color: #eaf6f9;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem);
}

.compteur__pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: .88rem; color: #7d9daa; }
.compteur__pied b { color: var(--ecume); font-family: var(--display); font-weight: 600; }
.compteur__fleche { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.compteur__fleche span { font-size: .78rem; color: #7d9daa; padding-top: 8px; border-top: 2px solid rgba(255, 255, 255, .12); }
.compteur__fleche span.on { color: #fff; border-top-color: var(--ecume); }

.hero__capture { margin-top: clamp(40px, 6vw, 72px); position: relative; }
.hero__capture .cadre { border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .35); }
.hero__capture .cadre img { max-height: 520px; object-fit: cover; object-position: top; }
.hero__tel { position: absolute; right: 4%; bottom: -6px; width: clamp(150px, 15vw, 200px); z-index: 3; }

@media (max-width: 900px) {
  .hero__grille { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: none; }
  .compteur { max-width: 480px; }
  .hero__tel { display: none; }
}

/* En-tête de page intérieure */
.entete {
  background: var(--profond); color: #b9d3dc; padding: clamp(48px, 6vw, 80px) 0;
  background-image:
    radial-gradient(800px 420px at 90% -20%, rgba(127, 227, 242, .18), transparent 60%),
    radial-gradient(600px 360px at 0% 110%, rgba(14, 116, 144, .45), transparent 62%);
}
.entete h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); max-width: 18ch; }
.entete p { max-width: 640px; font-size: 1.15rem; }
.entete .amorce { color: var(--ecume); }

/* ---------------------------------------------------------- Captures ----- */

.cadre { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-3); overflow: hidden; }
.cadre__barre { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #f0f5f7; border-bottom: 1px solid var(--ligne-2); }
.cadre__barre i { width: 10px; height: 10px; border-radius: 50%; background: #c7d7dd; display: block; }
.cadre__url { margin-left: 8px; flex: 1; background: #fff; border: 1px solid var(--ligne-2); border-radius: 6px; padding: 4px 12px; font-size: .78rem; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cadre img { width: 100%; }
.cadre--coupe img { max-height: 520px; object-fit: cover; object-position: top center; }

.tel { border-radius: 30px; padding: 9px; background: #0b1f28; border: 1px solid #1c3641; box-shadow: var(--ombre-3); }
.tel img { border-radius: 22px; width: 100%; background: #fff; }
.tel--sm { border-radius: 24px; padding: 7px; }
.tel--sm img { border-radius: 18px; }

.tels { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tels > figure { flex: 0 0 236px; scroll-snap-align: start; margin: 0; }
.tels figcaption { margin-top: 12px; font-size: .92rem; color: var(--gris); text-align: center; }
.bloc--sombre .tels figcaption { color: #9cbcc8; }
@media (max-width: 600px) { .tels > figure { flex-basis: 72vw; } }

.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .galerie { grid-template-columns: minmax(0, 1fr); } }
.vue { margin: 0; }
.vue__img { border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; background: #fff; aspect-ratio: 16 / 10; box-shadow: var(--ombre-1); }
.vue__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.vue:hover .vue__img img { transform: scale(1.04); }
.vue figcaption { margin-top: 12px; font-size: .95rem; color: var(--gris); }
.vue figcaption b { display: block; color: var(--nuit); font-weight: 600; }

/* ---------------------------------------------------- Listes de contenu -- */

/* Les problèmes : une liste, pas quatre cartes identiques. */
.maux { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 60px); }
.maux li { padding: 26px 0; border-top: 1px solid var(--ligne); display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.maux li:nth-last-child(-n+2) { border-bottom: 1px solid var(--ligne); }
.maux svg { color: var(--danger); margin-top: 4px; }
.maux h3 { margin-bottom: .3em; font-size: 1.2rem; }
.maux p { color: var(--gris); font-size: 1rem; }
@media (max-width: 720px) { .maux { grid-template-columns: minmax(0, 1fr); } .maux li:nth-last-child(2) { border-bottom: 0; } }

/* Le cycle : une vraie séquence, donc numérotée. */
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; counter-reset: etape; position: relative; padding-top: 30px; }
.etape { position: relative; padding: 22px 0 0; counter-increment: etape; }
.etape::before {
  content: counter(etape, decimal-leading-zero); position: absolute; top: -30px; left: 0;
  font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--source);
  background: #fff; padding-right: 10px;
}
.etape::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ligne); }
.etape .trait { display: block; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: var(--source); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
.etape.is-in .trait { transform: scaleX(1); }
.etape h3 { font-size: 1.25rem; margin-bottom: .35em; }
.etape p { color: var(--gris); font-size: 1rem; }
.bloc--fond .etape::before { background: var(--eau-0); }
@media (max-width: 900px) { .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; } }
@media (max-width: 520px) { .cycle { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

/* Les modules : icône + titre + phrase, sur deux colonnes, sans cartes. */
.modules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; }
.modules li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.modules .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--eau-1); color: var(--source); display: grid; place-items: center; }
.modules h3 { font-size: 1.15rem; margin-bottom: .3em; }
.modules p { color: var(--gris); font-size: .98rem; }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .modules { grid-template-columns: minmax(0, 1fr); } }

/* Liste cochée */
.coches { list-style: none; padding: 0; margin: 0; }
.coches li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.coches li::before {
  content: ''; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--eau-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.bloc--sombre .coches li { color: #c6dbe2; }
.bloc--sombre .coches li::before { background-color: rgba(127, 227, 242, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fe3f2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* Cartes — réservées aux offres et aux blocs de contact, où elles ont un sens */
.carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--ombre-1); }
.carte h3 { margin-bottom: .4em; }
.carte p { color: var(--gris); }
.bloc--sombre .carte { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.bloc--sombre .carte p { color: #9cbcc8; }

/* Chiffres clés */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.chiffre { border-left: 3px solid var(--source); padding: 4px 0 4px 20px; }
.chiffre b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--nuit); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chiffre span { display: block; margin-top: 8px; color: var(--gris); font-size: .98rem; }
@media (max-width: 860px) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Encadré */
.encart { background: var(--eau-1); border-radius: var(--r); padding: 20px 24px; color: var(--bassin); }
.encart strong { color: var(--profond); }

/* Sommaire collant des modules */
.sommaire { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne-2); }
.sommaire ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.sommaire ul::-webkit-scrollbar { display: none; }
.sommaire a { display: block; white-space: nowrap; padding: 14px 14px; font-size: .93rem; font-weight: 500; color: var(--gris); border-bottom: 2px solid transparent; }
.sommaire a:hover, .sommaire a.is-active { color: var(--source); border-bottom-color: var(--source); }
.module { padding: clamp(52px, 7vw, 96px) 0; border-top: 1px solid var(--ligne-2); }
.module:first-of-type { border-top: 0; }
.mots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mots span { font-size: .84rem; padding: 5px 12px; border-radius: 999px; background: var(--eau-0); color: var(--gris); border: 1px solid var(--ligne-2); }

/* ------------------------------------------------------------ Offres ----- */

.offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 940px) { .offres { grid-template-columns: minmax(0, 1fr); max-width: 540px; margin-inline: auto; } }
.offre { display: flex; flex-direction: column; position: relative; }
.offre--phare { border-color: var(--source); box-shadow: 0 16px 48px rgba(14, 116, 144, .18); }
.offre__badge { position: absolute; top: -13px; left: 28px; background: var(--source); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; }
.offre__nom { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--nuit); }
.offre__pour { color: var(--gris); min-height: 3em; margin: 6px 0 16px; }
.offre__prix { font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--nuit); letter-spacing: -0.02em; }
.offre__prix small { font-family: var(--texte); font-size: .9rem; font-weight: 500; color: var(--gris); letter-spacing: 0; }
.offre .coches { margin: 22px 0 28px; }
.offre .coches li { font-size: .97rem; }
.offre .btn { margin-top: auto; }

.tableau { overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--r); background: #fff; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
table.cmp th, table.cmp td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--ligne-2); }
table.cmp thead th { background: var(--eau-0); color: var(--nuit); font-weight: 600; white-space: nowrap; }
table.cmp tbody th { font-weight: 500; color: var(--ardoise); }
table.cmp td { text-align: center; color: var(--gris); }
table.cmp .oui { color: var(--ok); font-weight: 700; }
table.cmp .non { color: #8ea3ad; }
table.cmp tr.grp th { background: var(--eau-1); color: var(--bassin); font-family: var(--display); font-weight: 600; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------- FAQ ----- */

.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 46px 20px 0; position: relative; font-family: var(--display); font-weight: 600; color: var(--nuit); font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 2px solid var(--gris); border-bottom: 2px solid var(--gris); transform: rotate(45deg); transition: transform .28s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--source); }
.faq details > div { overflow: hidden; transition: height .3s cubic-bezier(.16, 1, .3, 1); }
.faq details > div > p { padding: 0 46px 22px 0; color: var(--gris); }

/* -------------------------------------------------------- Formulaire ----- */

.form { display: grid; gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 600; color: var(--nuit); font-size: .95rem; }
.champ label .req { color: var(--danger); }
.champ input, .champ select, .champ textarea {
  font: inherit; color: var(--nuit); padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--ligne); border-radius: 12px; background: #fff; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--source); box-shadow: 0 0 0 4px rgba(14, 116, 144, .14); }
.champ textarea { resize: vertical; min-height: 130px; }
.champ__aide { font-size: .88rem; color: var(--gris); }
.champ__erreur { font-size: .88rem; color: var(--danger); display: none; }
.champ.is-invalid input, .champ.is-invalid select, .champ.is-invalid textarea { border-color: var(--danger); }
.champ.is-invalid .champ__erreur { display: block; }
.form__ligne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .form__ligne { grid-template-columns: minmax(0, 1fr); } }
.form__etat { border-radius: var(--r); padding: 18px 22px; display: none; }
.form__etat.is-ok { display: block; background: #e4f5ec; color: var(--ok); }
.form__etat.is-err { display: block; background: #fbe9e4; color: var(--danger); }
/* Pot de miel : hors écran, jamais rempli par un humain */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-carte { display: grid; gap: 18px; }
.personne { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--ligne-2); }
.personne:first-of-type { border-top: 0; }
.personne .initiales { width: 48px; height: 48px; border-radius: 50%; background: var(--eau-1); color: var(--source); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.personne b { color: var(--nuit); display: block; }
.personne a { font-weight: 500; }

/* ------------------------------------------------------- Appel final ----- */

.appel { border-radius: var(--r-lg); background: var(--profond); color: #b9d3dc; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); background-image: radial-gradient(700px 380px at 85% 0%, rgba(127, 227, 242, .22), transparent 60%), radial-gradient(500px 320px at 0% 100%, rgba(14, 116, 144, .5), transparent 60%); }
.appel h2 { color: #fff; max-width: 18ch; }
.appel p { max-width: 560px; font-size: 1.1rem; }
.appel .btns { margin-top: 26px; }

/* ----------------------------------------------------------- Pied --------- */

.pied { background: var(--eau-0); border-top: 1px solid var(--ligne); padding: 56px 0 28px; }
.pied__grille { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 860px) { .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: minmax(0, 1fr); } }
.pied p { color: var(--gris); font-size: .96rem; }
.pied h4 { font-family: var(--texte); font-size: .95rem; color: var(--nuit); margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 10px; }
.pied li a { color: var(--ardoise); font-size: .96rem; }
.pied li a:hover { color: var(--source); }
.pied__bas { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .9rem; color: var(--gris); }

/* Barre d'action fixe sur mobile : appeler ou demander une démo */
.barre-mobile { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 76px; }
  .barre-mobile {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px var(--marge) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--ligne);
  }
  .barre-mobile .btn { flex: 1; min-height: 50px; }
  .barre-mobile .btn--wa { flex: 0 0 auto; padding-inline: 18px; }
}

/* ---------------------------------------------------------- Légal -------- */

.legal h2 { font-size: 1.6rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--ligne); }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 1em 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ligne-2); vertical-align: top; }
.legal th { color: var(--nuit); font-weight: 600; width: 34%; }
.legal__sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.legal__sommaire a { padding: 8px 14px; border-radius: 999px; background: var(--eau-0); border: 1px solid var(--ligne-2); font-size: .93rem; }

/* --------------------------------------------------------- Animations ---- */

.js-anim [data-anim] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), transform .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
.js-anim [data-anim].is-in { opacity: 1; transform: none; }
.js-anim .cadre[data-anim] { box-shadow: none; transition-property: opacity, transform, box-shadow; }
.js-anim .cadre[data-anim].is-in { box-shadow: var(--ombre-3); }
.js-anim .hero__capture .cadre[data-anim].is-in { box-shadow: 0 -20px 60px rgba(0, 0, 0, .35); }

.chiffre::before { content: ''; }
.chiffre.is-in b { animation: none; }

/* ------------------------------------------------------ Utilitaires ------ */

.lead { font-size: 1.15rem; color: var(--gris); }
.petit { font-size: .9rem; }
.gris { color: var(--gris); }
.centre { text-align: center; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 44px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}
@media print { .nav, .sommaire, .appel, .barre-mobile { display: none; } }

/* Page contact : formulaire large, colonne de contact plus étroite */
.duo--contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 900px) { .duo--contact { grid-template-columns: minmax(0, 1fr); } }
