/* ==========================================================================
   Moreau Digital — feuille de style
   Ordre : polices, variables, base, composants communs, sections de la page,
   pages secondaires, animations.
   ========================================================================== */

/* Polices auto-hébergées (aucune requête vers Google) ---------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Variables -------------------------------------------------------------- */
:root {
  --encre: #15233B;
  --encre-profond: #0F1A2D;
  --opale: #0E7480;
  --opale-fonce: #0A5A63;
  --opale-clair: #3FB6C2;
  --sable: #F4C95D;
  --sable-pale: #FBEBC0;
  --brume: #F3F5F7;
  --gris: #4A5568;
  --blanc: #FFFFFF;
  --ligne: rgba(21, 35, 59, .12);
  --ligne-forte: #C9D1DB;

  --f-titre: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-texte: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --rayon: 12px;
  --rayon-sm: 10px;
  --ombre: 0 1px 2px rgba(21, 35, 59, .06), 0 10px 28px rgba(21, 35, 59, .08);
  --ombre-forte: 0 2px 6px rgba(21, 35, 59, .08), 0 28px 56px rgba(21, 35, 59, .16);

  --gouttiere: 16px;
  --largeur: 1160px;
  --entete-h: 64px;
  --espace-section: clamp(72px, 9vw, 120px);

  color-scheme: light;
}
@media (min-width: 640px) { :root { --gouttiere: 24px; } }
@media (min-width: 960px) { :root { --gouttiere: 32px; --entete-h: 72px; } }

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete-h) + 12px);
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--f-texte);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-titre);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 700; }

