/* =====================================================================
   NestMe · Le Salon de la Sous-Location · funnel de test
   Maquettes de Greg (11/11/2026) : landing, étape région, page terminée.
   Mobile-first : la maquette est dessinée à 390 px, le desktop ne fait
   qu'élargir la colonne et les respirations.
   ===================================================================== */

:root {
  --violet: #5B20C4;          /* relevé sur la maquette et sur le bouton de la page actuelle */
  --violet-fonce: #4A189F;
  --violet-pale: #EFEAFC;
  --encre: #0E0B1C;
  --texte: #3D3C46;
  --texte-doux: #64636F;
  --vert: #1F7347;            /* « Terminée », « c'est possible en … » */
  --vert-icone: #1F8A52;
  --cta: #15803D;             /* le bouton, et lui seul sur la landing (choix de Marius, 11/11) : texte blanc 5,0:1 */
  --cta-fonce: #116B33;
  --fond: #FFFFFF;
  --fond-doux: #F6F6FC;       /* fond des pages d'étape */
  --fond-bleu: #EEF2FB;       /* sections alternées */
  --ligne: #E3E3EE;
  --ligne-forte: #CFCFDC;
  --sourcer-fond: #FDE6C8;    /* les trous de la maquette, à remplir */
  --sourcer-bord: #E2A964;
  --sourcer-texte: #6E4518;
  --rayon: 14px;
  --largeur: 620px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong { font-weight: 700; color: var(--encre); }

.wrap { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }

h1 {
  font-size: clamp(28px, 7.6vw, 42px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--encre);
  text-wrap: balance;
}
h2 {
  font-size: clamp(22px, 5.9vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--encre);
  margin-bottom: 18px;
  text-wrap: balance;
}
.violet { color: var(--violet); }
.vert { color: var(--vert); }

/* --- Bouton d'action ------------------------------------------------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--cta);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px -14px rgba(21, 128, 61, .7);
  transition: background-color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.cta:hover { background: var(--cta-fonce); }
.cta:active { transform: translateY(1px); }
.cta + .cta-note { margin-top: 10px; }
.cta-note { font-size: 14px; font-weight: 500; color: var(--texte-doux); text-align: center; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.cta:focus-visible { outline-color: var(--encre); }

/* --- Sections -------------------------------------------------------- */
.bloc { padding: 64px 0; }
.bloc--bleu { background: var(--fond-bleu); }
.bloc .cta { margin-top: 26px; }

.carte {
  background: var(--fond);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
}

/* Ce que la maquette laisse en blanc : visible, jamais déguisé en donnée */
.a-sourcer {
  display: inline-block;
  padding: 3px 9px;
  border: 1px dashed var(--sourcer-bord);
  border-radius: 6px;
  background: var(--sourcer-fond);
  color: var(--sourcer-texte);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.4;
  vertical-align: middle;
}

/* =====================================================================
   LANDING
   ===================================================================== */
.hero { padding: 22px 0 40px; background: linear-gradient(180deg, var(--fond-doux) 0%, var(--fond) 70%); }
.surtitre { margin-bottom: 14px; color: var(--violet); font-size: 14px; font-weight: 700; line-height: 1.4; }
.hero h1 em { font-style: normal; color: var(--violet); }
.lead { margin-top: 20px; font-size: 16.5px; line-height: 1.55; color: var(--texte); }
.hero .cta { margin-top: 30px; }

.hote { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.hote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--fond-bleu); }
.hote p { font-size: 14px; line-height: 1.4; color: var(--texte-doux); }
.hote strong { display: block; font-size: 15px; }

/* Acheter ou sous-louer */
.intro-table { margin: -4px 0 14px; font-size: 16px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 12px; text-align: left; vertical-align: middle; }
.compare thead th, .compare thead td { padding-top: 16px; padding-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--texte-doux); }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--ligne); }
.compare tbody th { font-weight: 500; color: var(--texte); }
.compare .nous { color: var(--violet); font-weight: 800; }
.compare thead .nous { color: var(--violet); }
.compare tbody tr:first-child th, .compare tbody tr:first-child td { border-top: 1px solid var(--ligne); }
.mention { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--texte-doux); }

/* Trois étapes numérotées */
.etapes { display: grid; gap: 14px; counter-reset: etape; }
.etapes li {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  color: var(--encre);
  font-weight: 500;
}
.etapes li::before, .liste-num li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}



