/* vitrine.css : le site de présentation, d'après la mood board de Kaïssa (Images website/Recherches.pdf). */

@font-face {
	font-family: "Quicksand";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/quicksand-700.woff2") format("woff2");
}

:root {
	--v-fond: #DCE8EA;
	--v-panneau: #F4FAFB;
	--v-teal: #0E5464;
	--v-teal-vif: #1B7F91;
	--v-teal-nuit: #08323C;
	--v-rose: #EA80FC;
	--v-rose-texte: #B23CC8;
	--v-menthe: #1DE9B6;
	--v-anis: #B7CE1F;
	--v-anis-voile: #F6F8DA;
	--v-prune: #78008C;
	--v-erreur: #A80D35;
	--v-erreur-voile: #FFE3E9;
	--v-encre: #0F2229;
	--v-doux: #3E5660;
	--v-rayon: 40px;
	--v-rayon-carte: 34px;
	--v-section: clamp(72px, 8vw, 120px);
	--v-police-mot: "Quicksand", var(--police);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }

body.vitrine {
	margin: 0;
	background: var(--v-fond);
	color: var(--v-encre);
	font-family: var(--police);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

/* Typographie */
h1, h2, h3 { margin: 0; color: var(--v-teal); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(36px, 28px + 1.95vw, 56px); letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: clamp(30px, 22px + 2vw, 50px); }
h3 { font-size: 20px; }
p, li { text-wrap: pretty; }
p { margin: 0; }
a { color: var(--v-teal); }
img { max-width: 100%; height: auto; }

.slogan, .partage-texte h2, .final h2 { font-size: clamp(36px, 24px + 3vw, 68px); line-height: 1.08; }
.carte-menthe h2, .savoir h2 { font-size: clamp(26px, 21px + 1vw, 36px); }
.texte-long h2 { font-size: clamp(20px, 18.5px + .4vw, 24px); letter-spacing: 0; }
.offre h2 { font-size: clamp(24px, 20px + 1vw, 32px); }
.cause h3 { font-size: 26px; }
.hero-fonction, .tete-panneau p, .duo .panneau p, .trois-d .panneau p, .partage-texte p, .final p, .carte-menthe p {
	font-size: clamp(18px, 16.5px + .4vw, 21px);
	line-height: 1.5;
	color: var(--v-teal-nuit);
	max-width: 32em;
}
.mention { font-size: 15px; color: var(--v-doux); }
.mention strong { color: var(--v-teal); }

/* Le mot mis en valeur : un seul par titre, dans la police ronde de la maquette. */
.mot {
	font-family: var(--v-police-mot);
	font-weight: 700;
	font-size: 1.12em;
	line-height: 1;
	letter-spacing: -.005em;
	white-space: nowrap;
	color: var(--v-rose-texte);
}
.hero h1 .mot { font-size: 1.1em; }
.mot--menthe { color: var(--v-menthe); }
.mot--rose { color: var(--v-rose); }
.mot--prune { color: var(--v-prune); }

.ui-icone {
	width: 1.2em;
	height: 1.2em;
	flex: 0 0 auto;
	vertical-align: -.2em;
	fill: none;
	stroke: currentColor;
	vector-effect: non-scaling-stroke;
}

:focus-visible { outline: 3px solid var(--v-focus, var(--v-teal)); outline-offset: 3px; border-radius: 8px; }
:is(.hero-panneau, .partage-texte, .trois-d .panneau, .final, .pied, .offre--devis, .fonction--nuit .panneau, .nav-mobile-liste) { --v-focus: var(--v-menthe); }

.lecteur-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.evitement {
	position: absolute;
	left: 16px;
	top: -60px;
	padding: 8px 16px;
	background: var(--v-teal);
	color: #fff !important;
	border-radius: 9px;
	z-index: 30;
}
.evitement:focus { top: 8px; }

.cadre { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.cadre--etroit { max-width: 860px; }

/* Boutons : la pilule rose de la maquette, et ses variantes. */
.bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 58px;
	padding: 0 32px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s, background-color .15s, box-shadow .15s;
}
@media (hover: hover) {
	.bouton:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(8, 50, 60, .18); }
}
.bouton:active { transform: translateY(0); box-shadow: none; }
.bouton--rose { background: var(--v-rose); color: var(--v-teal-nuit); }
.bouton--anis { background: var(--v-anis); color: var(--v-teal-nuit); }
.bouton--contour { background: transparent; color: var(--v-teal); border-color: var(--v-teal); }
.bouton--contour-clair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.lien-fort { display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; font-weight: 700; text-decoration: none; color: var(--v-teal); }
.lien-fort:hover { text-decoration: underline; text-underline-offset: 4px; }