a {
  color: var(--opale);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { color: var(--opale-fonce); }

:focus-visible {
  outline: 3px solid var(--opale);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--encre :focus-visible,
.pied :focus-visible { outline-color: var(--sable); }

::selection { background: var(--sable); color: var(--encre); }

/* Utilitaires ------------------------------------------------------------ */
.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cache { display: none; }

.lien-evitement {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: var(--rayon-sm);
  background: var(--encre);
  color: var(--blanc);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.lien-evitement:focus { transform: none; color: var(--blanc); }

/* Éléments à compléter avant la mise en ligne : bien visibles exprès */
.a-completer {
  padding: 0 .3em;
  border-radius: 4px;
  outline: 1px dashed #B88A1B;
  background: var(--sable-pale);
  color: var(--encre);
  font-weight: 700;
}

/* Icônes ----------------------------------------------------------------- */
.icone {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icone--plein { fill: currentColor; stroke: none; }

/* Typographie commune ---------------------------------------------------- */
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--opale);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
/* Petit store rayé devant chaque étiquette */
.etiquette::before {
  content: "";
  width: 22px;
  height: 9px;
  border-radius: 0 0 5px 5px;
  background: repeating-linear-gradient(90deg, currentColor 0 5.5px, var(--sable) 5.5px 11px);
}
.etiquette--clair { color: var(--opale-clair); }

.leger {
  font-weight: 400;
  color: var(--opale);
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.intro {
  margin-top: 16px;
  color: var(--gris);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
}

/* Boutons ---------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: .8em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--rayon-sm);
  font: 700 1rem/1.2 var(--f-texte);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.bouton:active { transform: translateY(1px); }
.bouton .icone { width: 20px; height: 20px; transition: transform .2s; }
.bouton:hover .icone { transform: translateX(3px); }

.bouton--plein { background: var(--encre); color: var(--blanc); }
.bouton--plein:hover { background: var(--opale); color: var(--blanc); }

.bouton--contour { border-color: var(--encre); color: var(--encre); background: transparent; }
.bouton--contour:hover { background: var(--encre); color: var(--blanc); }

.bouton--opale { background: var(--opale); color: var(--blanc); }
.bouton--opale:hover { background: var(--encre); color: var(--blanc); }

.bouton--petit { min-height: 44px; padding: .6em 1.1em; font-size: .9375rem; }

/* Store rayé (motif de la marque) ---------------------------------------- */
.store {
  --l: 40px;   /* largeur d'une bande */
  --h: 18px;   /* partie droite, sous la barre */
  --barre: 8px;
  height: calc(var(--barre) + var(--h) + var(--l) / 2);
  border-top: var(--barre) solid var(--encre);
  background: repeating-linear-gradient(90deg, var(--opale) 0 var(--l), var(--sable) var(--l) calc(2 * var(--l)));
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(var(--barre) + var(--h)) no-repeat,
    radial-gradient(circle at 50% 0, #000 calc(var(--l) / 2 - .5px), #0000 calc(var(--l) / 2)) 0 calc(var(--barre) + var(--h)) / var(--l) calc(var(--l) / 2) repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(var(--barre) + var(--h)) no-repeat,
    radial-gradient(circle at 50% 0, #000 calc(var(--l) / 2 - .5px), #0000 calc(var(--l) / 2)) 0 calc(var(--barre) + var(--h)) / var(--l) calc(var(--l) / 2) repeat-x;
}

.badge-demo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--encre);
  color: var(--blanc);
  font-weight: 700;
  font-size: .6875rem;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge-demo::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sable);
}

/* En-tête ---------------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
          backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.entete.est-defile {
  border-bottom-color: var(--ligne);
  box-shadow: 0 6px 24px rgba(21, 35, 59, .06);
}
.entete__interieur {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--entete-h);
}
.entete__logo { flex-shrink: 0; margin-right: auto; border-radius: 6px; }
.entete__logo img { width: auto; height: 30px; }

.nav__liste { display: flex; margin: 0; padding: 0; list-style: none; }
.nav__lien {
  display: block;
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
}
.nav__lien:hover { color: var(--opale); }

.entete__actions { display: flex; align-items: center; gap: 8px; }
.entete__devis-court { display: none; }
/* Le bouton Devis de l'en-tête attend que celui du héro soit passé (main.js) */
.entete__devis { transition: opacity .25s, visibility .25s; }
.entete.cta-hero-visible .entete__devis { opacity: 0; visibility: hidden; }

.menu-bouton {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--rayon-sm);
  background: var(--brume);
  color: var(--encre);
  cursor: pointer;
}
.menu-bouton__barres,
.menu-bouton__barres::before,
.menu-bouton__barres::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s, opacity .2s;
}
.menu-bouton__barres { position: relative; }
.menu-bouton__barres::before,
.menu-bouton__barres::after { content: ""; position: absolute; left: 0; }
.menu-bouton__barres::before { top: -6px; }
.menu-bouton__barres::after { top: 6px; }
.menu-bouton[aria-expanded="true"] .menu-bouton__barres { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-bouton__barres::before { transform: translateY(6px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-bouton__barres::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--blanc);
    border-bottom: 1px solid var(--ligne);
    box-shadow: 0 18px 28px rgba(21, 35, 59, .1);
  }
  .nav.est-ouvert { display: block; }
  .nav__liste {
    flex-direction: column;
    max-width: calc(var(--largeur) + 2 * var(--gouttiere));
    margin-inline: auto;
    padding: 4px var(--gouttiere) 16px;
  }
  .nav__lien {
    padding: 15px 2px;
    border-bottom: 1px solid var(--ligne);
    font-size: 1.0625rem;
  }
  .nav__liste li:last-child .nav__lien { border-bottom: 0; }
}
@media (max-width: 599px) {
  .entete__devis-long { display: none; }
  .entete__devis-court { display: inline; }
}
@media (min-width: 960px) {
  .entete__logo img { height: 36px; }
  .nav__liste { gap: 2px; }
  .nav__lien { padding: 8px 12px; border-radius: 8px; font-size: .9375rem; }
  .nav__lien:hover { background: var(--brume); }
  .menu-bouton { display: none; }
}

/* Sections --------------------------------------------------------------- */
.section { position: relative; padding-block: var(--espace-section); }
.section--brume { background: var(--brume); }
.section--encre { background: var(--encre); color: var(--blanc); }
.section--encre .intro { color: rgba(255, 255, 255, .8); }
.section--encre .leger { color: var(--opale-clair); }

.section-entete { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Accueil (hero) --------------------------------------------------------- */
.hero { padding: 28px 0 72px; }
.hero__grille { display: grid; gap: 44px; align-items: center; }

h1 {
  font-size: clamp(2.6rem, 1.45rem + 4.8vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
h1 .fort, h1 .leger { display: block; }

.hero__intro {
  max-width: 34em;
  margin-top: 22px;
  color: var(--gris);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cta-court { display: none; }
.hero__atouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  font-size: .9375rem;
}
.hero__atouts li { display: flex; align-items: center; gap: 7px; }
.hero__atouts .icone { width: 20px; height: 20px; color: var(--opale); stroke-width: 2.4; }

@media (max-width: 479px) {
  .hero__intro { margin-top: 18px; }
  .hero__actions { align-items: center; gap: 8px; margin-top: 26px; }
  .hero__actions .bouton--plein { flex: 1 1 auto; }
  /* Sur téléphone, « Voir les prix » devient un simple lien à côté du bouton */
  .hero__actions .bouton--contour {
    padding-inline: 12px;
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .hero__actions .bouton--contour:hover { background: transparent; color: var(--opale); }
  .hero__atouts { gap: 6px 16px; margin-top: 22px; font-size: .875rem; }
  .hero__cta-long { display: none; }
  .hero__cta-court { display: inline; }
  .hero__grille { gap: 32px; }
  .hero { padding-bottom: 56px; }
  .facade { height: 480px; }
  .telephone--hero { top: 64px; }
  .puce--horaires { top: 124px; }
  .puce--itineraire { top: 190px; }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 104px; }
  .hero__grille { grid-template-columns: 1.08fr .92fr; gap: 56px; }
}

/* La façade : un commerce, son store et la vitrine sur téléphone */
.facade {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 470px;
  height: 580px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: var(--brume);
}
.facade .store { position: absolute; inset: 0 0 auto 0; --l: 34px; --h: 16px; }
.facade::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(243, 245, 247, 0), var(--brume) 80%);
  pointer-events: none;
}
.telephone--hero {
  position: absolute;
  z-index: 2;
  top: 76px;
  left: 50%;
  width: 236px;
  translate: -50% 0;
}
/* L'écran prend la hauteur de la capture : rien n'est recadré */
.telephone--hero .telephone__ecran { aspect-ratio: auto; }
.telephone--hero .telephone__lien img { height: auto; }
.puce {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 14px 7px 7px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
  color: var(--encre);
  font-weight: 700;
  font-size: .8125rem;
  line-height: 1.2;
  white-space: nowrap;
}
.puce__icone {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--opale);
  color: var(--blanc);
}
.puce__icone .icone { width: 17px; height: 17px; }
/* Les pastilles se posent sur la photo de la démo, jamais sur ses textes */
.puce--horaires { top: 140px; left: 10px; }
.puce--itineraire { top: 210px; right: 10px; }
.facade__badge { position: absolute; z-index: 4; left: 16px; bottom: 16px; }

@media (min-width: 600px) {
  .facade { height: 620px; }
  .telephone--hero { width: 262px; top: 84px; }
  .puce { font-size: .875rem; }
  .puce--horaires { top: 164px; left: 14px; }
  .puce--itineraire { top: 244px; right: 14px; }
}

/* Téléphone et mini-sites de démonstration -------------------------------- */
.telephone { margin: 0; }
.telephone__ecran {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border: 9px solid var(--encre);
  border-radius: 34px;
  background: var(--blanc);
  box-shadow: var(--ombre-forte);
}
/* Encoche */
.telephone__ecran::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 50%;
  width: 30%;
  height: 18px;
  border-radius: 99px;
  background: var(--encre);
  translate: -50% 0;
}

