/*
Theme Name: Débouchage Canalisation Paris
Theme URI: https://debouchage-canalisation-paris.net
Author: Seobooster LTD
Description: Thème code-pur — refonte V2 (DIRECTION-ARTISTIQUE-V2.md). Noir, blanc, un
  accent vert « de garde », Overpass + Be Vietnam Pro, formulaire-chrono en 6 étapes,
  bandes découpées en dents de scie, carte SVG des 20 arrondissements.
Version: 2.0.0
Text Domain: dcp
*/

/* =====================================================================
   1. POLICES — Overpass (titres) + Be Vietnam Pro (texte), self-hosted.
   Fichiers attendus dans assets/fonts/ (voir README-FONTS.txt : à fournir
   au déploiement, l'agent designer n'a pas d'accès réseau pour les récupérer).
   ===================================================================== */
@font-face {
	font-family: 'Overpass';
	src: url('assets/fonts/overpass-var.woff2') format('woff2-variations'),
	     url('assets/fonts/overpass-800.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Be Vietnam Pro';
	src: url('assets/fonts/be-vietnam-pro-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Be Vietnam Pro';
	src: url('assets/fonts/be-vietnam-pro-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Be Vietnam Pro';
	src: url('assets/fonts/be-vietnam-pro-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* =====================================================================
   2. JETONS — clair par défaut, sombre via [data-theme="sombre"] ET
   prefers-color-scheme (le bouton lune/soleil pose l'attribut ; sans JS,
   le système décide). Valeurs = DIRECTION-ARTISTIQUE-V2.md §3.
   ===================================================================== */
:root {
	--fond: #F5F7F4;
	--carte: #FFFFFF;
	--bande: #E7ECE8;
	--encre: #0B0F0D;
	--encre-2: #4A554F;
	--filet: #C9D2CC;
	--accent: #00873F;
	--accent-survol: #006A31;
	--accent-encre: #FFFFFF;
	--pastille: #DDF5E6;
	--pastille-encre: #0B0F0D;
	--alerte: #C23A22;
	--bande-noire: #0B0F0D;
	--bande-noire-encre: #F5F7F4;
	--bande-noire-liseret: transparent;
	--gouttiere: 24px;
	--rayon-pilule: 999px;
	color-scheme: light;
}
/* Mode clair uniquement (CM-0417, Mathias 14/09) : aucun mode sombre. */
:root[data-theme="clair"] {
	--fond: #F5F7F4; --carte: #FFFFFF; --bande: #E7ECE8; --encre: #0B0F0D;
	--encre-2: #4A554F; --filet: #C9D2CC; --accent: #00873F; --accent-survol: #006A31;
	--accent-encre: #FFFFFF; --pastille: #DDF5E6; --pastille-encre: #0B0F0D;
	--alerte: #C23A22; --bande-noire: #0B0F0D; --bande-noire-encre: #F5F7F4;
	--bande-noire-liseret: transparent; color-scheme: light;
}

/* =====================================================================
   3. RESET + BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--fond);
	color: var(--encre);
	font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: 0; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
	font-family: 'Overpass', 'Arial Narrow', Arial, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1.08;
	margin: 0 0 0.5em;
}
h1 { font-size: 72px; }
h2 { font-size: 36px; }
h3 { font-size: 22px; }
.dcp-corps h1, .dcp-article h1 { text-transform: none; font-size: 44px; }
.dcp-num { font-family: 'Overpass', Arial, sans-serif; font-variant-numeric: tabular-nums; font-weight: 800; }
.dcp-surtitre {
	display: block; font-family: 'Overpass', Arial, sans-serif; font-weight: 800;
	font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
	margin-bottom: 0.6em;
}
.dcp-saut { position: absolute; left: -9999px; }
.dcp-saut:focus { left: 12px; top: 12px; z-index: 999; background: var(--accent); color: var(--accent-encre); padding: 0.6em 1em; }

/* =====================================================================
   4. GRILLE
   ===================================================================== */
.dcp-conteneur { max-width: 1240px; margin: 0 auto; padding: 0 var(--gouttiere); position: relative; }
@media (max-width: 782px) { .dcp-conteneur { padding: 0 16px; --gouttiere: 16px; } }

.dcp-bande { padding: 96px 0; }
@media (max-width: 782px) { .dcp-bande { padding: 56px 0; } }
.dcp-bande--faience { background: var(--fond); }
.dcp-bande--carrelage { background: var(--bande); }
.dcp-bande--carte { background: var(--carte); }
.dcp-bande--noire {
	background: var(--bande-noire); color: var(--bande-noire-encre);
	position: relative;
	border-top: 2px solid var(--bande-noire-liseret);
}
.dcp-bande--noire h1, .dcp-bande--noire h2, .dcp-bande--noire h3 { color: var(--bande-noire-encre); }
.dcp-bande--noire a { color: inherit; }

/* Dents de scie — 4 tracés distincts, appliqués aux bandes noires */
.dcp-dents--a { clip-path: polygon(0 4%, 7% 0, 14% 3%, 22% 0.5%, 30% 4%, 38% 1%, 46% 3.5%, 54% 0, 62% 4%, 70% 1%, 78% 3%, 86% 0.5%, 93% 3%, 100% 0, 100% 96%, 93% 100%, 86% 97%, 78% 100%, 70% 96.5%, 62% 100%, 54% 97%, 46% 100%, 38% 96%, 30% 99.5%, 22% 96%, 14% 99.5%, 7% 97%, 0 100%); }
.dcp-dents--b { clip-path: polygon(0 3%, 9% 0.5%, 18% 4%, 27% 1%, 36% 3.5%, 45% 0, 54% 4%, 63% 1.5%, 72% 3%, 81% 0, 90% 3.5%, 100% 1%, 100% 97%, 90% 100%, 81% 96.5%, 72% 100%, 63% 97%, 54% 100%, 45% 96%, 36% 99.5%, 27% 96%, 18% 100%, 9% 96.5%, 0 99.5%); }
.dcp-dents--c { clip-path: polygon(0 0, 6% 3.5%, 13% 0.5%, 21% 4%, 29% 1%, 37% 3%, 45% 0, 53% 4%, 61% 1.5%, 69% 3.5%, 77% 0.5%, 85% 3%, 92% 0, 100% 3%, 100% 100%, 92% 97%, 85% 100%, 77% 96.5%, 69% 100%, 61% 97%, 53% 100%, 45% 96%, 37% 99.5%, 29% 97%, 21% 100%, 13% 96.5%, 6% 100%, 0 97%); }
@media (max-width: 782px) {
	.dcp-dents--a, .dcp-dents--b, .dcp-dents--c { clip-path: polygon(0 2%, 50% 0, 100% 2%, 100% 98%, 50% 100%, 0 98%); }
}

/* =====================================================================
   5. EN-TÊTE
   ===================================================================== */
.dcp-astreinte {
	background: var(--bande-noire); color: var(--bande-noire-encre);
	font-size: 13px; letter-spacing: 0.02em;
}
.dcp-astreinte__inner { max-width: 1240px; margin: 0 auto; padding: 8px var(--gouttiere); display: flex; justify-content: space-between; align-items: center; gap: 1em; flex-wrap: wrap; }
.dcp-astreinte__bouton { color: var(--accent); text-decoration: none; font-weight: 700; }
.dcp-bascule {
	background: none; border: 1px solid var(--filet); color: inherit; border-radius: 999px;
	padding: 2px 10px; font-size: 12px; cursor: pointer; line-height: 1.6;
}
.dcp-entete {
	position: sticky; top: 0; z-index: 40; background: var(--carte);
	border-bottom: 1px solid var(--filet);
}
.dcp-entete__inner { max-width: 1240px; margin: 0 auto; padding: 14px var(--gouttiere); display: flex; align-items: center; justify-content: space-between; gap: 1.2em; }
.dcp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); }
.dcp-logo svg { height: 34px; width: auto; }
.dcp-nav__liste { display: flex; gap: 1.6em; flex-wrap: wrap; }
.dcp-nav__liste a {
	font-family: 'Overpass', Arial, sans-serif; font-weight: 700; text-transform: uppercase;
	font-size: 14px; letter-spacing: 0.02em; text-decoration: none; color: var(--encre);
}
.dcp-nav__liste a:hover { color: var(--accent); }
.dcp-cta-entete {
	background: var(--bande-noire); color: var(--bande-noire-encre); border: none;
	font-family: 'Overpass', Arial, sans-serif; font-weight: 800; text-transform: uppercase;
	font-size: 14px; padding: 12px 18px; text-decoration: none; white-space: nowrap;
}
.dcp-nav-toggle { display: none; background: none; border: 1px solid var(--filet); padding: 8px 12px; font-family: 'Overpass', Arial, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 13px; }
@media (max-width: 960px) {
	.dcp-nav-toggle { display: block; }
	.dcp-nav__liste { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--carte); flex-direction: column; gap: 0; border-bottom: 1px solid var(--filet); padding: 0.5em var(--gouttiere) 1em; }
	.dcp-nav__liste.dcp-ouvert { display: flex; }
	.dcp-nav__liste li { padding: 0.5em 0; border-bottom: 1px solid var(--filet); }
	.dcp-cta-entete { font-size: 12px; padding: 10px 12px; }
}

/* Fil d'Ariane */
.dcp-fil { font-size: 13px; color: var(--encre-2); margin-bottom: 1em; }
.dcp-fil a { color: var(--encre-2); text-decoration: none; }
.dcp-fil a:hover { color: var(--accent); }

/* =====================================================================
   6. HÉROS + FORMULAIRE-CHRONO (procédé maître, §6.1)
   ===================================================================== */
.dcp-hero__grille { display: grid; grid-template-columns: 7fr 5fr; gap: 2.4em; align-items: start; }
@media (max-width: 960px) { .dcp-hero__grille { grid-template-columns: 1fr; } }
/* Téléphone (390 px) : le formulaire-chrono doit rester visible sans défiler (DA §11).
   Le texte du héros passe après lui plutôt qu'avant, la photo décorative se réduit. */
@media (max-width: 600px) {
	.dcp-hero__grille { display: flex; flex-direction: column; }
	.dcp-hero__grille > .dcp-chrono { order: -1; }
	.dcp-hero__photo { aspect-ratio: 16/9; max-height: 160px; }
	.dcp-hero__grille h1 { font-size: 34px; }
}
.dcp-hero__photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dcp-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Composition « photo plein fond + panneau qui chevauche » (DA §7.1/7.2/7.3) :
   la photo ne s'empile plus dans le flux (elle ne gonflerait pas la hauteur du
   héros au-delà des 760 px visés), elle habille le fond de la section entière. */
.dcp-hero-wrap { position: relative; overflow: hidden; }
.dcp-hero-wrap > .dcp-hero-wrap__fond { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 0; }
.dcp-hero-wrap__fond img { width: 100%; height: 100%; object-fit: cover; }
.dcp-hero-wrap > .dcp-conteneur { position: relative; z-index: 1; }
@media (min-width: 961px) { .dcp-hero-wrap .dcp-hero__grille .dcp-chrono { margin-left: -80px; } }
@media (max-width: 960px) { .dcp-hero-wrap > .dcp-hero-wrap__fond { display: none; } }
.dcp-pastilles { display: flex; flex-wrap: wrap; gap: 0.6em; margin: 1.2em 0; }
.dcp-pastille {
	background: var(--pastille); color: var(--pastille-encre); border-radius: var(--rayon-pilule);
	padding: 6px 14px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.dcp-pastille::before { content: "✓"; color: var(--accent); font-weight: 900; }

.dcp-chrono {
	background: var(--bande-noire); color: var(--bande-noire-encre); padding: 1.8em;
	position: relative;
}
.dcp-chrono__minuteur {
	position: absolute; top: -14px; right: 20px; background: var(--pastille); color: var(--pastille-encre);
	font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--rayon-pilule);
}
.dcp-chrono h2 { color: var(--bande-noire-encre); font-size: 24px; margin-bottom: 0.3em; }
.dcp-chrono__note { font-size: 13px; margin-bottom: 1.2em; color: color-mix(in srgb, var(--bande-noire-encre) 70%, transparent); }

.dcp-etapes-barre { display: flex; gap: 6px; margin-bottom: 1.4em; }
.dcp-etapes-barre__item {
	flex: 1; height: 6px; background: transparent; border: 1px solid var(--filet); position: relative;
}
.dcp-etapes-barre__item.dcp-fait { background: var(--accent); border-color: var(--accent); }
.dcp-etapes-barre__item.dcp-actif { background: var(--accent); border-color: var(--accent); }

.dcp-etape { display: none; }
.dcp-etape.dcp-etape--active { display: block; }
.dcp-etape__titre { font-family: 'Overpass', Arial, sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 0.8em; text-transform: uppercase; }
.dcp-tuiles-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.2em; }
.dcp-tuile-choix {
	background: transparent; border: 1px solid #ffffff44; color: inherit; text-align: left;
	padding: 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 14px;
}
.dcp-tuile-choix svg { width: 22px; height: 22px; flex-shrink: 0; stroke: currentColor; }
.dcp-tuile-choix.dcp-selectionne { background: var(--accent); border-color: var(--accent); color: var(--accent-encre); }
.dcp-tuile-choix.dcp-selectionne svg { stroke: var(--accent-encre); }

