:root {
  --it-text: #7B7466;
  --it-bg: #FEF5EC;
  --it-blush: #FADBD5;
  --it-peach: #FBBDAC;
  --it-white: #FFFFFF;
  --it-gold-dark: #B58244;
  --it-gold-light: #EDD58B;

  --or: linear-gradient(115deg, #B58244 0%, #EDD58B 38%, #B58244 62%, #EDD58B 84%, #B58244 100%);
  --filet: rgba(181, 130, 68, 0.34);
  --brume: rgba(123, 116, 102, 0.1);

  --titre: "Playfair Display", Georgia, serif;
  --structure: "Advent Pro", "Jost", sans-serif;
  --texte: "Jost", "Helvetica Neue", Arial, sans-serif;
  --geste: "Allura", cursive;

  --gouttiere: 24px;
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.5' stroke-width='1.2'%3E%3Cpath d='M32 4l8 12 14-6-6 14 12 8-12 8 6 14-14-6-8 12-8-12-14 6 6-14-12-8 12-8-6-14 14 6z'/%3E%3Ccircle cx='32' cy='32' r='9'/%3E%3Cpath d='M0 0l10 10M64 0L54 10M0 64l10-10M64 64L54 54'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--it-white);
  color: var(--it-text);
  font-family: var(--texte);
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
figure, ul { margin: 0; padding: 0; }
a { color: var(--it-text); }
p { margin: 0 0 20px; }
h1, h2 { font-family: var(--titre); font-weight: 400; font-variant-numeric: lining-nums; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; }
h1 em, h2 em { font-style: italic; color: var(--it-gold-dark); white-space: nowrap; }
h2 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.08; }
.insecable { white-space: nowrap; }
.sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.colonne { max-width: 780px; margin: 0 auto; padding: 0 var(--gouttiere); }
.colonne-large { max-width: 1240px; margin: 0 auto; padding: 0 var(--gouttiere); }
.texte p { max-width: 560px; }

.grand { font-family: var(--titre); font-size: clamp(24px, 2.9vw, 38px); line-height: 1.42; text-align: center; text-wrap: pretty; }
.tres-grand { font-size: clamp(38px, 6.4vw, 92px); line-height: 1.04; text-align: center; font-style: italic; }
.cle { font-family: var(--titre); font-style: italic; font-size: clamp(25px, 2.7vw, 36px); line-height: 1.32; color: var(--it-gold-dark); margin: 44px 0 0; text-wrap: balance; }
.texte .cle { max-width: 600px; margin: 44px 0; }
.texte .cle:last-child { margin-bottom: 0; }
.geste { font-family: var(--geste); font-size: 50px; line-height: 1.15; color: var(--it-gold-dark); margin: 34px 0 0; }

/* Les mots s'allument un à un au défilement (voir app.js). */
.js .allume .mot { opacity: 0.16; transition: opacity 0.5s ease; }
.js .allume .mot.on { opacity: 1; }

.bouton {
  display: inline-block;
  background: var(--it-gold-light);
  color: var(--it-text);
  font-family: var(--structure);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.25;
  padding: 24px 46px;
  border: 1px solid rgba(181, 130, 68, 0.75);
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(237, 213, 139, 0.24), 0 22px 50px rgba(181, 130, 68, 0.3);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.bouton:hover { transform: translateY(-2px); box-shadow: 0 0 0 14px rgba(237, 213, 139, 0.26), 0 28px 60px rgba(181, 130, 68, 0.36); }
.bouton:focus-visible { outline: 2px solid var(--it-gold-dark); outline-offset: 8px; }
.bouton-ligne { margin: 60px 0 0; text-align: center; }
.sous-bouton { font-size: 16px; line-height: 1.6; max-width: 440px; margin: 28px auto 0; text-align: center; text-wrap: balance; }

/* Le voile sans couleur, percé d'un cercle de vie qui grandit avec --p. */
[data-scene] { --p: 1; }
.js [data-scene] { --p: 0; }
.eteint { position: absolute; inset: 0; pointer-events: none; --r: calc(10vmax + var(--p) * 150vmax); -webkit-mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r) * 0.5), #000 var(--r)); mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r) * 0.5), #000 var(--r)); mix-blend-mode: color; background: var(--it-text); }
.eteint::after { content: none; }
.eteint-simple { -webkit-mask-image: none; mask-image: none; opacity: calc(1 - var(--p)); }
.seuil-cadre::before, .passage-arche::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--it-bg); opacity: calc((1 - var(--p)) * 0.3); }
html:not(.js) .eteint, .fige .eteint { display: none; }