.demo {
  --d-fond: #FFFFFF;
  --d-texte: var(--encre);
  --d-accent: var(--opale);
  --d-sur-accent: #FFFFFF;
  --d-doux: var(--brume);
  --d-photo: #E9EDF2;
  display: flex;
  flex-direction: column;
  gap: .85em;
  height: 100%;
  padding: 13cqw 5.5cqw 5cqw;
  background: var(--d-fond);
  color: var(--d-texte);
  font-family: var(--f-texte);
  font-size: 11px;
  font-size: 4.3cqw;
  line-height: 1.35;
}
.demo p { margin: 0; }
.demo__barre { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.demo__nom { font-family: var(--f-titre); font-weight: 800; font-size: 1.12em; letter-spacing: -.01em; }
.demo__menu { display: grid; gap: .3em; width: 1.35em; }
.demo__menu i { display: block; height: .14em; border-radius: 1em; background: currentColor; }
.demo__photo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: .9em;
  background: var(--d-photo);
}
.demo__photo svg { width: 94%; height: auto; }
.demo__statut {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .45em;
  padding: .35em .8em;
  border-radius: 99px;
  background: #E3F2E7;
  color: #1E6B3A;
  font-weight: 700;
  font-size: .82em;
}
.demo__statut i { width: .55em; height: .55em; border-radius: 50%; background: #2E9E57; }
.demo__titre {
  font-family: var(--f-titre);
  font-weight: 800;
  font-size: 1.5em;
  line-height: 1.08;
  letter-spacing: -.015em;
}
.demo__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.demo__bouton {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75em .5em;
  border: .12em solid currentColor;
  border-radius: .6em;
  font-weight: 700;
  font-size: .92em;
}
.demo__bouton--plein { border-color: var(--d-accent); background: var(--d-accent); color: var(--d-sur-accent); }
.demo__carte {
  display: grid;
  gap: .4em;
  padding: .85em .95em;
  border-radius: .8em;
  background: var(--d-doux);
}
.demo__carte-titre { font-weight: 700; font-size: .76em; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.demo__ligne {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding-bottom: .4em;
  border-bottom: 1px dashed rgba(0, 0, 0, .14);
  font-size: .9em;
}
.demo__ligne:last-of-type { padding-bottom: 0; border-bottom: 0; }

/* Curseur de la marque, qui « clique » sur le bouton d'appel */
.curseur {
  position: absolute;
  right: .7em;
  bottom: -1.05em;
  width: 1.45em;
  height: 1.9em;
  fill: var(--sable);
  stroke: var(--encre);
  stroke-width: 1.4;
  stroke-linejoin: round;
  overflow: visible;
}

/* Le constat ------------------------------------------------------------- */
.probleme__grille { display: grid; gap: 40px; align-items: center; }
.probleme__texte .intro + p { margin-top: 16px; font-weight: 700; }
@media (min-width: 960px) {
  .probleme__grille { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.recherche {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 16px;
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.recherche__champ {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1.5px solid var(--ligne-forte);
  border-radius: 99px;
  font-weight: 700;
}
.recherche__champ .icone { width: 20px; height: 20px; color: var(--gris); }
.recherche__saisie::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 3px;
  vertical-align: -.18em;
  background: var(--opale);
}
.recherche__titre {
  margin: 22px 0 10px;
  color: var(--gris);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.recherche__questions { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.recherche__questions li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--rayon-sm);
  background: var(--brume);
  font-weight: 700;
  line-height: 1.35;
}
.recherche__questions .icone { width: 20px; height: 20px; color: var(--opale); }
.recherche__chute {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ligne);
  color: var(--gris);
}
.recherche__chute strong {
  color: var(--encre);
  background: linear-gradient(transparent 60%, var(--sable) 60% 92%, transparent 92%);
}

/* Ce que vous obtenez ---------------------------------------------------- */
.benefices__grille { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.benefice {
  padding: 28px;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: var(--blanc);
  transition: box-shadow .25s, border-color .25s, translate .25s;
}
.benefice:hover { translate: 0 -3px; border-color: transparent; box-shadow: var(--ombre); }
.benefice__icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--rayon);
  background: var(--brume);
  color: var(--opale);
}
.benefice__icone .icone { width: 26px; height: 26px; }
.benefice h3 { font-size: 1.3125rem; letter-spacing: -.015em; }
.benefice p { margin-top: 8px; color: var(--gris); }
@media (min-width: 640px) { .benefices__grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .benefices__grille { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Ma carte : l'appli pour changer sa carte soi-même */
.ma-carte {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  padding: 32px 24px 0;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--brume);
}
.ma-carte h3 { font-size: clamp(1.625rem, 3.2vw, 2.125rem); line-height: 1.1; letter-spacing: -.02em; }
.ma-carte__intro { margin-top: 12px; color: var(--gris); font-size: 1.0625rem; }
.ma-carte__intro strong { color: var(--encre); }
.ma-carte .coches { margin-top: 20px; }
.ma-carte__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ligne);
  color: var(--gris);
  font-size: .9375rem;
}
/* Le téléphone sort du bas du bloc, coupé net */
.ma-carte__visuel { position: relative; margin: 0; height: 400px; overflow: hidden; }
.telephone--appli { width: 260px; margin-inline: auto; }
.puce--publie { bottom: 28px; right: 0; }

.demo--appli { --d-fond: var(--brume); --d-accent: var(--encre); --d-doux: var(--blanc); gap: .75em; }
.demo--appli .demo__nom .leger { color: var(--opale); font-weight: 600; }
.demo--appli .demo__titre { font-size: 1.4em; }
.demo--appli .demo__carte { border: 1px solid var(--ligne); }
.demo--appli .demo__bouton { padding: .85em .5em; }
.appli__etiquette { padding: .3em .65em; border-radius: .5em; background: #E1EFF0; color: var(--opale-fonce); font-weight: 700; font-size: .82em; }
.appli__retour { color: var(--opale); font-weight: 700; }
.appli__sur-titre { color: var(--gris); font-weight: 600; font-size: .85em; }
.appli__champ { display: grid; gap: .35em; }
.appli__label { font-weight: 700; font-size: .85em; }
.appli__saisie {
  padding: .7em .8em;
  border: 1px solid var(--ligne-forte);
  border-radius: .6em;
  background: var(--blanc);
  font-size: .92em;
}
.appli__caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -.2em;
  background: var(--opale);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .appli__caret { animation: none; } }

@media (min-width: 860px) {
  .ma-carte { grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 0 0 0 48px; }
  .ma-carte__texte { padding-block: 48px; }
  .ma-carte__visuel { align-self: end; height: 460px; padding-top: 40px; }
  .telephone--appli { width: 280px; }
}

/* Ma carte en dépliant : fermé sur téléphone, ouvert d'office sur grand écran (main.js) */
.ma-carte-depliant { margin-top: 56px; }
.ma-carte-depliant .ma-carte { margin-top: 0; }
.ma-carte-depliant__question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--rayon);
  background: var(--brume);
  cursor: pointer;
  list-style: none;
  line-height: 1.3;
}
.ma-carte-depliant__question::-webkit-details-marker { display: none; }
.ma-carte-depliant__question strong {
  display: block;
  font-family: var(--f-titre);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
}
.ma-carte-depliant__sous { display: block; margin-top: 3px; color: var(--gris); font-size: .9375rem; }
.ma-carte-depliant__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--rayon-sm);
  background: var(--opale);
  color: var(--blanc);
}
.ma-carte-depliant__icone .icone { width: 22px; height: 22px; }
.ma-carte-depliant__question::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315233B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s, background-color .25s;
}
.ma-carte-depliant[open] .ma-carte-depliant__question { border-radius: var(--rayon) var(--rayon) 0 0; }
.ma-carte-depliant[open] .ma-carte-depliant__question::after { background-color: var(--sable); transform: rotate(45deg); }
.ma-carte-depliant[open] .ma-carte { border-radius: 0 0 var(--rayon) var(--rayon); }
.ma-carte-depliant[open] .ma-carte-depliant__sous { display: none; }
@media (min-width: 640px) {
  /* Une fois ouvert par le script, le dépliant se fond dans la page comme avant */
  .ma-carte-depliant[open] > .ma-carte-depliant__question { display: none; }
  .ma-carte-depliant[open] .ma-carte { border-radius: var(--rayon); }
}

