/*
Theme Name: Arpentio collectivités
Theme URI: https://arpentio.com/
Description: Site d'Arpentio : montage de dossiers de subvention pour les collectivités. Thème classique, contenus dans les gabarits, une feuille de style, une police auto-hébergée (Manrope), un seul script (menu du téléphone).
Author: MZRCONSULTING
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: Tous droits réservés
Text Domain: arpentio-collectivites
*/

/* ── Charte (references/BENCHMARK.md, § 5) ───────────────────────────── */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/polices/manrope-variable.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Repli à métriques ajustées : la page ne bouge pas quand Manrope arrive. */
@font-face {
	font-family: "Manrope repli";
	src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular");
	size-adjust: 100.3%;
	ascent-override: 106.3%;
	descent-override: 29.9%;
	line-gap-override: 0%;
}

:root {
	--papier: #ffffff;
	--champ: #f5f6f4;
	--encre: #15181b;
	--gris: #565d63;
	--trait: #e6e9e5;
	--sapin: #15724e;
	--bord-champ: #8a9196;
	--erreur: #a4262c;
	--police: "Manrope", "Manrope repli", system-ui, -apple-system, "Segoe UI", sans-serif;
	--marge: 24px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 16px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--papier);
	color: var(--encre);
	font-family: var(--police);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	overflow-wrap: break-word;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 600;
}

h1 {
	font-size: 48px;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

h2 {
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

h3 {
	font-size: 20px;
	line-height: 1.3;
}

p,
ul,
ol,
dl,
dd {
	margin: 0;
}

a {
	color: var(--encre);
	text-underline-offset: 4px;
}

a:hover {
	color: var(--sapin);
}

:focus-visible {
	outline: 2px solid var(--sapin);
	outline-offset: 2px;
}

main:focus {
	outline: none;
}

.sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.evitement {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 10;
	padding: 12px 16px;
	background: var(--encre);
	color: var(--papier);
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
}

.evitement:focus {
	top: 8px;
	color: var(--papier);
}

.env {
	max-width: 1168px;
	margin: 0 auto;
	padding: 0 var(--marge);
}

.fort {
	font-weight: 600;
}

.gris {
	color: var(--gris);
}

.note {
	font-size: 13px;
	color: var(--gris);
	line-height: 1.55;
}

.sur-tel {
	display: none;
}

/* ── Boutons et liens d'action ───────────────────────────────────────── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	background: var(--encre);
	color: var(--papier);
	border: 0;
	border-radius: 6px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.btn:hover {
	background: #2c3136;
	color: var(--papier);
}

.btn--contour {
	background: transparent;
	color: var(--encre);
	border: 1.5px solid var(--encre);
}

.btn--contour:hover {
	background: var(--champ);
	color: var(--encre);
}

.btn--petit {
	min-height: 44px;
	padding: 0 20px;
	font-size: 15px;
}

.btn--large {
	display: flex;
	width: 100%;
}

.lien-action {
	font-weight: 600;
	color: var(--encre);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.sous-bouton {
	font-size: 13px;
	color: var(--gris);
	line-height: 1.55;
}

.sous-bouton a {
	color: var(--gris);
}

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

.entete {
	background: var(--papier);
	border-bottom: 1px solid var(--trait);
}

.entete-env {
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.marque {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--encre);
	font-weight: 600;
	font-size: 20px;
	text-decoration: none;
	order: 1;
}

.marque:hover {
	color: var(--encre);
}

.symbole {
	flex: none;
}

.nav {
	order: 2;
}

.nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav a {
	font-size: 15px;
	text-decoration: none;
}

.nav a:hover {
	text-decoration: underline;
}

.nav a[aria-current="page"] {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 6px;
}

.entete-action {
	order: 3;
}

.menu-bouton {
	display: none;
	order: 3;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	color: var(--encre);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

.menu-bouton .menu-fermer {
	display: none;
}

.entete.ouvert .menu-bouton .menu-ouvrir {
	display: none;
}

.entete.ouvert .menu-bouton .menu-fermer {
	display: inline;
}

/* ── Premier écran ───────────────────────────────────────────────────── */

.une {
	padding: 88px 0 80px;
}

.une-env {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
}

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

.surtitre {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gris);
}

.surtitre--petit {
	margin: 0;
}

.une h1 {
	max-width: 680px;
}

.chapo {
	margin-top: 24px;
	font-size: 20px;
	line-height: 1.5;
	color: var(--gris);
	max-width: 640px;
}

.une-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 36px;
}

.une-actions .sous-bouton {
	flex-basis: 100%;
}

