/* 3D Corp : pages de vente (formation et entreprises).
   Idée directrice : la page reprend le plan vu de dessus. Fond « pelouse », trame isométrique discrète,
   et les cinq couleurs de statut servent de code visuel partout (jamais de couleur décorative en plus). */
:root {
	--paper: #f3f5ef;
	--lawn: #e3ecd9;
	--card: #ffffff;
	--ink: #16201b;
	--ink-2: #45514a;
	--ink-3: #5b6660;
	--line: rgba(22, 32, 27, 0.13);
	--grid: rgba(22, 32, 27, 0.06);
	--accent: #ef6a3a;
	--on-accent: #16201b;
	--focus: #6a5cf0;
	--s-dispo: #24a35a;
	--s-occupe: #e59a1c;
	--s-client: #6a5cf0;
	--s-pause: #19a3b4;
	--s-absent: #a3aaa6;
	--shadow: 0 1px 0 rgba(22, 32, 27, 0.05), 0 18px 40px -18px rgba(22, 32, 27, 0.28);
	--f-display: "Archivo", "Manrope", ui-sans-serif, system-ui, sans-serif;
	--f-ui: "Manrope", ui-sans-serif, system-ui, sans-serif;
	--r-frame: 22px;
	--r-card: 14px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #0f1512;
		--lawn: #141c17;
		--card: #1a231e;
		--ink: #edf2ee;
		--ink-2: #bcc6c0;
		--ink-3: #98a39d;
		--line: rgba(237, 242, 238, 0.14);
		--grid: rgba(237, 242, 238, 0.05);
		--accent: #f07a4a;
		--focus: #a89fff;
		--shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #0f1512;
	--lawn: #141c17;
	--card: #1a231e;
	--ink: #edf2ee;
	--ink-2: #bcc6c0;
	--ink-3: #98a39d;
	--line: rgba(237, 242, 238, 0.14);
	--grid: rgba(237, 242, 238, 0.05);
	--accent: #f07a4a;
	--focus: #a89fff;
	--shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-ui); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; line-height: 1.06; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.65rem); font-weight: 800; margin-bottom: 0.5em; }
h3 { font-size: 1.18rem; font-weight: 700; font-stretch: 105%; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 0.35em; }
p { margin: 0 0 0.9em; text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); font-size: 0.92rem; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
section { padding-block: clamp(56px, 7vw, 96px); }
.band { background: var(--lawn); }

/* Trame isométrique (lignes à 30°) : le sol de la maquette, en très léger */
.iso {
	background-image:
		repeating-linear-gradient(30deg, var(--grid) 0 1px, transparent 1px 34px),
		repeating-linear-gradient(150deg, var(--grid) 0 1px, transparent 1px 34px);
}

