/* Volvo EX30 · EX90 · ES90 — maquette landing de campagne (v0.1)
   Polices Volvo Centum (texte) et Volvo Centum Display (titres), logo Volvo en masque ; chapitres teintés par modèle :
   EX30 béton clair, EX90 sable, ES90 bordeaux. */

/* Polices Volvo Centum (fichiers fournis par le client) : texte + Display pour les grands titres */
@font-face { font-family: 'Volvo Centum'; src: url('../fonts/VolvoCentum_Lt.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Volvo Centum'; src: url('../fonts/VolvoCentum_Rg.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Volvo Centum'; src: url('../fonts/VolvoCentum_Md.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Volvo Centum'; src: url('../fonts/VolvoCentum_SBd.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Volvo Centum Display'; src: url('../fonts/VolvoCentum_DisplayLt.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Volvo Centum Display'; src: url('../fonts/VolvoCentum_DisplayRg.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Volvo Centum Display'; src: url('../fonts/VolvoCentum_DisplayBd.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Volvo Centum Display'; src: url('../fonts/VolvoCentum_DisplayXBd.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
:root {
	--fond: #f3f3f1;
	--encre: #141414;
	--doux: #63676a;
	--ligne: rgba(20, 20, 20, .14);
	--geant: rgba(20, 20, 20, .08);
	--blanc: #fff;
	--noir: #0b0b0b;
	--marge: clamp(20px, 5.5vw, 96px);
	--courbe: cubic-bezier(.65, 0, 0, 1);
	--police: 'Volvo Centum', 'Helvetica Neue', Arial, sans-serif;
	--police-titre: 'Volvo Centum Display', 'Volvo Centum', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
	margin: 0;
	background: var(--fond);
	color: var(--encre);
	font-family: var(--police);
	font-size: 17px;
	line-height: 1.55;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--police-titre); font-weight: 300; letter-spacing: -.02em; line-height: 1.04; }
h1 { font-size: clamp(44px, 7.4vw, 124px); }
h2 { font-size: clamp(32px, 4.2vw, 64px); }
p { margin: 0; }
sup { font-size: .5em; vertical-align: .9em; line-height: 0; margin-left: .1em; font-weight: 400; }
.surtitre {
	font-size: 11px;
	letter-spacing: .32em;
	text-transform: uppercase;
	font-weight: 500;
	margin-bottom: 18px;
	opacity: .78;
	white-space: nowrap;
}

/* Boutons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 26px;
	background: var(--encre); color: var(--fond);
	border: 1px solid var(--encre); border-radius: 2px;
	font: 500 14px/1 var(--police); letter-spacing: .04em; text-decoration: none;
	cursor: pointer; transition: background .25s var(--courbe), color .25s var(--courbe);
}
.btn:hover { background: transparent; color: var(--encre); }
.btn--petit { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn--clair { background: #f5ecea; color: #1a0a0d; border-color: #f5ecea; }
.btn--clair:hover { background: transparent; color: #f5ecea; }
.btn--contour { background: transparent; color: var(--encre); }
.btn--contour:hover { background: var(--encre); color: var(--fond); }
.lien { font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* En-tête */
.entete {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	height: 68px; padding: 0 var(--marge);
	color: #fff; --encre: #fff; --fond: #111;
	transition: color .4s var(--courbe), background .4s var(--courbe), height .4s var(--courbe);
}
.entete.est-clair { color: #141414; --encre: #141414; --fond: #fff; }
.entete.a-defile { height: 58px; background: color-mix(in srgb, var(--fond) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.entete.est-clair.a-defile { background: rgba(255, 255, 255, .7); }
.entete:not(.est-clair).a-defile { background: rgba(12, 12, 12, .45); }
.marque { display: inline-flex; align-items: center; text-decoration: none; color: inherit; padding: 10px 0; }
.marque__logo { display: block; width: 156px; aspect-ratio: 949 / 74; background: currentColor; -webkit-mask: url('../img/volvo-spread-949.webp') center / contain no-repeat; mask: url('../img/volvo-spread-949.webp') center / contain no-repeat; }
.menu { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: 14px; }
.menu a { text-decoration: none; position: relative; padding: 6px 0; opacity: .72; transition: opacity .25s; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--courbe); }
.menu a:hover, .menu a.actif { opacity: 1; }
.menu a.actif::after { transform: scaleX(1); }
.entete .btn { justify-self: end; }

/* 0. Ouverture */
.intro { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: #111; }
.intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.7) 100%); }
.intro__texte { position: absolute; left: var(--marge); bottom: clamp(110px, 16vh, 170px); max-width: 760px; }
.intro__chapo { margin-top: 22px; max-width: 470px; font-size: 18px; opacity: .88; }
.intro__modeles { position: absolute; right: var(--marge); bottom: clamp(110px, 16vh, 170px); margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; min-width: 300px; }
.intro__modeles a { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.35); text-decoration: none; transition: padding .35s var(--courbe); }
.intro__modeles a:hover { padding-left: 10px; }
.intro__modeles .num { font-size: 11px; opacity: .6; }
.intro__modeles strong { font-weight: 500; font-size: 22px; letter-spacing: .02em; }
.intro__modeles em { font-style: normal; font-size: 13px; opacity: .75; }
.defiler { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; display: grid; justify-items: center; gap: 10px; opacity: .8; }
.defiler span { width: 1px; height: 38px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.defiler span::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: goutte 1.8s var(--courbe) infinite; }
@keyframes goutte { to { top: 100%; } }

/* Chapitres : teintes par modèle */
.chapitre { background: var(--fond); color: var(--encre); }
.chapitre--ex30 { --fond: #eceff0; --encre: #14181b; --doux: #5d666b; --ligne: rgba(20,24,27,.15); --geant: rgba(20,30,40,.085); }
.chapitre--ex90 { --fond: #ece2d6; --encre: #29211c; --doux: #74675c; --ligne: rgba(41,33,28,.16); --geant: rgba(80,50,30,.10); }
.chapitre--es90 { --fond: #2a0d12; --encre: #f5ecea; --doux: #c9a9a7; --ligne: rgba(245,236,234,.18); --geant: rgba(255,225,220,.085); }

/* A. Affiche (inspirée de l'affiche « Model YL ») */
.affiche { position: relative; height: 240vh; }
.affiche__colle { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.affiche__image { position: absolute; inset: 0; }
.affiche__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 62%; }
.affiche__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--fond) 0%, transparent) 62%, color-mix(in srgb, var(--fond) 90%, transparent) 94%); }
.chapitre--es90 .affiche__image::after { background: linear-gradient(180deg, rgba(42,13,18,.35) 0%, rgba(42,13,18,0) 30%, rgba(42,13,18,0) 52%, rgba(42,13,18,.94) 90%); }
.affiche__geant {
	position: absolute; left: 0; right: 0; top: clamp(70px, 9vh, 110px);
	text-align: center; white-space: nowrap;
	font-family: var(--police-titre); font-size: min(31vw, 56vh); font-weight: 800;
	line-height: .78; letter-spacing: -.02em;
	color: var(--geant);
	pointer-events: none; user-select: none;
}
.chapitre--ex30 .affiche__geant { color: rgba(20,30,40,.12); }
.affiche__titre { position: absolute; left: var(--marge); bottom: clamp(150px, 24vh, 230px); max-width: 560px; }
.chapitre--ex30 .affiche__titre { left: auto; right: var(--marge); max-width: 470px; }
.affiche__titre p:last-child { margin-top: 18px; color: var(--doux); max-width: 440px; }
.chiffres { position: absolute; left: var(--marge); right: var(--marge); bottom: clamp(26px, 5vh, 54px); margin: 0; padding: 22px 0 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ligne); }
.chiffres li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 12px; border-left: 1px solid var(--ligne); }
.chiffres li:first-child { border-left: 0; }
.chiffres svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.chiffres span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--doux); }
.chiffres b { font-family: var(--police-titre); font-weight: 300; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.chiffres i { font-style: normal; }
.chiffres small { font-size: .36em; font-weight: 400; margin-left: .2em; letter-spacing: 0; }
.chiffres b sup { font-size: .26em; vertical-align: 1.9em; color: var(--doux); margin-left: .2em; font-weight: 400; }

/* B. Film au défilement (séquence d'images sur canvas) */
.film { position: relative; height: 330vh; background: var(--fond); }
.film--nuit { height: 260vh; background: #000; color: #fff; --encre: #fff; --doux: rgba(255,255,255,.7); --ligne: rgba(255,255,255,.3); }
.film--ciel { height: 260vh; }
.film__colle { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.film__toile { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__intro { position: absolute; left: var(--marge); top: clamp(96px, 15vh, 150px); max-width: 520px; transition: opacity .6s var(--courbe), transform .6s var(--courbe); }
.film__intro--centre { left: 0; right: 0; margin: 0 auto; text-align: center; max-width: none; }
.film.passe-intro .film__intro { opacity: 0; transform: translateY(-24px); }
.film--ciel .film__intro h2, .film--ciel .legende { text-shadow: 0 1px 24px rgba(0,0,0,.35); }
.film--nuit .film__colle::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,0) 70%, rgba(0,0,0,.5) 100%); pointer-events: none; }
.film--nuit .film__intro, .film--nuit .legende, .film--nuit .film__barre { z-index: 1; }
.legende {
	position: absolute; top: 46%; max-width: 300px;
	font-size: 15px; line-height: 1.5;
	opacity: 0; transform: translateY(16px);
	transition: opacity .55s var(--courbe), transform .55s var(--courbe);
}
.legende.on { opacity: 1; transform: none; }
.legende--g { left: var(--marge); }
.legende--d { right: var(--marge); top: 36%; }
.legende--bas { top: auto; bottom: 16vh; }
.legende__trait { display: block; width: 0; height: 1px; background: currentColor; margin-bottom: 14px; transition: width .8s var(--courbe) .1s; }
.legende.on .legende__trait { width: 72px; }
.film__barre { position: absolute; left: var(--marge); right: var(--marge); bottom: 28px; height: 1px; background: var(--ligne); }
.film__barre span { position: absolute; inset: 0; background: var(--encre); transform-origin: 0 50%; transform: scaleX(0); }

/* C. Duo éditorial (texte + photos) */
.duo { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(16px, 2vw, 32px); padding: clamp(90px, 16vh, 180px) var(--marge); align-items: start; }
.duo figure { margin: 0; overflow: hidden; }
.duo img { width: 100%; height: 100%; object-fit: cover; }
.duo__texte { grid-column: 1 / span 4; grid-row: 1; align-self: center; }
.duo__texte p:last-child { margin-top: 22px; color: var(--doux); }
.duo__grande { grid-column: 6 / span 7; grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
.duo__petite { grid-column: 2 / span 3; grid-row: 2; aspect-ratio: 4 / 5; margin-top: 40px !important; }
.duo__petite--2 { grid-column: 9 / span 4; grid-row: 3; aspect-ratio: 16 / 10; margin-top: 0 !important; }
.duo--inverse .duo__texte { grid-column: 9 / span 4; }
.duo--inverse .duo__grande { grid-column: 1 / span 7; }
.duo--inverse .duo__petite { grid-column: 9 / span 3; }
.duo--inverse .duo__petite--2 { grid-column: 2 / span 4; }

/* D. Galerie horizontale */
.galerie { position: relative; background: var(--fond); }
.galerie__colle { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.galerie__tete { padding: 0 var(--marge); }
.galerie__piste { display: flex; gap: clamp(14px, 1.6vw, 28px); margin: 0; padding: 0 var(--marge); list-style: none; width: max-content; will-change: transform; }
.galerie__piste li { width: clamp(260px, 30vw, 520px); font-size: 14px; color: var(--doux); }
.galerie__piste img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 14px; }
.galerie__piste span { display: inline-block; width: 34px; font-size: 11px; color: var(--encre); }
.galerie__tete p:not(.surtitre) { max-width: 54ch; margin-top: 14px; color: var(--doux); }
/* Glisser à la souris ou au doigt (maquette.js) : le défilement vertical reste au navigateur */
.galerie__piste { cursor: grab; user-select: none; -webkit-user-select: none; }
@media (min-width: 900px) { html:not(.is-static) .galerie__piste { touch-action: pan-y; } }
.galerie__piste img { -webkit-user-drag: none; pointer-events: none; }
.galerie.glisse .galerie__piste { cursor: grabbing; }

/* E. Appel à l'action par modèle */
.appel { position: relative; height: 100vh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.appel__fond { position: absolute; inset: 0; }
.appel__fond img, .appel__fond video { width: 100%; height: 100%; object-fit: cover; }
.appel__fond::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.62) 100%); }
.appel__texte { position: relative; color: #fff; padding: 0 var(--marge) clamp(56px, 11vh, 110px); --encre: #fff; }
.appel__texte p:not(.surtitre) { margin-top: 12px; font-size: 18px; opacity: .9; }
.appel__boutons { display: flex; align-items: center; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.appel .btn { background: #fff; color: #111; border-color: #fff; }
.appel .btn:hover { background: transparent; color: #fff; }

/* Vidéo pleine page */
.video-pleine { position: relative; height: 100vh; overflow: hidden; display: flex; align-items: flex-end; }
.video-pleine video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-pleine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,6,9,.75) 0%, rgba(20,6,9,0) 55%); }
.video-pleine__texte { position: relative; z-index: 1; padding: 0 var(--marge) clamp(56px, 12vh, 120px); max-width: 620px; }
.video-pleine__texte p:last-child { margin-top: 16px; color: var(--doux); }

/* Comparatif */
.comparer { padding: clamp(90px, 16vh, 170px) var(--marge); background: #f4f3f1; color: #141414; --encre: #141414; --fond: #f4f3f1; --doux: #66696b; --ligne: rgba(20,20,20,.14); }
.comparer__tete { margin-bottom: clamp(40px, 7vh, 72px); }
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.carte { display: flex; flex-direction: column; gap: 22px; }
.carte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carte h3 { font-size: 34px; display: grid; gap: 6px; }
.carte h3 em { font-style: normal; font-size: 14px; color: var(--doux); letter-spacing: 0; }
.carte dl { margin: 0; border-top: 1px solid var(--ligne); }
.carte dl div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.carte dt { color: var(--doux); }
.carte dd { margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.carte .btn { align-self: flex-start; }

/* Formulaire d'essai */
.essai { display: grid; grid-template-columns: 1fr 1fr; background: #111; color: #f2f2f0; --fond: #111; --encre: #f2f2f0; --doux: rgba(242,242,240,.65); --ligne: rgba(242,242,240,.22); }
.essai__image { min-height: 100%; }
.essai__image img { width: 100%; height: 100%; object-fit: cover; }
.essai__form h2 { margin-bottom: 8px; }
.choix-modele { border: 0; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.choix-modele legend { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); margin-bottom: 12px; padding: 0; }
.choix-modele input { position: absolute; opacity: 0; pointer-events: none; }
.choix-modele span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--ligne); border-radius: 40px; cursor: pointer; transition: all .25s var(--courbe); }
.choix-modele input:checked + span { background: #f2f2f0; color: #111; border-color: #f2f2f0; }
.choix-modele input:focus-visible + span { outline: 2px solid #f2f2f0; outline-offset: 2px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.champs label { display: grid; gap: 8px; font-size: 13px; color: var(--doux); }
.champs input, .champs select { font: inherit; font-size: 16px; color: #f2f2f0; background: transparent; border: 0; border-bottom: 1px solid var(--ligne); padding: 10px 0; border-radius: 0; }
.champs select option { color: #111; }
.champs input:focus, .champs select:focus { outline: none; border-bottom-color: #f2f2f0; }
.accord { display: flex; gap: 12px; font-size: 13px; color: var(--doux); align-items: flex-start; }
.accord input { margin-top: 3px; accent-color: #f2f2f0; }
.essai__form .btn { align-self: flex-start; }
.essai__note { font-size: 14px; padding: 14px 16px; border: 1px solid var(--ligne); }

/* Pied de page */
.pied { background: #0b0b0b; color: rgba(255,255,255,.62); padding: 64px var(--marge) 40px; font-size: 13px; }
.pied__haut { display: flex; justify-content: space-between; align-items: center; color: #fff; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 32px; flex-wrap: wrap; gap: 20px; }
.pied__haut nav { display: flex; gap: 28px; }
.pied__haut a { text-decoration: none; }
.pied__contact { color: #fff; margin-bottom: 28px; line-height: 1.7; font-size: 14px; }
.pied__contact a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.pied__source { font-size: 12px; margin-bottom: 14px; }
.mentions { margin: 0 0 28px; padding-left: 18px; display: grid; gap: 8px; max-width: 980px; line-height: 1.6; }
.mentions li::marker { font-size: 11px; }
.pied__bas { font-size: 12px; opacity: .8; }

/* Apparition au défilement */
.js .revele { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--courbe), transform 1s var(--courbe); }
.js .revele.vu { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 899px) {
	body { font-size: 16px; }
	.entete { grid-template-columns: auto 1fr; height: 58px; }
	.menu { display: none; }
	.marque__logo { width: 118px; }
	.intro__texte { bottom: auto; top: 22vh; right: var(--marge); }
	.intro__modeles { left: var(--marge); right: var(--marge); bottom: 70px; min-width: 0; }
	.intro__modeles a { padding: 11px 0; }
	.defiler { display: none; }
	.affiche { height: 200vh; }
	.affiche__image { bottom: 168px; }
	.affiche__image img { object-position: var(--pos-mobile, 50%) 60%; }
	.chapitre--ex30 { --pos-mobile: 28%; }
	.chapitre--ex90 { --pos-mobile: 66%; }
	.chapitre--es90 { --pos-mobile: 72%; }
	.affiche__colle { background: var(--fond); }
	.affiche__geant { top: 78px; font-size: 40vw; }
	.affiche__titre, .chapitre--ex30 .affiche__titre { left: var(--marge); right: var(--marge); bottom: auto; top: calc(96px + 31vw); }
	.affiche__titre p:last-child { display: none; }
	.chiffres { grid-template-columns: repeat(2, 1fr); row-gap: 18px; padding-top: 16px; bottom: 22px; }
	.chiffres li:nth-child(3) { border-left: 0; }
	.chiffres b { font-size: 30px; }
	.chiffres svg { display: none; }
	.film { height: 280vh; }
	.film--nuit, .film--ciel { height: 220vh; }
	.film__intro { top: 84px; right: var(--marge); }
	.legende, .legende--d, .legende--g { left: var(--marge); right: var(--marge); top: auto; bottom: 64px; max-width: none; background: color-mix(in srgb, var(--fond) 80%, transparent); padding: 14px 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
	.film--nuit .legende { background: rgba(0,0,0,.55); }
	.film--ciel .legende { background: rgba(20,6,9,.5); }
	.duo { display: flex; flex-direction: column; gap: 22px; }
	.duo__petite { margin-top: 0 !important; width: 70%; align-self: flex-end; }
	.duo__petite--2 { width: 100%; }
	.galerie__colle { position: static; height: auto; padding: 90px 0; }
	.galerie__piste { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; transform: none !important; }
	.galerie__piste::-webkit-scrollbar { display: none; }
	.galerie__piste li { width: 78vw; flex: none; scroll-snap-align: start; }
	.appel { height: 88vh; }
	.cartes { grid-template-columns: 1fr; gap: 56px; }
	.essai { grid-template-columns: 1fr; }
	.essai__image { height: 50vh; }
	.champs { grid-template-columns: 1fr; }
}

/* ---------- Polish v0.3 ---------- */
.court { display: none; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.legende { padding: 16px 18px 18px; background: color-mix(in srgb, var(--fond) 74%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 2px; }
.legende__trait { margin-bottom: 12px; }
.film--nuit .legende { background: rgba(0, 0, 0, .5); }
.film--ciel .legende { background: rgba(30, 8, 12, .42); text-shadow: none; }
.intro__texte { max-width: min(760px, calc(100% - 2 * var(--marge) - 360px)); }
.lien { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; background: linear-gradient(currentColor, currentColor) 0 calc(50% + .8em) / 100% 1px no-repeat; }
.galerie__piste li { transition: color .3s; }
.galerie__piste img { transition: filter .6s var(--courbe); }
.galerie__piste li:hover img { filter: brightness(1.06); }
.carte img { transition: transform 1s var(--courbe); }
.carte:hover img { transform: scale(1.015); }
@media (min-width: 1800px) {
	body { font-size: 18px; }
	.legende { max-width: 340px; font-size: 16px; }
	.galerie__piste li { width: min(26vw, 640px); }
}
@media (max-width: 1180px) and (min-width: 900px) {
	.menu { gap: 18px; }
	.intro__modeles { min-width: 260px; }
	.chiffres b { font-size: 34px; }
}
@media (max-width: 899px) {
	.long { display: none; }
	.court { display: inline; }
	.entete { grid-template-columns: auto 1fr auto; gap: 12px; }
	.menu { display: flex; justify-self: center; gap: 16px; font-size: 13px; }
	.menu a[data-nav="comparer"] { display: none; }
	.menu a { padding: 12px 0; }
	.btn--petit { min-height: 40px; padding: 0 16px; }
	.marque { padding: 12px 0; }
	.legende { background: color-mix(in srgb, var(--fond) 82%, transparent); }
	.film--nuit .legende { background: rgba(0, 0, 0, .55); }
	.film--ciel .legende { background: rgba(30, 8, 12, .5); }
	.intro__texte { max-width: none; }
	.accord { min-height: 44px; align-items: center; }
	.accord input { width: 22px; height: 22px; margin-top: 0; flex: none; }
	.pied__haut nav a, .pied__contact a { display: inline-flex; align-items: center; min-height: 44px; }
	.choix-modele span { min-height: 46px; }
}
@media (max-width: 360px) {
	.menu { gap: 10px; font-size: 12px; }
	.marque__logo { width: 104px; }
	.btn--petit { padding: 0 12px; }
	h2 { font-size: 30px; }
	.chiffres b { font-size: 26px; }
}
@media (min-width: 900px) and (max-width: 1400px) {
	.chapitre--ex30 .affiche__titre { max-width: min(400px, 40vw); }
	.affiche__titre h2 { font-size: clamp(30px, 3.6vw, 48px); }
	.affiche__titre p:last-child { font-size: 15px; }
}
@media (max-width: 599px) {
	.surtitre { letter-spacing: .14em; white-space: normal; }
}
/* Téléphone à l'horizontale : tout tient dans une hauteur d'environ 400 px */
@media (max-width: 1100px) and (max-height: 520px) and (orientation: landscape) {
	.entete { height: 52px; }
	h1 { font-size: 40px; }
	h2 { font-size: 28px; }
	.intro__texte { top: 70px; bottom: auto; max-width: 52%; }
	.intro__chapo { display: none; }
	.intro__modeles { left: auto; right: var(--marge); top: auto; bottom: 24px; width: 38%; min-width: 0; }
	.intro__modeles a { padding: 6px 0; min-height: 44px; }
	.affiche__image { bottom: 0; }
	.affiche__image img { object-position: 50% 62%; }
	.affiche__geant { top: 56px; font-size: 34vh; }
	.affiche__titre, .chapitre--ex30 .affiche__titre { top: auto; bottom: 120px; left: var(--marge); right: auto; max-width: 46%; }
	.chiffres { grid-template-columns: repeat(4, 1fr); bottom: 14px; padding-top: 10px; row-gap: 0; }
	.chiffres li:nth-child(3) { border-left: 1px solid var(--ligne); }
	.chiffres b { font-size: 24px; }
	.chiffres span { font-size: 9.5px; letter-spacing: .1em; }
	.film__intro { top: 66px; max-width: 60%; }
	.legende, .legende--d, .legende--g { left: auto; right: var(--marge); bottom: 40px; max-width: 46%; }
	.galerie__colle { padding: 70px 0; gap: 20px; }
	.galerie__piste li { width: 44vw; }
	.appel, .video-pleine { height: 100vh; min-height: 0; }
	.appel__texte { padding-bottom: 28px; }
	.essai__image { height: 70vh; }
}

/* ---------- Parcours « demande d'essai » (v0.4) ---------- */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--blanc { background: #fff; color: #111; border-color: #fff; }
.btn--blanc:hover { background: transparent; color: #fff; }
.intro__actions { display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; margin-top: 30px; }
.intro__actions .btn { min-height: 52px; padding: 0 30px; font-size: 15px; }
.intro__rassure { font-size: 13px; opacity: .85; }

/* Formulaire d'essai (une seule page) — section du bas : thème sombre ; panneau : thème clair.
   1. le choix du modèle (cartes photo, toujours visible) ; 2. les coordonnées ; le bouton reprend le modèle choisi. */
.essai__form { padding: clamp(80px, 14vh, 150px) var(--marge); }
.lead { display: flex; flex-direction: column; gap: 28px; max-width: 620px; color: var(--encre); }
.lead [hidden] { display: none !important; }
.lead__tete { display: grid; gap: 8px; }
.lead__tete .surtitre { margin-bottom: 6px; }
.lead__sous { color: var(--doux); max-width: 480px; }
.lead__choix, .lead__coord { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lead__etiquette { display: flex; align-items: center; gap: 10px; float: left; width: 100%; padding: 0; margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); }
.lead__etiquette span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--encre); color: var(--fond); font-size: 11px; letter-spacing: 0; }
.lead__etiquette + * { clear: both; }
.lead__modeles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lead__modele {
	position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
	border-radius: 10px; background: color-mix(in srgb, var(--encre) 4%, transparent); box-shadow: inset 0 0 0 1px var(--ligne);
	transition: box-shadow .25s, background .25s, opacity .25s;
}
.lead__modele:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.lead__modele input { position: absolute; opacity: 0; pointer-events: none; }
.lead__visuel { display: block; overflow: hidden; max-height: 160px; transition: max-height .35s var(--courbe), opacity .25s; }
.lead__visuel img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--courbe); }
.lead__modele:hover .lead__visuel img { transform: scale(1.04); }
.lead__nom { display: grid; gap: 1px; padding: 10px 12px 12px; }
.lead__nom b { font-weight: 600; font-size: 17px; letter-spacing: .01em; }
.lead__nom em { font-style: normal; font-size: 12px; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead__coche { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .88); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); transition: background .25s, box-shadow .25s; }
.lead__coche::after { content: ''; position: absolute; left: 8.5px; top: 5px; width: 6px; height: 11px; border: solid transparent; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lead__modele:has(input:checked) { box-shadow: inset 0 0 0 2px var(--encre); background: color-mix(in srgb, var(--encre) 9%, transparent); }
.lead__modele:has(input:checked) .lead__coche { background: var(--encre); box-shadow: 0 0 0 2px var(--fond); }
.lead__modele:has(input:checked) .lead__coche::after { border-color: var(--fond); }
.lead.a-choisi .lead__modele:not(:has(input:checked)) { opacity: .6; }
.lead.a-choisi .lead__modele:not(:has(input:checked)):hover { opacity: 1; }
.lead__modele:has(input:focus-visible) { outline: 2px solid var(--encre); outline-offset: 2px; }
.lead__choix:has([data-erreur="modele"]:not([hidden])) .lead__modele { box-shadow: inset 0 0 0 1px #d4504a; }
.lead__envoyer { align-self: flex-start; min-height: 54px; padding: 0 32px; font-size: 15px; }
.lead__envoyer-modele { font-weight: 700; margin-left: .3em; }
.lead .champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.lead .champs label { display: grid; gap: 8px; font-size: 13px; color: var(--doux); }
.lead .champs small { font-size: 12px; opacity: .8; }
.lead .champs input { font: inherit; font-size: 16px; color: var(--encre); background: transparent; border: 0; border-bottom: 1px solid var(--ligne); padding: 10px 0; border-radius: 0; min-height: 44px; width: 100%; }
.lead .champs input:focus { outline: none; border-bottom-color: var(--encre); }
.lead .champs input[aria-invalid="true"] { border-bottom-color: #d4504a; }
.lead .champs__large { grid-column: 1 / -1; }
.choix-liste { position: relative; display: block; }
.choix-liste::after { content: ''; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid var(--doux); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.lead .champs select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 16px; color: var(--encre); background: transparent; border: 0; border-bottom: 1px solid var(--ligne); border-radius: 0; padding: 10px 24px 10px 0; min-height: 44px; width: 100%; cursor: pointer; }
.lead .champs select:invalid { color: var(--doux); }
.lead .champs select option { color: #141414; }
.lead .champs select:focus { outline: none; border-bottom-color: var(--encre); }
.lead .champs select[aria-invalid="true"] { border-bottom-color: #d4504a; }
.tel { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ligne); }
.tel:focus-within { border-bottom-color: var(--encre); }
.tel:has(input[aria-invalid="true"]) { border-bottom-color: #d4504a; }
.tel__ind { font-size: 16px; color: var(--encre); }
.lead .champs .tel input { border-bottom: 0; }
.lead__creneau { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lead__creneau legend { font-size: 13px; color: var(--doux); margin-bottom: 10px; padding: 0; }
.lead__creneau input { position: absolute; opacity: 0; pointer-events: none; }
.lead__creneau span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ligne); border-radius: 40px; font-size: 14px; cursor: pointer; transition: all .2s; }
.lead__creneau input:checked + span { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.lead__creneau input:focus-visible + span { outline: 2px solid var(--encre); outline-offset: 2px; }
.lead .accord { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--doux); min-height: 0; }
.lead .accord input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--encre); }
.lead .accord input[aria-invalid="true"] { outline: 2px solid #d4504a; outline-offset: 2px; }
.lead__erreur { color: #e2635c; font-size: 14px; }
.lead__appel { font-size: 14px; color: var(--doux); }
.lead__appel a { color: var(--encre); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.lead__merci { padding: 10px 0; display: grid; gap: 14px; }
.lead__merci h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 380; letter-spacing: -.02em; }
.lead__merci p { color: var(--doux); max-width: 460px; }
.lead__ok { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--encre); color: var(--fond) !important; font-size: 26px; }
.lead__note { font-size: 13px; padding: 10px 14px; border: 1px dashed var(--ligne); }

/* Dans le panneau : le choix du modèle reste collé en haut ; en descendant il se réduit en pastilles (toujours modifiable) */
.tiroir .lead__choix { position: sticky; top: -64px; z-index: 2; /* = marge haute du contenu : collé au bord du panneau */ margin: 0 -40px; padding: 22px 40px 16px; background: var(--fond); transition: box-shadow .25s; }

/* ---------- Formulaire compact (v0.10) ----------
   Tient sur un écran d'ordinateur sans défiler ; sur mobile, défilement natif et sans à-coups
   (le choix du modèle garde toujours la même taille, collé en haut du panneau). */
.lead { gap: 18px; }
.lead__tete { gap: 4px; }
.lead__tete .surtitre { margin-bottom: 2px; }
.lead .lead__titre { font-size: clamp(26px, 2.3vw, 34px); }
.lead__sous { font-size: 14px; line-height: 1.45; }
.lead__choix, .lead__coord { gap: 12px; }
.lead__etiquette { margin-bottom: 10px; font-size: 11px; }
.lead__etiquette span { width: 20px; height: 20px; font-size: 10.5px; }
.lead__modeles { gap: 8px; }
.lead__visuel { max-height: none; }
.lead__visuel img { aspect-ratio: 5 / 2; }
.lead__nom { padding: 6px 10px 8px; }
.lead__nom b { font-size: 15px; }
.lead__nom em { font-size: 11px; }
.lead__coche { top: 6px; right: 6px; width: 20px; height: 20px; }
.lead__coche::after { left: 6.5px; top: 3px; width: 5px; height: 10px; }
.lead .champs { gap: 10px 18px; }
.lead .champs label { gap: 0; font-size: 12px; }
.lead .champs input, .lead .champs select { min-height: 40px; padding: 7px 0; font-size: 15px; }
.lead .champs select { padding-right: 24px; }
.tel__ind { font-size: 15px; }
.lead__creneau { display: block; }
.lead__creneau legend { float: left; margin: 0 10px 0 0; padding: 0; font-size: 12px; line-height: 36px; }
.lead__creneau label { display: inline-block; margin: 0 4px 0 0; }
.lead__creneau span { min-height: 36px; padding: 0 14px; font-size: 13px; }
.lead .accord { gap: 10px; font-size: 12.5px; line-height: 1.45; }
.lead .accord input { width: 18px; height: 18px; margin-top: 1px; }
.lead__coord > .accord + .accord { margin-top: -4px; }
.lead__envoyer { min-height: 48px; }
.lead__appel { font-size: 13px; margin-top: -6px; }
.tiroir__panneau { width: min(520px, 100%); }
.tiroir__contenu { padding: 50px 32px 26px; scroll-behavior: auto; -webkit-overflow-scrolling: touch; }
.tiroir__fermer { top: 6px; right: 8px; }
.tiroir .lead__choix { top: -50px; margin: 0 -32px; padding: 12px 32px 12px; box-shadow: 0 1px 0 transparent; transition: box-shadow .2s; }
.tiroir .lead__choix.ombre { box-shadow: 0 1px 0 var(--ligne), 0 12px 18px -16px rgba(0, 0, 0, .35); }
@media (max-width: 899px) {
	.lead .champs { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
	.lead .champs > label:first-child, .lead .champs > label:last-child { grid-column: 1 / -1; }
	.lead .champs input, .lead .champs select, .tel__ind { font-size: 16px; } /* 16 px : pas de zoom automatique sur iPhone */
	.lead__sous { display: none; }
	.lead__creneau legend { float: none; display: block; line-height: 1.4; margin-bottom: 6px; }
	.tiroir__contenu { padding: 46px 16px max(18px, env(safe-area-inset-bottom)); }
	.tiroir .lead__choix { top: -46px; margin: 0 -16px; padding: 10px 16px 10px; }
	.lead__nom { padding: 5px 8px 7px; }
	.lead__nom b { font-size: 14px; }
}

/* Panneau latéral */
.tiroir { position: fixed; inset: 0; z-index: 80; }
.tiroir[hidden] { display: none; }
.tiroir__voile { position: absolute; inset: 0; background: rgba(10, 10, 10, .45); opacity: 0; transition: opacity .4s var(--courbe); }
.tiroir__panneau {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
	background: #f6f6f4; overflow: hidden; display: flex; flex-direction: column;
	--encre: #141414; --fond: #f6f6f4; --doux: #63676a; --ligne: rgba(20, 20, 20, .16);
	transform: translateX(100%); transition: transform .45s var(--courbe);
	box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
}
.tiroir.ouvert .tiroir__voile { opacity: 1; }
.tiroir.ouvert .tiroir__panneau { transform: none; }
.tiroir__contenu { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 64px 40px 48px; } /* seul le contenu défile : la croix reste en place */
.tiroir__fermer { position: absolute; z-index: 5; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: #141414; cursor: pointer; border-radius: 50%; }
.tiroir__fermer:hover { background: rgba(0, 0, 0, .06); }
.tiroir .lead__titre { font-size: clamp(28px, 3vw, 40px); }
html.tiroir-ouvert { overflow: hidden; }

/* Barre « Essai » collante (mobile) */
.barre-essai { display: none; }
@media (max-width: 899px) {
	.barre-essai {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 60;
		padding: 10px 10px 10px 18px; border-radius: 14px;
		background: rgba(18, 18, 18, .86); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
		transform: translateY(140%); transition: transform .45s var(--courbe);
	}
	.barre-essai.visible { transform: none; }
	html.tiroir-ouvert .barre-essai { transform: translateY(140%); }
	.barre-essai p { display: grid; font-size: 15px; line-height: 1.25; }
	.barre-essai b { font-weight: 600; }
	.barre-essai span { font-size: 11.5px; opacity: .7; }
	.barre-essai .btn { background: #fff; color: #111; border-color: #fff; min-height: 46px; padding: 0 22px; border-radius: 10px; }
	.intro__actions { margin-top: 24px; }
	.intro__actions .btn { flex: 1 1 100%; }
	.intro__rassure { flex: 1 1 100%; text-align: center; }
	.intro__modeles { bottom: 24px; }
	.essai__form { padding: 64px var(--marge) 120px; }
	.lead__modeles { gap: 8px; }
	.lead__nom { padding: 8px 9px 10px; }
	.lead__nom b { font-size: 15px; }
	.lead__nom em { font-size: 11px; }
	.lead__coche { top: 6px; right: 6px; width: 22px; height: 22px; }
	.lead__coche::after { left: 7.5px; top: 4px; }
	.lead__envoyer { align-self: stretch; }
	.tiroir .lead__choix { top: -56px; margin: 0 -20px; padding: 14px 20px 14px; }
	.tiroir__panneau { width: 100%; top: auto; max-height: 92vh; max-height: 92dvh; border-radius: 18px 18px 0 0; transform: translateY(100%); }
	.tiroir__contenu { padding: 56px 20px max(32px, env(safe-area-inset-bottom)); }
}
@media (max-width: 1100px) and (max-height: 520px) and (orientation: landscape) {
	.intro__actions { margin-top: 14px; }
	.intro__actions .btn { flex: none; min-height: 44px; }
	.intro__rassure { display: none; }
	.intro__modeles { display: none; }
	.tiroir__panneau { max-height: 100vh; border-radius: 0; }
}

/* ---------- Ouverture « Volvo Electric Deals » (v0.7) ----------
   Ordinateur : scène collante (250vh). La photo (2:1) couvre l'écran, calée en bas : sa bande blanche reçoit le bouton.
   Au défilement, la caméra avance vers l'EX30 (zoom centré sur la face avant), les phares s'intensifient,
   textes et offre s'écartent, puis fondu vers le chapitre EX30. Au chargement : appel de phares. */
.ouverture { position: relative; height: 250vh; background: #0b0b0b; color: #fff; }
.ouverture__colle { position: sticky; top: 0; height: 100vh; overflow: hidden; --hscene: max(50vw, 100vh); --bande: calc(var(--hscene) * .075); }
.ouverture__scene { position: absolute; inset: 0; }
.ouverture__cadre {
	position: absolute; bottom: 0; left: calc((100vw - max(100vw, 200vh)) * .22);
	width: max(100vw, 200vh); aspect-ratio: 2 / 1;
	transform-origin: 36% 68%; will-change: transform;
}
.ouverture__photo { display: block; width: 100%; height: 100%; transform: scale(1.06); transform-origin: 36% 68%; transition: transform 2.4s cubic-bezier(.2, .7, .1, 1); }
.ouverture.pret .ouverture__photo { transform: none; }

/* Phares : un halo animé (appel de phares au chargement) + un halo piloté par le défilement (--lum) */
.ouverture__phare { position: absolute; pointer-events: none; mix-blend-mode: screen; }
.ouverture__phare--g { left: 25.5%; top: 62.4%; width: 15%; height: 8.4%; }
.ouverture__phare--d { left: 49.8%; top: 49.6%; width: 5.6%; height: 11%; }
.ouverture__phare::before, .ouverture__phare::after {
	content: ''; position: absolute; inset: 0; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(214, 232, 255, .55) 38%, rgba(214, 232, 255, 0) 100%);
}
.ouverture__phare::before { opacity: 0; }
.ouverture__phare::after { opacity: var(--lum, .15); transform: scale(calc(.8 + var(--lum, .15) * .5)); }
.ouverture.pret .ouverture__phare::before { animation: appel-phares 1.5s ease-out .9s 1 both; }
@keyframes appel-phares { 0% { opacity: 0; } 10% { opacity: 1; } 24% { opacity: .1; } 38% { opacity: 1; } 100% { opacity: 0; } }

.ouverture__voile {
	position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 30%, rgba(0, 0, 0, 0) 48%),
		radial-gradient(55% 45% at 96% 78%, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 75%),
		linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%);
}

.ouverture__titre {
	position: absolute; left: var(--marge); top: calc(64px + 4vh); margin: 0;
	font-family: var(--police-titre); font-size: clamp(50px, 7vw, 138px); font-weight: 700;
	line-height: .92; letter-spacing: -.015em; color: #fff;
}
.ouverture__titre > span { display: block; overflow: hidden; padding-bottom: .05em; }
.ouverture__titre > span > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--courbe); }
.ouverture__titre > span:nth-child(2) > span { transition-delay: .12s; }
.ouverture__titre > span:nth-child(3) > span { transition-delay: .24s; }
.ouverture.pret .ouverture__titre > span > span { transform: none; }

.ouverture__prix { position: absolute; right: var(--marge); bottom: calc(var(--bande) + clamp(96px, 11vh, 150px)); margin: 0; text-align: right; }
.ouverture__prix small, .ouverture__prix b { display: block; opacity: 0; transform: translateY(18px); transition: opacity .9s var(--courbe), transform .9s var(--courbe); }
.ouverture__prix small { font-size: clamp(20px, 2.1vw, 38px); font-weight: 400; transition-delay: .55s; }
.ouverture__prix b { font-family: var(--police-titre); font-size: clamp(38px, 3.9vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; transition-delay: .7s; }
.ouverture__prix i { font-style: normal; }
.ouverture__prix sup { font-size: .3em; font-weight: 400; vertical-align: 1.9em; }
.ouverture__atouts { position: absolute; right: var(--marge); bottom: calc(var(--bande) + clamp(18px, 3vh, 40px)); display: flex; gap: clamp(24px, 3.5vw, 64px); margin: 0; padding: 0; list-style: none; }
.ouverture__atouts li { display: flex; align-items: center; gap: 14px; opacity: 0; transform: translateY(18px); transition: opacity .9s var(--courbe), transform .9s var(--courbe); transition-delay: .9s; }
.ouverture__atouts li + li { transition-delay: 1.02s; }
.ouverture__atouts svg { width: clamp(30px, 2.8vw, 48px); height: auto; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ouverture__atouts span { display: grid; font-size: clamp(15px, 1.35vw, 24px); line-height: 1.15; }
.ouverture__atouts b { font-family: var(--police-titre); font-size: clamp(20px, 2vw, 34px); font-weight: 700; font-variant-numeric: lining-nums; }
.ouverture.pret .ouverture__prix small, .ouverture.pret .ouverture__prix b, .ouverture.pret .ouverture__atouts li { opacity: 1; transform: none; }

/* Bande blanche (celle de la photo) : bouton d'essai + validité de l'offre */
.ouverture__bande { position: absolute; left: 0; right: 0; bottom: 0; height: var(--bande); display: flex; align-items: center; justify-content: flex-end; gap: clamp(20px, 4vw, 72px); padding: 0 var(--marge); color: #141414; }
.ouverture__bande > * { opacity: 0; transition: opacity .9s var(--courbe) 1.15s; }
.ouverture.pret .ouverture__bande > * { opacity: 1; }
.ouverture__cta { min-height: min(50px, calc(var(--bande) - 12px)); padding: 0 30px; font-size: 15px; }
.ouverture__validite { font-size: clamp(13px, 1vw, 17px); color: #4a4d50; white-space: nowrap; }
.ouverture__defiler { position: absolute; left: 50%; bottom: calc(var(--bande) + 18px); width: 1px; height: 46px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.ouverture__defiler span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: goutte 1.8s var(--courbe) infinite; }
.ouverture__fondu { position: absolute; inset: 0; background: #eceff0; opacity: 0; pointer-events: none; }

/* Mobile (portrait) : visuel empilé — titre et prix sur fond sombre, voiture entière, garanties et bouton sur la bande blanche */
@media (max-width: 899px) {
	.ouverture { height: auto; }
	.ouverture__colle { position: relative; height: auto; display: flex; flex-direction: column; padding-top: 78px; overflow: hidden; }
	.ouverture__titre { position: relative; left: auto; top: auto; order: 1; padding: 0 var(--marge); font-size: min(15.5vw, 92px); }
	.ouverture__prix { position: relative; right: auto; bottom: auto; order: 2; text-align: left; padding: 16px var(--marge) 0; }
	.ouverture__prix small { font-size: 18px; }
	.ouverture__prix b { font-size: 36px; }
	.ouverture__scene { position: relative; inset: auto; order: 3; height: 102.5vw; margin-top: 6px; }
	.ouverture__titre, .ouverture__prix { z-index: 1; }
	.ouverture__scene::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(180deg, #0b0b0b, rgba(11, 11, 11, 0)); pointer-events: none; }
	.ouverture__cadre { width: 205vw; left: -14vw; }
	.ouverture__voile, .ouverture__defiler, .ouverture__fondu { display: none; }
	.ouverture__atouts { position: relative; right: auto; bottom: auto; order: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 8px var(--marge) 0; background: #fff; color: #141414; }
	.ouverture__atouts li { gap: 10px; }
	.ouverture__atouts svg { width: 28px; }
	.ouverture__atouts span { font-size: 13px; }
	.ouverture__atouts b { font-size: 13.5px; white-space: nowrap; }
	.ouverture__bande { position: relative; order: 5; height: auto; flex-direction: column; align-items: stretch; gap: 10px; padding: 18px var(--marge) 28px; background: #fff; }
	.ouverture__cta { min-height: 52px; }
	.ouverture__validite { text-align: center; }
}
@media (max-width: 1100px) and (max-height: 520px) and (orientation: landscape) {
	.ouverture__colle { padding-top: 60px; }
	.ouverture__titre { font-size: 9vw; }
	.ouverture__scene { height: 60vw; margin-top: -10vw; }
	.ouverture__cadre { width: 120vw; left: -8vw; }
}
html.is-static .ouverture { height: auto; }
html.is-static .ouverture__colle { position: relative; }
@media (prefers-reduced-motion: reduce) {
	.ouverture__photo, .ouverture__titre > span > span, .ouverture__prix small, .ouverture__prix b, .ouverture__atouts li, .ouverture__bande > * { transition: none; }
	.ouverture__phare::before, .ouverture__defiler span { animation: none; }
}

/* ---------- Prix (v0.11) ---------- */
.affiche__prix { margin-top: 14px; font-size: clamp(16px, 1.3vw, 20px); color: var(--encre); }
.affiche__prix b { font-weight: 600; font-variant-numeric: lining-nums; white-space: nowrap; }
.affiche__prix sup, .appel__prix sup { color: var(--doux); }
.appel__texte .appel__prix { margin-top: 18px; font-size: clamp(18px, 1.6vw, 24px); opacity: 1; }
.appel__prix b { font-weight: 600; font-variant-numeric: lining-nums; white-space: nowrap; }
.carte dl .carte__prix dd { font-weight: 600; }
.lead__nom em span { font-variant-numeric: lining-nums; }
.lead__modele:has(input:checked) .lead__nom em { color: var(--encre); }
@media (max-width: 899px) { .affiche__prix { margin-top: 8px; font-size: 16px; } }

/* Film « contenir » en portrait : le titre passe en blanc sur le prolongement sombre du mur */
@media (max-width: 899px) and (orientation: portrait) {
	.film--contenir .film__intro { color: #fff; }
	.film--contenir .film__intro .surtitre { opacity: .85; }
}

/* Ouverture mobile v2 (v0.14) : tout le visuel tient dans le premier écran, bouton d'essai compris.
   Titre à gauche / prix à droite (comme le visuel), photo moins haute avec la voiture centrée, fondu réduit. */
@media (max-width: 899px) and (orientation: portrait) {
	.ouverture__colle {
		display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end;
		grid-template-areas: "titre prix" "scene scene" "atouts atouts" "bande bande";
		padding-top: 72px;
	}
	.ouverture__titre { grid-area: titre; padding: 0 0 0 var(--marge); font-size: min(11.5vw, 64px); }
	.ouverture__prix { grid-area: prix; padding: 0 var(--marge) .25em 0; text-align: right; }
	.ouverture__prix small { font-size: 14px; }
	.ouverture__prix b { font-size: min(7.6vw, 40px); }
	.ouverture__scene { grid-area: scene; height: 74vw; margin-top: 14px; }
	.ouverture__scene::after { height: 12%; }
	.ouverture__cadre { width: 150vw; left: -4vw; }
	.ouverture__atouts { grid-area: atouts; padding-top: 10px; }
	.ouverture__bande { grid-area: bande; padding: 12px var(--marge) 18px; gap: 8px; }
	.ouverture__cta { min-height: 50px; }
	.ouverture__validite { font-size: 12.5px; }
}
@media (max-width: 899px) and (orientation: portrait) and (max-height: 640px) {
	.ouverture__colle { padding-top: 64px; }
	.ouverture__titre { font-size: min(10vw, 56px); }
	.ouverture__scene { height: 66vw; margin-top: 10px; }
	.ouverture__cadre { width: 134vw; left: -1vw; }
}

/* ---------- Version statique (sans animation) ---------- */
html.is-static .affiche, html.is-static .film { height: auto; }
html.is-static .affiche__colle { position: relative; height: 100vh; }
html.is-static .film__colle { position: relative; }
html.is-static .legende { opacity: 1; transform: none; }
html.is-static .legende__trait { width: 72px; }
html.is-static .revele { opacity: 1; transform: none; }
html.is-static .galerie__colle { position: static; height: auto; padding: 90px 0; }
html.is-static .galerie__piste { width: auto; overflow-x: auto; }
html.is-static .galerie__piste li { flex: none; }
@media (prefers-reduced-motion: reduce) { .defiler span::after { animation: none; } }

/* Galeries sur écran d'ordinateur peu haut (ex. portable 1600×720 utile) : la place du menu est réservée en haut
   et les photos se règlent sur la hauteur, pour que titre, texte et photos tiennent sans passer sous le menu. */
@media (min-width: 900px) and (min-height: 521px) {
	html:not(.is-static) .galerie__colle { padding-top: 72px; }
	html:not(.is-static) .galerie__piste li { max-width: max(300px, calc((100vh - 400px) * 4 / 3)); }
}
@media (min-width: 900px) and (min-height: 521px) and (max-height: 760px) {
	html:not(.is-static) .galerie__colle { gap: 24px; }
	.galerie__tete p:not(.surtitre) { margin-top: 10px; }
}

/* Formulaire du bas : la grande photo suit le modèle choisi (fondu), cadrée sur la voiture */
.essai__image { position: relative; overflow: hidden; background: #0b0b0b; }
.essai__image .essai__photo { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--courbe), transform 1.4s var(--courbe); }
.essai__image .essai__photo.actif { opacity: 1; transform: none; }
.essai__photo[data-modele="EX30"] { object-position: 31% 55%; }
.essai__photo[data-modele="EX90"] { object-position: 80% 62%; }
.essai__photo[data-modele="ES90"] { object-position: 58% 50%; }
@media (prefers-reduced-motion: reduce) { .essai__image .essai__photo { transition: none; transform: none; } }

/* Affiche EX90 : photo en mouvement, mur sombre en haut, route claire en bas */
.chapitre--ex90 .affiche__geant { color: rgba(255,255,255,.09); }
.chapitre--ex90 .affiche__image { overflow: hidden; }
.chapitre--ex90 .affiche__image img { object-position: 50% 55%; transform-origin: 60% 55%; }
/* ordinateur : la photo déborde un peu à droite pour écarter la voiture du titre (112 % : agrandissement limité) */
@media (min-width: 900px) and (min-aspect-ratio: 4/3) {
	.chapitre--ex90 .affiche__image img { width: 112%; max-width: none; }
}
@media (max-width: 899px) {
	.chapitre--ex90 { --pos-mobile: 54%; }
	/* téléphone : le titre descend sous la voiture, sur la route claire (le haut est un mur sombre) */
	.chapitre--ex90 .affiche__titre { top: calc((100vh - 168px) * .7); bottom: auto; }
}
@media (max-width: 1100px) and (max-height: 520px) and (orientation: landscape) {
	.chapitre--ex90 .affiche__titre { top: auto; bottom: 92px; }
	.chapitre--ex90 .affiche__titre p:last-child { display: none; }
}

/* ---------- Téléphone en portrait : textes qui passaient sur les voitures ou sous la barre « Essai » (21/10/2026) ---------- */
@media (max-width: 899px) and (orientation: portrait) {
	/* Sections « Réserver » : la photo en haut, le texte dessous sur fond sombre (avant : texte posé sur la voiture) */
	.appel { height: auto; min-height: 0; display: block; background: #0f0f0f; }
	.appel__fond { position: relative; inset: auto; height: min(52vh, 118vw); }
	.appel__fond::after { background: linear-gradient(180deg, rgba(15,15,15,0) 58%, #0f0f0f 100%); }
	.appel__texte { padding: 6px var(--marge) 64px; }
	.chapitre--es90 .appel__fond img { object-position: 74% 70%; }
	.chapitre--ex90 .appel__fond img { object-position: 80% 82%; }
	/* Affiche ES90 : la voiture occupe le milieu de la photo, le titre passe dessous */
	.chapitre--es90 .affiche__titre { top: calc((100vh - 168px) * .7); }
	/* Légendes des films : au-dessus de la barre « Essai · Réserver » */
	.legende, .legende--d, .legende--g { bottom: calc(100px + env(safe-area-inset-bottom)); }
}
/* Téléphone à l'horizontale : texte des sections « Réserver » à gauche (la voiture est au centre-droit), boutons au-dessus de la barre */
@media (max-width: 1100px) and (max-height: 520px) and (orientation: landscape) {
	.appel__texte { max-width: 44%; padding-bottom: 92px; }
	.appel__texte p:not(.surtitre):not(.appel__prix) { display: none; }
	.appel__texte .appel__prix { margin-top: 8px; }
	.appel__boutons { margin-top: 16px; gap: 16px; }
	.appel__fond::after { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 42%, rgba(0,0,0,0) 62%), linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.62) 100%); }
}
/* Affiche ES90 sur ordinateur : la berline occupe presque toute la largeur de la photo. Photo décalée vers la droite
   et titre remonté dans la zone libre au-dessus du capot (avant : le texte touchait l'avant de la voiture). */
@media (min-width: 900px) and (min-aspect-ratio: 4/3) {
	.chapitre--es90 .affiche__image { overflow: hidden; }
	.chapitre--es90 .affiche__image img { width: 116%; max-width: none; transform-origin: 62% 62%; }
	.chapitre--es90 .affiche__titre { bottom: auto; top: 21vh; max-width: min(420px, 30vw); }
}
