/* ==========================================================================
   Thème « Cockpit de nuit » pour philippe-donnart.com (SPIP 4.4)
   Feuille de style unique du thème.

   Sommaire
   1. Polices (hébergées sur le site, jeu latin)
   2. Variables : toutes les couleurs et mesures de la direction visuelle
   3. Base
   4. Bandeau et menu
   5. Mise en page générale
   6. Titres de page, fil d'Ariane
   7. Présentation, boutons, cartes d'articles, pagination
   8. Texte des articles (balisage produit par SPIP)
   9. Blocs de code et prompts
   10. Bloc auteur, notes, documents, forum
   11. Colonne
   12. Formulaires
   13. Pied de page
   14. Impression
   ========================================================================== */

/* 1. Polices ------------------------------------------------------------- */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../polices/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../polices/inter-latin-400-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../polices/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../polices/space-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../polices/space-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../polices/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../polices/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

/* 2. Variables ----------------------------------------------------------- */

:root {
	/* Couleurs. Tous les couples texte/fond utilisés passent le niveau AA. */
	--nuit: #0E1726;            /* bandeau, menu, pied de page, blocs de code */
	--nuit-filet: #2A3852;      /* filets sur fond nuit */
	--nuit-contour: #4A5C7C;    /* contour des boutons du menu */
	--clair-sur-nuit: #F4F6FA;  /* texte sur fond nuit */
	--ambre: #F5B83D;           /* accent : devise, boutons, étiquettes */
	--ambre-survol: #FFCB5C;
	--fond: #FFFFFF;            /* fond de page */
	--surface: #F1F4F8;         /* encadrés, champs, menus de la colonne */
	--texte: #111A2B;
	--texte-doux: #36435A;      /* résumés, textes d'accompagnement */
	--secondaire: #46536B;      /* dates, fil d'Ariane, légendes */
	--lien: #0A6470;
	--lien-survol: #06434B;
	--filet: #D3DAE5;
	--contour-champ: #77849A;
	--erreur: #A4161A;

	/* Polices */
	--police-texte: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--police-titres: "Space Grotesk", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--police-code: "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;

	/* Mesures */
	--largeur: 1160px;
	--marge: 24px;
	--rayon: 12px;
	--rayon-petit: 8px;
	--cible: 44px;              /* hauteur minimale d'une zone cliquable */
}

/* 3. Base ---------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--police-texte);
	font-size: 1.03125rem;
	line-height: 1.65;
	color: var(--texte);
	background: var(--fond);
	overflow-wrap: break-word;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--lien);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--lien-survol);
}

/* Focus visible au clavier : contour sombre sur fond clair, ambre sur fond nuit */
:focus-visible {
	outline: 3px solid var(--lien);
	outline-offset: 2px;
}

.header :focus-visible,
.nav :focus-visible,
.footer :focus-visible,
.bloc-code :focus-visible {
	outline-color: var(--ambre);
}

