/* Polices auto-hébergées (vrais poids statiques, sous-ensemble latin). Fichiers récupérés par l'orchestrateur :
   voir FONTS-A-TELECHARGER.txt à la racine du thème. Chemins relatifs à assets/css/tout.css. */
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/mitr-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/mitr-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/mitr-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/pt-sans-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'PT Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/pt-sans-400-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/pt-sans-700-latin.woff2') format('woff2'); }

/*
Theme Name: cd-cuve
Theme URI: https://cedes-assainissement.com/
Author: Cedes Assainissement
Description: Thème code pur de cedes-assainissement.com — la cuve à deux regards et la jauge des boues (DA v2 du 10/10/2026, référence patagonia.com). Rosée, sapin, cresson, eau, seuil ; Mitr + PT Sans. Mode clair. Les styles sont dans assets/css/app.css (assemblé avec les polices et les blocs figés dans assets/css/tout.css au déploiement).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cd-cuve
*/

/*
 * BLOC FIGÉ — ARTICLE (thématique) — CSS
 * Origine : curieux-du-web.com, theme/style.css, règles `.cdw-article*` /
 * `.cdw-fil-ariane` / `.cdw-a-lire` / `.cdw-carte*` (renommées `.sbt-*` ici).
 * Couleurs/polices/espacements uniquement en `var(--sb-*, repli)` : un site neuf peut
 * utiliser ce fichier tel quel sans avoir encore défini ses propres variables.
 *
 * INTERDIT DE MODIFIER : voir single-article.php (un seul <article>, « à lire aussi »
 * en <div>). LIBRE DE MODIFIER : toutes les valeurs des var() ci-dessous.
 */

.sbt-conteneur{ max-width: var(--sb-conteneur, 1240px); margin-inline: auto; padding-inline: var(--sb-gouttiere, 24px); }