.reperes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 56px;
	padding: 24px 0 0;
	border-top: 1px solid var(--trait);
	max-width: 640px;
	list-style: none;
}

.reperes strong {
	display: block;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.6;
}

.reperes span {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	color: var(--gris);
	line-height: 1.45;
}

.carte-diag {
	flex: 1 1 360px;
	min-width: 0;
	background: var(--champ);
	border: 1px solid var(--trait);
	border-radius: 8px;
	padding: 32px;
}

.carte-diag h2 {
	margin-top: 8px;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: 0;
}

.carte-diag-intro {
	margin-top: 8px;
	font-size: 15px;
	color: var(--gris);
}

.carte-diag .liste-coches {
	margin-top: 20px;
	gap: 12px;
}

.carte-diag-prix {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--trait);
}

.prix-moyen {
	font-size: 28px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.liste-coches {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	padding: 0;
	font-size: 15px;
}

.liste-coches li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.coche {
	flex: none;
	margin-top: 2px;
	color: var(--sapin);
}

.liste-coches--carte {
	margin-top: 12px;
	font-size: 16px;
}

.liste-coches--carte .coche,
.liste-coches--grande .coche {
	margin-top: 3px;
}

.liste-coches--grande {
	margin-top: 24px;
	gap: 12px;
	font-size: 16px;
}

/* ── Sections ────────────────────────────────────────────────────────── */

.sec {
	padding: 80px 0;
}

.sec--champ {
	background: var(--champ);
}

.intro {
	margin-top: 12px;
	color: var(--gris);
	max-width: 720px;
}

.suite {
	margin-top: 32px;
}

/* ── Tarifs ──────────────────────────────────────────────────────────── */

.cartes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 24px;
	margin-top: 40px;
}

.carte-prix {
	display: flex;
	flex-direction: column;
	background: var(--papier);
	border: 1px solid var(--trait);
	border-radius: 8px;
	padding: 32px;
}

.carte-prix--avant {
	border: 1.5px solid var(--encre);
}

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

.pastille {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--gris);
	border: 1px solid var(--trait);
	border-radius: 999px;
	padding: 2px 10px;
}

.pastille--sapin {
	color: var(--sapin);
	border-color: var(--sapin);
}

.carte-prix-montant {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin-top: 16px;
}

.prix {
	font-size: 36px;
	font-weight: 600;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}

.prix-detail {
	font-size: 15px;
	color: var(--gris);
}

.carte-prix-suite {
	margin-top: 6px;
	font-size: 15px;
	color: var(--gris);
}

.carte-prix .note {
	margin-top: 8px;
}

.carte-prix .note--espace {
	margin-top: 20px;
}

.etiquette {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--trait);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gris);
}

.carte-prix .note--espace + .etiquette {
	margin-top: 20px;
}

.etiquette--haut {
	margin: 0;
	padding: 0;
	border: 0;
}

.carte-prix-paiement {
	margin-top: 8px;
	font-size: 16px;
}

.pousse {
	flex-grow: 1;
}

.carte-prix .btn {
	margin-top: 28px;
}

.modalites {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 24px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--trait);
}

.modalites h3 {
	font-size: 16px;
}

.modalites p {
	margin-top: 6px;
	font-size: 15px;
	color: var(--gris);
}

/* Offre de lancement */

.lancement {
	margin-top: 24px;
	background: var(--papier);
	border: 1px solid var(--sapin);
	border-radius: 8px;
	padding: 32px;
}

.lancement-titre {
	margin-top: 12px;
	font-size: 20px;
	line-height: 1.35;
	max-width: 760px;
}

.lancement .tableau-cadre {
	margin-top: 20px;
}

.lancement .note {
	margin-top: 14px;
}

.tableau--lancement td {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.tableau--lancement td.fort {
	color: var(--sapin);
}

/* ── Tableaux ────────────────────────────────────────────────────────── */

.tableau-cadre {
	margin-top: 40px;
	overflow-x: auto;
	border: 1px solid var(--trait);
	border-radius: 8px;
	background: var(--papier);
}

.tableau {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}

.tableau thead th {
	background: var(--champ);
	padding: 14px 20px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gris);
	border-bottom: 1px solid var(--trait);
	vertical-align: bottom;
}

.tableau tbody th,
.tableau tbody td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--trait);
	vertical-align: top;
}

.tableau tbody tr:last-child th,
.tableau tbody tr:last-child td {
	border-bottom: 0;
}

.tableau tbody th {
	font-weight: 600;
}

.tableau--etapes {
	min-width: 760px;
}