/* Trois chiffres */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.stats li {
  padding: 16px 8px 14px;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: var(--fond-bleu);
  text-align: center;
}
.stats strong {
  display: block;
  color: var(--violet);
  font-size: clamp(19px, 5.4vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.stats span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--texte-doux); }
.source { margin-top: 14px; font-size: 14px; color: var(--texte-doux); }

/* Coches « pour toi si » */
.coches { display: grid; gap: 12px; }
.coches li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--encre);
}
.coches li::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--violet-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B20C4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Liste numérotée dans une carte (programme, conditions) */
.liste-num { counter-reset: etape; padding: 4px 16px; }
.liste-num li {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--encre);
  font-weight: 500;
}
.liste-num li + li { border-top: 1px solid var(--ligne); }
.liste-num li::before { width: 28px; height: 28px; font-size: 13px; }

/* Témoignages */
.temoins { display: grid; gap: 12px; }
.temoin { padding: 18px 18px 20px; }
.temoin figcaption { line-height: 1.35; }
.temoin figcaption strong { display: block; font-size: 16px; }
.temoin figcaption span { display: block; margin-top: 2px; font-size: 14px; color: var(--texte-doux); }
.temoin blockquote { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--encre); }

/* Pied de page */
.pied { padding: 34px 0 40px; text-align: center; }
.pied p { max-width: 470px; margin-left: auto; margin-right: auto; font-size: 14px; line-height: 1.55; color: var(--texte-doux); }
.pied p + p { margin-top: 12px; }
.pied .liens span + span::before { content: " · "; }

/* Itération 3 : date, bonus sous le bouton, cas vedette, objections, rappel de clôture */
.direct {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #E5383B;
  vertical-align: 1px;
  animation: pouls 1.8s ease-in-out 2;  /* 3,6 s puis arrêt : WCAG 2.2.2, rien ne bouge plus de 5 s */
}
@keyframes pouls { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 56, 59, .45); } 50% { box-shadow: 0 0 0 5px rgba(229, 56, 59, 0); } }
.cta { flex-direction: column; gap: 3px; }
.cta__sous { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cta-note { line-height: 1.5; }
.bloc--bleu .stats li { background: var(--fond); }

.temoin--vedette { border: 2px solid var(--violet); box-shadow: 0 14px 30px -20px rgba(91, 32, 196, .55); }
.vedette__chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; padding: 12px 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.vedette__chiffres li { padding: 0 8px; }
.vedette__chiffres li:first-child { padding-left: 0; }
.vedette__chiffres li + li { border-left: 1px solid var(--ligne); }
.vedette__chiffres strong { display: block; color: var(--violet); font-size: clamp(19px, 5.4vw, 24px); font-weight: 800; line-height: 1.15; }
.vedette__chiffres span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.3; color: var(--texte-doux); }
.temoin blockquote cite { display: block; margin-top: 4px; font-size: 14px; font-style: normal; color: var(--texte-doux); }

.objections { display: grid; gap: 12px; }
.objection { padding: 18px; }
.objection h3 { font-size: 17px; font-weight: 800; line-height: 1.35; color: var(--encre); }
.objection p { margin-top: 8px; font-size: 16px; line-height: 1.55; }

.rappel { margin-top: 20px; padding: 18px; border-left: 4px solid var(--violet); }
.rappel p { font-size: 16px; line-height: 1.55; }
.rappel p + p { margin-top: 8px; }
.rappel__date { display: flex; align-items: center; gap: 10px; color: var(--encre); }
.rappel__date svg { width: 22px; height: 22px; flex: none; color: var(--violet); }
.rappel__date strong { font-size: 18px; }
.pied { border-top: 1px solid var(--ligne); }

/* =====================================================================
   FENÊTRE D'INSCRIPTION (étape 1)
   ===================================================================== */
.inscription {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--fond-doux);
  color: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.inscription::backdrop { background: rgba(14, 11, 28, .55); }
.inscription[open] { animation: monte .22s ease-out; }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.fermer {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px -12px -10px 4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--encre);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.fermer:hover { background: rgba(14, 11, 28, .06); }

/* =====================================================================
   PAGES D'ÉTAPE (région, terminée) : en-tête de progression commun
   ===================================================================== */