.sbt-fil-ariane{ font-size: .8125rem; color: var(--sb-doux, #55607a); display: flex; gap: 6px; flex-wrap: wrap; padding-block: 16px; }
.sbt-fil-ariane a{ color: var(--sb-doux, #55607a); text-decoration: none; }
.sbt-fil-ariane a:hover{ color: var(--sb-encre, #0f172a); }

.sbt-article-entete{ max-width: var(--sb-lecture, 720px); margin-inline: auto; padding-block: 8px 24px; }
.sbt-article-pastille{
	display: inline-block; background: var(--sb-surf, #f4f5fa); color: var(--sb-encre, #0f172a);
	font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); font-weight: 700; font-size: .75rem;
	text-transform: uppercase; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
	text-decoration: none;
}
.sbt-article-entete h1{ font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); line-height: 1.15; margin: 0; }
.sbt-article-chapo{ font-family: var(--sb-texte, 'Inter', system-ui, sans-serif); font-style: italic; font-size: clamp(1.0625rem,1rem + .3vw,1.3125rem); color: var(--sb-doux, #55607a); margin-top: 16px; }
.sbt-article-meta{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: .875rem; color: var(--sb-doux, #55607a); }
.sbt-article-meta img{ width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.sbt-article-meta-auteur{ color: inherit; font-weight: 600; text-decoration: none; }

.sbt-article-une{ max-width: var(--sb-conteneur, 1240px); margin: 28px auto 32px; padding-inline: var(--sb-gouttiere, 24px); }
.sbt-article-une-cadre{ aspect-ratio: 2.4 / 1; max-height: min(520px, 46vh); overflow: hidden; /* 01/10 : à 1440×900 le texte passait sous la ligne de flottaison (B-ART-09) */ border-radius: var(--sb-rayon, 14px); box-shadow: var(--sb-ombre, 0 8px 24px rgba(15,23,42,.08)); }
.sbt-article-une-cadre img{ width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px){ .sbt-article-une-cadre{ aspect-ratio: auto; height: 220px; max-height: 220px; } }

/* Grille corps + rail — align-items:start obligatoire pour que le rail sticky
   (cf. partial-sidebar.css) tienne sur toute la hauteur du contenu. */
.sbt-article-mise-en-page{
	display: grid; grid-template-columns: minmax(0, var(--sb-lecture, 720px)) var(--sb-rail, 340px);
	column-gap: var(--sb-gouttiere, 24px); row-gap: var(--sb-gouttiere, 24px);
	max-width: var(--sb-conteneur, 1240px); margin-inline: auto;
	padding: 32px var(--sb-gouttiere, 24px) 64px; align-items: start; justify-content: center;
}
@media (max-width: 1080px){ .sbt-article-mise-en-page{ grid-template-columns: minmax(0,1fr); } .sbt-article-principal, .sbt-rail{ min-width: 0; } }
.sbt-article-mise-en-page--suite{ padding-top: 0; }

.sbt-article-corps{ font-size: 1.0625rem; line-height: 1.7; color: var(--sb-encre, #0f172a); font-family: var(--sb-texte, 'Inter', system-ui, sans-serif); }
.sbt-article-corps h2{ margin-top: 2.2em; font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); }
.sbt-article-corps h3{ margin-top: 1.8em; font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); }
.sbt-article-corps p{ margin-bottom: 1.3em; }
.sbt-article-corps img{ border-radius: var(--sb-rayon, 14px); margin-block: 1.6em; width: 100%; height: auto; }
.sbt-article-corps blockquote{
	margin: 1.8em 0; padding: 18px 24px; border-left: 4px solid var(--sb-accent, #2563eb);
	background: var(--sb-surf, #f4f5fa); border-radius: 8px; font-style: italic;
}

/* Sommaire replié en accordéon sur mobile uniquement (en desktop, il vit dans le rail —
   cf. partial-sidebar.php / partial-sommaire.php). */
.sbt-sommaire-mobile{ display: none; }
@media (max-width: 1080px){ .sbt-sommaire-mobile{ display: block; margin-bottom: 24px; } }
/* 01/10/2026 (baliturismo, juge visuel) : sous 1080px le rail passe SOUS l'article ; sa carte sommaire
   faisait doublon avec le sommaire mobile de tête (erreur n°6 « sommaire en double »). */
@media (max-width: 1080px){ .sbt-rail-carte--sommaire{ display: none; } }

/* « À lire aussi » (toujours un <div>, jamais un <article> — cf. single-article.php) */
.sbt-a-lire{ margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--sb-filet, #e2e5ef); }
.sbt-kicker{ font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); font-size: .9375rem; font-weight: 700; margin-bottom: 12px; }
.sbt-grille{ display: grid; gap: var(--sb-gouttiere, 24px); }
.sbt-grille--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 760px){ .sbt-grille--3{ grid-template-columns: 1fr; } }
.sbt-carte{
	background: var(--sb-fond-carte, #ffffff); border: 1px solid var(--sb-filet, #e2e5ef);
	border-radius: var(--sb-rayon, 14px); overflow: hidden; box-shadow: var(--sb-ombre, 0 8px 24px rgba(15,23,42,.08));
	transition: transform .2s ease, box-shadow .2s ease;
}
.sbt-carte:hover{ transform: translateY(-4px); box-shadow: var(--sb-ombre-forte, 0 16px 40px rgba(15,23,42,.16)); }
.sbt-carte a{ display: block; color: inherit; text-decoration: none; }
.sbt-carte img{ width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sbt-carte-corps{ padding: 18px; }
.sbt-carte-corps h3{ margin: 0; font-size: 1.0625rem; font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); }

.sbt-article-commentaires{ margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--sb-filet, #e2e5ef); }

/* 01/10 (accessoiriste.net) : un seul sommaire visible par largeur — la carte du rail se masque quand l'accordéon mobile s'affiche. */
@media (max-width: 1080px){ .sbt-rail-carte--sommaire{ display: none; } }
/* 05/10 (operations-digestives, juge visuel) : sous-titres collés au paragraphe suivant (marge basse 0 px mesurée) */
.sbt-article-corps h2{ margin-bottom: .6em; }
.sbt-article-corps h3{ margin-bottom: .45em; }

/*
 * BLOC FIGÉ — BARRE LATÉRALE D'ARTICLE (thématique) — CSS
 * Origine : curieux-du-web.com, theme/style.css, règles `.cdw-rail` / `.cdw-rail-carte`
 * (lignes ~854-861, renommées `.sbt-rail*` ici) — commentaire garde-fou d'origine
 * CONSERVÉ TEL QUEL ci-dessous (règle la plus importante de ce bloc).
 *
 * Inspiration secondaire documentée (pas copiée en entier) : amatauto.fr fait basculer
 * sa colonne latérale en bloc STATIQUE empilé sous le texte à partir de 1100px
 * (assets/css/v2.css, `.a2-art__cote { position: sticky; ... }` +
 * `@media (max-width: 1100px) { .a2-art__cote { position: static; } }`) — repris ici en
 * option mobile (media query 1080px, cohérente avec le point de rupture de
 * `.sbt-article-mise-en-page` dans single-article.css).
 */

/* Rail sticky — collé à la colonne de texte, séparation par un filet interne, jamais un
   gap blanc entre les deux colonnes. */
.sbt-rail{
	position: sticky; top: 96px; align-self: start;
	display: flex; flex-direction: column; gap: 20px;
	border-left: 1px solid var(--sb-filet, #e2e5ef); padding-left: 20px;
}
/* ⛔ GARDE-FOU (conservé tel quel depuis curieux-du-web.com, retour Mathias ×3) : jamais
   de overflow-y ni de max-height ici — la colonne reste collante et accompagne TOUTE la
   lecture de l'article jusqu'en bas, sans sa propre barre de défilement interne. */
.sbt-rail-carte{
	background: var(--sb-fond-carte, #ffffff); border: 1px solid var(--sb-filet, #e2e5ef);
	border-radius: var(--sb-rayon, 14px); padding: 18px;
}
.sbt-rail-carte .sbt-t4, .sbt-rail-carte h4{
	font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); font-size: .875rem;
	text-transform: uppercase; letter-spacing: .04em; color: var(--sb-doux, #55607a); margin: 0 0 10px;
}

/* Option mobile (inspirée d'amatauto.fr, cf. en-tête) : sous 1080px, la grille parente
   passe déjà en une colonne (cf. .sbt-article-mise-en-page dans single-article.css) — le
   rail redevient donc naturellement un bloc statique empilé sous le texte. */
@media (max-width: 1080px){
	.sbt-rail{ position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--sb-filet, #e2e5ef); padding-top: 20px; }
}

/* Sommaire tel qu'affiché dans le rail (cf. partial-sommaire.css pour le détail des
   classes `.sbt-sommaire*`) : pas de style supplémentaire ici, la carte du rail suffit. */

/*
 * BLOC FIGÉ — SOMMAIRE (thématique) — CSS
 * CSS volontairement simple (voir partial-sommaire.php : la robustesse de ce bloc est
 * dans le PHP — ids séquentiels, exclusion FAQ/Sources, seuil de 3 titres — pas dans son
 * habillage). Inspiré du rendu `<details>` natif de health-nutrition-cambrai.fr
 * (« Bien Vivre Santé »), classes renommées `.sbt-sommaire*`.
 */

.sbt-sommaire{
	background: var(--sb-fond-carte, #ffffff); border: 1px solid var(--sb-filet, #e2e5ef);
	border-left: 4px solid var(--sb-accent, #2563eb); border-radius: var(--sb-rayon, 14px);
	padding: 16px 20px;
}
.sbt-sommaire-titre{
	font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); font-weight: 700;
	font-size: .9375rem; cursor: pointer; list-style: none;
}
.sbt-sommaire-titre::-webkit-details-marker{ display: none; }
.sbt-sommaire ol{ list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sbt-sommaire li a{
	display: flex; align-items: baseline; gap: 10px; font-size: .9375rem;
	color: var(--sb-encre, #0f172a); text-decoration: none;
}
.sbt-sommaire li a:hover{ color: var(--sb-accent, #2563eb); text-decoration: underline; }
.sbt-sommaire-num{
	font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); font-weight: 700; font-size: .75rem;
	color: var(--sb-encre, #0f172a); background: var(--sb-surf, #f4f5fa); border-radius: 50%;
	width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}

/*
 * BLOC FIGÉ — ENCADRÉS « LE SAVIEZ-VOUS » / « POINTS À RETENIR » (thématique) — CSS
 * Origine : amatauto.fr, assets/css/v2.css, règles `.amat-encadre--retenir` / `.a2-saviez`
 * (renommées `.sbt-encadre--retenir` / `.sbt-encadre--saviez` ici). Habillage simplifié
 * (gradients/decorations ::before retirés pour rester générique et léger), la structure
 * (grille icône + texte pour « le saviez-vous », liste à puces pour « points à retenir »)
 * est conservée.
 */

.sbt-encadre{ margin-block: 2em; border-radius: var(--sb-rayon-grand, 22px); }

.sbt-encadre-titre{
	margin: 0 0 12px; font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif);
	font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em;
}

/* « Points à retenir » — fond foncé, liste à puces check. */
.sbt-encadre--retenir{
	background: var(--sb-fonce, #141733); color: var(--sb-sur-fonce, #ffffff);
	padding: 28px 30px;
}
.sbt-encadre--retenir .sbt-encadre-titre{ color: var(--sb-accent-clair, #93c5fd); }
.sbt-retenir-liste{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sbt-retenir-liste li{
	position: relative; padding-left: 32px; font-size: 1rem; line-height: 1.55;
}
.sbt-retenir-liste li::before{
	content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--sb-accent, #2563eb)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
		center / 12px no-repeat;
}

/* « Le saviez-vous ? » — encadré clair, icône ampoule. */
.sbt-encadre--saviez{
	display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
	padding: 22px 24px; background: var(--sb-surf, #f4f5fa);
}
.sbt-encadre--saviez::before{
	content: "?"; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 14px;
	background: var(--sb-accent, #2563eb); color: #fff; display: flex; align-items: center; justify-content: center;
	font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); font-weight: 700; font-size: 1.375rem;
}
.sbt-encadre--saviez .sbt-encadre-titre{ grid-column: 2; margin: 0; color: var(--sb-encre, #0f172a); }
.sbt-encadre--saviez p:not(.sbt-encadre-titre){ grid-column: 2; margin: 0; font-size: 1rem; line-height: 1.6; color: var(--sb-encre, #0f172a); }

@media (max-width: 620px){
	.sbt-encadre--saviez{ grid-template-columns: 1fr; }
	.sbt-encadre--saviez::before{ grid-row: 1; }
	.sbt-encadre--saviez .sbt-encadre-titre, .sbt-encadre--saviez p:not(.sbt-encadre-titre){ grid-column: 1; }
}
/* 04/10/2026 (invalidcast.com) : la règle de liste du corps d'article écrasait le retrait → la coche mangeait la 1re lettre. */
.sbt-article-corps .sbt-retenir-liste{ padding: 0; margin: 0; list-style: none; }
.sbt-article-corps .sbt-retenir-liste li{ padding-left: 34px; margin: 0; text-indent: 0; }

/*
 * BLOC FIGÉ — FAQ EN ACCORDÉON (thématique) — CSS
 * Visuel inspiré du rendu RÉEL de solutionminceur.fr, classes `.smr-faq*` récupérées par
 * un unique curl en lecture seule sur
 * `https://solutionminceur.fr/wp-content/themes/solutionminceur-v2/roxane.css`
 * (fichier CSS distant, absent du mirroir local du chantier — ce curl a RÉUSSI, voir
 * README). Classes renommées `.sbt-faq*` ici, variables de couleur remplacées par des
 * `var(--sb-*, repli)` génériques.
 *
 * Mécanisme accordéon (natif <details>/<summary>, sans JS) : cf. partial-faq.php, origine
 * health-nutrition-cambrai.fr.
 */

.sbt-faq{ margin: 56px 0; padding: 30px; border-radius: var(--sb-rayon-grand, 22px); background: var(--sb-surf, #f4f5fa); border: 1px solid var(--sb-filet, #e2e5ef); }
.sbt-faq-liste{ display: grid; gap: 10px; }
.sbt-faq-liste details{
	background: var(--sb-fond-carte, #ffffff); border: 1px solid var(--sb-filet, #e2e5ef) !important;
	border-radius: 14px; padding: 0 !important; transition: box-shadow .25s ease, border-color .25s ease;
}
.sbt-faq-liste details[open]{ box-shadow: var(--sb-ombre, 0 8px 24px rgba(15,23,42,.08)); border-color: var(--sb-accent, #2563eb) !important; }
.sbt-faq-liste summary{
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
	gap: 18px; padding: 18px 20px; font-size: 1.03rem; font-weight: 600; line-height: 1.45; color: var(--sb-encre, #0f172a);
}
.sbt-faq-liste summary::-webkit-details-marker{ display: none; }
.sbt-faq-liste summary::after{
	content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%;
	background: var(--sb-surf, #f4f5fa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 15px no-repeat;
	transition: transform .3s ease;
}
.sbt-faq-liste details[open] summary::after{ transform: rotate(135deg); }
.sbt-faq-liste summary:hover{ color: var(--sb-accent, #2563eb); }
.sbt-faq-reponse{ padding: 0 20px 18px; font-size: .96875rem; line-height: 1.75; color: var(--sb-doux, #55607a); }
.sbt-faq-reponse p{ margin: 0 0 14px; }
.sbt-faq-reponse p:last-child{ margin-bottom: 0; }

@media (max-width: 760px){
	.sbt-faq{ padding: 20px; }
}

/*
 * BLOC FIGÉ — SIGNATURE / BOÎTE AUTEUR (thématique) — CSS
 * Visuel inspiré du rendu RÉEL de solutionminceur.fr, classes `.smr-auteur*` récupérées
 * par le même curl en lecture seule que partial-faq.css (roxane.css, voir README).
 * Classes renommées `.sbt-auteur*` ici, variables de couleur remplacées par des
 * `var(--sb-*, repli)` génériques.
 */

.sbt-auteur{
	display: grid; grid-template-columns: 120px 1fr; gap: 26px; margin: 54px 0 10px;
	padding: 30px; border-radius: var(--sb-rayon-grand, 22px);
	background: var(--sb-surf, #f4f5fa); border: 1px solid var(--sb-filet, #e2e5ef);
}
.sbt-auteur-photo img{
	width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
	box-shadow: 0 0 0 5px var(--sb-fond-carte, #ffffff), var(--sb-ombre, 0 8px 24px rgba(15,23,42,.08));
}
.sbt-auteur-sur{ margin: 0 0 2px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sb-doux, #55607a); }
.sbt-auteur-nom{ font-size: 1.5rem; margin: 0 0 4px; font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); }
.sbt-auteur-nom a{ color: var(--sb-encre, #0f172a); text-decoration: none; }
.sbt-auteur-nom a:hover{ text-decoration: underline; }
.sbt-auteur-role{ margin: 0 0 12px; font-size: .8125rem; font-weight: 600; color: var(--sb-accent, #2563eb); text-transform: uppercase; letter-spacing: .05em; }
.sbt-auteur-bio{ font-size: .96875rem; line-height: 1.7; color: var(--sb-encre, #0f172a); margin: 0 0 16px; }
.sbt-auteur-chiffres{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sbt-auteur-chiffres span{ background: var(--sb-fond-carte, #ffffff); border-radius: 12px; padding: 8px 12px; font-size: .78125rem; color: var(--sb-doux, #55607a); }
.sbt-auteur-chiffres b{ color: var(--sb-encre, #0f172a); margin-right: 4px; }
.sbt-auteur-der{ margin-bottom: 18px; }
.sbt-auteur-der p{ margin: 0 0 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sb-doux, #55607a); }
.sbt-auteur-der a{ display: block; font-size: .9375rem; font-weight: 500; padding: 6px 0; color: var(--sb-encre, #0f172a); text-decoration: none; border-bottom: 1px dashed var(--sb-filet, #e2e5ef); }
.sbt-auteur-der a:hover{ color: var(--sb-accent, #2563eb); }
.sbt-auteur-actions{ display: flex; flex-wrap: wrap; gap: 10px; }
.sbt-auteur-actions .sbt-btn{
	display: inline-block; padding: 10px 18px; border-radius: 999px; font-size: .875rem; font-weight: 600;
	text-decoration: none; background: var(--sb-accent, #2563eb); color: #fff;
}
.sbt-auteur-actions .sbt-btn--fantome{ background: transparent; border: 1.5px solid var(--sb-filet, #e2e5ef); color: var(--sb-encre, #0f172a); }

@media (max-width: 700px){
	.sbt-auteur{ grid-template-columns: 1fr; padding: 22px; }
	.sbt-auteur-photo img{ width: 88px; height: 88px; }
}

/*
 * BLOC FIGÉ — PIED DE PAGE (thématique) — CSS
 * Origine : curieux-du-web.com, theme/style.css, règles `.cdw-footer*` / `.cdw-cookies*` /
 * `.cdw-popup-sortie*` / `.cdw-btn*` (renommées `.sbt-footer*` / `.sbt-cookies*` /
 * `.sbt-popup-sortie*` / `.sbt-btn*` ici).
 */

.sbt-btn{
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
	background: var(--sb-accent, #2563eb); color: #fff; text-decoration: none; border: 0; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}
.sbt-btn:hover{ transform: translateY(-2px); box-shadow: var(--sb-ombre, 0 8px 24px rgba(15,23,42,.08)); }
.sbt-btn--petit{ padding: 10px 18px; font-size: .875rem; }
.sbt-btn--fantome{ background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: inherit; }

.sbt-footer{ background: var(--sb-fonce, #141733); color: var(--sb-sur-fonce, #ffffff); padding-block: clamp(40px,6vw,64px) 24px; }
.sbt-footer a{ color: #c4c7e4; text-decoration: none; }
.sbt-footer a:hover{ color: #fff; }

.sbt-footer-cta{
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	padding: 24px 28px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 600px){ .sbt-footer-cta{ padding: 20px; } } /* 04/10/2026 (invalidcast.com) : texte collé au bord dès qu'un thème donne un fond de carte au bandeau */
.sbt-footer-cta .sbt-t3{ color: #fff; margin: 0 0 4px; font-size: 1.25rem; }
.sbt-footer-cta p{ color: #a9acd0; margin: 0; max-width: 46ch; }

.sbt-footer-grille{ display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 980px){ .sbt-footer-grille{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .sbt-footer-grille{ grid-template-columns: 1fr; } }
.sbt-footer-colonne .sbt-t4{ font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: #8b8fb5; margin: 0 0 14px; }
.sbt-footer-colonne ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sbt-footer-colonne ul a{ font-size: .875rem; }
.sbt-footer-logo{ display: block; font-family: var(--sb-titre, 'Manrope', system-ui, sans-serif); font-weight: 700; font-size: 1.125rem; color: #fff; margin-bottom: 14px; }
.sbt-footer-desc{ color: #a9acd0; font-size: .9375rem; margin: 0; max-width: 32ch; }
.sbt-footer-contact{ display: flex; flex-direction: column; gap: 8px; font-size: .875rem; }

.sbt-footer-bas{ padding-top: 20px; font-size: .8125rem; color: #8b8fb5; }

/* Bandeau cookies — deux boutons de MÊME poids (même classe .sbt-btn/.sbt-btn--petit),
   jamais un seul « J'ai compris » qui vaudrait acceptation forcée. */
.sbt-cookies{
	position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 80;
	background: var(--sb-fonce, #141733); color: #fff; border-radius: 12px;
	padding: 10px 14px; display: none; align-items: center; gap: 12px;
	box-shadow: var(--sb-ombre-forte, 0 16px 40px rgba(15,23,42,.16)); max-height: 64px; overflow: hidden;
}
.sbt-cookies.est-visible{ display: flex; }
.sbt-cookies p{ margin: 0; flex: 1; min-width: 0; font-size: .75rem; line-height: 1.3; }
.sbt-cookies-actions{ display: flex; gap: 8px; flex-shrink: 0; }
.sbt-cookies .sbt-btn{ flex-shrink: 0; padding: 8px 14px; min-height: 32px; font-size: .8125rem; }

/* Popup de sortie — jamais de colonne image vide : si pas d'image, la boîte bascule sur
   une seule colonne (cf. .sbt-popup-sortie-boite--sans-image). */
.sbt-popup-sortie{ position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.sbt-popup-sortie.est-ouvert{ display: flex; }
.sbt-popup-sortie-fond{ position: absolute; inset: 0; background: rgba(15,23,42,.7); }
.sbt-popup-sortie-boite{
	position: relative; z-index: 1; background: var(--sb-fond-carte, #ffffff); border-radius: var(--sb-rayon, 14px);
	max-width: 720px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
	box-shadow: var(--sb-ombre-forte, 0 16px 40px rgba(15,23,42,.16)); max-height: 90vh;
}
.sbt-popup-sortie-boite--sans-image{ grid-template-columns: 1fr; max-width: 480px; }
@media (max-width: 640px){ .sbt-popup-sortie-boite{ grid-template-columns: 1fr; max-height: 85vh; overflow-y: auto; } }
.sbt-popup-sortie-image{ min-height: 220px; }
.sbt-popup-sortie-image img{ width: 100%; height: 100%; object-fit: cover; }
.sbt-popup-sortie-texte{ padding: 28px; color: var(--sb-encre, #0f172a); }
.sbt-popup-sortie-fermer{
	position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
	background: var(--sb-fond-carte, #ffffff); border: 1px solid var(--sb-filet, #e2e5ef);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.sbt-popup-sortie-fermer svg{ width: 20px; height: 20px; }

/* ==========================================================================
   cd-cuve — cedes-assainissement.com — feuille principale (assemblée dans tout.css)
   DA v2 (patagonia.com) : la cuve à deux regards + la jauge des boues, seuil 50 %.
   Mode clair uniquement. Préfixe cd-. Les blocs figés (.sbt-*) ne sont habillés que par --sb-*.
   ========================================================================== */

:root {
	--cd-rosee: #EDF3F0;
	--cd-blanc: #FFFFFF;
	--cd-lichen: #E2EBE6;
	--cd-sapin: #12322E;
	--cd-sapin-2: #1A403B;
	--cd-cresson: #1E7D5C;
	--cd-cresson-survol: #155F46;
	--cd-eau: #A9DED3;
	--cd-eau-pale: #DCF1EB;
	--cd-seuil: #C4532F;
	--cd-texte-doux: #4B605A;
	--cd-filet: rgba(18, 50, 46, .14);
	--cd-filet-fort: rgba(18, 50, 46, .28);

	--cd-ombre-carte: 0 10px 28px -14px rgba(18, 50, 46, .26);
	--cd-ombre-form: 0 24px 56px -22px rgba(18, 50, 46, .40);
	--cd-ombre-legere: 0 2px 8px -2px rgba(18, 50, 46, .14);

	--cd-r-tuile: 10px;
	--cd-r-carte: 18px;
	--cd-r-pilule: 999px;

	--cd-titre: 'Mitr', 'Trebuchet MS', system-ui, sans-serif;
	--cd-texte: 'PT Sans', 'Segoe UI', system-ui, sans-serif;

	--cd-conteneur: 1240px;
	--cd-gout: 16px;
	--cd-section-y: 72px;
	--cd-entete-h: 112px;

	/* Jetons des blocs figés (habillage seulement). */
	--sb-conteneur: 1240px;
	--sb-lecture: 720px;
	--sb-rail: 352px;
	--sb-gouttiere: 56px;
	--sb-accent: var(--cd-cresson);
	--sb-accent-clair: var(--cd-eau-pale);
	--sb-encre: var(--cd-sapin);
	--sb-doux: var(--cd-texte-doux);
	--sb-filet: var(--cd-filet);
	--sb-fond-carte: var(--cd-blanc);
	--sb-surf: var(--cd-rosee);
	--sb-fonce: var(--cd-sapin);
	--sb-sur-fonce: #FFFFFF;
	--sb-rayon: var(--cd-r-carte);
	--sb-rayon-grand: var(--cd-r-carte);
	--sb-ombre: var(--cd-ombre-carte);
	--sb-ombre-forte: var(--cd-ombre-form);
	--sb-titre: var(--cd-titre);
	--sb-texte: var(--cd-texte);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cd-entete-h) + 16px); }
body {
	margin: 0;
	background: var(--cd-rosee);
	color: var(--cd-sapin);
	font: 400 18px/1.65 var(--cd-texte);
	overflow-x: clip;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
}
.cd-contenu { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cd-cresson); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--cd-cresson-survol); }
:focus-visible { outline: 3px solid var(--cd-cresson); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--cd-titre); color: var(--cd-sapin); margin: 0; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.cd-ton2 { color: var(--cd-cresson); }
.cd-bande--sapin .cd-ton2, .cd-engagements .cd-ton2, .cd-ciel .cd-ton2 { color: var(--cd-eau); }
.screen-reader-text, .cd-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cd-evitement { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--cd-sapin); color: #fff; padding: 10px 16px; border-radius: 8px; }
.cd-evitement:focus { top: 8px; }
.cd-conteneur { width: min(var(--cd-conteneur), 100% - 2 * var(--cd-gout)); margin-inline: auto; }
.cd-chiffres, .cd-compteur, .cd-repere-chiffre { font-variant-numeric: tabular-nums; }

/* ---------- Boutons, pilules ---------- */
.cd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 26px;
	border: 0; border-radius: var(--cd-r-pilule);
	font: 500 16px/1.1 var(--cd-titre); letter-spacing: .005em;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cd-btn--plein { background: var(--cd-cresson); color: #fff; }
.cd-btn--plein:hover { background: var(--cd-cresson-survol); color: #fff; }
.cd-btn--plein:active { transform: translateY(1px); }
.cd-btn--contour { background: transparent; color: var(--cd-sapin); box-shadow: inset 0 0 0 2px var(--cd-sapin); }
.cd-btn--contour:hover { background: var(--cd-sapin); color: #fff; }
.cd-btn--blanc { background: #fff; color: var(--cd-sapin); }
.cd-btn--grand { min-height: 58px; padding: 0 32px; font-size: 17px; }
.cd-btn[disabled] { opacity: .6; cursor: progress; }
.cd-pastille {
	display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px;
	background: var(--cd-eau-pale); color: var(--cd-sapin); border-radius: var(--cd-r-pilule);
	font: 700 14px/1 var(--cd-texte); letter-spacing: .01em;
}
.cd-pilule-contour {
	display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 4px 14px;
	border-radius: var(--cd-r-pilule); box-shadow: inset 0 0 0 1.5px var(--cd-filet-fort);
	color: var(--cd-sapin); font: 700 15px/1.15 var(--cd-texte); text-decoration: none; text-align: center;
	transition: background-color .15s, box-shadow .15s, color .15s;
}
.cd-pilule-contour:hover { background: var(--cd-sapin); color: #fff; box-shadow: inset 0 0 0 1.5px var(--cd-sapin); }
.cd-pilule-blanche {
	display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px;
	border-radius: var(--cd-r-pilule); background: #fff; color: var(--cd-sapin);
	font: 500 16px/1 var(--cd-titre); text-decoration: none; transition: background-color .15s, color .15s;
}
.cd-pilule-blanche:hover { background: var(--cd-eau); color: var(--cd-sapin); }
.cd-lien-fort { font: 700 16px/1.3 var(--cd-texte); color: var(--cd-sapin); text-decoration: underline; text-decoration-color: var(--cd-eau); text-decoration-thickness: 3px; text-underline-offset: .28em; }
.cd-lien-fort:hover { color: var(--cd-cresson); text-decoration-color: var(--cd-cresson); }
.cd-rond {
	width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--cd-sapin);
	display: inline-grid; place-items: center; cursor: pointer; box-shadow: var(--cd-ombre-legere);
	transition: background-color .15s, color .15s;
}
.cd-rond:hover { background: var(--cd-sapin); color: #fff; }
.cd-rond .cd-picto { width: 22px; height: 22px; }
.cd-picto { width: 24px; height: 24px; flex: none; }

/* ---------- En-tête : barre d'info + menu (collant, pleine largeur) ---------- */
.cd-entete { position: sticky; top: 0; z-index: 100; }
.admin-bar .cd-entete { top: 32px; }
.cd-barre-info { background: var(--cd-sapin); color: #fff; height: 40px; display: grid; place-items: center; padding: 0 16px; }
.cd-barre-info p { font: 400 14px/1 var(--cd-texte); letter-spacing: .01em; }
.cd-barre-court { display: none; }
.cd-menu { background: #fff; border-bottom: 1px solid var(--cd-filet); }
.cd-menu-dedans { width: min(1240px, 100% - 32px); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 28px; }
.cd-menu-logo { display: inline-flex; text-decoration: none; flex: none; }
.cd-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--cd-sapin); }
.cd-logo-symbole { width: 38px; height: auto; }
.cd-logo-mots { display: flex; flex-direction: column; line-height: 1; }
.cd-logo-nom { font: 700 26px/0.9 var(--cd-titre); letter-spacing: -.01em; }
.cd-logo-sous { font: 700 10.5px/1 var(--cd-texte); letter-spacing: .22em; text-transform: uppercase; margin-top: 4px; }
.cd-logo--clair { color: #fff; }
.cd-nav { flex: 1; display: flex; justify-content: center; }
.cd-nav-liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.cd-nav-liste a {
	display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--cd-r-pilule);
	color: var(--cd-sapin); text-decoration: none; font: 700 15.5px/1 var(--cd-texte); white-space: nowrap;
	transition: background-color .15s;
}
.cd-nav-liste a:hover { background: var(--cd-rosee); color: var(--cd-sapin); }
.cd-nav-liste a[aria-current] { box-shadow: inset 0 -3px 0 var(--cd-eau); border-radius: 0; }
.cd-nav-mobile-seul { display: none !important; }
.cd-menu-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.cd-menu-devis { min-height: 48px; padding: 0 22px; }
.cd-menu-devis .cd-picto { display: none; }
.cd-menu-bouton { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--cd-rosee); color: var(--cd-sapin); cursor: pointer; place-items: center; }
.cd-menu-bouton .cd-picto--fermer { display: none; }
.cd-menu-bouton[aria-expanded="true"] .cd-picto--menu { display: none; }
.cd-menu-bouton[aria-expanded="true"] .cd-picto--fermer { display: block; }

@media (max-width: 1500px) {
	.cd-nav-liste { gap: 2px; }
	.cd-nav-liste a { padding: 0 8px; font-size: 14.5px; }
	.cd-menu-dedans { gap: 16px; }
	.cd-menu-devis { padding: 0 18px; }
}
@media (max-width: 1240px) {
	:root { --cd-entete-h: 92px; }
	.cd-barre-info { height: 32px; }
	.cd-barre-info p { font-size: 13px; }
	.cd-barre-long { display: none; }
	.cd-barre-court { display: inline; }
	.cd-menu-dedans { height: 60px; gap: 10px; justify-content: space-between; }
	.cd-logo-symbole { width: 32px; }
	.cd-logo-nom { font-size: 22px; }
	.cd-logo-sous { font-size: 9px; }
	.cd-menu-bouton { display: grid; }
	.cd-nav {
		position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 16px;
		background: #fff; padding: 12px 16px 24px; border-bottom: 1px solid var(--cd-filet); box-shadow: var(--cd-ombre-carte);
		max-height: calc(100vh - var(--cd-entete-h)); overflow: auto;
	}
	.cd-nav.est-ouvert { display: flex; }
	.cd-nav-liste { flex-direction: column; gap: 0; }
	.cd-nav-liste a { min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--cd-filet); border-radius: 0; padding: 0 4px; }
	.cd-nav-mobile-seul { display: flex !important; }
	.cd-nav-devis { width: 100%; }
	.cd-menu { position: relative; }
}
@media (max-width: 520px) {
	.cd-menu-devis { width: 48px; min-height: 48px; padding: 0; }
	.cd-menu-devis-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.cd-menu-devis .cd-picto { display: block; width: 22px; height: 22px; }
}

/* ---------- Bandes ---------- */
.cd-section { position: relative; padding-block: var(--cd-section-y); }
.cd-bande--rosee { background: var(--cd-rosee); }
.cd-bande--blanc { background: var(--cd-blanc); }
.cd-bande--sapin { background: var(--cd-sapin); color: #fff; }
.cd-bande--sapin h2, .cd-bande--sapin h3 { color: #fff; }
.cd-h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.cd-section-tete { margin-bottom: 32px; }
.cd-section-tete--ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cd-section-intro { color: var(--cd-texte-doux); font-size: 18px; max-width: 46ch; }
.cd-bande--sapin .cd-section-intro { color: rgba(255,255,255,.78); }

/* ---------- LA CUVE À DEUX REGARDS (procédé 1) : masque sur une vraie photo ---------- */
.cd-cuve {
	--h: 470px;
	--c: calc(var(--h) * .09);
	--r: calc((var(--h) - var(--c)) / 2);
	--cw: calc(var(--h) * .19);
	position: relative;
	height: var(--h);
	filter: drop-shadow(0 22px 26px rgba(18, 50, 46, .22));
}
.cd-cuve > img, .cd-cuve > .cd-repli {
	width: 100%; height: 100%; object-fit: cover; display: block;
	--cuve-masque:
		radial-gradient(circle at var(--r) calc(var(--c) + var(--r)), #000 calc(var(--r) - .5px), #0000 var(--r)),
		radial-gradient(circle at calc(100% - var(--r)) calc(var(--c) + var(--r)), #000 calc(var(--r) - .5px), #0000 var(--r)),
		linear-gradient(#000 0 0) var(--r) var(--c) / calc(100% - 2 * var(--r)) 100% no-repeat,
		linear-gradient(90deg, #0000 calc(22% - var(--cw) / 2), #000 0 calc(22% + var(--cw) / 2), #0000 0) 0 calc(var(--c) * .55) / 100% 100% no-repeat,
		radial-gradient(calc(var(--cw) / 2) calc(var(--c) * .55) at 22% calc(var(--c) * .55), #000 98%, #0000 100%),
		linear-gradient(90deg, #0000 calc(70% - var(--cw) / 2), #000 0 calc(70% + var(--cw) / 2), #0000 0) 0 calc(var(--c) * .55) / 100% 100% no-repeat,
		radial-gradient(calc(var(--cw) / 2) calc(var(--c) * .55) at 70% calc(var(--c) * .55), #000 98%, #0000 100%);
	-webkit-mask: var(--cuve-masque);
	mask: var(--cuve-masque);
}
.cd-repli { background: var(--cd-eau-pale); display: grid; place-items: center; color: var(--cd-sapin); min-height: 120px; }
.cd-repli-symbole { width: min(30%, 160px); opacity: .55; }

/* ---------- La jauge des boues (procédé 2) ---------- */
.cd-jauge {
	position: absolute; width: 14px; border-radius: 7px; background: #fff;
	box-shadow: 0 0 0 2px var(--cd-sapin), var(--cd-ombre-legere); overflow: hidden; z-index: 3;
}
.cd-jauge-niveau {
	position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--cd-eau);
	transform-origin: bottom; animation: cd-remplir 1.6s cubic-bezier(.2,.7,.2,1) .3s both;
}
.cd-jauge-grad { position: absolute; left: 0; width: 6px; height: 1.5px; background: var(--cd-sapin); bottom: var(--g); opacity: .7; }
.cd-jauge-seuil { position: absolute; left: -2px; right: -2px; bottom: 50%; height: 3px; background: var(--cd-seuil); transform: translateY(1.5px); }
.cd-jauge-etiquette {
	position: absolute; z-index: 3; display: flex; align-items: center; gap: 6px;
	padding: 6px 12px 6px 10px; background: #fff; border-radius: var(--cd-r-pilule);
	font: 700 13px/1 var(--cd-texte); color: var(--cd-sapin); white-space: nowrap; box-shadow: var(--cd-ombre-legere);
}
.cd-jauge-etiquette::before { content: ""; width: 14px; height: 3px; background: var(--cd-seuil); border-radius: 2px; }
.cd-jauge-etiquette b { font: 600 14px/1 var(--cd-titre); color: var(--cd-seuil); font-variant-numeric: tabular-nums; }
@keyframes cd-remplir { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Le tampon de regard (procédé 3) ---------- */
.cd-tampon {
	--t: 112px;
	position: absolute; z-index: 3; width: var(--t); height: var(--t); border-radius: 50%;
	display: grid; place-items: center; text-align: center; padding: 16px;
	background:
		repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, transparent 2px 9px),
		repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 9px),
		radial-gradient(circle, #1F4A44 0 55%, var(--cd-sapin) 70%);
	box-shadow: inset 0 0 0 4px var(--cd-cresson), inset 0 0 0 7px var(--cd-sapin), inset 0 0 0 8px rgba(169,222,211,.5), 0 12px 24px -10px rgba(18,50,46,.5);
	transform: rotate(-8deg);
}
.cd-tampon-texte { font: 600 14px/1.12 var(--cd-titre); color: #fff; }

/* ---------- La ligne de niveau (procédé 4) et les bouées ---------- */
.cd-ligne-niveau { display: block; height: 6px; background: var(--cd-eau); border-radius: 3px; }
.cd-bouee {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: #fff; color: var(--cd-sapin); box-shadow: inset 0 0 0 3px var(--cd-eau), var(--cd-ombre-legere);
	font: 600 20px/1 var(--cd-titre); font-variant-numeric: tabular-nums;
}

/* ---------- Crédit photo dépliable (procédé 6) ---------- */
.cd-credit { position: absolute; z-index: 4; right: 18px; bottom: 16px; }
.cd-credit-bouton {
	width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.92); color: var(--cd-sapin); display: grid; place-items: center; box-shadow: var(--cd-ombre-legere);
}
.cd-credit-bouton .cd-picto { width: 19px; height: 19px; }
.cd-credit-bouton[aria-expanded="true"] { background: var(--cd-sapin); color: #fff; }
.cd-credit-bulle {
	position: absolute; right: 0; bottom: 46px; width: max-content; max-width: min(320px, 80vw);
	background: #fff; color: var(--cd-sapin); border-radius: 12px; padding: 12px 14px; box-shadow: var(--cd-ombre-carte);
	font: 400 14px/1.4 var(--cd-texte);
}
.cd-credit-bulle[hidden] { display: none; }
.cd-credit-legende { font-weight: 700; margin-bottom: 2px; }
.cd-credit-auteur { color: var(--cd-texte-doux); }
.cd-credit-source { font-size: 13px; }

/* ==========================================================================
   PREMIER ÉCRAN (DA §8)
   ========================================================================== */
.cd-hero {
	padding-block: 28px 36px;
	background-color: var(--cd-rosee);
	background-image: repeating-linear-gradient(180deg, transparent 0 95px, rgba(18,50,46,.04) 95px 96px);
	overflow-x: clip;
}
.cd-hero-dedans {
	width: min(1240px, 100% - 2 * var(--cd-gout));
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 44fr) minmax(0, 52fr);
	grid-template-areas: "texte visuel" "plus visuel";
	grid-template-rows: auto 1fr;
	column-gap: 4%;
}
.cd-hero-texte { grid-area: texte; padding-top: 18px; }
.cd-hero-plus { grid-area: plus; padding-top: 24px; padding-right: 96px; }
.cd-hero-visuel { grid-area: visuel; position: relative; --carte-haut: calc(var(--h) * .5); --h: clamp(400px, 32.6vw, 560px); padding-bottom: calc(var(--carte-haut) + var(--form-h, 392px) - var(--h)); }
.cd-hero-titre {
	margin-top: 22px;
	font-size: clamp(40px, 5vw, 90px); line-height: 1; letter-spacing: -.02em; font-weight: 700;
	max-width: 12.5ch;
}
.cd-hero-chapo { font-size: 21px; line-height: 1.5; color: var(--cd-sapin); max-width: 40ch; }
.cd-reassurances { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cd-reassurances li { display: flex; align-items: center; gap: 10px; font: 700 16px/1.3 var(--cd-texte); }
.cd-reassurances .cd-picto { color: var(--cd-cresson); width: 26px; height: 26px; }
.cd-cuve--hero { --h: inherit; height: var(--h); }
.cd-hero-visuel .cd-cuve { --h: clamp(400px, 32.6vw, 560px); }
.cd-jauge--hero { left: -7px; top: calc(var(--h) * .12); height: calc(var(--carte-haut) - var(--h) * .12 - 26px); }
.cd-jauge--hero-etiquette { left: 18px; top: calc(var(--h) * .12 + (var(--carte-haut) - var(--h) * .12 - 26px) / 2 - 14px); }
.cd-tampon--hero { top: -26px; right: -30px; }
.cd-hero-visuel > .cd-credit { bottom: auto; top: calc(var(--h) - 56px); right: calc(var(--h) * .3); }
.cd-hero-form { position: absolute; z-index: 5; top: var(--carte-haut); left: -80px; width: 380px; }

@media (min-width: 1680px) {
	.cd-hero-dedans { width: min(1720px, 100% - 200px); }
	.cd-hero-form { width: 420px; }
	.cd-hero-titre { max-width: 13ch; }
}
@media (max-width: 1240px) and (min-width: 1000px) {
	.cd-hero-plus { padding-right: 40px; }
	.cd-hero-chapo { font-size: 19px; }
}
@media (max-width: 999px) {
	.cd-hero { padding-block: 16px 40px; }
	.cd-hero-dedans { grid-template-columns: minmax(0, 1fr); grid-template-areas: "texte" "visuel" "plus"; grid-template-rows: auto; }
	.cd-hero-texte { padding-top: 0; }
	.cd-hero-titre { margin-top: 14px; max-width: 16ch; }
	.cd-hero-visuel { margin-top: 20px; padding-bottom: 0; --h: clamp(220px, 46vw, 380px); --carte-haut: 0px; }
	.cd-hero-visuel .cd-cuve { --h: clamp(220px, 46vw, 380px); }
	.cd-hero-form { position: relative; top: auto; left: auto; width: auto; max-width: 460px; margin: -56px 8px 0; }
	.cd-jauge--hero { left: -4px; width: 8px; border-radius: 4px; top: calc(var(--h) * .16); height: calc(var(--h) * .5); box-shadow: 0 0 0 1.5px var(--cd-sapin); }
	.cd-jauge--hero .cd-jauge-grad { width: 4px; }
	.cd-jauge--hero-etiquette { left: 12px; top: calc(var(--h) * .41 - 13px); font-size: 12px; padding: 5px 10px 5px 8px; }
	.cd-tampon--hero { --t: 72px; padding: 8px; top: -14px; right: -4px; }
	.cd-tampon--hero .cd-tampon-texte { font-size: 10.5px; }
	.cd-hero-visuel > .cd-credit { top: 12px; right: auto; left: calc(var(--h) * .5); }
	.cd-hero-plus { padding: 28px 0 0; }
	.cd-reassurances { flex-direction: column; }
}
@media (max-width: 999px) and (min-width: 600px) {
	.cd-hero-titre { font-size: clamp(48px, 7vw, 64px); }
}

/* ==========================================================================
   FORMULAIRE DE DEVIS (carte flottante, 3 étapes)
   ========================================================================== */
.cd-form-carte {
	background: #fff; border-radius: var(--cd-r-carte); box-shadow: var(--cd-ombre-form);
	padding: 18px 22px 18px; color: var(--cd-sapin); position: relative;
}
.cd-form-tete { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; margin-bottom: 10px; }
.cd-form-titre { font: 600 18px/1.2 var(--cd-titre); grid-column: 1; }
.cd-form-progres { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 4px; align-items: flex-end; }
.cd-form-progres span { width: 9px; height: 26px; border-radius: 5px; background: var(--cd-lichen); box-shadow: inset 0 0 0 1.5px var(--cd-filet-fort); transition: background-color .25s; }
.cd-form-progres span.est-fait { background: var(--cd-eau); box-shadow: inset 0 0 0 1.5px var(--cd-cresson); }
.cd-form-compteur { grid-column: 1; font: 700 13px/1 var(--cd-texte); color: var(--cd-texte-doux); }
.cd-form-compteur b { color: var(--cd-cresson); }
.cd-form { margin: 0; }
.cd-form-etape { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cd-form-etape[hidden], .cd-form-merci[hidden] { display: none; }
.cd-etape-legende { font: 600 16px/1.25 var(--cd-titre); padding: 0; margin-bottom: 2px; float: left; width: 100%; }
.cd-etape-legende + * { clear: both; }
.cd-tuiles { display: grid; gap: 8px; }
.cd-tuiles--2 { grid-template-columns: 1fr 1fr; }
.cd-tuiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cd-tuile {
	min-height: 46px; padding: 6px 10px; border: 0; border-radius: var(--cd-r-pilule); cursor: pointer;
	background: var(--cd-rosee); color: var(--cd-sapin); box-shadow: inset 0 0 0 1.5px var(--cd-filet);
	font: 700 15px/1.12 var(--cd-texte); text-align: center;
	transition: background-color .15s, box-shadow .15s, color .15s;
}
.cd-tuiles--3 .cd-tuile { font-size: 14px; padding: 4px 8px; }
.cd-tuile:hover { box-shadow: inset 0 0 0 2px var(--cd-cresson); }
.cd-tuile[aria-pressed="true"] { background: var(--cd-sapin); color: #fff; box-shadow: inset 0 0 0 2px var(--cd-sapin); }
.cd-groupe-label, .cd-champ-label { display: block; font: 700 13.5px/1.2 var(--cd-texte); color: var(--cd-texte-doux); }
.cd-groupe-label { margin-bottom: -4px; }
.cd-champ { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cd-champ input, .cd-champ select {
	width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--cd-filet-fort);
	background: #fff; font: 400 17px/1.2 var(--cd-texte); color: var(--cd-sapin);
}
.cd-champ select { appearance: none; -webkit-appearance: none; padding-right: 36px; font-size: 16px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312322E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; }
.cd-champ input:focus, .cd-champ select:focus { outline: none; border-color: var(--cd-cresson); box-shadow: 0 0 0 3px var(--cd-eau-pale); }
.cd-champ input[aria-invalid="true"] { border-color: var(--cd-seuil); }
.cd-form-ligne { display: grid; gap: 10px; }
.cd-form-ligne--2 { grid-template-columns: 1fr 1fr; }
.cd-form-ligne--cp { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.cd-form-ligne--cp .cd-btn { min-height: 48px; padding: 0 22px; }
.cd-form-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 2px; }
.cd-form-actions .cd-btn { width: 100%; min-height: 50px; }
.cd-retour {
	width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--cd-rosee); color: var(--cd-sapin);
	display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--cd-filet);
}
.cd-retour:hover { box-shadow: inset 0 0 0 2px var(--cd-sapin); }
.cd-retour .cd-picto { width: 20px; height: 20px; }
.cd-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font: 400 14px/1.35 var(--cd-texte); color: var(--cd-texte-doux); cursor: pointer; }
.cd-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cd-cresson); }
.cd-form-erreur { color: var(--cd-seuil); font: 700 14px/1.3 var(--cd-texte); }
.cd-form-erreur[hidden] { display: none; }
.cd-form-promesse, .cd-form-rgpd { font: 400 13.5px/1.4 var(--cd-texte); color: var(--cd-texte-doux); }
.cd-form-rgpd a { color: var(--cd-texte-doux); }
.cd-form-merci { text-align: center; padding: 18px 6px 10px; display: grid; justify-items: center; gap: 8px; }
.cd-form-merci .cd-picto { width: 44px; height: 44px; color: #fff; background: var(--cd-cresson); border-radius: 50%; padding: 9px; }
.cd-merci-titre { font: 600 22px/1.2 var(--cd-titre); }
.cd-form-carte.est-envoye .cd-form-tete { display: none; }
@media (min-width: 1680px) {
	.cd-form-carte--hero { padding: 22px 26px; }
	.cd-form-carte--hero .cd-form-titre { font-size: 20px; }
}
@media (max-width: 420px) {
	.cd-form-carte { padding: 16px 14px; }
	.cd-tuiles--3 .cd-tuile { font-size: 13.5px; padding: 4px 6px; }
	.cd-form-ligne--cp .cd-btn { padding: 0 16px; }
}

/* ==========================================================================
   SECTIONS DE L'ACCUEIL (DA §9) — chacune ≤ 704 px à 1440
   ========================================================================== */

/* 2. Repères (bande sapin) */
.cd-reperes-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; }
.cd-repere { border-top: 6px solid var(--cd-eau); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.cd-repere-chiffre { font: 600 72px/1 var(--cd-titre); color: #fff; letter-spacing: -.02em; }
.cd-repere-unite { color: var(--cd-eau); font-size: .5em; margin-left: .12em; }
.cd-repere-texte { font-size: 18px; line-height: 1.45; color: rgba(255,255,255,.9); }
.cd-repere-source { margin-top: auto; font: 400 14px/1.3 var(--cd-texte); color: var(--cd-eau); }
.cd-repere-source:hover { color: #fff; }

/* 3. Comment se passe une vidange (bande blanche) */
.cd-deroule-grille { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cd-ligne-niveau--deroule { position: absolute; left: -100vw; right: -100vw; top: 214px; z-index: 0; }
.cd-etape { position: relative; z-index: 1; display: flex; flex-direction: column; }
.cd-etape-photo { height: 214px; border-radius: var(--cd-r-tuile); overflow: hidden; background: var(--cd-eau-pale); }
.cd-etape-photo img, .cd-etape-photo .cd-repli { width: 100%; height: 100%; object-fit: cover; }
.cd-etape .cd-bouee { margin: -24px 0 0 20px; position: relative; }
.cd-etape-titre { font: 600 24px/1.2 var(--cd-titre); margin-top: 10px; }
.cd-etape-texte { font-size: 17px; line-height: 1.5; color: var(--cd-texte-doux); margin-top: 6px; }
.cd-deroule-action { margin-top: 28px; }
.cd-deroule { overflow-x: clip; }

/* 4. Vue du ciel bord à bord (procédé Patagonia) */
.cd-ciel { height: 560px; padding: 0; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--cd-sapin); }
.cd-ciel-photo { position: absolute; inset: 0; }
.cd-ciel-photo img, .cd-ciel-photo .cd-repli { width: 100%; height: 100%; object-fit: cover; }
.cd-ciel-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,50,46,.86) 0%, rgba(18,50,46,.62) 38%, rgba(18,50,46,0) 72%); }
.cd-ciel-dedans { position: relative; z-index: 1; }
.cd-ciel-titre { color: #fff; font-size: 56px; line-height: 1.04; letter-spacing: -.02em; max-width: 15ch; }
.cd-ciel-texte { margin-top: 18px; font-size: 19px; max-width: 44ch; color: rgba(255,255,255,.92); }
.cd-ciel-boutons { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* 5. Les six rubriques (tuiles photo, à la Patagonia) */
.cd-rubriques .cd-conteneur { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; align-items: start; }
.cd-rubriques .cd-section-tete { flex-direction: column; align-items: flex-start; margin: 0; position: sticky; top: calc(var(--cd-entete-h) + 24px); }
.cd-rub-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.cd-rub-tuile { min-width: 0; }
.cd-rub-photo { display: block; height: 200px; border-radius: var(--cd-r-tuile); overflow: hidden; background: var(--cd-eau-pale); }
.cd-rub-photo img, .cd-rub-photo .cd-repli { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cd-rub-tuile:hover .cd-rub-photo img { transform: scale(1.04); }
.cd-rub-nom { font: 600 22px/1.2 var(--cd-titre); margin-top: 12px; }
.cd-rub-nom a { color: var(--cd-sapin); text-decoration: none; }
.cd-rub-tuile:hover .cd-rub-nom a { text-decoration: underline; text-decoration-color: var(--cd-eau); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.cd-rub-nb { display: block; font: 700 14px/1.3 var(--cd-texte); color: var(--cd-texte-doux); margin-top: 2px; }
.cd-rub-liens { margin-top: 6px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.35; }
.cd-rub-liens a { color: var(--cd-sapin); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-rub-liens a:hover { color: var(--cd-cresson); }
.cd-rub-liens span { color: var(--cd-texte-doux); }

/* 6. Trouver un vidangeur */
.cd-trouver { padding-block: 56px; }
.cd-trouver-grille { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 56px; align-items: center; }
.cd-trouver-visuel { position: relative; }
.cd-cuve--trouver { --h: 380px; }
.cd-trouver-visuel .cd-credit { right: 30%; bottom: 14px; }
.cd-trouver .cd-h2 { font-size: 36px; }
.cd-cp-form { display: grid; grid-template-columns: minmax(0, 260px) auto; gap: 10px; align-items: end; margin: 18px 0 18px; }
.cd-cp-retour { grid-column: 1 / -1; font-size: 15px; color: var(--cd-texte-doux); }
.cd-villes { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 8px; }
.cd-villes .cd-pilule-contour { min-height: 34px; font-size: 14.5px; padding: 2px 10px; }

/* 7. Engagements (bande sapin, procédé 5) */
.cd-engagements { background: var(--cd-sapin); color: #fff; }
.cd-engagements .cd-h2 { color: #fff; }
.cd-eng-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.cd-eng { display: flex; flex-direction: column; gap: 14px; }
.cd-eng .cd-picto { width: 40px; height: 40px; color: #fff; stroke-width: 1.4; }
.cd-eng-phrase { font: 600 22px/1.22 var(--cd-titre); color: #fff; letter-spacing: -.01em; }
.cd-eng-lien { color: var(--cd-eau); font: 700 15px/1.3 var(--cd-texte); text-decoration: underline; text-underline-offset: .22em; margin-top: auto; }
.cd-eng-lien:hover { color: #fff; }

/* 8. Derniers guides (rangée défilante) + cartes */
.cd-histoires-nav { display: flex; gap: 10px; }
.cd-histoires {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 4.4); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain;
}
.cd-histoires::-webkit-scrollbar { display: none; }
.cd-histoires > * { scroll-snap-align: start; }
.cd-histoires-pied { margin-top: 22px; }

.cd-carte { display: flex; flex-direction: column; min-width: 0; background: var(--cd-lichen); border-radius: var(--cd-r-tuile); overflow: hidden; position: relative; transition: box-shadow .2s; }
.cd-carte:hover { box-shadow: var(--cd-ombre-carte); }
.cd-carte-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cd-eau-pale); }
.cd-carte-photo img, .cd-carte-photo .cd-repli { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cd-carte:hover .cd-carte-photo img { transform: scale(1.04); }
.cd-carte-corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cd-carte-rub { font: 700 13px/1.2 var(--cd-texte); color: var(--cd-cresson); }
.cd-carte-titre { font: 700 19px/1.3 var(--cd-texte); letter-spacing: 0; }
.cd-carte-titre a { color: var(--cd-sapin); text-decoration: none; }
.cd-carte-titre a::after { content: ""; position: absolute; inset: 0; }
.cd-carte:hover .cd-carte-titre a { text-decoration: underline; text-decoration-color: var(--cd-cresson); text-decoration-thickness: 2px; }
.cd-carte-extrait { font-size: 16px; line-height: 1.45; color: var(--cd-texte-doux); }
.cd-carte-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font: 700 13.5px/1.2 var(--cd-texte); color: var(--cd-texte-doux); }
.cd-carte-meta img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cd-carte--blanche { background: #fff; }
.cd-grille-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cd-grille-cartes > .cd-carte.est-cache { display: none; }
.cd-plus { margin-top: 32px; text-align: center; }

/* ==========================================================================
   RESPONSIVE DES SECTIONS
   ========================================================================== */
@media (max-width: 1100px) {
	.cd-eng-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cd-histoires { grid-auto-columns: calc((100% - 2 * 20px) / 2.6); }
	.cd-rubriques .cd-conteneur { grid-template-columns: 1fr; gap: 24px; }
	.cd-rubriques .cd-section-tete { position: static; }
	.cd-trouver-grille { grid-template-columns: 1fr; gap: 32px; }
	.cd-cuve--trouver { --h: clamp(220px, 50vw, 360px); }
	.cd-grille-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	:root { --cd-section-y: 48px; }
	body { font-size: 17px; }
	.cd-h2 { font-size: 28px; }
	.cd-section-tete { margin-bottom: 22px; }
	.cd-reperes-liste { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
	.cd-repere-chiffre { font-size: 48px; }
	.cd-repere-texte { font-size: 16px; }
	.cd-deroule-grille { grid-template-columns: 1fr; gap: 28px; }
	.cd-ligne-niveau--deroule { display: none; }
	.cd-etape-photo { height: 200px; }
	.cd-ciel { height: auto; min-height: 520px; padding: 56px 0; align-items: flex-end; }
	.cd-ciel-photo::after { background: linear-gradient(0deg, rgba(18,50,46,.9) 0%, rgba(18,50,46,.55) 55%, rgba(18,50,46,.1) 100%); }
	.cd-ciel-titre { font-size: 34px; }
	.cd-ciel-boutons .cd-pilule-blanche { min-height: 46px; padding: 0 18px; }
	.cd-rub-grille { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
	.cd-rub-photo { height: 150px; }
	.cd-rub-nom { font-size: 19px; }
	.cd-rub-liens { display: none; }
	.cd-trouver .cd-h2 { font-size: 28px; }
	.cd-cp-form { grid-template-columns: minmax(0, 1fr) auto; }
	.cd-villes { grid-template-columns: 1fr 1fr; }
	.cd-eng-liste { grid-template-columns: 1fr; gap: 26px; }
	.cd-eng { display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; }
	.cd-eng .cd-picto { grid-row: span 2; }
	.cd-eng-phrase { font-size: 20px; }
	.cd-histoires { grid-auto-columns: 78%; gap: 14px; }
	.cd-histoires-nav { display: none; }
	.cd-grille-cartes { grid-template-columns: 1fr; }
	.cd-form-ligne--2 { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   EN-TÊTE D'ARTICLE (DA §10) — bande eau claire, photo en cuve, tampon à cheval
   ========================================================================== */
.cd-art-entete { position: relative; background: linear-gradient(180deg, var(--cd-eau-pale) 0 var(--cd-coupe, 72%), var(--cd-rosee) var(--cd-coupe, 72%)); padding: 28px 0 40px; }
.cd-art-entete-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.cd-ariane { font: 700 14px/1.4 var(--cd-texte); color: var(--cd-texte-doux); margin-bottom: 18px; }
.cd-ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.cd-ariane li + li::before { content: "/"; margin-right: 8px; color: var(--cd-filet-fort); }
.cd-ariane a { color: var(--cd-texte-doux); text-decoration: none; }
.cd-ariane a:hover { color: var(--cd-cresson); text-decoration: underline; }
.cd-art-titre { font-size: 52px; line-height: 1.08; letter-spacing: -.02em; }
.cd-art-chapo { margin-top: 18px; font-size: 21px; line-height: 1.5; max-width: 52ch; }
.cd-art-meta { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; font: 700 14px/1.3 var(--cd-texte); color: var(--cd-texte-doux); }
.cd-art-auteur { display: inline-flex; align-items: center; gap: 10px; color: var(--cd-sapin); text-decoration: none; }
.cd-art-auteur img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.cd-art-auteur:hover { color: var(--cd-cresson); }
.cd-art-visuel { position: relative; margin-top: 36px; }
.cd-art-visuel .cd-cuve { --h: clamp(260px, 25vw, 360px); }
.cd-art-visuel .cd-tampon { --t: 104px; left: -28px; bottom: -34px; font-size: 13px; }
.cd-art-visuel .cd-tampon-texte { font-size: 13px; }
.cd-art-visuel .cd-credit { right: 22%; bottom: 12px; }
@media (max-width: 900px) {
	.cd-art-entete { --cd-coupe: 58%; padding-top: 18px; }
	.cd-art-entete-grille { grid-template-columns: 1fr; gap: 24px; }
	.cd-art-titre { font-size: 32px; }
	.cd-art-chapo { font-size: 18px; }
	.cd-art-visuel { margin-top: 0; }
	.cd-art-visuel .cd-cuve { --h: clamp(200px, 56vw, 320px); }
	.cd-art-visuel .cd-tampon { --t: 64px; padding: 6px; left: auto; right: 4px; bottom: -18px; }
	.cd-art-visuel .cd-tampon-texte { font-size: 9.5px; }
}

/* Corps + barre latérale figés : habillage */
.cd-art-corps { padding-bottom: 72px; }
.cd-a-lire { background: var(--cd-blanc); padding: 64px 0 72px; }
.cd-a-lire .cd-h2 { margin-bottom: 26px; }
.cd-a-lire .cd-histoires { grid-auto-columns: calc((100% - 3 * 20px) / 4); }

/* ==========================================================================
   EN-TÊTE DE RUBRIQUE (DA §11) — ligne de niveau, photo, compteur
   ========================================================================== */
.cd-rub-entete { position: relative; background: var(--cd-rosee); padding: 40px 0 44px; overflow: hidden; }
.cd-rub-entete-grille { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; align-items: center; min-height: 280px; }
.cd-rub-entete .cd-ligne-niveau { position: absolute; left: 0; right: 0; top: 62%; z-index: 1; border-radius: 0; }
.cd-rub-entete-texte { position: relative; z-index: 2; }
.cd-rub-titre { font-size: 64px; line-height: 1.02; letter-spacing: -.02em; }
.cd-rub-promesse { margin-top: 16px; font-size: 20px; line-height: 1.45; max-width: 40ch; color: var(--cd-sapin); }
.cd-rub-entete-photo { position: relative; z-index: 0; height: 280px; border-radius: var(--cd-r-tuile); overflow: hidden; background: var(--cd-eau-pale); }
.cd-rub-entete-photo img, .cd-rub-entete-photo .cd-repli { width: 100%; height: 100%; object-fit: cover; }
.cd-bouee-compteur {
	position: absolute; z-index: 3; top: 62%; transform: translateY(calc(-50% + 3px)); right: calc(560px + 24px);
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--cd-r-pilule);
	background: #fff; box-shadow: inset 0 0 0 3px var(--cd-eau), var(--cd-ombre-legere); font: 600 17px/1 var(--cd-titre);
	font-variant-numeric: tabular-nums;
}
.cd-rub-une { padding: 40px 0 8px; }
.cd-une { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: #fff; border-radius: var(--cd-r-carte); overflow: hidden; box-shadow: var(--cd-ombre-carte); height: clamp(380px, calc(100vh - 220px), 500px); position: relative; }
.cd-une-photo { display: flex; min-height: 0; background: var(--cd-eau-pale); }
.cd-une-photo img, .cd-une-photo .cd-repli { flex: 1; width: 100%; height: 100%; object-fit: cover; }
.cd-une-corps { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cd-une-titre { font: 700 32px/1.12 var(--cd-titre); letter-spacing: -.015em; }
.cd-une-titre a { color: var(--cd-sapin); text-decoration: none; }
.cd-une-titre a::after { content: ""; position: absolute; inset: 0; }
.cd-une-titre a:hover { text-decoration: underline; text-decoration-color: var(--cd-eau); text-decoration-thickness: 4px; }
.cd-une-extrait { font-size: 18px; color: var(--cd-texte-doux); }
.cd-rub-liste { padding: 32px 0 80px; }
@media (max-width: 900px) {
	.cd-rub-entete { padding: 24px 0 28px; }
	.cd-rub-entete-grille { grid-template-columns: 1fr; gap: 20px; min-height: 0; }
	.cd-rub-titre { font-size: 40px; }
	.cd-rub-promesse { font-size: 18px; }
	.cd-rub-entete-photo { height: 200px; }
	.cd-rub-entete .cd-ligne-niveau { top: auto; bottom: 120px; }
	.cd-bouee-compteur { position: relative; top: auto; right: auto; transform: none; margin-top: 16px; }
	.cd-une { grid-template-columns: 1fr; height: auto; }
	.cd-une-photo { height: 220px; }
	.cd-une-corps { padding: 20px; }
	.cd-une-titre { font-size: 24px; }
}

/* Hub trouver-un-pro : tuiles-ville */
.cd-hub-recherche { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 240px) auto; gap: 10px; align-items: end; }
.cd-hub { padding: 40px 0 80px; }
.cd-hub-grille { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.cd-tuiles-ville { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cd-tuile-ville { position: relative; background: #fff; border-radius: var(--cd-r-tuile); overflow: hidden; box-shadow: var(--cd-ombre-legere); }
.cd-tuile-ville-photo { display: block; height: 150px; background: var(--cd-eau-pale); overflow: hidden; }
.cd-tuile-ville-photo img, .cd-tuile-ville-photo .cd-repli { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cd-tuile-ville:hover img { transform: scale(1.04); }
.cd-tuile-ville-corps { padding: 12px 14px 14px; }
.cd-tuile-ville-nom { font: 600 20px/1.2 var(--cd-titre); }
.cd-tuile-ville-nom a { color: var(--cd-sapin); text-decoration: none; }
.cd-tuile-ville-nom a::after { content: ""; position: absolute; inset: 0; }
.cd-tuile-ville-sous { font-size: 14.5px; color: var(--cd-texte-doux); margin-top: 2px; }
.cd-hub-colonne { position: sticky; top: calc(var(--cd-entete-h) + 20px); }
.cd-hub-autres { margin-top: 48px; }
@media (max-width: 1100px) {
	.cd-hub-grille { grid-template-columns: 1fr; }
	.cd-hub-colonne { position: static; }
	.cd-tuiles-ville { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.cd-tuile-ville-photo { height: 110px; }
	.cd-tuile-ville-nom { font-size: 17px; }
	.cd-tuiles-ville { gap: 12px; }
}

/* ==========================================================================
   PAGE VILLE (DA §12)
   ========================================================================== */
.cd-ville-hero { background: var(--cd-rosee); padding: 28px 0 36px; overflow-x: clip; background-image: repeating-linear-gradient(180deg, transparent 0 95px, rgba(18,50,46,.04) 95px 96px); }
.cd-ville-hero-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.cd-ville-titre { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.03; letter-spacing: -.02em; margin-top: 16px; }
.cd-ville-chapo { margin-top: 16px; font-size: 19px; line-height: 1.5; max-width: 44ch; }
.cd-ville-visuel { position: relative; }
.cd-ville-visuel .cd-cuve { --h: clamp(240px, 24vw, 340px); }
.cd-ville-visuel .cd-tampon { top: -22px; right: -14px; --t: 104px; }
.cd-ville-visuel .cd-credit { right: 24%; bottom: auto; top: calc(var(--h, 340px) - 52px); }
.cd-ville-form { position: relative; z-index: 4; margin: -96px 0 0 -40px; width: 400px; max-width: 100%; }
.cd-ville-corps { padding: 48px 0 72px; }
.cd-ville-corps-grille { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.cd-ville-colonne { position: sticky; top: calc(var(--cd-entete-h) + 20px); }
.cd-ville-colonne .cd-form-carte { box-shadow: var(--cd-ombre-carte); }
.cd-accordeons { display: flex; flex-direction: column; gap: 12px; }
.cd-accordeon { background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--cd-filet); }
.cd-accordeon > summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px; min-height: 64px;
}
.cd-accordeon > summary::-webkit-details-marker { display: none; }
.cd-accordeon > summary h2 { font: 600 22px/1.25 var(--cd-titre); letter-spacing: -.01em; }
.cd-accordeon > summary::after {
	content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cd-rosee) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312322E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .2s;
}
.cd-accordeon[open] > summary::after { transform: rotate(45deg); background-color: var(--cd-eau); }
.cd-accordeon-corps { padding: 0 22px 22px; }
.cd-intro-ville { font-size: 19px; line-height: 1.6; margin-bottom: 22px; }
.cd-voisines { margin-top: 40px; }
.cd-voisines h2 { font: 600 26px/1.2 var(--cd-titre); margin-bottom: 14px; }
.cd-voisines ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cd-voisines .cd-pilule-contour { min-height: 44px; padding: 0 18px; }
.cd-voisines .cd-pilule-contour small { font-weight: 400; color: var(--cd-texte-doux); margin-left: 6px; }
@media (max-width: 1060px) {
	.cd-ville-hero-grille { grid-template-columns: 1fr; gap: 20px; }
	.cd-ville-visuel .cd-cuve { --h: clamp(200px, 50vw, 320px); }
	.cd-ville-form { margin: -48px 8px 0; width: auto; max-width: 460px; }
	.cd-ville-visuel .cd-tampon { --t: 72px; padding: 6px; right: -2px; top: -12px; }
	.cd-ville-visuel .cd-tampon-texte { font-size: 11px; }
	.cd-ville-corps-grille { grid-template-columns: 1fr; }
	.cd-ville-colonne { position: static; }
}

/* ==========================================================================
   CORPS DE TEXTE (pages, contenu de ville, mentions)
   ========================================================================== */
.cd-prose { font-size: 18px; line-height: 1.65; }
.cd-prose > * + * { margin-top: 1em; }
.cd-prose h2 { font-size: 30px; line-height: 1.15; margin-top: 1.6em; }
.cd-prose h3 { font-size: 22px; line-height: 1.25; margin-top: 1.4em; }
.cd-prose ul, .cd-prose ol { padding-left: 1.3em; }
.cd-prose li + li { margin-top: .35em; }
.cd-prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.cd-prose th, .cd-prose td { padding: 10px 14px; border-bottom: 1px solid var(--cd-filet); text-align: left; }
.cd-prose th { background: var(--cd-sapin); color: #fff; font-family: var(--cd-titre); font-weight: 500; }
.cd-prose img { border-radius: var(--cd-r-tuile); }
.cd-prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 6px solid var(--cd-eau); background: #fff; border-radius: 0 12px 12px 0; }

/* ==========================================================================
   PAGES : contact, à propos, sobre (mentions / confidentialité), auteur, 404, recherche
   ========================================================================== */
.cd-page-entete { background: var(--cd-rosee); padding: 40px 0 36px; }
.cd-page-titre { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.02em; max-width: 20ch; }
.cd-page-chapo { margin-top: 14px; font-size: 20px; max-width: 54ch; }
.cd-page-sobre { padding: 8px 0 80px; }
.cd-page-sobre-grille { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; justify-content: center; align-items: start; }
.cd-page-sobre .cd-prose { background: #fff; padding: 40px 48px; border-radius: var(--cd-r-carte); box-shadow: var(--cd-ombre-legere); }
.cd-page-sommaire { position: sticky; top: calc(var(--cd-entete-h) + 24px); font-size: 15px; }
.cd-page-sommaire p { font: 600 16px/1.2 var(--cd-titre); margin-bottom: 10px; }
.cd-page-sommaire ol { margin: 0; padding: 0 0 0 16px; border-left: 4px solid var(--cd-eau); list-style: none; display: grid; gap: 8px; }
.cd-page-sommaire a { color: var(--cd-sapin); text-decoration: none; }
.cd-page-sommaire a:hover { color: var(--cd-cresson); text-decoration: underline; }
@media (max-width: 900px) {
	.cd-page-sobre-grille { grid-template-columns: 1fr; gap: 20px; }
	.cd-page-sommaire { position: static; }
	.cd-page-sobre .cd-prose { padding: 24px 18px; }
}

/* Contact */
.cd-contact-hero { padding: 40px 0 72px; background: var(--cd-rosee); }
.cd-contact-grille { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 32px; }
.cd-contact-droite { position: relative; display: flex; flex-direction: column; gap: 28px; }
.cd-contact-droite .cd-cuve { --h: clamp(240px, 26vw, 360px); }
.cd-contact-droite .cd-credit { right: 24%; bottom: auto; top: calc(var(--h, 360px) - 52px); }
.cd-apres { background: #fff; border-radius: var(--cd-r-carte); padding: 26px 28px; box-shadow: var(--cd-ombre-carte); }
.cd-apres h2 { font: 600 24px/1.2 var(--cd-titre); margin-bottom: 16px; }
.cd-apres ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cd-apres li { display: grid; grid-template-columns: 14px 1fr; gap: 16px; align-items: stretch; }
.cd-apres-cran { border-radius: 7px; background: var(--cd-lichen); box-shadow: inset 0 0 0 1.5px var(--cd-filet-fort); }
.cd-apres li:first-child .cd-apres-cran { background: var(--cd-eau); }
.cd-apres b { display: block; font: 600 17px/1.25 var(--cd-titre); }
.cd-apres p { font-size: 16px; color: var(--cd-texte-doux); }
@media (max-width: 900px) {
	.cd-contact-grille { grid-template-columns: 1fr; gap: 32px; }
}

/* À propos */
.cd-apropos-photo { position: relative; height: 520px; display: flex; align-items: flex-end; overflow: hidden; background: var(--cd-sapin); padding: 0 0 64px; }
.cd-apropos-photo .cd-ciel-photo::after { background: linear-gradient(0deg, rgba(18,50,46,.85) 0%, rgba(18,50,46,.35) 55%, rgba(18,50,46,.05) 100%); }
.cd-apropos-photo h1 { color: #fff; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.02em; max-width: 18ch; }
.cd-apropos-photo .cd-ciel-texte { font-size: 20px; }
.cd-apropos-intro { padding: 64px 0; background: #fff; }
.cd-apropos-intro-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.cd-chiffres-site { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.cd-chiffre-site { border-top: 6px solid var(--cd-eau); padding-top: 14px; }
.cd-chiffre-site b { display: block; font: 600 64px/1 var(--cd-titre); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cd-chiffre-site span { font-size: 16px; color: var(--cd-texte-doux); }
.cd-auteurs { padding: 64px 0 80px; background: var(--cd-rosee); }
.cd-auteurs-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.cd-fiche-auteur { background: #fff; border-radius: var(--cd-r-carte); padding: 24px; display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; box-shadow: var(--cd-ombre-legere); position: relative; }
.cd-fiche-auteur img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.cd-fiche-auteur h3 { font: 600 21px/1.2 var(--cd-titre); }
.cd-fiche-auteur h3 a { color: var(--cd-sapin); text-decoration: none; }
.cd-fiche-auteur h3 a::after { content: ""; position: absolute; inset: 0; }
.cd-fiche-auteur p { font-size: 15.5px; color: var(--cd-texte-doux); margin-top: 6px; }
@media (max-width: 900px) {
	.cd-apropos-photo { height: 440px; padding-bottom: 40px; }
	.cd-apropos-intro-grille { grid-template-columns: 1fr; gap: 32px; }
	.cd-chiffre-site b { font-size: 48px; }
}

/* Auteur */
.cd-auteur-entete { background: var(--cd-eau-pale); padding: 48px 0; }
.cd-auteur-grille { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; align-items: center; }
.cd-auteur-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px #fff, var(--cd-ombre-carte); }
.cd-auteur-bio { margin-top: 14px; font-size: 19px; max-width: 60ch; }
.cd-auteur-articles { padding: 48px 0 80px; }
@media (max-width: 700px) {
	.cd-auteur-grille { grid-template-columns: 1fr; gap: 20px; }
	.cd-auteur-photo { width: 120px; height: 120px; }
}

/* 404 & recherche */
.cd-vide { padding: 72px 0 96px; }
.cd-vide-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; }
.cd-vide .cd-jauge-demo { position: relative; height: 260px; }
.cd-recherche-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 560px; margin-top: 24px; }
.cd-recherche-form input { min-height: 54px; border-radius: var(--cd-r-pilule); border: 1.5px solid var(--cd-filet-fort); padding: 0 22px; font-size: 17px; background: #fff; width: 100%; }
.cd-recherche-form input:focus { outline: none; border-color: var(--cd-cresson); box-shadow: 0 0 0 3px var(--cd-eau-pale); }
.cd-liens-utiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 800px) {
	.cd-vide-grille { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Habillage des BLOCS FIGÉS (structure intouchable)
   ========================================================================== */
.sbt-article h1, .sbt-article h2, .sbt-article h3 { font-family: var(--cd-titre); color: var(--cd-sapin); }
.cd-sans-devis .cd-lien-guide { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 16px 18px; border-radius: var(--cd-r-carte); background: var(--cd-eau-pale); color: var(--cd-sapin); font: 600 17px/1.3 var(--cd-titre); text-decoration: none; }
.cd-sans-devis .cd-lien-guide:hover { background: var(--cd-eau); }

/* ==========================================================================
   PIED DE PAGE (bloc figé habillé) : sapin jusqu'en bas, ligne de niveau en haut
   ========================================================================== */
.cd-pied { background: var(--cd-sapin); color: #fff; border-top: 6px solid var(--cd-eau); margin-top: 0; }

/* ---------- Mouvement : discret, et coupé si l'utilisateur le demande ---------- */
.cd-monte { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.cd-monte.est-vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.cd-monte { opacity: 1; transform: none; }
}

/* ==========================================================================
   COMPLÉMENTS (passe 2) — formulaire empilé, page ville, rail, pied, divers
   ========================================================================== */

/* Formulaire : les 3 étapes partagent la même case → la carte garde UNE hauteur (DA §8) */
.cd-form { display: grid; }
.cd-form > .cd-form-etape, .cd-form > .cd-form-merci { grid-area: 1 / 1; }
.cd-form > :not(.cd-form-etape):not(.cd-form-merci) { grid-area: 1 / 1; }
.cd-form-etape[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.cd-form-merci[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.cd-form-etape { gap: 8px; }
.cd-form-etape[data-cd-etape="1"] .cd-form-promesse { margin-top: auto; padding-top: 4px; }
.cd-form-tete { grid-template-columns: 1fr auto; margin-bottom: 8px; }
.cd-form-progres { grid-row: 1; }
.cd-form-progres span { height: 22px; }
.cd-form-compteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cd-champ input, .cd-champ select { min-height: 46px; }
.cd-form-ligne--cp .cd-btn { min-height: 46px; }
.cd-tuile { min-height: 44px; }
.cd-form-carte.est-envoye .cd-form-etape { visibility: hidden; }

/* Hero : jauge à cheval sur la courbe gauche de la cuve, étiquette posée à côté */
.cd-hero-visuel .cd-jauge--hero { left: calc(var(--h) * .07); }
.cd-hero-visuel .cd-jauge--hero-etiquette { left: calc(var(--h) * .07 + 24px); }
@media (max-width: 999px) {
	.cd-hero-visuel { --h: clamp(200px, 46vw, 380px); }
	.cd-hero-visuel .cd-cuve { --h: clamp(200px, 46vw, 380px); }
	.cd-hero-form { margin-top: -64px; }
	.cd-hero-visuel .cd-jauge--hero { left: calc(var(--h) * .07); }
	.cd-hero-visuel .cd-jauge--hero-etiquette { left: calc(var(--h) * .07 + 16px); }
	.cd-pastille { min-height: 30px; font-size: 13px; }
}

/* Page ville : même composition que l'accueil, plus compacte (≤ 620 px à 1440) */
.cd-ville-visuel { --h: clamp(260px, 24vw, 340px); --carte-haut: calc(var(--h) * .45); padding-bottom: calc(var(--carte-haut) + var(--form-h, 392px) - var(--h)); }
.cd-ville-visuel .cd-cuve { --h: clamp(260px, 24vw, 340px); }
.cd-ville-form { position: absolute; z-index: 4; top: var(--carte-haut); left: -80px; width: 380px; margin: 0; }
.cd-ville-visuel .cd-credit { top: calc(var(--h) - 52px); right: calc(var(--h) * .3); bottom: auto; }
.cd-ville-hero .cd-pastille { gap: 2px; margin-top: 4px; }
.cd-ville-hero .cd-pastille .cd-picto { width: 18px; height: 18px; color: var(--cd-cresson); }
.cd-ville-hero .cd-art-meta { margin-top: 18px; }
@media (max-width: 1060px) {
	.cd-ville-visuel { --h: clamp(200px, 50vw, 320px); padding-bottom: 0; }
	.cd-ville-visuel .cd-cuve { --h: clamp(200px, 50vw, 320px); }
	.cd-ville-form { position: relative; top: auto; left: auto; width: auto; max-width: 460px; margin: -56px 8px 0; }
}

/* Article : corps + rail figés (habillage seulement) */
.cd-art-corps { padding-top: 44px; }
.sbt-article-mise-en-page { column-gap: 56px; padding-inline: 16px; }
.sbt-article-corps { font-size: 18px; line-height: 1.65; }
.sbt-article-corps h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.015em; }
.sbt-article-corps h3 { font-size: 24px; line-height: 1.25; }
.sbt-article-corps a { color: var(--cd-cresson); }
.sbt-rail { top: calc(var(--cd-entete-h) + 16px); border-left: 0; padding-left: 0; gap: 14px; }
.sbt-rail-carte { border-radius: var(--cd-r-carte); box-shadow: var(--cd-ombre-legere); }
.sbt-rail-carte--sommaire { position: relative; padding: 16px 18px 16px 34px; }
.sbt-rail-carte--sommaire::before, .sbt-rail-carte--sommaire::after { content: ""; position: absolute; left: 14px; top: 18px; width: 8px; border-radius: 4px; }
.sbt-rail-carte--sommaire::before { bottom: 18px; background: var(--cd-lichen); box-shadow: inset 0 0 0 1px var(--cd-filet-fort); }
.sbt-rail-carte--sommaire::after { height: calc((100% - 36px) * var(--cd-lecture-n, 0)); height: min(calc(100% - 36px), var(--cd-lecture, 0%)); background: var(--cd-eau); transition: height .2s linear; }
.sbt-rail .sbt-sommaire { border: 0; padding: 0; background: none; }
.sbt-rail .sbt-sommaire ol { gap: 6px; margin-top: 10px; }
.sbt-rail .sbt-sommaire li a { min-width: 0; font-size: 15px; line-height: 1.3; }
.sbt-rail .sbt-sommaire-libelle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sbt-sommaire li a[aria-current] { color: var(--cd-cresson); font-weight: 700; }
.sbt-sommaire-titre { font-family: var(--cd-titre); font-weight: 600; font-size: 16px; }
.sbt-sommaire-num { background: var(--cd-eau-pale); }
.sbt-sommaire-mobile .sbt-sommaire { border-left-color: var(--cd-eau); }
.cd-form-carte--colonne { box-shadow: var(--cd-ombre-carte); padding: 16px 18px; }
.cd-form-carte--colonne .cd-form-titre { font-size: 17px; }
.cd-rail-titre { font: 600 19px/1.2 var(--cd-titre); margin-bottom: 6px; }
.cd-sans-devis p { font-size: 16px; color: var(--cd-texte-doux); }
.cd-sans-devis .cd-picto { width: 26px; height: 26px; color: var(--cd-cresson); }
.cd-art-visuel .cd-tampon--article .cd-tampon-texte { font-size: 12.5px; }
.cd-carte-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--cd-eau); flex: none; }
.cd-rub-liste-titre { margin-bottom: 24px; }
.cd-eng-liste--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cd-page-sobre-grille--seule { grid-template-columns: minmax(0, 760px); }
.cd-contact-visuel { position: relative; }
.cd-contact-form .cd-form-carte { box-shadow: var(--cd-ombre-form); }
.cd-hub-recherche .cd-cp-retour, .cd-trouver .cd-cp-retour { grid-column: 1 / -1; }
.cd-vide-visuel { position: relative; }
.cd-cuve--vide { --h: 300px; }
.cd-jauge--vide { left: 21px; top: 36px; height: 180px; }
.cd-jauge--vide-etiquette { left: 45px; top: 112px; }
.cd-vide-lien { margin-top: 24px; }
.cd-histoires .cd-carte { height: 100%; }
@media (max-width: 760px) {
	.cd-a-lire .cd-histoires { grid-auto-columns: 78%; }
	.cd-eng-liste--3 { grid-template-columns: 1fr; }
	.sbt-article-corps h2 { font-size: 26px; }
	.cd-cuve--vide { --h: 220px; }
	.cd-jauge--vide { left: 15px; top: 26px; height: 130px; }
	.cd-jauge--vide-etiquette { left: 36px; top: 78px; }
}
@media (max-width: 1100px) { .cd-a-lire .cd-histoires { grid-auto-columns: calc((100% - 20px) / 2.3); } }

/* Pied de page figé : habillage (sapin jusqu'en bas, ligne de niveau, pilules contour) */
.cd-pied.sbt-footer { background: var(--cd-sapin); border-top: 6px solid var(--cd-eau); padding-block: 56px 28px; }
.cd-pied a { color: rgba(255,255,255,.84); }
.cd-pied a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cd-eau); }
.cd-pied .sbt-footer-cta { background: var(--cd-sapin-2); border-radius: var(--cd-r-carte); border: 0; }
.cd-pied .sbt-footer-cta p { color: rgba(255,255,255,.82); }
.cd-pied .sbt-footer-cta .sbt-t3 { font-family: var(--cd-titre); font-weight: 600; font-size: 24px; }
.cd-pied .sbt-btn { background: var(--cd-cresson); color: #fff; border-radius: var(--cd-r-pilule); min-height: 52px; padding: 0 26px; font: 500 16px/1 var(--cd-titre); display: inline-flex; align-items: center; }
.cd-pied .sbt-btn:hover { background: var(--cd-cresson-survol); color: #fff; text-decoration: none; }
.cd-pied .sbt-footer-grille { grid-template-columns: 1.3fr 1fr 1fr 1.7fr .9fr; gap: 32px; border-bottom-color: rgba(255,255,255,.14); }
.cd-pied .sbt-footer-colonne .sbt-t4 { font-family: var(--cd-texte); font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: none; color: var(--cd-eau); }
.cd-pied .sbt-footer-colonne ul a { font-size: 15px; }
.cd-pied .sbt-footer-logo { margin-bottom: 16px; }
.cd-pied .sbt-footer-desc { color: rgba(255,255,255,.78); font-size: 16px; }
.cd-pied .cd-pied-pilules { align-items: flex-start; }
.cd-pied a.cd-pilule-pied { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--cd-r-pilule); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); color: #fff; font: 700 14.5px/1 var(--cd-texte); }
.cd-pied a.cd-pilule-pied:hover { background: #fff; color: var(--cd-sapin); text-decoration: none; }
.cd-pied .cd-pied-villes ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; }
.cd-pied .sbt-footer-bas { color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 1100px) { .cd-pied .sbt-footer-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	.cd-pied .sbt-footer-grille { grid-template-columns: 1fr 1fr; }
	.cd-pied .sbt-footer-colonne:first-child, .cd-pied .cd-pied-villes { grid-column: 1 / -1; }
}

/* ==========================================================================
   CORRECTIONS n°1 (10/10) — mesures de la v1
   ========================================================================== */

/* D4 — premier écran : chapô sur 3 lignes, réassurances resserrées (3e argument loin du bas à 1440×780) */
.cd-hero-plus { padding-top: 18px; padding-right: 40px; }
.cd-hero-chapo { font-size: 19px; max-width: none; }
.cd-reassurances { margin-top: 14px; gap: 6px; }
.cd-reassurances li { font-size: 15.5px; }
@media (max-width: 999px) { .cd-hero-plus { padding: 24px 0 0; } }

/* D5 — étape 1 : plan des 3 étapes + promesse en encadré, à la place du trou */
.cd-form-fin { margin-top: auto; display: grid; gap: 8px; padding-top: 4px; }
.cd-form-plan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cd-form-plan li { padding-top: 7px; border-top: 4px solid var(--cd-lichen); font: 700 12.5px/1.2 var(--cd-texte); color: var(--cd-texte-doux); }
.cd-form-plan li.est-en-cours { border-top-color: var(--cd-eau); color: var(--cd-sapin); }
.cd-form-etape[data-cd-etape="1"] .cd-form-promesse { margin-top: 0; padding: 9px 12px; }
.cd-form-promesse { display: flex; gap: 8px; align-items: flex-start; background: var(--cd-rosee); border-radius: 12px; color: var(--cd-sapin); font-size: 13.5px; line-height: 1.35; }
.cd-form-promesse .cd-picto { width: 18px; height: 18px; color: var(--cd-cresson); margin-top: 1px; flex: none; stroke-width: 2.2; }

/* D3 — « Les six rubriques » ≤ 704 px : photo 170, titre 20, un seul lien phare sur une ligne */
.cd-rubriques { padding-block: 64px; }
.cd-rub-grille { gap: 24px 22px; }
.cd-rub-photo { height: 170px; }
.cd-rub-nom { font-size: 20px; margin-top: 10px; }
.cd-rub-liens a { display: block; }
@media (max-width: 760px) { .cd-rub-photo { height: 140px; } }

/* D1 — page ville : la carte reste dans la colonne photo, jamais sur le titre ni le chapô */
.cd-ville-hero-grille { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.cd-ville-titre { font-size: clamp(34px, 3.6vw, 56px); }
.cd-ville-form { left: 24px; }
@media (max-width: 1060px) {
	.cd-ville-hero-grille { grid-template-columns: 1fr; }
	.cd-ville-form { left: auto; }
}

/* D2 — contact : deux colonnes de hauteurs proches, section ≤ 704 px, formulaire au-dessus du pli */
.cd-contact-hero { padding: 28px 0 40px; }
.cd-contact-grille { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 0; }
.cd-contact-gauche .cd-page-titre { font-size: clamp(34px, 3.1vw, 46px); max-width: none; margin-bottom: 20px; }
.cd-contact-gauche .cd-form-carte { max-width: 460px; }
.cd-contact-droite { gap: 20px; }
.cd-contact-chapo { margin-top: 38px; font-size: 19px; line-height: 1.5; max-width: 52ch; }
.cd-contact-droite .cd-cuve { --h: 200px; }
.cd-contact-droite .cd-credit { top: calc(200px - 50px); right: 70px; }
.cd-apres { padding: 20px 24px; }
.cd-apres h2 { font-size: 21px; margin-bottom: 12px; }
.cd-apres ol { gap: 10px; }
.cd-apres p { font-size: 15.5px; line-height: 1.4; }
.cd-message { padding: 64px 0 72px; }
.cd-message-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.cd-message-texte p { margin-top: 14px; font-size: 18px; color: var(--cd-texte-doux); max-width: 44ch; }
.cd-message-form { position: relative; background: var(--cd-rosee); border-radius: var(--cd-r-carte); padding: 24px; display: grid; gap: 12px; }
.cd-message-form textarea { width: 100%; min-height: 140px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--cd-filet-fort); background: #fff; font: 400 17px/1.5 var(--cd-texte); color: var(--cd-sapin); resize: vertical; }
.cd-message-form textarea:focus { outline: none; border-color: var(--cd-cresson); box-shadow: 0 0 0 3px var(--cd-eau-pale); }
.cd-message-form .cd-btn { justify-self: start; }
.cd-message-ok { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 16px 18px; }
.cd-message-ok[hidden] { display: none; }
.cd-message-ok .cd-picto { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--cd-cresson); color: #fff; }
.cd-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
	.cd-contact-grille, .cd-message-grille { grid-template-columns: 1fr; gap: 28px; }
	.cd-contact-chapo { margin-top: 0; }
	.cd-contact-droite .cd-cuve { --h: clamp(180px, 46vw, 260px); }
	.cd-contact-droite .cd-credit { top: auto; bottom: 10px; }
}

/* D8 — rail : sommaire ET formulaire visibles ensemble ; un sommaire long se resserre, jamais replié */
.sbt-rail .cd-form-carte { padding: 14px 16px; }
.sbt-rail .cd-form-etape { gap: 6px; }
.sbt-rail .cd-tuile { min-height: 40px; font-size: 14px; }
.sbt-rail .cd-champ input, .sbt-rail .cd-champ select, .sbt-rail .cd-form-ligne--cp .cd-btn { min-height: 42px; }
.sbt-rail .cd-form-actions .cd-btn { min-height: 46px; }
.sbt-rail .cd-retour { width: 46px; height: 46px; }
.sbt-rail .cd-form-tete { margin-bottom: 6px; }
.sbt-rail-carte--sommaire.est-compact .sbt-sommaire ol { gap: 3px; margin-top: 8px; }
.sbt-rail-carte--sommaire.est-compact .sbt-sommaire li a { font-size: 13.5px; line-height: 1.2; }
.sbt-rail-carte--sommaire.est-compact .sbt-sommaire-num { width: 18px; height: 18px; font-size: 10.5px; }
.sbt-rail-carte--sommaire.est-tres-compact { padding-top: 12px; padding-bottom: 12px; }
.sbt-rail-carte--sommaire.est-tres-compact .sbt-sommaire ol { gap: 1px; margin-top: 6px; }
.sbt-rail-carte--sommaire.est-tres-compact .sbt-sommaire li a { font-size: 12.5px; line-height: 1.15; }
.sbt-rail-carte--sommaire.est-tres-compact .sbt-sommaire-num { display: none; }

/* D9 — blocs visuels tirés du texte (inc/blocs-visuels.php) */
.cd-bv-etapes { display: grid; gap: 12px; margin: 1.2em 0 1.6em; }
.cd-bv-etape { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; background: #fff; border-radius: 14px; padding: 16px 20px 16px 16px; box-shadow: inset 0 0 0 1px var(--cd-filet); }
.cd-bv-etape-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--cd-eau); font: 600 19px/1 var(--cd-titre); color: var(--cd-sapin); font-variant-numeric: tabular-nums; }
.cd-bv-etape-texte p { margin: 0 !important; }
.cd-bv-etapes > :not(.cd-bv-etape) { margin: 0; }
.cd-bv-suite-h3 { counter-reset: cdh3; }
.cd-bv-suite-h3 h3 { display: flex; align-items: center; gap: 12px; }
.cd-bv-suite-h3 h3::before { counter-increment: cdh3; content: counter(cdh3); flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--cd-eau); font: 600 18px/1 var(--cd-titre); }
ol[data-cd-bv="etapes"] { list-style: none; counter-reset: cdol; padding: 0; display: grid; gap: 10px; }
ol[data-cd-bv="etapes"] > li { counter-increment: cdol; position: relative; background: #fff; border-radius: 14px; padding: 14px 18px 14px 70px; box-shadow: inset 0 0 0 1px var(--cd-filet); min-height: 72px; }
ol[data-cd-bv="etapes"] > li::before { content: counter(cdol); position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 3px var(--cd-eau); font: 600 18px/1 var(--cd-titre); }
.cd-bv-encadre { border-radius: var(--cd-r-carte); padding: 22px 26px; margin: 1em 0 1.6em; }
.cd-bv-encadre > :first-child { margin-top: 0; }
.cd-bv-encadre > :last-child { margin-bottom: 0; }
.cd-bv-encadre--eviter { background: #FBF0EB; box-shadow: inset 6px 0 0 var(--cd-seuil); }
.cd-bv-encadre--verifier { background: var(--cd-eau-pale); box-shadow: inset 6px 0 0 var(--cd-cresson); }
.sbt-article-corps ul.cd-bv-tuiles { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.sbt-article-corps ul.cd-bv-tuiles > li { margin: 0; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--cd-filet), inset 0 4px 0 var(--cd-eau); font-size: 16.5px; line-height: 1.4; }
.cd-bv-chiffre { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 22px; align-items: center; background: var(--cd-sapin); color: #fff; border-radius: var(--cd-r-carte); padding: 22px 26px; margin: 1.4em 0 1.8em; }
.cd-bv-chiffre-val { margin: 0 !important; font: 600 46px/1 var(--cd-titre); letter-spacing: -.02em; color: var(--cd-eau); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cd-bv-chiffre > p:not(.cd-bv-chiffre-val) { margin: 0 !important; color: #fff; }
.cd-bv-chiffre a { color: var(--cd-eau); }
@media (max-width: 640px) {
	.cd-bv-chiffre { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
	.cd-bv-chiffre-val { font-size: 38px; white-space: normal; }
	.cd-bv-etape { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px; }
	.cd-bv-etape-n { width: 36px; height: 36px; font-size: 16px; }
}

/* Habillage des blocs des mu-plugins (sources, maillage) — rien n'est dupliqué par le thème */
.sbsrc-0e7793cd { background: #fff; border-radius: var(--cd-r-carte); padding: 18px 22px; box-shadow: inset 0 0 0 1px var(--cd-filet); margin: 1em 0 1.6em; }
.sbsrc-0e7793cd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sbsrc-0e7793cd li { padding-left: 18px; position: relative; font-size: 15.5px; line-height: 1.4; }
.sbsrc-0e7793cd li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--cd-eau); }
.sbsrc-0e7793cd__date { color: var(--cd-texte-doux); font-size: 14px; margin-left: 6px; }
.sb-maillage { margin-top: 2.4em; background: var(--cd-lichen); border-radius: var(--cd-r-carte); padding: 22px 26px; }
.sb-maillage h2 { margin-top: 0 !important; font-size: 24px !important; }
.sb-maillage ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sb-maillage li { margin: 0; }
.sb-maillage a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px; border-radius: var(--cd-r-pilule); background: #fff; color: var(--cd-sapin); text-decoration: none; font: 700 15px/1.25 var(--cd-texte); }
.sb-maillage a:hover { background: var(--cd-sapin); color: #fff; }

/* ==========================================================================
   CORRECTIONS n°2 (10/10) — porte de sortie n°1
   ========================================================================== */

/* D2 — rien ne dépasse de la fenêtre : la ligne de niveau est bornée à SA section, les rangées
   défilantes sont coupées par leur conteneur, le menu passe en compact sous 1500 et en tiroir sous 1240. */
.cd-deroule { container-type: inline-size; }
.cd-ligne-niveau--deroule { left: calc((100% - 100cqw) / 2); right: calc((100% - 100cqw) / 2); }
.cd-histoires-section .cd-conteneur, .cd-a-lire .cd-conteneur { overflow-x: clip; overflow-clip-margin: 12px; }
.cd-histoires { contain: paint; }
.cd-menu-dedans { min-width: 0; }
.cd-menu-actions { min-width: 0; }

/* D3 — premier écran mobile : bouton « Continuer » ≤ 690 px à 390×700 */
@media (max-width: 600px) {
	.cd-hero { padding-top: 10px; }
	.cd-hero .cd-pastille { display: none; }
	.cd-hero-titre { margin-top: 0; }
	.cd-hero-visuel { margin-top: 14px; --h: 180px; }
	.cd-hero-visuel .cd-cuve { --h: 180px; }
	.cd-hero-form { margin-top: -72px; }
	.cd-form-carte--hero { padding: 14px 14px 16px; }
	.cd-form-carte--hero .cd-form-tete { margin-bottom: 4px; }
	.cd-form-carte--hero .cd-form-etape { gap: 7px; }
	.cd-tampon--hero { --t: 76px; padding: 8px; }
	.cd-tampon--hero .cd-tampon-texte { font-size: 9.5px; }
}

/* D4 — contraste : tout petit texte vert sur fond pâle passe en vert foncé (≥ 4,5:1) */
:root { --cd-cresson-texte: #176A4E; }
.cd-carte-rub, .cd-une .cd-carte-rub { color: var(--cd-cresson-texte); }
a { color: var(--cd-cresson-texte); }
.sbt-article-corps a, .cd-prose a { color: var(--cd-cresson-texte); }
.cd-form-compteur b, .sbt-sommaire li a[aria-current] { color: var(--cd-cresson-texte); }
a:hover { color: var(--cd-cresson-survol); }

/* D5 — rythme vertical : la bande photo garde un vrai padding haut (la photo reste bord à bord) */
.cd-ciel { padding: 24px 0; box-sizing: border-box; }

/* D7 — pied de page : villes sur 4 sous-colonnes, colonnes de hauteurs proches */
@media (min-width: 1101px) { .cd-pied .sbt-footer-grille { grid-template-columns: 1.2fr 1fr 1fr 2.3fr .9fr; } }
.cd-pied .cd-pied-villes ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 12px; }
.cd-pied .cd-pied-villes ul a { font-size: 14.5px; }
@media (max-width: 1100px) {
	.cd-pied .cd-pied-villes { grid-column: span 2; }
}
@media (max-width: 700px) {
	.cd-pied .cd-pied-villes { grid-column: 1 / -1; }
	.cd-pied .cd-pied-villes ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 10/10 orchestrateur — largeur mobile (chk_largeur_mobile 375 px) : aucun libellé ne force la largeur */
@media (max-width: 600px) {
	.cd-btn, .cd-btn--grand { white-space: normal; max-width: 100%; text-align: center; }
	.cd-carte-meta { flex-wrap: wrap; row-gap: 2px; }
	.sbt-footer-colonne { min-width: 0; }
}
html { overflow-x: clip; }

/* ==========================================================================
   CORRECTIONS n°3 (10/10) — juge visuel n°1
   ========================================================================== */

/* C1 — pied de page : à 390 une colonne par bloc, pleine largeur ; pastilles en ligne qui passent à la ligne */
.cd-pied a.cd-pilule-pied { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 701px) {
	.cd-pied .sbt-footer-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cd-pied .cd-pied-villes { grid-column: span 2; }
}
@media (max-width: 700px) {
	.cd-pied .sbt-footer-grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.cd-pied .sbt-footer-colonne, .cd-pied .cd-pied-villes, .cd-pied .sbt-footer-colonne:first-child { grid-column: auto; min-width: 0; }
	.cd-pied .cd-pied-pilules { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.cd-pied .cd-pied-villes ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cd-pied .sbt-footer-colonne ul:not(.cd-pied-pilules):not(.cd-pied-villes ul) { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
	.cd-pied .sbt-footer-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* C2 — À propos : titre blanc, 2e ton vert clair, voile sombre derrière le texte */
.cd-apropos-photo h1 { color: #fff; }
.cd-apropos-photo .cd-ton2, .cd-ciel .cd-ton2 { color: #9EE0C8; }
.cd-apropos-photo .cd-ciel-photo::after { background: linear-gradient(0deg, rgba(18,50,46,.94) 0%, rgba(18,50,46,.82) 45%, rgba(18,50,46,.35) 80%, rgba(18,50,46,.15) 100%), linear-gradient(90deg, rgba(18,50,46,.55) 0%, rgba(18,50,46,0) 65%); }
.cd-apropos-photo .cd-ariane, .cd-apropos-photo .cd-ariane a, .cd-apropos-photo .cd-ariane span { color: rgba(255,255,255,.85); }
.cd-apropos-photo .cd-ariane li + li::before { color: rgba(255,255,255,.5); }

/* C3 — tuiles : jamais de case vide (fond eau pâle + symbole derrière l'image tant qu'elle charge) */
.cd-rub-photo, .cd-tuile-ville-photo, .cd-carte-photo, .cd-etape-photo { background: var(--cd-eau-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath d='M9 9V5.5a2.5 2.5 0 0 1 5 0V9M25 9V5.5a2.5 2.5 0 0 1 5 0V9' fill='none' stroke='%2312322E' stroke-opacity='.35' stroke-width='2.6' stroke-linecap='round'/%3E%3Crect x='2' y='9' width='36' height='19' rx='9.5' fill='none' stroke='%2312322E' stroke-opacity='.35' stroke-width='2.6'/%3E%3C/svg%3E") center / 64px no-repeat; }

/* C4 — tampon : le texte reste DANS le rond (libellé court sur mobile, police selon la longueur) */
.cd-tampon { overflow: hidden; }
.cd-tampon-texte { display: block; max-width: 100%; overflow-wrap: normal; hyphens: manual; }
.cd-tampon-court { display: none; }
.cd-tampon--moyen .cd-tampon-texte { font-size: 12.5px; }
.cd-tampon--long .cd-tampon-texte { font-size: 11.5px; line-height: 1.08; }
.cd-art-visuel .cd-tampon { --t: 112px; padding: 12px; }
.cd-art-visuel .cd-tampon--long .cd-tampon-texte { font-size: 11px; }
@media (min-width: 1000px) { .cd-tampon--hero.cd-tampon--long .cd-tampon-texte { font-size: 14px; line-height: 1.12; } }
@media (max-width: 900px) {
	.cd-art-visuel .cd-tampon { --t: 78px; padding: 8px; right: 6px; bottom: -20px; }
	.cd-art-visuel .cd-tampon .cd-tampon-texte, .cd-art-visuel .cd-tampon--long .cd-tampon-texte { font-size: 11px; line-height: 1.1; }
	.cd-tampon-plein { display: none; }
	.cd-tampon-court { display: inline; }
}
/* Corps d'article : rien ne dépasse de la colonne */
.sbt-article-corps figure { margin-inline: 0; max-width: 100%; }
.sbt-article-corps img, .sbt-article-corps iframe, .sbt-article-corps video { max-width: 100%; }
.sbt-article-principal { min-width: 0; }

/* C5 — en-tête d'article : la photo est toujours là (fond eau pâle si elle tarde) */
.cd-art-visuel .cd-cuve > img { background: var(--cd-eau-pale); }
.cd-art-visuel .cd-cuve > img, .cd-art-visuel .cd-cuve > .cd-repli { width: 100%; height: 100%; }
@media (max-width: 900px) { .cd-art-visuel .cd-cuve { width: 100%; } }

/* C6 — tuiles tarifs (inc/blocs-visuels.php) : montant en grand, texte et lien source dessous */
.sbt-article-corps ul.cd-bv-tarifs { list-style: none; padding: 0; margin: 1.2em 0 1.8em; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.sbt-article-corps ul.cd-bv-tarifs > li { margin: 0; background: #fff; border-radius: var(--cd-r-carte); padding: 18px 20px 20px; box-shadow: inset 0 0 0 1px var(--cd-filet), var(--cd-ombre-legere); border-top: 6px solid var(--cd-eau); display: flex; flex-direction: column; gap: 10px; }
.cd-bv-tarif-val { margin: 0 !important; font: 600 clamp(30px, 2.6vw, 40px)/1.05 var(--cd-titre); letter-spacing: -.02em; color: var(--cd-sapin); font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 4px; }
.cd-bv-tarif-val small { font: 700 15px/1 var(--cd-texte); color: var(--cd-texte-doux); letter-spacing: 0; white-space: nowrap; }
.cd-bv-tarif-texte { font-size: 16px; line-height: 1.45; color: var(--cd-sapin); }
.cd-bv-tarif-texte a { font-weight: 700; }
@media (max-width: 640px) { .cd-bv-tarif-val { font-size: 34px; } }
