/* Site de l'Association Jeunesse Solidaire.
   Couleurs relevées sur le logo, polices de la charte AJS. */

@font-face {
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('polices/instrument-sans-latin-ext.woff2') format('woff2');
	unicode-range:
		U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
		U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}
@font-face {
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('polices/instrument-sans-latin.woff2') format('woff2');
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('polices/bricolage-grotesque-latin-ext.woff2') format('woff2');
	unicode-range:
		U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
		U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('polices/bricolage-grotesque-latin.woff2') format('woff2');
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	color-scheme: light;
	/* Une seule famille de fonds, le sable, et l'encre du logo. Les trois couleurs du logo
	   ne servent qu'en petites touches : le ruban et le haut des cartes. */
	--fond: #f4efe6;
	--fond-2: #ebe3d5;
	--fond-3: #e1d7c5;
	--carte: #fbf8f2;
	--encre: #2a2521;
	--encre-2: #5c544a;
	--encre-ombre: #0f0d0b;
	--liseret: #d6cab5;
	--rouge: #ee1c25;
	--vert: #91c63e;
	--bleu: #3866af;
	--rouge-encre: #a3121a;
	--vert-encre: #2f5c14;
	--bleu-encre: #24427a;
	--titres: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
	--texte: 'Instrument Sans', system-ui, sans-serif;
	--marge: clamp(20px, 5vw, 56px);
	--large: 1120px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	background: var(--fond);
}

body {
	margin: 0;
	background: var(--fond);
	color: var(--encre);
	font-family: var(--texte);
	font-size: 1.0625rem;
	line-height: 1.55;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.08em;
}

a:focus-visible {
	outline: 3px solid var(--bleu);
	outline-offset: 3px;
	border-radius: 6px;
}

h1,
h2,
h3 {
	font-family: var(--titres);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 8.2vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(1.75rem, 4.4vw, 2.75rem);
}

h3 {
	font-size: 1.3rem;
}

p {
	margin: 0;
	max-width: 62ch;
}

.cadre {
	width: 100%;
	max-width: calc(var(--large) + 2 * var(--marge));
	margin-inline: auto;
	padding-inline: var(--marge);
}

.insecable {
	white-space: nowrap;
}

.passer {
	position: absolute;
	left: -9999px;
}
.passer:focus {
	left: 12px;
	top: 12px;
	z-index: 10;
	background: var(--encre);
	color: var(--fond);
	padding: 10px 14px;
	border-radius: 8px;
}

/* En-tête. Le fichier du logo a un fond blanc : le mode « produit » le fond dans le sable. */

.entete {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
	padding-block: 14px 10px;
}

.marque img {
	height: 78px;
	width: auto;
	mix-blend-mode: multiply;
}
@media (min-width: 860px) {
	.entete .marque img {
		height: 104px;
	}
}

.entete .don {
	min-height: 44px;
	padding: 0 16px;
	margin-left: auto;
}

.entete nav {
	order: 3;
	width: 100%;
}

.menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 500;
	font-size: 0.9375rem;
}

.menu a {
	display: inline-block;
	padding-block: 10px;
	text-decoration: none;
	background: linear-gradient(var(--encre), var(--encre)) no-repeat 0 calc(100% - 6px) / 0 2px;
	transition: background-size 0.2s ease;
}
.menu a:hover {
	background-size: 100% 2px;
}

.menu .grand-ecran {
	display: none;
}

@media (min-width: 860px) {
	.menu .grand-ecran {
		display: block;
	}
	.entete nav {
		order: 2;
		width: auto;
		margin-left: auto;
	}
	.entete .don {
		order: 3;
		margin-left: 0;
	}
	.menu {
		gap: 0 26px;
		font-size: 1rem;
	}
}

/* Boutons : une pastille qui s'enfonce quand on appuie */

.bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: var(--encre);
	color: var(--carte);
	box-shadow: 0 4px 0 var(--encre-ombre);
	font-weight: 600;
	text-decoration: none;
	transition:
		transform 0.12s ease,
		box-shadow 0.12s ease;
}
.bouton:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 0 var(--encre-ombre);
}
.bouton:active {
	transform: translateY(3px);
	box-shadow: 0 1px 0 var(--encre-ombre);
}
.bouton.contour {
	background: transparent;
	color: var(--encre);
	box-shadow: inset 0 0 0 2px var(--encre);
}
.bouton.contour:hover,
.bouton.contour:active {
	box-shadow: inset 0 0 0 2px var(--encre);
	background: rgba(42, 37, 33, 0.06);
}

