/* ==========================================================================
   DAO Cleaning — Design system
   Palette dérivée du logo : cyan #28AEE3 / #1F99DC, navy #003D5F, pâle #CAF2FF
   Aucune dépendance externe. Une seule feuille, mise en cache agressivement.
   ========================================================================== */

/* --- 1. Polices auto-hébergées ------------------------------------------ */
/* Fraunces : serif variable pour les titres. Les axes SOFT et WONK adoucissent
   les terminaisons et inclinent légèrement certaines lettres — c'est ce
   « défaut » volontaire qui donne l'air dessiné plutôt que généré. */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2-variations'),
       url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
                 U+2215, U+FEFF, U+FFFD;
}
/* Karla : grotesque de texte, aux détails inhabituels et très lisible. */
@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-latin.woff2') format('woff2-variations'),
       url('../fonts/karla-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
                 U+2215, U+FEFF, U+FFFD;
}
/* Replis métriquement ajustés : le texte ne saute pas pendant le chargement */
@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Georgia'), local('Times New Roman'), local('serif');
  size-adjust: 96%; ascent-override: 94%; descent-override: 24%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Karla Fallback';
  src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial');
  size-adjust: 97%; ascent-override: 96%; descent-override: 24%; line-gap-override: 0%;
}

/* --- 2. Tokens ---------------------------------------------------------- */
:root {
  /* Marque */
  --aqua-50:  #F0FAFF;
  --aqua-100: #D9F2FF;
  --aqua-200: #B4E6FC;
  --aqua-300: #7FD3F6;
  --aqua-400: #44BCEE;
  --aqua-500: #1F9FDE;   /* cyan principal du logo */
  --aqua-600: #1580BC;
  --aqua-700: #136796;
  --aqua-800: #104F72;
  --navy-700: #0E4766;
  --navy-800: #083C5B;
  --navy-900: #052A41;

  /* Bleu d'action — les aplats qui portent du texte blanc. Plus profond
     que le lagon du logo : blanc dessus donne 4,9:1, le seuil AA est
     tenu. Le lagon reste pour les icônes, les filets et la vague. */
  --action:      #1477B0;
  --action-dark: #10638F;   /* survol, et texte d'accent sur fond clair */

  /* Orange d'identité. Trois usages, pas un de plus : la vague sous un
     mot du grand titre, les numéros des étapes, le tampon « passage
     contrôlé ». Jamais un bouton, jamais un fond, jamais du texte long. */
  --orange:      #FF6B3D;
  --orange-ink:  #C7431C;   /* la même teinte, lisible en petit sur blanc */

  /* Neutres : le blanc d'abord, le ciel pour les sections alternées */
  --cool-50:  #FFFFFF;
  --cool-100: #F0FAFF;
  --cool-200: #D9F2FF;

  /* Couleurs fonctionnelles, chacune réservée à un seul usage */
  --wa:   #25D366;       /* WhatsApp, et rien d'autre */
  --wa-ink: #0B5C2B;
  --eco:  #2E9E6B;       /* produits Écolabel, tri des déchets */
  --star: #E8A317;       /* étoiles et notes */

  /* Neutres chauds-froids */
  --ink-900: #06202F;
  --ink-800: #0C3146;
  --ink-700: #1B4A63;
  --ink-500: #4E7489;
  --ink-400: #6C8CA0;
  --ink-300: #9DB4C4;
  --ink-200: #CBDBE5;
  --ink-100: #E6EFF5;
  --ink-50:  #F4F9FC;
  --white:   #FFFFFF;

  /* Sémantique (réassignée en dark mode) */
  --bg:            var(--cool-50);
  --bg-elevated:   var(--white);
  --bg-sunken:     var(--cool-100);
  --bg-inverse:    #052A41;
  --text:          var(--ink-900);
  --text-muted:    #557389;
  --text-inverse:  #E8F4FB;
  --border:        #DDEBF4;
  --border-strong: #C3DCEB;
  --border-cool:   #DCE8F0;   /* bordure froide, pour les blocs bleus */

  --accent:        var(--action);
  --accent-soft:   var(--aqua-100);

  --brand:         var(--aqua-500);
  --brand-hover:   var(--aqua-600);
  --brand-soft:    var(--aqua-100);
  --brand-contrast:#FFFFFF;

  --success: #12916A;
  --warning: #9A6B07;   /* même ambre que les étoiles, jamais du brun */

  /* Rayons */
  --r-xs: 6px;  --r-sm: 10px; --r-md: 14px;
  --r-lg: 20px; --r-xl: 28px; --r-2xl: 36px; --r-pill: 999px;

  /* Ombres — teintées cyan, jamais du gris neutre */
  --sh-xs: 0 1px 2px rgba(6,42,65,.06);
  --sh-sm: 0 2px 8px rgba(6,42,65,.07), 0 1px 2px rgba(6,42,65,.04);
  --sh-md: 0 8px 24px -6px rgba(10,60,92,.14), 0 2px 6px rgba(10,60,92,.06);
  --sh-lg: 0 24px 56px -16px rgba(10,60,92,.22), 0 6px 16px -8px rgba(10,60,92,.10);
  --sh-brand: 0 10px 30px -8px rgba(31,159,222,.45);

  /* Rythme */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;   --sp-10: 8rem;

  /* Familles */
  --font-display: 'Fraunces', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
  --font-text: 'Karla', 'Karla Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  /* Transitions */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out-back: cubic-bezier(.34,1.3,.64,1);
  --t-fast: 140ms; --t: 240ms; --t-slow: 420ms;

  --header-h: 88px;
  color-scheme: light;
}

@media (max-width: 768px) { :root { --header-h: 76px; } }

/* --- 3. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  font-family: var(--font-text);
  font-size: 1.02rem;
  line-height: 1.68;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-variant-numeric: tabular-nums lining-nums;
}
img, picture, svg, video, canvas { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }   /* prime sur display:grid/flex des composants */
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:target { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* Focus visible — jamais supprimé, toujours lisible */
:focus-visible {
  outline: 3px solid var(--aqua-500);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--aqua-200); color: var(--ink-900); }

/* --- 4. Typographie ----------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.012em;
  text-wrap: balance;
  color: var(--text);
  /* opsz adapte le dessin à la taille ; SOFT arrondit, WONK incline */
  font-variation-settings: 'opsz' 72, 'SOFT' 18, 'WONK' 1;
}
h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.3rem);
  letter-spacing: -.018em;
  font-variation-settings: 'opsz' 120, 'SOFT' 22, 'WONK' 1;
}
h2 { font-size: clamp(1.95rem, 1.25rem + 2.9vw, 3rem); }
h3 {
  font-size: clamp(1.22rem, 1.04rem + .8vw, 1.5rem);
  font-weight: 600;
  font-variation-settings: 'opsz' 36, 'SOFT' 14, 'WONK' 0;
}
h4 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.006em;
  font-variation-settings: 'opsz' 20, 'SOFT' 12, 'WONK' 0;
}
p  { text-wrap: pretty; }

/* L'esperluette de Fraunces est une ligature calligraphique : magnifique
   en très grand, méconnaissable dans un titre de carte à 19 px. On la
   prend dans la police de texte, à l'échelle du titre qui l'accueille. */
.amp {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: .9em;
  letter-spacing: 0;
}

.lead {
  font-size: clamp(1.08rem, .98rem + .48vw, 1.3rem);
  line-height: 1.62;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 62ch;
}
/* Un titre suivi d'un texte : l'écart ne doit pas dépendre du conteneur.
   Sans cette règle, « Qu'avez-vous à faire nettoyer ? » collait à son
   chapô dans tous les blocs en flux normal. Spécificité nulle (:where) :
   n'importe quelle règle de composant reprend la main. */
:where(h1, h2, h3, h4) + :where(p, ul, ol, dl) { margin-top: var(--sp-3); }

.muted  { color: var(--text-muted); }
.small  { font-size: .875rem; line-height: 1.55; }
.xsmall { font-size: .78rem;  line-height: 1.5; }
.mono-num { font-variant-numeric: tabular-nums; }

/* Mot souligné d'une vague — signature visuelle de la marque */
/* DÉTAIL ORANGE 1 · LA VAGUE
   Reprise de la vague du logo, sous un seul mot-clé du grand titre, une
   fois par page. Le mot passe en italique : Fraunces n'a pas de fichier
   italique ici, l'oblique synthétique du navigateur suffit à cette
   taille et épargne 35 ko. */
.u-wave {
  position: relative;
  display: inline-block;
  font-style: italic;
  white-space: nowrap;
}
.u-wave::after {
  content: '';
  position: absolute;
  left: -.03em; right: -.05em; bottom: -.2em;
  height: .19em;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C34 2.5 62 14.5 92 8.5S152 1.5 178 8s42 6 59-1.5' fill='none' stroke='%23FF6B3D' stroke-width='4.2' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  pointer-events: none;
}

/* --- 5. Layout ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1340px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
/* Rythme vertical. Une section « join » prolonge celle du dessus et ne
   reprend pas de respiration en haut ; une section « near » en prend une
   réduite. Ce sont des classes et non des styles en ligne, pour qu'une
   requête média puisse les retailler sur téléphone. */
