/* =====================================================================
   Memory Vibes — feuille de style publique
   Version 5 — réécriture complète.

   Règles de construction :
   - conception mobile d'abord, les media queries n'ajoutent que du large
   - toute grille est bornée (minmax(0,1fr) ou auto-fit) : aucun contenu
     ne peut imposer sa largeur et faire déborder une colonne
   - aucun position:absolute dans le flux, aucune rotation, aucune marge
     négative : ce qui a cassé les versions précédentes
   ===================================================================== */

:root {
  /* Palette issue du logo */
  --nuit:        #0F2C44;
  --nuit-2:      #17405E;
  --bleu:        #1F618C;
  --bleu-clair:  #4E87AD;
  --sable:       #B48F7D;
  --sable-fonce: #9A7360;
  --sable-pale:  #F1E4DA;
  --creme:       #FAF5F1;
  --encre:       #1C1A19;
  --gris:        #6E6560;
  --bord:        #E6DACF;
  --blanc:       #FFFFFF;

  --rayon:    16px;
  --rayon-sm: 10px;
  --marge:    20px;
  --max:      1180px;

  --ombre:     0 1px 2px rgba(15, 44, 68, .06), 0 8px 24px rgba(15, 44, 68, .06);
  --ombre-max: 0 2px 6px rgba(15, 44, 68, .08), 0 20px 48px rgba(15, 44, 68, .14);

  --titre: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --texte: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--blanc);
  overflow-x: hidden;
  padding-bottom: 74px; /* réserve pour la barre d'action mobile */
}
body.sans-barre { padding-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.1rem); }
h2 { font-size: clamp(1.65rem, 4.6vw, 2.35rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.15em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.saut-contenu {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--nuit); color: #fff; padding: 12px 18px;
}
.saut-contenu:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--sable); outline-offset: 3px; border-radius: 4px; }

/* =====================================================================
   MISE EN PAGE
   ===================================================================== */
.conteneur {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--marge);
}
.conteneur--etroit { max-width: 760px; }

.section { padding-block: 56px; }
.section--large { padding-block: 72px; }
.section--creme { background: var(--creme); }
.section--sable { background: var(--sable-pale); }
.section--nuit  { background: var(--nuit); color: #fff; }
.section--nuit h2, .section--nuit h3 { color: #fff; }

.entete-section { max-width: 62ch; margin-bottom: 32px; }
.entete-section p { color: var(--gris); font-size: 1.05rem; }
.section--nuit .entete-section p { color: rgba(255, 255, 255, .8); }

.surtitre {
  display: block;
  font-family: var(--texte);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--sable-fonce);
  margin-bottom: 10px;
}
.section--nuit .surtitre { color: var(--sable); }

/* Puce hexagonale, reprise de la forme du logo */
.hexa {
  display: inline-block;
  width: 11px; height: 12px;
  flex: none;
  background: var(--sable);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* =====================================================================
   BOUTONS
   ===================================================================== */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 99px;
  font-family: var(--texte);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--bleu);
  color: #fff;
  transition: background-color .18s ease, transform .1s ease;
}
.bouton:hover { background: var(--nuit-2); }
.bouton:active { transform: scale(.985); }