.tableau--etapes thead th:first-child {
	width: 26%;
}

.tableau--etapes thead th:nth-child(2) {
	width: 18%;
}

.tableau--etapes tbody th,
.tableau--etapes tbody td {
	padding: 18px 20px;
}

.tableau--etapes tbody th {
	font-size: 16px;
}

.num {
	color: var(--gris);
	font-variant-numeric: tabular-nums;
}

.tableau td.gris {
	color: var(--gris);
}

/* Formules ligne par ligne (Offre et tarifs) */

.tableau-cadre--blanc {
	margin-top: 32px;
}

.tableau--formules {
	min-width: 720px;
	font-size: 16px;
}

.tableau--formules thead th {
	background: var(--papier);
	padding: 24px;
	color: var(--encre);
	font-size: 16px;
	font-weight: 600;
}

.tableau--formules thead th + th,
.tableau--formules tbody td {
	border-left: 1px solid var(--trait);
}

.tableau--formules .formules-coin {
	width: 28%;
}

.formule-nom {
	display: block;
	font-size: 20px;
	font-weight: 600;
}

.tableau--formules .prix {
	display: block;
	margin-top: 4px;
}

.tableau--formules .prix-detail {
	display: block;
	font-weight: 400;
}

.tableau--formules tbody th,
.tableau--formules tbody td {
	padding: 16px 24px;
}

.tableau--paiement {
	min-width: 680px;
	font-size: 16px;
}

.tableau--simple {
	font-size: 16px;
}

.tableau--donnees {
	min-width: 720px;
	font-size: 15px;
}

.tableau--donnees tbody th {
	font-weight: 400;
	width: 34%;
}

.action-bas {
	margin-top: 24px;
}

.action-bas .sous-bouton {
	margin-top: 12px;
}

/* ── Contrôle avant dépôt ────────────────────────────────────────────── */

.controles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 16px;
	margin-top: 40px;
	padding: 0;
	list-style: none;
}

.controles li {
	background: var(--papier);
	border: 1px solid var(--trait);
	border-radius: 8px;
	padding: 24px;
}

.controle-num {
	font-size: 13px;
	font-weight: 600;
	color: var(--sapin);
	font-variant-numeric: tabular-nums;
}

.controles h3 {
	margin-top: 8px;
	font-size: 17px;
	line-height: 1.3;
}

.controles li p:not(.controle-num) {
	margin-top: 8px;
	font-size: 15px;
	color: var(--gris);
	line-height: 1.5;
}

.treize {
	margin-top: 32px;
}

.treize summary {
	display: inline-block;
	min-height: 28px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
	list-style: none;
}

.treize summary::-webkit-details-marker {
	display: none;
}

.treize summary:hover {
	color: var(--sapin);
}

.treize summary span {
	display: inline-block;
	transition: transform 0.15s;
}

.treize[open] summary span {
	transform: rotate(90deg);
}

.treize ol {
	margin-top: 16px;
	padding: 24px 24px 24px 48px;
	background: var(--papier);
	border: 1px solid var(--trait);
	border-radius: 8px;
	font-size: 15px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 860px;
}

/* ── Qui sommes-nous ─────────────────────────────────────────────────── */

.qui-env {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
}

.fiche-identite {
	flex: 1 1 300px;
	max-width: 360px;
	min-width: 0;
	background: var(--champ);
	border: 1px solid var(--trait);
	border-radius: 8px;
	padding: 28px;
}

.fiche-marque {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 20px;
}

.fiche-identite dl {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 20px;
	font-size: 15px;
}

.fiche-identite dt {
	font-weight: 600;
}

.fiche-identite dd {
	margin-top: 2px;
	color: var(--gris);
}

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

.qui-chapo {
	margin-top: 16px;
	max-width: 680px;
}

.qui-listes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 32px;
	margin-top: 32px;
}

.qui-listes h3 {
	font-size: 17px;
}

.qui-listes ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
	padding-left: 20px;
	font-size: 15px;
}

.qui-cadre {
	display: grid;
	grid-template-columns: minmax(140px, max-content) minmax(0, 1fr);
	column-gap: 24px;
	row-gap: 12px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--trait);
	font-size: 15px;
}

.qui-cadre dt {
	font-weight: 600;
}

.qui-cadre dd {
	color: var(--gris);
}

.qui-cadre .lien-action {
	font-weight: 600;
}

/* ── Dispositifs ─────────────────────────────────────────────────────── */

.puces {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
	padding: 0;
	list-style: none;
}

