/* Aux fils des idées : pages des projets. Aucune police ni bibliothèque externe ; animations courtes, coupées
   si le système demande moins d'animations. */
:root {
	--fond: #f7f6f2;
	--fond-2: #efede6;
	--carte: #ffffff;
	--texte: #161b22;
	--doux: #5a6370;
	--trait: #e4e1d9;
	--accent: #b4521f;
	--accent-2: #d9772f;
	--accent-fond: #f8e9de;
	--lien: #1f5fa8;
	--ombre: 0 1px 2px rgb(20 24 30 / .05), 0 10px 28px rgb(20 24 30 / .08);
	--ombre-legere: 0 1px 2px rgb(20 24 30 / .08);
	--courbe: cubic-bezier(.2, .7, .2, 1);
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root {
		--fond: #0e1319;
		--fond-2: #121a23;
		--carte: #161e28;
		--texte: #e8ecf1;
		--doux: #9aa6b4;
		--trait: #263240;
		--accent: #f0a46f;
		--accent-2: #f7c592;
		--accent-fond: #33241b;
		--lien: #8fc0ff;
		--ombre: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
		--ombre-legere: 0 1px 2px rgb(0 0 0 / .4);
	}
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--fond);
	color: var(--texte);
	font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
a { color: var(--lien); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[id] { scroll-margin-top: 84px; }
img { max-width: 100%; height: auto; }
.page { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--carte); padding: 8px 14px; border-radius: 8px; }
.evitement:focus { left: 12px; }