/* Offres et prix --------------------------------------------------------- */
.section--store { padding-top: calc(var(--espace-section) + 36px); }
.store--section { position: absolute; inset: 0 0 auto 0; --l: 30px; --h: 12px; --barre: 7px; }
@media (min-width: 768px) { .store--section { --l: 44px; --h: 16px; --barre: 8px; } }

.formules { display: grid; gap: 20px; }
.formule {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.formule h3 { font-size: 1.625rem; }
.formule__pour { margin-top: 6px; color: var(--gris); }
.formule__prix {
  display: grid;
  justify-items: start;
  gap: 2px;
  margin: 22px 0 24px;
  padding: 20px 0;
  border-block: 1px solid var(--ligne);
}
.formule__des {
  color: var(--gris);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.formule__montant {
  padding: 0 .06em;
  background: linear-gradient(transparent 62%, var(--sable) 62% 90%, transparent 90%);
  font-family: var(--f-titre);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.formule__unite { font-size: 1.25rem; letter-spacing: 0; }
.formule__max { color: var(--gris); font-size: .9375rem; }
.formule__abo { margin-top: 6px; font-weight: 700; font-size: .9375rem; }
.coches { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.coches li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.coches .icone {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--opale);
  color: var(--blanc);
  stroke-width: 2.8;
}
.coches__exemple { margin-top: -6px; padding-left: 32px; color: var(--gris); font-size: .9375rem; }
.coches__option { padding-left: 32px; color: var(--gris); font-size: .9375rem; }
.formule .bouton { width: 100%; margin-top: auto; }

@media (max-width: 959px) { .formules { max-width: 560px; margin-inline: auto; } }
@media (min-width: 960px) { .formules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.abonnement {
  display: grid;
  gap: 24px;
  margin-top: 20px;
  padding: 28px;
  border-radius: var(--rayon);
  background: var(--encre);
  color: var(--blanc);
}
.abonnement h3 { font-size: 1.375rem; }
.abonnement__texte p { margin-top: 6px; color: rgba(255, 255, 255, .78); }
.abonnement__liste {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  list-style: none;
}
.abonnement__liste li { display: flex; align-items: flex-start; gap: 12px; }
.abonnement__liste li > span { color: rgba(255, 255, 255, .78); font-size: .9375rem; line-height: 1.45; }
.abonnement__liste strong { display: block; margin-bottom: 2px; color: var(--blanc); font-size: 1rem; }
.sans-coupure { white-space: nowrap; }
.abonnement__liste .icone { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--opale-clair); }
.abonnement__prix { display: grid; }
.abonnement__montant {
  color: var(--sable);
  font-family: var(--f-titre);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
  white-space: nowrap;
}
.abonnement__unite { color: rgba(255, 255, 255, .78); font-size: .9375rem; }
.abonnement__des {
  color: rgba(255, 255, 255, .7);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.abonnement__sortie {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--rayon-sm);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .78);
  font-size: .9375rem;
}
.abonnement__sortie strong { color: var(--blanc); }
.abonnement__sortie .icone { flex: none; width: 22px; height: 22px; color: var(--opale-clair); }

@media (max-width: 959px) { .abonnement { max-width: 560px; margin-inline: auto; } }
@media (min-width: 960px) {
  .abonnement { grid-template-columns: 1fr auto; gap: 28px 48px; padding: 32px 40px; }
  .abonnement__prix { align-self: center; justify-items: end; text-align: right; }
  .abonnement__liste,
  .abonnement__sortie { grid-column: 1 / -1; }
  .abonnement__liste { grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 28px; }
}

.conditions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.conditions li { display: flex; align-items: center; gap: 10px; color: var(--gris); }
.conditions strong { color: var(--encre); }
.conditions .icone { width: 22px; height: 22px; color: var(--opale); }
.mention-tva { margin-top: 14px; color: var(--gris); font-size: .875rem; text-align: center; }

@media (max-width: 959px) {
  .conditions { flex-direction: column; align-items: flex-start; max-width: 560px; margin-inline: auto; }
}

/* Comment ça marche ------------------------------------------------------ */
.etapes { display: grid; gap: 36px; margin: 0; padding: 0; list-style: none; }
.etape { position: relative; }
.etape__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--encre);
  box-shadow: 0 0 0 6px var(--blanc);
  color: var(--blanc);
  font-family: var(--f-titre);
  font-weight: 800;
  font-size: 1.5rem;
}
.etape:last-child .etape__num { background: var(--opale); }
.etape h3 { margin-top: 20px; font-size: 1.3125rem; letter-spacing: -.015em; }
.etape p { margin-top: 8px; color: var(--gris); }

