
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrole: #023c48;
  --petrole-nuit: #012630;
  --petrole-clair: #0b5a6b;
  --encre: #0d2e36;
  --encre-douce: #3f5f66;
  --fond: #f2f7f7;
  --fond-2: #e6f0f1;
  --carte: #fbfdfd;
  --blanc: #fff;
  --ligne: #d3e1e3;
  --corail: #ff7a59;
  --corail-vif: #ff8d71;
  --ciel: #8fdcec;
  --ciel-pale: #d9eff4;
  --sur-sombre: #d9e8ea;
  --sur-sombre-2: #9fbcc2;
  --erreur: #b3261e;

  --pad: clamp(20px, 6.95vw, 100px);
  --gap: clamp(16px, 1.67vw, 24px);
  --cw: min(1240px, 100% - 2 * var(--pad));
  --col: calc((var(--cw) - 11 * var(--gap)) / 12);
  --section: clamp(80px, 8.9vw, 128px);

  --r-1: 14px;
  --r-2: 24px;
  --r-3: 36px;

  --t-h1: clamp(38px, 4.3vw, 64px);
  --t-h2: clamp(32px, 3.4vw, 50px);
  --t-sous: clamp(20px, 1.6vw, 23px);
  --t-chiffre: clamp(40px, 3.75vw, 56px);
  --t-geant: clamp(64px, 7vw, 104px);
  --t-chapo: clamp(17px, 1.39vw, 20px);
  --t-texte: 17px;
  --t-petit: 15px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ombre-carte: 0 32px 64px -36px rgba(2, 60, 72, 0.45), 0 2px 6px rgba(2, 60, 72, 0.06);
  --ombre-douce: 0 18px 40px -28px rgba(2, 60, 72, 0.4), 0 1px 3px rgba(2, 60, 72, 0.06);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--petrole) var(--fond-2);
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: var(--t-texte);
  line-height: 1.55;
  color: var(--encre);
  background: var(--fond);
  caret-color: var(--corail);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ciel); color: var(--petrole-nuit); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--fond-2); }
::-webkit-scrollbar-thumb { background: var(--petrole); border-radius: 12px; border: 3px solid var(--fond-2); }

img { display: block; max-width: 100%; }
sup { line-height: 0; }
picture { display: block; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }

:focus-visible { outline: 3px solid var(--corail); outline-offset: 3px; }

.ico { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: currentColor; }
svg.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.evitement {
  position: absolute; left: var(--pad); top: -100px; z-index: 30;
  padding: 10px 16px; border-radius: 999px;
  background: var(--petrole); color: #fff; text-decoration: none; font-weight: 500;
}
.evitement:focus { top: 12px; }

.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: var(--cw); margin-inline: auto; }

.grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.h2 {
  margin: 0;
  font-weight: 600;
  font-size: var(--t-h2);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--petrole);
  text-wrap: balance;
}

.intro {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: var(--t-chapo);
  line-height: 1.5;
  color: var(--encre-douce);
  text-wrap: pretty;
}

.point { position: relative; display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--ciel-pale); }
.point::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--petrole); }


.entete { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.entete__barre { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { height: 40px; width: auto; }
.entete__actions { display: flex; align-items: center; gap: 10px; }
.entete__lieu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(251, 253, 253, 0.84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 10px 24px -16px rgba(1, 38, 48, 0.55);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--petrole);
}
.entete__lieu .ico { width: 18px; height: 18px; }


.hero { position: relative; isolation: isolate; background: var(--fond); }

.hero__grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
  min-height: clamp(720px, calc(100svh - 16px), 940px);
  padding-block: max(120px, calc((min(100svh, 980px) - 560px) / 2)) 104px;
}

.hero__texte { grid-column: 1 / span 6; margin-top: 34px; padding-right: clamp(20px, 2.2vw, 32px); }

.pastille-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 6px 16px 6px 6px;
  border-radius: 18px;
  background: var(--blanc);
  box-shadow: inset 0 0 0 1px var(--ligne), 0 10px 24px -18px rgba(2, 60, 72, 0.5);
  font-size: var(--t-petit);
  line-height: 1.3;
  color: var(--encre);
  text-wrap: balance;
}
.pastille-info b { font-weight: 600; color: var(--petrole); }
@media (min-width: 900px) {
  .pastille-info { padding: 7px 18px 7px 7px; }
  .pastille-info b { display: block; }
  .pastille-info__sep { display: none; }
}
.insecable { white-space: nowrap; }

.h1 {
  margin: 0;
  font-weight: 600;
  font-size: var(--t-h1);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--petrole);
  text-wrap: balance;
}

.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.mot > span { display: inline-block; }

.surligne {
  background-image: linear-gradient(var(--ciel), var(--ciel));
  background-repeat: no-repeat;
  background-position: 0 84%;
  background-size: 100% 0.34em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.chapo {
  margin: 26px 0 0;
  max-width: 27em;
  font-size: var(--t-chapo);
  line-height: 1.5;
  color: var(--encre-douce);
  text-wrap: pretty;
}

.faits { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.faits li { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; color: var(--encre); }
.faits__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); color: var(--petrole); }
.faits__ico .ico { width: 20px; height: 20px; }

.hero__calcul { grid-column: 7 / span 5; }

.visuel { margin: 0; }
.hero .visuel {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(50% - var(--cw) / 2 + 7 * (var(--col) + var(--gap)) - var(--gap) / 2);
  overflow: hidden;
  border-bottom-left-radius: 44px;
  background: var(--fond-2);
}
.visuel__cadre { position: absolute; inset: 0; }
.visuel__img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.visuel__img img { width: 100%; height: 100%; object-fit: cover; }
.visuel__img.est-active { opacity: 1; }
.visuel__img[data-pour="logement"] img { object-position: 52% 42%; }
.hero .visuel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 38, 48, 0.72) 0%, rgba(1, 38, 48, 0.56) 36%, rgba(1, 38, 48, 0.24) 72%, rgba(1, 38, 48, 0.08) 100%);
}

.visuel__legende {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 1;
  max-width: calc(100% - 48px);
  margin: 0;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(1, 38, 48, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}
.visuel__legende[hidden] { display: none; }
.visuel__nom { display: none; }

.carte-coque {
  position: relative;
  z-index: 1;
  padding: 8px;
  border-radius: 36px;
  background: rgba(251, 253, 253, 0.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 1px rgba(143, 220, 236, 0.35), 0 56px 110px -44px rgba(0, 18, 24, 0.85), 0 14px 36px -18px rgba(0, 18, 24, 0.5);
}
.carte-coque::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero .carte-coque::after { animation: halo 2.2s var(--ease) 1.5s 2; }
}
@keyframes halo { from { box-shadow: 0 0 0 0 rgba(143, 220, 236, 0.6); } to { box-shadow: 0 0 0 22px rgba(143, 220, 236, 0); } }

.carte {
  display: flex;
  flex-direction: column;
  padding: 24px 28px 28px;
  border-radius: 28px;
  background: var(--carte);
  color: var(--encre);
  box-shadow: inset 0 1px 0 #fff;
}

.carte__tete { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.carte__retour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--fond-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--petrole);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.4s var(--ease);
}
.carte__retour[hidden] { display: none; }
.carte__retour .ico { width: 19px; height: 19px; }
.carte__retour:hover { background: #d7e7e9; }
.carte__retour:active { transform: scale(0.97); }

.etapes { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.etapes:empty { display: none; }
.etapes li { display: grid; gap: 8px; font-size: 12.5px; font-weight: 500; line-height: 1.2; color: var(--encre-douce); }
.etapes li::before { content: ""; height: 5px; border-radius: 5px; background: var(--fond-2); transition: background-color 0.5s var(--ease); }
.etapes li.est-fait::before, .etapes li.est-courant::before { background: var(--petrole); }
.etapes li.est-courant { font-weight: 600; color: var(--petrole); }

.carte__formulaire { flex: 1; display: flex; flex-direction: column; }

.ecran { margin: 0; padding: 0; border: 0; min-width: 0; }
.js .ecran { display: none; }
.js .ecran.est-active { display: block; }
.js .ecran.est-active.entre { animation: ecran 0.55s var(--ease); }
.ecran--merci:focus { outline: none; }
@keyframes ecran { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ecran__question {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  font-size: clamp(22px, 1.8vw, 27px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--petrole);
  text-wrap: balance;
}
.ecran__raison { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--encre-douce); }

.choix { display: grid; gap: 10px; }
.choix--grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choix--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choix--plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--blanc);
  box-shadow: inset 0 0 0 1px var(--ligne);
  cursor: pointer;
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.4s var(--ease);
}
.option input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.option:hover { box-shadow: inset 0 0 0 1px var(--petrole-clair), 0 12px 24px -18px rgba(2, 60, 72, 0.55); }
.option:has(input:checked) { background: #eef7f8; box-shadow: inset 0 0 0 2px var(--petrole); }
.option:has(input:focus-visible) { outline: 3px solid var(--corail); outline-offset: 2px; }
.option:active { transform: scale(0.985); }
.option__corps { display: grid; gap: 2px; }
.option__titre { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--encre); }
.option__detail { font-size: 13.5px; color: var(--encre-douce); }
.option__valeur { font-size: 15px; font-weight: 600; color: var(--petrole); white-space: nowrap; font-variant-numeric: tabular-nums; }