/* ───── En-tête ───── */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.top__nav { display: flex; align-items: center; gap: 6px; }
.top__link { font-size: 0.95rem; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.top__link:hover { color: var(--ink); background: var(--lawn); }
.theme { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.theme svg { width: 18px; height: 18px; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme .sun { display: none; }
	:root:not([data-theme="light"]) .theme .moon { display: block; }
}

/* ───── Boutons ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 24px; border-radius: 14px; border: 0; background: var(--accent); color: var(--on-accent); font: 800 1.04rem/1.2 var(--f-ui); text-decoration: none; cursor: pointer; box-shadow: inset 0 -3px 0 rgba(22, 32, 27, 0.22); transition: transform 0.15s, box-shadow 0.15s; text-align: center; }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 -4px 0 rgba(22, 32, 27, 0.25); text-decoration: none; }
.btn:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(22, 32, 27, 0.25); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--card); box-shadow: none; }
.btn--full { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.micro { font-size: 0.9rem; color: var(--ink-3); margin: 10px 0 0; }

/* ───── Héros ───── */
.hero { padding-block: 20px 56px; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.legend li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 700; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 9px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--c, var(--s-absent)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, #999) 22%, transparent); }
.s-dispo { --c: var(--s-dispo); } .s-occupe { --c: var(--s-occupe); } .s-client { --c: var(--s-client); } .s-pause { --c: var(--s-pause); } .s-absent { --c: var(--s-absent); }
.hero h1 { max-width: 22ch; margin-bottom: 0; }
.hero__grid { row-gap: 20px; }
.hero__demo { margin-top: 12px; }
@media (min-width: 980px) {
	.hero { padding-block: 28px 72px; }
	.hero__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "title title" "copy demo"; gap: 8px 48px; align-items: start; }
	.hero h1 { grid-area: title; margin-bottom: 28px; }
	.hero__demo { margin-top: 0; }
	.hero__copy { grid-area: copy; padding-top: 4px; }
	.hero__demo { grid-area: demo; }
	.hero .lead { font-size: 1.12rem; }
}

/* ───── Démo 3D (image d'abord, la vraie démo seulement au toucher) ───── */
.demo { position: relative; margin: 0; }
.demo__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-frame); overflow: hidden; background: #dfe9d6; border: 1px solid var(--line); box-shadow: var(--shadow); }
.demo__frame picture, .demo__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #dfe9d6; }
.demo__play { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 20px; border: 0; cursor: pointer; background: linear-gradient(to top, rgba(15, 21, 18, 0.45), transparent 42%); font: inherit; }
.demo__play span { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #16201b; font-weight: 800; font-size: 1rem; padding: 12px 20px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }
.demo__play svg { width: 18px; height: 18px; }
.demo__play:hover span { transform: translateY(-1px); }
.demo__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; }
.demo__cap { font-size: 0.9rem; color: var(--ink-3); margin: 0; flex: 1 1 260px; }
.tabs { display: inline-flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.tabs button { border: 0; background: transparent; color: var(--ink-2); font: 700 0.92rem var(--f-ui); padding: 8px 14px; border-radius: 9px; cursor: pointer; min-height: 38px; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (min-width: 700px) { .demo__frame { aspect-ratio: 16 / 10; } }

.demo-dlg { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #16201b; }
.demo-dlg[open] { display: flex; flex-direction: column; }
.demo-dlg::backdrop { background: rgba(15, 21, 18, 0.6); }
.demo-dlg iframe { flex: 1; min-height: 0; width: 100%; border: 0; background: #dfe9d6; }
.demo-dlg__close { flex: none; margin: 8px max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) auto; border: 0; border-radius: 999px; padding: 12px 20px; min-height: 46px; background: #fff; color: #16201b; font: 800 0.95rem var(--f-ui); cursor: pointer; }
html.dlg-open, html.dlg-open body { overflow: hidden; }

/* ───── Blocs de contenu ───── */
.cols { display: grid; gap: 16px; }
@media (min-width: 760px) { .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); font-size: 0.98rem; }

/* Sources des statuts : chaque ligne porte la couleur qu'elle produit */
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.source { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--r-card); padding: 18px 18px 18px 16px; }
.source .dot { margin-top: 8px; }
.source h3 { margin: 0; }
.source p { grid-column: 2; margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .split--wide-img { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.shot { margin: 0; }
.shot img { border-radius: var(--r-frame); border: 1px solid var(--line); box-shadow: var(--shadow); background: #dfe9d6; }
.shot figcaption { font-size: 0.88rem; color: var(--ink-3); margin-top: 10px; }
.shot--phone { max-width: 320px; margin-inline: auto; }
@media (max-width: 939px) { .offer .shot--phone { display: none; } }
.shot--phone img { border-radius: 30px; border: 6px solid var(--ink); }
.promise { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-card); background: var(--card); border: 1px dashed var(--line); font-weight: 600; color: var(--ink); }

/* Chapitres du guide : vraie séquence, donc numérotée */
.chapters { list-style: none; counter-reset: ch; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.chapters > li { counter-increment: ch; display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.chapters > li::before { content: counter(ch); grid-row: span 3; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font: 800 1.1rem var(--f-display); font-stretch: 112%; background: var(--ink); color: var(--paper); }
.chapters h3 { margin: 6px 0 4px; }
.chapters p { margin: 0; color: var(--ink-2); }
.chapters ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 4px; }
.prompt-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 18px; border-radius: var(--r-card); background: var(--ink); color: var(--paper); }
.prompt-note p { margin: 0; color: inherit; opacity: 0.9; }
.prompt-note strong { display: block; font-size: 1.05rem; opacity: 1; margin-bottom: 2px; }
.prompt-note svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }

/* Listes à coches */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--s-dispo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ticks--no li::before { background: var(--s-absent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7m0-7l-7 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ───── Offre et paiement (formation) ───── */
.offer { display: grid; gap: 28px; align-items: start; }
@media (min-width: 940px) { .offer { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; } }
.buy { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-frame); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.buy h3 { font-size: 1.35rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 18px; }
.price strong { font: 800 clamp(2.8rem, 2.2rem + 2vw, 3.6rem)/1 var(--f-display); font-stretch: 112%; letter-spacing: -0.03em; }
.price span { color: var(--ink-3); font-weight: 600; }
.bump { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 20px 0 16px; padding: 16px; border-radius: var(--r-card); border: 2px dashed var(--s-occupe); background: color-mix(in srgb, var(--s-occupe) 8%, var(--card)); cursor: pointer; }
.bump input, .consent-box input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.bump strong { font-size: 1rem; }
.bump span { grid-column: 2; font-size: 0.92rem; color: var(--ink-2); }
.bump:has(input:checked) { border-style: solid; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; margin-bottom: 12px; border-top: 1px solid var(--line); font-weight: 700; }
.total output { font: 800 1.35rem var(--f-display); font-stretch: 112%; }
.consent-box { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 0.88rem; color: var(--ink-2); margin-bottom: 16px; cursor: pointer; }
.consent-box.is-error { color: #b42318; }
:root[data-theme="dark"] .consent-box.is-error { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .consent-box.is-error { color: #ff8a80; } }
.buy__err { color: #b42318; font-weight: 700; font-size: 0.92rem; margin: 10px 0 0; }
:root[data-theme="dark"] .buy__err { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .buy__err { color: #ff8a80; } }
.alt { margin-top: 18px; font-size: 0.93rem; color: var(--ink-2); }

.pay-dlg { width: min(560px, 100vw); max-width: 100vw; height: min(860px, 100dvh); max-height: 100dvh; padding: 0; border: 0; border-radius: 18px; background: #fff; color: #16201b; overflow: hidden; }
.pay-dlg::backdrop { background: rgba(15, 21, 18, 0.65); }
.pay-dlg__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(22, 32, 27, 0.12); }
.pay-dlg__x { border: 0; background: #eef1ec; color: #16201b; font: 800 0.92rem var(--f-ui); padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.pay-dlg__sum { display: grid; font-size: 0.85rem; color: #45514a; }
.pay-dlg__sum strong { color: #16201b; font-size: 0.98rem; }
.pay-dlg[open] { display: flex; flex-direction: column; }
.pay-dlg__head { flex: none; }
/* La zone du formulaire prend la hauteur restante et défile seule (le défilement ne passe pas à la page derrière) */
.pay-dlg__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; padding: 12px 6px calc(28px + env(safe-area-inset-bottom)); }
.pay-dlg__wait { padding: 24px 16px; color: #45514a; }
@media (max-width: 600px) { .pay-dlg { width: 100vw; height: 100dvh; border-radius: 0; } }

/* ───── Tarifs (entreprises) ───── */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 26px; }
.plan--main { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan__tag { position: absolute; top: -13px; left: 24px; background: var(--ink); color: var(--paper); font-size: 0.8rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan .price { margin-bottom: 8px; }
.plan .price strong { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.8rem); }
.plan__for { color: var(--ink-2); font-size: 0.98rem; }
.plan .ticks { margin: 8px 0 24px; flex: 1; font-size: 0.97rem; }
.addon { margin-top: 16px; display: grid; gap: 12px 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 22px 26px; }
.addon p { margin: 0; color: var(--ink-2); }
.addon .price { margin: 0; }
.addon .price strong { font-size: 2rem; }
@media (min-width: 820px) { .addon { grid-template-columns: 1fr auto; } }

/* Étapes (vraie séquence) */
.steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: st; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--paper); font: 800 1rem var(--f-display); margin-bottom: 14px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* Question du gérant (citation de la situation, pas un témoignage) */
.ask h3 { font-size: 1.3rem; }

.law { border-left: 4px solid var(--s-client); padding: 4px 0 4px 18px; }
.law p { color: var(--ink-2); }

/* ───── FAQ ───── */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 800; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 62ch; }

/* ───── Renvoi vers l'autre offre et appel final ───── */
.cross { display: grid; gap: 18px; align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--r-frame); padding: clamp(24px, 4vw, 40px); }
.cross h2, .cross h3 { color: inherit; margin-bottom: 6px; }
.cross p { margin: 0; color: inherit; opacity: 0.85; }
.cross .btn { background: var(--paper); color: var(--ink); box-shadow: none; }
@media (min-width: 820px) { .cross { grid-template-columns: 1fr auto; } }

/* ───── Pied de page ───── */
.foot { padding-block: 36px 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.9rem; }
.foot__row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a, .foot button { color: var(--ink-2); background: none; border: 0; font: inherit; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.foot p { margin: 0; }

/* ───── Barre d'achat mobile ───── */
.stick { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--ink); color: var(--paper); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); transform: translateY(140%); transition: transform 0.25s; }
.stick.is-on { transform: none; }
.stick span { font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.stick .btn { min-height: 46px; padding: 10px 16px; font-size: 0.98rem; }
@media (min-width: 900px) { .stick { display: none; } }
body.has-stick .foot { padding-bottom: 104px; }
@media (min-width: 900px) { body.has-stick .foot { padding-bottom: 40px; } }

/* ───── Cookies ───── */
.consent { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); margin-inline: auto; max-width: 560px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); padding: 16px 18px; }
.consent p { margin: 0 0 12px; font-size: 0.92rem; color: var(--ink-2); }
.consent strong { display: block; color: var(--ink); }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; flex: 1 1 120px; }

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

/* L'en-tête flotte sur le héros : la trame isométrique part du haut de la page sans couture */
body { position: relative; }
.masthead { position: absolute; inset: 0 0 auto; z-index: 5; }
.hero { padding-top: 88px; }
@media (min-width: 980px) { .hero { padding-top: 104px; } }

/* Page de texte (conditions de vente) */
.legal h1 { margin-bottom: 6px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); max-width: 68ch; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal a { color: inherit; text-underline-offset: 3px; }