/* Le soleil de 21 rayons, un par jour. */
.astre, .vingt-et-un line, .marque-soleil path, .aube-soleil line { fill: none; stroke: var(--it-gold-dark); stroke-linecap: round; }
.vingt-et-un { position: fixed; z-index: 30; top: 20px; right: 20px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 248, 0.82); box-shadow: 0 8px 26px rgba(123, 116, 102, 0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 1439px) { .vingt-et-un { display: none !important; } }
.vingt-et-un svg { width: 50px; overflow: visible; margin-top: -4px; }
.vingt-et-un .astre, .vingt-et-un line { stroke-width: 2.6; }
.vingt-et-un line { opacity: clamp(0.16, calc((var(--avance, 1) * 22 - var(--i))), 1); }

/* 1. Le seuil */
.seuil { position: relative; height: 180vh; height: 180svh; background: var(--it-bg); }
.seuil-cadre { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; --cx: 66%; --cy: 40%; }
.seuil-cadre picture, .seuil-cadre img { display: block; width: 100%; height: 100%; }
.seuil-cadre img { object-fit: cover; object-position: 78% 50%; transform: scale(calc(1.06 - var(--p) * 0.06)); transform-origin: 66% 45%; }
.seuil-cadre::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(254, 245, 236, 0.94) 0%, rgba(254, 245, 236, 0.8) 30%, rgba(254, 245, 236, 0) 58%); }
.seuil-titre { position: absolute; z-index: 2; left: max(clamp(24px, 6.5vw, 110px), calc((100vw - 1400px) / 2)); bottom: clamp(48px, 10vh, 120px); width: min(46vw, 640px); }
.marque-bloc { margin-bottom: clamp(28px, 6vh, 72px); }
.marque-soleil { display: block; width: 84px; margin-bottom: 10px; overflow: visible; }
.marque-soleil path { stroke-width: 1.4; }
.marque { font-family: var(--titre); font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: 0.26em; margin: 0 0 12px; color: var(--it-gold-dark); background: linear-gradient(100deg, #B58244 0%, #B58244 30%, #EDD58B 50%, #B58244 68%, #B58244 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.promesse { font-family: var(--structure); font-weight: 600; font-size: clamp(16px, 1.25vw, 19px); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.5; margin: 0; max-width: 460px; text-wrap: balance; }
.accroche { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.5; max-width: 460px; margin: 26px 0 0; font-weight: 500; }
.descendre { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 44px; height: 64px; margin-left: -22px; display: grid; place-items: center; opacity: calc(1 - var(--p) * 4); }
.descendre svg { height: 56px; }
.descendre path, .chemin-dessin path { fill: none; stroke: var(--it-gold-dark); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* 2. L'annonce et le manque */
.annonce { padding: clamp(120px, 18vw, 240px) 0; background: linear-gradient(180deg, var(--it-bg) 0%, var(--it-white) 50%, var(--brume) 100%), var(--it-white); }
.annonce .colonne { max-width: 960px; }
.annonce .grand { margin: 0; }
.manque { background: linear-gradient(var(--brume), var(--brume)), var(--it-white); padding: 0 0 clamp(110px, 15vw, 200px); }
.grille-manque { max-width: 1240px; margin: 0 auto; padding: 0 var(--gouttiere); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.arche-vide { position: sticky; top: 12vh; height: min(70vh, 600px); border: 1px solid rgba(123, 116, 102, 0.4); border-bottom: 0; border-radius: 999px 999px 0 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 40px; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.grille-manque .texte { padding-top: 12vh; }

/* 3. Le souvenir : la photo reste, le verre passe dessus */
.souvenir { position: relative; overflow: clip; }
.souvenir-photo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.souvenir-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.verre { position: relative; z-index: 2; width: min(52vw, 660px); margin: -70vh 0 0 max(var(--gouttiere), calc((100vw - 1240px) / 2)); margin-bottom: 0; padding: clamp(48px, 5vw, 78px); background: rgba(255, 251, 246, 0.84); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 330px 330px 0 0; -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 40px 100px rgba(123, 116, 102, 0.24); padding-top: clamp(120px, 13vw, 200px); padding-bottom: 80px; }
.verre h2 { text-align: center; font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 40px; }
.verre p:last-child { margin-bottom: 0; }

/* 4. La maison de quatre étages */
.maison { position: relative; background: linear-gradient(180deg, var(--it-white) 0%, var(--it-bg) 60%, var(--it-bg) 100%); padding: clamp(110px, 15vw, 210px) 0 clamp(90px, 12vw, 160px); }
.maison .colonne { max-width: 1120px; }
.grille-maison { max-width: 1160px; margin: clamp(70px, 9vw, 130px) auto 0; padding: 0 var(--gouttiere); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.maison-fixe { position: sticky; top: max(40px, calc(50vh - 330px)); }
.maison-dessin { display: block; height: min(660px, 84vh); width: auto; margin: 0 auto; overflow: visible; }
.grille-maison .texte { padding: 24vh 0 8vh; }
.grille-maison .texte p { margin-bottom: 34px; }
.mur { fill: none; stroke: var(--it-gold-dark); stroke-width: 1.5; }
.mur.fin { stroke-width: 1; opacity: 0.7; }
.fenetre { fill: rgba(123, 116, 102, 0.07); stroke: var(--it-gold-dark); stroke-width: 1; }
.lumiere { fill: url(#lueur); opacity: clamp(0, calc((var(--p) - var(--s)) * 7), 1); filter: drop-shadow(0 0 14px rgba(237, 213, 139, 0.95)); }
.maison-dessin text { font-family: var(--titre); font-style: italic; font-size: 21px; fill: var(--it-text); opacity: clamp(0.3, calc((var(--p) - var(--s)) * 7), 1); }

/* 5. Le passage : une arche qui s'ouvre jusqu'à remplir l'écran */
.passage { height: 180vh; height: 180svh; background: var(--it-bg); }
.passage-cadre { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.passage-arche { position: absolute; inset: 0; isolation: isolate; --cx: 64%; --cy: 44%; --o: clamp(0, calc(1 - var(--p) * 1.35), 1); clip-path: inset(calc(var(--o) * 12vh) calc(var(--o) * 36vw) 0 calc(var(--o) * 36vw) round calc(var(--o) * 40vw) calc(var(--o) * 40vw) 0 0); }
.passage-arche img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; transform: translateX(calc(var(--o) * -14vw)) scale(calc(1 + var(--o) * 0.12)); }
.passage-arche .eteint { --r: calc(6vmax + var(--p) * 150vmax); transform: translateX(calc(var(--o) * -14vw)); }

/* 6. L'arcade : sept portes qui s'ouvrent */
.arcade { background: linear-gradient(180deg, var(--it-bg) 0%, var(--it-white) 34%); padding: clamp(100px, 13vw, 180px) 0; }
.arcade h2 { text-align: center; }
.galerie { margin: clamp(56px, 7vw, 96px) 0; }
.arches { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 24px; max-width: 1280px; margin: 0 auto; padding: 0 var(--gouttiere); }
.arche { position: relative; width: calc((100% - 72px) / 4); min-height: 470px; border-radius: 999px 999px 0 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: 130px 26px 44px; background: radial-gradient(ellipse at 50% 100%, rgba(237, 213, 139, 0.75) 0%, rgba(254, 245, 236, 0.9) 46%, #FFFFFF 100%); border: 1px solid rgba(181, 130, 68, 0.45); }
.arche::before { content: ""; position: absolute; left: 50%; top: 62px; width: 54px; height: 31px; margin-left: -27px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 68'%3E%3Cg fill='none' stroke='%23B58244' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M42 64a18 18 0 0 1 36 0M60 36V8M46 38l-8-22M74 38l8-22M36 46L16 30M84 46l20-16M31 56L8 49M89 56l23-7'/%3E%3C/g%3E%3C/svg%3E"); }
.arche p { position: relative; margin: auto 0; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.arche:last-child { width: calc((100% - 72px) / 4); }
.battants { position: absolute; inset: 0; perspective: 1100px; pointer-events: none; }
.battants i { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--motif) center top / 54px, linear-gradient(90deg, #B58244 0%, #EDD58B 50%, #B58244 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), inset 0 0 40px rgba(122, 84, 34, 0.3); transition: transform 1.7s cubic-bezier(0.5, 0.05, 0.2, 1), opacity 0.5s ease 1.3s; transition-delay: var(--d, 0s), calc(var(--d, 0s) + 1.3s); }
.battants i:first-child { left: 0; transform-origin: left center; }
.battants i:last-child { right: 0; transform-origin: right center; }
.battants i, .ouverte .battants i { opacity: 0; }
.battants i:first-child { transform: rotateY(-88deg); }
.battants i:last-child { transform: rotateY(88deg); }
.js .arche:not(.ouverte) .battants i { opacity: 1; transform: none; }
.apres-arcade { text-align: center; max-width: 620px; margin: 0 auto; text-wrap: pretty; }

/* 7. Photo en arche et texte */
.nest-pas, .apropos { padding: clamp(90px, 12vw, 170px) 0; }
.grille-photo { max-width: 1240px; margin: 0 auto; padding: 0 var(--gouttiere); display: grid; grid-template-columns: 6fr 6fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.fenetre-arche { position: sticky; top: 8vh; border-radius: 999px 999px 0 0; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 12px var(--it-white), 0 0 0 13px rgba(181, 130, 68, 0.5), 0 50px 110px rgba(123, 116, 102, 0.2); }
.fenetre-arche img { width: 100%; height: min(84vh, 780px); object-fit: cover; object-position: 46% 50%; }
.nest-pas .texte { padding-top: 6vh; }
.nest-pas h2, .apropos h2 { margin-bottom: 44px; }
.non { padding: 34px 0 0; margin: 0 0 34px; border-top: 1px solid var(--filet); }
.non:last-child { margin-bottom: 0; }
.premiere { display: block; font-family: var(--titre); font-style: italic; font-size: 28px; line-height: 1.25; color: var(--it-gold-dark); margin-bottom: 12px; }

/* 8. Le prix derrière le portail */
.prix { overflow-x: clip; background: linear-gradient(180deg, var(--it-white) 0%, var(--it-bg) 100%); padding-bottom: clamp(100px, 13vw, 180px); }
.prix-scene { height: 165vh; height: 165svh; }
.prix-cadre { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.portail { position: relative; width: min(78vw, 56vh, 520px); aspect-ratio: 5 / 7; border-radius: 999px 999px 0 0; perspective: 1500px; border: 1px solid rgba(181, 130, 68, 0.6); border-bottom-width: 2px; box-shadow: 0 0 calc(40px + var(--p) * 160px) calc(var(--p) * 50px) rgba(237, 213, 139, 0.6); }
.portail-lumiere { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #FEF5EC 38%, rgba(237, 213, 139, 0.85) 100%); }
.portail-lumiere svg { position: absolute; width: 190%; left: -45%; top: 50%; translate: 0 -50%; animation: tourner 120s linear infinite; }
.portail-lumiere line { stroke: var(--it-gold-dark); stroke-width: 0.5; opacity: 0.35; }
@keyframes tourner { to { transform: rotate(360deg); } }
.chiffre-or { position: relative; margin: 0; padding: 0 0.1em; font-family: var(--titre); font-variant-numeric: lining-nums; font-size: clamp(88px, 17vh, 168px); line-height: 1.2; white-space: nowrap; color: var(--it-gold-dark); background: var(--or); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; scale: calc(0.7 + var(--p) * 0.3); opacity: clamp(0, calc((var(--p) - 0.5) * 4), 1); }
.vantail { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--motif) center 30px / 64px, linear-gradient(90deg, #B58244 0%, #EDD58B 52%, #B58244 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), inset 0 0 60px rgba(122, 84, 34, 0.35); }
.vantail-g { left: 0; border-top-left-radius: 100% 35.72%; transform-origin: left center; transform: rotateY(calc(var(--p) * -104deg)); }
.vantail-d { right: 0; border-top-right-radius: 100% 35.72%; transform-origin: right center; transform: rotateY(calc(var(--p) * 104deg)); }
.vantail::after { content: ""; position: absolute; top: 56%; width: 9px; height: 34px; border-radius: 9px; background: #FEF5EC; box-shadow: 0 2px 6px rgba(122, 84, 34, 0.4); }
.vantail-g::after { right: 14px; }
.vantail-d::after { left: 14px; }
.fige .vantail, html:not(.js) .vantail { display: none; }
.prix-texte { padding-top: 40px; }
.prix-texte h2 { text-align: center; margin-bottom: 52px; }
.prix-texte > p:not([class]) { max-width: 600px; margin-left: auto; margin-right: auto; }
.prix-texte .cle { text-align: center; }

/* 9. Le chemin */
.chemin { position: relative; background: var(--it-bg); overflow: hidden; }
.chemin-photo { position: relative; height: max(760px, 100vh); overflow: hidden; isolation: isolate; }
.chemin-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 92% 50%; transform: scale(calc(1.14 - var(--p) * 0.14)); transform-origin: 70% 45%; }
.chemin-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(254, 245, 236, 0.97) 0%, rgba(254, 245, 236, 0.9) 34%, rgba(254, 245, 236, 0) 60%); }
.chemin-texte { position: absolute; z-index: 2; left: max(clamp(24px, 6.5vw, 110px), calc((100vw - 1400px) / 2)); top: calc(max(760px, 100vh) / 2); translate: 0 -50%; width: min(44vw, 560px); }
.chemin-texte h2 { font-size: clamp(32px, 3.5vw, 52px); margin-bottom: 34px; }
.chemin-texte p:not(.cle) { line-height: 1.7; }
.chemin-texte .cle { margin: 30px 0 0; }
.chemin-ligne { max-width: 1100px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--gouttiere) 0; }
.chemin-dessin { display: block; width: 100%; overflow: visible; }
.chemin-dessin g { opacity: clamp(0.2, calc((var(--p) * 13 - var(--i) - 1)), 1); }
.chemin-dessin g path:first-child { fill: rgba(237, 213, 139, calc(0.1 + 0.35 * clamp(0, calc((var(--p) * 13 - var(--i) - 2)), 1))); }
.chemin-dessin .sortie path:first-child { fill: rgba(237, 213, 139, 0.55); }
.chemin-dessin .sol { opacity: 0.4; }

/* 10. Ce que tu reçois */
.recois { background: linear-gradient(180deg, var(--it-bg) 0%, var(--it-white) 70%); padding: clamp(90px, 12vw, 170px) 0; }
.recois h2 { max-width: 760px; margin-bottom: clamp(50px, 6vw, 90px); }
.grille-recois { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.liste p { margin: 0; padding: 38px 0; border-top: 1px solid var(--filet); display: grid; grid-template-columns: clamp(120px, 13vw, 190px) 1fr; gap: 28px; align-items: center; }
.liste p:last-child { border-bottom: 1px solid var(--filet); }
.liste .chiffre { font-family: var(--titre); font-variant-numeric: lining-nums; font-size: clamp(78px, 8.6vw, 126px); line-height: 1; letter-spacing: -0.03em; color: var(--it-gold-dark); background: var(--or); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.liste p.sans::before { content: ""; width: 58px; height: 88px; margin-left: 6px; border: 1px solid var(--it-gold-dark); border-radius: 999px 999px 0 0; background: radial-gradient(ellipse at 50% 100%, rgba(237, 213, 139, 0.95), rgba(254, 245, 236, 0.4) 75%); }
.fenetre-arche.haute img { height: min(86vh, 820px); object-position: 60% 60%; }

/* 11. L'aube : les 21 rayons se lèvent */
.aube { position: relative; overflow: hidden; text-align: center; padding: clamp(90px, 12vw, 160px) 0 clamp(110px, 14vw, 200px); background: linear-gradient(180deg, var(--it-white) 0%, var(--it-bg) 22%, rgba(237, 213, 139, 0.42) 78%, rgba(251, 189, 172, 0.22) 100%); }
.aube-soleil { display: block; width: min(1200px, 124vw); margin: 0 0 56px; position: relative; left: 50%; translate: -50% 0; max-width: none; }
.aube-soleil line { stroke-width: 1.4; opacity: clamp(0.12, calc((var(--p) * 24 - var(--i))), 1); }
.aube-soleil .astre { stroke-width: 1.6; fill: rgba(237, 213, 139, calc(var(--p) * 0.6)); }
.aube h2 { margin-bottom: 56px; }
.aube .colonne > p:not([class]) { max-width: 620px; margin-left: auto; margin-right: auto; }
.aube .grand { margin: 64px 0; }
.aube .cle { margin: 0 0 64px; }
.aube .geste { font-size: 60px; }

/* 12. Questions */
.oui-mais { padding: clamp(100px, 13vw, 180px) 0; }
.grille-faq { max-width: 1240px; margin: 0 auto; padding: 0 var(--gouttiere); display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.grille-faq h2 { position: sticky; top: 16vh; font-style: italic; }
.faq details { border-top: 1px solid var(--filet); }
.faq details:last-child { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; gap: 28px; align-items: center; padding: 30px 0; font-family: var(--titre); font-variant-numeric: lining-nums; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 46px; border: 1px solid var(--it-gold-dark); border-radius: 999px 999px 0 0; background: linear-gradient(90deg, transparent calc(50% - 0.5px), var(--it-gold-dark) calc(50% - 0.5px), var(--it-gold-dark) calc(50% + 0.5px), transparent calc(50% + 0.5px)); transition: background 0.4s ease; }
.faq details[open] summary::after { background: radial-gradient(ellipse at 50% 100%, var(--it-gold-light), #FFFFFF 85%); }
.faq summary:focus-visible { outline: 2px solid var(--it-gold-dark); outline-offset: 4px; }
.faq details p { max-width: 620px; margin: 0 0 34px; }

/* 13. À propos */
.apropos { background: var(--it-bg); }
.inverse .fenetre-arche { order: 2; box-shadow: 0 0 0 12px var(--it-bg), 0 0 0 13px rgba(181, 130, 68, 0.5), 0 50px 110px rgba(123, 116, 102, 0.2); }
.apropos .fenetre-arche img { object-position: 44% 40%; height: min(80vh, 720px); }
.apropos .texte { padding-top: 4vh; }

/* 14. La fin : elle entre */
.fin { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--it-bg); }
.fin-photo { position: relative; overflow: hidden; }
.fin-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.fin-texte { align-self: center; padding: 100px clamp(28px, 6vw, 110px); max-width: 760px; }
.fin-accroche { font-size: 21px; margin-bottom: 14px; }
.fin-titre { font-family: var(--titre); font-style: italic; font-size: clamp(38px, 4.4vw, 66px); line-height: 1.08; margin-bottom: 34px; text-wrap: balance; }
.fin .bouton-ligne { text-align: left; margin-top: 46px; }

.pied { background: var(--it-white); padding: 60px 0 48px; text-align: center; font-size: 15px; }
.pied .container { padding: 0 var(--gouttiere); }
.pied-marque { font-family: var(--titre); font-size: 20px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 14px; }
.pied-liens a { text-decoration: none; margin: 0 4px; }
.pied-liens a:hover { color: var(--it-gold-dark); }
.pied-copie { font-size: 13px; margin: 14px 0 0; }

/* Page figée : animations réduites, aperçu, JavaScript absent */
.fige .seuil, html:not(.js) .seuil { height: auto; }
.fige .passage, html:not(.js) .passage { height: auto; }
.fige .prix-scene, html:not(.js) .prix-scene { height: auto; }
.fige .seuil-cadre, .fige .passage-cadre, .fige .prix-cadre { position: relative; }
.fige .portail-lumiere svg { animation: none; }
.fige .battants { display: none; }
.fige .descendre { opacity: 1; }

@media (min-width: 900px) and (max-width: 1239px) {
  .seuil-cadre img { object-position: 100% 50%; }
  .seuil-cadre { --cx: 58%; }
  .seuil-cadre::after { background: linear-gradient(90deg, rgba(254, 245, 236, 0.96) 0%, rgba(254, 245, 236, 0.9) 38%, rgba(254, 245, 236, 0) 64%); }
  .seuil-titre { width: 42vw; }
  .promesse { max-width: 300px; }
  .chemin-photo img { object-position: 100% 50%; }
  .chemin-photo::after { background: linear-gradient(90deg, rgba(254, 245, 236, 0.98) 0%, rgba(254, 245, 236, 0.95) 44%, rgba(254, 245, 236, 0) 66%); }
  .chemin-texte { width: 42vw; }
  .bouton { padding: 22px 30px; font-size: 17px; letter-spacing: 0.06em; }
}

@media (min-width: 1240px) and (max-width: 1439px) {
  .chemin-photo img { object-position: 100% 50%; }
  .chemin-photo::after { background: linear-gradient(90deg, rgba(254, 245, 236, 0.98) 0%, rgba(254, 245, 236, 0.94) 40%, rgba(254, 245, 236, 0) 62%); }
  .chemin-texte { width: 38vw; }
}

@media (max-width: 899px) {
  :root { --gouttiere: 22px; }
  body { font-size: 17px; line-height: 1.75; }
  .seuil { height: 155vh; height: 155svh; }
  .seuil-cadre { height: min(100vh, 214vw); height: min(100svh, 214vw); }
  .seuil-cadre { --cx: 56%; --cy: 43%; }
  .seuil-cadre img { object-position: 50% 0; transform-origin: 56% 43%; }
  .seuil-cadre::after { background: linear-gradient(180deg, rgba(254, 245, 236, 0) 44%, rgba(254, 245, 236, 0.86) 66%, #FEF5EC 78%); }
  .seuil-titre { left: 0; right: 0; width: auto; bottom: 84px; padding: 0 var(--gouttiere); text-align: center; }
  .marque-bloc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
  h1 { font-size: clamp(38px, 11vw, 48px); }
  .accroche { font-size: 18px; margin: 16px auto 0; }
  .descendre { bottom: 12px; height: 54px; }
  .descendre svg { height: 46px; }

  .grand { font-size: 24px; }
  .tres-grand { font-size: clamp(40px, 11.4vw, 52px); }
  .cle { font-size: 26px; }
  .annonce { padding: 110px 0; }

  .grille-manque, .grille-maison, .grille-photo, .grille-recois, .grille-faq, .fin { grid-template-columns: 1fr; }
  .grille-manque { gap: 0; }
  .arche-vide { position: relative; top: auto; height: 340px; max-width: 290px; width: 100%; margin: 0 auto; padding: 0 30px; }
  .grille-manque .texte { padding-top: 30px; }
  .texte p { max-width: none; }

  .souvenir-photo { height: 100vh; height: 100svh; }
  .souvenir-photo img { object-position: 76% 40%; }
  .verre { width: auto; margin: -34vh 14px 0; padding: 130px 26px 60px; border-radius: 200px 200px 0 0; background: rgba(255, 251, 246, 0.92); }

  .grille-maison { display: block; margin-top: 60px; }
  .maison-fixe { position: sticky; top: 0; z-index: 2; padding: 26px 0 54px; background: linear-gradient(180deg, var(--it-bg) 0%, var(--it-bg) 86%, rgba(254, 245, 236, 0) 100%); }
  .maison-dessin { height: 31vh; height: 31svh; }
  .grille-maison .texte { padding: 20px 0 10vh; }
  .maison { background: linear-gradient(180deg, var(--it-white) 0%, var(--it-bg) 18%); }

  .passage { height: 150vh; height: 150svh; }
  .passage-arche { --cx: 62%; --cy: 44%; clip-path: inset(calc(var(--o) * 16vh) calc(var(--o) * 20vw) 0 calc(var(--o) * 20vw) round calc(var(--o) * 34vw) calc(var(--o) * 34vw) 0 0); }
  .passage-arche img { object-position: 67% 50%; transform: scale(calc(1 + var(--o) * 0.1)); }
  .passage-arche .eteint { transform: none; }

  .galerie { margin: 44px 0 56px; }
  .arches { flex-wrap: nowrap; justify-content: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 13vw 18px; scrollbar-width: none; }
  .arches::-webkit-scrollbar { display: none; }
  .arche, .arche:last-child { flex: 0 0 74vw; width: 74vw; max-width: 320px; min-height: 468px; scroll-snap-align: center; }

  .fenetre-arche { position: relative; top: auto; max-width: 360px; width: calc(100% - 30px); margin: 0 auto; }
  .fenetre-arche img, .apropos .fenetre-arche img { height: 440px; }
  .fenetre-arche.haute { display: none; }
  .inverse .fenetre-arche { order: 0; }
  .premiere { font-size: 25px; }

  .prix-scene { height: 145vh; height: 145svh; }
  .portail { width: min(80vw, 52vh); }
  .chiffre-or { font-size: clamp(80px, 25vw, 112px); }

  .chemin-photo { height: 96vw; }
  .chemin-photo img { object-position: 78% 50%; }
  .chemin-photo::after { background: linear-gradient(180deg, rgba(254, 245, 236, 0) 70%, var(--it-bg) 100%); }
  .chemin-texte { position: relative; left: auto; top: auto; translate: none; width: auto; padding: 24px var(--gouttiere) 0; }
  .chemin-ligne { padding-top: 60px; }

  .liste p { padding: 28px 0; grid-template-columns: 92px 1fr; gap: 18px; }
  .liste .chiffre { font-size: 76px; }
  .liste p.sans::before { width: 46px; height: 70px; }

  .aube-soleil { width: 150vw; margin-bottom: 40px; }
  .aube .grand { margin: 48px 0; }
  .geste { font-size: 42px; }
  .aube .geste { font-size: 50px; }

  .grille-faq h2 { position: relative; top: auto; }
  .faq summary { padding: 24px 0; gap: 18px; }
  .fin { min-height: 0; }
  .fin-photo { height: 112vw; }
  .fin-texte { padding: 60px var(--gouttiere) 80px; text-align: center; }
  .fin .bouton-ligne { text-align: center; }
  .bouton { font-size: 17.5px; letter-spacing: 0.06em; padding: 22px 26px; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .seuil-cadre { height: min(100vh, 150vw); height: min(100svh, 150vw); --cy: 56%; }
  .seuil-cadre::after { background: linear-gradient(180deg, rgba(254, 245, 236, 0) 64%, rgba(254, 245, 236, 0.92) 79%, #FEF5EC 88%); }
  .seuil-titre { bottom: 74px; }
  h1 { font-size: 46px; }
}

@media (max-width: 899px) and (max-height: 520px) {
  .seuil { height: auto; }
  .seuil-cadre { position: relative; height: 122vw; min-height: 0; }
  .passage, .prix-scene { height: auto; }
  .passage-cadre, .prix-cadre { position: relative; height: 110vh; }
  .maison-fixe { position: relative; }
  .maison-dessin { height: 90vh; }
  .souvenir-photo { position: relative; height: 70vw; }
  .verre { margin-top: -10vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton, .battants i, .js .allume .mot { transition: none; }
  .portail-lumiere svg { animation: none; }
}
