/* ───────── Accueil 3D puis voyage : une seule scène ───────── */
.scene { position: relative; z-index: 1; background: #fff; }
.js .scene { height: calc(100svh + var(--course, 500vh)); }
.plateau { position: relative; min-height: 100svh; overflow: hidden; background: #fff; }
.js .plateau { position: sticky; top: 0; height: 100svh; }
.relief { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.accueil { position: absolute; z-index: 3; left: var(--bord); top: 0; bottom: 0; display: grid; align-content: center; align-content: safe center; padding: 88px 0 22px; width: min(40vw, 660px); pointer-events: none; will-change: translate, opacity; }
.accueil a { pointer-events: auto; }
.accueil .ligne { display: block; overflow: hidden; padding: .06em .04em; margin: -.06em -.04em; }
.accueil .ligne > span { display: block; }
.js .accueil .ligne > span { animation: monter 1.1s var(--frein) both .15s; }
.js .accueil .ligne + .ligne > span { animation-delay: .25s; }
.js .accueil .chapo, .js .accueil .actions { animation: paraitre .9s var(--frein) both .55s; }
.js .accueil .actions { animation-delay: .7s; }
.codes-mini { display: flex; gap: 14px; margin-top: clamp(26px, 4.4svh, 50px); } .code-mini { margin: 0; width: clamp(104px, min(15svh, 15vw), 160px); padding-bottom: 11px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 2px var(--brume), 0 16px 32px -18px rgba(14, 31, 0, .3); display: grid; justify-items: center; pointer-events: auto; transition: transform .7s var(--frein); transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); } .code-mini .qr { width: 100%; clip-path: circle(var(--rq, 0%) at 50% 50%); transition: clip-path 1.3s var(--frein) 1.05s; } .codes-mini.vu .qr { --rq: 80%; } .codes-mini.vu .code-mini + .code-mini .qr { transition-delay: 1.23s; } .code-mini .qr svg { width: 100%; height: auto; } .code-mini figcaption { display: flex; align-items: center; gap: 6px; margin-top: -3px; font-weight: 700; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; color: var(--foret); } .code-mini figcaption svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.js .accueil .codes-mini { animation: paraitre .9s var(--frein) both .85s; }
@keyframes monter { from { transform: translateY(115%) rotate(3deg); } }
@keyframes paraitre { from { opacity: 0; transform: translateY(26px); } }
.chapo { margin-top: clamp(18px, 2.6svh, 30px); font-size: clamp(17px, 1.42vw, 22px); line-height: 1.45; max-width: 25em; color: #3a3f37; text-wrap: pretty; }
.accueil .actions { margin-top: clamp(20px, 3svh, 34px); }
/* sans WebGL : le téléphone de la page tient la place */
.sans-relief .visite { visibility: visible; } .sans-relief .etapes, .sans-relief .avance { visibility: hidden; } .sans-relief .visite.active :is(.etapes, .avance) { visibility: visible; } .sans-relief .telephone { left: 74%; transition: left .8s var(--frein), top .8s var(--frein); } .sans-relief .visite.active .telephone { left: 50%; }

.visite { position: absolute; inset: 0; z-index: 5; visibility: hidden; touch-action: pan-y; --tel-h: min(82svh, 880px, 60vw); }
.visite.active { visibility: visible; }
.telephone { left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; }
.etapes { position: absolute; inset: 0; }
.etape { position: absolute; inset: 0; pointer-events: none; visibility: hidden; color: var(--foret); }
.etape.ici { visibility: inherit; }
.etape-nom { position: absolute; left: var(--bord); right: calc(50% + var(--tel-h) * .26); top: 50%; transform: translateY(-50%); display: grid; gap: 22px; justify-items: start; }
.etape-nom .num { width: 58px; height: 58px; border-radius: 50%; background: var(--foret); color: var(--lime); display: grid; place-items: center; font: 900 26px/1 var(--titre); transform: scale(0); transition: transform .6s var(--vif); }
.etape-nom h3 { font: 900 clamp(34px, 4.6vw, 86px)/.9 var(--titre); letter-spacing: -.04em; text-transform: uppercase; overflow: hidden; padding: .07em .04em .03em; margin: -.07em -.04em -.03em; }
.etape-nom h3 span { display: block; transform: translateY(112%) rotate(3deg); transform-origin: 0 100%; transition: transform .85s var(--frein) .05s; }
.etape-dit { position: absolute; left: calc(50% + var(--tel-h) * .315); right: calc(var(--bord) + 24px); top: 50%; transform: translateY(-50%); font-size: clamp(18px, 2vw, 32px); line-height: 1.28; font-weight: 500; letter-spacing: -.015em; text-wrap: balance; opacity: 0; translate: 40px 0; transition: opacity .5s .1s, translate .9s var(--frein) .1s; }
.etape.ici .num { transform: none; } .etape.ici h3 span { transform: none; } .etape.ici .etape-dit { opacity: 1; translate: 0 0; }
.avance { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); display: flex; z-index: 7; }
.avance button { padding: 16px 4px; }
.avance i { display: block; width: 54px; height: 6px; border-radius: 9px; background: rgba(22, 51, 0, .16); overflow: hidden; }
.avance i::before { content: ""; display: block; height: 100%; border-radius: 9px; background: var(--foret); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.vue { position: absolute; inset: 0; will-change: transform, opacity; }
.vue > img, .vue > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vue.dessus { z-index: 2; box-shadow: -14px 0 40px rgba(14, 15, 12, .16); }
.repere-depart { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.repere-depart b { order: 0; display: grid; place-content: center; width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: 50%; background: var(--foret); color: #fff; border: calc(2 * var(--u)) solid #fff; box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(14, 15, 12, .35); font: 700 calc(19 * var(--u))/calc(17 * var(--u)) var(--texte); text-align: center; animation: none; }
.repere-depart b small { display: block; font: 600 calc(9 * var(--u))/calc(10 * var(--u)) var(--texte); margin-top: calc(1 * var(--u)); }
.repere-depart::before { content: ""; order: 1; width: calc(3 * var(--u)); height: calc(12 * var(--u)); background: var(--foret); }
.repere-depart::after { content: ""; order: 2; box-sizing: border-box; width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; background: #fff; border: calc(5 * var(--u)) solid var(--foret); box-shadow: 0 1px 5px rgba(14, 15, 12, .35); }

/* Tablette et téléphone tenus droits : le téléphone au-dessus, le texte dessous */
@media (max-width: 859px) and (orientation: portrait) {
  .visite { --tel-h: min(63svh, 100svh - 232px, 680px); --tel-top: max(26px, (100svh - var(--tel-h) - 226px) / 2 + 8px); }
  .telephone { top: calc(var(--tel-top) + var(--tel-h) / 2); }
  .sans-relief .telephone { left: 50%; top: 88%; } .sans-relief .visite.active .telephone { top: calc(var(--tel-top) + var(--tel-h) / 2); }
  .etape-nom { left: var(--marge); right: var(--marge); top: calc(var(--tel-top) + var(--tel-h) + 30px); transform: none; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .etape-nom .num { width: 40px; height: 40px; font-size: 19px; } .etape-nom h3 { font-size: clamp(32px, 9.4vw, 52px); }
  .etape-dit { left: var(--marge); right: var(--marge); top: calc(var(--tel-top) + var(--tel-h) + 94px); transform: none; text-align: center; font-size: clamp(16px, 2.3vw, 20px); line-height: 1.35; }
  .avance { bottom: 0; } .avance i { width: 40px; height: 5px; }
}
/* Accueil : deux colonnes serrées, puis une seule sur téléphone */
@media (max-width: 1040px) { .accueil .bouton { height: 50px; padding: 0 18px; font-size: 16px; } .chapo { font-size: 16.5px; } .accueil .actions { gap: 8px; } }
@media (max-width: 699px) and (orientation: portrait) {
  .accueil { width: auto; right: var(--marge); align-content: start; padding-top: clamp(76px, 10.5svh, 104px); }
  .accueil .geant { font-size: min(12.8vw, 8.2svh, 78px); } .code-mini { width: 104px; } .codes-mini { margin-top: 22px; }
  .chapo { font-size: min(17px, 2.2svh + 2px); max-width: 32em; margin-top: 10px; }
  .accueil .actions { margin-top: 14px; } .accueil .bouton { padding: 0 20px; }
}
@media (max-width: 559px) { .codes-mini { display: none; } }
/* Fenêtre basse, téléphone couché */
@media (max-height: 660px) and (min-aspect-ratio: 1/1) { .codes-mini { margin-top: 18px; } .code-mini { width: 96px; border-radius: 18px; } .accueil .geant { font-size: clamp(30px, min(5.5vw, 9.6svh), 60px); } .chapo { margin-top: 10px; font-size: 15.5px; } .accueil .actions { margin-top: 14px; } .accueil .bouton { height: 46px; } }
@media (max-height: 540px) and (min-aspect-ratio: 1/1) { .codes-mini { display: none; } .accueil { padding: 68px 0 12px; } .chapo { font-size: 14px; line-height: 1.38; } .accueil .bouton { height: 42px; padding: 0 16px; font-size: 15px; } .etape-nom { gap: 12px; } .etape-nom .num { width: 42px; height: 42px; font-size: 20px; } .etape-dit { font-size: 16px; } .avance button { padding: 8px 4px; } }

/* ───────── Blocs de couleur qui se recouvrent ───────── */
.bloc { position: relative; z-index: 2; margin-top: calc(var(--rayon-bloc) * -1); border-radius: var(--rayon-bloc) var(--rayon-bloc) 0 0; padding: clamp(72px, 8vw, 128px) 0; }
.deux { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (max-width: 899px) { .deux { grid-template-columns: minmax(0, 1fr); } }

/* ───────── L'idée ───────── */
.idee { background: #fff; z-index: 3; padding: 0; }
.js .idee { height: 240svh; }
.idee-plateau { display: flex; align-items: center; padding: clamp(36px, 12svh, 130px) var(--bord); } .js .idee-plateau { position: sticky; top: 0; min-height: 100svh; }
.phrase { font: 900 clamp(34px, min(5.4vw, 12svh), 100px)/1.04 var(--titre); letter-spacing: -.04em; color: var(--foret); text-wrap: balance; }
.js .phrase .mot { opacity: calc(.13 + .87 * var(--o, 0)); transition: opacity .25s linear; }
.incruste { display: inline-flex; align-items: center; vertical-align: -.08em; height: .86em; border-radius: 99px; overflow: hidden; position: relative; margin: 0 .04em; opacity: calc(.13 + .87 * var(--o, 1)); }
.inc-auto { width: 1.9em; background: var(--lime); } .inc-auto::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: .05em; margin-top: -.025em; background: repeating-linear-gradient(90deg, rgba(22, 51, 0, .55) 0 .16em, transparent .16em .34em); } .inc-auto img { position: absolute; width: .36em; height: .66em; left: calc(var(--o, 1) * 62% + 6%); top: 50%; transform: translateY(-50%) rotate(90deg); transition: left .5s var(--frein); }
.inc-places { vertical-align: -.04em; gap: .1em; padding: 0 .2em; background: var(--menthe); } .inc-places i { width: .42em; height: .42em; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 .055em var(--foret); transition: background .4s, transform .5s var(--vif); transition-delay: calc(var(--k, 0) * 110ms); } .inc-places i:first-child, .idee.reunis .inc-places i { background: var(--foret); transform: scale(1.08); } .inc-places i:nth-child(2) { --k: 1; } .inc-places i:nth-child(3) { --k: 2; } .inc-places i:nth-child(4) { --k: 3; }
.inc-gens { overflow: visible; } .inc-gens img { width: .86em; height: .86em; border-radius: 50%; box-shadow: 0 0 0 .05em #fff; transition: margin .6s var(--frein), transform .6s var(--vif); } .inc-gens img + img { margin-left: -.1em; } .idee.reunis .inc-gens img { transform: translateY(-.08em); } .idee.reunis .inc-gens img + img { margin-left: -.3em; }
@media (max-width: 759px) and (orientation: portrait) { .phrase { font-size: clamp(34px, min(11vw, 7svh), 66px); line-height: 1.06; } .js .idee { height: 200svh; } }

/* ───────── Pays ───────── */
.pays { background: #fff; z-index: 5; padding: 0; }
.js .pays { height: 210svh; margin-top: -46svh; background: transparent; }
.js .pays canvas { -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
@media (max-width: 859px) and (orientation: portrait) { .js .pays { margin-top: -18svh; } }
.pays-plateau { position: relative; height: 100svh; min-height: 360px; overflow: hidden; border-radius: inherit; } .js .pays-plateau { position: sticky; top: 0; }
.pays canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pays-texte { position: absolute; z-index: 2; left: var(--bord); top: 50%; transform: translateY(-50%); width: min(60vw, 900px); pointer-events: none; } .pays .grand { font-size: clamp(38px, 4.1vw, 80px); } .pays-texte .intro { margin-top: 26px; max-width: 22em; } .pays-texte .intro b { color: var(--foret); font-variant-numeric: tabular-nums; }
@media (max-width: 859px) and (orientation: portrait) { .pays-plateau { min-height: 540px; } .pays .grand { font-size: clamp(26px, 8.4vw, 58px); } .pays-texte { left: var(--marge); right: var(--marge); width: auto; top: clamp(64px, 10svh, 100px); transform: none; } .pays-texte .intro { margin-top: 14px; } }
@media (max-height: 540px) and (min-aspect-ratio: 1/1) { .pays .grand { font-size: clamp(26px, 4vw, 40px); } .pays-texte { width: 46vw; } .pays-texte .intro { margin-top: 12px; font-size: 16px; } }

/* ───────── Conduire ───────── */
.conducteur { background: #fff; z-index: 6; overflow: clip; }
.conduite { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 56px); align-items: center; }
.conduite .intro { margin-top: clamp(16px, 1.8vw, 26px); font-size: clamp(18px, 1.75vw, 27px); line-height: 1.35; max-width: 21em; }
.equipage { display: flex; gap: clamp(8px, 1vw, 14px); margin-top: clamp(22px, 2.4vw, 34px); } .siege { position: relative; width: 84px; height: 84px; border-radius: 50%; box-shadow: inset 0 0 0 4px var(--brume); display: grid; place-items: center; } .siege img { width: 72px; height: 72px; border-radius: 50%; } .siege[data-siege] img { transform: translateX(160%) scale(.4) rotate(40deg); opacity: 0; transition: transform .9s var(--vif), opacity .3s; } .siege.pris { box-shadow: inset 0 0 0 4px var(--foret); } .siege.pris img { transform: none !important; opacity: 1 !important; } .conducteur-siege { box-shadow: inset 0 0 0 4px var(--foret); }
.voiture-fixe { width: 100%; height: auto; }
@media (max-width: 899px) { .siege { width: 66px; height: 66px; } .siege img { width: 56px; height: 56px; } }
@media (max-width: 759px) { .conduite { grid-template-columns: minmax(0, 1fr); } .voiture-fixe { width: calc(100% + var(--marge) * .8); max-width: none; margin-inline: calc(var(--marge) * -.4); } }
@media (max-width: 359px) { .siege { width: 58px; height: 58px; } .siege img { width: 48px; height: 48px; } }

/* ───────── Sécurité ───────── */
.securite { background: #fff; z-index: 7; }
.engagements { margin-top: clamp(36px, 5vw, 84px); border-bottom: 2px solid var(--brume); }
.engagements li { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 260px; gap: clamp(16px, 2.4vw, 44px); align-items: center; padding: clamp(18px, 2vw, 30px) clamp(0px, 1.6vw, 28px); border-top: 2px solid var(--brume); isolation: isolate; transition: color .35s; overflow: hidden; color: var(--ardoise); }
.engagements li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--frein); }
.engagements b { font: 900 clamp(28px, 3.7vw, 66px)/.95 var(--titre); letter-spacing: -.04em; text-transform: uppercase; color: var(--foret); transition: transform .6s var(--frein); } .engagements span { font-size: clamp(17px, 1.5vw, 23px); line-height: 1.35; }
.vignette { display: flex; align-items: center; justify-content: flex-end; height: 72px; font-style: normal; } .vignette s { text-decoration: none; }
.v-visages img { width: 64px; height: 64px; border-radius: 50%; border: 4px solid #fff; margin-left: -16px; transition: margin .6s var(--frein), border-color .35s; }
.v-papiers s { width: 52px; height: 68px; border-radius: 10px; background-color: var(--lime); margin-left: -20px; border: 4px solid #fff; transition: transform .6s var(--vif), border-color .35s; background-image: linear-gradient(var(--foret) 0 0), linear-gradient(var(--foret) 0 0), linear-gradient(var(--foret) 0 0); background-size: 24px 4px, 24px 4px, 14px 4px; background-position: 10px 16px, 10px 26px, 10px 36px; background-repeat: no-repeat; } .v-papiers s:nth-child(1) { transform: rotate(-8deg); } .v-papiers s:nth-child(3) { transform: rotate(8deg); }
.v-code { gap: 8px; } .v-code s { width: 48px; height: 60px; border-radius: 14px; background: var(--menthe); color: var(--foret); display: grid; place-items: center; font: 900 30px/1 var(--titre); transition: background .35s, color .35s, transform .5s var(--vif); transition-delay: calc(var(--k, 0) * 60ms); } .v-code s:nth-child(2) { --k: 1; } .v-code s:nth-child(3) { --k: 2; } .v-code s:nth-child(4) { --k: 3; }
.v-proche { position: relative; width: 100%; } .v-proche::before { content: ""; position: absolute; right: 22px; left: 40px; top: 50%; border-top: 5px dotted var(--foret); margin-top: -2px; transition: border-color .35s; } .v-proche s { position: absolute; right: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); border: 8px solid var(--foret); } .v-proche img { position: absolute; left: 12%; width: 24px; height: 44px; transform: rotate(90deg); transition: left 1.1s var(--frein); }
@media (hover: hover) { .engagements li:hover { color: var(--foret); } .engagements li:hover::before { transform: none; } .engagements li:hover b { transform: translateX(10px); } .engagements li:hover .v-visages img { margin-left: -4px; border-color: var(--lime); } .engagements li:hover .v-papiers s { border-color: var(--lime); background-color: #fff; } .engagements li:hover .v-papiers s:nth-child(1) { transform: rotate(-16deg) translate(-12px, 2px); } .engagements li:hover .v-papiers s:nth-child(3) { transform: rotate(16deg) translate(6px, 2px); } .engagements li:hover .v-code s { background: var(--foret); color: var(--lime); transform: translateY(-5px); } .engagements li:hover .v-proche img { left: calc(100% - 52px); } }
@media (max-width: 899px) { .engagements li { grid-template-columns: minmax(0, 1fr) auto; } .engagements li span { grid-column: 1 / -1; grid-row: 2; } .vignette { height: 60px; width: 170px; } .v-visages img { width: 50px; height: 50px; } .v-code s { width: 36px; height: 46px; font-size: 23px; border-radius: 11px; } .v-code { gap: 6px; } .v-papiers s { width: 42px; height: 56px; background-size: 18px 3px, 18px 3px, 10px 3px; } }
@media (max-width: 479px) { .engagements b { font-size: clamp(25px, 7.8vw, 32px); } .engagements li { gap: 12px; } .vignette { width: 130px; } .v-code { gap: 4px; } .v-code s { width: 29px; height: 40px; font-size: 20px; border-radius: 9px; } .v-visages img { width: 46px; height: 46px; } }

/* ───────── Entre femmes ───────── */
.femmes { background: #fff; z-index: 7; }
.femmes-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.pastille-femmes { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 9px 18px 9px 14px; border-radius: 99px; background: var(--rose); color: var(--foret); font-weight: 700; font-size: 15px; }
.pastille-femmes svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.femmes .intro { margin-top: clamp(16px, 1.8vw, 26px); max-width: 24em; }
.note-femmes { margin-top: 22px; max-width: 34em; font-size: 15px; line-height: 1.5; color: var(--ardoise); border-left: 4px solid var(--rose); padding-left: 14px; }
.rangee-femmes { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; gap: clamp(14px, 2vw, 28px); padding-bottom: clamp(12px, 2vw, 28px); }
.siege-f { margin: 0; display: grid; justify-items: center; gap: 12px; padding: clamp(16px, 2vw, 26px) 12px; border-radius: var(--rayon); box-shadow: inset 0 0 0 2px var(--brume); transition: background .4s, box-shadow .4s; }
.siege-f span { display: block; width: min(132px, 26vw); aspect-ratio: 1; border-radius: 50%; padding: 6px; box-shadow: inset 0 0 0 4px var(--brume); }
.siege-f img { width: 100%; height: 100%; border-radius: 50%; }
.siege-f figcaption { font-weight: 700; color: var(--foret); font-size: clamp(15px, 1.4vw, 18px); }
.siege-f[data-siege] img { transform: translateY(30%) scale(.4); opacity: 0; transition: transform .9s var(--vif), opacity .3s; }
.siege-f.pris { background: color-mix(in srgb, var(--rose) 45%, #fff); box-shadow: none; }
.siege-f.pris span { box-shadow: inset 0 0 0 4px var(--foret); }
.siege-f.pris img { transform: none !important; opacity: 1 !important; }
.siege-f:nth-child(even) { translate: 0 clamp(12px, 2vw, 28px); }
@media (max-width: 759px) { .femmes-grille { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Questions ───────── */
.questions { background: #fff; z-index: 8; } .questions .grand { position: sticky; top: 110px; } .reponses details { border-bottom: 2px solid var(--brume); } .reponses summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: clamp(18px, 1.7vw, 24px) 0; font-weight: 600; font-size: clamp(18px, 1.75vw, 27px); letter-spacing: -.015em; line-height: 1.25; cursor: pointer; list-style: none; color: var(--foret); } .reponses summary::-webkit-details-marker { display: none; } .reponses summary::after { content: "+"; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--menthe); display: grid; place-items: center; font-size: 26px; font-weight: 400; line-height: 1; transition: transform .5s var(--frein), background .3s; } .reponses details[open] summary::after { transform: rotate(45deg); background: var(--lime); } .reponses p { padding: 0 64px 28px 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: var(--ardoise); max-width: 38em; } .reponses details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--frein), content-visibility .45s allow-discrete; } .reponses details[open]::details-content { block-size: auto; } :root { interpolate-size: allow-keywords; }
@media (max-width: 899px) { .questions .grand { position: static; } .reponses p { padding-right: 0; } }

/* ───────── Télécharger ───────── */
.final { background: #fff; z-index: 9; padding: 0; }
.terrain { position: relative; height: 100svh; min-height: 720px; overflow: hidden; border-radius: inherit; } .terrain canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; -webkit-mask-image: linear-gradient(#000 calc(100% - 150px), transparent); mask-image: linear-gradient(#000 calc(100% - 150px), transparent); }
.final-texte { position: absolute; left: var(--bord); top: calc(50% - var(--rayon-bloc) / 2); transform: translateY(-50%); width: min(54vw, 780px); pointer-events: none; }
.final-texte .geant, .final-texte .intro { -webkit-text-stroke: 12px #fff; paint-order: stroke fill; } .final-texte .intro { -webkit-text-stroke-width: 8px; margin-top: 18px; max-width: 25em; } .final-texte button, .final-texte figure { pointer-events: auto; }
.codes { display: flex; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(20px, 3svh, 34px); } .code-qr { margin: 0; width: clamp(150px, 15.5vw, 232px); border-radius: clamp(24px, 2.3vw, 36px); background: #fff; padding: 0 0 18px; display: grid; justify-items: center; transition: transform .7s var(--frein), box-shadow .4s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 0 0 0 2px var(--brume), 0 22px 44px -20px rgba(14, 31, 0, .34); } .code-qr .qr { width: 100%; clip-path: circle(var(--rq, 0%) at 50% 50%); transition: clip-path 1.3s var(--frein); } .codes.vu .qr { --rq: 80%; } .codes.vu .code-qr + .code-qr .qr { transition-delay: .18s; } .code-qr svg { width: 100%; height: auto; } .code-qr figcaption { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--foret); margin-top: -4px; } .code-qr figcaption svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lien-route { margin: 20px 0 0 -14px; padding: 0 14px; border-radius: 99px; background: #fff; font-weight: 600; color: var(--foret); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; height: 44px; }
.bord-final { -webkit-text-stroke: 8px #fff; paint-order: stroke fill; position: absolute; right: max(var(--marge), 84px); bottom: calc(34px + var(--rayon-bloc)); font: 900 clamp(22px, 2.4vw, 38px)/1 var(--titre); letter-spacing: -.03em; text-transform: uppercase; color: var(--foret); pointer-events: none; text-align: right; }
@media (max-width: 859px) { .terrain { height: auto; min-height: 1180px; } .final-texte { right: var(--marge); width: auto; top: 96px; transform: none; } .codes { gap: 12px; } .code-qr { width: min(calc(50% - 6px), 232px); } .bord-final { right: var(--marge); left: var(--marge); text-align: center; } }