.bouton--sable { background: var(--sable); color: #2A1A12; }
.bouton--sable:hover { background: #C8A692; }

.bouton--contour { background: transparent; color: var(--nuit); box-shadow: inset 0 0 0 2px var(--bord); }
.bouton--contour:hover { background: var(--creme); }

.bouton--clair { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.bouton--clair:hover { background: rgba(255, 255, 255, .1); }

.bouton--petit { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.bouton--large { width: 100%; }

.actions { display: grid; gap: 12px; }

/* =====================================================================
   EN-TÊTE
   ===================================================================== */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nuit);
  color: #fff;
}
.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.marque { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.marque img { width: 40px; height: 40px; border-radius: 9px; }
.marque span { font-family: var(--titre); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }

.nav { display: none; }

.burger {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, .1);
  border: 0; border-radius: 10px; cursor: pointer;
}
.burger__traits { display: grid; gap: 5px; }
.burger__traits i {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-mobile { background: var(--nuit-2); padding: 6px var(--marge) 20px; }
.menu-mobile[hidden] { display: none; }
.menu-mobile a {
  display: block;
  padding: 15px 2px;
  color: #fff; text-decoration: none;
  font-family: var(--titre); font-size: 1.15rem; font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.menu-mobile a[aria-current="page"] { color: var(--sable); }
.menu-mobile__tel {
  margin-top: 16px; text-align: center;
  background: var(--sable); color: #2A1A12 !important;
  border-radius: 99px; border-bottom: 0 !important; font-weight: 600 !important;
}

/* =====================================================================
   HÉROS — texte + mosaïque photo
   Grille bornée : la mosaïque a sa hauteur fixée par son ratio,
   les images remplissent leur case, rien ne peut pousser le texte.
   Les vagues en fond reprennent le motif du logo.
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--nuit);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 240' fill='none' stroke='%23B48F7D' stroke-opacity='.32' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M-20 30 C 90 -20 190 80 300 30 S 510 -20 620 30'/%3E%3Cpath d='M-20 54 C 90 4 190 104 300 54 S 510 4 620 54'/%3E%3Cpath d='M-20 78 C 90 28 190 128 300 78 S 510 28 620 78'/%3E%3Cpath d='M-20 102 C 90 52 190 152 300 102 S 510 52 620 102'/%3E%3Cpath d='M-20 126 C 90 76 190 176 300 126 S 510 76 620 126'/%3E%3Cpath d='M-20 150 C 90 100 190 200 300 150 S 510 100 620 150'/%3E%3Cpath d='M-20 174 C 90 124 190 224 300 174 S 510 124 620 174'/%3E%3Cpath d='M-20 198 C 90 148 190 248 300 198 S 510 148 620 198'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 240' fill='none' stroke='%234E87AD' stroke-opacity='.28' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M-20 30 C 90 80 190 -20 300 30 S 510 80 620 30'/%3E%3Cpath d='M-20 54 C 90 104 190 4 300 54 S 510 104 620 54'/%3E%3Cpath d='M-20 78 C 90 128 190 28 300 78 S 510 128 620 78'/%3E%3Cpath d='M-20 102 C 90 152 190 52 300 102 S 510 152 620 102'/%3E%3Cpath d='M-20 126 C 90 176 190 76 300 126 S 510 176 620 126'/%3E%3Cpath d='M-20 150 C 90 200 190 100 300 150 S 510 200 620 150'/%3E%3Cpath d='M-20 174 C 90 224 190 124 300 174 S 510 224 620 174'/%3E%3Cpath d='M-20 198 C 90 248 190 148 300 198 S 510 248 620 198'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-size: 420px auto, 0 0;
  background-position: right -140px bottom 10px, left 0 top 0;
  padding-block: 40px 48px;
}
.hero__grille { display: grid; gap: 36px; }
.hero__contenu { max-width: 640px; }
.hero h1 { margin-bottom: .4em; }
.hero__accroche { font-size: 1.12rem; color: rgba(255, 255, 255, .84); max-width: 52ch; margin-bottom: 28px; }
.hero .actions { margin-bottom: 26px; }

.hero__points {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin: 0; padding: 0; list-style: none;
  font-size: .95rem; color: rgba(255, 255, 255, .8);
}
.hero__points li { display: flex; align-items: center; gap: 9px; }

/* Mosaïque : une grande photo + deux petites */
.mosaique {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  aspect-ratio: 4 / 3;
}
.mosaique__tuile {
  margin: 0;
  min-width: 0;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--nuit-2);
}
.mosaique__tuile img { width: 100%; height: 100%; object-fit: cover; }
.mosaique__tuile:first-child { grid-row: 1 / span 2; }

.mosaique--n1, .mosaique--n2 { grid-template-rows: minmax(0, 1fr); }
.mosaique--n1 { grid-template-columns: minmax(0, 1fr); }
.mosaique--n1 .mosaique__tuile:first-child,
.mosaique--n2 .mosaique__tuile:first-child { grid-row: auto; }

/* Pastille posée sur la grande photo, contenue dans la mosaïque */
.mosaique__pastille {
  position: absolute;
  left: 10px; bottom: 10px;
  max-width: calc((100% - 10px) * 13 / 23 - 20px);
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: #fff;
  color: var(--nuit);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  font-size: .84rem; font-weight: 700; line-height: 1.25;
}
.mosaique__pastille svg {
  display: none;
  flex: none;
  width: 34px; height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: var(--sable);
  color: #2A1A12;
}

/* =====================================================================
   EN-TÊTE DE PAGE INTÉRIEURE
   ===================================================================== */
.entete-page { background: var(--nuit); color: #fff; padding-block: 44px 40px; }
.entete-page h1 { margin-bottom: .35em; }
.entete-page p { color: rgba(255, 255, 255, .8); max-width: 60ch; font-size: 1.05rem; }

/* =====================================================================
   LES DEUX PRESTATIONS
   ===================================================================== */
.offres { display: grid; gap: 22px; }
.offre {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  overflow: hidden;
}
.offre__image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sable-pale); }
.offre__corps { padding: 24px 22px; display: flex; flex-direction: column; flex: 1; }
.offre h3 { font-size: 1.4rem; color: var(--nuit); margin-bottom: .4em; }
.offre__texte { color: var(--gris); }
.offre__pied { margin-top: auto; padding-top: 20px; }

.liste-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.liste-points li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: start; font-size: .98rem; }
.liste-points .hexa { margin-top: 6px; }

/* =====================================================================
   FORMULES
   ===================================================================== */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtre {
  padding: 10px 18px;
  border-radius: 99px;
  background: #fff;
  color: var(--nuit);
  text-decoration: none;
  font-weight: 600; font-size: .95rem;
  box-shadow: inset 0 0 0 1.5px var(--bord);
}
.filtre:hover { box-shadow: inset 0 0 0 1.5px var(--sable); }
.filtre[aria-current="true"] { background: var(--nuit); color: #fff; box-shadow: none; }

.grille-formules { display: grid; gap: 20px; }

.formule {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  overflow: hidden;
}
.formule--vedette { border-color: var(--sable); box-shadow: var(--ombre); }

.formule__media { position: relative; background: var(--sable-pale); }
.formule__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.formule__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--sable); color: #2A1A12;
  padding: 5px 13px; border-radius: 99px;
  font-size: .82rem; font-weight: 700;
}