.section--join { padding-top: 0; }
.section--near { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section--tall { padding-block: clamp(4rem, 12vw, 9rem); }
.section--sunken  { background: var(--bg-sunken); }
/* Bande ciel : le fond alterné de la charte. */
.section--sky     { background: var(--aqua-50); }
.section--inverse { background: var(--bg-inverse); color: var(--text-inverse); }
.section--inverse h1, .section--inverse h2, .section--inverse h3, .section--inverse h4 { color: #fff; }
.section--inverse .lead, .section--inverse .muted { color: #A9CEE4; }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.center  { text-align: center; }
.center .lead { margin-inline: auto; }

/* En-tête de section */
.sec-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head.center { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .765rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aqua-700);
  margin-bottom: var(--sp-3);
}
/* Capitales espacées bleues, précédées d'un point orange : la marque
   la plus petite et la plus répétée de la charte. */
.eyebrow::before {
  content: ''; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
}
.section--inverse .eyebrow::before,
.cta-band .eyebrow::before { background: var(--orange); }
/* Variante froide, pour un sur-titre posé sur un bloc bleu */
.eyebrow--cool { color: var(--aqua-600); }
.eyebrow--cool::before { background: linear-gradient(90deg, var(--aqua-500), var(--aqua-300)); }
.section--inverse .eyebrow { color: var(--aqua-300); }
.section--inverse .eyebrow::before { background: linear-gradient(90deg, var(--aqua-400), transparent); }

/* --- 6. Accessibilité --------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -100px; left: var(--sp-4); z-index: 2000;
  background: var(--navy-800); color: #fff; font-weight: 700;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  box-shadow: var(--sh-lg); transition: top var(--t) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* --- 7. Boutons --------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--brand-contrast);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem;
  font-size: .95rem; font-weight: 700; letter-spacing: .004em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease),
              background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: 60ms; }

/* Balayage lumineux — évoque la surface propre. Déclenché au survol. */
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.38) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 640ms var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* Aplat plein, pas un dégradé : la charte veut un bleu d'action franc.
   #1477B0 porte du blanc à 4,9:1 — le lagon du logo, plus clair, n'y
   arrivait pas (2,97:1) et restait réservé aux icônes et aux filets. */
.btn--primary { background: var(--action); box-shadow: 0 10px 26px -12px rgba(20,119,176,.65); }
.btn--primary:hover { background: var(--action-dark); box-shadow: 0 16px 34px -12px rgba(20,119,176,.7); }

.btn--ghost {
  background: transparent; color: var(--ink-800);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--aqua-400); color: var(--aqua-700); background: var(--aqua-50); }

.btn--solid-dark { background: var(--ink-900); color: #fff; }
.btn--solid-dark:hover { background: var(--ink-800); }

.btn--white { background: #fff; color: var(--ink-900); box-shadow: var(--sh-md); }
.btn--white:hover { background: var(--aqua-50); }

/* Bouton WhatsApp : pastille blanche, logo vert, texte foncé. La charte
   réserve le vert à l'icône. Le logo reste parfaitement visible — c'était
   la demande — et le texte passe de 1,98:1 à 14:1. */
.btn--wa {
  background: var(--white);
  color: var(--text);
  border-color: var(--border-strong);
  font-weight: 700;
  box-shadow: var(--sh-sm);
}
.btn--wa:hover { background: var(--aqua-50); border-color: var(--wa); }
.btn--wa .ico, .btn--wa .ico--wa { color: var(--wa); }

/* Hors d'un bouton vert, le logo WhatsApp garde sa couleur de marque. */
.ico--wa { color: var(--wa); }
.btn--ghost .ico--wa, .card--link .ico--wa, .footer .ico--wa { color: var(--wa); }
/* Sur fond sombre, le vert est éclairci pour rester lisible. */
.section--inverse .ico--wa, .footer .ico--wa, .result-card .ico--wa { color: #4AE88A; }
.btn--white .ico--wa { color: var(--wa); }

.btn--lg { padding: 1.02rem 1.95rem; font-size: 1.02rem; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }

/* Au doigt, un bouton de 36 px se rate. C'est surtout vrai dans
   l'espace d'administration, où « Accepter » et « Refuser » se
   touchent : une erreur de visée y envoie une confirmation au client.
   Sur écran tactile, ils passent donc au seuil de 44 px, sans toucher
   à l'apparence à la souris. */
@media (pointer: coarse) {
  .btn--sm { min-height: 44px; padding-block: .7rem; }
}
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Lien fléché */
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  padding-block: .15rem;
  min-height: 28px;
  /* --aqua-600 ne donnait que 4,33:1 sur blanc, juste sous le seuil. */
  font-weight: 650; color: var(--aqua-700); font-size: .93rem;
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform var(--t) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); color: var(--orange); }
.link-arrow svg { transition: transform var(--t) var(--ease), color var(--t-fast) var(--ease); }

/* --- 8. Badges / puces -------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .72rem;
  font-size: .76rem; font-weight: 680; letter-spacing: .01em;
  border-radius: var(--r-pill);
  background: var(--brand-soft); color: var(--aqua-700);
  border: 1px solid rgba(31,159,222,.18);
}
.badge--solid  { background: var(--aqua-700); color: #fff; border-color: transparent; }
.badge--sky { background: var(--aqua-50); color: var(--aqua-700); border-color: var(--aqua-200); }
.badge--action { background: var(--action); color: #fff; border-color: transparent; }
.badge--eco    { background: #E2F5EC; color: #1C6B47; border-color: rgba(46,158,107,.2); }
.badge--eco::before {
  content: ''; width: .95em; height: .95em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4C9.5 4 4.5 9 4.5 16.5V20'/%3E%3Cpath d='M20 4c0 9-5.5 13-11 13-1.6 0-3-.3-4.2-.9C5.4 10.6 11.4 6.6 20 4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4C9.5 4 4.5 9 4.5 16.5V20'/%3E%3Cpath d='M20 4c0 9-5.5 13-11 13-1.6 0-3-.3-4.2-.9C5.4 10.6 11.4 6.6 20 4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Une puce cliquable respecte la cible tactile de 24 px (WCAG 2.5.8) */
a.badge { padding: .55rem .9rem; min-height: 34px; }
a.badge:hover { background: var(--aqua-200); border-color: rgba(31,159,222,.35); }
.badge--ok     { background: #DFF5EC; color: #0B6B4F; border-color: rgba(18,145,106,.18); }
.badge--glass  { background: rgba(255,255,255,.12); color: #DCF1FD; border-color: rgba(255,255,255,.2); backdrop-filter: blur(8px); }
/* Les mises en avant — « Le plus demandé », « Le plus choisi » — sont
   le seul endroit du site où une offre est désignée comme meilleure :
   l'orange y est à sa place. */
.badge--mis    { background: var(--orange); color: var(--navy-900); border-color: transparent; }

/* Liste à coches */
.checklist { display: grid; gap: .68rem; }
.checklist li {
  display: grid; grid-template-columns: 1.3rem 1fr; gap: .65rem;
  align-items: start; font-size: .945rem; line-height: 1.55;
}
.checklist li::before {
  content: ''; width: 1.3rem; height: 1.3rem; margin-top: .1em; border-radius: 50%;
  background: var(--aqua-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231477B0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .78rem no-repeat;
}
.checklist--inverse li::before { background-color: rgba(68,188,238,.2); }
.checklist--sm li { font-size: .875rem; }

/* --- 9. Cartes ---------------------------------------------------------- */
.card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.4vw, 1.85rem);
  box-shadow: var(--sh-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card--link:hover, .card--link:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--aqua-200);
}
/* Rend toute la carte cliquable via son lien titre */
.card--link .stretch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

.card__icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--r-md); margin-bottom: var(--sp-4);
  background: linear-gradient(140deg, var(--aqua-100), var(--aqua-50));
  color: var(--aqua-600);
  border: 1px solid rgba(31,159,222,.15);
}
.card__icon svg { width: 23px; height: 23px; }

/* Une teinte par notion : l'œil identifie l'idée avant de lire le titre.
   Chaque couleur est choisie pour son sens, jamais pour décorer. */