/* En-tête collant, flouté, avec la barre de progression de lecture */
header.haut {
	position: sticky; top: 0; z-index: 20; view-transition-name: haut;
	background: color-mix(in srgb, var(--fond) 84%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid color-mix(in srgb, var(--trait) 75%, transparent);
}
.haut .ligne { display: flex; align-items: center; gap: 24px; height: 62px; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; font-weight: 650; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.logo { width: 30px; height: 30px; flex: none; border-radius: 7px; transition: transform .3s var(--courbe); }
/* Le tronc pousse, puis les branches, puis les idées éclosent */
.logo path { stroke-dasharray: 60; animation: pousse .8s var(--courbe) both; }
.logo path + path { animation-delay: .4s; }
.logo circle { transform-box: fill-box; transform-origin: center; animation: eclot .45s .75s var(--courbe) both; }
@keyframes pousse { from { stroke-dashoffset: 60; } }
@keyframes eclot { from { transform: scale(0); } }
.marque:hover .logo { transform: rotate(-5deg) scale(1.06); }
nav.menu { margin-left: auto; }
nav.menu ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
nav.menu a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--doux); text-decoration: none; font-size: 15px; font-weight: 550; white-space: nowrap; transition: color .2s, background .2s; }
nav.menu a:hover { color: var(--texte); background: var(--fond-2); }
nav.menu a[aria-current="page"], nav.menu a.courant { color: var(--texte); background: var(--fond-2); box-shadow: inset 0 -2px 0 var(--accent); }
.langue { font-size: 13.5px; font-weight: 600; color: var(--doux); text-decoration: none; border: 1px solid var(--trait); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.langue:hover { color: var(--texte); border-color: var(--doux); }
.progression { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progression span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Fil d'Ariane, onglets du projet */
nav.fil { font-size: 13.5px; color: var(--doux); margin: 26px 0 0; }
nav.fil a { color: var(--doux); text-decoration: none; }
nav.fil a:hover { color: var(--texte); text-decoration: underline; }
.onglets { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 0; }
.onglets-projet { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--doux); }
.onglets-projet img { width: 26px; height: 26px; border-radius: 7px; }
.onglets ul { display: flex; gap: 2px; margin: 0; padding: 3px; list-style: none; background: var(--fond-2); border: 1px solid var(--trait); border-radius: 12px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.onglets a { display: block; padding: 6px 14px; border-radius: 9px; color: var(--doux); text-decoration: none; font-size: 14.5px; font-weight: 550; white-space: nowrap; transition: color .2s, background .2s; }
.onglets a:hover { color: var(--texte); }
.onglets a[aria-current="page"] { background: var(--carte); color: var(--texte); box-shadow: var(--ombre-legere); }

/* Titres et texte */
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.028em; font-weight: 750; margin: 14px 0 14px; text-wrap: balance; }
h2 { font-size: clamp(25px, 3vw, 32px); line-height: 1.18; letter-spacing: -.018em; font-weight: 720; margin: 0 0 14px; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 6px; }
.chapeau { font-size: clamp(18px, 2vw, 20px); color: var(--doux); max-width: 40em; margin: 0 0 8px; text-wrap: pretty; }
.etiquette {
	display: inline-block; font-size: 12px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase;
	color: var(--accent); background: var(--accent-fond); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
	border-radius: 999px; padding: 3px 11px;
}
.liens { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.liens a {
	display: inline-block; padding: 9px 15px; border-radius: 11px; border: 1px solid var(--trait); background: var(--carte);
	text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--texte); box-shadow: var(--ombre-legere);
	transition: transform .2s var(--courbe), box-shadow .2s, border-color .2s;
}
.liens a:hover { transform: translateY(-1px); border-color: var(--doux); box-shadow: var(--ombre); }
.liens a.principal { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }
.liens a.principal::after { content: " →"; }
@media (prefers-color-scheme: dark) { .liens a.principal { color: #1a1008; } }
code { font: .9em ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--fond-2); border: 1px solid var(--trait); border-radius: 6px; padding: 1px 5px; }

/* Page avec sommaire : colonne de droite sur grand écran */
main { padding-bottom: 72px; min-width: 0; }
.avec-sommaire { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 56px; }
.sommaire { position: sticky; top: 62px; align-self: start; padding: 64px 0 24px; max-height: 100vh; overflow-y: auto; }
.sommaire-titre { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--doux); margin: 0 0 10px; }
.sommaire ul, .sommaire-mobile ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--trait); }
.sommaire a, .sommaire-mobile a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; color: var(--doux); text-decoration: none; font-size: 14px; line-height: 1.4; transition: color .2s, border-color .2s; }
.sommaire a:hover, .sommaire-mobile a:hover { color: var(--texte); }
.sommaire a.actif, .sommaire-mobile a.actif { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.sommaire-bouton, .sommaire-mobile { display: none; }
@media (max-width: 1239px) {
	.avec-sommaire { display: block; }
	.sommaire { display: none; }
	.sommaire-bouton {
		display: flex; align-items: center; gap: 9px; position: fixed; right: 16px; bottom: 16px; z-index: 30;
		max-width: min(70vw, 340px); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--trait);
		background: color-mix(in srgb, var(--carte) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
		color: var(--texte); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; box-shadow: var(--ombre); cursor: pointer;
		transition: opacity .25s, transform .25s var(--courbe);
	}
	.sommaire-bouton::before { content: ""; flex: none; width: 14px; height: 10px; background: linear-gradient(var(--accent) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--accent) 0 0) 0 50% / 70% 2px no-repeat, linear-gradient(var(--accent) 0 0) 0 100% / 85% 2px no-repeat; }
	.sommaire-bouton span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.js .sommaire-bouton { opacity: 0; transform: translateY(12px); pointer-events: none; }
	.js.defile .sommaire-bouton { opacity: 1; transform: none; pointer-events: auto; }
	.sommaire-mobile:popover-open {
		display: block; position: fixed; inset: auto 16px 72px auto; margin: 0; width: min(320px, calc(100vw - 32px));
		max-height: 70vh; overflow-y: auto; padding: 16px 18px; border: 1px solid var(--trait); border-radius: 16px;
		background: var(--carte); color: var(--texte); box-shadow: var(--ombre);
		transition: opacity .2s, transform .2s var(--courbe);
		@starting-style { opacity: 0; transform: translateY(8px); }
	}
}