.option--plan { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; min-height: 0; padding: 8px 8px 14px; text-align: left; }
.plan { display: block; margin-bottom: 12px; padding: 8px 6px; border-radius: 12px; background: var(--fond); color: var(--petrole); transition: background-color 0.3s var(--ease); }
.plan svg { display: block; width: 100%; height: auto; }
.option--plan .option__titre, .option--plan .option__detail, .option--plan .option__valeur { padding-inline: 6px; }
.option--plan .option__valeur { margin-top: 8px; }
.option__valeur small { font: inherit; }
.option--plan:has(input:checked) .plan { background: var(--blanc); --plan-1: #c8e8ef; --plan-2: #ade0e9; }
.option__coche {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--petrole);
  box-shadow: 0 0 0 3px var(--carte);
  color: #fff;
  transform: scale(0);
  transition: transform 0.45s var(--ease);
}
.option__coche .ico { width: 13px; height: 13px; }
.option:has(input:checked) .option__coche { transform: scale(1); }

#bouton-depart { margin-top: 22px; }

.option--jauge { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; min-height: 76px; padding: 14px 16px; text-align: left; }
.jauge { display: block; height: 6px; overflow: hidden; border-radius: 6px; background: var(--fond-2); }
.jauge::after { content: ""; display: block; height: 100%; border-radius: 6px; background: var(--petrole-clair); transform-origin: left; transform: scaleX(var(--j, 0)); }
.option--jauge:has(input:checked) .jauge::after { background: var(--petrole); }
.option--jauge .option__detail { margin-top: -6px; }

.ecran__aide { margin: 16px 0 0; font-size: 14.5px; color: var(--encre-douce); }
.ecran__mini { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--encre-douce); }

.resultat__contexte { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--encre-douce); }
.resultat__chiffre { display: grid; gap: 2px; margin: 8px 0 0; color: var(--petrole); }
.resultat__ligne { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.resultat__unite { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.resultat__legende { font-size: 14px; color: var(--encre-douce); }
.resultat__hors { display: block; }
.compteur {
  display: inline-flex;
  font-size: clamp(60px, 5.6vw, 86px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.compteur__chiffre { display: inline-block; height: 1em; overflow: hidden; }
.compteur__bande { display: flex; flex-direction: column; transition: transform 1.3s var(--ease); }
.compteur__bande span { display: block; height: 1em; line-height: 1; }
.compteur__sep { display: inline-block; width: 0.18em; }

.achats { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.achats__titre { margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 500; color: var(--encre-douce); }
.achats__choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: var(--fond-2); }
.achat { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.achat input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.achat__corps { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 3px; padding: 10px 10px 11px; border-radius: 12px; color: var(--encre-douce); transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.achat__nom { align-self: end; font-size: 13.5px; font-weight: 600; line-height: 1.2; color: var(--encre); }
.achat__cout { font-size: 22px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: var(--encre); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color 0.25s var(--ease); }
.achat__mode { font-size: 12.5px; line-height: 1.25; }
.achat input:checked + .achat__corps { background: var(--blanc); box-shadow: 0 2px 10px -4px rgba(2, 60, 72, 0.45); }
.achat input:checked + .achat__corps .achat__cout { color: var(--petrole); }
.achat input:focus-visible + .achat__corps { outline: 3px solid var(--corail); outline-offset: 1px; }
@media (hover: hover) {
  .achat:hover input:not(:checked) + .achat__corps { background: rgba(255, 255, 255, 0.5); }
}
.achats__note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--encre-douce); }

.partage { margin: 22px 0 0; padding: 18px 18px 16px; border-radius: 20px; background: var(--fond); }
.partage__titre { margin: 0 0 12px; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--encre); }
.partage__titre b { font-weight: 700; color: var(--petrole); font-variant-numeric: tabular-nums; }
.partage__titre span { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--encre-douce); }
.partage__barre { display: flex; gap: 3px; height: 12px; }
.partage__barre span { border-radius: 6px; transform-origin: left; }
.seg { flex: var(--part) 1 0; min-width: 6px; }
.seg--loyer { background: #6fa7b3; }
.seg--impot { background: var(--ciel); }
.seg--part { background: var(--petrole); }
.partage__legende { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--encre-douce); }
.partage__legende li { display: grid; gap: 2px; }
.partage__legende li[hidden] { display: none; }
.partage__legende li > span { display: flex; align-items: center; font-size: 13px; }
.partage__legende strong { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--encre); font-variant-numeric: tabular-nums; }
.partage__legende li:last-child strong { color: var(--petrole); }
.pastille-couleur { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; }
.pastille-couleur--loyer { background: #6fa7b3; }
.pastille-couleur--impot { background: var(--ciel); }
.pastille-couleur--part { background: var(--petrole); }
.partage__credit { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--ligne); font-size: 14px; line-height: 1.4; color: var(--encre-douce); }
.partage__credit .ico { flex: 0 0 auto; width: 18px; height: 18px; color: var(--petrole-clair); }
.partage__credit b { font-weight: 600; color: var(--petrole); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .partage.est-anime .seg--loyer { animation: pousse 0.9s var(--ease) 0.15s both; }
  .partage.est-anime .seg--impot { animation: pousse 0.9s var(--ease) 0.4s both; }
  .partage.est-anime .seg--part { animation: pousse 0.9s var(--ease) 0.65s both; }
}
@keyframes pousse { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.ecran--resultat .bouton--plein { margin-top: 18px; }

.volets { display: grid; margin-top: 10px; }
.volet { border: 0; }
.volet summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 40px;
  padding: 8px 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--petrole-clair);
  cursor: pointer;
}
.volet summary:hover { color: var(--petrole); }
.volet summary::-webkit-details-marker { display: none; }
.volet summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease);
}
.volet[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.volet__corps { display: grid; gap: 16px; padding: 4px 0 16px; }
.volet__texte { gap: 10px; font-size: 14px; line-height: 1.55; color: var(--encre-douce); }
.volet__texte p { margin: 0; }
.volet__texte strong { color: var(--encre); }

.reglage { display: grid; gap: 8px; }
.reglage__nom { font-size: 14px; font-weight: 500; color: var(--encre-douce); }
.segments { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--fond-2); }
.segments label { position: relative; }
.segments input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.segments span { display: grid; place-items: center; min-height: 44px; padding-inline: 8px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--encre-douce); cursor: pointer; transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease); }
.segments input:checked + span { background: var(--blanc); color: var(--petrole); font-weight: 600; box-shadow: 0 2px 10px -4px rgba(2, 60, 72, 0.45); }
.segments input:focus-visible + span { outline: 3px solid var(--corail); outline-offset: 1px; }