.page-etape { background: var(--fond-doux); }
.progression { padding: 16px 0 14px; background: var(--fond-bleu); }
.progression__ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--encre);
}
.progression__reste { color: var(--violet); }
.progression__fin { color: var(--vert); }
.progression__droite { display: flex; align-items: center; gap: 4px; }
.barre { height: 6px; margin-top: 10px; border-radius: 99px; background: #DCD8F0; overflow: hidden; }
.barre span { display: block; height: 100%; border-radius: inherit; background: var(--violet); }

.etape { padding-top: 26px; padding-bottom: 48px; }
.reserve {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--vert);
}
.reserve svg { flex: none; width: 24px; height: 24px; }
.etape h1 { font-size: clamp(27px, 7.4vw, 38px); }
.etape .lead { margin-top: 14px; font-size: 17px; }

/* Formulaires */
.form { display: grid; gap: 18px; }
.form__consigne { margin-top: 22px; font-size: 16.5px; font-weight: 700; color: var(--encre); line-height: 1.45; }
.champ { display: grid; gap: 7px; }
.champ label { font-size: 14px; font-weight: 700; color: var(--encre); }
.champ label span { font-weight: 500; color: var(--texte-doux); }
.champ input, .champ select {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--ligne-forte);
  border-radius: 12px;
  background: var(--fond);
  color: var(--encre);
  font: inherit;
  font-size: 17px;            /* 16 px minimum : iOS ne zoome pas sur le champ */
  appearance: none;
  -webkit-appearance: none;
}
.champ select {
  padding-right: 44px;
  background: var(--fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0B1C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
  cursor: pointer;
}
.champ input:focus, .champ select:focus { border-color: var(--violet); outline: 3px solid rgba(91, 32, 196, .18); outline-offset: 0; }
.champ [aria-invalid="true"] { border-color: #B42318; }
.aide { font-size: 14px; line-height: 1.45; color: var(--texte-doux); }
.erreur { font-size: 14px; font-weight: 600; color: #B42318; }
.erreur:empty { display: none; }
.form .cta { margin-top: 6px; }
.note-test { font-size: 14px; text-align: center; color: var(--texte-doux); }

/* =====================================================================
   PAGE TERMINÉE
   ===================================================================== */
.chip {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--fond-bleu);
  color: var(--encre);
  font-size: 13px;
  font-weight: 700;
}
.taux {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 18px 20px;
}
.taux strong { flex: none; color: var(--violet); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.taux span { font-size: 15.5px; line-height: 1.45; color: var(--texte); }
.difficile { margin-top: 18px; font-size: 16.5px; line-height: 1.5; color: var(--texte); }
.difficile strong { color: var(--violet); }

.temoin-video { overflow: hidden; }
.video-a-venir {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  aspect-ratio: 16 / 10;
  padding: 20px;
  background: #E4E4F2;
  color: var(--texte-doux);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}
.video-a-venir .play {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 10px 24px -10px rgba(91, 32, 196, .8);
}
.video-a-venir .play svg { width: 22px; height: 22px; margin-left: 4px; }
.temoin-video figcaption { padding: 18px 18px 20px; }
.temoin-video figcaption strong { display: block; font-size: 17px; }
.temoin-video figcaption span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--texte-doux); }
.temoin-video blockquote { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--encre); }

.verdict { padding-top: 24px; background: var(--fond); }
.villes p { font-size: 16.5px; line-height: 1.55; }
.cta--agenda { margin-top: 22px; padding-left: 14px; padding-right: 14px; font-size: 16px; }
.agendas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.agendas a {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px;
  border: 1px solid var(--ligne-forte);
  border-radius: 12px;
  background: var(--fond);
  color: var(--encre);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.agendas a:hover { border-color: var(--violet); color: var(--violet); }

.whatsapp {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 22px;
  padding: 18px;
}
.whatsapp__icone { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--vert-icone); }
.whatsapp__icone svg { width: 20px; height: 20px; }
.whatsapp strong { display: block; font-size: 16.5px; line-height: 1.3; }
.whatsapp p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--texte); }
.whatsapp .a-sourcer { margin-top: 8px; }

/* =====================================================================
   DESKTOP : la colonne s'élargit à peine, les respirations grandissent
   ===================================================================== */