@media (min-width: 640px) { .etapes { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; } }
@media (min-width: 960px) {
  .etapes { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .etape:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 70px;
    right: -18px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--ligne-forte) 0 8px, transparent 8px 14px);
  }
}

/* Réalisations ----------------------------------------------------------- */
.projets { display: grid; gap: clamp(64px, 8vw, 104px); }
.projet { display: grid; gap: 28px; align-items: center; }
.projet__media { position: relative; padding: 0 9% 13% 0; }

.navigateur {
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre-forte);
}
.navigateur__barre {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--ligne);
}
.navigateur__points { display: flex; gap: 6px; }
.navigateur__points i { width: 10px; height: 10px; border-radius: 50%; background: #D5DBE3; }
.navigateur__url {
  flex: 1;
  min-width: 0;
  max-width: 340px;
  margin-inline: auto;
  padding: 3px 12px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--brume);
  color: var(--gris);
  font-weight: 700;
  font-size: .75rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navigateur__ecran { position: relative; background: var(--encre); }
.projet__video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.video-bouton {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 35, 59, .75);
  color: var(--blanc);
  cursor: pointer;
  transition: background-color .2s;
}
.video-bouton:hover { background: var(--encre); }
.video-bouton .icone { width: 18px; height: 18px; }

.projet__mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  border: 5px solid var(--encre);
  border-radius: 18px;
  background: var(--encre);
  box-shadow: var(--ombre-forte);
}