/* En-tête : une pilule claire qui flotte sur le haut de page. */
.entete { position: sticky; top: 0; z-index: 20; padding-top: 16px; margin-bottom: -88px; pointer-events: none; }
.entete-pilule {
	position: relative;
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
	padding: 0 12px 0 28px;
	border-radius: 999px;
	box-shadow: 0 18px 40px rgba(8, 50, 60, .25);
}
.entete-pilule::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: rgba(244, 250, 251, .94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.entete-logo { display: flex; flex: none; padding: 8px 0; }
.logo { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 16px; color: var(--v-teal-nuit); text-decoration: none; transition: background-color .15s; }
.nav a:hover { background: var(--v-fond); }
.nav a[aria-current="page"] { background: var(--v-menthe); }
.entete-actions { display: flex; align-items: center; gap: 10px; }
.entete-connexion {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	border: 2px solid var(--v-teal);
	border-radius: 999px;
	color: var(--v-teal);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.entete-connexion:hover { background: var(--v-teal); color: #fff; }
.entete-action { min-height: 50px; padding: 0 24px; font-size: 16px; }
.nav-mobile { display: none; }

/* Fond de caddies de la maquette */
.fond-caddies { background: var(--v-teal) url("img/vitrine/fond-caddies.webp") center / cover no-repeat; }

/* Carte photo inclinée, son ombre décalée et le signe en filigrane. */
.carte-photo {
	position: relative;
	margin: 0;
	border-radius: var(--v-rayon-carte);
	overflow: hidden;
	box-shadow: 14px 16px 0 var(--ombre-carte, var(--v-teal-nuit));
	transform: rotate(var(--angle, -3deg));
	background: var(--v-teal);
}
.carte-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carte-photo::after {
	content: "";
	position: absolute;
	top: 22px;
	right: 22px;
	width: 46px;
	height: 52px;
	background: url("img/vitrine/signe-blanc.svg") center / contain no-repeat;
	opacity: .85;
}
.carte-photo--gauche::after { right: auto; left: 22px; }

.panneau { background: var(--v-panneau); border-radius: var(--v-rayon); }

/* Bandes de couleur pleine largeur */
.bande { padding: var(--v-section) 0; }
.bande--gris { background: var(--v-fond); }
.bande--clair { background: var(--v-panneau); }
.bande--rose { background: var(--v-rose); }
.bande--menthe { background: var(--v-menthe); }
.bande--nuit { background: var(--v-teal-nuit); }

/* Hero */
.hero { padding: 168px 0 140px; overflow-x: clip; }
.hero-cadre { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; }
/* Panneau nuit : la couleur du hero vient du fond, des cartes et du mot menthe, pas d'un grand aplat clair. */
.hero-panneau {
	position: relative;
	z-index: 1;
	margin-right: -100px;
	padding: 60px 106px 64px 60px;
	background: var(--v-teal-nuit);
	box-shadow: 16px 18px 0 var(--v-menthe);
}
.hero h1 { max-width: 22ch; font-size: clamp(36px, 26px + 1.8vw, 54px); color: #fff; }
.hero h1 .mot { color: var(--v-menthe); }
.hero .hero-fonction { margin-top: 22px; color: #D5E9EC; }
.hero .actions { margin-top: 34px; }
.hero-mention { margin-top: 16px; max-width: 30em; color: #B9D3D8; }
.hero-mention strong { color: var(--v-menthe); }
.hero-mention a { white-space: nowrap; color: #fff; }
.hero-visuel { position: relative; z-index: 2; translate: 40px 0; }
.hero-photo { --angle: 4deg; aspect-ratio: 4 / 5; }
.hero-photo--dessous { position: absolute; inset: 0; z-index: -1; --angle: -9deg; --ombre-carte: var(--v-rose); translate: -4% -11%; scale: .92; }
.hero-photo--dessous::after { display: none; }
.hero-panier { position: absolute; z-index: 3; left: -150px; bottom: -78px; width: 290px; height: auto; filter: drop-shadow(0 18px 22px rgba(8, 50, 60, .35)); }

/* Photo et panneau */
.duo { display: grid; grid-template-columns: 430px minmax(0, 1fr); align-items: center; }
.duo .carte-photo { z-index: 2; aspect-ratio: 1 / 1; }

/* Paquet de cartes : la carte du dessus sort sur le côté puis repasse derrière les autres. */
.pile { position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 5; }
.pile .carte-photo { position: absolute; inset: 0; aspect-ratio: auto; will-change: transform; animation: pile 10s ease-in-out infinite, pile-z 10s step-end infinite; }
.pile .carte-photo::after { display: none; }
.pile .carte-photo:nth-child(2) { animation-delay: -7.5s; }
.pile .carte-photo:nth-child(3) { animation-delay: -5s; }
.pile .carte-photo:nth-child(4) { animation-delay: -2.5s; }
/* Quatre cartes décalées d'un quart de cycle ; le z-index change d'un coup pour qu'aucune carte n'en partage un. */
@keyframes pile {
	0%, 18% { transform: rotate(-3deg); }
	/* Sortie bornée à la marge gauche du cadre (580 = moitié du cadre de 1240 moins sa marge) : la carte reste à l'écran. */
	25% { transform: translate(max(-150px, 45px - max(40px, 50vw - 580px)), -5%) rotate(-16deg); }
	32%, 45% { transform: translate(34px, 22px) rotate(9deg) scale(.88); }
	50%, 70% { transform: translate(18px, 12px) rotate(-8deg) scale(.92); }
	75%, 93% { transform: translate(8px, 5px) rotate(4deg) scale(.96); }
	100% { transform: rotate(-3deg); }
}
@keyframes pile-z {
	0% { z-index: 4; }
	25% { z-index: 1; }
	50% { z-index: 2; }
	75% { z-index: 3; }
	100% { z-index: 4; }
}
.duo .panneau { margin-left: -60px; padding: 64px 64px 64px 120px; }
.duo .panneau p { margin-top: 24px; }

/* Photo inclinée et carte menthe */
.incline { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; max-width: 1080px; margin: 0 auto; }
.incline .carte-photo { --angle: -4deg; aspect-ratio: 4 / 5; box-shadow: 14px 16px 0 var(--v-teal-nuit); }
.incline .carte-photo::after { display: none; }
.carte-menthe {
	position: relative;
	padding: 56px 48px;
	border-radius: var(--v-rayon);
	background: var(--v-menthe);
	transform: rotate(4deg);
}
.carte-menthe::after {
	content: "";
	position: absolute;
	bottom: 26px;
	right: 30px;
	width: 46px;
	height: 52px;
	background: url("img/vitrine/signe-blanc.svg") center / contain no-repeat;
	opacity: .75;
}
.carte-menthe h2 { color: var(--v-teal-nuit); }
.carte-menthe p { margin-top: 20px; }
.carte-menthe .actions { margin-top: 28px; }

/* Caddie 3D et panneau nuit */
.trois-d { display: grid; grid-template-columns: 420px minmax(0, 1fr); align-items: center; }
.trois-d-visuel {
	position: relative;
	z-index: 2;
	width: 540px;
	height: auto;
	max-width: none;
	margin-right: -120px;
	align-self: end;
	margin-bottom: -48px;
	filter: drop-shadow(0 26px 26px rgba(8, 50, 60, .22));
}
.trois-d .panneau { padding: 72px 64px 72px 150px; background: var(--v-teal-nuit); }
.trois-d h2 { color: #fff; }
.trois-d .panneau p { margin-top: 24px; color: #fff; }
.trois-d .actions { margin-top: 28px; }
.trois-d .lien-fort { color: var(--v-menthe); }

/* Bande anis et teal en plein cadre */
.partage { display: grid; grid-template-columns: minmax(0, 47%) minmax(0, 53%); min-height: 640px; }
.partage-image { display: grid; place-items: center; padding: 56px 40px; background: var(--v-anis); overflow: hidden; }
.partage-image img { display: block; width: min(92%, 580px); transform: rotate(-9deg); filter: drop-shadow(0 34px 30px rgba(8, 50, 60, .32)); }
.partage-texte { background: var(--v-teal); color: #fff; padding: 72px clamp(32px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.partage-signe { width: 120px; height: auto; margin-bottom: 32px; }
.partage-texte h2 { color: #fff; }
.partage-texte p { margin-top: 24px; color: #fff; }
.partage-texte .actions { margin-top: 32px; }

/* Origine : La Grande Collecte, sur la bande menthe */
.origine { background: var(--v-menthe); padding: var(--v-section) 0; overflow-x: clip; }
.origine-cadre { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 96px; align-items: center; }
.origine-carte {
	position: relative;
	margin: 0;
	padding: 64px 48px 56px;
	border-radius: var(--v-rayon-carte);
	background: var(--v-teal-nuit);
	box-shadow: 14px 16px 0 var(--v-teal);
	transform: rotate(-3deg);
}
.origine-logo { display: block; width: 100%; }
.origine-date { position: absolute; top: -64px; right: -44px; width: 120px; transform: rotate(9deg); filter: drop-shadow(0 10px 14px rgba(8, 50, 60, .3)); }
.origine-objet { position: absolute; filter: drop-shadow(0 18px 18px rgba(8, 50, 60, .3)); }
.origine-objet--croquettes { width: 150px; left: -60px; bottom: -56px; transform: rotate(-14deg); }
.origine-objet--patee { width: 118px; right: 36px; bottom: -64px; transform: rotate(10deg); }
.origine h2 { color: var(--v-teal-nuit); }
.origine-chiffre { margin-top: 8px; font-family: var(--police-chiffre); font-weight: 400; font-size: clamp(96px, 60px + 9vw, 172px); line-height: .9; color: var(--v-teal-nuit); white-space: nowrap; }
.origine-legende { margin-top: 14px; max-width: 28em; font-size: 20px; color: var(--v-teal-nuit); }
.origine-faits { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.origine-faits li { padding: 18px 20px; border-radius: 22px; background: var(--v-panneau); color: var(--v-teal-nuit); font-size: 15px; line-height: 1.35; }
.origine-faits strong { display: block; margin-bottom: 6px; font-family: var(--police-chiffre); font-weight: 400; font-size: 44px; line-height: 1; color: var(--v-teal); }
.origine-note { margin-top: 24px; max-width: 34em; font-size: 16px; color: var(--v-teal-nuit); }

/* Appel final sur les paniers */
.final { position: relative; padding: 200px 0 160px; background: var(--v-teal-nuit) url("img/vitrine/paniers-final.webp") center / cover no-repeat; }
.final-panneau {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	padding: 64px 40px 72px;
	border-radius: var(--v-rayon);
	background: var(--v-teal-nuit);
	text-align: center;
}
.final-panneau::after {
	content: "";
	position: absolute;
	top: 30px;
	right: 40px;
	width: 46px;
	height: 52px;
	background: url("img/vitrine/signe-blanc.svg") center / contain no-repeat;
	opacity: .5;
}
.final h2 { color: #fff; }
.final p { margin: 16px auto 0; color: #fff; }
.final .actions { margin-top: 32px; justify-content: center; }

/* Haut des pages intérieures : un aplat et un visuel par page */
.tete { position: relative; overflow: hidden; padding: 152px 0 var(--v-section); }
.tete::before {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -120px;
	width: 520px;
	aspect-ratio: 47 / 52;
	background: url("img/vitrine/signe-blanc.svg") center / contain no-repeat;
	opacity: .12;
	transform: rotate(-12deg);
	pointer-events: none;
}
.tete--teal { background: var(--v-teal); }
.tete--menthe { background: var(--v-menthe); }
.tete--anis { background: var(--v-anis); }
.tete--rose { background: var(--v-rose); }
.tete-cadre { z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; }
.tete-cadre:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.tete-panneau { position: relative; z-index: 1; margin-right: -120px; padding: 56px 180px 60px 56px; box-shadow: 0 30px 60px rgba(8, 50, 60, .2); }
.tete-cadre:has(> :only-child) .tete-panneau { margin-right: 0; padding: 52px 56px; max-width: 900px; }
.tete-panneau p { margin-top: 18px; }
.tete-objet { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 24px 24px rgba(8, 50, 60, .3)); transform: rotate(-6deg); }

/* Fonctionnalités */
.fonction { display: grid; grid-template-columns: 400px minmax(0, 1fr); align-items: center; }
.fonction .carte-photo { z-index: 2; aspect-ratio: 1 / 1; }
.fonction .panneau { margin-left: -60px; padding: 56px 56px 56px 112px; }
.fonction--inverse { grid-template-columns: minmax(0, 1fr) 400px; }
.fonction--inverse .carte-photo { order: 2; --angle: 3deg; }
.fonction--inverse .panneau { order: 1; margin-left: 0; margin-right: -60px; padding: 56px 112px 56px 56px; }
.fonction--portrait .carte-photo { aspect-ratio: 4 / 5; }
.fonction--large .carte-photo { aspect-ratio: 16 / 10; }
.fonction--nuit .panneau { background: var(--v-teal); }
.fonction--nuit .carte-photo { --ombre-carte: var(--v-rose); }
.fonction--nuit h2 { color: #fff; }
.fonction--nuit .points li { color: rgba(255, 255, 255, .88); }
.fonction--nuit .points strong { color: #fff; }
.fonction--nuit .points li > .ui-icone { color: var(--v-menthe); }
.fonction--anis .carte-photo { --ombre-carte: var(--v-anis); }
.points { list-style: none; margin: 28px 0 0; padding: 0; columns: 2; column-gap: 32px; }
.points li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; break-inside: avoid; font-size: 17px; line-height: 1.55; color: var(--v-encre); }
.points li > .ui-icone { color: var(--v-teal); margin-top: 4px; }
.points strong { color: var(--v-encre); font-weight: 600; }

.savoir { padding: 48px 56px; border-radius: var(--v-rayon); box-shadow: 14px 16px 0 var(--v-teal-nuit); color: var(--v-teal-nuit); }
.savoir--anis { background: var(--v-anis); }
.savoir--rose { background: var(--v-rose); }
.savoir h2 { color: var(--v-teal-nuit); }
.puces { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; font-size: 18px; }
.puces li { display: flex; gap: 14px; align-items: flex-start; }
.puces li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 10px; border-radius: 50%; background: var(--v-teal-nuit); }

/* Ce qui se compte */
.causes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 20px; }
.cause { padding: 32px 28px; border-radius: 30px; background: var(--v-panneau); }
.cause--menthe { background: var(--v-menthe); }
.cause--voile { background: var(--v-anis-voile); }
.cause h3 { color: var(--v-teal-nuit); }
.cause p { margin-top: 8px; font-size: 16px; color: var(--v-teal-nuit); }
.cause--photo { grid-row: span 2; padding: 0; overflow: hidden; background: var(--v-anis); }
.cause--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cause--appel { grid-column: span 2; background: var(--v-rose); display: flex; flex-direction: column; align-items: flex-start; }
.cause--appel .actions { margin-top: 20px; }
.cause--appel .bouton--contour { color: var(--v-teal-nuit); border-color: var(--v-teal-nuit); }

/* Offres */
.offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.offre { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 48px 44px; border-radius: var(--v-rayon); }
.offre--gratuite { background: var(--v-menthe); transform: rotate(-1.2deg); box-shadow: 14px 16px 0 var(--v-teal-nuit); }
.offre--devis { background: var(--v-teal-nuit); }
.offre-etiquette { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--v-teal-nuit); color: #fff; font-weight: 700; font-size: 15px; }
.offre--devis .offre-etiquette { background: var(--v-rose); color: var(--v-teal-nuit); }
.offre h2 { color: var(--v-teal-nuit); }
.offre p:not(.offre-etiquette) { color: var(--v-teal-nuit); font-size: 17px; }
.offre--devis h2, .offre--devis p:not(.offre-etiquette) { color: #fff; }
.offre .bouton { margin-top: auto; }
.offre-faits { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; color: var(--v-teal-nuit); font-size: 16px; line-height: 1.3; }
.offre-faits strong { display: block; font-family: var(--police-chiffre); font-weight: 400; font-size: 44px; line-height: 1; color: var(--v-teal-nuit); white-space: nowrap; }

/* Contact */
.contact-grille { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.contact-aide { color: var(--v-teal-nuit); }
.contact-aide h2 { font-size: clamp(24px, 20px + 1vw, 32px); color: var(--v-teal-nuit); }
.contact-aide .lien-fort { margin-top: 12px; font-size: 20px; color: var(--v-teal-nuit); }
.etapes { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.etapes li { display: flex; gap: 16px; align-items: center; font-size: 17px; font-weight: 600; }
.etapes strong { font-family: var(--police-chiffre); font-weight: 400; font-size: 48px; line-height: 1; color: var(--v-teal); min-width: 1ch; }
.contact-photo { margin-top: 48px; width: 280px; aspect-ratio: 4 / 5; }
.contact-photo::after { display: none; }
.contact-suite { margin-top: 20px; }
.formulaire-panneau { padding: 48px 56px 56px; }
.formulaire { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.champ { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.champ label, .champ legend { font-weight: 600; font-size: 15px; padding: 0; color: var(--v-encre); }
.facultatif { font-weight: 400; color: var(--v-doux); }
.champ input, .champ select, .champ textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--bord-controle);
	border-radius: 14px;
	background: #fff;
	color: var(--v-encre);
	font: inherit;
	font-size: 16px;
}
.champ textarea { resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--v-teal); outline-offset: 2px; border-color: var(--v-teal); }
.champ [aria-invalid="true"] { border-color: var(--v-erreur); }
.champ-erreur { color: var(--v-erreur); font-size: 14px; font-weight: 600; }
.champ-paire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choix { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.choix-option { position: relative; font-weight: 400 !important; }
.choix-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix-option span {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid var(--bord-controle);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-size: 15px;
}
.choix-option input:checked + span { background: var(--v-teal); border-color: var(--v-teal); color: #fff; }
.choix-option input:focus-visible + span { outline: 3px solid var(--v-teal); outline-offset: 2px; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-fin { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.message { display: flex; gap: 14px; align-items: flex-start; padding: 22px 26px; border-radius: 22px; }
.message > .ui-icone { width: 26px; height: 26px; margin-top: 2px; }
.message--succes { background: var(--v-menthe); color: var(--v-teal-nuit); }
.message--succes p + p { margin-top: 4px; }
.message--erreur { background: var(--v-erreur-voile); color: var(--v-erreur); margin-bottom: 20px; }

/* Texte long */
.texte-long { padding: 48px 56px; }
.texte-long h2 { margin-top: 36px; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long h2 + p { margin-top: 10px; }
.texte-long p + p { margin-top: 12px; }

/* Pied de page */
.pied { background: var(--v-teal); color: #fff; padding: 64px 0; }
.pied-cadre { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.pied-logo { height: 44px; margin-bottom: 16px; }
.pied .logo path[fill="#0e5464"] { fill: #fff; }
.pied-marque p { color: rgba(255, 255, 255, .85); font-size: 15px; }
.pied-liens { display: grid; grid-template-columns: repeat(2, auto); gap: 0 40px; align-content: start; }
.pied-liens a { padding: 10px 0; color: #fff; text-decoration: none; font-size: 15px; }
.pied-liens a:hover { color: var(--v-menthe); text-decoration: underline; }

@media (max-width: 1180px) {
	html:has(.nav-mobile[open]) { overflow: hidden; }
	html:has(.nav-mobile[open]) :is(main, .pied, .evitement) { visibility: hidden; }
	.entete-logo { position: relative; z-index: 2; }
	.entete-pilule:has(.nav-mobile[open]) .logo path[fill="#0e5464"] { fill: #fff; }
	.nav, .entete-actions { display: none; }
	.nav-mobile { display: block; margin-left: auto; }
	.nav-mobile summary {
		position: relative;
		z-index: 2;
		list-style: none;
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		border-radius: 50%;
		background: var(--v-rose);
		color: var(--v-teal-nuit);
		cursor: pointer;
	}
	.nav-mobile summary::-webkit-details-marker { display: none; }
	.nav-mobile summary .ui-icone { width: 24px; height: 24px; }
	.nav-mobile-fermer, .nav-mobile[open] .nav-mobile-ouvrir { display: none; }
	.nav-mobile[open] .nav-mobile-fermer { display: block; }
	.nav-mobile-liste {
		position: fixed;
		inset: 0;
		z-index: 1;
		overflow-y: auto;
		display: flex;
		flex-direction: column;
		padding: 104px 24px 32px;
		background: var(--v-teal-nuit) url("img/vitrine/caddie-rose.webp") right -40px bottom -30px / 220px auto no-repeat;
	}
	.nav-mobile-liste > a { padding: 12px 0; color: #fff; font-weight: 700; font-size: 26px; line-height: 1.2; text-decoration: none; }
	.nav-mobile-liste > a[aria-current="page"] { color: var(--v-menthe); }
	.nav-mobile-actions { display: grid; gap: 12px; margin-top: 28px; }
}

/* Les retours forcés du titre du hero ne tiennent que si « Organisez votre collecte, » tient sur une ligne. */
@media (max-width: 1239px) {
	.saut-large { display: none; }
}

@media (max-width: 1080px) {
	.hero-cadre { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.hero-cadre { gap: 64px; }
	.hero-panneau { margin-right: 0; padding: 44px 40px 56px; }
	.hero-visuel { width: min(360px, 70%); justify-self: center; translate: none; }
	.hero-panier { width: 190px; left: -90px; bottom: -52px; }
	.duo, .trois-d, .fonction, .fonction--inverse { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.duo .carte-photo, .fonction .carte-photo { width: min(380px, 82%); justify-self: center; order: 0 !important; }
	.pile { width: min(340px, 76%); justify-self: center; }
	.duo .pile .carte-photo { width: auto; }
	.duo .panneau, .fonction .panneau, .fonction--inverse .panneau { order: 1 !important; margin: -48px 0 0; padding: 88px 40px 48px; }
	.incline { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.incline .carte-photo { width: min(380px, 82%); justify-self: center; }
	.trois-d-visuel { width: min(340px, 78%); margin: 0 auto -56px; }
	.trois-d .panneau { padding: 96px 40px 48px; }
	.partage { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.partage-image { padding: 64px 24px 56px; }
	.partage-image img { width: min(72%, 440px); }
	.origine-cadre { grid-template-columns: minmax(0, 1fr); gap: 80px; }
	.origine-carte { width: min(440px, 88%); justify-self: center; }
	.tete-cadre { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.tete-panneau { margin-right: 0; padding: 40px 32px; }
	.tete-objet { width: min(300px, 64%); justify-self: center; }
	.points { columns: 1; }
	.causes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.offres { grid-template-columns: minmax(0, 1fr); }
	.offre--gratuite { transform: none; }
	.contact-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.contact-photo { display: none; }
	@keyframes pile {
		0%, 18% { transform: rotate(-3deg); }
		25% { transform: translate(-20%, -14%) rotate(-14deg); }
		32%, 45% { transform: translate(34px, 22px) rotate(9deg) scale(.88); }
		50%, 70% { transform: translate(18px, 12px) rotate(-8deg) scale(.92); }
		75%, 93% { transform: translate(8px, 5px) rotate(4deg) scale(.96); }
		100% { transform: rotate(-3deg); }
	}
}

@media (max-width: 640px) {
	body.vitrine { font-size: 16px; }
	html { scroll-padding-top: 84px; }
	.cadre { padding: 0 16px; }
	.entete { padding-top: 10px; margin-bottom: -70px; }
	.entete-pilule { min-height: 60px; padding: 0 6px 0 18px; }
	.logo { height: 30px; }
	.hero { padding: 104px 0 72px; }
	.hero h1 { font-size: 32px; }
	.hero-fonction { font-size: 17px; }
	.fond-caddies { background-image: url("img/vitrine/fond-caddies-portrait.webp"); }
	.final { background-image: url("img/vitrine/paniers-final-portrait.webp"); }
	.hero-panneau { padding: 32px 24px 36px; border-radius: 30px; }
	.hero-panneau { box-shadow: 10px 12px 0 var(--v-menthe); }
	.hero-visuel { width: 64%; }
	.hero-panier { width: 120px; left: -64px; bottom: -34px; }
	.tete { padding: 104px 0 56px; }
	.tete-panneau, .tete-cadre:has(> :only-child) .tete-panneau { padding: 32px 24px; border-radius: 30px; }
	.tete-objet { width: 150px; justify-self: end; margin: -72px 8px 0 0; }
	.duo .panneau, .fonction .panneau, .fonction--inverse .panneau { padding: 80px 24px 36px; border-radius: 30px; }
	.duo .carte-photo, .fonction .carte-photo { width: 72%; }
	.pile { width: 72%; }
	.trois-d .panneau { padding: 88px 24px 36px; border-radius: 30px; }
	.incline .carte-photo { aspect-ratio: 16 / 10; width: calc(100% - 20px); justify-self: center; }
	.carte-menthe { padding: 40px 28px 72px; transform: none; border-radius: 30px; }
	.carte-menthe::after { width: 34px; height: 38px; bottom: 20px; right: 20px; }
	.partage-texte { padding: 48px 24px; }
	.partage-signe { width: 84px; margin-bottom: 20px; }
	.origine-carte { padding: 40px 28px 36px; transform: rotate(-2deg); box-shadow: 10px 12px 0 var(--v-teal); }
	.origine-date { width: 72px; top: -34px; right: -6px; }
	.origine-objet--croquettes { width: 96px; left: -22px; bottom: -40px; }
	.origine-objet--patee { width: 78px; right: 20px; bottom: -44px; }
	.origine-faits { grid-template-columns: minmax(0, 1fr); }
	.origine-faits li { display: flex; align-items: center; gap: 14px; }
	.origine-faits strong { margin: 0; min-width: 2.6ch; font-size: 36px; }
	.final { padding: 120px 0 96px; }
	.final-panneau { padding: 48px 24px 56px; border-radius: 30px; }
	.final-panneau::after { display: none; }
	.causes { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.cause { padding: 20px 22px; border-radius: 24px; }
	.cause h3 { font-size: 21px; }
	.cause p { margin-top: 4px; font-size: 15px; line-height: 1.45; }
	.cause--photo { grid-row: auto; padding: 0; aspect-ratio: 16 / 10; }
	.cause--photo img { object-position: 50% 70%; }
	.cause--appel { grid-column: auto; }
	.offre { padding: 36px 28px; border-radius: 30px; }
	.offre--gratuite { box-shadow: 10px 12px 0 var(--v-teal-nuit); }
	.offre-faits { gap: 8px; font-size: 15px; }
	.offre-faits strong { font-size: 32px; }
	.formulaire-panneau, .texte-long, .savoir { padding: 32px 22px; border-radius: 30px; }
	.champ-paire { grid-template-columns: minmax(0, 1fr); }
	.actions { flex-direction: column; align-items: stretch; width: 100%; }
	.bouton { font-size: 17px; padding: 0 20px; min-height: 54px; }
	.pied-liens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
	.carte-photo { box-shadow: 10px 12px 0 var(--ombre-carte, var(--v-teal-nuit)); }
	.carte-photo::after { width: 30px; height: 34px; top: 14px; right: 14px; }
	.carte-photo--gauche::after { right: auto; left: 14px; }
	.savoir { box-shadow: 10px 12px 0 var(--v-teal-nuit); }
}

@media (prefers-reduced-motion: no-preference) {
	.hero-panier { animation: pose .7s cubic-bezier(.3, 1.4, .5, 1) .2s both; }
	@keyframes pose { from { translate: 0 -40px; rotate: -10deg; opacity: 0; } }
	@supports (animation-timeline: view()) {
		.incline .carte-photo, .carte-menthe, .fonction .carte-photo, .origine-carte, .offre--gratuite, .savoir, .partage-image img {
			animation: entree linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}
		.origine-date { animation: tampon linear both; animation-timeline: view(); animation-range: entry 20% entry 70%; }
	}
	@keyframes entree { from { opacity: 0; translate: 0 48px; rotate: -3deg; } }
	@keyframes tampon { from { scale: 1.6; opacity: 0; } 70% { scale: .92; opacity: 1; } }
	@media (hover: hover) {
		.cause { transition: translate .2s, rotate .2s; }
		.cause:hover { translate: 0 -4px; rotate: -1deg; }
		.pile:hover .carte-photo { animation-play-state: paused; }
	}
}

@media (prefers-reduced-motion: reduce) {
	.pile .carte-photo { animation: none; }
	.pile .carte-photo:not(:first-child) { display: none; }
	.bouton { transition: none; }
	.bouton:hover { transform: none; }
}
