/* noel26.css — 14/11/2026 — l'accueil de Noël « Noël péi » de buro.re.
   Direction : la PLV en carton d'un grand magasin créole (vitrines encadrées, lambrequin découpé, étiquettes,
   tickets), trait d'encre des personnages, un ton par chapitre. Voir NOTES.md.
   RÈGLES : toute règle porte au moins deux classes (.v4 .n26-…), les feuilles du gabarit passent après ;
   l'intérieur des cartes produit n'est jamais stylé ; mobile d'abord ; animations en transform/opacity seulement. */

/* ───────── 0. Jetons et pièces communes ───────── */
.v4 .n26 {
	--n26-encre: var(--encre, #141414);
	--n26-rouge: var(--rouge, #E41E20);
	--n26-appuye: var(--rouge-appuye, #B3080C);
	--n26-mangue: #FFC53D;
	--n26-trait: 2.5px;
	--n26-e: cubic-bezier(.2, .8, .2, 1);
	--n26-focus: #1E6FE0;
	/* ton du chapitre (repli : mangue) */
	--n26-ton: #FFC53D;
	--n26-sur: #141414;
	--n26-pale: #FFF1CC;
	font-family: var(--police, Archivo, system-ui, sans-serif);
	font-size: 16px;
	line-height: 1.5;
	color: var(--n26-encre);
}
.v4 .n26 [hidden] { display: none !important; }

/* un ton par décor : carton, puce du guide, fond pâle de la grille */
.v4 .n26-t--marmailles { --n26-ton: #FFC53D; --n26-sur: #141414; --n26-pale: #FFF1CC; }
.v4 .n26-t--enfants    { --n26-ton: #19C3BD; --n26-sur: #141414; --n26-pale: #DDF6F4; }
.v4 .n26-t--ados       { --n26-ton: #6C4BE0; --n26-sur: #fff;    --n26-pale: #ECE7FF; }
.v4 .n26-t--grands     { --n26-ton: #0B7A3B; --n26-sur: #fff;    --n26-pale: #E0F2E7; }
.v4 .n26-t--collegue   { --n26-ton: #1E6FE0; --n26-sur: #fff;    --n26-pale: #E0ECFF; }

.v4 .n26-sr {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* bouton : une pièce de carton qu'on enfonce */
.v4 .n26-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; margin: 0; padding: 0 20px;
	border: var(--n26-trait) solid var(--n26-encre); border-radius: 4px;
	background: #fff; color: var(--n26-encre);
	box-shadow: 0 4px 0 var(--n26-encre);
	font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
	cursor: pointer; -webkit-appearance: none; appearance: none;
	transition: transform 150ms var(--n26-e);
}
.v4 .n26-btn:hover { transform: translateY(-2px); color: var(--n26-encre); }
.v4 .n26-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--n26-encre); }
.v4 .n26-btn--rouge { background: var(--n26-rouge); color: #fff; }
.v4 .n26-btn--rouge:hover { background: var(--n26-appuye); color: #fff; }

.v4 .n26-btn:focus-visible,
.v4 .n26-qui-lien:focus-visible,
.v4 .n26-b:focus-visible,
.v4 .n26-bascule:focus-visible,
.v4 .n26-tous:focus-visible,
.v4 .n26-ticket:focus-visible,
.v4 .n26-lien:focus-visible,
.v4 .n26-qui-titre:focus-visible,
.v4 .n26-h2:focus-visible { outline: 3px solid var(--n26-focus); outline-offset: 2px; }

/* étiquette noire (sur-titres) */
.v4 .n26-sur { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 10px; padding: 0; }
.v4 .n26-etq {
	padding: 4px 10px; border-radius: 4px; background: var(--n26-encre); color: #fff;
	font-size: 14px; font-weight: 800; font-stretch: 125%; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase;
}

/* ───────── 1. Ouverture ───────── */
.v4 .n26-hero { position: relative; background: #fff; }
.v4 .n26-hero-in { position: relative; padding-left: 0; padding-right: 0; }
.v4 .n26-hero-vitrine { position: relative; aspect-ratio: 2 / 3; max-height: 640px; }
.v4 .n26-hero-cadre {
	position: absolute; inset: 0; overflow: hidden;
	border-bottom: 3px solid var(--n26-encre); background: #F9C9A0;
}
.v4 .n26-hero-scene {
	position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: 50% 100%;
}
/* voile de chaleur : garantit le contraste du titre quel que soit le ciel livré */
.v4 .n26-voile { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 244, 222, .8), rgba(255, 244, 222, 0) 44%); }

/* personnages en calques : --x centre (% de la largeur), --b pied (% de la hauteur), --h taille (% de la hauteur).
   L'image est un carré 1024 dont le sujet occupe ≈ 80 % : 10 % de vide sous les pieds, d'où les --b négatifs. */
.v4 .n26-hp {
	position: absolute; left: var(--x); bottom: var(--b); height: var(--h); aspect-ratio: 1;
	transform: translateX(-50%); pointer-events: none;
}
.v4 .n26-hp-i { display: block; width: 100%; height: 100%; max-width: none; transform-origin: 50% 88%; }
.v4 .n26-hp--renne { --x: 43%; --b: 21%; --h: 22%; z-index: 1; }
.v4 .n26-hp--pn    { --x: 68%; --b: -4.5%; --h: 43%; z-index: 2; }
.v4 .n26-hp--bubu  { --x: 22%; --b: -3.5%; --h: 35%; z-index: 3; }

.v4 .n26-hero-titre { position: absolute; z-index: 4; top: 0; left: 0; right: 0; padding: 38px var(--gout, 16px) 0; }
.v4 .n26-dodos {
	display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px;
	border: 2px solid var(--n26-encre); border-radius: 4px; background: #fff; box-shadow: 0 3px 0 var(--n26-encre);
	font-size: 14px; font-weight: 800; font-stretch: 87%; line-height: 1.4; transform: rotate(1.5deg);
}
.v4 .n26-dodos::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--n26-encre); }
.v4 .n26-h {
	margin: 0; padding: 0; color: var(--n26-encre);
	font-size: clamp(38px, 11.6vw, 58px); font-weight: 900; font-stretch: 62%; line-height: .9; text-transform: uppercase;
}
.v4 .n26-h span { display: block; }
.v4 .n26-h .n26-h-avant { font-size: max(14px, .34em); font-weight: 800; font-stretch: 100%; line-height: 1.7; letter-spacing: .06em; }
.v4 .n26-h em,
.v4 .n26-hfin em {
	display: inline-block; margin-top: .1em; padding: .07em .16em .03em; font-style: normal;
	border: 3px solid var(--n26-encre); border-radius: 4px; box-shadow: 0 4px 0 var(--n26-encre);
	background: var(--n26-rouge); color: #fff; transform: rotate(-2.5deg);
}

.v4 .n26-hero-suite { padding: 28px var(--gout, 16px) 30px; }
.v4 .n26-chapo { margin: 0; padding: 0; max-width: 40ch; font-size: 17px; font-weight: 500; line-height: 1.5; }
.v4 .n26-actions { display: flex; flex-wrap: wrap; gap: 14px 12px; margin: 18px 0 0; padding: 0; }
.v4 .n26-actions .n26-btn { flex: 1 1 220px; }

/* pétales de flamboyant : seulement si le mouvement est permis (sinon ni calque ni téléchargement) */
.v4 .n26-petales { display: none; }

@media (min-width: 768px) {
	.v4 .n26-hero { padding: 30px 0 46px; }
	.v4 .n26-hero-in { padding-left: var(--gout, 15px); padding-right: var(--gout, 15px); }
	.v4 .n26-hero-vitrine { aspect-ratio: auto; max-height: none; height: clamp(500px, 48vw, 640px); }
	.v4 .n26-hero-cadre { border: 3px solid var(--n26-encre); border-radius: 6px; box-shadow: 0 6px 0 var(--n26-encre); }
	.v4 .n26-hero-scene { object-position: 50% 46%; }
	.v4 .n26-voile { background: linear-gradient(to right, rgba(255, 244, 222, .8), rgba(255, 244, 222, .5) 30%, rgba(255, 244, 222, 0) 54%); }
	.v4 .n26-hero-texte {
		position: absolute; z-index: 4; top: 0; bottom: 0;
		left: calc(var(--gout, 15px) + clamp(20px, 4%, 52px)); width: min(44%, 540px);
		display: flex; flex-direction: column; justify-content: center; gap: 18px;
	}
	.v4 .n26-hero-titre { position: static; padding: 0; }
	.v4 .n26-hero-suite { padding: 0; }
	.v4 .n26-h { font-size: clamp(44px, 5.4vw, 78px); }
	.v4 .n26-actions .n26-btn { flex: 0 1 auto; }
	.v4 .n26-hp--bubu  { --x: 55%; --b: -5%; --h: 50%; }
	.v4 .n26-hp--pn    { --x: 74%; --b: -6%; --h: 70%; }
	.v4 .n26-hp--renne { --x: 91%; --b: -5%; --h: 36%; z-index: 3; }
}
@media (min-width: 992px) {
	.v4 .n26-hero-texte { width: min(41%, 540px); }
	.v4 .n26-hp--bubu  { --x: 50%; --b: -5%; --h: 62%; }
	.v4 .n26-hp--pn    { --x: 68%; --b: -7%; --h: 84%; }
	.v4 .n26-hp--renne { --x: 86%; --b: -6%; --h: 44%; }
}

/* ───────── 2. Le guide ───────── */
.v4 .n26-intro { position: relative; padding: 34px 0 0; background: #fff; scroll-margin-top: calc(var(--n26-haut, 0px) + 8px); }
.v4 .n26-intro-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: end; gap: 8px; }
.v4 .n26-intro-texte { padding-bottom: 18px; }
.v4 .n26-h2 { margin: 0; padding: 0; color: var(--n26-encre); font-size: 30px; font-weight: 800; font-stretch: 75%; line-height: 1.05; letter-spacing: -.01em; }
.v4 .n26-intro-p { margin: 10px 0 0; padding: 0; max-width: 52ch; font-size: 16px; font-weight: 500; }
/* le Père Noël qui s'évente a les pieds posés sur le trait de la barre */
.v4 .n26-intro-pn { display: block; width: 128px; height: auto; max-width: none; margin: 0 0 -11% -22px; }
.v4 .n26-intro-branche { display: none; }

.v4 .n26-guide { position: relative; background: #fff; border-top: var(--n26-trait) solid var(--n26-encre); border-bottom: var(--n26-trait) solid var(--n26-encre); }
/* fixée par le script (position:sticky est cassé par overflow-x:hidden sur html,body) ; --n26-haut = bas de l'en-tête s'il est fixe */
.v4 .n26-guide.n26-fixe { position: fixed; z-index: 90; left: 0; right: 0; top: var(--n26-haut, 0px); box-shadow: 0 4px 0 rgba(20, 20, 20, .14); }
.v4 .n26-guide-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 6px; padding-bottom: 6px; }
.v4 .n26-lib { display: none; font-size: 14px; font-weight: 800; font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.v4 .n26-qui { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; }
.v4 .n26-qui-liste {
	position: relative; display: flex; gap: 6px; min-width: 0; margin: -5px 0 -5px -5px; padding: 5px 26px 5px 5px; list-style: none;
	overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none;
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
}
.v4 .n26-qui-liste::-webkit-scrollbar { display: none; }
.v4 .n26-qui-item { flex: none; margin: 0; padding: 0; list-style: none; }
.v4 .n26-qui-lien {
	display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px;
	border: 2px solid var(--n26-encre); border-radius: 4px; background: #fff; color: var(--n26-encre);
	font-size: 16px; font-weight: 700; font-stretch: 75%; line-height: 1; white-space: nowrap; text-decoration: none;
}
.v4 .n26-qui-lien::before { content: ""; flex: none; width: 11px; height: 11px; border: 1.5px solid var(--n26-encre); border-radius: 50%; background: var(--n26-ton); }
.v4 .n26-qui-lien:hover { background: var(--n26-pale); color: var(--n26-encre); }
.v4 .n26-qui-lien[aria-current] { background: var(--n26-encre); color: #fff; }
.v4 .n26-qui-lien[aria-current]::before { border-color: #fff; }

/* budget : replié derrière un bouton jusqu'à 1 199 px, en ligne au-delà */
.v4 .n26-budget { display: contents; }
.v4 .n26-bascule,
.v4 .n26-b {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; padding: 0 14px;
	border: 2px solid var(--n26-encre); border-radius: 999px; background: #fff; color: var(--n26-encre);
	font: inherit; font-size: 16px; font-weight: 700; font-stretch: 75%; line-height: 1; white-space: nowrap;
	cursor: pointer; -webkit-appearance: none; appearance: none;
}
.v4 .n26-bascule { flex: none; }
.v4 .n26-bascule::after { content: ""; width: 7px; height: 7px; margin: -4px 0 0 2px; border: solid var(--n26-encre); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.v4 .n26-bascule[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.v4 .n26-bascule-val:not(:empty)::before { content: " : "; white-space: pre; }
.v4 .n26-bascule.n26-actif,
.v4 .n26-b[aria-pressed="true"] { background: var(--n26-mangue); }
.v4 .n26-b[aria-pressed="true"]::before { content: "\2713"; font-weight: 900; }
.v4 .n26-b:hover,
.v4 .n26-bascule:hover { background: #FFF1CC; color: var(--n26-encre); }
.v4 .n26-prix { flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 2px 0 4px; }
.v4 .n26-budget:not(.n26-ouvert) .n26-prix { display: none; }

@media (min-width: 768px) {
	.v4 .n26-lib { display: block; }
	.v4 .n26-prix .n26-lib { display: none; }
}
@media (min-width: 992px) {
	.v4 .n26-intro { padding-top: 26px; }
	.v4 .n26-intro-in { grid-template-columns: minmax(0, 1fr) 210px; padding-left: calc(var(--gout, 15px) + 200px); }
	.v4 .n26-intro-texte { padding-bottom: 28px; }
	.v4 .n26-h2 { font-size: 44px; }
	.v4 .n26-intro-p { font-size: 17px; }
	.v4 .n26-intro-pn { width: 236px; margin-left: -26px; }
	.v4 .n26-intro-branche { display: block; position: absolute; left: -12px; top: -74px; width: 232px; height: auto; max-width: none; pointer-events: none; }
}
@media (min-width: 1200px) {
	.v4 .n26-guide-in { flex-wrap: nowrap; gap: 6px 22px; }
	.v4 .n26-qui { flex: 0 1 auto; }
	.v4 .n26-qui-liste { -webkit-mask-image: none; mask-image: none; padding-right: 5px; }
	.v4 .n26-budget { display: flex; flex: none; margin-left: auto; }
	.v4 .n26-bascule { display: none; }
	.v4 .n26-prix,
	.v4 .n26-budget:not(.n26-ouvert) .n26-prix { display: flex; flex: none; flex-wrap: nowrap; gap: 6px; padding: 0; }
	.v4 .n26-prix .n26-lib { display: block; margin-right: 4px; }
	/* 14/11 : à 1 310 px les 5 « Pour qui ? » + 5 budgets débordaient (« Le collègue » coupé) — puces plus compactes */
	.v4 .n26-guide-in { gap: 6px 14px; }
	.v4 .n26-qui-lien, .v4 .n26-b { padding: 0 10px; font-size: 15px; }
	.v4 .n26-qui-liste, .v4 .n26-prix { gap: 5px; }
	.v4 .n26-lib { letter-spacing: .03em; }
}
/* 12/11 (Riaz) : aucune trace d'Alma dans les idées cadeaux — ni mensualité sur la carte, ni la note légale qui l'accompagne */
.v4 .n26 .buro-ti[data-t=alma], .v4 .n26 .buro-alma-note { display: none !important; }

/* ───────── 3. Les chapitres ───────── */
.v4 .n26-ch { padding: 40px 0 34px; background: var(--n26-pale); scroll-margin-top: calc(var(--n26-haut, 0px) + var(--n26-barre, 0px) + 6px); }
.v4 .n26-bandeau { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.v4 .n26-tableau { position: relative; z-index: 1; }

/* la vitrine : décor encadré, coiffé d'un lambrequin blanc (festons + un trou par feston) */
.v4 .n26-scene { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: var(--n26-trait) solid var(--n26-encre); border-radius: 4px; background: var(--n26-ton); }
.v4 .n26-scene-i { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 82%; }
.v4 .n26-scene::before {
	content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 20px; pointer-events: none;
	background:
		radial-gradient(circle at 50% 50%, var(--n26-encre) 0 2.1px, transparent 2.7px) 50% 7px / 24px 8px repeat-x,
		radial-gradient(circle at 50% 0, #fff 0 10px, var(--n26-encre) 10.6px 12.4px, transparent 13px) 50% 6px / 24px 14px repeat-x,
		linear-gradient(#fff, #fff) 0 0 / 100% 6px no-repeat;
}

/* le personnage, posé dans la zone libre du décor (côté g ou d), les pieds sous le cadre */
.v4 .n26-perso { position: absolute; z-index: 2; bottom: -12%; width: 50%; height: auto; aspect-ratio: 1; max-width: none; pointer-events: none; }
.v4 .n26-ch--g .n26-perso { left: 0; }
.v4 .n26-ch--d .n26-perso { right: 0; }

/* sa bulle, du côté opposé, la pointe vers lui */
.v4 .n26-bulle {
	position: absolute; z-index: 3; top: 30px; max-width: 50%; margin: 0; padding: 9px 12px;
	border: var(--n26-trait) solid var(--n26-encre); border-radius: 16px; background: #fff; color: var(--n26-encre);
	font-size: 15px; font-weight: 700; font-stretch: 87%; line-height: 1.25;
}
.v4 .n26-bulle::after {
	content: ""; position: absolute; bottom: -8.5px; width: 13px; height: 13px; background: #fff;
	border: solid var(--n26-encre); border-width: 0 var(--n26-trait) var(--n26-trait) 0; transform: rotate(45deg);
}
.v4 .n26-ch--g .n26-bulle { right: 10px; }
.v4 .n26-ch--g .n26-bulle::after { left: 20px; }
.v4 .n26-ch--d .n26-bulle { left: 10px; }
.v4 .n26-ch--d .n26-bulle::after { right: 20px; }

/* le carton : la ligne de la liste (« N° 1 — pour : LES MARMAILLES ») */
.v4 .n26-carton {
	position: relative; margin-top: -14px; padding: 34px 16px 18px;
	border: var(--n26-trait) solid var(--n26-encre); border-radius: 4px; box-shadow: 0 5px 0 var(--n26-encre);
	background: var(--n26-ton); color: var(--n26-sur);
}
.v4 .n26-num { margin: 0; padding: 0; color: inherit; font-size: 14px; font-weight: 800; font-stretch: 125%; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.v4 .n26-qui-titre {
	margin: 4px 0 0; padding: 0; color: inherit;
	font-size: clamp(36px, 10.4vw, 46px); font-weight: 900; font-stretch: 62%; line-height: .92; text-transform: uppercase;
}
.v4 .n26-age {
	display: inline-block; margin-left: 4px; padding: 4px 10px; vertical-align: middle;
	border: 2px solid var(--n26-encre); border-radius: 999px; background: #fff; color: var(--n26-encre);
	font-size: 14px; font-weight: 800; font-stretch: 100%; line-height: 1.2; text-transform: none; white-space: nowrap; transform: rotate(-3deg);
}
.v4 .n26-titre { margin: 12px 0 0; padding: 0; color: inherit; font-size: 20px; font-weight: 800; font-stretch: 87%; line-height: 1.15; }
.v4 .n26-recit { margin: 6px 0 0; padding: 0; max-width: 46ch; color: inherit; font-size: 16px; font-weight: 500; line-height: 1.5; }

/* les idées — mobile : rail à 2 rangées, la colonne suivante dépasse, aucune barre visible */
.v4 .n26-grille {
	display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 44%; gap: 10px;
	margin: 22px calc(var(--gout, 16px) * -1) 0; padding: 2px var(--gout, 16px) 6px;
	overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity; scroll-padding: 0 var(--gout, 16px);
	scrollbar-width: none; -ms-overflow-style: none;
}
.v4 .n26-grille::-webkit-scrollbar { display: none; }
.v4 .n26-c { display: flex; min-width: 0; scroll-snap-align: start; }
.v4 .n26-grille > .n26-c > article { flex: 1 1 auto; min-width: 0; margin: 0 !important; width: auto !important; }

.v4 .n26-vide {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 4px 0 0; padding: 16px;
	border: 2px dashed var(--n26-encre); border-radius: 4px; background: #fff;
}
.v4 .n26-vide-txt { margin: 0; padding: 0; font-size: 18px; font-weight: 800; font-stretch: 87%; }

.v4 .n26-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 10px 0 0; padding: 0; }
.v4 .n26-tous {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: auto; color: var(--n26-encre);
	font-size: 17px; font-weight: 800; font-stretch: 87%; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.v4 .n26-tous::after { content: "\2192"; }
.v4 .n26-tous:hover { color: var(--n26-appuye); }

@media (min-width: 600px) {
	.v4 .n26-grille { grid-auto-columns: 29%; }
	.v4 .n26-scene { aspect-ratio: 2 / 1; }
	.v4 .n26-perso { width: 38%; }
	.v4 .n26-bulle { top: 34px; max-width: 42%; font-size: 16px; }
}

@media (min-width: 992px) {
	.v4 .n26-ch { padding: 64px 0 56px; }
	/* la vitrine d'un côté, le carton de l'autre ; le personnage au milieu, entre le texte et le décor */
	.v4 .n26-bandeau { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); align-items: stretch; }
	.v4 .n26-ch--d .n26-bandeau { grid-template-columns: minmax(0, 64fr) minmax(0, 36fr); }
	.v4 .n26-tableau { grid-row: 1; height: clamp(300px, 27vw, 372px); }
	.v4 .n26-ch--g .n26-tableau { grid-column: 2; }
	.v4 .n26-ch--d .n26-tableau { grid-column: 1; }
	.v4 .n26-scene { aspect-ratio: auto; height: 100%; box-shadow: 0 5px 0 var(--n26-encre); }
	.v4 .n26-scene-i { object-position: 50% 78%; }
	.v4 .n26-perso { bottom: -12%; width: auto; height: 92%; }
	.v4 .n26-ch--g .n26-perso { left: 3%; }
	.v4 .n26-ch--d .n26-perso { right: 3%; }
	.v4 .n26-bulle { top: 40px; max-width: 280px; padding: 12px 16px; font-size: 17px; }
	.v4 .n26-ch--g .n26-bulle { right: auto; left: 43%; }
	.v4 .n26-ch--d .n26-bulle { left: auto; right: 43%; }
	.v4 .n26-carton {
		z-index: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center;
		margin: 12px 0; padding: 26px 30px;
	}
	.v4 .n26-ch--g .n26-carton { grid-column: 1; margin-right: -18px; padding-right: 46px; transform: rotate(-1.1deg); }
	.v4 .n26-ch--d .n26-carton { grid-column: 2; margin-left: -18px; padding-left: 46px; transform: rotate(1.1deg); }
	.v4 .n26-qui-titre { font-size: clamp(40px, 4.4vw, 60px); }
	.v4 .n26-titre { margin-top: 14px; font-size: 24px; }
	.v4 .n26-recit { font-size: 17px; }

	/* ordinateur : grille qui passe à la ligne, 2 rangées puis « Voir les N autres » */
	.v4 .n26-grille {
		grid-auto-flow: row; grid-template-rows: none; grid-auto-columns: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
		margin: 34px 0 0; padding: 0; overflow: visible; scroll-snap-type: none;
	}
	.v4 .n26-js .n26-grille:not(.n26-ouvert) > .n26-plus { display: none; }
	.v4 .n26-pied { margin-top: 20px; }
	.v4 .n26-vide { margin-top: 0; padding: 22px 24px; }
}
@media (min-width: 1200px) {
	.v4 .n26-grille { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ───────── 4. Fin : « Ho ho ho, c'est réglé » ───────── */
.v4 .n26-fin { position: relative; padding: 44px 0 56px; background: var(--n26-rouge); color: #fff; --n26-focus: #fff; }
.v4 .n26-fin-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.v4 .n26-fin-tableau .n26-scene { aspect-ratio: 3 / 2; background: #F9C9A0; }
.v4 .n26-fin-tableau .n26-scene-i { object-position: 50% 50%; }
.v4 .n26-fin-tableau .n26-perso { left: -3%; bottom: -11%; width: 46%; height: auto; }
.v4 .n26-fin-cadeaux { position: absolute; z-index: 2; right: -2%; bottom: -12%; width: 28%; height: auto; max-width: none; pointer-events: none; }
.v4 .n26-hfin { margin: 0; padding: 0; color: #fff; font-size: clamp(46px, 13vw, 88px); font-weight: 900; font-stretch: 62%; line-height: .9; text-transform: uppercase; }
.v4 .n26-hfin em { background: #fff; color: var(--n26-encre); transform: rotate(-2deg); }
.v4 .n26-fin-p { margin: 20px 0 0; padding: 0; max-width: 46ch; color: #fff; font-size: 17px; font-weight: 600; }

/* les trois faits, sur tickets perforés */
.v4 .n26-tickets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.v4 .n26-tickets li { margin: 0; padding: 0; list-style: none; }
.v4 .n26-ticket {
	display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; min-height: 78px; padding: 12px 24px;
	border-radius: 4px; box-shadow: 0 4px 0 var(--n26-appuye); color: var(--n26-encre); text-decoration: none;
	background:
		radial-gradient(circle at 0 50%, var(--n26-rouge) 7px, transparent 7.6px),
		radial-gradient(circle at 100% 50%, var(--n26-rouge) 7px, transparent 7.6px),
		#fff;
}
.v4 .n26-ticket b { font-size: 32px; font-weight: 900; font-stretch: 62%; line-height: 1; text-transform: uppercase; }
.v4 .n26-ticket span { font-size: 15px; font-weight: 600; line-height: 1.3; }
.v4 a.n26-ticket span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.v4 a.n26-ticket:hover { color: var(--n26-appuye); }

.v4 .n26-idee { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 10px 14px; margin-top: 28px; padding-top: 22px; border-top: 2px dashed rgba(255, 255, 255, .6); }
.v4 .n26-idee-bubu { display: block; width: 116px; height: auto; max-width: none; margin: -10px; }
.v4 .n26-idee-t { margin: 0 0 10px; padding: 0; color: #fff; font-size: 28px; font-weight: 900; font-stretch: 75%; line-height: 1; }
.v4 .n26-concours { grid-column: 1 / -1; margin: 4px 0 0; padding: 0; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.45; }
.v4 .n26-lien { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.v4 .n26-lien:hover { color: #fff; text-decoration-thickness: 2px; }

@media (min-width: 600px) {
	.v4 .n26-tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.v4 .n26-ticket { padding: 14px 20px; }
}
@media (min-width: 992px) {
	.v4 .n26-fin { padding: 72px 0 84px; }
	.v4 .n26-fin-in { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); align-items: center; gap: 56px; }
	.v4 .n26-fin-tableau { height: auto; }
	.v4 .n26-fin-tableau .n26-scene { height: auto; box-shadow: 0 6px 0 var(--n26-encre); }
	.v4 .n26-fin-tableau .n26-perso { height: auto; }
	.v4 .n26-hfin { font-size: clamp(56px, 6.2vw, 92px); }
	.v4 .n26-idee { grid-template-columns: 120px minmax(0, 1fr); }
	.v4 .n26-idee-bubu { width: 140px; }
}

/* ───────── 5. Mouvement : un geste d'arrivée, puis presque rien ───────── */
@media (prefers-reduced-motion: no-preference) {
	/* tant que le script n'a pas vu les 3 images, on retient l'entrée (secours à 4 s si le script ne vient pas) */
	.v4 .n26-js .n26-hero:not(.n26-pret) .n26-hp-i { opacity: 0; animation: n26-voir 1ms 4s forwards; }
	.v4 .n26-pret .n26-hp--bubu .n26-hp-i { animation: n26-roule .9s var(--n26-e) .1s both; }
	.v4 .n26-pret .n26-hp--pn .n26-hp-i { animation: n26-arrive 1s cubic-bezier(.2, .9, .3, 1.15) .4s both, n26-respire 7s ease-in-out 1.8s infinite; }
	.v4 .n26-pret .n26-hp--renne .n26-hp-i { animation: n26-pose .7s var(--n26-e) .95s both; }

	.v4 .n26-petales { display: block; position: absolute; inset: 0; pointer-events: none; }
	/* chaque pétale est un couloir de la hauteur de la scène : translateY(-100% → --f) le fait tomber du haut jusqu'au sable */
	.v4 .n26-petales i {
		position: absolute; top: 0; left: var(--x); width: var(--t, 18px); height: 100%; opacity: 0;
		animation: n26-chute var(--s, 12s) linear var(--r, 2s) infinite;
	}
	.v4 .n26-petales i::after {
		content: ""; position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 1;
		background: var(--n26-pet) var(--p, 0 0) / 200% 200% no-repeat;
		animation: n26-vrille 3.4s ease-in-out infinite alternate;
	}
	.v4 .n26-petales i:nth-child(1) { --x: 58%; --t: 20px; --s: 12s;   --r: 2s;   --f: -9%;  --d: -70px; --p: 0 0; }
	.v4 .n26-petales i:nth-child(2) { --x: 76%; --t: 16px; --s: 15s;   --r: 5.5s; --f: -20%; --d: -40px; --p: 100% 0; }
	.v4 .n26-petales i:nth-child(3) { --x: 90%; --t: 22px; --s: 10.5s; --r: 9s;   --f: -5%;  --d: -90px; --p: 0 100%; }
	.v4 .n26-petales i:nth-child(4) { --x: 66%; --t: 15px; --s: 17s;   --r: 12s;  --f: -27%; --d: -30px; --p: 100% 100%; }
	.v4 .n26-petales i:nth-child(5) { --x: 84%; --t: 18px; --s: 13.5s; --r: 16s;  --f: -13%; --d: -60px; --p: 0 0; }

	.v4 .n26-guide.n26-fixe { animation: n26-tombe 220ms var(--n26-e); }
}
@keyframes n26-voir { to { opacity: 1; } }
@keyframes n26-roule { from { opacity: 0; transform: translateX(55%) rotate(7deg); } 25% { opacity: 1; } 72% { transform: translateX(-3%) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@keyframes n26-arrive { from { opacity: 0; transform: translateX(34%) rotate(4deg); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes n26-pose { from { opacity: 0; transform: translateY(22%); } to { opacity: 1; transform: none; } }
@keyframes n26-respire { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(1.1deg); } 75% { transform: rotate(-1.1deg); } }
@keyframes n26-chute {
	0% { opacity: 0; transform: translate3d(0, -100%, 0); }
	6% { opacity: 1; }
	88% { opacity: 1; }
	100% { opacity: 0; transform: translate3d(var(--d, -60px), var(--f, -10%), 0); }
}
@keyframes n26-vrille { from { transform: rotate(-50deg); } to { transform: rotate(70deg); } }
@keyframes n26-tombe { from { transform: translateY(-100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.v4 .n26-hp-i,
	.v4 .n26-btn,
	.v4 .n26-guide.n26-fixe { animation: none !important; transition: none !important; }
}