.card__icon--speed { background: linear-gradient(140deg, #FFF0CC, #FFF8E8); color: #9A6B07; border-color: rgba(232,163,23,.26); }
.card__icon--eco   { background: linear-gradient(140deg, #D9F3E6, #EFFAF4); color: #1C6B47; border-color: rgba(46,158,107,.26); }
.card__icon--trust { background: linear-gradient(140deg, #D9EAFB, #EFF6FE); color: #19557F; border-color: rgba(31,109,180,.24); }
.card__icon--human { background: linear-gradient(140deg, #D9F2FF, #F0FAFF); color: var(--aqua-800); border-color: rgba(16,79,114,.22); }
.card__icon--proof { background: linear-gradient(140deg, #CFE0F0, #EBF3FA); color: #10456B; border-color: rgba(16,69,107,.22); }
.card__icon--wa    { background: linear-gradient(140deg, #D6F7E3, #EEFCF4); color: #0E7A3C; border-color: rgba(37,211,102,.3); }

/* Garde-fou : toute icône inline sans règle dédiée garde une taille de texte.
   Les sélecteurs de composants (.btn svg, .card__icon svg…) restent prioritaires. */
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* --- 10. En-tête / navigation ------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.76);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 22px -14px rgba(6,42,65,.4);
  background: rgba(255,255,255,.9);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-5);
}
.brand {
  display: flex; align-items: center; flex: none; margin-right: auto;
  padding-block: .4rem;            /* porte la cible tactile au-delà de 40 px */
}
/* 120 px de large minimum : en dessous, « CLEANING » devient illisible.
   Le logo fait 292 × 151, donc 62 px de haut pour 120 px de large. */
.brand img { height: 62px; width: auto; }
@media (max-width: 768px) { .brand img { height: 52px; } }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative;
  padding: .52rem .8rem;
  font-size: .925rem; font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav a:hover { color: var(--aqua-700); background: var(--aqua-50); }
.nav a[aria-current="page"] { color: var(--aqua-700); }
.nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .22rem;
  height: 2.5px; border-radius: 2px; background: var(--orange);
}
.header__actions { display: flex; align-items: center; gap: .55rem; flex: none; }
/* Le CTA vit dans .header__actions sur grand écran, dans le menu déroulant sur mobile */
@media (min-width: 1001px) { .nav > .btn { display: none; } }

.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--r-pill); color: var(--ink-700);
  border: 1.5px solid var(--border-strong);
  transition: all var(--t-fast) var(--ease);
}
.icon-btn:hover { color: var(--aqua-600); border-color: var(--aqua-300); background: var(--aqua-50); }
.icon-btn svg { width: 19px; height: 19px; }

/* Burger */
.burger { display: none; width: 42px; height: 42px; place-items: center; border-radius: var(--r-sm); }
.burger span {
  display: block; width: 21px; height: 2px; border-radius: 2px;
  background: var(--ink-800); position: relative;
  transition: transform var(--t) var(--ease), background-color var(--t-fast) linear;
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 21px; height: 2px;
  border-radius: 2px; background: var(--ink-800);
  transition: transform var(--t) var(--ease), top var(--t) var(--ease);
}
.burger span::before { top: -6.5px; }
.burger span::after  { top: 6.5px; }
[data-menu-open] .burger span { background: transparent; }
[data-menu-open] .burger span::before { top: 0; transform: rotate(45deg); }
[data-menu-open] .burger span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: grid; }
  .header__actions .btn--nav-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    box-shadow: var(--sh-lg);
    transform: translateY(-14px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  [data-menu-open] .nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav a { padding: .82rem .9rem; font-size: 1.02rem; border-radius: var(--r-md); }
  .nav a[aria-current="page"] { background: var(--aqua-50); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: var(--sp-3); }
}

/* --- 11. Barre d'action mobile (zone du pouce) -------------------------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px -12px rgba(6,42,65,.3);
  transform: translateY(102%);
  transition: transform var(--t-slow) var(--ease);
}
.actionbar[data-visible="true"] { transform: none; }
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .18rem; padding: .62rem .3rem .68rem;
  background: var(--bg-elevated);
  font-size: .72rem; font-weight: 680; color: var(--ink-700);
  -webkit-tap-highlight-color: transparent;
}
.actionbar a:active { background: var(--aqua-50); }
.actionbar svg { width: 20px; height: 20px; }
.actionbar .ab--devis { background: var(--action); color: #fff; }
/* Barre mobile : le bouton WhatsApp est plein vert, logo blanc —
   il doit se repérer d'un coup d'œil dans la zone du pouce. */
/* Le vert reste dans l'icône, comme partout ailleurs : une seule
   action pleine dans la barre, pour qu'on sache où appuyer. */
.actionbar .ab--wa { color: var(--text); font-weight: 700; }
.actionbar .ab--wa svg { color: var(--wa); }
.actionbar .ab--wa:active { background: var(--aqua-50); }
@media (max-width: 860px) {
  .actionbar { display: grid; }
  body { padding-bottom: 64px; }
}

/* --- 12. Accueil : barre d'offre, héros, portes, rail ------------------- */

/* Barre d'offre — le premier message, avant même le héros */
.offerbar {
  background: var(--action);
  color: #fff;
}
.offerbar__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .6rem 1.1rem;
  padding-block: .72rem;
  font-size: .9rem;
}
.offerbar p { margin: 0; flex: 1 1 22rem; }
.offerbar strong { font-weight: 700; }
.offerbar__tag {
  display: inline-flex; align-items: center; gap: .36rem;
  padding: .24rem .62rem;
  /* Aplat orange, texte marine : 5,3:1, et c'est la première touche
     d'orange que voit le visiteur, avant même le titre. */
  background: var(--orange);
  color: var(--navy-900);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
.offerbar__tag .ico { width: .95em; height: .95em; }
.offerbar .link-arrow { color: #fff; white-space: nowrap; }
/* Sur petit écran la barre doit rester une seule ligne de lecture :
   on garde l'accroche, on masque le détail. */
/* Sur petit écran la barre doit rester une seule ligne de lecture :
   on garde l'accroche, on masque le détail, et le lien devient une
   simple flèche — la barre entière mesurait 99 px de haut sur un
   iPhone, soit un dixième de l'écran avant même le titre. */
@media (max-width: 860px) {
  .offerbar__more { display: none; }
  .offerbar__inner {
    flex-wrap: nowrap; gap: .5rem;
    padding-block: .42rem; font-size: .8rem;
  }
  .offerbar p { flex: 1 1 auto; min-width: 0; }
  .offerbar strong { font-weight: 700; }
  .offerbar .link-arrow {
    flex: none;
    font-size: 0;                    /* on ne garde que la flèche… */
    /* …mais la zone tapable, elle, garde ses 40 px. */
    min-height: 40px; min-width: 40px;
    justify-content: flex-end;
    padding-block: 0;
  }
  .offerbar .link-arrow svg { width: 18px; height: 18px; }
}
@media (max-width: 420px) {
  .offerbar__tag { font-size: .64rem; padding: .18rem .48rem; letter-spacing: .07em; }
  .offerbar__inner { font-size: .76rem; }
}
.offerbar .link-arrow:hover { color: var(--aqua-100); }

/* Héros : deux colonnes sur blanc. Le texte à gauche, une
   photographie encadrée de ciel à droite, avec le tampon posé dessus.
   La photographie ne sert plus de fond : elle devient un objet. */
.hero {
  position: relative;
  padding-block: clamp(2.2rem, 4.5vw, 3.8rem) clamp(2.6rem, 5vw, 4.2rem);
  background: var(--white);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
/* Le H1 nomme le métier et la ville pour les moteurs. Il reste discret :
   l'accroche juste en dessous garde la place visuelle qu'elle occupait. */
.hero__h1 {
  font-family: var(--font-text);
  font-size: clamp(1.02rem, .97rem + .2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .01em;
  color: var(--action, #1477B0);
  margin: 0 0 .55rem;
  max-width: 30ch;
}
.hero__title {
  font-size: clamp(2.3rem, 1.3rem + 4.3vw, 4.1rem);
  line-height: 1.06;
  margin-bottom: 1.15rem;
  max-width: 14ch;
}
/* Même apparence que le titre d'avant, mais ce n'est plus un titre :
   un <p> ne doit pas hériter des marges d'un h1. */
.hero__sub {
  font-family: var(--font-display);
  margin-top: 0;
}
.hero__lead {
  font-size: clamp(1.04rem, .97rem + .45vw, 1.22rem);
  line-height: 1.62; color: var(--text-muted);
  max-width: 44ch; margin-bottom: 1.9rem;
}
.hero__text { min-width: 0; }
.hero__cta { gap: .7rem; }
.hero__reassure {
  margin-top: 1.1rem;
  font-size: .83rem; color: var(--text-muted);
}

/* La colonne de droite : cadre ciel, photographie, tampon, preuve. */
.hero__visual { position: relative; }
.hero__photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--r-2xl);
  background: var(--aqua-50);
  box-shadow: 0 30px 70px -34px rgba(8,60,92,.42);
}
/* Le tampon mord sur le coin de la photographie. */
.tampon {
  position: absolute;
  top: clamp(-26px, -2.2vw, -14px); right: clamp(-14px, -1vw, -6px);
  width: clamp(84px, 9vw, 116px); height: auto;
  filter: drop-shadow(0 8px 18px rgba(5,42,65,.2));
}
/* La preuve qui flotte en bas à gauche : la promesse la plus concrète
   du site, sortie du texte pour qu'on la lise sans lire. */
.hero__proof {
  position: absolute;
  left: clamp(-10px, -1vw, 0px); bottom: clamp(-18px, -1.6vw, -10px);
  display: flex; align-items: center; gap: .7rem;
  max-width: min(88%, 20rem);
  padding: .7rem .95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  font-size: .8rem; line-height: 1.35; color: var(--text-muted);
}
.hero__proof strong { display: block; color: var(--text); font-size: .875rem; font-weight: 700; }
.hero__proof-ic {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--aqua-50); color: var(--action);
}
.hero__proof-ic svg { width: 17px; height: 17px; }
.btn--outline {
  background: var(--white); color: var(--action);
  border-color: var(--action); border-width: 1.5px;
  box-shadow: none;
}
.btn--outline:hover { background: var(--aqua-50); border-color: var(--action-dark); color: var(--action-dark); }

/* Les deux portes d'entrée. Sur grand écran elles remontent à cheval
   sur le bas du héros ; sur téléphone (voir §28 bis) elles se posent
   simplement en dessous, sans chevauchement. */
/* Bande ciel sans titre : elle n'a pas besoin d'autant d'air qu'une
   section ordinaire. */
.doorsband { position: relative; padding-block: clamp(2rem, 4vw, 3.2rem); }
.doors {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.door {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .7rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: 0 26px 60px -24px rgba(6,36,56,.42), 0 4px 14px -8px rgba(6,36,56,.18);
  color: var(--text);
}
.door__ic {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--r-md); border: 1px solid transparent;
}
.door__ic svg { width: 23px; height: 23px; }
.door__ic--pro { background: #DCEBFB; color: #19557F; border-color: rgba(31,109,180,.22); }
.door__ic--bnb { background: #D9F2FF; color: var(--aqua-800); border-color: rgba(16,79,114,.2); }
.door h2 { font-size: clamp(1.2rem, 1.04rem + .7vw, 1.46rem); margin: 0; }
.door p { font-size: .94rem; color: var(--text-muted); margin: 0; flex: 1; }
.door .btn { margin-top: .5rem; }
.door__note { font-size: .78rem; color: var(--text-muted); }

/* Rail d'actions sur le bord droit — repris des sites de services français,
   il met l'appel et WhatsApp à portée sans occuper la mise en page. */
.railbar {
  position: fixed; right: 14px; top: 50%; z-index: 870;
  transform: translateY(-50%);
  display: none; flex-direction: column; gap: .5rem;
}
.railbar a {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--ink-700);
  box-shadow: var(--sh-md);
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.railbar a:hover { transform: translateX(-3px); background: var(--aqua-50); }
.railbar a svg { width: 20px; height: 20px; }
/* Le rail suit la charte : le vert reste dans l'icône. */
.railbar .railbar--wa { color: var(--wa); }
.railbar .railbar--wa:hover { background: var(--aqua-50); border-color: var(--wa); }
@media (min-width: 1100px) { .railbar { display: flex; } }

/* Étoiles d'avis — en ligne, jamais empilées */
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; flex: none; }

/* Bandeau de réassurance : quatre arguments en ligne, chaque icône
   portant la couleur de sa notion. */
.proofbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
}
.proofbar > * { display: flex; align-items: flex-start; gap: .85rem; }
.proofbar__ic {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  border: 1px solid transparent;
}
.proofbar__ic svg { width: 21px; height: 21px; }
.proofbar__ic--speed { background: #FFF3D6; color: #9A6B07; border-color: rgba(232,163,23,.26); }
.proofbar__ic--trust { background: #DCEBFB; color: #19557F; border-color: rgba(31,109,180,.22); }
.proofbar__ic--eco   { background: #DCF4E9; color: #1C6B47; border-color: rgba(46,158,107,.24); }
.proofbar__ic--human { background: #D9F2FF; color: var(--aqua-800); border-color: rgba(16,79,114,.2); }
.proofbar strong {
  display: block; font-size: .94rem; font-weight: 700;
  letter-spacing: -.004em; color: var(--text); margin-bottom: .14rem;
}
.proofbar > * > span:last-child {
  font-size: .85rem; color: var(--text-muted); line-height: 1.45;
}

/* --- 13. Démarreur de devis (hero) -------------------------------------- */
.starter { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: 0; }
.qstart__lead {
  display: flex; align-items: center; gap: .5rem;
  padding: .35rem .5rem .4rem 1rem;
  font-size: .95rem; color: var(--text-muted); white-space: nowrap;
}
.qstart__lead strong { color: var(--text); font-weight: 700; }
.qstart__lead .ico { color: var(--aqua-500); width: 1.2em; height: 1.2em; }

.qstart {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: .5rem;
  padding: .5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  margin-bottom: var(--sp-5);
}
.qstart__f { display: flex; flex-direction: column; justify-content: center; padding: .35rem .5rem .4rem .9rem; border-radius: var(--r-md); }
.qstart__f + .qstart__f { border-left: 1px solid var(--border); }
.qstart label { font-size: .68rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.qstart select, .qstart input {
  border: 0; background: none; padding: 0; width: 100%;
  font-size: .95rem; font-weight: 620; color: var(--text);
  appearance: none; cursor: pointer; outline-offset: 4px;
}
.qstart select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23557389' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .1rem center / 15px no-repeat; padding-right: 1.3rem; }
@media (max-width: 860px) {
  .qstart { grid-template-columns: 1fr; gap: .25rem; }
  .qstart__lead { white-space: normal; padding-bottom: .2rem; }
  .qstart__f + .qstart__f { border-left: 0; border-top: 1px solid var(--border); }
  .qstart .btn { width: 100%; }
}

/* --- 14. Bento des services --------------------------------------------- */
.bento { display: grid; gap: clamp(.85rem, 1.7vw, 1.25rem); grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 6; }
/* Le bento compte cinq cartes depuis le retrait des commerces. Les deux
   règles « cinquième et dernière » ci-dessous ne s'appliquent donc qu'à
   ce compte exact : si un secteur revient un jour, la grille reprend
   d'elle-même son découpage régulier. */
@media (min-width: 680px) {
  .bento > * { grid-column: span 3; }
  .bento > .b-wide { grid-column: span 6; }
  /* Deux par ligne : la cinquième se retrouverait seule à mi-largeur. */
  .bento > :nth-child(5):last-child { grid-column: span 6; }
}
@media (min-width: 1000px) {
  .bento > * { grid-column: span 2; }
  .bento > .b-wide { grid-column: span 3; }
  .bento > .b-tall { grid-column: span 3; }
  /* Cinq cartes : deux larges puis trois, soit deux lignes pleines.
     Trois par ligne laissait un trou de deux colonnes à la fin. */
  .bento:has(> :nth-child(5):last-child) > :nth-child(-n+2) { grid-column: span 3; }
  /* La règle « pleine largeur » du palier précédent est plus spécifique
     que `.bento > *` : il faut la défaire explicitement ici. */
  .bento > :nth-child(5):last-child { grid-column: span 2; }
}

.svc {
  --pad: clamp(1.25rem, 2.2vw, 1.7rem);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 190px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--pad);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.svc:hover, .svc:focus-within { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--aqua-200); }
.svc::before {
  content: ''; position: absolute; top: -40%; right: -30%;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(68,188,238,.13), transparent 70%);
  transition: transform var(--t-slow) var(--ease);
}
.svc:hover::before { transform: scale(1.35); }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: var(--sp-4); }
.svc h3 { margin-bottom: .45rem; }
.svc p  { font-size: .9rem; color: var(--text-muted); line-height: 1.55; }
.svc__foot { margin-top: auto; padding-top: var(--sp-4); display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.svc__price { font-size: .82rem; font-weight: 720; color: var(--aqua-700); }
.svc--feature {
  background: linear-gradient(150deg, #0B3C5B, #13608F 60%, #1580BC);
  border-color: transparent; color: #E6F4FC;
}
.svc--feature h3 { color: #fff; }
.svc--feature p  { color: #A9CEE4; }
.svc--feature .svc__price { color: #7FD3F6; }
.svc--feature .card__icon { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.16); color: #BFE6FA; }
.svc--feature .link-arrow { color: var(--aqua-200); }   /* contraste sur fond sombre */
.svc--feature::before { background: radial-gradient(circle, rgba(127,211,246,.2), transparent 70%); }

/* --- 14 bis. Illustrations isométriques --------------------------------- */
/* Scènes SVG inline : nettes à toute résolution, aucune requête réseau,
   et colorées avec la palette du logo. */
.illu {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse at 64% 26%, rgba(79,188,238,.22), transparent 64%),
    linear-gradient(158deg, var(--aqua-50) 0%, var(--aqua-100) 100%);
}
.illu > svg { display: block; width: 100%; height: 100%; }
/* Les scènes sont rendues à un format cible fixe (voir Scene.render) :
   ces ratios les épousent exactement, sans bande vide ni recadrage. */
.illu--card { aspect-ratio: 4 / 3; }
.illu--tall { aspect-ratio: 4 / 3; }
/* --wide : le ratio exact est posé en style inline depuis la scène
   (voir scenes.ratio) ; cette valeur n'est qu'un repli. */
.illu--wide { aspect-ratio: 3 / 2; }

/* Bannière pleine largeur en tête de carte prestation */
/* Bandeau à fleur de carte. Largeur calculée plutôt que `auto` : sur un
   <picture> en contexte flex, `auto` se cale sur le contenu au lieu de
   s'étirer, et le bandeau restait court à droite. */
.svc__illu {
  display: block;
  /* le reset applique max-width:100% à <picture> : il faut le lever,
     sinon la largeur reste plafonnée à la zone de contenu de la carte */
  max-width: none;
  width: calc(100% + 2 * var(--pad));
  margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) var(--sp-4);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-bottom: 1px solid var(--border);
}
.photo.svc__illu { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.svc--feature .svc__illu {
  border-bottom-color: rgba(255,255,255,.14);
  background:
    radial-gradient(ellipse at 64% 26%, rgba(127,211,246,.3), transparent 64%),
    linear-gradient(158deg, #0E4A6E 0%, #145C88 100%);
}

/* Légère respiration au survol — jamais au point de distraire */
.svc .illu > svg,
.card--illu .illu > svg {
  transition: transform var(--t-slow) var(--ease);
}
.svc:hover .illu > svg,
.card--illu:hover .illu > svg { transform: scale(1.04); }

/* Bloc prestation de la page Services : illustration + texte côte à côte */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 840px) { .duo { grid-template-columns: 1fr; } }
/* Un bloc sur deux inverse l'ordre, pour casser la monotonie verticale */
@media (min-width: 841px) {
  .duo--flip > :first-child { order: 2; }
}

/* --- 14 bis-2. Photographies -------------------------------------------- */
.photo {
  position: relative;
  display: block;
  /* La proportion arrive du générateur via --ar : c'est une variable et
     non un style figé, pour qu'une requête média puisse la retailler. */
  aspect-ratio: var(--ar, 1.3333);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--cool-100);
  isolation: isolate;
}
.photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms var(--ease);
}
/* Voile très léger : unifie des photos d'origines différentes et fait
   ressortir le texte posé par-dessus. */
.photo::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg, rgba(31,159,222,.08), rgba(20,119,176,.05));
  pointer-events: none;
}
/* Au survol : léger rapproché, comme un regard qui s'attarde. */
.svc:hover .photo > img,
.duo:hover .photo > img,
.photo:hover > img { transform: scale(1.045); }

/* Reflet qui balaie la photo au survol */
.photo::after {
  content: '';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(104deg, transparent 38%, rgba(255,255,255,.3) 50%, transparent 62%);
  transform: translateX(-130%);
  opacity: 0;
}
.svc:hover .photo::after,
.duo:hover .photo::after { animation: isoSheen 900ms var(--ease) 1; }

/* Emplacement non encore rempli : un dégradé de la marque, pas une image cassée */
.photo--todo {
  display: grid; place-items: center;
  background: linear-gradient(158deg, var(--aqua-50), var(--aqua-100));
  border: 1px dashed var(--border-strong);
}
.photo--todo span {
  font-size: .78rem; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .photo > img { transition: none; }
  .svc:hover .photo > img, .duo:hover .photo > img, .photo:hover > img { transform: none; }
  .photo::after { display: none; }
}

/* --- 14 ter. Vie des illustrations : animation + parallaxe --------------- */
/* Tout passe par `transform` et `opacity` : accéléré par le GPU, aucun
   recalcul de mise en page, donc aucun impact sur la fluidité du défilement. */

/* Calques de profondeur. Les variables --mx / --my sont posées par app.js
   au passage du pointeur ; --pz est la profondeur du calque. */
.iso-pl {
  transform: translate(calc(var(--mx, 0) * var(--pz, 1) * 1px),
                       calc(var(--my, 0) * var(--pz, 1) * 1px));
  transition: transform 520ms var(--ease);
  will-change: transform;
}
.illu[data-hover="1"] .iso-pl { transition-duration: 120ms; }

/* Étincelles : scintillement décalé */
.iso-tw {
  animation: isoTwinkle 3.4s var(--ease) infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes isoTwinkle {
  0%, 100% { transform: scale(.72); opacity: .45; }
  45%      { transform: scale(1.14); opacity: 1; }
  70%      { transform: scale(.9);  opacity: .72; }
}

/* Bulles : montée lente puis disparition */
.iso-bub {
  animation: isoRise 7s linear infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes isoRise {
  0%        { transform: translateY(6px);   opacity: 0; }
  12%       { opacity: 1; }
  78%       { opacity: 1; }
  100%      { transform: translateY(-26px); opacity: 0; }
}

/* Vapeur : s'élève en s'étirant */
.iso-steam {
  animation: isoSteam 4.2s ease-out infinite;
  animation-delay: var(--dl, 0s);
  transform-box: fill-box;
  transform-origin: bottom center;
}
@keyframes isoSteam {
  0%   { transform: translateY(4px) scaleY(.6);  opacity: 0; }
  25%  { opacity: .55; }
  100% { transform: translateY(-16px) scaleY(1.25); opacity: 0; }
}

/* Flottement d'un objet (la clé du logement) */
.iso-bob {
  animation: isoBob 4.6s ease-in-out infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes isoBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-7px) rotate(3deg); }
}

/* Au survol, la scène s'anime un peu plus : les étincelles s'activent */
.illu[data-hover="1"] .iso-tw { animation-duration: 1.9s; }

/* Reflet qui balaie la scène au survol — évoque la surface qui brille */
.illu::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(104deg, transparent 38%,
              rgba(255,255,255,.42) 50%, transparent 62%);
  transform: translateX(-130%);
  opacity: 0;
}
.illu[data-hover="1"]::after { animation: isoSheen 900ms var(--ease) 1; }
@keyframes isoSheen {
  0%   { transform: translateX(-130%); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: translateX(130%);  opacity: 0; }
}

/* Mouvement réduit : plus aucune animation, plus aucune parallaxe. */
@media (prefers-reduced-motion: reduce) {
  .iso-tw, .iso-bub, .iso-steam, .iso-bob { animation: none !important; }
  .iso-bub { opacity: 1; }
  .iso-pl  { transform: none !important; }
  .illu::after { display: none; }
}

/* --- 15. Étapes --------------------------------------------------------- */
.steps { counter-reset: s; display: grid; gap: clamp(1.1rem, 2.4vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step {
  position: relative;
  border-top: 1px solid var(--border-strong);
  padding-top: clamp(.9rem, 2vw, 1.4rem);
}
/* DÉTAIL ORANGE 2 · LES NUMÉROS
   De grands chiffres italiques, à la place des petites pastilles : c'est
   la deuxième des trois apparitions de l'orange sur une page. */
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3rem);
  line-height: 1; letter-spacing: -.02em;
  color: var(--orange);
  margin-bottom: .5rem;
}
/* Le filet pointillé horizontal n'a plus lieu d'être : c'est la barre
   en haut de chaque colonne qui relie les étapes à l'œil. */
.step:last-child::after { display: none; }
@media (max-width: 760px) { .step::after { display: none; } }
.step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p  { font-size: .9rem; color: var(--text-muted); }

/* --- 16. Tarifs --------------------------------------------------------- */
.switch {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--bg-sunken); border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.switch button {
  padding: .54rem 1.15rem; font-size: .875rem; font-weight: 680;
  border-radius: var(--r-pill); color: var(--text-muted);
  transition: all var(--t-fast) var(--ease); white-space: nowrap;
}
.switch button[aria-selected="true"] { background: var(--bg-elevated); color: var(--ink-900); box-shadow: var(--sh-sm); }

.plans { display: grid; gap: clamp(1rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: var(--sh-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.plan--hero {
  border-color: var(--aqua-400);
  box-shadow: 0 0 0 1px var(--aqua-400), var(--sh-lg);
}
.plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}
.plan__name { font-size: 1.12rem; font-weight: 760; letter-spacing: -.02em; }
.plan__for  { font-size: .83rem; color: var(--text-muted); margin-top: .18rem; }
.plan__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem;
  margin: var(--sp-5) 0 .25rem;
}
/* « À partir de » au-dessus du montant : écrit sur la même ligne, à la
   taille du chiffre, la mention mangeait toute la largeur de la carte. */
.plan__from {
  flex-basis: 100%;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .15rem;
}
.plan__amt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.5rem);
  font-weight: 600; letter-spacing: -.015em; line-height: 1;
  font-variation-settings: 'opsz' 60, 'SOFT' 16, 'WONK' 0;
}
.plan__unit { font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.plan__note { font-size: .78rem; color: var(--text-muted); min-height: 1.4em; }
.plan hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-5) 0; }
.plan .checklist { flex: 1; margin-bottom: var(--sp-5); }

/* Tableau à la carte */
.rate-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rate-table caption { text-align: left; font-size: .8rem; color: var(--text-muted); padding-bottom: .75rem; }
.rate-table th, .rate-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.rate-table thead th {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 720; color: var(--text-muted); border-bottom-color: var(--border-strong);
}
.rate-table tbody tr { transition: background-color var(--t-fast) var(--ease); }
.rate-table tbody tr:hover { background: var(--aqua-50); }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-elevated); }
.table-wrap > table { min-width: 520px; }
@media (max-width: 620px) {
  /* le tableau tient dans l'écran : le texte passe à la ligne, pas de défilement */
  .table-wrap > table { min-width: 0; }
  .rate-table th, .rate-table td { padding: .7rem .6rem; font-size: .86rem; }
  .table-wrap th:first-child, .table-wrap td:first-child { padding-left: .9rem; }
  .table-wrap th:last-child,  .table-wrap td:last-child  { padding-right: .9rem; }
}
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: 1.25rem; }
.table-wrap th:last-child,  .table-wrap td:last-child  { padding-right: 1.25rem; }
.rate-table tbody tr:last-child td { border-bottom: 0; }

/* --- 17. Simulateur de devis -------------------------------------------- */
/* Dépliant : une question facultative ne doit pas occuper un écran
   avant qu'un prix s'affiche. Même traitement pour les champs
   secondaires du formulaire. */
.moreopts {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 1rem;
  margin-top: var(--sp-5);
  background: var(--aqua-50);
}
.moreopts > summary {
  display: flex; align-items: center; gap: .55rem;
  padding: .85rem 0;
  font-size: .95rem; font-weight: 700; color: var(--action);
  cursor: pointer; list-style: none;
  min-height: 44px;
}
.moreopts > summary::-webkit-details-marker { display: none; }
.moreopts > summary::before {
  content: '+'; flex: none;
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: var(--action); color: #fff;
  font-size: .95rem; font-weight: 700; line-height: 1;
}
.moreopts[open] > summary::before { content: '−'; }
.moreopts__note {
  font-weight: 500; font-size: .8rem; color: var(--text-muted);
  text-transform: none; letter-spacing: 0;
}
.moreopts > :not(summary) { padding-bottom: 1.1rem; }
.moreopts--form { background: var(--bg-elevated); margin-top: var(--sp-4); }

.result-alt { margin-top: .9rem; text-align: center; font-size: .86rem; }
.result-alt a {
  display: inline-flex; align-items: center; gap: .35rem;
  color: #CFE8F7; text-decoration: underline;
  text-underline-offset: 3px; min-height: 40px;
}
.result-alt a:hover { color: #fff; }
.result-alt svg { width: 1em; height: 1em; }

/* Barre de prix : visible seulement sur téléphone, où le résultat est
   hors écran pendant qu'on règle les trois étapes. Elle prend la place
   de la barre d'actions générale, qu'on masque sur cette page : deux
   barres fixes mangeraient un quart de l'écran. */
.pricebar { display: none; }
@media (max-width: 920px) {
  body[data-page="devis"] .actionbar { display: none !important; }
  .pricebar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
    display: block;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 26px -14px rgba(6,42,65,.45);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .pricebar__in {
    display: flex; align-items: center; gap: .9rem;
    padding: .6rem var(--gutter);
  }
  .pricebar__txt { flex: 1; min-width: 0; margin: 0; line-height: 1.15; }
  .pricebar__lbl {
    /* .74rem : en dessous, le libellé tombe sous 11,5 px. */
    display: block; font-size: .74rem; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted);
  }
  /* Ce n'est plus un montant mais le choix en cours : police de texte,
     et coupe à l'ellipse plutôt que de passer sous le bouton. */
  .pricebar__amt {
    display: block;
    font-weight: 700; font-size: 1.02rem; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .pricebar .btn { flex: none; padding: .7rem 1.15rem; font-size: .92rem; }
  .pricebar.is-away {
    transform: translateY(105%);
    transition: transform var(--t) var(--ease);
    pointer-events: none;
  }
  .pricebar { transition: transform var(--t) var(--ease); }
  /* La barre recouvre le bas de la page : on lui réserve sa hauteur. */
  body[data-page="devis"] { padding-bottom: 72px; }
}
@media (max-width: 380px) {
  .pricebar__amt { font-size: .92rem; }
  .pricebar .btn { padding: .7rem .9rem; font-size: .86rem; }
}

.sim { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,380px); gap: clamp(1.4rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 920px) { .sim { grid-template-columns: 1fr; } }

.sim__panel {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(1.3rem, 2.8vw, 2rem);
  box-shadow: var(--sh-sm);
}
.fieldset { border: 0; padding: 0; margin: 0 0 clamp(1.6rem, 3.5vw, 2.25rem); }
.fieldset legend { font-size: 1.1rem; font-weight: 740; letter-spacing: -.02em; margin-bottom: .3rem; padding: 0; }
.fieldset .hint { font-size: .85rem; color: var(--text-muted); margin-bottom: var(--sp-5); }

/* Choix en tuiles (radio accessible) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr)); gap: .6rem; }
/* Une tuile seule en fin de grille prend toute la ligne restante plutôt
   que de laisser un trou à côté d'elle. Vrai pour les cinq secteurs
   comme pour les quatre fréquences, quelle que soit la largeur. */
.tiles > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .tiles > .tile:last-child:nth-child(odd) { grid-column: auto; }
  .tiles > .tile:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.tile label {
  display: flex; flex-direction: column; gap: .45rem; height: 100%;
  padding: .95rem .9rem; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-elevated);
  transition: all var(--t-fast) var(--ease);
}
.tile label:hover { border-color: var(--aqua-300); background: var(--aqua-50); }
.tile input:checked + label {
  border-color: var(--aqua-500); background: var(--aqua-50);
  box-shadow: 0 0 0 3px rgba(31,159,222,.14);
}
.tile input:focus-visible + label { outline: 3px solid var(--aqua-500); outline-offset: 2px; }
.tile__ic { width: 26px; height: 26px; color: var(--aqua-600); }
.tile__t { font-size: .9rem; font-weight: 680; line-height: 1.25; }
.tile__d { font-size: .75rem; color: var(--text-muted); line-height: 1.35; }

/* Curseur */
/* Cases à cocher options */
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: .55rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt label {
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem .9rem; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: .9rem; font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}
.opt label::before {
  content: ''; width: 20px; height: 20px; flex: none;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-xs);
  background: var(--bg-elevated);
  transition: all var(--t-fast) var(--ease);
}
.opt input:checked + label { border-color: var(--aqua-500); background: var(--aqua-50); }
.opt input:checked + label::before {
  background: var(--aqua-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--aqua-500);
}
.opt input:focus-visible + label { outline: 3px solid var(--aqua-500); outline-offset: 2px; }
.opt__px { margin-left: auto; font-size: .78rem; color: var(--text-muted); font-weight: 650; }

/* Panneau résultat (sticky) */
.sim__result { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.result-card {
  background: linear-gradient(160deg, #0B3C5B, #11557E 55%, #1580BC);
  color: #E8F5FC; border-radius: var(--r-xl);
  padding: clamp(1.4rem, 2.8vw, 1.9rem);
  box-shadow: 0 28px 60px -24px rgba(8,60,92,.5);
  overflow: hidden; position: relative;
}
.result-card h3 { color: #fff; font-size: 1rem; letter-spacing: .01em; }
.result-sub { font-size: .82rem; color: #9FCAE4; }
.result-lines { margin: var(--sp-5) 0; display: grid; gap: .5rem; font-size: .85rem; }
.result-lines div { display: flex; justify-content: space-between; gap: 1rem; color: #C2DFF0; }
.result-lines div span:last-child { font-weight: 680; color: #fff; text-align: right; }
.result-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.14); margin: var(--sp-5) 0; }
.result-card .btn--white { width: 100%; }
.result-disclaimer { font-size: .72rem; color: #88B6D2; line-height: 1.45; margin-top: var(--sp-4); }

/* --- 18. Formulaires ---------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .83rem; font-weight: 680; color: var(--ink-700); }
.field .req { color: #C0392B; }
.input, .textarea, .select {
  width: 100%; padding: .78rem .95rem;
  font-size: .95rem; color: var(--text);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  appearance: none;
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23557389' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 16px;
  padding-right: 2.4rem; cursor: pointer;
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input:focus, .textarea:focus, .select:focus {
  outline: 0; border-color: var(--aqua-500);
  box-shadow: 0 0 0 3.5px rgba(31,159,222,.15);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: #D45A48; box-shadow: 0 0 0 3.5px rgba(212,90,72,.13);
}
.field__err { font-size: .78rem; color: #C0392B; min-height: 1.1em; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--sp-4); }
.form-note { font-size: .76rem; color: var(--text-muted); line-height: 1.5; }
.hp {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  border: 0;
}

.alert {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .9rem 1.1rem; border-radius: var(--r-md);
  font-size: .89rem; line-height: 1.5;
}
.alert svg { width: 18px; height: 18px; flex: none; margin-top: .14em; }
.alert--ok   { background: #DFF5EC; color: #0A5B43; }
.alert--err  { background: #FCE9E6; color: #96281B; }
.alert--info { background: var(--aqua-50); color: var(--aqua-700); border: 1px solid rgba(31,159,222,.18); }

/* --- 18 bis. Vidéos de chantier ----------------------------------------- */
/* Pellicule : tous les clips à la même hauteur, chacun à sa proportion
   d'origine. C'est la seule façon de faire cohabiter un 16/9 et deux
   9/16 sans recadrer ce que le client a filmé. */
.clips-rail { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.clips {
  --clip-h: clamp(286px, 31vw, 400px);
  /* Deux clips seulement : on les agrandit, sinon ils flottent perdus
     au milieu de la largeur. */
  display: flex;
  gap: clamp(.8rem, 1.8vw, 1.4rem);
  align-items: flex-start;
  justify-content: center;
}
/* Sur grand écran, tous les clips font la même hauteur et c'est leur
   largeur qui suit la proportion : d'où la largeur calculée ici plutôt
   que laissée au contenu — sinon une légende un peu longue élargit la
   figure et pousse les suivantes hors de la pellicule. */
.clips--duo { --clip-h: clamp(320px, 38vw, 520px); gap: clamp(1rem, 2.4vw, 2rem); }
/* La hauteur vient de la pellicule et doit pouvoir en être héritée :
   la déclarer ici aussi la figerait, car la déclaration d'un élément
   l'emporte sur ce qu'il hérite. D'où la valeur de repli dans le calc,
   qui ne sert qu'à un clip posé hors pellicule. */
.clip { margin: 0; flex: none;
        width: calc(var(--clip-h, 400px) * var(--clip-r)); }
/* Hors pellicule — un clip seul dans une colonne — la largeur est celle
   de la colonne, et c'est la hauteur qui suit la proportion. */
.clip--solo { width: 100%; }
.clip--tall { --clip-r: 0.5625; --clip-ar: 9 / 16; }
.clip--wide { --clip-r: 1.7778; --clip-ar: 16 / 9; }
.clip__frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--clip-ar);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: 0 22px 50px -26px rgba(8,60,92,.5);
}
.clip__v {
  display: block; width: 100%; height: 100%;
  object-fit: contain; background: var(--navy-900);
}
.clip figcaption {
  margin-top: .75rem;
  font-size: .82rem; line-height: 1.45; color: var(--text-muted);
  max-width: 30ch;
}

/* Étiquette et bouton de lecture : la troisième respiration orange de
   la page, après la vague du titre et les numéros d'étapes. */
.clip__tag {
  position: absolute; top: .7rem; left: .7rem;
  padding: .26rem .66rem;
  background: var(--orange); color: var(--navy-900);
  border-radius: var(--r-pill);
  /* .72rem : en dessous, l'étiquette tombe sous 11,5 px sur téléphone. */
  font-size: .75rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  pointer-events: none;
}
.clip__play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--orange); color: var(--navy-900);
  box-shadow: 0 10px 26px -8px rgba(5,42,65,.5);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.clip__play svg { width: 28px; height: 28px; margin-left: 3px; }
.clip__play:hover { transform: scale(1.07); background: #FF7F55; }
.clip__frame.is-playing .clip__play,
.clip__frame.is-playing .clip__tag { display: none; }
/* Sans JavaScript le bouton ne sert à rien : les contrôles natifs de la
   balise video prennent le relais, on masque donc le doublon. */
html:not(.js) .clip__play { display: none; }

@media (max-width: 860px) {
  /* Pellicule à faire défiler du doigt, comme les avis. Ici c'est la
     largeur qui est commune et la hauteur qui suit : à hauteur égale,
     le clip en 16/9 ferait 600 px de large sur un écran de 390. */
  .clips {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding-bottom: .4rem;
    scrollbar-width: none;
  }
  .clips::-webkit-scrollbar { display: none; }
  .clip { width: min(78vw, 330px); scroll-snap-align: start; }
  /* Un clip seul dans une colonne garde la largeur de sa colonne. */
  .clip--solo { width: 100%; }
  .clip figcaption { max-width: none; }
  .clip__play { width: 56px; height: 56px; }
  .clip__play svg { width: 25px; height: 25px; }
}

/* Mosaïque des résultats en photo. Format portrait, celui où elles ont
   été prises. Quatre par ligne sur grand écran, deux sur téléphone. */
/* Centré comme le titre de la section, dont il prolonge le propos. */
.shots__lead {
  margin: clamp(2.2rem, 4.5vw, 3.4rem) auto clamp(1rem, 2vw, 1.5rem);
  font-size: .95rem; color: var(--text-muted);
  max-width: 62ch; text-align: center;
}
@media (max-width: 620px) { .shots__lead { text-align: left; } }
/* Trois par ligne, deux lignes pleines : auto-fit donnait cinq photos
   puis une seule, orpheline. Le nombre de colonnes est donc fixé. */
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.4vw, 1rem);
}
.shot { margin: 0; }
.shot .photo { border-radius: var(--r-lg); }
.shot .photo > img { transition: transform 700ms var(--ease); }
.shot:hover .photo > img { transform: scale(1.04); }

@media (max-width: 620px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- 18 ter. Planning de réservation ------------------------------------ */
/* Sur grand écran, les sept jours côte à côte. Sur téléphone, un jour à
   la fois, choisi par les pastilles du haut : sept colonnes sur 390 px
   donneraient des boutons de 45 px, impossibles à viser. */
.planning {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1rem, 2.4vw, 1.6rem);
  box-shadow: var(--sh-sm);
  max-width: 1000px; margin-inline: auto;
}
.planning__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: 1rem;
}
.planning__sem {
  margin: 0; flex: 1; text-align: center;
  font-weight: 700; font-size: 1rem; color: var(--text);
}
.planning__nav {
  flex: none; width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong); border-radius: 50%;
  background: var(--white); color: var(--action); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.planning__nav:hover:not(:disabled) { background: var(--aqua-50); border-color: var(--action); }
.planning__nav:disabled { opacity: .35; cursor: default; }
.ico--flip { transform: rotate(180deg); }

/* Pastilles de jour — téléphone seulement */
.planning__chips { display: none; }

.planning__grille {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .5rem;
}
.planning__jour { min-width: 0; }
.planning__jtitre {
  display: flex; flex-direction: column; gap: .1rem;
  margin: 0 0 .5rem; text-align: center;
  font-size: .8rem; font-weight: 700; color: var(--text);
  line-height: 1.2;
}
.planning__jdate { font-weight: 500; font-size: .74rem; color: var(--text-muted); }
.planning__vide {
  margin: 0; padding: .9rem .4rem; text-align: center;
  font-size: .76rem; color: var(--text-muted);
  background: var(--aqua-50); border-radius: var(--r-sm);
}

.planning__slot {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  width: 100%; margin-bottom: .4rem; padding: .5rem .3rem;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--white); cursor: pointer; text-align: center;
  transition: border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.planning__h { font-weight: 700; font-size: .88rem; color: var(--text); }
.planning__st { font-size: .68rem; color: var(--text-muted); }

.planning__slot.is-libre:hover {
  border-color: var(--action); background: var(--aqua-50); transform: translateY(-1px);
}
.planning__slot.is-libre .planning__st { color: var(--action); font-weight: 700; }
.planning__slot.is-pris,
.planning__slot.is-ferme,
.planning__slot.is-tot {
  cursor: default; background: var(--aqua-50); border-color: transparent;
}
.planning__slot.is-pris .planning__h,
.planning__slot.is-ferme .planning__h,
.planning__slot.is-tot .planning__h { color: var(--text-muted); text-decoration: line-through; }
.planning__slot.is-tot { opacity: .55; }

.planning__legende {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem;
  margin: 1.1rem 0 0; padding-top: .9rem;
  border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--text-muted);
}
.planning__legende span { display: inline-flex; align-items: center; gap: .4rem; }
.planning__duree { margin-left: auto; font-weight: 600; }
.pl-pastille {
  width: 11px; height: 11px; border-radius: 3px; flex: none;
  border: 1.5px solid var(--border);
}
.pl-pastille.is-libre { background: var(--white); border-color: var(--action); }
.pl-pastille.is-pris  { background: var(--aqua-100); border-color: var(--aqua-200); }
.pl-pastille.is-ferme { background: var(--cool-200); border-color: var(--border-strong); }

.planning__msg {
  margin: .9rem 0 0; padding: .7rem .9rem;
  border-radius: var(--r-sm); font-size: .85rem;
  background: var(--aqua-50); color: var(--aqua-800);
}
.planning__msg--warn { background: #FFF3DC; color: #8A5A08; }

/* Panneau de réservation */
.planning__pan {
  max-width: 640px; margin: 1.5rem auto 0;
  border-color: var(--action);
  box-shadow: 0 20px 48px -24px rgba(20,119,176,.45);
}
.planning__pan h3 { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); }

@media (max-width: 860px) {
  .planning__chips {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 1fr);
    gap: .35rem; margin-bottom: 1rem;
    overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .planning__chips::-webkit-scrollbar { display: none; }
  .planning__chip {
    display: flex; flex-direction: column; gap: .1rem;
    padding: .5rem .3rem; min-height: 48px;
    border: 1.5px solid var(--border); border-radius: var(--r-sm);
    background: var(--white); cursor: pointer; scroll-snap-align: start;
    font-size: .78rem; font-weight: 700; color: var(--text); line-height: 1.2;
  }
  .planning__chip-n { font-size: .66rem; font-weight: 500; color: var(--text-muted); }
  .planning__chip[aria-selected="true"] {
    border-color: var(--action); background: var(--aqua-50); color: var(--action);
  }
  .planning__chip[aria-selected="true"] .planning__chip-n { color: var(--action); }
  .planning__chip:disabled { opacity: .4; cursor: default; }

  /* Un seul jour affiché : celui que les pastilles désignent. */
  .planning__grille { grid-template-columns: 1fr; gap: 0; }
  .planning__jour.is-off { display: none; }
  .planning__jtitre { text-align: left; flex-direction: row; align-items: baseline; gap: .5rem; }
  .planning__slot {
    flex-direction: row; justify-content: space-between;
    padding: .85rem 1rem; min-height: 52px; margin-bottom: .5rem;
  }
  .planning__h { font-size: 1rem; }
  .planning__st { font-size: .8rem; }
  .planning__duree { margin-left: 0; flex-basis: 100%; }
}

/* --- 19. Avis ----------------------------------------------------------- */
.quotes { display: grid; gap: clamp(1rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.quote {
  display: flex; flex-direction: column; gap: var(--sp-4);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(1.25rem, 2.4vw, 1.7rem);
  box-shadow: var(--sh-sm);
}
.quote blockquote { font-size: .95rem; line-height: 1.65; color: var(--ink-800); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .7rem; }
.avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--action), var(--navy-800));
  color: #fff; font-weight: 740; font-size: .82rem; letter-spacing: .02em;
}
.quote__who { font-size: .875rem; font-weight: 700; line-height: 1.25; }
.quote__meta { font-size: .76rem; color: var(--text-muted); }