.formule__corps { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.formule__categorie { font-size: .85rem; font-weight: 700; color: var(--sable-fonce); }
.formule__titre { font-size: 1.3rem; color: var(--nuit); margin: 6px 0 8px; }
.formule__accroche { color: var(--gris); font-size: .98rem; margin-bottom: 18px; }

.formule__prix {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--bord);
  margin-bottom: 0;
}
.formule__prix strong { font-family: var(--titre); font-size: 2rem; font-weight: 700; color: var(--nuit); line-height: 1; }
.formule__prix span { font-size: .9rem; color: var(--gris); }

.formule__note { font-size: .93rem; color: var(--gris); margin-top: 16px; }
.formule__pied { margin-top: auto; padding-top: 22px; }

/* =====================================================================
   ÉTAPES — la numérotation a du sens ici, c'est une séquence
   ===================================================================== */
.etapes { display: grid; gap: 26px; counter-reset: etape; list-style: none; margin: 0; padding: 0; }
.etape { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; }
.etape::before {
  counter-increment: etape;
  content: counter(etape);
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--bleu); color: #fff;
  border-radius: 50%;
  font-family: var(--titre); font-weight: 700; font-size: 1.2rem;
}
.etape h3 { margin-bottom: .25em; }
.etape p { font-size: .98rem; color: rgba(255, 255, 255, .78); }

/* =====================================================================
   GALERIE
   ===================================================================== */