.boutons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Ouverture */

.ouverture {
	display: grid;
	gap: 32px;
	align-items: center;
	padding-block: clamp(28px, 6vw, 72px) clamp(40px, 7vw, 80px);
}

.ouverture p {
	margin-top: clamp(18px, 3vw, 28px);
	font-size: clamp(1.1rem, 2.2vw, 1.35rem);
	line-height: 1.45;
	max-width: 44ch;
	color: var(--encre-2);
}

.ouverture .boutons {
	margin-top: clamp(26px, 4vw, 38px);
}

/* Le ruban plié du logo, en accordéon */

.pliage,
.embleme {
	display: none;
}

@media (min-width: 980px) {
	.ouverture {
		grid-template-columns: 1fr 300px;
	}
	.pliage,
	.embleme {
		display: block;
		width: 300px;
		height: auto;
	}
	.embleme {
		mix-blend-mode: multiply;
	}
	.ouverture:has(.embleme) {
		grid-template-columns: 1fr min(40%, 440px);
	}
	.ouverture .embleme {
		width: 100%;
	}
}

/* Le même ruban, déroulé sur la largeur de la page : il glisse lentement */

.ruban {
	overflow: hidden;
	height: clamp(22px, 3.6vw, 40px);
}
.ruban.fin {
	height: clamp(14px, 2.2vw, 24px);
	background: var(--fond-3);
}
.ruban .bande {
	height: 100%;
	width: calc(100% + 1200px);
	background: url('img/ruban.svg') repeat-x 0 0 / 1200px 100%;
}

/* Le ruban du haut porte des mots : chaque pli est un bloc incliné, un sur deux décalé vers le bas */

.ruban.mots {
	height: 58px;
}
.ruban.mots .bande {
	display: flex;
	align-items: flex-start;
	width: max-content;
	height: auto;
	background: none;
}
.mot {
	--couleur: var(--rouge);
	--pli: var(--bleu-encre);
	--encre-mot: #fff;
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	height: 46px;
	padding: 0 34px 0 40px;
	margin-right: -12px;
	background: var(--couleur);
	color: var(--encre-mot);
	font-family: var(--titres);
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1;
	white-space: nowrap;
	transform: skewX(-24deg);
}
.mot > span {
	display: block;
	transform: skewX(24deg);
}
.mot:nth-child(3n + 2) {
	--couleur: var(--vert);
	--pli: var(--rouge-encre);
	--encre-mot: var(--encre);
}
.mot:nth-child(3n + 3) {
	--couleur: var(--bleu);
	--pli: var(--vert-encre);
}
.mot:nth-child(even) {
	margin-top: 12px;
}
/* l'ombre du pli, là où un bloc recouvre le précédent */
.mot::before {
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	width: 12px;
	height: calc(100% - 12px);
	background: var(--pli);
}
.mot:nth-child(even)::before {
	top: 0;
}

/* Sections */

.section {
	padding-block: clamp(48px, 8vw, 96px);
}

.section.doux {
	background: var(--fond-2);
}

.section > .cadre > h2 + p {
	margin-top: 14px;
	font-size: 1.125rem;
	color: var(--encre-2);
}

/* Les trois familles d'actions, une couleur du logo chacune */

.familles {
	display: grid;
	gap: 20px;
	margin-top: clamp(28px, 5vw, 48px);
}

@media (min-width: 860px) {
	.familles {
		grid-template-columns: repeat(3, 1fr);
	}
}

.famille {
	position: relative;
	overflow: hidden;
	padding: 32px 24px 26px;
	border-radius: 18px;
	background: var(--carte);
}
.famille::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 8px;
	background: var(--couleur);
	transform-origin: left;
}
.famille.rouge {
	--couleur: var(--rouge);
	--couleur-encre: var(--rouge-encre);
}
.famille.vert {
	--couleur: var(--vert);
	--couleur-encre: var(--vert-encre);
}
.famille.bleu {
	--couleur: var(--bleu);
	--couleur-encre: var(--bleu-encre);
}

/* La photo de la carte va d'un bord à l'autre, sous le trait de couleur */
.famille .photo {
	display: block;
	width: calc(100% + 48px);
	max-width: none;
	height: auto;
	margin: -24px -24px 22px;
}