/* Haut de page d'un projet */
.heros { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; margin: 34px 0 30px; }
.heros > div { animation: monte .7s var(--courbe) both; }
.heros figure { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--trait); background: #0d1522;
	box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--accent) 45%, transparent), var(--ombre); animation: monte .8s .1s var(--courbe) both; }
.heros figure img, .heros figure svg { display: block; width: 100%; height: auto; }
/* Schéma animé (page du moteur) : les demandes circulent entre le moteur et les fournisseurs d'IA */
.schema .flux path { stroke-dasharray: 3 7; animation: file 30s linear infinite; }
.schema .flux path:nth-child(2n) { animation-direction: reverse; }
.heros h1 { margin-top: 14px; font-size: clamp(32px, 3.8vw, 46px); }
.avec-sommaire .heros { grid-template-columns: 1.2fr 1fr; gap: 36px; }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } }
.diaporama { position: relative; }
.diaporama img + img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: diapo 15s 5s infinite both; }
.diaporama img + img + img { animation-delay: 10s; }
@keyframes diapo { 0% { opacity: 0; } 4%, 33% { opacity: 1; } 37%, 100% { opacity: 0; } }

/* Chiffres clés en bandeau : une colonne par chiffre, large selon ce qu'elle contient (comme un tableau) */
.faits { display: grid; grid-auto-flow: column; grid-auto-columns: auto; margin: 0; padding: 0; border-block: 1px solid var(--trait); }
.faits div { padding: 16px 18px; border-left: 1px solid var(--trait); }
.faits div:first-child { border-left: 0; padding-left: 0; }
.faits dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--doux); }
.faits dd { margin: 4px 0 0; font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; line-height: 1.3; text-wrap: balance; }
.citation { margin: 30px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); max-width: 46em; }
.citation p { margin: 0 0 6px; font-size: 18px; color: var(--texte); }