.projet__tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(14, 116, 128, .1);
  color: var(--opale-fonce);
  font-weight: 700;
  font-size: .8125rem;
}
.projet__tag--fictif { background: var(--sable-pale); color: #6B4E00; }
.projet__texte h3 { margin-top: 14px; font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); }
.projet__lieu { margin-top: 4px; color: var(--gris); font-weight: 700; font-size: .9375rem; }
.projet__lieu + p { margin-top: 14px; }
.projet__points { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.projet__points li { display: flex; gap: 10px; color: var(--gris); line-height: 1.5; }
.projet__points li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: .55em;
  border-radius: 2px;
  background: var(--sable);
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--sable);
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
}
.lien-fleche .icone { width: 18px; height: 18px; transition: transform .2s; }
.lien-fleche:hover { color: var(--opale); }
.lien-fleche:hover .icone { transform: translateX(3px); }

@media (max-width: 599px) {
  .projet__mobile { border-width: 4px; border-radius: 13px; }
  .video-bouton { left: 8px; bottom: 8px; width: 36px; height: 36px; }
}
@media (min-width: 960px) {
  .projet { grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .projet--inverse { grid-template-columns: 1fr 1.35fr; }
  .projet--inverse .projet__media { order: 2; }
}

/* Démos de vitrines */
.demos {
  margin-top: clamp(72px, 9vw, 112px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--ligne);
}
.demos__entete { max-width: 680px; margin-bottom: 36px; }
.demos__entete h3 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); letter-spacing: -.025em; }
.demos__entete p { margin-top: 12px; color: var(--gris); font-size: 1.0625rem; }
.demos__liste { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.telephone--demo { width: 100%; max-width: 250px; margin-inline: auto; }
.telephone--demo .telephone__ecran { aspect-ratio: 9 / 18; border-width: 8px; border-radius: 30px; }
.telephone--demo .telephone__ecran::before { top: 6px; height: 15px; }
.demos__legende {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 20px;
  color: var(--gris);
  font-size: .9375rem;
  line-height: 1.5;
}
.demos__legende strong { color: var(--encre); }
.demos__legende .lien-fleche { margin-top: 2px; }
/* Démo en ligne : une vraie capture, cliquable, à la place du mini-site dessiné */
.telephone__lien { display: block; height: 100%; }
.telephone__lien img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (max-width: 959px) {
  /* Carrousel horizontal sur téléphone et tablette */
  .demos__liste {
    grid-auto-flow: column;
    grid-auto-columns: min(250px, 74%);
    gap: 20px;
    margin-inline: calc(-1 * var(--gouttiere));
    padding: 6px var(--gouttiere) 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gouttiere);
    scrollbar-width: thin;
  }
  .demos__item { scroll-snap-align: start; }
}
@media (min-width: 960px) {
  .demos__liste { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
}
@media (min-width: 1100px) {
  .demos__liste { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

/* Questions fréquentes --------------------------------------------------- */
.faq__grille { display: grid; gap: 32px; }
.faq__liste { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--f-titre);
  font-weight: 800;
  font-size: 1.1875rem;
  line-height: 1.25;
  letter-spacing: -.01em;
  list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brume) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315233B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s, background-color .25s;
}
.faq summary:hover { color: var(--opale); }
.faq details[open] summary::after { background-color: var(--sable); transform: rotate(45deg); }
.faq__reponse { max-width: 62ch; padding-bottom: 24px; color: var(--gris); }
.faq__reponse p + p { margin-top: 10px; }

@media (min-width: 960px) {
  .faq__grille { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--entete-h) + 32px); }
}