@media (min-width: 640px) {
  .inscription {
    width: min(520px, calc(100% - 48px));
    height: auto;
    max-height: calc(100% - 48px);
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px -30px rgba(14, 11, 28, .6);
  }
  .inscription .progression { border-radius: 20px 20px 0 0; }
}
@media (min-width: 768px) {
  .bloc { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 18px; }
  .cta { font-size: 18px; min-height: 62px; }
  .stats li { padding: 22px 12px 18px; }
  .etape { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.vedette__calcul { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--texte-doux); }

/* Itération 4 : chiffres sous Mathieu, visages des témoignages */
.hote__chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; padding: 14px 0 0; border-top: 1px solid var(--ligne); }
.hote__chiffres li { padding: 0 10px; }
.hote__chiffres li:first-child { padding-left: 0; }
.hote__chiffres li + li { border-left: 1px solid var(--ligne); }
.hote__chiffres strong { display: block; color: var(--violet); font-size: clamp(20px, 5.6vw, 26px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.hote__chiffres span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--texte-doux); }

/* Itération 6 : le relevé du mois remplace le graphe (une ligne par étape, le net en vert) */
.releve { margin: 0; padding: 4px 18px 16px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--fond); box-shadow: 0 18px 40px -30px rgba(14, 11, 28, .45); }
.releve__tete { padding: 12px 0 10px; border-bottom: 1px solid var(--ligne); font-size: 14px; font-weight: 700; color: var(--texte-doux); }
.releve__ligne { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.releve__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 13px; font-weight: 800; }
.releve__quoi strong { display: block; color: var(--encre); font-size: 16px; line-height: 1.4; }
.releve__quoi span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--texte-doux); }
.releve__montant { white-space: nowrap; text-align: right; color: var(--encre); font-size: 17px; font-weight: 800; line-height: 1.3; }
.releve__montant--plus { color: var(--violet); }
.releve__ligne--charges .releve__quoi { grid-column: 2; }
.releve__ligne--charges strong, .releve__ligne--charges .releve__montant { color: var(--texte-doux); font-weight: 700; }
.releve__ligne--total { align-items: center; margin-top: -1px; padding-bottom: 4px; border-top: 2px solid var(--encre); border-bottom: 0; }
.releve__ligne--total .releve__num { background: var(--encre); }
.releve__montant--net { color: var(--encre); font-size: 28px; line-height: 1; }
.releve__montant--net small { display: block; margin-top: 3px; font-size: 14px; font-weight: 700; }
.releve__note { max-width: 470px; margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--texte-doux); }
.releve + .stats { margin-top: 18px; }

.temoin__photo { display: block; width: calc(100% + 36px); max-width: none; height: auto; margin: -18px -18px 16px; border-radius: 12px 12px 0 0; aspect-ratio: 2 / 1; object-fit: cover; }
.temoin__tete { display: flex; align-items: center; gap: 14px; }
.temoin__tete img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; background: var(--fond-bleu); }
.temoin__qui { display: block; }

/* Itération 10 : la page aérée (Aurel). Montserrat garde les titres, les chiffres et les boutons ; Inter porte le texte courant */
h1, h2, h3, .cta, .surtitre, .hote strong, .temoin figcaption strong, .hote__chiffres strong, .stats strong,
.vedette__chiffres strong, .releve__montant, .releve__num, .promesse strong, .taux strong, .rappel__date strong,
.compare .nous, .liste-num li::before { font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif; }
.promesse { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.promesse strong { flex: none; font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.promesse span { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--texte); }
.cta-note strong { font-weight: 700; }
.hote-carte { margin-top: 40px; padding: 16px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--fond-doux); }
.hote-carte .hote { margin-top: 0; }
.hote-carte .hote__chiffres { margin-top: 14px; padding-top: 12px; }
.temoin blockquote strong { font-weight: 700; }
/* Retouches au rendu (375 px) : la petite ligne du bouton en Inter tient sur une ligne à 14 px (278 px pour 291),
   les libellés de Mathieu sur deux lignes au plus, et moins de blanc entre le fold et la section suivante */
.cta__sous { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.hote-carte { padding: 14px; }
.hote-carte .hote__chiffres { grid-template-columns: auto minmax(0, 1.15fr) minmax(0, 1fr); }
.hote-carte .hote__chiffres li { padding: 0 8px; }
.hote-carte .hote__chiffres li:first-child { padding-left: 0; }
.hote-carte .hote__chiffres li:last-child { padding-right: 0; }
.hero { padding-bottom: 8px; }
@media (min-width: 768px) { .hero { padding-bottom: 16px; } }

/* +2 400 € empilé (variante B choisie par Marius) : la phrase descend d'un bloc, chiffre puis libellé, tout aligné à gauche */
.promesse { display: block; margin-top: 6px; }
.promesse strong { display: block; font-size: 42px; line-height: 1.05; }
.promesse span { display: block; margin-top: 2px; font-size: inherit; font-weight: 600; line-height: 1.4; color: var(--encre); }
@media (min-width: 768px) { .promesse strong { font-size: 48px; } }

/* « évaluations à 4,5/5 » : la première colonne passe sur deux lignes, les deux autres gardent la place de leurs libellés */
.hote-carte .hote__chiffres { grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr) minmax(0, 1fr); }