.famille h3 {
	font-size: clamp(1.8rem, 3vw, 2.2rem);
	color: var(--couleur-encre);
}

.famille dl {
	margin: 14px 0 0;
}
.famille dt {
	font-weight: 700;
	margin-top: 16px;
}
.famille dd {
	margin: 2px 0 0;
	color: var(--encre-2);
}

/* Les chiffres du rapport moral */

.chiffres {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px 24px;
	margin: clamp(24px, 4vw, 40px) 0 0;
}
@media (min-width: 860px) {
	.chiffres {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px 36px;
	}
}
.chiffres dt {
	font-family: var(--titres);
	font-weight: 800;
	font-size: clamp(2.6rem, 9vw, 4.2rem);
	line-height: 0.95;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	color: var(--rouge-encre);
	transform-origin: left bottom;
}
.chiffres div:nth-child(3n + 2) dt {
	color: var(--vert-encre);
}
.chiffres div:nth-child(3n + 3) dt {
	color: var(--bleu-encre);
}
.chiffres dd {
	margin: 8px 0 0;
	max-width: 26ch;
	color: var(--encre-2);
}

/* Les étapes d'une demande d'aide : une vraie suite, donc numérotée */

.etapes {
	counter-reset: etape;
	display: grid;
	gap: 0;
	margin: clamp(28px, 5vw, 44px) 0 0;
	padding: 0;
	list-style: none;
	max-width: 760px;
}

.etapes li {
	counter-increment: etape;
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 2px 16px;
	padding-block: 18px;
	border-top: 2px solid var(--liseret);
}
.etapes li:last-child {
	border-bottom: 2px solid var(--liseret);
}

.etapes li::before {
	content: counter(etape);
	grid-row: span 2;
	font-family: var(--titres);
	font-weight: 800;
	font-size: 2.8rem;
	line-height: 0.95;
}

.etapes strong {
	font-size: 1.2rem;
}
.etapes span {
	grid-column: 2;
	color: var(--encre-2);
}

.note {
	margin-top: 22px;
	color: var(--encre-2);
}

/* Panneau vers la page prévention, coiffé des trois couleurs du logo */

.panneau {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 24px;
	align-items: center;
	padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 44px) clamp(28px, 4vw, 40px);
	border-radius: 18px;
	background: var(--carte);
}
.panneau::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 8px;
	background: linear-gradient(90deg, var(--rouge) 0 33.4%, var(--vert) 33.4% 66.7%, var(--bleu) 66.7%);
}
@media (min-width: 860px) {
	.panneau {
		grid-template-columns: 1fr auto;
	}
}
.panneau.simple {
	margin-top: clamp(28px, 4vw, 40px);
	padding-top: clamp(26px, 4vw, 36px);
}
.panneau.simple::before {
	content: none;
}
.panneau h3 {
	font-size: clamp(1.5rem, 3vw, 1.9rem);
}
.panneau p {
	margin-top: 12px;
	font-size: 1.125rem;
	color: var(--encre-2);
}

/* Partenaires : des cartes à faire défiler, une par partenaire, avec son logo */

.defile {
	display: flex;
	gap: 16px;
	margin: clamp(24px, 4vw, 40px) calc(-1 * var(--marge)) 0;
	padding: 4px var(--marge) 16px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--marge);
	scrollbar-width: thin;
	scrollbar-color: var(--encre-2) var(--fond-2);
}
.defile:focus-visible {
	outline: 3px solid var(--bleu);
	outline-offset: -3px;
	border-radius: 18px;
}
.defile li {
	flex: 0 0 min(74vw, 250px);
	min-width: 0;
	scroll-snap-align: start;
	padding: 14px 14px 20px;
	border-radius: 18px;
	background: var(--carte);
}
.defile .logo {
	display: grid;
	place-items: center;
	height: 120px;
	padding: 14px;
	border-radius: 12px;
	background: #fff;
}
.defile .logo img {
	max-width: 100%;
	max-height: 92px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.defile .logo.sans-fichier {
	font-family: var(--titres);
	font-weight: 700;
	font-size: 1.3rem;
	line-height: 1.15;
	text-align: center;
	text-wrap: balance;
}
.defile h3 {
	margin: 14px 6px 0;
	font-size: 1.15rem;
}
.defile p {
	margin: 4px 6px 0;
	color: var(--encre-2);
	font-size: 1rem;
	line-height: 1.45;
}

/* Soutenir */

.soutiens {
	display: grid;
	gap: 20px;
	margin-top: clamp(28px, 5vw, 44px);
}
@media (min-width: 860px) {
	.soutiens {
		grid-template-columns: repeat(3, 1fr);
	}
}
.soutiens > div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
	border-radius: 18px;
	background: var(--carte);
}
.soutiens p {
	margin: 8px 0 20px;
	color: var(--encre-2);
}
.soutiens .bouton {
	margin-top: auto;
}