/* Contact ---------------------------------------------------------------- */
.contact__grille { display: grid; gap: 40px; }
.contact__mot {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--rayon);
  background: rgba(255, 255, 255, .05);
}
.contact__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sable);
  color: var(--encre);
  font-family: var(--f-titre);
  font-weight: 800;
  font-size: 1.125rem;
}
.contact__mot p { color: rgba(255, 255, 255, .8); line-height: 1.6; }
.contact__mot strong { display: block; margin-bottom: 2px; color: var(--blanc); }
.contact__direct { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact__direct li { display: flex; align-items: center; gap: 14px; }
.contact__icone {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--rayon);
  background: rgba(255, 255, 255, .08);
  color: var(--opale-clair);
}
.contact__libelle { display: block; color: rgba(255, 255, 255, .72); font-size: .875rem; }
.contact__direct a { color: var(--blanc); font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.contact__direct a:hover { color: var(--sable); }

.formulaire {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 16px;
  background: var(--blanc);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  color: var(--encre);
}
.champs-ligne { display: grid; gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 700; font-size: .9375rem; }
.requis { color: var(--opale); }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--ligne-forte);
  border-radius: var(--rayon-sm);
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 130px; line-height: 1.5; resize: vertical; }
.champ select {
  padding-right: 44px;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315233B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--opale);
  box-shadow: 0 0 0 4px rgba(14, 116, 128, .18);
}
.champ input:user-invalid,
.champ textarea:user-invalid { border-color: #B42318; }
.champ ::placeholder { color: #687385; opacity: 1; }

.case { display: flex; align-items: flex-start; gap: 12px; color: var(--gris); font-size: .9375rem; line-height: 1.5; }
.case input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--opale); cursor: pointer; }
.case a { font-weight: 700; }
.formulaire__envoyer { width: 100%; }
.formulaire__note { color: var(--gris); font-size: .875rem; text-align: center; }

@media (min-width: 640px) { .champs-ligne { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .contact__grille { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
}

/* Pied de page ----------------------------------------------------------- */
.pied {
  padding: 64px 0 28px;
  background: var(--encre-profond);
  color: rgba(255, 255, 255, .78);
  font-size: .9375rem;
}
.pied__grille { display: grid; gap: 36px; }
.pied__marque img { width: 210px; height: auto; }
.pied__marque p { max-width: 34ch; margin-top: 16px; }
.pied__titre {
  margin-bottom: 14px;
  color: var(--blanc);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pied ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pied a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.pied a:hover { color: var(--sable); text-decoration: underline; }
.pied__bas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 22px;
  color: rgba(255, 255, 255, .62);
  font-size: .8125rem;
}
/* Filet aligné sur le contenu, pas sur les marges du conteneur */
.pied__bas::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gouttiere);
  right: var(--gouttiere);
  height: 1px;
  background: rgba(255, 255, 255, .12);
}
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pied--simple { padding: 28px 0; }
.pied--simple .pied__bas { margin-top: 0; padding-top: 0; }
.pied--simple .pied__bas::before { display: none; }

@media (min-width: 768px) {
  .pied__grille { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
}

/* Pages secondaires (mentions légales, confidentialité, merci, 404) ------ */
.entete--simple .entete__retour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
}
.entete--simple .entete__retour .icone { width: 18px; height: 18px; transform: scaleX(-1); }
.entete--simple .entete__retour:hover { color: var(--opale); }

.page-legale { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 104px); }
.page-legale .conteneur { max-width: calc(780px + 2 * var(--gouttiere)); }
.page-legale h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); }
.page-legale .maj { margin-top: 12px; color: var(--gris); font-size: .9375rem; }
.page-legale h2 { margin-top: 44px; font-size: 1.5rem; letter-spacing: -.015em; }
.page-legale p,
.page-legale ul,
.page-legale dl { margin-top: 12px; color: var(--gris); }
.page-legale ul { padding-left: 1.2em; }
.page-legale li + li { margin-top: 6px; }
.page-legale strong,
.page-legale dt { color: var(--encre); font-weight: 700; }
.page-legale dl { display: grid; gap: 4px 20px; }
.page-legale dd { margin: 0 0 8px; }
@media (min-width: 640px) {
  .page-legale dl { grid-template-columns: 200px 1fr; }
  .page-legale dd { margin: 0; }
}

.page-message {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--entete-h) - 160px);
  padding: 64px 0;
  text-align: center;
}
.page-message .store { width: min(320px, 80%); margin: 0 auto 32px; --l: 32px; --h: 12px; border-radius: 4px 4px 0 0; }
.page-message h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); }
.page-message p { max-width: 34em; margin: 16px auto 0; color: var(--gris); font-size: 1.125rem; }
.page-message .bouton { margin-top: 28px; }