/* Itération 13 : l'étoile de la note, et plus d'air entre le +2 400 € et le bouton */
.hote__chiffres .note { display: inline; margin: 0; white-space: nowrap; }
.etoile { display: inline-block; width: 1em; height: 1em; margin-left: 3px; vertical-align: -0.14em; fill: #F5A524; }
.hero .cta { margin-top: 40px; }
/* La consigne du formulaire région est retirée (12/11) : l'espace qu'elle créait passe sur le formulaire */
#form-region { margin-top: 28px; }

/* Itération 14 : la ville envoyée à Léa sur WhatsApp, au-dessus de l'encadré du taux */
.envoi-ville { margin-top: 22px; }
.envoi-ville .champ label { font-size: 17px; line-height: 1.4; }
.envoi-ville__ligne { display: flex; gap: 8px; }
.envoi-ville__ligne input { flex: 1; min-width: 0; }
.envoi-ville .cta--whatsapp { flex: none; width: auto; min-height: 54px; margin-top: 0; padding: 0 18px; flex-direction: row; gap: 8px; font-size: 16px; }
.cta--whatsapp svg { width: 20px; height: 20px; flex: none; }
.envoi-ville .a-sourcer { margin-top: 10px; }
.envoi-ville .a-sourcer[hidden] { display: none; }
/* Sans la section bleue des 4 conditions, le verdict et le témoignage (tous deux blancs) se suivent : un seul espace entre eux */
.verdict { padding-bottom: 8px; }
@media (min-width: 768px) { .verdict { padding-bottom: 16px; } }
/* Le bloc ville passe sous l'encadré du taux (Marius, 12/11) */
.taux + .envoi-ville { margin-top: 26px; }
/* Itération 16 : l'envoi de la ville dans la section du bas, entre le titre et la phrase de Mathieu */
.villes .envoi-ville { margin-top: 0; }
.villes .envoi-ville + p { margin-top: 22px; }
.villes .erreur { font-size: 14px; }
.villes .a-sourcer { font-size: 12px; }
/* « Je rejoins les Coulisses en ligne » : 285 px pour 291 à 375 px, une ligne ; à 320 px il passe sur deux lignes, même à 16 px (mesuré le 12/11) */
.insecable { white-space: nowrap; }   /* « Sous-Location » ne se coupe pas au trait d'union (surtitre à 320 px) */

/* Itération 19 : « Mathieu te dévoile : » sur sa ligne, et le sous-titre des 3 chiffres sous le relevé */
.h1__intro { display: block; }
.releve { padding-top: 6px; }
.sous-titre { margin-top: 40px; color: var(--encre); font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.sous-titre + .stats { margin-top: 14px; }

/* Itération 20 : le net sur la fiche, l'initiale quand il n'y a pas de photo, et le bloc « Et encore plein d'autres… » */
.temoin__gain { font-weight: 700; color: var(--encre); white-space: nowrap; }
.temoin .temoin__initiale { margin: 0; display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--violet-pale); color: var(--violet-fonce); font-family: Montserrat, system-ui, sans-serif; font-size: 26px; font-weight: 800; }
.autres { margin-top: 16px; padding: 20px 18px; text-align: center; background: var(--fond-doux); }
.autres__titre { font-family: Montserrat, system-ui, sans-serif; font-size: 18px; font-weight: 800; color: var(--encre); }
.autres__visages { display: flex; justify-content: center; margin-top: 14px; padding-left: 12px; }
.autres__visages li { margin-left: -12px; }
.autres__visages img, .autres__plus { width: 52px; height: 52px; border: 3px solid var(--fond-doux); border-radius: 50%; object-fit: cover; background: var(--fond-bleu); }
.autres__plus { display: grid; place-items: center; background: var(--violet); color: #fff; font-family: Montserrat, system-ui, sans-serif; font-size: 14px; font-weight: 800; }
.autres__texte { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--texte); }
.temoin__qui > span { line-height: 1.45; }   /* la ligne d'informations passe sur 3 lignes avec le montant net : 1,4 minimum */

/* « L'atelier en ligne est pour toi si… » : un bloc de la section du programme, sous le dernier bouton */
.pour-toi { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ligne); }
.pour-toi h3 { margin-bottom: 16px; color: var(--encre); font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
/* Page de fin : la phrase de Mathieu passe entre le titre et le champ ville (Marius, 12/11) */
.villes h2 + p + .envoi-ville { margin-top: 22px; }

/* Itération 21 : la vidéo du témoin (vignette, puis lecteur Wistia au clic) */
.temoin-video .video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #14112B; }
.temoin-video .video[hidden] { display: none; }
.temoin-video .video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.temoin-video .video .play { position: absolute; inset: 0; display: grid; place-items: center; width: 64px; height: 64px; margin: auto; border-radius: 50%; background: var(--violet); box-shadow: 0 10px 30px -8px rgba(20, 17, 43, .7); }
.temoin-video .video .play svg { width: 24px; height: 24px; margin-left: 4px; }
.temoin-video .video:hover .play, .temoin-video .video:focus-visible .play { background: var(--violet-fonce); }
.temoin-video .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Focus de la vignette vidéo : le violet seul faisait 1,27:1 sur l'image sombre (1.4.11). Double anneau blanc et encre, visible sur toute image */
.temoin-video .video:focus-visible { outline: 3px solid #fff; outline-offset: -3px; box-shadow: inset 0 0 0 6px var(--encre); border-radius: 0; }

/* Itération 22 (Marius, 12/11) */
/* Landing : « pour toi si… » entre le rappel et le dernier bouton, sans le filet qui suivait le bouton */
.rappel + .pour-toi { margin-top: 32px; padding-top: 0; border-top: 0; }
.pour-toi + .cta { margin-top: 32px; }

/* Page de fin : l'envoi de la ville, entre le chiffre de la région et le témoin */
.envoi { margin-top: 28px; padding: 22px 18px; }
.envoi h2 { font-size: 21px; line-height: 1.3; }
.envoi .envoi-ville { margin-top: 18px; }
.envoi .erreur { font-size: 14px; }
.envoi .a-sourcer { font-size: 12px; }
.envoi__note { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--texte); }
@media (min-width: 768px) { .envoi { padding: 28px; } .envoi h2 { font-size: 24px; } }

/* Page de fin : le carrousel des appartements, qui défile doucement et se met en pause */
.defile { overflow: hidden; }
.defile__piste { display: flex; width: max-content; }
.defile__liste { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.defile__liste img { display: block; width: auto; height: 220px; border-radius: 12px; background: var(--fond); }
@media (min-width: 768px) { .defile__liste img { height: 260px; } }
@media (prefers-reduced-motion: no-preference) {
  .defile__piste { animation: defile 80s linear infinite; }
  .defile.est-en-pause .defile__piste { animation-play-state: paused; }
}
@keyframes defile { to { transform: translateX(-50%); } }
/* Mouvement réduit : pas de défilement automatique, la bande se fait glisser au doigt et le bouton n'a plus lieu d'être */
@media (prefers-reduced-motion: reduce) {
  .defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .defile__liste[aria-hidden="true"], .defile__pause { display: none; }
}
.defile__pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; padding: 0 14px; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; color: var(--encre); font: 600 14px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.defile__pause svg { width: 16px; height: 16px; }
.defile__pause .i-lecture { display: none; }
.defile__pause[data-en-pause] .i-pause { display: none; }
.defile__pause[data-en-pause] .i-lecture { display: inline; }
.defile__pause:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Itération 23 : l'encadré de la région porte la rentabilité moyenne ; texte à 16 px, la phrase est plus longue */
.taux span { font-size: 16px; }

/* Itération 24 : le carrousel est une sous-section du témoin, sous la carte, avec un sous-titre */
.biens { margin-top: 44px; }
.biens .sous-titre { margin: 0 0 18px; }

/* Itération 25 : toutes les photos au même format 4:5. La vitesse suit le nombre de photos (--photos, posé dans
   le HTML) : 8 s par photo, soit environ 26 px/s sur mobile, quel que soit le nombre de photos ajoutées. */
.defile__liste img { width: 200px; height: 250px; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 768px) { .defile__liste img { width: 240px; height: 300px; } }
@media (prefers-reduced-motion: no-preference) {
  .defile__piste { animation-duration: calc(var(--photos, 10) * 8s); }
}

/* Itération 26 (Marius, 12/11) : le sous-titre du carrousel prend la taille du libellé « Ta ville » (17 px), à toutes les largeurs */
.biens .sous-titre { font-size: 17px; line-height: 1.4; }
/* Itération 27 (Marius, 12/11) : même police que « Ta ville » aussi, Inter 700, sans resserrement */
.biens .sous-titre { font-family: Inter, system-ui, sans-serif; font-weight: 700; letter-spacing: normal; }

/* Itération 28 (Marius, 12/11) : sur la landing, les 5 titres de section sont centrés
   (classique, véhicule, preuves, objections, programme). Le contenu sous chaque titre reste aligné à gauche. */
[data-page="landing"] .bloc > .wrap > h2 { text-align: center; }

/* Itération 29 (Marius, 13/11) : bandeau « Vu sur : » sous la carte de Mathieu, visible sans défiler sur téléphone.
   Pour le faire tenir dans le fold, seul l'écart entre la ligne « Gratuit · En ligne » et la carte passe de 40 à 22 px :
   l'air au-dessus du bouton (itération 13) ne bouge pas. Logos en niveaux de gris, pour qu'aucun ne prenne le pas sur le
   bouton vert ; le cartouche du Parisien reste lisible en gris. Le défilement suit l'existant (.defile) : environ 25 px/s,
   arrêté et glissable au doigt si le visiteur a demandé moins d'animations. */
.hote-carte { margin-top: 22px; }
.presse { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.presse__titre { flex: none; font-size: 13px; font-weight: 600; line-height: 1; color: var(--texte-doux); white-space: nowrap; }
.presse__fenetre { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%); }
.presse__piste { display: flex; width: max-content; }
.presse__liste { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0 28px 0 0; list-style: none; }
.presse__liste li { display: flex; align-items: center; height: 30px; }
.presse__liste img { display: block; filter: grayscale(1); opacity: .62; }
@media (prefers-reduced-motion: no-preference) {
  .presse__piste { animation: defile 30s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .presse__fenetre { overflow-x: auto; -webkit-overflow-scrolling: touch; -webkit-mask-image: none; mask-image: none; }
  .presse__liste[aria-hidden="true"] { display: none; }
}
/* Les deux logos en couleur d'origine (rouge du Figaro Immobilier, vert d'eau des Echos Entrepreneurs) sortent trop
   pâles en gris : on les fonce pour qu'ils pèsent comme les autres. */
.presse__liste img[src*="figaro-immobilier"], .presse__liste img[src*="entrepreneurs"] { filter: grayscale(1) brightness(.62); }
/* Itération 30 (Marius, 13/11) : le bouton pause du bandeau presse est retiré à sa demande. */

/* =====================================================================
   v3 (14/11) : la fiche du secteur, l'étape ville + budget, l'envoi à Léa
   ===================================================================== */
:root { --violet-nuit: #1C1238; }

/* Le cadeau, sous le 1er bouton */
.cadeau-note {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--violet-pale);
  color: var(--encre);
  font-size: 14.5px;
  line-height: 1.45;
  text-align: center;
}
.cadeau-note strong { color: var(--violet); }

/* Section du cadeau sur la landing : fond nuit, la fiche en clair dessus */
.bloc--violet { background: var(--violet-nuit); color: #DCD6F2; }
.bloc--violet h2 { color: #fff; }
.bloc--violet .bloc__intro { color: #CFC7EC; }
.etiquette {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.bloc__intro { margin: -6px 0 24px; font-size: 16.5px; line-height: 1.55; }

/* La fiche */
.fiche {
  display: grid;
  overflow: hidden;
  border-radius: 18px;
  background: var(--fond);
  color: var(--texte);
  box-shadow: 0 24px 48px -28px rgba(14, 11, 28, .55);
  border: 1px solid var(--ligne);
}
.fiche__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fond-bleu); }
.fiche__photo img { width: 100%; height: 100%; object-fit: cover; }
.fiche__statut, .fiche__plus {
  position: absolute;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
}
.fiche__statut { top: 12px; left: 12px; background: #fff; color: var(--vert); }
.fiche__plus { right: 12px; bottom: 12px; background: rgba(14, 11, 28, .72); color: #fff; font-weight: 700; }
.fiche__corps { padding: 18px 18px 20px; }
.fiche__lieu strong { display: block; font-size: 19px; line-height: 1.25; }
.fiche__lieu span { display: block; margin-top: 2px; font-size: 14px; color: var(--texte-doux); }
.fiche__chiffres { margin-top: 14px; border-top: 1px solid var(--ligne); }
.fiche__chiffres li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ligne);
  font-size: 15px;
  line-height: 1.35;
}
.flou {
  flex: none;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--violet-pale);
  color: var(--violet);
  font-size: 18px;
  font-weight: 800;
  filter: blur(6px);
  user-select: none;
  -webkit-user-select: none;
}
.fiche__verrou {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--violet-pale);
  color: var(--encre);
  font-size: 14.5px;
  line-height: 1.45;
}
.fiche__verrou svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--violet); }
@media (min-width: 560px) {
  .fiche { grid-template-columns: 44% 1fr; }
  .fiche__photo { aspect-ratio: auto; min-height: 100%; }
}

/* Étape secteur */
.alerte {
  margin-bottom: 10px;
  padding: 10px 14px;
  border-left: 4px solid #E2A964;
  border-radius: 8px;
  background: #FFF6EA;
  color: var(--sourcer-texte);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
}
.etape h1 + .form { margin-top: 26px; }
.suggest { position: relative; }
.suggest__liste {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow: hidden;
  border: 1px solid var(--ligne-forte);
  border-radius: 12px;
  background: var(--fond);
  box-shadow: 0 18px 36px -18px rgba(14, 11, 28, .35);
}
.suggest__liste li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 16px;
}
.suggest__liste li + li { border-top: 1px solid var(--ligne); }
.suggest__liste li span { font-size: 13px; color: var(--texte-doux); text-align: right; }
.suggest__liste li:hover, .suggest__liste li.est-actif { background: var(--violet-pale); }
.champ--ville label, .budget legend { font-size: 17px; line-height: 1.4; }
.budget { margin: 0; padding: 0; border: 0; min-width: 0; }
.budget legend { padding: 0; margin-bottom: 9px; font-weight: 700; color: var(--encre); }
.budget__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.budget__choix label { position: relative; display: block; cursor: pointer; }
.budget__choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.budget__choix span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--ligne-forte);
  border-radius: 12px;
  background: var(--fond);
  color: var(--encre);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: border-color .15s ease, background-color .15s ease;
}
.budget__choix input:checked + span { border-color: var(--violet); background: var(--violet-pale); color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }
.budget__choix input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.aide--centre { text-align: center; }