/* Sections : sans boîte, un trait d'accent avant le titre */
.bloc { padding: 64px 0 0; }
.bloc > h2::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 16px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.bloc p, .bloc li { max-width: 46em; }
.bloc ul { padding-left: 1.2em; margin: 0 0 14px; }
.bloc li { margin: 6px 0; }
.bloc li::marker { color: var(--accent); }
.bloc figure { margin: 18px 0 4px; }
.bloc figure img { display: block; border-radius: 12px; border: 1px solid var(--trait); }
/* Exemples de configuration : toujours sombres, comme un éditeur ; défilent à l'intérieur au-delà de 30 lignes */
.code { margin: 20px 0; border-radius: 12px; background: #10151c; color: #e8ecf1; overflow: hidden; box-shadow: var(--ombre-legere); }
.code-tete { display: flex; align-items: center; gap: 16px; padding: 9px 16px; border-bottom: 1px solid #263240; font: 13px ui-monospace, "Cascadia Code", Consolas, monospace; color: #9aa6b4; }
.code-tete span { margin-right: auto; overflow-wrap: anywhere; }
.code-tete a { color: #8fc0ff; }
.code-tete button { font: inherit; color: #10151c; background: #f0a46f; border: 0; border-radius: 6px; padding: 4px 12px; cursor: pointer; }
.code pre { margin: 0; padding: 14px 16px; max-height: 46em; max-height: 30lh; overflow: auto; font: 13px/1.55 ui-monospace, "Cascadia Code", Consolas, monospace; tab-size: 2; }
.code code { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
.code .c { color: #8b98a8; }
.code .k { color: #f0a46f; }
.bloc figcaption, .legende { font-size: 14px; color: var(--doux); margin-top: 8px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0 8px; }
.grille > div { border: 1px solid var(--trait); border-radius: 16px; padding: 20px 22px; background: var(--carte); transition: transform .3s var(--courbe), box-shadow .3s, border-color .3s; }
.grille > div:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: color-mix(in srgb, var(--accent) 30%, var(--trait)); }
.grille p, .grille ul { font-size: 15.5px; color: var(--doux); margin: 0 0 8px; }
.grille p strong { color: var(--texte); }
@media (min-width: 761px) { .grille:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
.grille.vignettes { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grille.vignettes figure { margin: 0; }
.grille.vignettes figure img, .bloc figure img { transition: transform .5s var(--courbe), box-shadow .3s; }
.agrandir { cursor: zoom-in; }
.agrandir:hover { transform: scale(1.015); box-shadow: var(--ombre); }
.note { border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); background: var(--accent-fond); padding: 14px 18px; border-radius: 14px; margin: 18px 0; max-width: 50em; }
.note p { margin: 0; }
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 18px 0; }
.bloc .etapes li { counter-increment: etape; position: relative; padding: 4px 0 18px 52px; margin: 0; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 2px; width: 2px; background: var(--trait); }
@media (prefers-color-scheme: dark) { .etapes li::before { color: #1a1008; } }
.citation .source { color: var(--doux); font-size: 15px; margin: 0; }

/* Accueil */
.accueil-heros { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 56px 0 48px; isolation: isolate; }
.accueil-heros > div { animation: monte .7s var(--courbe) both; }
.fils { position: absolute; left: 50%; top: -40px; width: 100vw; height: 520px; transform: translateX(-50%); z-index: -1; color: var(--accent); opacity: .5; pointer-events: none;
	-webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.fils path { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 6 10; animation: file 40s linear infinite; }
.fils path:nth-child(2n) { color: var(--lien); animation-duration: 55s; animation-direction: reverse; }
@keyframes file { to { stroke-dashoffset: -480; } }
.collage { position: relative; aspect-ratio: 6 / 5; animation: monte .9s .1s var(--courbe) both; }
.collage figure { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--trait); background: #0d1522; box-shadow: var(--ombre); animation: flotte 9s ease-in-out infinite alternate; }
.collage figure img { display: block; width: 100%; height: auto; }
.collage .un { left: 0; top: 0; width: 96%; z-index: 2; box-shadow: 0 30px 60px -26px color-mix(in srgb, var(--accent) 50%, transparent), var(--ombre); }
.collage .deux { right: 0; bottom: 0; width: 56%; z-index: 3; animation-delay: -3s; }
@keyframes flotte { to { transform: translateY(-8px); } }
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 0; }
.cartes.quatre { grid-template-columns: repeat(2, 1fr); }
.cartes + .tout { margin: 18px 0 0; }
.carte { position: relative; display: flex; flex-direction: column; border: 1px solid var(--trait); border-radius: 18px; overflow: hidden; background: var(--carte); transition: transform .3s var(--courbe), box-shadow .3s, border-color .3s; }
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: color-mix(in srgb, var(--accent) 30%, var(--trait)); }
.carte figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1522; border-bottom: 1px solid var(--trait); }
.carte.video figure { aspect-ratio: 16 / 9; }
.carte figure img, .carte figure svg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--courbe); }
.carte:hover figure img, .carte:hover figure svg { transform: scale(1.04); }
.carte > div { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.carte .etiquette { align-self: flex-start; }
/* Logo du projet à cheval sur l'image de la carte */
.carte-logo { position: relative; width: 46px; height: 46px; margin: -42px 0 12px; border-radius: 12px; box-shadow: 0 8px 18px -6px rgb(0 0 0 / .55); }
.carte h3 { font-size: 20px; margin: 10px 0 8px; }
.carte h3 a { color: var(--texte); text-decoration: none; }
.carte h3 a::after { content: ""; position: absolute; inset: 0; }
.carte p { font-size: 15.5px; color: var(--doux); margin: 0 0 14px; }
.carte .suite { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--accent); }
.carte .suite::after { content: " →"; display: inline-block; transition: transform .25s var(--courbe); }
.carte:hover .suite::after { transform: translateX(4px); }
.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.choix .carte figure { aspect-ratio: 16 / 9; }
.journal ul { list-style: none; padding: 0; margin: 20px 0 0; max-width: 52em; }
.bloc.journal li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; margin: 0; border-top: 1px solid var(--trait); max-width: none; }
.journal time { font-size: 14px; font-weight: 600; color: var(--doux); padding-top: 2px; }
.journal strong { font-size: 17px; }
.journal p { margin: 4px 0 6px; color: var(--doux); font-size: 15.5px; }
.journal a { font-size: 15px; font-weight: 600; }
.journal strong a { font: inherit; color: var(--texte); text-decoration: none; }
.journal strong a:hover { text-decoration: underline; }
.journal .tout { margin: 18px 0 0; }
.journal .tout a::after { content: " →"; }
.journal + .journal { padding-top: 40px; }
.principes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 22px; }
.principes h3 { display: flex; align-items: center; gap: 10px; }
.principes h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.principes p { color: var(--doux); font-size: 15.5px; margin: 0; }

/* Pied de page */
footer.bas { background: var(--fond-2); border-top: 1px solid var(--trait); color: var(--doux); font-size: 14.5px; padding: 48px 0 36px; }
.bas-haut { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--trait); }
.bas-haut p { margin: 12px 0 0; max-width: 28em; }
.bas-titre { margin: 0 0 10px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--texte); }
.bas-haut ul { list-style: none; margin: 0; padding: 0; }
.bas-haut li { margin: 6px 0; }
.bas-haut a, footer.bas p a { color: var(--doux); text-decoration: none; }
.bas-haut a:hover, footer.bas p a:hover { color: var(--texte); text-decoration: underline; }
footer.bas > .page > p { margin: 0 0 8px; max-width: 60em; font-size: 13.5px; }