/* Nous suivre */

.reseaux {
	margin-top: 24px;
}
.reseaux .bouton {
	gap: 10px;
}
.reseaux .bouton img {
	width: auto;
	height: 22px;
	flex: none;
}

/* Pied de page */

.pied {
	padding-block: 40px 28px;
	font-size: 1rem;
	background: var(--fond-3);
}
.pied .cadre:not(.fin-de-page) {
	display: grid;
	gap: 28px 48px;
}
@media (min-width: 700px) {
	.pied .cadre:not(.fin-de-page) {
		grid-template-columns: auto 1fr 1fr;
		align-items: start;
	}
	.pied .cadre > :nth-child(4) {
		grid-column: 2;
	}
}
@media (min-width: 980px) {
	.pied .cadre:not(.fin-de-page) {
		grid-template-columns: auto 1.3fr 1.2fr 0.8fr;
	}
	.pied .cadre > :nth-child(4) {
		grid-column: auto;
	}
}
.pied .marque img {
	height: 68px;
}
.pied address {
	font-style: normal;
}
.pied h2 {
	font-family: var(--texte);
	font-size: 1rem;
	letter-spacing: 0;
	margin-bottom: 6px;
}
.pied ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pied li {
	padding-block: 3px;
}
.pied .bas {
	display: block;
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--liseret);
}
.pied .bas small {
	display: block;
	color: var(--encre-2);
	font-size: 0.9375rem;
}
.pied .bas .signature {
	margin-top: 4px;
	font-size: 0.8125rem;
}

/* Page prévention : pensée pour un téléphone, on y arrive par le QR code */

.titre-page {
	padding-block: clamp(20px, 5vw, 56px) clamp(32px, 6vw, 64px);
}
.titre-page h1 {
	font-size: clamp(2.2rem, 7.4vw, 4rem);
}
.titre-page .chapo {
	margin-top: 16px;
	font-size: 1.2rem;
	line-height: 1.45;
	max-width: 44ch;
	color: var(--encre-2);
}

.prevention {
	padding-block: clamp(28px, 5vw, 56px) clamp(40px, 7vw, 80px);
}

.temoignages {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 760px;
}

.temoignages li {
	position: relative;
	overflow: hidden;
	padding: 22px 22px 24px 30px;
	border-radius: 18px;
	background: var(--carte);
}
.temoignages li::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 8px;
	background: var(--couleur, var(--rouge));
}
.temoignages li:nth-child(3n + 2) {
	--couleur: var(--vert);
}
.temoignages li:nth-child(3n + 3) {
	--couleur: var(--bleu);
}

.temoignages .source {
	color: var(--encre-2);
	font-size: 0.9375rem;
	font-weight: 500;
}