/* Page de fin : la fiche et l'envoi à Léa */
.bloc--fiche { padding-top: 28px; background: var(--fond); }
.bloc--fiche h2 { margin-bottom: 16px; }
.envoi-lea { margin-top: 22px; }
.bloc .envoi-lea .cta { margin-top: 0; }
.cta--whatsapp { flex-direction: column; gap: 3px; }
.cta__ligne { display: inline-flex; align-items: center; gap: 9px; }
.cta--whatsapp svg { width: 22px; height: 22px; flex: none; }
.envoi-lea__note { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--texte-doux); text-align: center; }
.envoi-lea .a-sourcer { display: table; margin: 10px auto 0; }
.envoi-lea .a-sourcer[hidden] { display: none; }

.moments { padding: 6px 18px; }
.moments li { display: flex; gap: 14px; padding: 16px 0; }
.moments li + li { border-top: 1px solid var(--ligne); }
.moments__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.moments p { font-size: 16px; line-height: 1.5; }
.pratique { margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--texte-doux); }
.pratique a { color: var(--violet); font-weight: 700; }
.relance { padding-top: 8px; padding-bottom: 48px; }
.verdict + .bloc--fiche { padding-top: 34px; }
.bloc--violet .etiquette { display: table; margin-left: auto; margin-right: auto; }
.bloc__intro { text-align: center; }
[hidden] { display: none !important; }

/* Page de fin, compacte sur mobile : la fiche et son bouton remontent */
.verdict .taux { margin-top: 16px; padding: 14px 16px; gap: 14px; }
.verdict .taux strong { font-size: 28px; }
.verdict .taux span { font-size: 14.5px; }
.bloc--fiche { padding-bottom: 48px; }
@media (max-width: 559px) { .fiche__photo { aspect-ratio: 16 / 9; } }
.barre-lea {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -10px 30px -18px rgba(14, 11, 28, .45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.barre-lea .cta { max-width: 580px; margin: 0 auto; min-height: 52px; }
body.a-barre { padding-bottom: 84px; }