/* Mobile : une page plus courte ------------------------------------------ */
/* Sur téléphone et tablette, formules et réalisations passent en carrousel */
.glisser { display: none; }
@media (max-width: 959px) {
  .glisser {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -12px 0 10px;
    color: var(--gris);
    font-weight: 700;
    font-size: .875rem;
  }
  .glisser .icone { width: 16px; height: 16px; color: var(--opale); }
  .formules,
  .projets,
  .demos__liste { position: relative; }
  .formules,
  .projets {
    grid-auto-flow: column;
    grid-auto-columns: min(420px, 86%);
    gap: 14px;
    max-width: none;
    margin-inline: calc(-1 * var(--gouttiere));
    padding: 6px var(--gouttiere) 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gouttiere);
    scrollbar-width: thin;
  }
  .formule,
  .projet { scroll-snap-align: start; }
  .projet {
    align-content: start;
    gap: 18px;
    padding: 16px 16px 22px;
    border-radius: var(--rayon);
    background: var(--blanc);
    box-shadow: var(--ombre);
  }
  .projet__points { display: none; }
  .projet .lien-fleche { margin-top: 16px; }
  .demos { margin-top: 48px; padding-top: 40px; }
}

@media (max-width: 639px) {
  :root { --espace-section: 56px; }
  .section-entete { margin-bottom: 28px; }
  .section--store { padding-top: calc(var(--espace-section) + 24px); }

  /* Le constat */
  .probleme__grille { gap: 24px; }
  /* Le paragraphe suffit : la carte de recherche ne reste que sur grand écran */
  .probleme__texte .intro + p,
  .recherche { display: none; }

  /* Ce que vous obtenez : icône et titre, en deux colonnes */
  .benefices__grille { grid-template-columns: 1fr 1fr; gap: 10px; }
  .benefice { padding: 16px 14px; }
  .benefice__icone { width: 40px; height: 40px; margin-bottom: 12px; }
  .benefice__icone .icone { width: 22px; height: 22px; }
  .benefice h3 { font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.01em; }
  .benefice p { display: none; }
  .ma-carte-depliant { margin-top: 24px; }
  .ma-carte { gap: 28px; padding: 22px 20px 0; border-top: 1px solid var(--ligne); }
  .ma-carte .coches { gap: 9px; margin-top: 16px; margin-bottom: 0; }
  .ma-carte__visuel { height: 300px; }

  /* Formules plus serrées */
  .formule { padding: 24px 20px 20px; }
  .formule__prix { margin: 16px 0 18px; padding: 14px 0; }
  .formule__montant { font-size: 2.5rem; }
  .formule .coches { gap: 9px; margin-bottom: 22px; }

  /* Abonnement : les trois services en étiquettes, le détail reste lu à voix haute */
  .abonnement { gap: 16px; padding: 22px 20px; }
  .abonnement__liste { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
  .abonnement__liste li {
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 9px;
    border-radius: var(--rayon-sm);
    background: rgba(255, 255, 255, .08);
  }
  .abonnement__liste li > span { font-size: 0; }
  .abonnement__liste strong { margin: 0; font-size: .9375rem; }
  .abonnement__liste .icone { width: 18px; height: 18px; margin: 0; }
  .abonnement__sortie { padding: 12px 14px; }
  .conditions { gap: 8px; margin-top: 22px; }

  /* Comment ça marche : une frise verticale */
  .etapes { gap: 22px; }
  .etape { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .etape__num { grid-row: span 2; width: 44px; height: 44px; font-size: 1.25rem; }
  .etape h3 { margin-top: 9px; font-size: 1.125rem; }
  .etape p { grid-column: 2; margin-top: 4px; }

  /* Réalisations */
  .projet__lieu + p { display: none; }
  .projet__texte h3 { margin-top: 10px; font-size: 1.5rem; }
  .demos__entete { margin-bottom: 24px; }

  /* Questions */
  .faq summary { padding: 17px 0; font-size: 1.0625rem; }
}

/* Animations ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .facade .store { transform-origin: top; animation: deroule .9s cubic-bezier(.2, .9, .25, 1) .1s both; }
  .telephone--hero { animation: monte .9s cubic-bezier(.2, .9, .25, 1) .3s both; }
  .puce { animation: apparait .6s cubic-bezier(.2, .9, .25, 1) both; }
  .puce--horaires { animation-delay: .9s; }
  .puce--itineraire { animation-delay: 1.15s; }
  .curseur { transform-origin: 0 0; animation: clic 3.2s ease-in-out 1.6s infinite; }
  .recherche__saisie::after { animation: clignote 1.1s steps(1) infinite; }
  .telephone__ecran--lien { transition: translate .25s ease; }
  .telephone__ecran--lien:hover { translate: 0 -4px; }

  /* Apparition douce au défilement (classes posées par main.js) */
  .a-reveler { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .a-reveler.est-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@keyframes deroule { from { transform: scaleY(0); } }
@keyframes monte { from { opacity: 0; transform: translateY(36px); } }
@keyframes apparait { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes clic {
  0%, 62%, 100% { transform: translate(0, 0) scale(1); }
  70% { transform: translate(-1px, -1px) scale(.86); }
  78% { transform: translate(0, 0) scale(1); }
}
@keyframes clignote { 50% { opacity: 0; } }