.dcp-champ { margin-bottom: 1.1em; }
.dcp-champ label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 0.4em; }
.dcp-champ input, .dcp-champ select {
	width: 100%; background: transparent; border: none; border-bottom: 1px solid #ffffff66;
	color: inherit; padding: 8px 2px; font-size: 17px;
}
.dcp-champ input::placeholder { color: #ffffff77; }
.dcp-champ input:focus, .dcp-champ select:focus { outline: none; border-bottom-color: var(--accent); }
.dcp-champ--piege { position: absolute; left: -9999px; }
.dcp-champ--rgpd { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #ffffffaa; }
.dcp-champ--rgpd input { width: auto; }

.dcp-chrono__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 1.4em; }
.dcp-btn {
	font-family: 'Overpass', Arial, sans-serif; font-weight: 800; text-transform: uppercase;
	font-size: 14px; padding: 13px 20px; border: none; cursor: pointer; text-decoration: none;
	display: inline-block; text-align: center;
}
.dcp-btn--pleine { width: 100%; }
.dcp-btn--vert { background: var(--accent); color: var(--accent-encre); }
.dcp-btn--vert:hover { background: var(--accent-survol); }
.dcp-btn--filet { background: transparent; border: 1px solid currentColor; color: inherit; }
.dcp-btn--noir { background: var(--bande-noire); color: var(--bande-noire-encre); }
.dcp-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.dcp-chrono__ok { text-align: center; padding: 1.4em 0; }
.dcp-chrono__ok p { font-size: 15px; }

/* Colonne collante (articles, pages service) */
.dcp-chrono--collant { position: sticky; top: 88px; }
@media (max-width: 960px) { .dcp-chrono--collant { position: static; } }

/* Bandeau photo « relevé » */
.dcp-releve { position: relative; }
.dcp-releve__bandeau {
	position: absolute; bottom: 12px; left: 0; background: var(--bande-noire); color: var(--bande-noire-encre);
	font-family: 'Overpass', Arial, sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.06em;
	padding: 5px 10px;
}

/* =====================================================================
   7. FICHES D'INTERVENTION NOIRES (procédé 6.3)
   ===================================================================== */
.dcp-fiches { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 782px) { .dcp-fiches { grid-template-columns: 1fr; } }
.dcp-fiche {
	background: var(--bande-noire); color: var(--bande-noire-encre); position: relative;
	display: flex; flex-direction: column; min-height: 360px;
}
.dcp-fiche__photo { aspect-ratio: 16/10; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 82% 100%, 0 100%); }
.dcp-fiche__photo img { width: 100%; height: 100%; object-fit: cover; }
.dcp-fiche__etiquette {
	position: absolute; top: 14px; left: -6px; background: var(--carte); color: var(--encre);
	font-family: 'Overpass', Arial, sans-serif; font-weight: 800; font-size: 13px; padding: 6px 14px 6px 18px;
	transform: skewX(-8deg); box-shadow: 3px 3px 0 var(--accent);
}
.dcp-fiche__etiquette span { display: inline-block; transform: skewX(8deg); }
.dcp-fiche__corps { padding: 1.4em; flex: 1; display: flex; flex-direction: column; }
.dcp-fiche__corps h3 { color: var(--bande-noire-encre); font-size: 20px; margin-bottom: 0.5em; }
.dcp-fiche__liste { margin: 0.6em 0 1em; }
.dcp-fiche__liste li { display: flex; gap: 8px; font-size: 14px; margin-bottom: 0.4em; align-items: flex-start; }
.dcp-fiche__liste li::before { content: "✓"; color: var(--accent); font-weight: 900; flex-shrink: 0; }
.dcp-fiche__lien { margin-top: auto; color: var(--accent); text-decoration: none; font-weight: 700; font-size: 14px; }
.dcp-fiche__source { grid-column: 1 / -1; font-size: 12px; color: var(--encre-2); margin-top: -6px; }