/* Image agrandie */
dialog.loupe { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.loupe img { display: block; max-width: 100%; max-height: 92vh; border-radius: 14px; cursor: zoom-out; }
.loupe[open] { animation: monte .25s var(--courbe); }
.loupe::backdrop { background: rgb(8 10 14 / .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Apparitions au défilement (ajoutées par le script, seulement sous la ligne de flottaison) */
.js .revele { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s var(--courbe); }
.js .revele.vu { opacity: 1; transform: none; }

@media (max-width: 860px) {
	.heros, .avec-sommaire .heros, .accueil-heros { grid-template-columns: 1fr; gap: 26px; }
	.heros figure { order: -1; }
	.accueil-heros { padding-top: 32px; }
	.cartes, .cartes.quatre, .choix, .principes { grid-template-columns: 1fr; }
	.bas-haut { grid-template-columns: 1fr 1fr; }
	.bas-haut > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.haut .ligne { flex-wrap: wrap; height: auto; padding: 10px 20px 0; gap: 6px 12px; }
	.marque { font-size: 15px; }
	.langue { margin-left: auto; }
	nav.menu { order: 3; margin: 0 -20px; padding: 0 14px 6px; width: calc(100% + 40px); overflow-x: auto; scrollbar-width: none; }
	nav.menu a { padding: 6px 7px; font-size: 14px; }
	.onglets ul { width: 100%; }
	.onglets li { flex: 1; }
	.onglets a { padding: 6px 8px; font-size: 13.5px; text-align: center; }
	.faits { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
	.faits div:nth-child(odd) { border-left: 0; padding-left: 0; }
	.faits div { border-top: 1px solid var(--trait); }
	.faits div:nth-child(-n+2) { border-top: 0; }
	.bloc { padding-top: 48px; }
	.bloc.journal li { grid-template-columns: 1fr; gap: 2px; }
	.collage { aspect-ratio: 6 / 5.4; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	@view-transition { navigation: none; }
}
