/* Ôlala · feuille unique */
:root {
  --encre: #0a1a33;
  --nuit: #061328;
  --bleu: #1d5fd0;
  --eau: #7fc8f8;
  --ciel: #e8f3fd;
  --brume: #f4f7fb;
  --gris: #586a80;
  --filet: #e2e9f1;
  --blanc: #ffffff;
  --rayon: 32px;
  --gouttiere: clamp(20px, 4vw, 64px);
  --large: 1320px;
  --sortie: cubic-bezier(0.23, 1, 0.32, 1);
  --glisse: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px; line-height: 1.55;
  color: var(--encre); background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--eau); outline-offset: 3px; border-radius: 8px; }
h1, h2 { font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 999px; }
.evitement:focus { left: 12px; }
.cadre { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--rayon); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: inherit; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
  transition: transform 160ms var(--sortie), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:has(.rond) { padding: 0 8px 0 26px; }
.btn:active { transform: scale(0.97); }
.btn-clair { background: var(--blanc); color: var(--encre); box-shadow: 0 10px 30px -12px rgba(6, 19, 40, 0.5); }
.btn-encre { background: var(--encre); color: var(--blanc); }
.btn-petit { height: 44px; padding: 0 20px; font-size: 15px; }
.rond { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform 240ms var(--sortie); }
.btn-clair .rond { background: var(--encre); color: #fff; }
.btn-encre .rond { background: var(--blanc); color: var(--encre); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .rond { transform: translateX(3px); }
  .btn-encre:hover { background: #142b52; }
}
.appel { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ou { font-size: 15px; opacity: 0.85; }
.ou a { text-underline-offset: 3px; font-weight: 600; }

/* Barre flottante */
.barre {
  position: fixed; z-index: 40; top: 22px; left: 50%;
  width: min(1180px, calc(100% - 64px)); height: 62px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px;
  padding: 0 9px 0 22px; border-radius: 999px;
  color: var(--blanc);
  background: rgba(6, 19, 40, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
  animation: barre-arrive 900ms var(--sortie) 0.1s both;
}
.barre[data-fond="clair"] { color: var(--encre); background: rgba(255, 255, 255, 0.78); border-color: rgba(10, 26, 51, 0.07); box-shadow: 0 10px 30px -18px rgba(10, 26, 51, 0.3); }
.barre[data-fond="clair"] .btn-clair { background: var(--encre); color: #fff; box-shadow: none; }
.marque { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: 0.06em; }
.marque img { width: 26px; height: 26px; }
.liens { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.liens a { text-decoration: none; opacity: 0.8; transition: opacity 150ms ease; }
@media (hover: hover) and (pointer: fine) { .liens a:hover { opacity: 1; } }
@keyframes barre-arrive { from { opacity: 0; transform: translate(-50%, -16px); } }

/* Entrées de l'ouverture */
.lignes-titre .l { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lignes-titre .l > span { display: inline-block; transform: translateY(108%); animation: monte 1100ms var(--sortie) var(--d) forwards; }
.entre { opacity: 0; transform: translateY(14px); animation: apparait 900ms var(--sortie) var(--d) forwards; }
.entre-flou { opacity: 0; transform: translateY(24px); filter: blur(10px); animation: apparait-flou 1100ms var(--sortie) var(--d) forwards; }
@keyframes monte { to { transform: none; } }
@keyframes apparait { to { opacity: 1; transform: none; } }
@keyframes apparait-flou { to { opacity: 1; transform: none; filter: blur(0); } }

/* 1. Ouverture */
.ouverture { padding: 12px; }
.cadre-ouverture {
  height: calc(100svh - 24px); min-height: 640px; max-height: 1040px;
  background: var(--nuit); color: var(--blanc);
  clip-path: inset(2.5% 2.5% 2.5% 2.5% round 44px);
  animation: cadre-ouvre 1400ms var(--sortie) forwards;
}
@keyframes cadre-ouvre { to { clip-path: inset(0 0 0 0 round 32px); } }
.fond, .fond img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fond img { object-fit: cover; object-position: 60% 40%; transform: scale(1.12); animation: recule 2200ms var(--sortie) forwards; }
@keyframes recule { to { transform: scale(1); } }
.voile-ouverture {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 16, 38, 0.82) 0%, rgba(5, 16, 38, 0.55) 34%, rgba(5, 16, 38, 0) 62%),
    linear-gradient(0deg, rgba(5, 16, 38, 0.55) 0%, rgba(5, 16, 38, 0) 42%);
}
.etiquette {
  position: absolute; z-index: 2; top: 110px; left: 48px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 14px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.etiquette i { width: 8px; height: 8px; border-radius: 50%; background: var(--eau); box-shadow: 0 0 0 4px rgba(127, 200, 248, 0.25); }
.ouverture-texte { position: absolute; z-index: 2; left: 48px; bottom: 48px; max-width: 780px; }
.ouverture h1 { font-size: clamp(2.6rem, 5.3vw, 5.4rem); }
.ouverture-texte > p { margin: 26px 0 34px; max-width: 46ch; font-size: 18px; color: rgba(255, 255, 255, 0.84); }
.verres { position: absolute; z-index: 2; right: 40px; bottom: 48px; display: flex; align-items: flex-end; gap: 14px; }
.verre {
  color: var(--blanc); border-radius: 24px; padding: 22px 24px;
  background: rgba(255, 255, 255, 0.11); border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.verre b { display: block; font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.verre span { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.verre-a { width: 210px; }
.verre-b { width: 240px; padding-top: 74px; }

/* 2. Manifeste */
.manifeste { max-width: 1180px; margin: 0 auto; padding: clamp(110px, 13vw, 190px) var(--gouttiere) clamp(90px, 10vw, 150px); }
.manifeste-texte { font-size: clamp(1.75rem, 3.6vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.16; }
.manifeste-texte em { font-style: normal; }
.mot { color: #c3cedb; transition: color 600ms ease; transition-delay: calc(var(--i) * 26ms); }
.manifeste.vu .mot { color: var(--encre); }
.manifeste.vu em .mot { color: var(--bleu); }
.lien-bas { display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; padding: 12px 20px; border-radius: 999px; background: var(--brume); font-weight: 600; text-decoration: none; transition: transform 160ms var(--sortie), background-color 200ms ease; }
.lien-bas:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .lien-bas:hover { background: var(--ciel); } }

/* 3. Simulateur */
.regle { padding: 0 12px; }
.cadre-bleu {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding: clamp(48px, 6vw, 88px);
  color: var(--blanc);
  background:
    radial-gradient(60% 80% at 12% 0%, rgba(127, 200, 248, 0.55) 0%, rgba(127, 200, 248, 0) 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(6, 19, 40, 0.7) 0%, rgba(6, 19, 40, 0) 60%),
    linear-gradient(160deg, #2f7be0 0%, #1d5fd0 40%, #0e3a8f 100%);
}
.cadre-bleu h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.regle-chapo { margin-top: 20px; max-width: 46ch; color: rgba(255, 255, 255, 0.8); }
.outil-lecture { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.outil-lecture output { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.outil-lecture span { color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; }
.regle-piste { position: relative; margin-top: 26px; padding-bottom: 30px; }
.piste-zones { position: absolute; left: 20px; right: 20px; top: 17px; height: 10px; border-radius: 999px; overflow: hidden; display: flex; pointer-events: none; }
.zone.z1 { width: 22.857%; background: rgba(255, 255, 255, 0.95); }
.zone.z2 { width: 48.571%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0 5px, rgba(255, 255, 255, 0.22) 5px 10px); }
.zone.z3 { flex: 1; background: rgba(255, 255, 255, 0.16); }
.piste-bornes { position: absolute; left: 20px; right: 20px; bottom: 0; height: 20px; font-size: 13px; color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; }
.piste-bornes span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.piste-bornes span:first-child { transform: none; }
input[type="range"] { position: relative; z-index: 1; display: block; width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 44px; background: transparent; }
input[type="range"]::-moz-range-track { height: 44px; background: transparent; }
#montant::-webkit-slider-thumb {
  -webkit-appearance: none; width: 40px; height: 40px; margin-top: 2px; border-radius: 50%;
  background: radial-gradient(circle, var(--bleu) 0 5px, #fff 6px);
  box-shadow: 0 8px 24px rgba(6, 19, 40, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.18);
  transition: transform 160ms var(--sortie), box-shadow 200ms ease;
}
#montant::-moz-range-thumb { width: 40px; height: 40px; border: 0; border-radius: 50%; background: radial-gradient(circle, var(--bleu) 0 5px, #fff 6px); box-shadow: 0 8px 24px rgba(6, 19, 40, 0.35); }
#montant:active::-webkit-slider-thumb { transform: scale(1.08); box-shadow: 0 8px 24px rgba(6, 19, 40, 0.35), 0 0 0 10px rgba(255, 255, 255, 0.22); }
#montant:focus-visible { outline: none; }
#montant:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--eau); }

.verdict { background: var(--blanc); color: var(--encre); border-radius: 26px; padding: 36px; box-shadow: 0 40px 80px -30px rgba(6, 19, 40, 0.55); }
.verdict-tranche { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--ciel); color: var(--bleu); transition: background-color 250ms ease, color 250ms ease; }
.verdict[data-tranche="2"] .verdict-tranche { background: #fff2cf; color: #7a5600; }
.verdict[data-tranche="3"] .verdict-tranche { background: #eef1f5; color: var(--gris); }
.verdict-titre { margin-top: 16px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.verdict-texte { margin: 12px 0 26px; color: #3a4c62; min-height: 4.65em; }
.verdict-note { margin-top: 20px; font-size: 12.5px; color: var(--gris); }

/* 4. Avant, après */
.avap { max-width: var(--large); margin: 0 auto; padding: clamp(110px, 12vw, 170px) var(--gouttiere) 0; }
.avap-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.avap h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 11ch; }
.avap-tete p { max-width: 34ch; color: var(--gris); }
.comparateur { aspect-ratio: 16 / 9; max-height: 84svh; width: 100%; background: #eceae6; user-select: none; -webkit-user-select: none; }
.comparateur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; pointer-events: none; }
.cmp-apres { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.cmp-poignee { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; pointer-events: none; z-index: 2; }
.cmp-poignee::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 18px rgba(6, 19, 40, 0.25); }
.cmp-poignee span {
  position: absolute; top: 50%; left: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  display: grid; place-items: center; color: var(--encre);
  background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -8px rgba(6, 19, 40, 0.35);
  transition: transform 200ms var(--sortie);
}
.comparateur:active .cmp-poignee span { transform: scale(0.94); }
.cmp-etiquette { position: absolute; z-index: 2; top: 24px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
.cmp-e1 { left: 24px; }
.cmp-e2 { right: 24px; }
.cmp-curseur { position: absolute !important; inset: 0; z-index: 3; width: 100% !important; height: 100% !important; opacity: 0; cursor: ew-resize !important; touch-action: pan-y; }
.cmp-curseur::-webkit-slider-runnable-track { height: 100%; }
.cmp-curseur::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 2000px; }
.comparateur:has(.cmp-curseur:focus-visible) .cmp-poignee span { box-shadow: 0 0 0 4px var(--eau); }

/* 5. Comment ça marche */
.fabrique { max-width: var(--large); margin: 0 auto; padding: clamp(110px, 12vw, 170px) var(--gouttiere); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.fabrique h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); max-width: 14ch; }
.etapes { margin-top: 48px; }
.etapes li { display: grid; grid-template-columns: 64px 1fr; gap: 4px 0; padding: 22px 0; border-top: 1px solid var(--filet); }
.etapes li:last-child { border-bottom: 1px solid var(--filet); }
.etapes .num { grid-row: 1 / 3; font-size: 15px; font-weight: 600; color: var(--bleu); font-variant-numeric: tabular-nums; padding-top: 3px; }
.etapes b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.etapes .desc { color: var(--gris); }
.fabrique-droite { position: relative; padding-top: 8px; }
.photo-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 50%; border-radius: 26px; }
.feuille {
  position: relative; z-index: 1;
  width: 88%; margin: -150px 0 0 -48px;
  background: var(--blanc); border-radius: 22px; padding: 30px 30px 26px;
  box-shadow: 0 50px 90px -30px rgba(10, 26, 51, 0.38), 0 0 0 1px rgba(10, 26, 51, 0.04);
  transform: rotate(-1.4deg);
}
.feuille-entete { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--filet); }
.feuille-marque { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; letter-spacing: 0.06em; }
.feuille-marque img { width: 18px; height: 18px; }
.feuille-ref { font-size: 12.5px; color: var(--gris); }
.feuille-lieu { margin: 18px 0 6px; font-weight: 600; font-size: 15px; }
.postes li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--filet); font-size: 14.5px; }
.postes em { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feuille-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-weight: 600; }
.feuille-total strong { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.seuil { margin-top: 18px; display: grid; gap: 8px; font-size: 12.5px; color: var(--gris); }
.seuil-barre { height: 8px; border-radius: 999px; background: var(--ciel); overflow: hidden; }
.seuil-barre i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--eau), var(--bleu)); border-radius: 999px; transform-origin: left; transform: scaleX(0.4775); }
.feuille-tampon { margin-top: 18px; display: inline-block; padding: 7px 13px; border-radius: 10px; background: var(--encre); color: #fff; font-weight: 600; font-size: 13.5px; transform: rotate(2deg); }
/* écriture du devis quand il arrive à l'écran */
.feuille.pret .postes li { opacity: 0; transform: translateY(8px); }
.feuille.pret .seuil-barre i { transform: scaleX(0); }
.feuille.pret .feuille-tampon { opacity: 0; transform: rotate(2deg) scale(0.9); }
.feuille.vu .postes li { opacity: 1; transform: none; transition: opacity 500ms var(--sortie), transform 500ms var(--sortie); transition-delay: calc(var(--i) * 110ms + 150ms); }
.feuille.vu .seuil-barre i { transform: scaleX(0.4775); transition: transform 1100ms var(--glisse) 900ms; }
.feuille.vu .feuille-tampon { opacity: 1; transform: rotate(2deg); transition: opacity 400ms var(--sortie) 1700ms, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1) 1700ms; }

/* 6. Profils */
.profils { max-width: var(--large); margin: 0 auto; padding: 0 var(--gouttiere) clamp(110px, 12vw, 170px); display: grid; grid-template-columns: 5fr 7fr; gap: 32px 72px; }
.profils h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); max-width: 11ch; }
.onglets { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--brume); max-width: 100%; }
.onglets button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font-family: inherit; font-size: 15.5px; font-weight: 500; color: var(--gris); white-space: nowrap;
  transition: color 200ms ease, transform 160ms var(--sortie);
}
.onglets button:active { transform: scale(0.97); }
.onglets button[aria-selected="true"] { color: var(--encre); }
.onglet-curseur { position: absolute; z-index: 0; top: 5px; left: 0; height: 46px; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(10, 26, 51, 0.1); transition: transform 320ms var(--sortie), width 320ms var(--sortie); }
.panneaux { margin-top: 34px; min-height: 7em; }
.panneau p { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.38; letter-spacing: -0.02em; max-width: 34ch; }
.panneau.arrive p { animation: arrive-flou 360ms var(--sortie); }
@keyframes arrive-flou { from { opacity: 0; filter: blur(4px); transform: translateY(6px); } }

/* 7. Tarif */
.tarif { padding: 0 12px; }
.cadre-nuit {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  padding: clamp(56px, 7vw, 110px);
  color: var(--blanc);
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(47, 123, 224, 0.55) 0%, rgba(47, 123, 224, 0) 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(127, 200, 248, 0.18) 0%, rgba(127, 200, 248, 0) 70%),
    var(--nuit);
}
.prix {
  font-size: clamp(6rem, 13vw, 11.5rem); font-weight: 300; letter-spacing: -0.065em; line-height: 0.86;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 30%, #8fcaf8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prix span { font-size: 0.42em; letter-spacing: -0.02em; }
.prix-detail { margin: 22px 0 30px; color: rgba(255, 255, 255, 0.72); max-width: 36ch; }
.inclus { display: grid; gap: 12px; margin-bottom: 40px; }
.inclus li { position: relative; padding-left: 28px; }
.inclus li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 11px; height: 6px; border-left: 2px solid var(--eau); border-bottom: 2px solid var(--eau); transform: rotate(-45deg); }
.tarif-non { align-self: end; }
.tarif-non h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 26px; }
.tarif-non dt { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-weight: 600; font-size: 18px; }
.tarif-non dd { margin: 6px 0 22px; color: rgba(255, 255, 255, 0.68); max-width: 46ch; }

/* 8. Maison */
.maison { max-width: var(--large); margin: 0 auto; padding: clamp(110px, 12vw, 170px) var(--gouttiere) clamp(70px, 8vw, 110px); }
.maison h2 { font-size: clamp(2.4rem, 5.2vw, 5rem); max-width: 13ch; }
.maison-texte { margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.maison-texte p { color: #3a4c62; padding-top: 20px; border-top: 1px solid var(--filet); }
.maison-texte b { display: block; margin-bottom: 8px; color: var(--encre); font-size: 19px; }
.adresse { font-style: normal; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 20px; border-top: 1px solid var(--filet); font-size: 15px; color: var(--gris); }
.adresse a { color: var(--encre); font-weight: 600; text-underline-offset: 3px; }

/* 9. Questions */
.questions { max-width: var(--large); margin: 0 auto; padding: clamp(40px, 5vw, 70px) var(--gouttiere) clamp(110px, 12vw, 160px); display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.questions h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); max-width: 12ch; }
.faq details { border-bottom: 1px solid var(--filet); }
.faq details:first-child { border-top: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 18.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(var(--encre), var(--encre)) center / 12px 1.8px no-repeat, linear-gradient(var(--encre), var(--encre)) center / 1.8px 12px no-repeat, var(--brume); transition: transform 260ms var(--sortie); }
.faq details[open] summary::after { transform: rotate(45deg); }
.rep { overflow: hidden; }
.rep p { padding: 0 0 26px; color: #3a4c62; max-width: 60ch; }

/* 10. Dernier appel */
.fin { padding: 0 12px; }
.cadre-ciel {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; min-height: 600px;
  background:
    radial-gradient(45% 70% at 74% 52%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #eef7ff 0%, #cfe7fc 55%, #a6d3f8 100%);
}
.fin-texte { padding: clamp(48px, 6vw, 96px); }
.fin h2 { font-size: clamp(2.2rem, 4vw, 3.9rem); max-width: 15ch; margin-bottom: 36px; }
.fin .ou { color: var(--gris); }
.goutte-scene { position: relative; height: 100%; min-height: 460px; display: grid; place-items: center; }
.goutte-objet { width: min(360px, 30vw); filter: drop-shadow(0 40px 50px rgba(29, 95, 208, 0.28)); animation: flotte 6.5s ease-in-out infinite alternate; animation-play-state: paused; }
.goutte-ombre { position: absolute; bottom: 12%; left: 50%; width: 170px; height: 22px; margin-left: -85px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 26, 51, 0.22), rgba(10, 26, 51, 0)); animation: ombre 6.5s ease-in-out infinite alternate; animation-play-state: paused; }
.fin.vu .goutte-objet, .fin.vu .goutte-ombre { animation-play-state: running; }
@keyframes flotte { from { transform: translateY(-16px) rotate(-3deg); } to { transform: translateY(12px) rotate(2.5deg); } }
@keyframes ombre { from { transform: scale(0.82); opacity: 0.7; } to { transform: scale(1.05); opacity: 1; } }

/* Pied */
.pied { max-width: var(--large); margin: 0 auto; padding: clamp(90px, 10vw, 140px) var(--gouttiere) 48px; }
.pied-courriel { display: inline-block; font-size: clamp(1.5rem, 5.4vw, 5.2rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size 400ms var(--sortie); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .pied-courriel:hover { background-size: 100% 2px; } }
.pied-grille { margin-top: 64px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; font-size: 15px; }
.pied-marque p { margin-top: 12px; color: var(--gris); max-width: 34ch; }
.pied-liens { display: grid; gap: 10px; align-content: start; }
.pied-liens a { color: var(--gris); text-decoration: none; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .pied-liens a:hover { color: var(--encre); } }
.pied-bas { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--filet); font-size: 13.5px; color: var(--gris); }
.pied-bas a { color: var(--gris); text-decoration: none; }
.pied-bas span { margin-left: auto; }
.pied-bas span a { color: var(--encre); }

.colle-mobile { display: none; }

/* Tablette */
@media (max-width: 1100px) {
  .liens { display: none; }
  .barre .btn { margin-left: auto; }
  .verres { display: none; }
  .cadre-bleu, .fabrique, .cadre-nuit, .profils, .questions { grid-template-columns: 1fr; }
  .fabrique { gap: 56px; }
  .feuille { margin-left: 24px; }
}

/* Téléphone */
@media (max-width: 760px) {
  :root { --rayon: 24px; }
  body { font-size: 16px; }
  .barre { top: 10px; width: calc(100% - 20px); height: 56px; padding: 0 16px; }
  .barre .btn { display: none; }
  .ouverture { padding: 8px; }
  .cadre-ouverture { height: calc(100svh - 16px); min-height: 640px; }
  @keyframes cadre-ouvre { to { clip-path: inset(0 0 0 0 round 24px); } }
  .fond img { object-position: 50% 0%; }
  .voile-ouverture { background: linear-gradient(0deg, rgba(5, 16, 38, 0.9) 0%, rgba(5, 16, 38, 0.6) 46%, rgba(5, 16, 38, 0) 72%); }
  .etiquette { top: 82px; left: 16px; right: 16px; font-size: 13px; justify-content: center; }
  .ouverture-texte { left: 20px; right: 20px; bottom: 24px; }
  .ouverture h1 { font-size: clamp(2.2rem, 9.6vw, 2.9rem); }
  .ouverture-texte > p { margin: 16px 0 24px; font-size: 16px; }
  .appel .btn { width: 100%; justify-content: space-between; }
  .appel { gap: 14px; }

  .manifeste { padding: 96px 22px 80px; }
  .manifeste-texte { font-size: 1.75rem; }

  .regle, .tarif, .fin { padding: 0 8px; }
  .cadre-bleu { gap: 32px; padding: 40px 22px 22px; }
  .verdict { padding: 26px 22px; border-radius: 20px; }

  .avap { padding: 110px 8px 0; }
  .avap-tete { display: block; padding: 0 14px; }
  .avap-tete p { margin-top: 14px; }
  .comparateur { aspect-ratio: 4 / 5; }
  .comparateur img { object-position: 46% 30%; }

  .fabrique { padding: 110px 22px; }
  .feuille { width: calc(100% - 16px); margin: -80px 0 0 8px; padding: 22px 18px 20px; }
  .postes li { font-size: 13.5px; }
  .etapes { margin-top: 32px; }
  .etapes li { grid-template-columns: 44px 1fr; padding: 16px 0; }
  .etapes b { font-size: 17.5px; }

  .profils { padding: 0 22px 110px; gap: 24px; }
  .onglets { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .onglets button { padding: 0 8px; font-size: 14.5px; }
  .onglet-curseur { display: none; }
  .onglets button[aria-selected="true"] { background: #fff; box-shadow: 0 4px 14px rgba(10, 26, 51, 0.1); }
  .panneaux { margin-top: 22px; min-height: 9em; }

  .cadre-nuit { padding: 48px 24px; gap: 48px; }
  .maison { padding: 110px 22px 60px; }
  .maison-texte { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .questions { padding: 30px 22px 100px; gap: 24px; }
  .faq summary { font-size: 16.5px; padding: 20px 0; }

  .cadre-ciel { grid-template-columns: 1fr; min-height: 0; }
  .goutte-scene { order: -1; min-height: 260px; padding-top: 24px; }
  .goutte-objet { width: 190px; }
  .goutte-ombre { width: 110px; margin-left: -55px; bottom: 6%; }
  .fin-texte { padding: 8px 22px 36px; }

  .pied { padding: 90px 22px 130px; }
  .pied-grille { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .pied-bas span { margin-left: 0; }

  .colle-mobile {
    position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex; gap: 8px; padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(10, 26, 51, 0.06);
    backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 16px 40px -16px rgba(10, 26, 51, 0.35);
    transform: translateY(140%);
    transition: transform 380ms var(--sortie);
  }
  .colle-mobile.visible { transform: none; }
  .colle-mobile .btn { flex: 1; height: 50px; padding: 0 18px; font-size: 15px; }
  .btn-rond { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ciel); color: var(--encre); transition: transform 160ms var(--sortie); }
  .btn-rond:active { transform: scale(0.94); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cadre-ouverture { clip-path: none; animation: none; }
  .fond img { transform: none; animation: none; }
  .lignes-titre .l > span, .entre, .entre-flou { transform: none; opacity: 1; filter: none; animation: none; }
  .barre { animation: none; }
  .goutte-objet, .goutte-ombre { animation: none; }
  .mot { transition: none; }
  .feuille.pret .postes li, .feuille.pret .feuille-tampon { opacity: 1; transform: none; }
  .feuille.pret .seuil-barre i { transform: scaleX(0.4775); }
}