.puces li {
	background: var(--papier);
	border: 1px solid var(--trait);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 15px;
}

.exemples-titre {
	margin-top: 56px;
	font-size: 20px;
}

.exemples-intro {
	margin-top: 6px;
	font-size: 15px;
	color: var(--gris);
}

.exemples {
	margin-top: 20px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--trait);
}

.exemples li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--trait);
}

.exemples li p + p {
	font-size: 15px;
	color: var(--gris);
}

/* ── Questions ───────────────────────────────────────────────────────── */

.faq {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	gap: 0 56px;
	margin-top: 32px;
}

.faq-item {
	padding: 24px 0;
	border-top: 1px solid var(--trait);
}

.faq-item h3 {
	font-size: 17px;
	line-height: 1.4;
}

.faq-item p {
	margin-top: 8px;
	font-size: 16px;
	color: var(--gris);
}

/* ── Demande de diagnostic ───────────────────────────────────────────── */

.diag-env {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
}

.diag-texte {
	flex: 1 1 340px;
	min-width: 0;
}

.diag-chapo {
	margin-top: 16px;
}

.diag-prix {
	margin-top: 12px;
	font-size: 15px;
	color: var(--gris);
}

.diag-contacts {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--trait);
	font-size: 15px;
}

.diag-contacts p + p {
	margin-top: 2px;
}

.formulaire {
	flex: 999 1 560px;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 20px;
	background: var(--papier);
	border: 1px solid var(--trait);
	border-radius: 8px;
	padding: 32px;
}

.champ {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.champ--large,
.formulaire-alerte {
	grid-column: 1 / -1;
}

.champ label,
.choix legend {
	font-size: 15px;
	font-weight: 600;
}

.facultatif {
	font-weight: 400;
	color: var(--gris);
}

.champ input[type="text"],
.champ input[type="email"],
.champ input[type="tel"],
.champ textarea {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--bord-champ);
	border-radius: 6px;
	background: var(--papier);
	color: var(--encre);
	font: inherit;
	font-size: 16px;
}

.champ textarea {
	padding: 12px 14px;
	resize: vertical;
	line-height: 1.5;
}

.champ input::placeholder,
.champ textarea::placeholder {
	color: #6b7278;
}

.champ input[aria-invalid="true"],
.champ textarea[aria-invalid="true"] {
	border-color: var(--erreur);
	border-width: 2px;
}

.champ input[type="checkbox"][aria-invalid="true"] {
	outline: 2px solid var(--erreur);
	outline-offset: 2px;
}

.champ-erreur {
	font-size: 14px;
	font-weight: 600;
	color: var(--erreur);
}

.choix {
	border: 0;
	margin: 0;
	padding: 0;
}

.choix legend {
	padding: 0;
}

.choix-liste {
	display: flex;
	flex-wrap: wrap;
	gap: 0 28px;
	margin-top: 10px;
	font-size: 16px;
}

.choix-liste label,
.case label {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 400;
	font-size: 16px;
	cursor: pointer;
}

.choix-liste input,
.case input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--encre);
}

.case label {
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.5;
}

.case input {
	margin-top: 1px;
}

.piege {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.formulaire .btn {
	padding: 0 28px;
}

.formulaire .sous-bouton {
	margin-top: 12px;
}

.formulaire-alerte {
	border: 2px solid var(--erreur);
	border-radius: 8px;
	padding: 16px 20px;
	background: #fdf3f3;
}

.formulaire-alerte:focus {
	outline: 2px solid var(--erreur);
	outline-offset: 2px;
}

.formulaire-alerte-titre {
	font-weight: 600;
	color: var(--erreur);
}

.formulaire-alerte ul {
	margin-top: 8px;
	padding-left: 20px;
	font-size: 15px;
}

.formulaire-alerte a {
	color: var(--encre);
}

/* ── Pages secondaires ───────────────────────────────────────────────── */

.tete {
	padding: 56px 0 64px;
}

.fil {
	font-size: 13px;
	color: var(--gris);
}

.fil a {
	color: var(--gris);
}

.tete h1 {
	margin-top: 16px;
}

.tete-chapo {
	margin-top: 20px;
	font-size: 20px;
	line-height: 1.5;
	max-width: 760px;
}

.tete-chapo--sobre {
	color: var(--gris);
	font-size: 18px;
}

.tete-lancement {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-top: 16px;
	font-size: 16px;
	font-weight: 600;
}

.tete-lancement a {
	font-weight: 600;
}

.tete-date {
	margin-top: 16px;
}

.tete--legal {
	padding-bottom: 32px;
}

.tete--legal .texte > * + * {
	margin-top: 16px;
}

.deux-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 56px;
}