/* =====================================================================
   8. CARTES GÉNÉRIQUES (actualité, étapes, profils)
   ===================================================================== */
.dcp-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .dcp-cartes { grid-template-columns: 1fr; } }
.dcp-carte { background: var(--carte); border: 1px solid var(--filet); }
.dcp-carte__photo { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.dcp-carte__photo img { width: 100%; height: 100%; object-fit: cover; }
.dcp-carte__date { position: absolute; top: 10px; left: 10px; background: var(--bande-noire); color: var(--bande-noire-encre); font-size: 11px; font-weight: 700; padding: 4px 8px; }
.dcp-carte__corps { padding: 1.1em 1.2em; }
.dcp-carte__corps h3 { font-size: 17px; margin: 0.3em 0 0; text-transform: none; }
.dcp-carte__corps a { text-decoration: none; color: inherit; }

.dcp-etapes-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 1.6em; }
@media (max-width: 782px) { .dcp-etapes-grille { grid-template-columns: 1fr 1fr; } }
.dcp-etape-carte { background: var(--carte); border: 1px solid var(--filet); padding: 1.2em; }
.dcp-etape-carte__num { font-size: 30px; color: var(--accent); display: block; margin-bottom: 0.3em; }
.dcp-barre-prog { height: 4px; background: var(--filet); margin: 1.4em 0 0; position: relative; }
.dcp-barre-prog::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--accent); }