.grille-galerie {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.vignette {
  margin: 0; padding: 0; border: 0;
  background: var(--sable-pale);
  border-radius: var(--rayon-sm);
  overflow: hidden;
  cursor: zoom-in;
}
.vignette img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
.vignette:hover img { transform: scale(1.04); }

.visionneuse {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 24, 36, .96);
  display: grid; place-items: center;
  padding: 16px;
}
.visionneuse[hidden] { display: none; }
.visionneuse img { max-width: 100%; max-height: 76vh; border-radius: 6px; }
.visionneuse__legende {
  position: absolute; inset: auto 0 24px 0;
  text-align: center; color: #fff; font-size: .95rem; padding-inline: 20px;
}
.visionneuse button {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  border: 0; border-radius: 50%;
  color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.visionneuse__fermer { top: 16px; right: 16px; }
.visionneuse__prec { left: 10px; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 10px; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   GARANTIES
   ===================================================================== */
.garanties { display: grid; gap: 20px; }
.garantie { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; align-items: start; }
.garantie .hexa { margin-top: 7px; }
.garantie h3 { font-size: 1.05rem; margin-bottom: .2em; color: var(--nuit); }
.garantie p { font-size: .95rem; color: var(--gris); }

/* =====================================================================
   AVIS
   ===================================================================== */
.avis { display: grid; gap: 18px; }
.avis__carte {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 24px 22px;
}
.avis__carte blockquote { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.6; }
.avis__auteur { font-size: .9rem; font-weight: 700; color: var(--sable-fonce); margin: 0; }

/* =====================================================================
   QUESTIONS FRÉQUENTES
   ===================================================================== */
.faq { display: grid; gap: 0; border-top: 1px solid var(--bord); }
.faq__item { border-bottom: 1px solid var(--bord); }
.faq__item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--titre); font-size: 1.1rem; font-weight: 600; color: var(--nuit);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem; font-weight: 400; color: var(--sable-fonce); line-height: 1;
}
.faq__item[open] > summary::after { content: "–"; }
.faq__reponse { padding: 0 2px 22px; color: var(--gris); max-width: 68ch; }

/* =====================================================================
   APPEL À L'ACTION
   ===================================================================== */
.cta { text-align: center; }
.cta h2 { margin-bottom: .35em; }
.cta p { color: var(--gris); max-width: 52ch; margin-inline: auto; margin-bottom: 26px; }
.section--nuit .cta p { color: rgba(255, 255, 255, .8); }

/* =====================================================================
   FORMULAIRES
   ===================================================================== */
.formulaire { display: grid; gap: 18px; }
.paire { display: grid; gap: 18px; }