/* --- 20. FAQ ------------------------------------------------------------ */
.faq { display: grid; gap: .6rem; }
.faq details {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.faq details[open] { border-color: var(--aqua-200); box-shadow: var(--sh-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.2rem; cursor: pointer; list-style: none;
  font-weight: 680; font-size: .96rem; letter-spacing: -.01em;
  transition: color var(--t-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--aqua-700); }
.faq summary::after {
  content: ''; width: 20px; height: 20px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231580BC' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--t) var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq__body { padding: 0 1.2rem 1.2rem; font-size: .92rem; line-height: 1.68; color: var(--text-muted); }
.faq__body > * + * { margin-top: .7rem; }

/* --- 21. Bandeau CTA ---------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  position: relative; z-index: 2;
  border-radius: var(--r-2xl);
  padding: clamp(2.2rem, 5vw, 3.8rem) clamp(1.4rem, 4vw, 3.4rem);
  /* La charte réserve le marine au seul pied de page : cette bande
     passe dans le bleu d'action, qui porte le blanc à 4,9:1 au point
     le plus clair du dégradé. */
  background: linear-gradient(140deg, #0E5E8C 0%, #1477B0 100%);
  color: #EAF6FD; text-align: center;
  box-shadow: 0 30px 70px -28px rgba(8,60,92,.5);
  isolation: isolate; overflow: hidden;
}
.cta-band__inner::before {
  content: ''; position: absolute; inset: auto 0 -2px 0; height: 58%; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 160' preserveAspectRatio='none'%3E%3Cpath d='M0 84c70-36 140 30 210 12s140-58 210-30 180 50 180 50v64H0z' fill='rgba(255,255,255,.06)'/%3E%3Cpath d='M0 112c80-28 150 24 230 6s150-46 220-22 150 34 150 34v50H0z' fill='rgba(255,255,255,.05)'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-4); }
.cta-band p  { color: #A9CEE4; max-width: 54ch; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-band .cluster { justify-content: center; }

/* --- 22. Séparateur vague ----------------------------------------------- */
/* La vague du logo, reprise en bleu juste au-dessus du pied de page :
   c'est le même geste que l'orange sous le titre, dans l'autre couleur. */
.wave-sep {
  display: block; width: 100%;
  height: clamp(42px, 5.5vw, 80px);
  margin-bottom: -1px;            /* pas de filet clair entre la vague et le marine */
  color: var(--aqua-500);
  background: var(--white);
}
.wave-sep path { fill: currentColor; }

/* --- 23. Pied de page --------------------------------------------------- */
/* La vague occupe déjà 80 px : la dernière section n'a pas besoin de
   sa respiration complète en bas. */
main > .section:last-child { padding-bottom: clamp(1.8rem, 3.5vw, 3rem); }

.footer { background: var(--bg-inverse); color: #B6D6E9; padding-block: clamp(3rem, 6vw, 4.5rem) var(--sp-6); }
.footer a { color: #B6D6E9; transition: color var(--t-fast) var(--ease); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid; gap: clamp(1.8rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(140px, 1fr));
}
/* Sous 980 px, auto-fit comprimait la colonne de marque jusqu'à ~15 px,
   ce qui écrasait le logo. On repasse explicitement en 2 puis 1 colonne. */
@media (max-width: 980px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}
/* Sur marine, le logo ne se pose jamais directement : pastille blanche. */
.footer__logo {
  display: inline-block;
  padding: .7rem .95rem;
  background: var(--white);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-4);
}
.footer__brand img { height: 44px; width: auto; display: block; }
.footer h4 {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .12em;
  color: #6E9FBD; font-weight: 720; margin-bottom: var(--sp-4);
}
.footer ul { display: grid; gap: .35rem; font-size: .89rem; }
.footer ul a, .footer__bottom a {
  display: inline-block; padding-block: .3rem;   /* porte la cible à ≥ 26 px */
}
/* .footer ul passe en grid : on rétablit une rangée pour les liens légaux */
.footer__bottom ul {
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center;
}
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
  font-size: .8rem; color: #78A4C0;
}
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 42px; height: 42px; flex: none;   /* jamais compressé par le flex */
  display: grid; place-items: center;
  border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.14);
  color: #C8E4F3;
  transition: all var(--t-fast) var(--ease);
}
.socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* --- 24. Carte ---------------------------------------------------------- */
/* La carte se charge seule. `loading="lazy"` sur l'iframe suffit à ce que
   le navigateur attende l'approche du regard : la page d'arrivée reste
   légère, et le visiteur n'a rien à cliquer. */
.mapbox {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--cool-100);
}
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- 25. Animations au scroll ------------------------------------------- */
/* Sans JavaScript, rien n'est masqué : le contenu reste lisible et indexable.
   La classe .js est posée par un script inline dans le <head>. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }

/* --- 26. Mode sombre ---------------------------------------------------- */
/* --- 27. Mouvement réduit ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .actionbar { transform: none; }
}

/* --- 28. Transitions de vue (navigation instantanée) -------------------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vtOut 120ms var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn  220ms var(--ease) both; }
  @keyframes vtOut { to { opacity: 0; } }
  @keyframes vtIn  { from { opacity: 0; transform: translateY(6px); } }
}
.header, .actionbar { view-transition-name: none; }

/* --- 28 bis. Téléphone : la mise au point mobile ------------------------ */
/* Un téléphone n'est pas un petit écran d'ordinateur : le doigt est moins
   précis que la souris, iOS zoome de lui-même sur les champs trop petits,
   et chaque pixel de hauteur se paie en défilement. */
@media (max-width: 680px) {
  /* Respiration : le client trouvait qu'il manquait d'air entre les
     sections sur téléphone. On remonte à 3,2 rem de chaque côté, soit
     102 px entre deux sections au lieu de 83. */
  :root { --section-y: 3.2rem; }

  /* a. Aucun zoom automatique à la mise au point.
     Sous 16 px, Safari iOS agrandit la page dès qu'un champ reçoit le
     focus — le visiteur se retrouve décadré, le formulaire à moitié hors
     écran. 16 px exactement : c'est le seuil, pas une préférence. */
  .input, .textarea, .select,
  .qstart select, .qstart input { font-size: 16px; }

  /* b. Cibles tactiles : viser 44 px, la largeur moyenne d'un pouce. */
  .qstart__f { padding: .5rem .9rem .55rem; }
  .qstart label { font-size: .74rem; letter-spacing: .06em; }
  .qstart select, .qstart input { min-height: 40px; }
  .link-arrow { min-height: 44px; padding-block: .55rem; }

  /* c. Héros : une seule colonne, le texte puis la photographie. */
  .hero { padding-block: 1.9rem 2.6rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero__title { font-size: clamp(2.05rem, 1.15rem + 4.4vw, 2.7rem); max-width: none; }
  .hero__lead { font-size: 1.02rem; margin-bottom: 1.5rem; max-width: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__visual { margin-inline: .25rem; }
  /* 4/5, comme la source : sur téléphone, recadrer en 3/2 ne laissait
     voir qu'une bande de la pièce, à moitié masquée par la carte de
     preuve. La photographie est la preuve : autant la montrer. */
  .hero__photo { aspect-ratio: 4 / 5; border-radius: var(--r-xl); }
  .tampon { width: 78px; top: -20px; right: -4px; }
  .hero__proof { left: 0; right: 0; bottom: -16px; max-width: none; }

  /* d. Cartes de prestation : la photo passe en 16/9, soit deux écrans
        de défilement gagnés sur la page d'accueil. On surcharge
        aspect-ratio et non --ar : la variable est posée en style en
        ligne par le générateur, et un style en ligne gagne toujours. */
  .svc__illu { aspect-ratio: 16 / 9; }

  /* e bis. Rythme vertical homogène. Avant, le blanc entre deux
     sections valait 24, 40, 46, 64, 65, 74 ou 83 px selon l'endroit :
     c'est cette irrégularité qu'on lit comme « sections mal
     organisées ». Une seule valeur, partout. */
  .section, .section--tight, .section--near { padding-block: 3.2rem; }
  .section--join { padding-top: 0; }
  .section--tall { padding-block: 3.6rem; }
  .starter { padding-top: 3.2rem; padding-bottom: 0; }
  .qstart { margin-bottom: 0; }

  /* f. La carte de preuve déborde sous la photographie : la bande
     ciel qui suit doit lui laisser la place. */
  .doorsband { padding-top: 2.2rem; }

  /* h. Réassurance sur deux colonnes : quatre lignes empilées prenaient
     un écran entier pour quatre informations courtes. */
  .proofbar { grid-template-columns: 1fr 1fr; gap: 1.15rem .9rem; }
  .proofbar > * { flex-direction: column; gap: .5rem; }
  .proofbar__ic { width: 38px; height: 38px; }

  /* j. Les étapes : le grand chiffre orange passe à gauche du titre,
     pour garder le geste de la charte sans quatre pavés empilés. */
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: .95rem;
    padding-top: .85rem;
  }
  .step::before {
    grid-row: 1 / span 2; align-self: start;
    font-size: 2.25rem; margin-bottom: 0; margin-top: -.1rem;
  }
  .step > * { grid-column: 2; }
  .step h3 { align-self: center; }

  /* k. Les avis défilent à l'horizontale, avec accrochage : trois
     cartes à la file au lieu de trois écrans à parcourir. */
  .quotes {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    gap: .9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter, 1rem);
    padding-bottom: .4rem;
    /* on déborde volontairement des marges du conteneur : la dernière
       carte doit « dépasser » pour signaler qu'il y en a d'autres */
    margin-inline: calc(-1 * var(--gutter, 1rem));
    padding-inline: var(--gutter, 1rem);
    scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: start; }

  /* i. Le sélecteur de tarifs débordait l'écran sous 390 px et faisait
        défiler toute la page latéralement. */
  .switch { display: flex; width: 100%; }
  .switch button {
    flex: 1 1 0; min-width: 0; min-height: 40px; padding-inline: .45rem;
    font-size: .82rem; white-space: normal; line-height: 1.25;
  }
}

/* --- 29. Impression ----------------------------------------------------- */
@media print {
  .header, .actionbar, .cta-band, .btn, .socials { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* La disponibilité reste inconnue si le serveur est inaccessible. */
.planning__slot.is-inconnu { opacity: .65; cursor: not-allowed; }

/* Coordonnées dans le récapitulatif : labels lisibles sur le fond bleu. */
.result-card .field label, .result-card .field .req { color: #fff; }
.result-card .result-sub, .result-card .result-disclaimer { color: #e8f5fc; }
.result-card a:not(.btn) { color: #fff; text-decoration: underline; }
.result-card .alert { color: var(--ink-900); background: #fff; }
.result-card .input { background: #fff; color: #102f42; font-size: 1rem; }
.result-card .btn { white-space: normal; text-align: center; }
.result-lines div > span { min-width: 0; overflow-wrap: anywhere; }
#r-send { scroll-margin-top: calc(var(--header-h) + 1rem); }
/* Le film Airbnb était déformé dans le fichier lui-même. Source restaurée
   en portrait ; largeur limitée pour conserver un lecteur confortable. */
.clip--solo.clip--tall { width: min(100%, 340px); margin-inline: auto; }
.clip__v { position: absolute; inset: 0; }
#pl-refresh { min-height: 44px; }

/* --- Espace d'administration : cases de publication des disponibilités ---
   Cochées au doigt sur un téléphone : la cible fait au moins 44 px de
   haut, seuil en deçà duquel on vise à côté une fois sur trois. */
.ad-dispo {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  margin: .2rem .4rem .2rem 0;
  padding: .3rem .7rem;
  border: 1px solid var(--line, #d8e6f0);
  border-radius: .55rem;
  font-size: .9rem;
  cursor: pointer;
}
.ad-dispo input { width: 1.05rem; height: 1.05rem; cursor: pointer; }
.ad-dispo:has(input:checked) {
  border-color: var(--action, #1477B0);
  background: var(--sky-50, #f2f8fc);
}
.ad-dispo.is-off { opacity: .45; cursor: not-allowed; }
.ad-dispo.is-off input { cursor: not-allowed; }

/* --- Bloc fondateur (page Notre histoire) ------------------------------
   Bleu et blanc, comme le reste du site. Le repère de photo reste
   visible tant que le fichier n'est pas déposé : une image manquante
   doit se voir, pas disparaître en silence. */
.fondateur {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  max-width: 560px;
}
.fondateur__photo {
  width: 160px;
  height: 160px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  text-align: center;
  padding: .8rem;
  background: var(--sky-50, #f2f8fc);
  border: 2px dashed var(--action, #1477B0);
  color: var(--action, #1477B0);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
}
.fondateur__photo .xsmall { font-weight: 400; opacity: .75; word-break: break-all; }
.fondateur__texte { min-width: 0; }
.fondateur__nom {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + .9vw, 1.9rem);
  line-height: 1.1;
  margin: 0;
}
.fondateur__role {
  margin: .25rem 0 0;
  color: var(--action, #1477B0);
  font-weight: 600;
}
@media (max-width: 680px) {
  .fondateur { justify-content: center; text-align: center; }
}