.deux-col--serre {
	gap: 32px;
	margin-top: 40px;
}

.deux-col--serre h3 {
	font-size: 20px;
}

.deux-col--serre p {
	margin-top: 8px;
}

.paragraphe {
	margin-top: 16px;
}

.encadre {
	margin-top: 24px;
	background: var(--champ);
	border: 1px solid var(--trait);
	border-radius: 8px;
	padding: 24px;
}

.calcul {
	width: 100%;
	margin-top: 12px;
	border-collapse: collapse;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
}

.calcul th,
.calcul td {
	padding: 8px 0;
	border-bottom: 1px solid var(--trait);
	text-align: right;
}

.calcul td + td,
.calcul th + th {
	padding-left: 16px;
}

.calcul thead th {
	font-size: 13px;
	font-weight: 600;
	color: var(--gris);
}

.calcul tbody th {
	text-align: left;
	font-weight: 400;
}

.calcul .total th,
.calcul .total td {
	font-weight: 600;
	border-bottom: 0;
}

.encadre .note {
	margin-top: 12px;
}

.liste {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
	padding-left: 20px;
	font-size: 16px;
}

.liste--gris {
	color: var(--gris);
	gap: 10px;
}

.paliers {
	margin-top: 24px;
	border-top: 1px solid var(--trait);
}

.paliers div {
	padding: 16px 0;
	border-bottom: 1px solid var(--trait);
}

.paliers dt {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.paliers dd {
	margin-top: 4px;
	color: var(--gris);
}

.note--grand {
	margin-top: 16px;
	font-size: 15px;
}

.appel {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.appel-texte {
	flex: 1 1 520px;
	min-width: 0;
}

.appel-texte p {
	margin-top: 10px;
}

.appel .sous-bouton {
	margin-top: 10px;
}

/* Texte long (pages légales) */

.sec--texte {
	padding-top: 0;
}

.texte {
	max-width: 808px;
	margin: 0 auto;
}

.texte h2 {
	margin-top: 48px;
	font-size: 24px;
}

.texte h2:first-child {
	margin-top: 0;
}

.texte h3 {
	margin-top: 28px;
	font-size: 18px;
}

.texte p,
.texte .liste {
	margin-top: 12px;
}

.texte .tableau-cadre {
	margin-top: 16px;
}

.texte > p.note:last-child {
	margin-top: 48px;
}

.fiche {
	display: grid;
	grid-template-columns: minmax(160px, max-content) minmax(0, 1fr);
	column-gap: 24px;
	row-gap: 10px;
	margin-top: 16px;
	padding: 24px;
	background: var(--champ);
	border: 1px solid var(--trait);
	border-radius: 8px;
	font-size: 16px;
}

.fiche dt {
	font-weight: 600;
}

/* ── Pied de page ────────────────────────────────────────────────────── */

.pied {
	background: var(--papier);
	border-top: 1px solid var(--trait);
	padding: 56px 0 40px;
}

.pied-grille {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	font-size: 15px;
}

.pied-identite {
	grid-column: span 2;
}

.pied-marque {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 17px;
}

.pied-legal {
	margin-top: 12px;
	color: var(--gris);
	line-height: 1.6;
}

.pied-titre {
	font-weight: 600;
}

.pied ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
	padding: 0;
	list-style: none;
}

.pied a {
	color: var(--gris);
}

.pied a:hover {
	color: var(--sapin);
}

.pied-contact {
	margin-top: 20px;
}

.pied-courriel {
	margin-top: 6px;
}

.pied-note {
	margin-top: 2px;
	color: var(--gris);
}

.pied-tel {
	margin-top: 6px;
}

/* Le numéro ne se coupe jamais en deux (pilotage, 13/11) : il passe entier à la ligne si besoin. */
.pied-tel a,
.diag-contacts a[href^="tel:"] {
	white-space: nowrap;
}

.pied-date {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--trait);
	font-size: 13px;
	color: var(--gris);
}

/* ── En-tête replié (menu) : sous 960 px ─────────────────────────────── */