h1,
h2,
h3,
h4 {
	font-family: var(--police-titres);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

/* Lien d'évitement : invisible, il apparaît à la première tabulation */
.evitement {
	position: absolute;
	left: -9999px;
	top: 12px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: var(--rayon-petit);
	background: var(--ambre);
	color: var(--nuit);
	font-weight: 600;
	text-decoration: none;
}

.evitement:focus {
	left: 12px;
	color: var(--nuit);
}

/* Texte réservé aux lecteurs d'écran */
.offscreen {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.none {
	display: none;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

/* 4. Bandeau et menu ----------------------------------------------------- */

.header {
	background: var(--nuit);
	color: var(--clair-sur-nuit);
}

.bandeau {
	max-width: var(--largeur);
	margin: 0 auto;
	padding: 0 var(--marge);
	display: flex;
	flex-wrap: wrap;
	gap: 0 40px;
}

/* Sur écran étroit, les deux blocs passent l'un sous l'autre : le titre reste au-dessus de l'image */
.bandeau-textes {
	flex: 1 1 380px;
	min-width: 0;
	padding: 40px 0 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.bandeau-titre {
	margin: 0;
	font-family: var(--police-titres);
	font-weight: 700;
	font-size: clamp(2.25rem, 5.2vw, 3.75rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.bandeau-titre a {
	color: inherit;
	text-decoration: none;
}

.bandeau-devise {
	margin: 0;
	font-family: var(--police-titres);
	font-weight: 600;
	font-size: clamp(1.0625rem, 1.9vw, 1.3125rem);
	line-height: 1.3;
	color: var(--ambre);
}

.bandeau-image {
	flex: 1 1 320px;
	min-width: 0;
	min-height: 200px;
	display: flex;
}

.bandeau-radar {
	display: block;
	width: 100%;
	height: 100%;
}

.nav {
	background: var(--nuit);
	border-top: 1px solid var(--nuit-filet);
}

.nav-liste {
	max-width: var(--largeur);
	margin: 0 auto;
	padding: 14px var(--marge);
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nav-item a {
	display: flex;
	align-items: center;
	min-height: var(--cible);
	padding: 0 clamp(12px, 1.6vw, 18px);
	border: 1px solid var(--nuit-contour);
	border-radius: 999px;
	color: var(--clair-sur-nuit);
	font-family: var(--police-titres);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
}

.nav-item a:hover {
	border-color: var(--ambre);
	color: var(--ambre);
}

.nav-item a.on {
	border-color: var(--ambre);
	background: var(--ambre);
	color: var(--nuit);
}

/* 5. Mise en page générale ----------------------------------------------- */

/* Contenu et colonne côte à côte ; la colonne passe sous le contenu sur petit écran */
.main {
	max-width: var(--largeur);
	margin: 0 auto;
	padding: 36px var(--marge) 64px;
	display: flex;
	flex-wrap: wrap;
	gap: 48px 56px;
}

.wrapper {
	flex: 999 1 560px;
	min-width: 0;
}

.aside {
	flex: 1 1 240px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.content > * + * {
	margin-top: 26px;
}

.content:focus {
	outline: none;
}

/* 6. Titres de page, fil d'Ariane ---------------------------------------- */

.arbo {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	font-family: var(--police-code);
	font-size: 0.78125rem;
	line-height: 1.6;
	color: var(--secondaire);
}

.arbo a {
	display: inline-block;
	padding: 13px 0;
	margin: -13px 0;
}

.cartouche {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.cartouche-textes {
	flex: 1;
	min-width: 0;
}

.cartouche h1 {
	font-weight: 700;
	font-size: clamp(1.8125rem, 3.9vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.cartouche-logo {
	flex: 0 0 auto;
}

.cartouche-logo img {
	display: block;
	width: clamp(56px, 14vw, 84px);
	height: auto;
	border-radius: var(--rayon);
	border: 1px solid var(--filet);
}

.surtitre,
.soustitre {
	margin: 0;
	font-family: var(--police-titres);
	font-weight: 600;
	color: var(--texte-doux);
}

.surtitre {
	margin-bottom: 8px;
}

.soustitre {
	margin-top: 8px;
	font-size: 1.25rem;
}

.info-publi {
	margin: 14px 0 0;
	font-family: var(--police-code);
	font-size: 0.78125rem;
	line-height: 1.7;
	color: var(--secondaire);
}

.info-publi a {
	display: inline-block;
	padding: 13px 0;
	margin: -13px 0;
}

.traductions {
	margin-top: 10px;
	font-size: 0.9rem;
}

/* 7. Présentation, boutons, cartes d'articles, pagination ---------------- */

.presentation {
	padding: 26px;
	border-radius: var(--rayon);
	background: var(--surface);
	font-size: 1.15625rem;
	line-height: 1.6;
}

.presentation p {
	margin: 0;
}

.presentation p + p,
.presentation-texte + .presentation-action {
	margin-top: 16px;
}

.bouton {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 8px 20px;
	border-radius: var(--rayon-petit);
	background: var(--ambre);
	color: var(--nuit);
	font-size: 1.03125rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.bouton:hover {
	background: var(--ambre-survol);
	color: var(--nuit);
}

.liste-articles > h2,
.sous-rubriques > h2,
.annuaire > h2,
.forum-titre,
.comments > h2 {
	margin: 0 0 20px;
	font-size: 1.75rem;
	line-height: 1.15;
}

.cartes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 20px;
}

.carte {
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--filet);
	border-radius: var(--rayon);
	background: var(--fond);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.carte-tete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
}

.carte-tete img {
	flex: 0 0 auto;
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: var(--rayon-petit);
	border: 1px solid var(--filet);
}

/* Étiquette de rubrique. La zone cliquable est agrandie à 44 px sans grossir l'étiquette. */
.etiquette {
	position: relative;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--nuit);
	color: var(--ambre);
	font-family: var(--police-code);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.etiquette::after {
	content: "";
	position: absolute;
	inset: -9px -6px;
}

.etiquette:hover {
	color: var(--ambre-survol);
	text-decoration: underline;
}

.carte-titre {
	font-size: 1.375rem;
	line-height: 1.22;
}

.carte-titre a {
	display: block;
	padding: 9px 0;
	margin: -9px 0;
	color: var(--texte);
	text-decoration: none;
}

.carte-titre a:hover {
	color: var(--lien);
	text-decoration: underline;
}

.carte-resume {
	margin: 0;
	font-size: 0.96875rem;
	color: var(--texte-doux);
}

.carte-date {
	margin: auto 0 0;
	font-family: var(--police-code);
	font-size: 0.78125rem;
	color: var(--secondaire);
}

/* Pagination produite par SPIP */
.pagination {
	margin-top: 24px;
}

.pagination-label {
	display: none;
}

.pagination-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination-item-label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: var(--cible);
	min-height: var(--cible);
	padding: 0 12px;
	border: 1px solid var(--filet);
	border-radius: var(--rayon-petit);
	background: var(--fond);
	color: var(--texte);
	font-weight: 600;
	text-decoration: none;
}

a.pagination-item-label:hover {
	border-color: var(--lien);
	color: var(--lien);
}

.pagination-item.on .pagination-item-label {
	border-color: var(--nuit);
	background: var(--nuit);
	color: #FFFFFF;
}

.pagination-item.disabled .pagination-item-label {
	border-style: dashed;
	color: var(--secondaire);
}

/* Sous-rubriques */
.etiquettes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.etiquettes a {
	display: flex;
	align-items: center;
	min-height: var(--cible);
	padding: 0 16px;
	border: 1px solid var(--filet);
	border-radius: 999px;
	background: var(--surface);
	color: var(--texte);
	font-weight: 600;
	text-decoration: none;
}

.etiquettes a:hover {
	border-color: var(--lien);
	color: var(--lien);
}

/* Sites référencés, présentés en annuaire */
.annuaire-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 20px;
}

.annuaire-liste li {
	padding: 20px 22px;
	border: 1px solid var(--filet);
	border-radius: var(--rayon);
}

.annuaire-nom {
	display: inline-block;
	padding: 9px 0;
	margin: -9px 0;
	font-family: var(--police-titres);
	font-weight: 600;
	font-size: 1.25rem;
}

.annuaire-descriptif {
	margin-top: 6px;
	font-size: 0.96875rem;
	color: var(--texte-doux);
}

.annuaire-descriptif p {
	margin: 0;
}

.aucun-resultat {
	padding: 20px 22px;
	border-radius: var(--rayon);
	background: var(--surface);
}

/* 8. Texte des articles -------------------------------------------------- */

.chapo {
	font-size: 1.1875rem;
	line-height: 1.6;
	font-weight: 600;
}

.chapo p,
.texte p,
.ps p {
	margin: 0;
}

.chapo > * + *,
.texte > * + *,
.ps > * + * {
	margin-top: 1.1em;
}

.texte h2,
.texte h3,
.texte h4 {
	margin-top: 1.6em;
}

.texte h2 {
	font-size: 1.625rem;
}

.texte h3 {
	font-size: 1.3125rem;
}

.texte h4 {
	font-size: 1.125rem;
}

.texte ul,
.texte ol {
	margin-bottom: 0;
	padding-left: 1.4em;
}

.texte li + li {
	margin-top: 0.35em;
}

.spip-puce b {
	color: var(--secondaire);
}

blockquote.spip,
.spip_poesie {
	margin-left: 0;
	margin-right: 0;
	padding: 20px 24px;
	border-radius: var(--rayon);
	background: var(--surface);
	color: var(--texte-doux);
}

blockquote.spip p + p {
	margin-top: 0.8em;
}

.spip_poesie {
	font-style: italic;
}

hr,
hr.spip {
	height: 0;
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--filet);
}

/* Tableaux : le script du thème les place dans une zone qui défile sur mobile */
.tableau-defilant {
	overflow-x: auto;
}

table.spip {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.96875rem;
}

table.spip caption {
	padding-bottom: 8px;
	font-weight: 600;
	text-align: left;
}

table.spip th,
table.spip td {
	padding: 10px 14px;
	border: 1px solid var(--filet);
	text-align: left;
	vertical-align: top;
}

table.spip th {
	background: var(--surface);
	font-weight: 600;
}

table.spip td.numeric {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* Images et documents insérés dans le texte */
.spip_documents {
	max-width: 100%;
	margin: 1.2em 0;
}

.spip_documents_center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.spip_documents_left {
	float: left;
	margin: 0.3em 22px 12px 0;
}

.spip_documents_right {
	float: right;
	margin: 0.3em 0 12px 22px;
}

.spip_documents figcaption,
.spip_doc_titre,
.spip_doc_descriptif,
.spip_doc_legende {
	margin-top: 6px;
	font-size: 0.875rem;
	color: var(--secondaire);
}

.texte::after,
.chapo::after,
.ps::after {
	content: "";
	display: block;
	clear: both;
}

/* Vidéos et contenus embarqués : jamais plus larges que la page */
.texte iframe,
.oembed iframe {
	max-width: 100%;
}

.texte iframe[src*="youtube"],
.texte iframe[src*="vimeo"],
.texte iframe[src*="dailymotion"] {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--rayon);
}

.hyperlien {
	padding: 16px 20px;
	border-radius: var(--rayon);
	background: var(--surface);
	font-weight: 600;
}

.ps {
	padding-top: 22px;
	border-top: 1px solid var(--filet);
	color: var(--texte-doux);
}

.ps > hr:first-child {
	display: none;
}

/* 9. Blocs de code et prompts -------------------------------------------- */

/* Code dans une phrase */
code,
.spip_code_inline {
	font-family: var(--police-code);
	font-size: 0.9em;
}

.spip_code_inline {
	padding: 0.15em 0.4em;
	border-radius: 6px;
	background: var(--surface);
}

/* Blocs : <code> sur plusieurs lignes et <cadre> de SPIP.
   Sans JavaScript, ils s'affichent déjà ainsi ; le script du thème ajoute
   l'en-tête et le bouton « Copier ». */
.precode {
	margin-left: 0;
	margin-right: 0;
}

pre.spip_code_block,
.precode pre,
textarea.spip_cadre {
	display: block;
	width: 100%;
	margin: 0;
	padding: 20px;
	border: 0;
	border-radius: var(--rayon);
	background: var(--nuit);
	color: #E6EDF5;
	font-family: var(--police-code);
	font-size: 0.875rem;
	line-height: 1.7;
	tab-size: 2;
}

/* Le code défile horizontalement, il n'est jamais replié */
pre.spip_code_block,
.precode pre {
	overflow-x: auto;
	white-space: pre;
}

pre.spip_code_block code,
.precode pre code {
	font-size: 1em;
}

/* Un cadre contient souvent un prompt : le texte revient à la ligne */
textarea.spip_cadre {
	min-height: 4.5em;
	resize: vertical;
	white-space: pre-wrap;
}

.bloc-code {
	margin-left: 0;
	margin-right: 0;
	border-radius: var(--rayon);
	background: var(--nuit);
	overflow: hidden;
}

.bloc-code-tete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 10px 10px 20px;
	border-bottom: 1px solid var(--nuit-filet);
}

.bloc-code-nom {
	font-family: var(--police-code);
	font-size: 0.78125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ambre);
}

.bloc-code-copier {
	min-width: 96px;
	min-height: var(--cible);
	padding: 0 18px;
	border: 0;
	border-radius: var(--rayon-petit);
	background: var(--ambre);
	color: var(--nuit);
	font-family: var(--police-texte);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

.bloc-code-copier:hover {
	background: var(--ambre-survol);
}

.bloc-code pre.spip_code_block,
.bloc-code .precode pre,
.bloc-code textarea.spip_cadre {
	border-radius: 0;
}

.bloc-code .precode {
	margin: 0;
}

/* 10. Bloc auteur, notes, documents, forum ------------------------------- */

.bloc-auteur {
	margin-top: 40px !important;
	padding: 24px;
	border-radius: var(--rayon);
	background: var(--surface);
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
}

.bloc-auteur-photo {
	flex: 0 0 auto;
}

.bloc-auteur-photo img {
	display: block;
	width: 76px;
	height: 76px;
	object-fit: cover;
	border-radius: 50%;
	border: 1px solid var(--filet);
}

.bloc-auteur-texte {
	flex: 1 1 260px;
	min-width: 0;
}

.bloc-auteur-nom {
	font-size: 1.375rem;
	line-height: 1.15;
}

.bloc-auteur-nom a {
	display: inline-block;
	padding: 11px 0;
	margin: -11px 0;
	color: var(--texte);
	text-decoration: none;
}

.bloc-auteur-nom a:hover {
	color: var(--lien);
	text-decoration: underline;
}

.bloc-auteur-texte p {
	margin: 6px 0 0;
	color: var(--texte-doux);
}

.bloc-auteur-liens {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
}

.bloc-auteur-liens a {
	display: flex;
	align-items: center;
	min-height: var(--cible);
	font-weight: 600;
}

.notes {
	padding-top: 18px;
	border-top: 1px solid var(--filet);
	font-size: 0.9375rem;
	color: var(--texte-doux);
}

.notes > hr:first-child {
	display: none;
}

.notes p {
	margin: 0 0 0.6em;
}

/* Listes dans le contenu : documents joints, articles d'un auteur, résultats */
.content .menu > h2,
.documents_portfolio > h2 {
	margin-bottom: 12px;
	font-size: 1.375rem;
}

.content .menu ul {
	margin: 0;
	padding-left: 1.3em;
}

.content .menu li a {
	display: inline-block;
	padding: 9px 0;
}

.documents_portfolio ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.documents_portfolio img {
	display: block;
	border-radius: var(--rayon-petit);
}

.info_document {
	font-weight: 400;
	color: var(--secondaire);
}

/* Forum */
.comments-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comments-items .comments-items {
	margin-left: clamp(12px, 4vw, 32px);
}

.comment {
	margin-bottom: 12px;
	padding: 18px 20px;
	border-radius: var(--rayon);
	background: var(--surface);
}

.comment-meta {
	margin: 0 0 8px;
	font-size: 0.9375rem;
}

.comment-meta a {
	display: inline-block;
	padding: 11px 0;
	margin: -11px 0;
	color: var(--texte);
	text-decoration: none;
}

.comment-meta small {
	font-family: var(--police-code);
	font-size: 0.78125rem;
	color: var(--secondaire);
}

.comment-content p {
	margin: 0 0 0.6em;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

/* 11. Colonne ------------------------------------------------------------ */

.aside h2,
.formulaire_recherche label {
	display: block;
	margin: 0 0 8px;
	font-family: var(--police-titres);
	font-weight: 600;
	font-size: 1.125rem;
	line-height: 1.3;
}

.aside .menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.aside .menu ul ul {
	margin-top: 4px;
	padding-left: 14px;
}

.aside .menu li a {
	display: flex;
	align-items: center;
	min-height: var(--cible);
	padding: 8px 14px;
	border-radius: var(--rayon-petit);
	background: var(--surface);
	color: var(--texte);
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.aside .menu li a:hover {
	color: var(--lien);
	text-decoration: underline;
}

.aside .menu li a.on {
	background: var(--nuit);
	color: #FFFFFF;
}

.aside .menu small {
	color: var(--secondaire);
}

.recherche-champ {
	display: flex;
	gap: 8px;
}

.formulaire_recherche input.search {
	flex: 1;
	width: auto;
	min-width: 0;
}

/* 12. Formulaires -------------------------------------------------------- */

.formulaire_spip fieldset {
	min-width: 0;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}

.formulaire_spip legend {
	margin-bottom: 12px;
	padding: 0;
	font-family: var(--police-titres);
	font-weight: 600;
	font-size: 1.1875rem;
}

.formulaire_spip .editer {
	margin-bottom: 16px;
}

.formulaire_spip .editer > label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.formulaire_spip input.text,
.formulaire_spip input[type="text"],
.formulaire_spip input[type="email"],
.formulaire_spip input[type="url"],
.formulaire_spip input[type="search"],
.formulaire_spip input[type="password"],
.formulaire_spip select,
.formulaire_spip textarea {
	width: 100%;
	max-width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--contour-champ);
	border-radius: var(--rayon-petit);
	background: var(--fond);
	color: var(--texte);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
}

.formulaire_spip textarea {
	min-height: 180px;
	resize: vertical;
}

.formulaire_spip .explication,
.formulaire_spip .details {
	margin: 0 0 6px;
	font-size: 0.9375rem;
	color: var(--secondaire);
}

.formulaire_spip .boutons {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.formulaire_spip input[type="submit"],
.formulaire_spip button[type="submit"],
.formulaire_spip .submit {
	min-height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--rayon-petit);
	background: var(--nuit);
	color: #FFFFFF;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

.formulaire_spip input[type="submit"]:hover,
.formulaire_spip button[type="submit"]:hover,
.formulaire_spip .submit:hover {
	background: #1B2A44;
}

.formulaire_spip .erreur_message,
.formulaire_spip .erreur {
	color: var(--erreur);
	font-weight: 600;
}

.formulaire_spip .editer.erreur input,
.formulaire_spip .editer.erreur textarea {
	border-color: var(--erreur);
	border-width: 2px;
}

.reponse_formulaire {
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: var(--rayon-petit);
	background: var(--surface);
	font-weight: 600;
}

.reponse_formulaire_erreur {
	color: var(--erreur);
}

.formulaire_spip .choix label {
	font-weight: 400;
}

.formulaire_spip .choix input {
	width: 24px;
	height: 24px;
	margin-right: 8px;
	vertical-align: -3px;
}

.retour {
	font-size: 0.9375rem;
}

.retour a,
.formulaire_spip p a {
	display: inline-block;
	padding: 10px 0;
}

/* 13. Pied de page ------------------------------------------------------- */

.footer {
	background: var(--nuit);
	color: #DDE4EE;
}

.footer-in {
	max-width: var(--largeur);
	margin: 0 auto;
	padding: 28px var(--marge);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	align-items: center;
	justify-content: space-between;
}

.colophon {
	margin: 0;
}

.footer-liens {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

.footer-liens a {
	display: flex;
	align-items: center;
	min-height: var(--cible);
	color: #FFFFFF;
}

.footer-liens a:hover {
	color: var(--ambre);
}

/* 14. Impression --------------------------------------------------------- */

@media print {
	.evitement,
	.nav,
	.aside,
	.footer-liens,
	.bandeau-image,
	.bloc-code-copier,
	.pagination,
	.formulaire_spip {
		display: none !important;
	}

	.header,
	.footer,
	.bloc-code,
	pre.spip_code_block,
	.precode pre,
	textarea.spip_cadre {
		background: none !important;
		color: #000 !important;
	}

	.bandeau-devise,
	.bloc-code-nom {
		color: #000 !important;
	}

	pre.spip_code_block,
	.precode pre {
		white-space: pre-wrap;
		border: 1px solid #999;
	}

	.main {
		display: block;
		padding: 0;
	}
}
