/* =========================================================================
   Les hirondelles – Rénovations
   Conçu « mobile d'abord » d'après la maquette Figma (écran de 402 px),
   puis élargi jusqu'à 1366 px ; au-delà, le contenu reste centré.
   ========================================================================= */

/* ---------- Polices (hébergées sur le site) ---------- */

@font-face { font-family: "Gilbert"; src: url(../fonts/gilbert-bold.otf) format("opentype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Cantarell"; src: url(../fonts/cantarell-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cantarell"; src: url(../fonts/cantarell-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cantarell"; src: url(../fonts/cantarell-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cantarell"; src: url(../fonts/cantarell-700-italic.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Besley"; src: url(../fonts/besley-400-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Besley"; src: url(../fonts/besley-400-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

/* ---------- Couleurs et réglages ---------- */

:root {
	--creme: #FDFBF7;
	--sable: #E2D7C5;
	--ocre: #D4A373;
	--terracotta: #C86446;
	--brun: #A66E4E;
	--sauge: #94A684;
	--encre: #3D3A45;
	--bleu: #002FA7;
	--bleu-vif: #0041E9;

	--f-titre: "Gilbert", "Cantarell", system-ui, sans-serif;
	--f-texte: "Cantarell", system-ui, sans-serif;
	--f-citation: "Besley", Georgia, serif;

	--largeur: 1366px;
	--marge: 29px;
	--texture: url(../img/texture.jpg);
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }

body {
	margin: 0;
	background: var(--creme);
	color: var(--encre);
	font: 13px/19px var(--f-texte);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

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

.masque {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap;
}

.evitement {
	position: fixed; z-index: 100; top: 8px; left: 8px;
	padding: 10px 16px; border-radius: 32px;
	background: var(--bleu); color: var(--creme);
	transform: translateY(-200%);
}
.evitement:focus { transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Éléments communs ---------- */

/* Soulignés en coup de pinceau : un parallélogramme derrière le bas des mots, qui suit les retours à la ligne. */
.surligne {
	--hl: var(--sable);
	--hl-h: .62em;
	--hl-pente: .35em;
	padding: 0 .3em;
	margin: 0 -.3em;
	background:
		linear-gradient(to top left, var(--hl) calc(50% - .4px), transparent calc(50% + .4px)) left 0 bottom .02em / calc(var(--hl-pente) + 1px) var(--hl-h) no-repeat,
		linear-gradient(var(--hl), var(--hl)) center bottom .02em / calc(100% - 2 * var(--hl-pente)) var(--hl-h) no-repeat,
		linear-gradient(to bottom right, var(--hl) calc(50% - .4px), transparent calc(50% + .4px)) right 0 bottom .02em / calc(var(--hl-pente) + 1px) var(--hl-h) no-repeat;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.surligne--ocre { --hl: var(--ocre); }
.surligne--sauge { --hl: var(--sauge); }
.surligne--terracotta { --hl: var(--terracotta); }
.surligne--vif { --hl: var(--bleu-vif); --hl-h: .82em; }
.surligne--titre { --hl-h: .55em; padding-left: .45em; margin-left: -.45em; }

/* Survol des liens : le même parallélogramme que sous « Ensemble », tracé d’un coup de pinceau. */
.menu a, .accueil__besoins a, .pied a { position: relative; z-index: 0; text-decoration: none; }
.menu a::before, .accueil__besoins a::before, .pied a::before {
	content: "";
	position: absolute; z-index: -1;
	left: var(--pinceau-g, -.3em); right: var(--pinceau-d, -.3em); bottom: .1em;
	height: .62em;
	background: var(--terracotta);
	clip-path: polygon(.35em 0, 100% 0, calc(100% - .35em) 100%, 0 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s cubic-bezier(.6, 0, .2, 1);
}
.menu a:hover::before, .accueil__besoins a:hover::before, .pied a:hover::before,
.menu a:focus-visible::before, .accueil__besoins a:focus-visible::before, .pied a:focus-visible::before { transform: scaleX(1); }

.titre {
	font: 30px/32px var(--f-titre);
	color: var(--encre);
}

/* Boutons en forme de pilule */
.pilule {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px 0 12px;
	border: 1px solid transparent;
	border-radius: 32px;
	font: 16px/1 var(--f-titre);
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease;
}
.pilule:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 47, 167, .25); }
.pilule--bleue { background: var(--bleu); border-color: var(--bleu-vif); color: var(--creme); }
.pilule--creme { background: var(--creme); color: var(--bleu); }
.pilule__icone svg { width: 30px; height: 20px; }
.pilule__oeil { width: 22px; height: 22px; fill: currentColor; }

/* Bouton rond */
.rond {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid var(--encre);
	border-radius: 50%;
	background: transparent;
	color: var(--encre);
	transition: background .2s ease, opacity .2s ease;
}
.rond svg { width: 44px; height: 44px; fill: currentColor; }
.rond:hover:not(:disabled) { background: var(--creme); }
.rond:disabled { opacity: .35; cursor: default; }

/* Formes en triangle à pointe arrondie (photos et aplats texturés) */
.forme {
	position: relative;
	overflow: hidden;
	-webkit-mask: url(../svg/masque-bd.svg) center / 100% 100% no-repeat;
	mask: url(../svg/masque-bd.svg) center / 100% 100% no-repeat;
}
.forme--bg { -webkit-mask-image: url(../svg/masque-bg.svg); mask-image: url(../svg/masque-bg.svg); }
.forme--hg { -webkit-mask-image: url(../svg/masque-hg.svg); mask-image: url(../svg/masque-hg.svg); }
.forme img { width: 100%; height: 100%; object-fit: cover; }
.forme::after {
	content: "";
	position: absolute; inset: 0;
	background: var(--voile, transparent);
	opacity: var(--voile-op, 1);
	mix-blend-mode: var(--voile-mode, normal);
}
.forme--terracotta { background: var(--terracotta); }
.forme--ocre { background: var(--ocre); }
.forme--sauge { background: var(--sauge); }

/* Texture minérale posée sur un aplat de couleur */
.texture { position: relative; isolation: isolate; }
.texture::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: var(--texture) center / cover;
	opacity: var(--texture-op, .5);
	mix-blend-mode: var(--texture-mode, overlay);
	pointer-events: none;
}

/* Citations des offres */
.citation {
	position: relative;
	font: italic 700 16px/27px var(--f-citation);
	color: var(--creme);
	text-align: right;
}
.citation::before, .citation::after {
	position: absolute;
	font: italic 700 64px/1 var(--f-citation);
}
.citation::before { content: "“"; top: -26px; left: 76px; }
.citation::after { content: "”"; right: -26px; bottom: -42px; }

/* Liste de travaux accompagnée de pictogrammes */
.travaux { display: flex; align-items: center; gap: 14px; }
.travaux__icones { flex: 0 0 auto; width: 60px; margin-left: -6px; }
.travaux__icones svg { width: 60px; height: auto; }
.travaux ul { display: grid; gap: 19px; }

/* ---------- En-tête ---------- */

.entete {
	/* Boutons calés à droite, petit logo à gauche : marges de la maquette (28 / 26 px sur 402 px), réduites sur les petits écrans. */
	position: fixed; z-index: 40;
	top: 16px;
	left: clamp(12px, calc(50vw - 173px), 28px);
	right: clamp(12px, calc(50vw - 175px), 26px);
	display: flex; align-items: center; justify-content: flex-end;
	gap: clamp(10px, calc(50vw - 179px), 22px);
	pointer-events: none;
}
.entete > * { pointer-events: auto; }

.entete__logo {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border: 1px solid var(--bleu-vif);
	border-radius: 50%;
	background: var(--bleu);
	margin-right: auto;
	/* Masqué en rétrécissant aussi : Safari sur iPhone redessine alors tout le bouton (sinon le cercle pouvait rester affiché) */
	opacity: 0; visibility: hidden;
	transform: scale(.5);
	pointer-events: none;
	will-change: opacity, transform;
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.entete__logo svg { width: 20px; height: 20px; }
.defile .entete__logo, .menu-ouvert .entete__logo, body:not(.home) .entete__logo {
	opacity: 1; visibility: visible;
	transform: none;
	pointer-events: auto;
	transition: opacity .25s ease, transform .25s ease, visibility 0s;
}

.entete__cta { width: 219px; justify-content: center; padding: 0 12px; }

.entete__menu {
	position: relative;
	display: grid; place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid var(--encre);
	border-radius: 50%;
	background: var(--sable);
	color: var(--encre);
}
.entete__menu-traits, .entete__menu-traits::before, .entete__menu-traits::after {
	display: block; width: 17px; height: 1.7px; border-radius: 2px; background: currentColor;
	transition: transform .25s ease, opacity .25s ease;
}
.entete__menu-traits { position: relative; }
.entete__menu-traits::before, .entete__menu-traits::after { content: ""; position: absolute; left: 0; }
.entete__menu-traits::before { top: -5px; }
.entete__menu-traits::after { top: 5px; }
.menu-ouvert .entete__menu-traits::before, .menu-ouvert .entete__menu-traits::after { opacity: 0; transform: scaleX(0); }

/* Menu ouvert : un grand triangle texturé descend du coin supérieur gauche */
.menu {
	position: fixed; z-index: -1;
	top: 69px; left: 0;
	width: min(420px, 100vw); height: 480px;
	padding: 20px 0 0 30px;
	--texture-op: .3; --texture-mode: normal;
	background: var(--sable);
	-webkit-mask: url(../svg/masque-hg.svg) top left / 100% 100% no-repeat;
	mask: url(../svg/masque-hg.svg) top left / 100% 100% no-repeat;
	clip-path: inset(0 100% 100% 0);
	transition: clip-path .45s cubic-bezier(.6, 0, .2, 1), visibility .45s;
	visibility: hidden;
}
.menu::before {
	content: "";
	position: absolute; inset: 0;
	background: var(--texture) center / cover;
	opacity: .3;
	filter: grayscale(.96);
}
.menu ul { position: relative; display: grid; justify-items: start; }
.menu a {
	display: inline-block;
	font: 17px/36px var(--f-texte);
	color: var(--encre);
	text-decoration: none;
}
.menu a::before { bottom: 9px; }
.menu-ouvert .menu { clip-path: inset(0 0 0 0); visibility: visible; }

/* ---------- Accueil ---------- */

.accueil {
	/* Plus haut que l’écran : la photo descend jusqu’au lit puis se fond dans le sable de la section suivante. */
	--prolongement: 240px;
	position: relative;
	height: calc(100vh + var(--prolongement)); height: calc(100svh + var(--prolongement));
	min-height: 820px;
	overflow: hidden;
	color: var(--sable);
	background: #5a3d22;
}
.accueil__photo::after {
	content: "";
	position: absolute; inset: 0;
	/* Assombrit discrètement le haut à droite, derrière les phrases. */
	background: radial-gradient(ellipse 75% 45% at 85% 25%, rgba(35, 20, 8, .45), transparent 70%);
}
.accueil__photo img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: 50% 0;
}
.accueil::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 340px;
	background: linear-gradient(rgba(226, 215, 197, 0), rgba(226, 215, 197, .55) 45%, var(--sable) 100%);
	pointer-events: none;
}

.accueil__volet {
	position: absolute; top: 69px; left: 0;
	width: 206px; height: 228px;
	-webkit-mask: url(../svg/masque-hg.svg) top left / 100% 100% no-repeat;
	mask: url(../svg/masque-hg.svg) top left / 100% 100% no-repeat;
	background: var(--sable);
}
.accueil__volet::before {
	content: "";
	position: absolute; inset: 0;
	background: var(--texture) center / cover;
	opacity: .4;
}
.accueil__logo { position: relative; padding: 23px 0 0 28px; }
.accueil__logo svg { width: 119px; height: 63px; }

.accueil__textes {
	position: absolute; top: 142px; right: 31px;
	width: min(321px, calc(100% - 62px));
	text-align: right;
	text-shadow: 0 1px 14px rgba(40, 25, 10, .35);
}
.accueil__besoins { font: 17px/25px var(--f-titre); }
.accueil__besoins a { text-decoration: none; }
.accueil__question { margin-top: 40px; font: 28px/30px var(--f-titre); }
.accueil__question .surligne { --hl-h: .9em; text-shadow: none; }

/* Les phrases apparaissent l’une après l’autre au chargement. */
.accueil__besoins li, .accueil__question {
	animation: apparition .9s cubic-bezier(.2, .7, .2, 1) both;
}
.accueil__besoins li:nth-child(1) { animation-delay: .3s; }
.accueil__besoins li:nth-child(2) { animation-delay: .65s; }
.accueil__besoins li:nth-child(3) { animation-delay: 1s; }
.accueil__question { animation-delay: 1.45s; animation-duration: 1.1s; }
@keyframes apparition { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } }

.accueil__suite {
	/* Toujours en bas de la fenêtre au chargement, quelle que soit sa hauteur. */
	position: absolute; z-index: 2; left: 50%;
	top: calc(100vh - 68px); top: calc(100svh - 68px);
	width: 50px; height: 68px;
	margin-left: -25px;
	fill: var(--creme);
	animation: rebond 2.4s ease-in-out infinite;
}
@keyframes rebond { 50% { transform: translateY(6px); } }

/* ---------- L'aventure ---------- */

.aventure {
	/* Remonte sur le bas de la photo d’accueil : les hirondelles passent par-dessus. */
	--chevauchement: 200px;
	position: relative;
	height: calc(645px + var(--chevauchement) - 70px);
	margin-top: calc(-1 * var(--chevauchement));
	overflow: hidden;
	overflow: clip;
	background: linear-gradient(transparent, transparent var(--chevauchement), var(--sable) var(--chevauchement));
}
.aventure > * { margin-top: calc(var(--chevauchement) - 70px); }
.aventure__triangle {
	position: absolute; top: 64px; left: -217px;
	width: 619px; height: 579px;
	background: var(--ocre);
	-webkit-mask: url(../svg/masque-bd.svg) center / 100% 100% no-repeat;
	mask: url(../svg/masque-bd.svg) center / 100% 100% no-repeat;
}
.aventure__triangle::before {
	content: "";
	position: absolute; inset: 0;
	background: var(--texture) center / cover;
	opacity: .5;
	mix-blend-mode: overlay;
}
.aventure__hirondelles { position: absolute; z-index: 2; top: 36px; left: 118px; width: 246px; height: 233px; }
/* Chaque oiseau garde le cadre d’origine et se décale comme dans la maquette */
.aventure__oiseau { position: absolute; inset: 0; transform: translate(var(--dx), var(--dy)); }
.aventure__oiseau svg { width: 100%; height: auto; overflow: visible; }
.aventure__oiseau--moyen { --dx: 130px; --dy: -20px; }
.aventure__oiseau--petit { --dx: -60px; --dy: -90px; }
.aventure__oiseau--grand { --dx: 9px; --dy: 20px; }

/* Portrait de l’artisan */
.aventure__artisan { position: absolute; z-index: 1; top: 10px; left: 8px; width: 300px; margin-right: 0; margin-bottom: 0; margin-left: 0; }
.aventure__portrait {
	position: relative; display: block;
	width: 187px; height: 187px;
	margin-left: 99px;
	border-radius: 50%;
	overflow: hidden;
	/* Liseré couleur du fond, qui détache le portrait du triangle */
	box-shadow: 0 0 0 20px var(--sable);
}
.aventure__portrait img { width: 100%; height: 100%; object-fit: cover; }
.aventure__portrait::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(170deg, rgba(151, 144, 171, 0) 0%, var(--encre) 99%);
	opacity: .5;
}
.aventure__artisan figcaption { position: relative; width: 150px; margin: -40px 0 0 18px; color: var(--bleu); }
.aventure__guillemet { position: absolute; top: -34px; left: -18px; font: italic 700 64px/1 var(--f-citation); color: var(--bleu); }
.aventure__artisan strong { display: block; font: 30px/32px var(--f-titre); }
.aventure__ligne { display: block; }
.aventure__metiers { display: block; max-width: 170px; margin-top: 12px; font: 17px/20px var(--f-titre); color: var(--bleu-vif); }

.aventure__texte {
	position: absolute; top: 254px; left: 54px;
	width: 303px;
	font: 16px/18px var(--f-citation);
}
.aventure__texte p + p { margin-top: 18px; }
.aventure__biais {
	float: left;
	width: 145px; height: 136px;
	shape-outside: polygon(0 0, 100% 0, 0 100%);
}
.aventure__devise {
	position: absolute; top: 563px; left: 0; right: 0;
	font: 23px/30px var(--f-titre);
	text-align: center;
}

/* ---------- Savoir-faire ---------- */

.savoir { background: var(--creme); padding: 26px 0 46px; }
.savoir__interieur { padding: 0 var(--marge); }

/* Trois métiers en triangles imbriqués (maquette mobile : 259 × 387 px) */
.savoir__collage {
	position: relative;
	width: 259px; height: 387px;
	margin: -50px auto 0;
}
.savoir__photo { position: absolute; background: var(--fond); }
.savoir__photo img { opacity: var(--photo-op, .65); }
.savoir__metier--terre { --fond: var(--terracotta); --photo-op: .45; }
.savoir__metier--menuiserie { --fond: var(--brun); --photo-op: .8; }
.savoir__metier--ventilation { --fond: var(--sauge); --photo-op: .42; }
.savoir__metier--terre .savoir__photo { left: 47px; top: 0; width: 179px; height: 189px; }
.savoir__metier--menuiserie .savoir__photo { left: 0; top: 149px; width: 145px; height: 190px; }
.savoir__metier--ventilation .savoir__photo { left: 55px; top: 198px; width: 204px; height: 189px; }
.savoir__metier--ventilation .savoir__photo img { object-position: 50% 100%; }

/* Pastille : le pictogramme et son cercle crème, affinés comme sur la maquette (--d = diamètre visible) */
.savoir__pastille {
	--d: 49px;
	position: absolute; z-index: 1;
	width: var(--d); height: var(--d);
}
.savoir__pastille svg {
	width: calc(var(--d) * 1.117); height: calc(var(--d) * 1.117);
	margin: calc(var(--d) * -.0587);
	max-width: none;
	clip-path: circle(44.75%);
}
.savoir__metier--terre .savoir__pastille { left: 159px; top: 68px; }
.savoir__metier--menuiserie .savoir__pastille { left: 9px; top: 219px; }
.savoir__metier--ventilation .savoir__pastille { left: 195px; top: 288px; }

.savoir__nom {
	position: absolute; z-index: 1;
	font: 17px/20px var(--f-titre);
	color: var(--creme);
	white-space: nowrap;
}
.savoir__metier--terre .savoir__nom { right: 48px; top: 130px; text-align: right; }
.savoir__metier--menuiserie .savoir__nom { left: 18px; top: 281px; }
.savoir__metier--ventilation .savoir__nom { left: 164px; top: 348px; }

/* ---------- Catalogue ---------- */

.catalogue { background: var(--sable); padding: 26px 0 36px; overflow: hidden; }
.catalogue .titre { padding: 0 var(--marge); }

.carrousel__fleches {
	display: flex; justify-content: flex-end; gap: 10px;
	padding: 8px 76px 0 0;
}
.carrousel__piste {
	display: flex; gap: 23px;
	padding: 33px max(16px, calc(50% - 148.5px)) 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.carrousel__piste::-webkit-scrollbar { display: none; }
.carrousel--statique .carrousel__fleches, .carrousel--statique .carrousel__points { display: none; }

.carrousel__points { display: flex; justify-content: center; gap: 5px; margin-top: 2px; }
.carrousel__points button {
	width: 15px; height: 15px; padding: 0;
	border: 0; border-radius: 50%;
	background: var(--creme);
	transition: background .2s ease;
}
.carrousel__points button[aria-current="true"] { background: var(--ocre); }

.carte {
	--accent: var(--ocre);
	font-size: 13px;
	line-height: 19px;
	position: relative;
	flex: 0 0 297px;
	height: 585px;
	scroll-snap-align: center;
	border-radius: 32px;
	background: var(--creme);
}
.carte--confort { --accent: var(--ocre); }
.carte--poumon { --accent: var(--sauge); }
.carte--inflation { --accent: var(--terracotta); }
.carte--bleue { --accent: var(--bleu); }

.carte__photo { position: absolute; top: -14px; right: 0; width: 297px; height: 277px; }
.carte--confort .carte__photo { --voile: var(--sauge); --voile-op: .4; }
.carte--poumon .carte__photo { --voile: #7D3621; --voile-op: .7; }
.carte--inflation .carte__photo { --voile: var(--ocre); --voile-op: .7; }
.carte--bleue .carte__photo { --voile: var(--bleu-vif); --voile-op: .8; --voile-mode: overlay; }

.carte__sur { position: absolute; top: 26px; left: 39px; font: 17px/30px var(--f-titre); color: var(--accent); }
.carte__titre { position: absolute; top: 54px; left: 39px; font: 30px/32px var(--f-titre); color: var(--accent); }
.carte__citation { position: absolute; right: 32px; bottom: 340px; width: 215px; }

.carte .travaux { position: absolute; top: 290px; left: 48px; right: 24px; min-height: 215px; }
.carte__bleue { position: absolute; top: 280px; left: 36px; right: 12px; }
.carte__bleue h4 { font: 16px/19px var(--f-titre); color: var(--bleu); }
.carte__bleue ul { display: grid; gap: 5px; margin: 8px 0 14px 14px; }

.carte__plus { position: absolute; left: 50%; top: 526px; transform: translateX(-50%); padding: 0 16px 0 12px; }
.carte__plus:hover { transform: translate(-50%, -1px); }

/* ---------- Parcours ---------- */

.parcours { background: var(--creme); padding-top: 25px; overflow: hidden; }
.parcours .titre { padding: 0 var(--marge); }

.parcours__corps { margin-top: 30px; }

.serpentin {
	position: relative;
	width: 280px; height: 433px;
	margin: 0 auto;
}
.serpentin ol { display: contents; }

.arc {
	position: absolute;
	width: 100px; height: 199px;
	--fin: var(--sauge);
	background: linear-gradient(var(--sable), var(--fin));
	isolation: isolate;
}
.arc::after {
	content: "";
	position: absolute; inset: 0;
	background: var(--texture) center / cover;
	opacity: .2;
}
.arc--terracotta { --fin: var(--terracotta); }
.arc--terracotta::after { opacity: .4; }
.arc--gauche {
	border-radius: 100px 0 0 100px / 99.5px 0 0 99.5px;
	-webkit-mask: radial-gradient(circle at 100% 50%, transparent 71.2px, #000 71.7px);
	mask: radial-gradient(circle at 100% 50%, transparent 71.2px, #000 71.7px);
}
.arc--droite {
	border-radius: 0 100px 100px 0 / 0 99.5px 99.5px 0;
	-webkit-mask: radial-gradient(circle at 0 50%, transparent 71.2px, #000 71.7px);
	mask: radial-gradient(circle at 0 50%, transparent 71.2px, #000 71.7px);
}
.lien { position: absolute; height: 4px; }
.lien--terracotta { background: var(--terracotta); }
.lien--sauge { background: var(--sauge); }

.etape__icone { position: absolute; z-index: 2; width: 40px; height: 40px; }
.etape__icone svg { width: 48px; height: 48px; margin: -4px; max-width: none; }
.etape__titre {
	position: absolute; z-index: 2;
	font: 17px/17px var(--f-titre);
	white-space: nowrap;
}
.etape__titre--droite { text-align: right; line-height: 19px; }
.etape__details {
	position: absolute; z-index: 2;
	font: italic 12px/17px var(--f-texte);
	white-space: nowrap;
}
.etape__details li { display: flex; align-items: center; gap: 3px; }
.etape__details svg { width: 12px; height: 12px; flex: none; }

.apres {
	position: relative; z-index: 1;
	height: 199px;
	background: url(../img/apres.jpg) center / cover;
	clip-path: polygon(0 110px, 110px 0, 100% 0, 100% 100%, 0 100%);
}
.apres::before {
	content: "";
	position: absolute; inset: 0;
	background: var(--sauge);
	opacity: .8;
}
.apres__texte { position: relative; padding: 42px 0 0 calc(50% - 116px); }
.apres h3 { font: 25px/30px var(--f-titre); color: var(--creme); }
.apres__intro { max-width: 239px; margin-top: 13px; font: 12px/17px var(--f-texte); }
.apres__intro svg { display: inline-block; width: 11px; height: 11px; margin: 0 6px -1px 0; }
.apres ul { margin-top: 10px; font: 17px/19px var(--f-titre); }

.etape__icone--apres { z-index: 3; }

/* Positions du serpentin sur mobile (maquette 402 px) */
.arc--a { left: 15px; top: 8px; }
.arc--b { left: 171px; top: 177px; }
.arc--c { left: 15px; top: 348px; }
.lien--a { left: 103px; top: 190px; width: 101px; }
.lien--b { left: 103px; top: 360px; width: 57px; }
.lien--c { display: none; }
.etape--1 .etape__icone { left: 96px; top: 0; }
.etape--1 .etape__titre { left: 141px; top: 1px; }
.etape--1 .etape__details { left: 148px; top: 22px; }
.etape--2 .etape__icone { left: 12px; top: 87px; }
.etape--2 .etape__titre { left: 60px; top: 98px; }
.etape--2 .etape__details { left: 71px; top: 118px; }
.etape--3 .etape__icone { left: 93px; top: 170px; }
.etape--3 .etape__titre { left: 97px; top: 222px; }
.etape--3 .etape__details { left: 108px; top: 258px; }
.etape__retrait { display: inline-block; width: 1em; }
.etape--4 .etape__icone { left: 156px; top: 170px; }
.etape--4 .etape__titre { right: 17px; top: 146px; text-align: right; line-height: 19px; }
.etape--5 .etape__icone { left: 156px; top: 342px; }
.etape--5 .etape__titre { right: 8px; top: 350px; text-align: right; line-height: 19px; }
.etape--6 .etape__icone { left: 93px; top: 342px; }
.etape--6 .etape__titre { left: 93px; top: 388px; }
.etape__icone--apres { left: 11px; top: 420px; }

/* ---------- Coopérative ---------- */

.cooperative { background: var(--sable); padding: 32px 0 34px; }
.cooperative .titre { padding: 0 var(--marge); }
.cooperative__blocs { display: grid; gap: 22px; margin-top: 19px; }
.cooperative__bloc {
	display: grid;
	grid-template-columns: 136px 130px;
	justify-content: center;
	align-items: start;
	gap: 24px;
}
.cooperative__bloc p { line-height: 19px; }
.cooperative__lien { display: block; border-radius: 8px; transition: transform .25s ease, opacity .25s ease; }
.cooperative__lien:hover { transform: translateY(-3px); opacity: .85; }
.cooperative__baticreateurs { width: 130px; }
.cooperative__logos { display: grid; justify-items: center; gap: 16px; }
.cooperative__doremi svg { width: 139px; height: 34px; }
.cooperative__bilik svg { width: 45px; height: 45px; }

/* ---------- Contact ---------- */

.contact {
	--texture-op: .5;
	/* Les liens vers #contact descendent jusqu’au formulaire, pour l’afficher en entier. */
	scroll-margin-top: -329px;
	position: relative;
	isolation: isolate;
	background: var(--bleu);
	color: var(--sable);
	padding-bottom: 60px;
	overflow: hidden;
}
.contact::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: var(--texture) center / cover;
	opacity: .5;
	mix-blend-mode: overlay;
}
.contact__illustration { position: relative; height: 409px; max-width: 402px; margin: 0 auto; }
.contact__terre svg { width: 100%; height: auto; }
.contact__terre { position: absolute; top: 0; left: 0; width: 403px; }
.contact__carte { position: absolute; top: 57px; left: 104px; width: 238px; }
.contact__carte svg { width: 100%; height: auto; }
.contact__titre {
	position: absolute; top: 255px; left: 30px;
	font: 30px/30px var(--f-titre);
	color: var(--sable);
}

.formulaire { width: min(352px, 100% - 32px); margin: 0 auto; }
.formulaire__piege { position: absolute; left: -9999px; }
.champ + .champ { margin-top: 12px; }
.champ input, .champ textarea {
	display: block; width: 100%;
	padding: 12px 12px;
	border: 2px solid transparent;
	border-radius: 32px;
	background: var(--creme);
	color: var(--bleu);
	font: 13px/19px var(--f-texte);
	transition: border-color .2s ease;
}
.champ input { height: 44px; }
.champ textarea { height: 102px; border-radius: 24px; resize: vertical; min-height: 102px; }
.champ ::placeholder { color: var(--bleu-vif); opacity: 1; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--ocre); }

.formulaire__envoi { margin-top: 17px; text-align: center; }
.formulaire__envoi .pilule { padding: 0 18px 0 14px; }
.formulaire__envoi .pilule .surligne { --hl: var(--sable); }
.formulaire[aria-busy="true"] .formulaire__envoi .pilule { opacity: .6; pointer-events: none; }

.formulaire__merci {
	margin: 24px auto 0;
	max-width: 260px;
	font: 20px/30px var(--f-titre);
	color: var(--creme);
	text-align: center;
}
.formulaire__indesirables {
	margin: 14px auto 0;
	max-width: 300px;
	font-size: 14px;
	line-height: 21px;
	color: var(--creme);
	text-align: center;
}
.formulaire__erreur {
	margin-top: 16px;
	padding: 10px 16px;
	border-radius: 16px;
	background: var(--creme);
	color: var(--terracotta);
	text-align: center;
}
.formulaire__note { margin-top: 18px; font-size: 11px; line-height: 16px; text-align: center; opacity: .85; }
.formulaire--envoye .champ, .formulaire--envoye .formulaire__envoi { display: none; }

/* ---------- Pied de page ---------- */

.pied {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px;
	padding: 18px 16px;
	background: var(--encre);
	color: var(--sable);
	font-size: 12px;
}
.pied__liens { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Fenêtres « En savoir plus » ---------- */

.fiche {
	--accent: var(--ocre);
	--bandeau: var(--sable);
	--titre-fiche: var(--ocre);
	width: 100%; max-width: 100%;
	max-height: calc(100dvh - 56px);
	margin: auto 0 0;
	padding: 0;
	border: 0;
	border-radius: 32px 32px 0 0;
	background: var(--creme);
	color: var(--encre);
	overflow: hidden;
}
.fiche::backdrop { background: rgba(61, 58, 69, .8); }
.fiche[open] { animation: fiche-entree .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes fiche-entree { from { transform: translateY(40px); opacity: 0; } }

.fiche--confort { --accent: var(--ocre); --bandeau: var(--sable); --titre-fiche: var(--ocre); --voile: var(--sauge); --voile-op: .4; }
.fiche--poumon { --accent: var(--sauge); --bandeau: var(--brun); --titre-fiche: var(--sauge); --voile: #7D3621; --voile-op: .7; }
.fiche--inflation { --accent: var(--terracotta); --bandeau: var(--sauge); --titre-fiche: var(--terracotta); --voile: var(--ocre); --voile-op: .7; }
.fiche--bleue { --accent: var(--bleu); --bandeau: var(--bleu); --titre-fiche: var(--creme); --voile: var(--bleu-vif); --voile-op: .8; --voile-mode: overlay; }

.fiche__contenu {
	position: relative;
	max-height: inherit;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: 32px;
}

.fiche__fermer {
	position: sticky; z-index: 5;
	top: 14px;
	float: right;
	width: 44px; height: 44px;
	margin: 14px 14px -58px 0;
	border: 1px solid var(--encre);
	border-radius: 50%;
	background: var(--sable);
}
.fiche__fermer::before, .fiche__fermer::after {
	content: "";
	position: absolute; top: 50%; left: 50%;
	width: 18px; height: 1.8px;
	margin: -.9px 0 0 -9px;
	border-radius: 2px;
	background: var(--encre);
	transform: rotate(45deg);
}
.fiche__fermer::after { transform: rotate(-45deg); }

.fiche__entete {
	position: relative;
	min-height: 300px;
	padding: 26px 70px 0 39px;
}
.fiche__entete::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; z-index: -1;
	height: 155px;
	background: var(--bandeau);
}
.fiche__entete::after {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; z-index: -1;
	height: 155px;
	background: var(--texture) center / cover;
	opacity: .5;
	mix-blend-mode: overlay;
}
.fiche__entete { isolation: isolate; }
.fiche__photo { position: absolute; top: -4px; left: 0; z-index: -1; width: min(300px, 80%); height: 300px; }
.fiche__sur { font: 17px/30px var(--f-titre); color: var(--titre-fiche); }
.fiche__titre { font: 30px/32px var(--f-titre); color: var(--titre-fiche); }
.fiche__citation {
	position: absolute; left: 14px; top: 150px;
	width: 175px;
	font-size: 15px; line-height: 23px;
	text-align: left;
}
.fiche__citation::before { top: -40px; left: -6px; }
.fiche__citation::after { right: -40px; bottom: -40px; }

.fiche__chiffre {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0 14px;
	margin: 24px 24px 0;
	padding: 16px 20px;
	border-radius: 24px;
	background: var(--sable);
}
.fiche__chiffre-nom { grid-column: 1 / -1; font: 17px/24px var(--f-titre); color: var(--accent); }
.fiche__nombre { font: 56px/1 var(--f-titre); color: var(--accent); }
.fiche__chiffre-texte { font-size: 13px; line-height: 19px; }
.fiche sup { font-size: 9px; line-height: 0; }

.fiche__intro { margin: 26px 24px 0; font-size: 14px; line-height: 21px; }
.fiche__intro p + p { margin-top: 8px; }

.fiche__colonnes { display: grid; gap: 28px; margin: 30px 24px 0; }
.fiche__texte h3 { font: 17px/20px var(--f-titre); color: var(--accent); }
.fiche__texte h3:not(:first-child) { margin-top: 28px; }
.fiche__texte > p { margin-top: 12px; padding-left: 14px; }
.fiche__texte .travaux { margin-top: 18px; padding-left: 8px; }
.fiche__liste { display: grid; gap: 10px; margin-top: 14px; padding-left: 14px; }
.fiche__doremi { display: inline-block; vertical-align: -6px; }
.fiche__doremi svg { width: 82px; height: 20px; }
.fiche__infographie img { width: 100%; max-width: 360px; margin: 0 auto; }

.fiche__notes {
	counter-reset: note;
	display: grid; gap: 8px;
	margin: 34px 24px 0;
	font: italic 11px/15px var(--f-texte);
	color: var(--encre);
}
.fiche__notes li { counter-increment: note; }
.fiche__notes li::before { content: "(" counter(note) ") "; font-size: 9px; vertical-align: super; }

.fiche__action { margin: 28px 24px 0; text-align: center; }
.fiche__action .pilule { white-space: normal; text-align: left; line-height: 1.25; padding-block: 10px; }
.fiche__action--bandeau {
	position: relative; isolation: isolate;
	margin: 28px 0 -32px;
	padding: 28px 24px 40px;
	background: var(--bleu);
}
.fiche__action--bandeau::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: var(--texture) center / cover;
	opacity: .5;
	mix-blend-mode: overlay;
}

/* ---------- Pages des offres (/offres/…) : la fiche affichée comme une page ---------- */

.page-offre { padding: 84px 12px 48px; background: var(--sable); }
.page-offre__fil { max-width: 920px; margin: 0 auto 14px; padding: 0 12px; font-size: 12px; }
.page-offre__fil a { text-decoration: none; }
.page-offre__fil a:hover { text-decoration: underline; }
.fiche.fiche--page {
	width: 100%; max-width: 920px; max-height: none;
	margin: 0 auto;
	border-radius: 32px;
	overflow: hidden;
}
.fiche--page .fiche__contenu { max-height: none; overflow: visible; }
.fiche--page .fiche__fermer { position: absolute; top: 14px; right: 14px; float: none; margin: 0; }
.page-offre__autres { max-width: 920px; margin: 34px auto 0; text-align: center; }
.page-offre__autres p { font: 17px/24px var(--f-titre); }
.page-offre__autres ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.page-offre__autres .pilule { padding: 0 20px; }

/* ---------- Pages intérieures (mentions légales, blog) ---------- */

.article {
	max-width: 720px;
	margin: 0 auto;
	padding: 110px 24px 60px;
	font-size: 15px; line-height: 24px;
}
.article .titre { margin-bottom: 24px; }
.article h2 { font: 22px/28px var(--f-titre); margin: 28px 0 10px; }
.article p, .article ul, .article ol { margin-bottom: 14px; }
.article ul { list-style: disc; padding-left: 20px; }
.article__extrait + .article__extrait { margin-top: 32px; }
.article__date { font-size: 12px; opacity: .7; }

/* =========================================================================
   Tablettes (≥ 700 px)
   ========================================================================= */

/* Le panneau du logo ne descend sous les boutons de l’en-tête que sur les écrans étroits. */
@media (min-width: 546px) {
	.accueil__volet { top: 0; }
	.accueil__logo { padding-top: 34px; }
}

@media (min-width: 700px) {
	:root { --marge: 48px; }

	.accueil__volet { width: 260px; height: 287px; }
	main > section .titre { text-align: center; }
	.savoir__collage { margin-top: 24px; }
	.accueil__logo { padding: 30px 0 0 36px; }
	.accueil__logo svg { width: 150px; height: auto; }
	.accueil__textes { top: 170px; right: 6%; width: 440px; }
	.accueil__besoins { font-size: 21px; line-height: 31px; }
	.accueil__question { font-size: 38px; line-height: 42px; }


	.carrousel__fleches { padding-right: var(--marge); }
	.carrousel__piste { padding-inline: var(--marge); scroll-padding-inline: var(--marge); }
	.carte { scroll-snap-align: start; }

	.fiche {
		width: min(920px, calc(100% - 48px));
		max-height: calc(100dvh - 48px);
		margin: auto;
		border-radius: 32px;
	}
	.fiche__entete { min-height: 300px; padding-right: 50%; }
	.fiche__photo { width: 300px; height: 290px; }
	.fiche__citation { top: 140px; width: 230px; left: 16px; }
	.fiche__chiffre {
		position: absolute; top: 0; right: 0;
		width: 50%; margin: 0;
		padding: 26px 70px 22px 40px;
		border-radius: 0 32px 0 120px;
		background: var(--creme);
	}
	.fiche__intro { position: absolute; top: 175px; right: 40px; width: calc(50% - 40px); margin: 0; }
	.fiche__colonnes { grid-template-columns: 1fr 1fr; align-items: start; margin: 46px 40px 0; gap: 40px; }
	.fiche__infographie img { max-width: 100%; }
	.fiche__notes { margin-inline: 40px; }
}

/* =========================================================================
   Ordinateurs (≥ 1024 px) – contenus répartis horizontalement,
   dans une largeur maximale de 1366 px.
   ========================================================================= */

@media (min-width: 1024px) {
	body { font-size: 14px; line-height: 21px; }


	/* Accueil : la photo occupe toute la largeur, les phrases se placent à droite. */
	.accueil { --prolongement: 280px; }
	.accueil__photo img { object-position: 40% 0; }
	.accueil__photo::after { background: radial-gradient(ellipse 45% 50% at 82% 28%, rgba(35, 20, 8, .5), transparent 70%); }
	.accueil__volet { top: 0; width: 460px; height: 508px; }
	/* Logo agrandi dans la même proportion que le triangle (460 / 206 px sur mobile) */
	.accueil__logo { padding: 82px 0 0 50px; }
	.accueil__logo svg { width: 245px; height: auto; }
	.accueil__textes { top: 150px; right: max(48px, calc(50% - 620px)); width: 520px; }
	.accueil__besoins { font-size: 24px; line-height: 36px; }
	.accueil__question { margin-top: 48px; font-size: 48px; line-height: 52px; }

	/* Catalogue : les cartes s'alignent ; le carrousel ne sert que s'il manque de place. */
	.catalogue { padding: 70px 0 60px; }
	.catalogue__interieur { max-width: var(--largeur); margin: 0 auto; }
	.carrousel { position: relative; }
	.carrousel__fleches { position: absolute; top: -62px; right: 0; padding: 0 var(--marge) 0 0; }
	.carrousel__piste { padding-top: 40px; }
	.carrousel--statique .carrousel__piste { justify-content: center; overflow: visible; }

	/* Coopérative : les deux engagements côte à côte. */
	.cooperative { padding: 80px 0; }
	.cooperative__interieur { max-width: var(--largeur); margin: 0 auto; padding: 0 max(48px, 8%); }
	.cooperative__blocs { grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 50px; }
	.cooperative__bloc { grid-template-columns: minmax(180px, 260px) 170px; justify-content: start; gap: 40px; font-size: 16px; }
	.cooperative__bloc p { line-height: 26px; }
	.cooperative__baticreateurs { width: 170px; }

	/* Contact : titre et formulaire à gauche ; la côte et la carte s’accrochent au bord droit de l’écran. */
	.contact { --terre: min(760px, 56vw); padding: 0; scroll-margin-top: -10px; }
	.contact__interieur {
		display: grid;
		grid-template-columns: minmax(0, 560px) 1fr;
		align-content: center;
		max-width: var(--largeur);
		min-height: 760px;
		margin: 0 auto;
		padding: 70px max(48px, 6%) 60px;
	}
	.contact__illustration { display: contents; }
	.contact__terre { top: 0; left: auto; right: 0; width: var(--terre); }
	.contact__carte { top: calc(var(--terre) * .141); left: auto; right: calc(var(--terre) * .151); width: calc(var(--terre) * .59); }
	.contact__titre { position: static; grid-column: 1; font-size: 44px; line-height: 46px; }
	.formulaire { grid-column: 1; width: 100%; max-width: 460px; margin: 40px 0 0; }
	.champ input, .champ textarea { font-size: 15px; }
	.formulaire__envoi, .formulaire__note, .formulaire__merci, .formulaire__indesirables { text-align: left; }
	.formulaire__merci, .formulaire__indesirables { margin-left: 0; max-width: none; }
}

/* =========================================================================
   Ordinateurs (≥ 900 px) – compositions des maquettes « Desktop » (1280 px).
   Une unité --u vaut 1 px de la maquette et suit la largeur de la fenêtre :
   la composition garde ses proportions de 900 à 1366 px.
   ========================================================================= */

@media (min-width: 900px) {
	:root {
		--u: calc(min(100vw, 1366px) / 1280);
		/* Échelle typographique commune à toute la page */
		--t-titre: calc(40 * var(--u));
		--t-sous-titre: calc(25 * var(--u));
		--t-texte: max(15px, calc(22 * var(--u)));
		--t-detail: max(12px, calc(13 * var(--u)));
	}
	/* Bord gauche de la maquette, centrée dans la section */
	section { --scene: calc(50% - 640 * var(--u)); }

	/* Titres de section */
	main > section .titre { font-size: var(--t-titre); line-height: calc(36 * var(--u)); }
	.contact__titre { font-size: var(--t-titre); line-height: calc(42 * var(--u)); }

	/* L’aventure */
	.aventure { --decalage: calc(var(--chevauchement) - 110 * var(--u)); height: calc(832 * var(--u) + var(--decalage)); }
	.aventure > *, .aventure > .aventure__hirondelles { margin-top: var(--decalage); }
	.aventure__triangle { top: calc(59 * var(--u)); left: calc(var(--scene) + 224 * var(--u)); right: auto; width: calc(830 * var(--u)); height: calc(776 * var(--u)); }
	.aventure__hirondelles { top: calc(32 * var(--u)); left: calc(var(--scene) + 211 * var(--u)); width: calc(416 * var(--u)); height: calc(397 * var(--u)); }
	.aventure__oiseau--moyen { --dx: calc(360 * var(--u)); --dy: calc(-40 * var(--u)); }
	.aventure__oiseau--petit { --dx: 0px; --dy: calc(-30 * var(--u)); }
	.aventure__oiseau--grand { --dx: calc(320 * var(--u)); --dy: calc(-80 * var(--u)); }
	.aventure__artisan { top: calc(12 * var(--u)); left: calc(var(--scene) + 209 * var(--u)); width: calc(480 * var(--u)); }
	.aventure__portrait { box-shadow: 0 0 0 calc(20 * var(--u)) var(--sable); width: calc(447 * var(--u)); height: calc(447 * var(--u)); margin-left: calc(22 * var(--u)); }
	.aventure__artisan figcaption { width: auto; margin: calc(5 * var(--u)) 0 0 calc(17 * var(--u)); }
	.aventure__guillemet { top: calc(-48 * var(--u)); left: calc(-17 * var(--u)); font-size: calc(94 * var(--u)); }
	.aventure__artisan strong { padding-left: 0; font-size: var(--t-titre); line-height: calc(42 * var(--u)); }
	.aventure__ligne { display: inline; }
	.aventure__metiers { max-width: calc(380 * var(--u)); margin-top: 2px; font-size: var(--t-sous-titre); line-height: calc(30 * var(--u)); }
	.aventure__texte { top: calc(365 * var(--u)); left: calc(var(--scene) + 362 * var(--u)); right: auto; width: calc(680 * var(--u)); font-size: var(--t-texte); line-height: calc(27 * var(--u)); }
	.aventure__texte p + p { margin-top: calc(27 * var(--u)); }
	.aventure__biais { width: calc(365 * var(--u)); height: calc(341 * var(--u)); }
	.aventure__devise { top: calc(724 * var(--u)); bottom: auto; left: calc(var(--scene) + 370 * var(--u)); right: auto; width: calc(540 * var(--u)); font-size: var(--t-titre); line-height: calc(36 * var(--u)); }

	/* Nos savoir-faire */
	.savoir { padding: 0; }
	.savoir__interieur { position: relative; max-width: none; height: calc(832 * var(--u)); padding: 0; }
	.savoir .titre { position: absolute; top: calc(36 * var(--u)); left: 0; right: 0; }
	.savoir__coupure { display: none; }
	.savoir__collage { position: absolute; top: 0; left: var(--scene); width: calc(1280 * var(--u)); height: calc(832 * var(--u)); margin: 0; }
	.savoir__metier--terre .savoir__photo { left: calc(528 * var(--u)); top: calc(83 * var(--u)); width: calc(384 * var(--u)); height: calc(388 * var(--u)); }
	.savoir__metier--menuiserie .savoir__photo { left: calc(346 * var(--u)); top: calc(302 * var(--u)); width: calc(364 * var(--u)); height: calc(393 * var(--u)); }
	.savoir__metier--ventilation .savoir__photo { left: calc(533 * var(--u)); top: calc(446 * var(--u)); width: calc(417 * var(--u)); height: calc(386 * var(--u)); }
	.savoir__pastille { --d: calc(94 * var(--u)); }
	.savoir__metier--terre .savoir__pastille { left: calc(664 * var(--u)); top: calc(337 * var(--u)); }
	.savoir__metier--menuiserie .savoir__pastille { left: calc(359 * var(--u)); top: calc(580 * var(--u)); }
	.savoir__metier--ventilation .savoir__pastille { left: calc(675 * var(--u)); top: calc(722 * var(--u)); }
	.savoir__nom { font-size: var(--t-sous-titre); line-height: calc(35 * var(--u)); }
	.savoir__metier--terre .savoir__nom { right: auto; left: calc(700 * var(--u)); width: calc(180 * var(--u)); top: calc(349 * var(--u)); }
	.savoir__metier--menuiserie .savoir__nom { left: calc(470 * var(--u)); top: calc(590 * var(--u)); }
	.savoir__metier--ventilation .savoir__nom { left: calc(800 * var(--u)); top: calc(751 * var(--u)); }

	/* Votre parcours : le serpentin se déroule à l’horizontale */
	.parcours { padding-top: 0; }
	.parcours__interieur { position: relative; max-width: none; height: calc(832 * var(--u)); }
	.parcours .titre { position: absolute; top: calc(35 * var(--u)); left: 0; right: 0; padding: 0; }
	.parcours__corps { margin: 0; }
	.serpentin { position: absolute; top: 0; left: var(--scene); width: calc(1280 * var(--u)); height: calc(832 * var(--u)); margin: 0; zoom: 1; }
	.arc { width: calc(152 * var(--u)); height: calc(304 * var(--u)); }
	.arc--gauche {
		border-radius: calc(152 * var(--u)) 0 0 calc(152 * var(--u));
		-webkit-mask: radial-gradient(circle at 100% 50%, transparent calc(109 * var(--u)), #000 calc(109.5 * var(--u)));
		mask: radial-gradient(circle at 100% 50%, transparent calc(109 * var(--u)), #000 calc(109.5 * var(--u)));
	}
	.arc--droite {
		border-radius: 0 calc(152 * var(--u)) calc(152 * var(--u)) 0;
		-webkit-mask: radial-gradient(circle at 0 50%, transparent calc(109 * var(--u)), #000 calc(109.5 * var(--u)));
		mask: radial-gradient(circle at 0 50%, transparent calc(109 * var(--u)), #000 calc(109.5 * var(--u)));
	}
	.arc--a { display: none; }
	.arc--b { left: calc(889 * var(--u)); top: calc(159 * var(--u)); }
	.arc--c { left: calc(511 * var(--u)); top: calc(420 * var(--u)); }
	.lien { height: calc(6 * var(--u)); }
	.lien--a { left: calc(263 * var(--u)); top: calc(179 * var(--u)); width: calc(621 * var(--u)); }
	.lien--b { left: calc(720 * var(--u)); top: calc(439 * var(--u)); width: calc(153 * var(--u)); }
	.lien--c { display: block; left: calc(663 * var(--u)); top: calc(439 * var(--u)); width: calc(35 * var(--u)); }
	.etape__icone { width: calc(61 * var(--u)); height: calc(61 * var(--u)); }
	.etape__icone svg { width: calc(73 * var(--u)); height: calc(73 * var(--u)); margin: calc(-6 * var(--u)); }
	.serpentin .etape__titre { right: auto; width: calc(170 * var(--u)); font-size: var(--t-sous-titre); line-height: calc(23 * var(--u)); text-align: left; white-space: normal; }
	.etape__details { font-size: var(--t-detail); line-height: calc(27 * var(--u)); }
	.etape__details li { gap: calc(5 * var(--u)); }
	.etape__details svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
	.etape__retrait, .etape__coupure { display: none; }
	.etape--1 .etape__icone { left: calc(263 * var(--u)); top: calc(148 * var(--u)); }
	.etape--1 .etape__titre { left: calc(263 * var(--u)); top: calc(222 * var(--u)); }
	.etape--1 .etape__details { left: calc(284 * var(--u)); top: calc(256 * var(--u)); }
	.etape--2 .etape__icone { left: calc(466 * var(--u)); top: calc(148 * var(--u)); }
	.etape--2 .etape__titre { left: calc(466 * var(--u)); top: calc(222 * var(--u)); width: calc(160 * var(--u)); }
	.etape--2 .etape__details { left: calc(488 * var(--u)); top: calc(283 * var(--u)); }
	.etape--3 .etape__icone { left: calc(694 * var(--u)); top: calc(148 * var(--u)); }
	.etape--3 .etape__titre { left: calc(694 * var(--u)); top: calc(222 * var(--u)); }
	.etape--3 .etape__details { left: calc(716 * var(--u)); top: calc(283 * var(--u)); }
	.etape--4 .etape__icone { left: calc(867 * var(--u)); top: calc(148 * var(--u)); }
	.etape--4 .etape__titre { left: calc(867 * var(--u)); top: calc(222 * var(--u)); width: calc(190 * var(--u)); }
	.etape--5 .etape__icone { left: calc(867 * var(--u)); top: calc(412 * var(--u)); }
	.etape--5 .etape__titre { left: calc(867 * var(--u)); top: calc(482 * var(--u)); width: calc(240 * var(--u)); }
	.etape--6 .etape__icone { left: calc(694 * var(--u)); top: calc(412 * var(--u)); }
	.etape--6 .etape__titre { left: calc(694 * var(--u)); top: calc(482 * var(--u)); }
	.etape__icone--apres { left: calc(503 * var(--u)); top: calc(542 * var(--u)); }

	/* « Et après ? » : la bande photo verte part en diagonale jusqu’au bord droit de l’écran */
	.apres {
		position: absolute; z-index: 1;
		top: calc(542 * var(--u)); left: 0; right: 0; bottom: 0;
		height: auto; margin: 0;
		clip-path: polygon(calc(var(--scene) + 251 * var(--u)) 100%, calc(var(--scene) + 561 * var(--u)) 0, 100% 0, 100% 100%);
	}
	.apres__texte { position: absolute; top: calc(25 * var(--u)); left: calc(var(--scene) + 525 * var(--u)); width: calc(560 * var(--u)); padding: 0; }
	.apres h3 { margin-left: calc(70 * var(--u)); font-size: var(--t-titre); line-height: calc(34 * var(--u)); }
	.apres__intro { max-width: calc(547 * var(--u)); margin-top: calc(34 * var(--u)); font-size: var(--t-texte); line-height: calc(26 * var(--u)); font-style: italic; }
	.apres__intro svg { width: calc(21 * var(--u)); height: calc(21 * var(--u)); margin: 0 calc(8 * var(--u)) calc(-3 * var(--u)) 0; }
	.apres ul { margin-top: calc(18 * var(--u)); font-size: var(--t-sous-titre); line-height: calc(32 * var(--u)); }

	/* Coopérative : textes à la même taille que les autres textes de section */
	.cooperative .titre { padding: 0; }
	.cooperative__bloc { grid-template-columns: calc(330 * var(--u)) calc(170 * var(--u)); font-size: var(--t-texte); }
	.cooperative__bloc p { line-height: calc(32 * var(--u)); }
}

/* Menu complet dans l’en-tête : seulement quand il tient à côté du logo de l’accueil (≥ 1240 px) */
@media (min-width: 1240px) {
	.entete { left: 0; right: 0; width: min(var(--largeur), 100%); margin: 0 auto; padding: 0 32px; gap: 0; }
	.entete__cta { order: 2; margin-left: 12px; }
	.entete__menu { display: none; }
	.entete__logo { margin-right: auto; }
	.menu {
		position: static; z-index: auto;
		order: 1;
		width: auto; height: 44px;
		padding: 0 8px;
		display: flex; align-items: center;
		border: 1px solid var(--encre);
		border-radius: 32px;
		background: var(--sable);
		-webkit-mask: none; mask: none;
		clip-path: none;
		visibility: visible;
	}
	.menu::before { display: none; }
	.menu ul { display: flex; }
	.menu a { --pinceau-g: 10px; --pinceau-d: 10px; margin: 0; padding: 0 14px; font-size: 15px; line-height: 42px; }
	.menu a::before { bottom: 9px; }
}