.champ { display: grid; gap: 6px; }
.champ > label { font-weight: 600; font-size: .95rem; }
.champ small { color: var(--gris); font-size: .86rem; }
.obligatoire { color: #B4453C; }

.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  font-family: inherit; font-size: 1rem; color: var(--encre);
  background: #fff;
  border: 1.5px solid var(--bord);
  border-radius: var(--rayon-sm);
  appearance: none;
}
.champ textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.champ select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236E6560' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px;
  padding-right: 42px;
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  border-color: var(--bleu);
  outline: 3px solid rgba(31, 97, 140, .16);
}
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border-color: #B4453C; }
.champ__erreur { color: #B4453C; font-size: .88rem; font-weight: 600; }

.champ--case { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.champ--case input { width: 21px; height: 21px; min-height: auto; margin-top: 3px; }
.champ--case label { font-weight: 400; font-size: .96rem; }

.piege { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.message { padding: 16px 18px; border-radius: var(--rayon-sm); margin-bottom: 24px; font-size: .98rem; }
.message--succes { background: #E4F1E8; color: #1D5A33; border-left: 4px solid #2E8B57; }
.message--erreur { background: #FBE7E5; color: #8E2E26; border-left: 4px solid #B4453C; }
.message--info   { background: var(--sable-pale); color: #5A4034; border-left: 4px solid var(--sable); }

.contact-grille { display: grid; gap: 28px; }
.encart {
  background: var(--creme);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 24px 22px;
}
.encart h2 { font-size: 1.25rem; }
.encart ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.encart a { font-weight: 600; }

/* =====================================================================
   PIED DE PAGE
   ===================================================================== */
.pied { background: var(--nuit); color: rgba(255, 255, 255, .8); padding-block: 44px 24px; font-size: .97rem; }
.pied__grille { display: grid; gap: 32px; }
.pied h2 { font-size: 1.05rem; color: #fff; margin-bottom: .8em; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pied a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied__logo { width: 52px; height: 52px; border-radius: 11px; margin-bottom: 14px; }
.pied__zone { color: var(--sable); }
.pied__reseaux { display: flex; gap: 16px; margin-top: 16px; }
.pied__reseaux a { text-decoration: underline; }
.pied__bas {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 32px; padding-top: 18px;
  font-size: .86rem; color: rgba(255, 255, 255, .55);
}

/* =====================================================================
   BARRE D'ACTION MOBILE
   ===================================================================== */
.barre-action {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: flex; gap: 10px;
  padding: 10px var(--marge) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--bord);
}
.barre-action a {
  display: grid; place-items: center;
  min-height: 50px; padding-inline: 16px;
  border-radius: 99px; font-weight: 600; font-size: .97rem;
  line-height: 1.2; text-align: center; text-decoration: none;
}
.barre-action__tel { flex: 0 0 auto; background: var(--sable-pale); color: var(--nuit); }
.barre-action__devis { flex: 1; background: var(--bleu); color: #fff; }

/* =====================================================================
   TEXTE LÉGAL
   ===================================================================== */
.texte-legal { max-width: 70ch; }
.texte-legal h2 { font-size: 1.3rem; margin-top: 1.8em; }

/* =====================================================================
   TABLETTE
   ===================================================================== */
@media (min-width: 680px) {
  body { font-size: 1.09rem; padding-bottom: 0; }

  .section { padding-block: 76px; }
  .section--large { padding-block: 96px; }

  .hero { padding-block: 64px 72px; background-size: 560px auto, 0 0; }
  .hero .actions { display: flex; flex-wrap: wrap; }
  .hero .actions .bouton { width: auto; }
  .mosaique { aspect-ratio: 16 / 10; gap: 12px; }
  .mosaique--n2, .mosaique--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaique__pastille { left: 12px; bottom: 12px; max-width: calc((100% - 12px) / 2 - 24px); padding: 9px 14px 9px 9px; font-size: .9rem; }
  .mosaique__pastille svg { display: block; }

  .actions { display: flex; flex-wrap: wrap; }


  .offres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .garanties { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
  .avis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .paire { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied__grille { grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }

  .barre-action { display: none; }
}

/* =====================================================================
   ORDINATEUR
   ===================================================================== */
@media (min-width: 1000px) {
  .burger { display: none; }
  .menu-mobile { display: none !important; }

  .nav { display: flex; align-items: center; gap: 28px; }
  .nav a:not(.bouton) {
    color: rgba(255, 255, 255, .85);
    text-decoration: none; font-weight: 500;
    padding-block: 6px;
  }
  .nav a:not(.bouton):hover { color: #fff; }
  .nav a:not(.bouton)[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--sable); }

  .entete__barre { min-height: 78px; }

  .hero {
    padding-block: 72px 84px;
    background-size: 760px auto, 600px auto;
    /* le bord droit des vagues bleues s'arrête au début de la colonne de texte */
    background-position: right -220px bottom -40px, left calc(50% - 1170px) top 40px;
  }
  .hero__grille {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
  .hero h1 { font-size: clamp(2.6rem, 3.6vw, 3.35rem); }
  .mosaique { aspect-ratio: 1 / 1; gap: 14px; }
  .mosaique__tuile { border-radius: 22px; }
  .mosaique__pastille { left: 18px; bottom: 18px; max-width: calc((100% - 14px) / 2 - 36px); font-size: .95rem; }

  .grille-formules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille-galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .garanties { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-grille { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
}

/* =====================================================================
   CONFORT
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .vignette:hover img { transform: none; }
}

@media print {
  .entete, .barre-action, .pied, .mosaique, .visionneuse { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}