.dcp-profils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 782px) { .dcp-profils { grid-template-columns: 1fr; } }
.dcp-profil { background: var(--carte); border-top: 3px solid var(--accent); padding: 1.4em; }
.dcp-profil h3 { font-size: 17px; text-transform: none; }

/* =====================================================================
   9. RÉFLEXES (bande noire, procédé 6.7)
   ===================================================================== */
.dcp-reflexes-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 1.8em; }
@media (max-width: 782px) { .dcp-reflexes-grille { grid-template-columns: 1fr; } }
.dcp-reflexe { background: color-mix(in srgb, var(--bande-noire) 85%, white 6%); border: 1px solid rgba(255,255,255,0.12); padding: 1.3em; }
.dcp-reflexe__num { font-family: 'Overpass', Arial, sans-serif; font-weight: 900; font-size: 32px; color: var(--accent); display: block; }
.dcp-reflexe h3 { color: var(--bande-noire-encre); font-size: 16px; text-transform: none; margin: 0.3em 0; }
.dcp-reflexe p { font-size: 14px; color: #ffffffb0; margin: 0; }

/* =====================================================================
   10. CARTE SVG DES ARRONDISSEMENTS (procédé 6.5) + PILULES (6.6)
   ===================================================================== */
.dcp-carte-zone { display: grid; grid-template-columns: 6fr 6fr; gap: 2.4em; align-items: center; }
@media (max-width: 960px) { .dcp-carte-zone { grid-template-columns: 1fr; } }
.dcp-carte-zone .dcp-carte__svg { order: -1; }
@media (min-width: 961px) { .dcp-carte-zone .dcp-carte__svg { order: 0; } }
.dcp-carte__svg { width: 100%; height: auto; }
.dcp-carte__seine { stroke: var(--filet); stroke-width: 10; opacity: 0.6; }
.dcp-carte__zone circle { fill: var(--carte); stroke: var(--filet); stroke-width: 1.5; transition: fill 0.15s, stroke 0.15s; }
.dcp-carte__zone text {
	fill: var(--encre); font-family: 'Overpass', Arial, sans-serif; font-weight: 700; font-size: 15px;
	text-anchor: middle; pointer-events: none;
}
.dcp-carte__zone:hover circle { fill: var(--pastille); stroke: var(--accent); }
.dcp-carte__zone--voisin circle { fill: var(--pastille); stroke: var(--accent); }
.dcp-carte__zone--voisin text { fill: var(--pastille-encre); }
.dcp-carte__zone--actif circle { fill: var(--accent); stroke: var(--accent); }
.dcp-carte__zone--actif text { fill: var(--accent-encre); }
.dcp-carte__point { fill: var(--accent-encre); }
@media (prefers-reduced-motion: reduce) { .dcp-carte__point animate { display: none; } }
.dcp-carte__etiquette {
	display: inline-block; margin-top: 1em; background: var(--bande-noire); color: var(--bande-noire-encre);
	font-family: 'Overpass', Arial, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 0.04em;
	padding: 8px 16px;
}

.dcp-pilules { display: flex; flex-wrap: wrap; gap: 8px; max-height: 92px; overflow: hidden; }
.dcp-pilules[data-ouvert="true"] { max-height: none; }
.dcp-pilule {
	border: 1px solid var(--filet); border-radius: var(--rayon-pilule); padding: 7px 16px;
	font-size: 13px; text-decoration: none; color: var(--encre); background: var(--carte); white-space: nowrap;
}
.dcp-pilule:hover { border-color: var(--accent); color: var(--accent); }
.dcp-pilule--actif { background: var(--accent); border-color: var(--accent); color: var(--accent-encre); }
.dcp-pilules__plus {
	margin-top: 10px; background: none; border: none; color: var(--accent); font-weight: 700;
	font-size: 13px; cursor: pointer; padding: 0;
}

/* =====================================================================
   11. FAQ ACCORDÉON
   ===================================================================== */
.dcp-faq { max-width: 820px; margin: 1.6em auto 0; }
.dcp-faq details { border-bottom: 1px solid var(--filet); padding: 1em 0; }
.dcp-faq summary {
	font-family: 'Overpass', Arial, sans-serif; font-weight: 700; font-size: 17px; cursor: pointer;
	list-style: none; display: flex; justify-content: space-between; gap: 1em;
}
.dcp-faq summary::-webkit-details-marker { display: none; }
.dcp-faq summary::after { content: "+"; color: var(--accent); font-size: 22px; }
.dcp-faq details[open] summary::after { content: "–"; }
.dcp-faq p { margin: 0.8em 0 0; color: var(--encre-2); }

/* =====================================================================
   12. TARIFS — grille (P-542 : jamais un <table> nu ; ici, grille de barres)
   ===================================================================== */
.dcp-tarifs-grille { display: grid; gap: 10px; margin-top: 1.6em; }
.dcp-tarif-ligne { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 14px; align-items: center; padding: 14px 16px; background: var(--carte); border: 1px solid var(--filet); }
.dcp-tarif-ligne--entete { background: var(--bande-noire); color: var(--bande-noire-encre); font-family: 'Overpass', Arial, sans-serif; font-weight: 800; font-size: 12px; text-transform: uppercase; }
.dcp-tarif-prix { font-family: 'Overpass', Arial, sans-serif; font-weight: 800; font-size: 20px; color: var(--accent); }
@media (max-width: 782px) {
	.dcp-tarif-ligne { grid-template-columns: 1fr; text-align: left; }
	.dcp-tarif-ligne--entete { display: none; }
	.dcp-tarif-ligne:not(.dcp-tarif-ligne--entete) { position: relative; padding-left: 16px; }
	.dcp-tarif-ligne span::before { content: attr(data-label) " : "; font-weight: 700; color: var(--encre-2); font-size: 12px; display: block; }
}
.dcp-mention-menthe { background: var(--pastille); color: var(--pastille-encre); padding: 1em 1.4em; font-size: 14px; margin: 1.4em 0; }

/* Tableaux du corps rédactionnel (socle .sbs_tableau) — défilables, lisibles */
.sbs_tableau { overflow-x: auto; margin: 1.6em 0; }
.sbs_tableau table { width: 100%; border-collapse: collapse; min-width: 480px; }
.sbs_tableau th, .sbs_tableau td { padding: 10px 12px; border-bottom: 1px solid var(--filet); text-align: left; font-size: 15px; }
.sbs_tableau thead th { background: var(--bande-noire); color: var(--bande-noire-encre); font-family: 'Overpass', Arial, sans-serif; text-transform: uppercase; font-size: 12px; }
.sbs_tableau tbody tr:nth-child(even) { background: var(--bande); }

/* =====================================================================
   13. CORPS ÉDITORIAL
   ===================================================================== */
.dcp-corps { max-width: 760px; }
.dcp-corps h2 { font-size: 28px; margin-top: 1.6em; }
.dcp-corps h3 { font-size: 20px; text-transform: none; margin-top: 1.3em; }
.dcp-corps p { margin: 0 0 1.1em; }
.dcp-corps figure { margin: 1.6em 0; }
.dcp-corps figcaption { font-size: 13px; color: var(--encre-2); margin-top: 0.4em; }
.dcp-article__grille { display: grid; grid-template-columns: 760px 1fr; gap: 2.4em; align-items: start; }
@media (max-width: 1080px) { .dcp-article__grille { grid-template-columns: 1fr; } }
.dcp-sommaire { background: var(--carte); border: 1px solid var(--filet); padding: 1.2em 1.4em; margin-bottom: 1.6em; }
.dcp-sommaire__titre { font-family: 'Overpass', Arial, sans-serif; font-weight: 800; font-size: 13px; text-transform: uppercase; margin-bottom: 0.6em; letter-spacing: 0.06em; }
.dcp-sommaire ol { margin: 0; padding-left: 1.2em; }
.dcp-sommaire a { text-decoration: none; color: var(--encre); font-size: 14px; }
.dcp-sommaire a:hover { color: var(--accent); }

.dcp-auteur { display: flex; gap: 1em; align-items: center; border-top: 1px solid var(--filet); margin-top: 2.4em; padding-top: 1.4em; }
.dcp-auteur__ecusson {
	width: 46px; height: 46px; background: var(--accent); color: var(--accent-encre); border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-family: 'Overpass', Arial, sans-serif; font-weight: 900; font-size: 18px; flex-shrink: 0;
}
.dcp-auteur__nom { font-weight: 700; }
.dcp-auteur__role { font-size: 13px; color: var(--encre-2); }

.dcp-article__une { margin: 1.2em 0 1.6em; max-height: 480px; overflow: hidden; position: relative; }
.dcp-article__une img { width: 100%; height: 100%; object-fit: cover; max-height: 480px; }
.dcp-article__meta { color: var(--encre-2); font-size: 13px; }

/* =====================================================================
   14. CONNEXES / VOISINS
   ===================================================================== */
.dcp-connexes__titre { font-size: 24px; }
.dcp-connexes__liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 1em; }
@media (max-width: 782px) { .dcp-connexes__liste { grid-template-columns: 1fr; } }
.dcp-connexes__liste a { display: block; padding: 12px 16px; background: var(--carte); border: 1px solid var(--filet); text-decoration: none; color: var(--encre); font-weight: 600; }
.dcp-connexes__liste a:hover { border-color: var(--accent); color: var(--accent); }