.temoignages h2 {
	margin-top: 6px;
	font-size: clamp(1.3rem, 4.6vw, 1.65rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.temoignages .bouton {
	margin-top: 18px;
	width: 100%;
	gap: 10px;
}
@media (min-width: 560px) {
	.temoignages .bouton {
		width: auto;
	}
}
.temoignages .bouton svg {
	width: 18px;
	height: 18px;
	flex: none;
	transition: transform 0.15s ease;
}
.temoignages .bouton:hover svg {
	transform: translateX(3px);
}

.ecoute {
	margin-top: 16px;
	max-width: 760px;
	padding: 26px 24px;
	border-radius: 18px;
	background: var(--fond-2);
}
.ecoute h2 {
	font-size: 1.6rem;
}
.ecoute p {
	margin-top: 10px;
}
.ecoute .numero {
	display: inline-block;
	margin-top: 14px;
	font-family: var(--titres);
	font-weight: 800;
	font-size: clamp(2rem, 9vw, 2.8rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	white-space: nowrap;
	color: var(--bleu-encre);
}
.ecoute .numero:hover {
	text-decoration: underline;
}

/* Pages de texte */

.texte {
	padding-block: clamp(28px, 5vw, 56px) clamp(40px, 7vw, 80px);
}
.texte h2 {
	font-size: 1.4rem;
	margin-top: 36px;
}
.texte h2:first-child {
	margin-top: 0;
}
.texte .entree {
	margin-top: 0;
	font-size: 1.2rem;
	line-height: 1.5;
	max-width: 56ch;
}
.texte .photo {
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
	margin-top: 20px;
	border-radius: 18px;
}
.texte .suite {
	margin-top: 36px;
}

/* Quelques dates : une vraie suite dans le temps */

.dates {
	margin: 14px 0 0;
	max-width: 760px;
}
.dates > div {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 0 16px;
	padding-block: 14px;
	border-top: 2px solid var(--liseret);
}
.dates > div:last-child {
	border-bottom: 2px solid var(--liseret);
}
.dates dt {
	font-family: var(--titres);
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}
.dates dd {
	margin: 0;
	color: var(--encre-2);
}
/* Le bureau : une carte par personne, avec sa photo, un avatar ou à défaut son initiale */

.bureau {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	max-width: 760px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 14px;
}
.bureau li {
	display: flex;
	flex-direction: column;
}
.bureau img,
.bureau .initiales {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	border-radius: 14px;
	background: var(--fond-2);
}
.bureau img {
	object-fit: cover;
}
.bureau .initiales {
	display: grid;
	place-items: center;
	font-family: var(--titres);
	font-weight: 800;
	font-size: 2rem;
	letter-spacing: 0.02em;
	color: var(--liseret);
	border: 2px solid var(--liseret);
}
.bureau strong {
	margin-top: 10px;
	font-family: var(--titres);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.25;
}
.bureau li > span:last-child {
	font-size: 0.95rem;
	color: var(--encre-2);
}
@media (min-width: 620px) {
	.bureau {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px 20px;
	}
}

.texte p,
.texte address {
	margin-top: 10px;
	font-style: normal;
	max-width: 62ch;
}

/* Mouvement : rien d'indispensable, tout s'arrête si la personne l'a demandé à son appareil */

@media (prefers-reduced-motion: no-preference) {
	.ruban .bande {
		animation: glisse 48s linear infinite;
		will-change: transform;
	}
	.ruban.mots .bande {
		animation: glisse-mots var(--duree, 60s) linear infinite;
	}

	.ouverture h1,
	.ouverture p,
	.ouverture .boutons,
	.titre-page h1,
	.titre-page .chapo {
		animation: monte 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
	.ouverture p,
	.titre-page .chapo {
		animation-delay: 0.1s;
	}
	.ouverture .boutons {
		animation-delay: 0.2s;
	}

	.pliage .pli {
		animation: deplie 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
		transform-box: fill-box;
		transform-origin: 50% 0;
	}
	.pliage .pli:nth-child(2) {
		animation-delay: 0.25s;
	}
	.pliage .pli:nth-child(3) {
		animation-delay: 0.4s;
	}
	.pliage {
		animation: flotte 7s ease-in-out 1.2s infinite;
	}

	@supports (animation-timeline: view()) {
		.famille,
		.panneau,
		.soutiens > div,
		.temoignages li {
			animation: monte linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 45%;
		}
		.famille::before {
			animation: trace linear both;
			animation-timeline: view();
			animation-range: entry 20% entry 90%;
		}
		.defile li {
			animation: apparait linear both;
			animation-timeline: view(inline);
			animation-range: entry 0% entry 70%;
		}
		.etapes li::before,
		.chiffres dt {
			animation: surgit linear both;
			animation-timeline: view();
			animation-range: entry 10% entry 70%;
		}
	}
}

@keyframes glisse {
	to {
		transform: translateX(-1200px);
	}
}
@keyframes glisse-mots {
	to {
		transform: translateX(-50%);
	}
}
@keyframes monte {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
}
@keyframes deplie {
	from {
		opacity: 0;
		transform: scaleY(0);
	}
}
@keyframes flotte {
	50% {
		transform: translateY(-8px);
	}
}
@keyframes apparait {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
}
@keyframes trace {
	from {
		transform: scaleX(0);
	}
}
@keyframes surgit {
	from {
		opacity: 0;
		transform: scale(0.4);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

@media print {
	.menu,
	.boutons,
	.ruban,
	.pliage {
		display: none;
	}
}