.dossier { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 12px 14px; margin: 0 0 14px; padding: 12px 14px 14px 12px; border-radius: 18px; background: var(--fond); box-shadow: inset 0 0 0 1px var(--ligne); }
.dossier[hidden] { display: none; }
.dossier__plan { display: block; padding: 6px 4px; border-radius: 12px; background: var(--blanc); color: var(--petrole); --plan-1: #c8e8ef; --plan-2: #ade0e9; }
.dossier__plan svg { display: block; width: 100%; height: auto; }
.dossier__titre { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; color: var(--petrole); }
.dossier__chiffre { margin: 2px 0 0; font-size: 14px; line-height: 1.35; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.dossier__liste { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--ligne); list-style: none; font-size: 13.5px; line-height: 1.3; color: var(--encre); }
.dossier__liste li { position: relative; padding-left: 24px; }
.dossier__liste li::before { content: ""; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--petrole); }
.dossier__liste li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 9px;
  height: 9px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces label { position: relative; }
.puces input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.puces span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--encre); cursor: pointer; transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease); }
.puces label:hover span { box-shadow: inset 0 0 0 1px var(--petrole-clair); }
.puces input:checked + span { background: var(--petrole); box-shadow: none; color: #fff; }
.puces input:focus-visible + span { outline: 3px solid var(--corail); outline-offset: 2px; }

.precisions { margin-top: 20px; padding: 16px 16px 18px; border-radius: 20px; background: var(--fond); box-shadow: inset 0 0 0 1px var(--ligne); }
.precisions[hidden] { display: none; }
.precisions__titre { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--petrole); }
.precisions__titre span { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--encre-douce); }
.precision { margin-top: 14px; }
.precision__nom { margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--encre-douce); }
.precisions .bouton--plein { margin-top: 18px; }
.precisions__ok { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--ciel-pale); font-size: 15px; font-weight: 500; color: var(--petrole); }
.precisions__ok[hidden] { display: none; }

.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.champ label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--encre-douce); }
.champ input {
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid #b6cbcf;
  border-radius: var(--r-1);
  background: var(--blanc);
  font: inherit;
  font-size: 17px;
  color: var(--encre);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.champ input:hover { border-color: var(--petrole-clair); }
.champ input:focus { outline: none; border-color: var(--petrole); box-shadow: 0 0 0 4px rgba(2, 60, 72, 0.14); }
.champ input[aria-invalid="true"] { border-color: var(--erreur); }
.champ__erreur, .formulaire__erreur { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--erreur); }
.champ__erreur:empty, .formulaire__erreur:empty { display: none; }
.suggestion { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--petrole); text-decoration: underline; cursor: pointer; }

.case { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--encre); cursor: pointer; }
.case input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--petrole); }
.ecran[data-ecran="coordonnees"] .bouton--plein { margin-top: 16px; }
.ecran--contact .ecran__question { margin-bottom: 14px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.merci__titre { margin: 0; font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--petrole); }
.merci__texte { margin: 14px 0 0; font-size: 18px; line-height: 1.5; color: var(--encre); }
.merci__reference { margin: 22px 0 0; font-size: 14px; color: var(--encre-douce); }
.merci__reference strong { color: var(--encre); letter-spacing: 0.02em; }


.bouton {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding: 8px 8px 8px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--corail);
  color: var(--petrole-nuit);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px -16px rgba(2, 60, 72, 0.55), 0 3px 8px -4px rgba(2, 60, 72, 0.3);
  transition: background-color 0.3s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.bouton__pastille {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--petrole);
  color: #fff;
  transition: transform 0.5s var(--ease);
}
.bouton__pastille svg { width: 20px; height: 20px; }
.bouton:hover { background: var(--corail-vif); box-shadow: 0 18px 32px -16px rgba(2, 60, 72, 0.6), 0 3px 8px -4px rgba(2, 60, 72, 0.3); }
.bouton:hover .bouton__pastille { transform: translateX(3px) scale(1.06); }
.bouton:active { transform: scale(0.98); }
.bouton[disabled] { opacity: 0.6; cursor: progress; }
.bouton--plein { width: 100%; justify-content: space-between; }
.bouton--clair, .fin .bouton { box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.7), 0 2px 6px -2px rgba(0, 0, 0, 0.4); }

.mini-pastille {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--corail);
  color: var(--petrole-nuit);
  transition: transform 0.5s var(--ease);
}
.mini-pastille svg { width: 16px; height: 16px; }


.appel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 18px 4px 4px;
  border-radius: 999px;
  background: var(--petrole);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(1, 38, 48, 0.7);
  transition: background-color 0.3s var(--ease), transform 0.5s var(--ease);
}
.appel__ico { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(143, 220, 236, 0.2); color: var(--ciel); transition: transform 0.5s var(--ease); }
.appel__ico .ico { width: 19px; height: 19px; }
.appel:hover { background: var(--petrole-clair); }
.appel:hover .appel__ico { transform: rotate(-12deg) scale(1.06); }
.appel:active { transform: scale(0.98); }
.appel--clair { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(217, 232, 234, 0.35); }
.appel--clair:hover { background: rgba(255, 255, 255, 0.16); }
.appel--grand { min-height: 60px; padding: 8px 26px 8px 8px; font-size: 18px; gap: 14px; }
.appel--grand .appel__ico { width: 44px; height: 44px; }
.appel--grand .appel__ico .ico { width: 21px; height: 21px; }


@media (prefers-reduced-motion: no-preference) {
  .h1 .mot > span {
    transform: translateY(108%);
    animation: monte 950ms var(--ease) forwards;
    animation-delay: calc(220ms + var(--i) * 70ms);
  }
  .hero .pastille-info { animation: apparait 800ms var(--ease) 80ms both; }
  .hero .surligne { animation: surligne 1.1s var(--ease) 1.1s both; }
  .hero .chapo { animation: apparait 800ms var(--ease) 620ms both; }
  .hero .faits { animation: apparait 800ms var(--ease) 760ms both; }
  .hero .carte-coque { animation: carte 1100ms var(--ease) 380ms both; }
  .hero .visuel__img[data-pour="logement"] img { animation: pose 1800ms var(--ease) both; }
  .pastille-info .point::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ciel); animation: onde 1.6s var(--ease) 1.4s 2 both; }
}

html.capture { scroll-behavior: auto; }
.capture .bandeau { transition: none !important; }
.capture .h1 .mot > span, .capture .hero .chapo, .capture .hero .faits, .capture .hero .pastille-info, .capture .hero .carte-coque,
.capture .hero .surligne, .capture .visuel__img img { animation: none !important; transform: none !important; opacity: 1 !important; }
.capture .partage *, .capture .ecran, .capture .visuel__img, .capture .derive { animation: none !important; transition: none !important; }
.capture .derive { scale: 1 !important; translate: none !important; }