/* =====================================================================
   15. GRILLES HUB / ARCHIVE
   ===================================================================== */
.dcp-hub__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .dcp-hub__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dcp-hub__grille { grid-template-columns: 1fr; } }
.dcp-filtres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.6em; }

/* =====================================================================
   16. PIED DE PAGE
   ===================================================================== */
.dcp-pied { background: var(--bande-noire); color: var(--bande-noire-encre); padding-top: 70px; }
.dcp-pied__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2em; padding-bottom: 2em; }
@media (max-width: 960px) { .dcp-pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dcp-pied__grille { grid-template-columns: 1fr; } }
.dcp-pied h4 { font-family: 'Overpass', Arial, sans-serif; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 0.8em; }
.dcp-pied ul li { margin-bottom: 0.5em; font-size: 14px; }
.dcp-pied a { text-decoration: none; color: inherit; opacity: 0.85; }
.dcp-pied a:hover { opacity: 1; color: var(--accent); }
.dcp-pied__logo { color: var(--bande-noire-encre); }
.dcp-pied__logo svg { height: 30px; margin-bottom: 1em; }
.dcp-pied__editeur { font-size: 13px; opacity: 0.7; border-top: 1px solid #ffffff22; padding: 1.4em 0; margin-top: 1em; }
.dcp-pied__bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6em; font-size: 12px; opacity: 0.6; padding-bottom: 1.4em; }

/* =====================================================================
   17. ONGLET COLLANT (desktop) + BARRE BASSE FIXE (mobile)
   ===================================================================== */
.dcp-onglet {
	position: fixed; right: 0; top: 45%; transform: translateY(-50%) rotate(-90deg) translateX(50%);
	transform-origin: right bottom; background: var(--accent); color: var(--accent-encre);
	font-family: 'Overpass', Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 13px;
	padding: 10px 18px; text-decoration: none; z-index: 45; letter-spacing: 0.03em;
}
@media (max-width: 960px) { .dcp-onglet { display: none; } }
.dcp-barre-mobile {
	display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
	background: var(--accent); color: var(--accent-encre); text-align: center; padding: 14px;
	font-family: 'Overpass', Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 14px;
	text-decoration: none;
}
@media (max-width: 960px) { .dcp-barre-mobile { display: block; } body { padding-bottom: 58px; } }

/* =====================================================================
   18. 404 / PETITS GABARITS
   ===================================================================== */
.dcp-404 { text-align: center; max-width: 600px; margin: 0 auto; }

/* =====================================================================
   19. UTILITAIRES
   ===================================================================== */
.dcp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