@media (max-width: 959px) {
	.entete-env {
		flex-wrap: wrap;
		gap: 0 12px;
		min-height: 56px;
	}

	.marque {
		min-height: 56px;
		margin-right: auto;
	}

	.entete-action {
		order: 2;
	}

	.menu-bouton {
		order: 3;
		margin-left: -8px;
	}

	.js .menu-bouton {
		display: inline-flex;
	}

	.nav {
		order: 4;
		flex-basis: 100%;
	}

	.nav ul {
		gap: 0 20px;
		padding: 4px 0 12px;
	}

	.js .nav {
		display: none;
	}

	.js .entete.ouvert .nav {
		display: block;
	}

	.js .nav ul {
		flex-direction: column;
		align-items: stretch;
		padding: 4px 0 12px;
		border-top: 1px solid var(--trait);
	}

	.js .nav li + li {
		border-top: 1px solid var(--trait);
	}

	.nav a {
		display: flex;
		align-items: center;
		min-height: 48px;
		font-size: 16px;
	}
}

/* ── Téléphone : sous 720 px (maquette Accueil-telephone, 390 px) ────── */

@media (max-width: 719px) {
	:root {
		--marge: 16px;
	}

	body {
		font-size: 16px;
	}

	h1 {
		font-size: 32px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 18px;
	}

	.sur-ordi {
		display: none;
	}

	.sur-tel {
		display: inline;
	}

	.marque {
		gap: 8px;
		font-size: 18px;
	}

	.marque .symbole {
		width: 28px;
		height: 28px;
	}

	.entete-action {
		min-height: 44px;
		padding: 0 14px;
		font-size: 14px;
	}

	.sec {
		padding: 56px 0;
	}

	.une {
		padding: 48px 0 56px;
	}

	.une-env {
		gap: 32px;
	}

	.surtitre {
		margin-bottom: 14px;
	}

	.chapo {
		margin-top: 16px;
		font-size: 18px;
	}

	.une-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-top: 28px;
	}

	.une-actions .btn {
		order: 1;
	}

	.une-actions .sous-bouton {
		order: 2;
	}

	.une-actions .lien-action {
		order: 3;
		margin-top: 4px;
		align-self: center;
	}

	.reperes {
		display: block;
		margin-top: 32px;
		padding: 0;
	}

	.reperes li {
		display: flex;
		gap: 16px;
		align-items: baseline;
		padding: 14px 0;
		border-bottom: 1px solid var(--trait);
	}

	.reperes strong {
		flex: none;
		width: 104px;
		font-size: 18px;
	}

	.reperes span {
		margin-top: 0;
	}

	.carte-diag {
		padding: 24px;
	}

	.carte-diag h2 {
		margin-top: 6px;
		font-size: 18px;
	}

	.carte-diag-intro {
		margin-top: 6px;
	}

	.carte-diag .liste-coches {
		margin-top: 16px;
		gap: 10px;
	}

	.carte-diag-prix {
		display: block;
		margin-top: 20px;
		padding-top: 16px;
	}

	.prix-moyen {
		font-size: 26px;
	}

	.carte-diag-prix .note {
		margin-top: 2px;
	}

	.intro {
		margin-top: 10px;
	}

	.cartes {
		gap: 16px;
		margin-top: 28px;
	}

	.carte-prix,
	.lancement {
		padding: 24px;
	}

	.carte-prix-tete {
		display: block;
	}

	.carte-prix-tete .pastille {
		margin-top: 8px;
	}

	.carte-prix-montant {
		display: block;
		margin-top: 14px;
	}

	.prix {
		display: block;
		font-size: 30px;
	}

	.prix-detail {
		display: block;
		margin-top: 2px;
	}

	.etiquette:not(.etiquette--haut) {
		margin-top: 20px;
		padding-top: 16px;
	}

	.liste-coches--carte {
		margin-top: 10px;
		gap: 8px;
		font-size: 15px;
	}

	.carte-prix .note--espace {
		margin-top: 16px;
	}

	.carte-prix .note--espace + .etiquette {
		margin-top: 16px;
	}

	.carte-prix-paiement {
		margin-top: 6px;
		font-size: 15px;
	}

	.carte-prix .btn {
		margin-top: 20px;
	}

	.lancement-titre {
		font-size: 18px;
	}

	.modalites {
		gap: 20px;
		margin-top: 32px;
		padding-top: 0;
		border-top: 0;
	}

	.modalites p {
		margin-top: 4px;
	}

	.suite {
		margin-top: 24px;
	}

	/* Étapes : le tableau devient une liste. */
	.tableau-cadre--etapes {
		margin-top: 28px;
		border: 0;
		border-top: 1px solid var(--trait);
		border-radius: 0;
		overflow: visible;
	}

	.tableau--etapes {
		min-width: 0;
	}

	.tableau--etapes thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tableau--etapes,
	.tableau--etapes tbody,
	.tableau--etapes tr,
	.tableau--etapes tbody th,
	.tableau--etapes tbody td {
		display: block;
		width: auto;
	}

	.tableau--etapes tr {
		padding: 20px 0;
		border-bottom: 1px solid var(--trait);
	}

	.tableau--etapes tbody th,
	.tableau--etapes tbody td {
		padding: 0;
		border: 0;
	}

	.tableau--etapes tbody th {
		font-size: 17px;
	}

	.tableau--etapes td.delai {
		margin-top: 2px;
		font-size: 13px;
		font-weight: 600;
		color: var(--sapin);
	}

	.tableau--etapes td[data-label] {
		margin-top: 10px;
		font-size: 15px;
		color: var(--gris);
	}

	.tableau--etapes td[data-label] + td[data-label] {
		margin-top: 6px;
	}

	.tableau--etapes td[data-label]::before {
		content: attr(data-label) " ";
		font-weight: 600;
		color: var(--encre);
	}

	/* Formules ligne par ligne : deux colonnes, intitulé au-dessus. */
	.tableau--formules,
	.tableau--paiement,
	.tableau--donnees {
		min-width: 0;
	}

	.tableau--formules thead tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.tableau--formules .formules-coin {
		display: none;
	}

	.tableau--formules thead th {
		padding: 20px 16px;
	}

	.tableau--formules thead th:nth-child(2) {
		border-left: 0;
	}

	.formule-nom {
		font-size: 17px;
	}

	.tableau--formules .prix {
		font-size: 28px;
	}

	.tableau--formules .prix-detail {
		font-size: 14px;
	}

	.tableau--formules tbody,
	.tableau--formules tbody tr {
		display: block;
	}

	.tableau--formules tbody tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		border-bottom: 1px solid var(--trait);
	}

	.tableau--formules tbody tr:last-child {
		border-bottom: 0;
	}

	.tableau--formules tbody th {
		grid-column: 1 / -1;
		padding: 16px 16px 4px;
		border: 0;
	}

	.tableau--formules tbody td {
		padding: 4px 16px 16px;
		border-bottom: 0;
		font-size: 15px;
	}

	.tableau--formules tbody td:nth-of-type(1) {
		border-left: 0;
	}

	.tableau--formules tbody td::before {
		content: attr(data-label);
		display: block;
		font-size: 13px;
		font-weight: 600;
		color: var(--gris);
	}

	/* Paiement et données : une carte par ligne. */
	.tableau--paiement thead,
	.tableau--donnees thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tableau--paiement,
	.tableau--paiement tbody,
	.tableau--paiement tr,
	.tableau--paiement th,
	.tableau--paiement td,
	.tableau--donnees,
	.tableau--donnees tbody,
	.tableau--donnees tr,
	.tableau--donnees th,
	.tableau--donnees td {
		display: block;
		width: auto;
	}

	.tableau--paiement tr,
	.tableau--donnees tr {
		padding: 16px;
		border-bottom: 1px solid var(--trait);
	}

	.tableau--paiement tr:last-child,
	.tableau--donnees tr:last-child {
		border-bottom: 0;
	}

	.tableau--paiement tbody th,
	.tableau--paiement tbody td,
	.tableau--donnees tbody th,
	.tableau--donnees tbody td {
		padding: 0;
		border: 0;
	}

	.tableau--donnees tbody th {
		font-weight: 600;
	}

	.tableau--paiement tbody td,
	.tableau--donnees tbody td {
		margin-top: 8px;
	}

	.tableau--paiement tbody td::before,
	.tableau--donnees tbody td::before {
		content: attr(data-label);
		display: block;
		font-size: 13px;
		font-weight: 600;
		color: var(--gris);
	}

	/* Offre de lancement : une carte par prestation, prix normal et prix de lancement côte à côte. */
	.tableau--lancement,
	.tableau--lancement tbody {
		display: block;
	}

	.tableau--lancement thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.tableau--lancement tbody tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 6px 16px;
		padding: 14px 16px;
		border-bottom: 1px solid var(--trait);
	}

	.tableau--lancement tbody tr:last-child {
		border-bottom: 0;
	}

	.tableau--lancement tbody th {
		grid-column: 1 / -1;
	}

	.tableau--lancement tbody th,
	.tableau--lancement tbody td {
		padding: 0;
		border: 0;
		white-space: normal;
	}

	.tableau--lancement tbody td::before {
		content: attr(data-label);
		display: block;
		font-size: 13px;
		font-weight: 600;
		color: var(--gris);
	}

	.carte-prix-tete .pastille {
		border-radius: 8px;
	}

	.controles {
		gap: 12px;
		margin-top: 24px;
	}

	.controles li {
		display: flex;
		gap: 14px;
		padding: 20px;
	}

	.controle-num {
		padding-top: 2px;
	}

	.controles h3 {
		margin-top: 0;
		font-size: 16px;
	}

	.controles li p:not(.controle-num) {
		margin-top: 4px;
	}

	.treize ol {
		padding: 20px 20px 20px 40px;
	}

	.qui-env {
		gap: 28px;
	}

	.fiche-identite {
		order: 2;
		max-width: none;
		padding: 24px;
	}

	.qui-listes {
		gap: 24px;
		margin-top: 28px;
	}

	.qui-listes h3 {
		font-size: 16px;
	}

	.qui-listes ul {
		margin-top: 8px;
		gap: 4px;
	}

	.qui-cadre {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin-top: 28px;
		padding-top: 20px;
	}

	.qui-cadre dd {
		margin-top: 2px;
	}

	.qui-cadre dd + dt {
		margin-top: 12px;
	}

	.puces {
		gap: 8px;
		margin-top: 20px;
	}

	.puces li {
		padding: 5px 12px;
		font-size: 14px;
	}

	.exemples-titre {
		margin-top: 36px;
		font-size: 18px;
	}

	.exemples-intro {
		margin-top: 4px;
	}

	.exemples {
		margin-top: 12px;
	}

	.exemples li {
		display: block;
		padding: 14px 0;
	}

	.exemples li p + p {
		margin-top: 2px;
	}

	.faq {
		margin-top: 20px;
	}

	.faq-item {
		padding: 16px 0;
	}

	.faq-item h3 {
		font-size: 16px;
	}

	.faq-item p {
		font-size: 15px;
	}

	.diag-env {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.diag-texte {
		display: contents;
	}

	.diag-chapo {
		margin-top: 10px;
	}

	.diag-prix {
		margin-top: 8px;
	}

	.formulaire {
		order: 2;
		margin-top: 24px;
		padding: 20px;
		gap: 18px;
	}

	.diag-contacts {
		order: 3;
		margin-top: 28px;
		padding-top: 0;
		border-top: 0;
		gap: 14px;
	}

	.choix-liste {
		flex-direction: column;
		margin-top: 4px;
	}

	.formulaire .btn {
		width: 100%;
	}

	.tete {
		padding: 40px 0 48px;
	}

	.tete-chapo {
		font-size: 18px;
	}

	.tete-chapo--sobre {
		font-size: 17px;
	}

	.deux-col {
		gap: 48px;
	}

	.deux-col--serre {
		gap: 24px;
	}

	.deux-col--serre h3 {
		font-size: 18px;
	}

	.texte h2 {
		margin-top: 40px;
		font-size: 21px;
	}

	.fiche {
		display: block;
		padding: 20px;
		font-size: 15px;
	}

	.fiche dd {
		margin-bottom: 10px;
	}

	.fiche dd:last-child {
		margin-bottom: 0;
	}

	.pied {
		padding: 40px 0 32px;
	}

	.pied-grille {
		display: block;
	}

	.pied-marque {
		gap: 8px;
		font-size: 15px;
	}

	.pied-marque .symbole {
		width: 24px;
		height: 24px;
	}

	.pied-legal {
		margin-top: 10px;
	}

	.pied-nav,
	.pied-docs {
		margin-top: 24px;
	}

	.pied ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 16px;
	}

	.pied ul a {
		display: inline-block;
		min-height: 32px;
	}

	.pied-date {
		margin-top: 24px;
		padding-top: 16px;
	}
}

@media print {
	.entete .nav,
	.entete-action,
	.menu-bouton,
	.formulaire,
	.evitement {
		display: none !important;
	}
}

/* Page guide « Désimperméabiliser une cour d'école » (2026-11-12) : espacements et renvois aux sources. */
.guide .env > h3 {
	margin-top: 32px;
}
.guide .env > h2 + h3 {
	margin-top: 20px;
}
.guide .liste + p,
.guide .tableau-cadre + p,
.guide p + p.gris {
	margin-top: 16px;
}
.renvoi {
	font-size: 0.85em;
	white-space: nowrap;
}
.sources {
	gap: 10px;
	font-size: 14px;
}

/* Ligne d'axe du hero (pilotage, 2026-11-12) */
.une-axe {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--gris);
	max-width: 640px;
}

/* Alerte en tête d'un guide (pilotage, 2026-11-12) */
.tete-alerte {
	margin-top: 16px;
	padding: 12px 16px;
	border-left: 3px solid var(--trait);
	max-width: 720px;
}