@keyframes monte { to { transform: translateY(0); } }
@keyframes apparait { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes carte { from { opacity: 0; transform: translateY(36px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes carte-telephone { from { transform: translateY(28px); } to { transform: none; } }
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .hero .carte-coque { animation-name: carte-telephone; }
}
@keyframes pose { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes surligne { from { background-size: 0% 0.34em; } }
@keyframes onde { from { transform: scale(0.45); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }


.programme { padding-block: var(--section); background: var(--fond); }
.programme__tete .h2 { grid-column: 1 / span 8; }
.programme__corps { margin-top: 48px; align-items: stretch; }

.plan-carte { grid-column: 1 / span 8; position: relative; margin: 0; aspect-ratio: 820 / 586; overflow: hidden; border-radius: var(--r-3); background: #10343c; box-shadow: var(--ombre-carte); }
.plan-carte picture, .plan-carte img { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-carte img { object-fit: cover; }
.plan-carte__trajet { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.plan-carte__trajet--mobile { display: none; }
.trajet-fond { fill: none; stroke: rgba(1, 30, 38, 0.82); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trajet { fill: none; stroke: var(--ciel); stroke-width: 4; filter: drop-shadow(0 0 6px rgba(143, 220, 236, 0.9)); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-revele .plan-carte:not(.vu) .trajet { stroke-dashoffset: 1; }
.plan-carte.vu .trajet { transition: stroke-dashoffset 2.4s var(--ease) 0.4s; }

.reperes-carte { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.repere-carte { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 8px; transform: translate(-8px, -50%); }
.repere-carte__point { display: grid; place-items: center; flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(143, 220, 236, 0.45), 0 4px 12px rgba(0, 0, 0, 0.45); font-size: 0; font-weight: 700; color: var(--petrole); }
.repere-carte__nom { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); font-size: 13.5px; font-weight: 600; line-height: 1.2; color: var(--petrole); white-space: nowrap; }
.repere-carte__nom b { display: inline-block; margin: -3px -7px -3px 8px; padding: 3px 9px; border-radius: 999px; background: var(--petrole); font-size: 12.5px; font-weight: 600; color: #fff; }
.repere-carte--gauche { flex-direction: row-reverse; transform: translate(calc(-100% + 8px), -50%); }
.repere-carte--dessous { flex-direction: column; gap: 6px; transform: translate(-50%, -8px); }
.repere-carte--dessus { flex-direction: column-reverse; align-items: flex-start; gap: 6px; transform: translate(-8px, calc(-100% + 8px)); }
.repere-carte--programme { flex-direction: row-reverse; transform: translate(calc(-100% + 15px), -50%); }
.repere-carte--programme .repere-carte__point { width: 30px; height: 30px; background: var(--petrole); box-shadow: 0 0 0 4px #fff, 0 0 0 11px rgba(143, 220, 236, 0.5), 0 10px 26px -4px rgba(0, 0, 0, 0.6); }
.repere-carte--programme .repere-carte__nom { padding: 8px 16px; background: var(--ciel); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 14px 30px -10px rgba(0, 0, 0, 0.7); font-size: 15px; font-weight: 700; color: var(--petrole-nuit); }
.plan-carte__fleuve { position: absolute; left: var(--x); top: var(--y); font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; color: var(--petrole-nuit); transform: translate(-50%, -50%) rotate(var(--a)); pointer-events: none; }
.js-revele .plan-carte:not(.vu) .plan-carte__fleuve { opacity: 0; }
.plan-carte.vu .plan-carte__fleuve { transition: opacity 1s var(--ease) 1.2s; }
.repere-carte--programme .repere-carte__point .ico, .legende-carte__programme .ico { width: 14px; height: 14px; color: #fff; }
.js-revele .plan-carte:not(.vu) .repere-carte { opacity: 0; translate: 0 10px; }
.plan-carte.vu .repere-carte { transition: opacity 0.8s var(--ease), translate 0.9s var(--ease); }
.plan-carte.vu .repere-carte:nth-child(2) { transition-delay: 1.6s; }
.plan-carte.vu .repere-carte:nth-child(3), .plan-carte.vu .repere-carte:nth-child(4) { transition-delay: 1.9s; }
.plan-carte.vu .repere-carte:nth-child(5), .plan-carte.vu .repere-carte:nth-child(6) { transition-delay: 0.7s; }
@media (prefers-reduced-motion: no-preference) {
  .plan-carte.vu .repere-carte--programme .repere-carte__point { animation: onde-carte 2s var(--ease) 0.6s 3; }
}
@keyframes onde-carte { 50% { box-shadow: 0 0 0 4px #fff, 0 0 0 22px rgba(143, 220, 236, 0.15), 0 10px 26px -4px rgba(0, 0, 0, 0.6); } }
.legende-carte { display: none; }

.fiche { grid-column: 9 / -1; display: flex; flex-direction: column; padding: 28px 30px 26px; border-radius: var(--r-3); background: var(--carte); box-shadow: var(--ombre-carte); }
.fiche__etat { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0; padding: 5px 13px 5px 6px; border-radius: 999px; background: var(--ciel-pale); font-size: 13.5px; font-weight: 600; color: var(--petrole); }
.fiche__etat .point { width: 18px; height: 18px; background: #fff; }
.fiche__etat .point::after { inset: 6px; }
.fiche__nom { margin: 14px 0 0; font-size: var(--t-sous); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; color: var(--petrole); }
.fiche__adresse { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 14.5px; color: var(--encre-douce); }
.fiche__adresse .ico { width: 17px; height: 17px; color: var(--petrole); }
.fiche__faits { display: grid; gap: 14px; margin: 20px 0 22px; padding: 20px 0 0; border-top: 1px solid var(--ligne); list-style: none; }
.fiche__faits li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: var(--encre-douce); }
.fiche__faits b { display: block; font-size: 15.5px; font-weight: 600; color: var(--encre); }
.fiche__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--fond); color: var(--petrole); }
.fiche__ico .ico { width: 22px; height: 22px; }
.fiche__signature { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--ligne); }
.fiche__signature div { display: grid; gap: 2px; }
.fiche__signature dt { font-size: 12.5px; color: var(--encre-douce); }
.fiche__signature dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--petrole); }


.village { padding-top: var(--section); background: var(--fond); }
.village__tete { align-items: end; row-gap: 24px; }
.village__tete .h2 { grid-column: 1 / span 8; }
.village__intro { grid-column: 8 / -1; }
.village__intro .intro { margin: 0; }

.signature { display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--ligne); }
.signature div { display: grid; gap: 2px; }
.signature dt { font-size: 13px; color: var(--encre-douce); }
.signature dd { margin: 0; font-size: var(--t-petit); font-weight: 600; color: var(--petrole); }

.village__corps { margin-top: 56px; align-items: stretch; }
.village__photo { grid-column: 1 / span 7; position: relative; min-height: 540px; margin: 0; overflow: hidden; border-radius: var(--r-3); background: var(--fond-2); }
.village__photo .rideau, .village__photo picture { position: absolute; inset: 0; }
.village__photo img { width: 100%; height: 100%; object-fit: cover; }

.verre {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  max-width: 300px;
  margin: 0;
  padding: 16px 20px 18px;
  border-radius: 22px;
  background: rgba(251, 253, 253, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -24px rgba(1, 38, 48, 0.55);
  font-size: var(--t-petit);
  line-height: 1.45;
  color: var(--encre-douce);
}
.verre strong { display: block; margin-bottom: 2px; font-size: var(--t-sous); font-weight: 600; letter-spacing: -0.03em; color: var(--petrole); }

.offres { grid-column: 8 / -1; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.offre {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto auto auto auto 1fr;
  column-gap: 20px;
  height: 100%;
  padding: 14px 20px 14px 14px;
  border-radius: var(--r-2);
  background: var(--carte);
  box-shadow: var(--ombre-douce);
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.offre:hover { transform: translateY(-3px); box-shadow: var(--ombre-carte); }
.offre:hover .mini-pastille { transform: translateX(4px); }
.offre__plan { grid-row: 1 / -1; align-self: stretch; display: grid; place-items: center; padding: 4px; border-radius: 16px; background: var(--fond); color: var(--petrole); }
.offre__plan svg { width: 100%; height: auto; }
.offre__type { grid-column: 2; grid-row: 2; font-size: var(--t-sous); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; color: var(--petrole); }
.offre__detail { grid-column: 2; grid-row: 3; font-size: 14px; color: var(--encre-douce); }
.offre__prix { grid-column: 2; grid-row: 4; align-self: start; margin-top: 6px; font-size: clamp(24px, 2.1vw, 30px); font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; color: var(--encre); font-variant-numeric: tabular-nums; }
.offre__prix small { margin-right: 4px; font-size: var(--t-petit); font-weight: 500; letter-spacing: 0; color: var(--encre-douce); }
.offre .mini-pastille { grid-column: 3; grid-row: 1 / -1; align-self: center; }
.offre__donnees { grid-column: 2; grid-row: 5; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.offre__donnees > span { padding: 5px 10px; border-radius: 999px; background: var(--fond); font-size: 13px; line-height: 1.3; color: var(--encre-douce); white-space: nowrap; }
.offre__donnees b { font-weight: 600; color: var(--petrole); }
.prix__note { grid-column: 8 / -1; margin: 14px 0 0; font-size: 13px; color: var(--encre-douce); }


.lieu { padding-block: var(--section); background: var(--blanc); }
.lieu__tete .adresse { grid-column: 1 / -1; }
.lieu__tete .h2 { grid-column: 1 / span 7; }
.lieu__tete .intro { grid-column: 1 / span 6; }

.adresse { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin: 0 0 22px; font-size: var(--t-petit); font-weight: 500; color: var(--petrole); }
.adresse__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ciel-pale); }
.adresse__ico .ico { width: 18px; height: 18px; }

.lieu__corps { margin-top: 56px; align-items: start; }
.cote { grid-column: span 6; grid-row: span 3; display: grid; grid-template-rows: subgrid; align-content: start; }
.cote__photo { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--r-3); background: var(--fond-2); }
.cote__photo .rideau, .cote__photo picture { position: absolute; inset: 0; }
.cote__photo img { width: 100%; height: 100%; object-fit: cover; }
.cote__photo figcaption { position: absolute; top: 18px; left: 18px; z-index: 1; max-width: calc(100% - 36px); margin: 0; padding: 8px 15px; border-radius: 999px; background: rgba(251, 253, 253, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 24px -14px rgba(1, 38, 48, 0.55); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--petrole); }
.cote__titre { margin: 32px 0 0; font-size: var(--t-sous); font-weight: 600; letter-spacing: -0.03em; color: var(--petrole); }
.cote__faits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin: 16px 0 0; padding: 0; list-style: none; }
.cote__faits li { display: grid; align-content: start; gap: 8px; padding-top: 20px; border-top: 1px solid var(--ligne); }
.cote__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--fond); color: var(--petrole); }
.cote__ico .ico { width: 23px; height: 23px; }
.cote__faits b { margin-top: 8px; font-size: var(--t-chiffre); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--petrole); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cote__faits li > span:last-child { max-width: 17em; font-size: 15.5px; line-height: 1.45; color: var(--encre-douce); }


.loi { padding: 0 16px; background: var(--fond); }
.panneau {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 8.3vw, 120px);
  border-radius: 40px;
  background: var(--petrole-nuit);
  color: var(--sur-sombre);
}
.panneau::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 92% -12%, rgba(11, 90, 107, 0.62), transparent 62%),
    radial-gradient(760px 520px at -8% 112%, rgba(11, 90, 107, 0.4), transparent 60%);
}
.panneau .h2 { color: #fff; }
.loi__tete { justify-items: center; text-align: center; }
.loi__titres { grid-column: 1 / -1; }
.loi__action { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; width: var(--cw); margin: 64px auto 0; }

.surtitre { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: var(--t-petit); font-weight: 600; color: var(--ciel); }
.panneau .point { background: rgba(143, 220, 236, 0.18); }
.panneau .point::after { background: var(--ciel); }

.parcours { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 72px; margin-bottom: 0; padding: 0; list-style: none; text-align: center; }
.parcours::before, .parcours::after { content: ""; position: absolute; z-index: 0; top: 25px; left: calc((100% - 3 * var(--gap)) / 8); right: calc((100% - 3 * var(--gap)) / 8); height: 2px; border-radius: 2px; }
.parcours::before { background: rgba(217, 232, 234, 0.16); }
.parcours::after { background: linear-gradient(90deg, var(--ciel), rgba(143, 220, 236, 0.55)); transform-origin: left; }
.parcours__etape { position: relative; z-index: 1; }
.parcours__rond { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: var(--petrole-nuit); box-shadow: inset 0 0 0 2px var(--ciel); color: var(--ciel); }
.parcours__rond .ico { width: 24px; height: 24px; }
.parcours__num { margin: 28px 0 0; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--sur-sombre-2); }
.parcours__chiffre { display: flex; align-items: flex-end; justify-content: center; min-height: 58px; margin: 12px 0 0; font-size: var(--t-chiffre); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: #fff; white-space: nowrap; }
.parcours__chiffre--trio { flex-wrap: wrap; gap: 8px; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -0.02em; }
.parcours__chiffre--trio span { padding: 9px 13px; border-radius: 999px; background: rgba(143, 220, 236, 0.14); box-shadow: inset 0 0 0 1px rgba(143, 220, 236, 0.3); }
.parcours__texte { max-width: 23em; margin: 16px auto 0; font-size: 16px; line-height: 1.55; color: var(--sur-sombre-2); }


.frais { padding-block: var(--section); background: var(--fond); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: var(--gap); margin-top: 48px; }
.bento__case { display: flex; flex-direction: column; min-width: 0; padding: 30px 32px 32px; border-radius: var(--r-3); background: var(--carte); box-shadow: var(--ombre-douce); }
.bento__case:not(.bento__case--notaire) { grid-column: span 6; }
.bento__case--notaire { position: relative; isolation: isolate; overflow: hidden; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: clamp(32px, 5vw, 72px); padding: 34px 40px 36px; background: var(--petrole-nuit); color: var(--sur-sombre); box-shadow: 0 48px 90px -50px rgba(1, 38, 48, 0.75); }
.bento__case--notaire::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(125deg, rgba(11, 90, 107, 0.55) 0%, rgba(11, 90, 107, 0) 45%, rgba(11, 90, 107, 0) 70%, rgba(11, 90, 107, 0.35) 100%); }
.bento__quoi { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 16px; font-weight: 600; color: var(--petrole); }
.bento__case--notaire .bento__quoi { color: #fff; }
.bento__ico { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--fond); color: var(--petrole); }
.bento__ico .ico { width: 23px; height: 23px; }
.bento__case--notaire .bento__ico { background: rgba(143, 220, 236, 0.16); color: var(--ciel); }
.bento__case--notaire .bento__quoi { grid-column: 1; grid-row: 1; }
.bento__gain { grid-column: 1; grid-row: 2; padding-top: 28px; }
.bento__case--notaire .segments--frais { grid-column: 1; grid-row: 3; }
.economie__environ { margin: 0 0 6px; font-size: var(--t-petit); font-weight: 500; color: var(--sur-sombre-2); }
.economie__chiffre { margin: 0; font-size: var(--t-geant); font-weight: 600; line-height: 0.9; letter-spacing: -0.055em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.economie__texte { margin: 12px 0 0; font-size: var(--t-texte); color: var(--sur-sombre); }
.segments--frais { width: min(100%, 380px); margin-top: 24px; background: rgba(217, 232, 234, 0.1); }
.segments--frais span { color: var(--sur-sombre); }
.segments--frais input:checked + span { background: #fff; color: var(--petrole); box-shadow: none; }
.bento__barres { grid-column: 2; grid-row: 1 / -1; align-self: center; display: grid; gap: 26px; margin: 0; padding: 26px 28px; border-radius: 24px; background: rgba(217, 232, 234, 0.06); box-shadow: inset 0 0 0 1px rgba(217, 232, 234, 0.12); }
.bento__barre { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px 14px; margin: 0; font-size: 15px; color: var(--sur-sombre-2); }
.bento__barre .barre-frais { grid-column: 1 / -1; grid-row: 2; height: 14px; }
.bento__barre b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.barre-frais { position: relative; display: block; height: 10px; overflow: hidden; border-radius: 10px; background: rgba(217, 232, 234, 0.12); }
.barre-frais i { position: absolute; inset: 0 auto 0 0; width: calc(var(--a, 1) * 100%); border-radius: 10px; background: linear-gradient(90deg, #8aa8b0 calc(var(--de) / var(--a, 1) * 100%), rgba(138, 168, 176, 0.5) 0); transform-origin: left; }
.bento__barre--neuf .barre-frais i { background: linear-gradient(90deg, var(--ciel) calc(var(--de) / var(--a, 1) * 100%), rgba(143, 220, 236, 0.45) 0); }
.bento__chiffre { margin: auto 0 0; padding-top: 28px; font-size: var(--t-chiffre); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--petrole); font-variant-numeric: tabular-nums; }
.bento__titre { margin: 8px 0 0; font-size: var(--t-sous); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; color: var(--encre); }
.bento__texte { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--encre-douce); }


.questions { padding-block: var(--section); background: var(--blanc); }
.questions__tete { grid-column: 1 / span 4; align-self: start; position: sticky; top: 40px; }
.questions__tete .bouton { margin-top: 32px; }

.faq { grid-column: 6 / -1; 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: 24px;
  min-height: 80px;
  padding: 18px 0;
  list-style: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--encre);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--fond);
  font-size: 22px;
  font-weight: 400;
  color: var(--petrole);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--petrole); color: #fff; }
.faq summary:hover { color: var(--petrole); }
.faq p { max-width: 58ch; margin: 0 0 24px; font-size: var(--t-texte); line-height: 1.6; color: var(--encre-douce); }


.fin { padding: 0 16px 16px; background: var(--blanc); }
.fin__panneau {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(620px, 100svh, 860px);
  padding: 112px var(--pad);
  border-radius: 40px;
  background: var(--petrole-nuit);
  text-align: center;
}
.fin__image { position: absolute; inset: 0; z-index: -2; }
.fin__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.fin__panneau::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 70% at 50% 52%, rgba(1, 38, 48, 0.82), rgba(1, 38, 48, 0.46) 78%),
    linear-gradient(180deg, rgba(1, 38, 48, 0.15), rgba(1, 38, 48, 0.55));
}
.fin__texte { position: relative; z-index: 2; display: grid; justify-items: center; gap: 34px; width: 100%; max-width: 900px; }
.fin__texte .surtitre { margin: 0 0 -10px; }
.fin .point { background: rgba(143, 220, 236, 0.18); }
.fin .point::after { background: var(--ciel); }
.fin__titre { font-size: var(--t-h1); color: #fff; }
.fin .surligne { background-image: linear-gradient(rgba(143, 220, 236, 0.42), rgba(143, 220, 236, 0.42)); }
.js-revele .fin .surligne { background-size: 0% 0.34em; }
.js-revele .fin__titre.vu .surligne { background-size: 100% 0.34em; transition: background-size 1.3s var(--ease) 0.9s; }
.fin__lumiere {
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 28% 38%, rgba(143, 220, 236, 0.26), transparent 70%),
    radial-gradient(34% 42% at 74% 66%, rgba(11, 90, 107, 0.5), transparent 70%);
  mix-blend-mode: screen;
}
.fin__projecteur { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 40%), rgba(143, 220, 236, 0.2), transparent 62%); transition: opacity 0.6s var(--ease); }
.fin__panneau:hover .fin__projecteur { opacity: 1; }
.fin__choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(100%, 780px); margin-top: 6px; }
.fin__carte {
  display: grid;
  justify-items: start;
  gap: 2px;
  padding: 12px 14px 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 30px 60px -30px rgba(0, 0, 0, 0.65);
  color: #fff;
  text-align: left;
  text-decoration: none;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.fin__carte:hover { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(143, 220, 236, 0.6), 0 40px 70px -30px rgba(0, 0, 0, 0.7); }
.fin__carte:hover .mini-pastille { transform: translateX(4px); }
.fin__carte:focus-visible { outline-offset: 4px; }
.fin__plan { display: block; width: 100%; margin-bottom: 10px; padding: 8px 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); color: #fff; --plan-0: rgba(255, 255, 255, 0.14); --plan-1: rgba(143, 220, 236, 0.26); --plan-2: rgba(143, 220, 236, 0.44); }
.fin__plan svg { display: block; width: 100%; height: auto; }
.fin__type { padding-inline: 4px; font-size: var(--t-sous); font-weight: 600; letter-spacing: -0.03em; }
.fin__prix { padding-inline: 4px; font-size: var(--t-petit); color: var(--sur-sombre); font-variant-numeric: tabular-nums; }
.fin__aller { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding-inline: 4px; font-size: var(--t-petit); font-weight: 600; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fin__panneau { animation: panneau-pose linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes panneau-pose { from { scale: 0.86; border-radius: 72px; } to { scale: 1; border-radius: 40px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fin__image { animation: panorama-ouvre linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes panorama-ouvre { from { scale: 1.22; } to { scale: 1; } }
.capture .fin__image { animation: none !important; scale: 1 !important; }
.fin__carte { position: relative; overflow: hidden; }
.fin__carte::after { content: ""; position: absolute; inset: -40% -60%; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.2) 50%, transparent 58%); transform: translateX(-60%); }
.fin__carte:hover::after { transform: translateX(60%); transition: transform 1.1s var(--ease); }
.capture .fin__panneau { animation: none !important; scale: 1 !important; }
.fin__flottants { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.fin__flottants li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  font-size: var(--t-petit);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  translate: calc(var(--mx, 0px) * var(--p, 1)) calc(var(--my, 0px) * var(--p, 1));
  transition: translate 1s var(--ease);
}
.fin__flottants .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(143, 220, 236, 0.2); color: var(--ciel); }
.fin__flottants b { font-weight: 600; }
.js-revele .fin__panneau:not(.vu) .fin__flottants li { opacity: 0; }
.fin__panneau.vu .fin__flottants li { opacity: 1; transition: opacity 1.2s var(--ease) 1.2s, translate 1s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .fin__lumiere { animation: aurore 16s ease-in-out infinite alternate; }
  .fin__flottants li { animation: flotte 6s ease-in-out infinite alternate; animation-delay: calc(var(--p, 1) * -1.7s); }
}
@keyframes aurore { from { transform: translate3d(-5%, -3%, 0) rotate(-4deg); } to { transform: translate3d(5%, 4%, 0) rotate(6deg); } }
@keyframes flotte { from { transform: translateY(-6px); } to { transform: translateY(8px); } }


.pied { padding: 72px 0 32px; background: var(--petrole-nuit); color: var(--sur-sombre-2); font-size: var(--t-petit); line-height: 1.55; }
.pied p { margin: 0; }
.pied a, .pied button { color: var(--sur-sombre); text-decoration: none; transition: color 0.25s var(--ease); }
.pied a:hover, .pied button:hover { color: #fff; }
.pied__haut { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding-bottom: 48px; }
.pied__marque { grid-column: 1 / span 4; display: grid; gap: 18px; align-content: start; }
.pied__marque img { width: 150px; height: auto; margin-left: -7px; }
.pied__marque p { color: var(--sur-sombre); }
.pied__habiter { grid-column: 6 / span 4; display: grid; gap: 6px; align-content: start; justify-items: start; }
.pied__titre { margin-bottom: 8px !important; font-size: 16px; font-weight: 600; color: #fff; }
.pied__action { margin-top: 10px; font-weight: 600; }
.pied .pied__action { color: #fff; }
.pied__marque .appel { justify-self: start; margin-top: 4px; }
.pied__nav { grid-column: 10 / -1; }
.pied__nav ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pied__cookies { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.pied__legal { padding: 28px 0; border-top: 1px solid rgba(217, 232, 234, 0.14); border-bottom: 1px solid rgba(217, 232, 234, 0.14); font-size: 13px; line-height: 1.6; }
.pied .pied__legal a { color: #fff; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 13.5px; }
.pied .pied__bas a { font-weight: 600; color: #fff; }

.titre-revele .m { display: inline-block; }
.js-revele .titre-revele .m { opacity: 0; translate: 0 0.4em; filter: blur(8px); }
.js-revele .titre-revele.vu .m { animation: m-monte 1s var(--ease) calc(var(--i, 0) * 45ms) both; }
@keyframes m-monte { from { opacity: 0; translate: 0 0.4em; filter: blur(8px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
.js-revele .monte { opacity: 0; translate: 0 32px; }
.js-revele .monte.vu { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease) var(--retard, 0s), translate 1.2s var(--ease) var(--retard, 0s); }
.js-revele .rideau img { clip-path: inset(100% 0 0 0); scale: 1.22; }
.js-revele .rideau.vu img { clip-path: inset(0); scale: 1; transition: clip-path 1.4s var(--ease) var(--retard, 0s), scale 2s var(--ease) var(--retard, 0s); }
.js-revele .parcours:not(.vu)::after, .js-revele .barre-frais:not(.vu) i { transform: scaleX(0); }
.js-revele .compte:not(.vu) { opacity: 0; }
.compte.vu { transition: opacity 0.4s var(--ease); }
.parcours.vu::after { transition: transform 1.8s var(--ease) 0.2s; }
.barre-frais.vu i { transition: transform 1.3s var(--ease) 0.3s; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .derive { scale: 1.1; animation: derive linear both; animation-timeline: view(); animation-range: cover; }
    .js-revele .rideau img.derive { scale: 1.3; }
    .js-revele .rideau.vu img.derive { scale: 1.1; }
  }
}
@keyframes derive { from { translate: 0 -4.5%; } to { translate: 0 4.5%; } }


.page-legale { background: var(--fond); }
.entete__retour { display: block; }
.legale { padding: 144px 0 var(--section); }
.legale__cadre { max-width: 1240px; }
.legale h1 { max-width: 16em; margin: 0 0 40px; font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; color: var(--petrole); }
.legale h2 { max-width: 40em; margin: 40px 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--petrole); }
.legale p, .legale li { max-width: 46em; font-size: 16px; line-height: 1.65; color: var(--encre-douce); }
.legale p { margin: 0 0 12px; }
.legale ul { margin: 0 0 12px; padding-left: 20px; }
.legale li { margin-bottom: 8px; }
.legale a { color: var(--petrole); }
.legale__retour { margin-top: 48px !important; }
.legale__retour a { font-weight: 600; }


.barre-mobile { display: none; }


.bandeau {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 18px calc((100% - var(--cw)) / 2);
  background: var(--petrole-nuit);
  color: var(--sur-sombre);
  box-shadow: 0 -12px 32px -20px rgba(1, 38, 48, 0.6);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.7s var(--ease), visibility 0s linear 0.7s;
}
.bandeau.est-visible { transform: none; visibility: visible; transition: transform 0.7s var(--ease), visibility 0s; }
.bandeau p { margin: 0; font-size: var(--t-petit); line-height: 1.45; }
.bandeau a { color: #fff; }
.bandeau__choix { display: flex; flex-shrink: 0; gap: 10px; }
.bandeau__bouton {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: var(--t-petit);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.bandeau__bouton:active { transform: scale(0.98); }
.bandeau__bouton--refus { background: transparent; color: #fff; border: 1px solid rgba(217, 232, 234, 0.45); }
.bandeau__bouton--refus:hover { background: rgba(217, 232, 234, 0.1); }
.bandeau__bouton--accord { background: transparent; color: #fff; border: 1px solid rgba(217, 232, 234, 0.45); }
.bandeau__bouton--accord:hover { background: rgba(217, 232, 234, 0.1); }


@media (min-width: 900px) and (max-width: 1259px) {
  .option--plan .option__valeur small { display: block; font-size: 12.5px; font-weight: 500; color: var(--encre-douce); }
}

@media (max-width: 1099px) {
  .fin__flottants li:nth-child(n+3) { display: none; }
  .plan-carte, .fiche { grid-column: 1 / -1; }
  .fiche { margin-top: 16px; }
  .fiche__faits { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .fin__flottants li:nth-child(odd) { left: 4%; }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .hero__texte { grid-column: 1 / span 5; padding-right: 8px; }
  .hero__calcul { grid-column: 6 / -1; }
  .h1 { font-size: clamp(36px, 4vw, 42px); }
  .faits { gap: 10px 18px; }
  .entete__lieu { display: none; }
  .hero .visuel { left: calc(50% - var(--cw) / 2 + 7 * (var(--col) + var(--gap))); }
  .carte { padding: 22px 22px 24px; }
}


@media (max-width: 899px) {
  :root { --pad: clamp(20px, 5.13vw, 40px); }

  .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grille > * { grid-column: 1 / -1 !important; }

  .entete__barre { height: 64px; }
  .logo { height: 30px; }
  .entete__lieu { display: none; }

  .hero__grille { grid-template-columns: minmax(0, 1fr); padding-block: 84px 40px; row-gap: 28px; }
  .pastille-info { margin-bottom: 20px; padding-right: 14px; font-size: 14px; }
  .h1 { font-size: clamp(34px, 9.4vw, 46px); line-height: 1.04; }
  .chapo { margin-top: 16px; font-size: 17px; }
  .faits { gap: 10px 18px; margin-top: 20px; }
  .faits li:nth-child(3) { display: none; }
  .faits li { font-size: 14.5px; gap: 8px; }
  .faits__ico { width: 32px; height: 32px; }
  .faits__ico .ico { width: 17px; height: 17px; }
  .hero__texte, .hero__calcul { grid-column: 1 / -1; margin-top: 0; padding-right: 0; }
  .hero__grille { align-items: start; min-height: 0; }
  .hero__calcul { padding: 10px; border-radius: 30px; background: linear-gradient(160deg, var(--petrole-clair) 0%, var(--petrole) 45%, var(--petrole-nuit) 100%); box-shadow: 0 30px 60px -30px rgba(1, 38, 48, 0.7); }
  .hero .visuel { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 1; border-radius: 22px 22px 0 0; }
  .hero .visuel::after { background: rgba(1, 38, 48, 0.12); }
  .hero .visuel__legende { display: none; }
  .hero .visuel__img[data-pour="logement"] img { object-position: 50% 12%; }
  .calcul__corps[data-phase="depart"] .visuel__nom { display: block; position: absolute; z-index: 1; top: 10px; left: 10px; margin: 0; padding: 5px 11px; border-radius: 999px; background: rgba(1, 38, 48, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 600; line-height: 1.2; color: #fff; }
  .carte-coque { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--ombre-carte); }
  .carte-coque, .carte { border-radius: 0 0 22px 22px; }
  .carte { padding: 18px 16px 22px; }
  .etapes li { font-size: 11.5px; }
  .ecran__question { margin-bottom: 16px; font-size: 23px; }
  .choix--grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option { min-height: 64px; padding: 12px 16px; }
  .option__titre { font-size: 17px; }
  .choix--plans { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .option--plan { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 14px; padding: 8px 46px 8px 8px; }
  .option--plan .plan { grid-row: 1 / -1; align-self: center; margin: 0; padding: 4px; }
  .option--plan .option__titre, .option--plan .option__detail, .option--plan .option__valeur { grid-column: 2; padding: 0; }
  .option--plan .option__titre { grid-row: 2; }
  .option--plan .option__detail { grid-row: 3; }
  .option--plan .option__valeur { grid-row: 4; margin: 2px 0 0; font-size: 14.5px; }
  .option__coche { top: 50%; right: 14px; margin-top: -13px; box-shadow: none; }
  .option--jauge { min-height: 70px; padding: 12px 14px; }
  .resultat__unite { font-size: 18px; }
  .resultat__legende { font-size: 13px; }
  .achats { margin-top: 16px; }
  .achat__cout { font-size: 20px; }
  .ecran__raison { font-size: 14.5px; }
  .champs { gap: 10px; }
  .champ label { margin-bottom: 5px; }
  .dossier { grid-template-columns: 56px minmax(0, 1fr); gap: 10px 12px; margin-bottom: 14px; padding: 10px 12px 12px 10px; }
  .dossier__plan { padding: 4px 3px; }
  .dossier__titre { font-size: 16px; }
  .dossier__chiffre { font-size: 13px; }
  .dossier__liste { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-top: 10px; font-size: 13px; }
  .dossier__liste li { padding-left: 23px; }
  .puces span { min-height: 38px; padding: 7px 13px; font-size: 13.5px; }
  .case { margin-top: 14px; font-size: 14.5px; }
  .ecran--contact .ecran__mini { margin-top: 12px; font-size: 12.5px; line-height: 1.45; }
  .champ:nth-child(n+3) { grid-column: 1 / -1; }
  .bouton--plein { padding-left: 22px; font-size: 16px; gap: 12px; }

  .intro { margin-top: 14px; }

  .village__intro .intro { margin-top: 0; }
  .village__corps { margin-top: 32px; row-gap: 12px; }
  .village__photo { min-height: 0; aspect-ratio: 4 / 3; border-radius: 26px; }
  .verre { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 12px 16px 14px; border-radius: 18px; font-size: 14px; }
  .offres { grid-template-rows: none; gap: 10px; }
  .offre { grid-template-columns: 88px minmax(0, 1fr) auto; column-gap: 14px; padding: 10px 14px 10px 10px; border-radius: 20px; }
  .offre__plan { align-self: center; aspect-ratio: 1; }
  .offre__prix { font-size: 22px; margin-top: 4px; }
  .offre .mini-pastille { width: 32px; height: 32px; }
  .prix__note { margin-top: 6px; }

  .lieu__corps { margin-top: 32px; row-gap: 48px; }
  .cote { grid-row: auto; display: block; }

  .programme__corps { margin-top: 28px; }
  .plan-carte { aspect-ratio: 1; border-radius: 26px; }
  .plan-carte__trajet--bureau { display: none; }
  .plan-carte__trajet--mobile { display: block; }
  .repere-carte, .repere-carte--gauche, .repere-carte--dessous, .repere-carte--dessus { left: var(--xm); top: var(--ym); flex-direction: row; transform: translate(-50%, -50%); }
  .repere-carte:not(.repere-carte--programme) .repere-carte__nom { display: none; }
  .repere-carte:not(.repere-carte--programme) .repere-carte__point { width: 22px; height: 22px; font-size: 12px; }
  .repere-carte--programme { left: var(--xm); top: var(--ym); transform: translate(-50%, -50%); }
  .repere-carte--programme .repere-carte__nom { display: none; }
  .plan-carte__fleuve { left: var(--xm); top: var(--ym); font-size: 9.5px; letter-spacing: 0.26em; transform: translate(-50%, -50%) rotate(var(--am)); }
  .legende-carte__programme { font-weight: 600; color: var(--petrole); }
  .legende-carte__programme span { box-shadow: 0 0 0 3px var(--ciel-pale); }
    .legende-carte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--encre); }
  .legende-carte li { display: flex; align-items: center; gap: 8px; }
  .legende-carte span { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--petrole); font-size: 12px; font-weight: 700; color: #fff; }
  .fiche { margin-top: 14px; padding: 22px 20px 20px; border-radius: 26px; }
  .fiche__faits { grid-template-columns: minmax(0, 1fr); }

  .fin__titre { font-size: clamp(34px, 9vw, 44px); }
  .fin__flottants { position: static; order: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 28px; }
  .fin__texte { order: 1; }
  .fin__flottants li { position: static; translate: none; animation: none; justify-self: center; max-width: 100%; border-radius: 26px; font-size: 14px; white-space: normal; text-wrap: balance; }
  .fin__panneau { display: flex; flex-direction: column; justify-content: center; }
  .cote__photo { aspect-ratio: 4 / 3; border-radius: 26px; }
  .cote__photo figcaption { top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 7px 13px; font-size: 13px; }
  .cote__titre { margin-top: 24px; }
  .cote__faits { gap: 14px; }
  .cote__faits li > span:last-child { font-size: 14.5px; }

  .loi, .fin { padding-inline: 10px; }
  .panneau, .fin__panneau { border-radius: 28px; }
  .parcours { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 44px; padding-left: 68px; }
  .parcours::before, .parcours::after { display: none; }
  .parcours__etape:not(:last-child)::before { content: ""; position: absolute; z-index: 0; left: -43px; top: 48px; bottom: -36px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--ciel), rgba(143, 220, 236, 0.5)); transform-origin: top; }
  .js-revele .parcours:not(.vu) .parcours__etape::before { transform: scaleY(0); }
  .parcours.vu .parcours__etape::before { transition: transform 0.7s var(--ease); }
  .parcours.vu .parcours__etape:nth-child(2)::before { transition-delay: 0.35s; }
  .parcours.vu .parcours__etape:nth-child(3)::before { transition-delay: 0.7s; }
  .parcours__rond { position: absolute; left: -68px; top: -2px; margin: 0; }
  .parcours__num { margin-top: 0; line-height: 1.3; }
  .parcours__chiffre { min-height: 0; margin-top: 6px; }
  .parcours__texte { margin-top: 10px; }

  .frais__tete { row-gap: 20px; }
  .economie__texte { margin-top: 10px; }
  .partage { padding: 16px 14px 14px; }
  .partage__legende { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .partage__legende li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .partage__legende li > span { font-size: 14px; }
  .partage__legende strong { font-size: 16px; }
  .bento { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .bento__case, .bento__case:not(.bento__case--notaire) { grid-column: 1 / -1; padding: 22px 20px 24px; border-radius: 26px; }
  .bento__case--notaire { grid-template-columns: minmax(0, 1fr); padding: 22px 20px 24px; }
  .bento__case--notaire > * { grid-column: 1 !important; grid-row: auto !important; }
  .bento__gain { padding-top: 24px; }
  .bento__barres { margin-top: 22px; padding: 18px 16px; gap: 18px; }
  .segments--frais { width: 100%; }
  .loi__tete { justify-items: start; text-align: left; }
  .parcours { text-align: left; }
  .parcours__chiffre { justify-content: flex-start; }
  .parcours__texte { margin-inline: 0; }
  .loi__action { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 40px; }
  .loi__action .bouton, .loi__action .appel { justify-content: space-between; min-height: 56px; font-size: 16px; }
  .loi__action .appel { flex-direction: row-reverse; padding: 6px 6px 6px 22px; }
  .entete__actions .appel { min-height: 40px; padding-right: 14px; font-size: 13.5px; }
  .entete__actions .appel__ico { width: 32px; height: 32px; }
  .fin__choix { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fin__carte { grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: 8px 14px 8px 8px; border-radius: 20px; }
  .fin__plan { grid-row: 1 / span 2; margin: 0; padding: 4px; }
  .fin__type { grid-column: 2; font-size: 19px; }
  .fin__prix { grid-column: 2; }
  .fin__aller { grid-column: 3; grid-row: 1 / span 2; margin: 0; font-size: 0; gap: 0; }
  .questions__tete { position: static; }
  .questions__tete .bouton { width: 100%; justify-content: space-between; }
  .faq { margin-top: 32px; }
  .faq summary { min-height: 64px; font-size: 18px; }

  .fin__panneau { min-height: 520px; padding: 72px 20px; }
  .fin .bouton { width: 100%; justify-content: space-between; }
  .legale { padding-top: 104px; }

  .pied { padding-top: 56px; }
  .pied__haut { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding-bottom: 36px; }
  .pied__marque, .pied__habiter, .pied__nav { grid-column: 1 / -1; }
  .pied__legal { padding: 24px 0; }

  .barre-mobile {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 15;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: rgba(242, 247, 247, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -12px 30px -22px rgba(2, 60, 72, 0.6);
    transform: translateY(110%);
    transition: transform 0.5s var(--ease);
  }
  .barre-mobile.est-visible { transform: none; }
  .barre-mobile .bouton { min-height: 56px; }

  .bandeau { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); }
  .bandeau p { font-size: 12.5px; line-height: 1.35; }
  .bandeau__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .bandeau__bouton { min-height: 36px; padding: 6px 10px; font-size: 13px; }
}

@media (max-width: 1259px) {
  .sans-moyen { display: none; }
}
@media (max-width: 459px) {
  .sans-etroit { display: none; }
}
@media (max-width: 419px) {
  .bouton--plein { white-space: normal; font-size: 15px; line-height: 1.2; text-align: left; }
  .achat__corps { padding: 8px 7px 9px; }
  .achat__nom { font-size: 13px; }
  .achat__mode { font-size: 12px; }
  .hero__calcul { padding: 8px; }
}
@media (max-width: 399px) {
  .faits { display: none; }
  .hero__grille { row-gap: 24px; }
}
@media (max-width: 359px) {
  .pastille-info { border-radius: 18px; font-size: 13px; text-wrap: balance; }
  .bouton { gap: 10px; padding-left: 20px; font-size: 16px; }
  .bouton--plein { white-space: normal; font-size: 15px; line-height: 1.2; text-align: left; }
  .offre__donnees > span { white-space: normal; }
  .champs { grid-template-columns: 1fr; }
  .champ:nth-child(n+2) { grid-column: 1 / -1; }
  .achat__corps { padding-inline: 5px; }
  .achat__mode { font-size: 11.5px; }
}
