/* Thème Promoteurs : droitdespromoteurs.com. Voir DESIGN.md pour les règles. */

@font-face {
	font-family: "Mona Sans";
	src: url("../fonts/mona-sans.woff2") format("woff2");
	font-weight: 200 900;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--papier: #fff;
	--calque: #eef1f3;
	--graphite: #16212b;
	--zinc: #56646f;
	--trait: #cdd5db;
	--trait-fort: #8996a1;
	--ardoise: #101820;
	--minium: #d9391a;
	--minium-fonce: #b92f14;
	--sans: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
	--entete: 76px;
}

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

html { scroll-padding-top: calc(var(--entete) + 1.5rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--papier);
	color: var(--graphite);
	font-family: var(--serif);
	font-size: 1.125rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
}
.wp-site-blocks > * { margin-block: 0 !important; }
.dp-main > * { margin-block: 0; }

a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--minium); outline-offset: 3px; }
::selection { background: var(--graphite); color: #fff; }

.dp-wrap {
	width: 100%;
	max-width: 82rem;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* Titres */
.dp-h1, .dp-h2, .dp-h3, .dp-page__titre {
	font-family: var(--sans);
	font-weight: 540;
	margin: 0;
	color: var(--graphite);
}
.dp-h1 {
	font-size: clamp(2.6rem, 0.9rem + 5.6vw, 5.4rem);
	font-stretch: 108%;
	letter-spacing: -0.04em;
	line-height: 0.98;
}
.dp-h1__sub {
	display: block;
	margin-top: 1.4rem;
	font-size: clamp(1.15rem, 0.85rem + 1.1vw, 1.8rem);
	font-weight: 520;
	font-stretch: 100%;
	letter-spacing: -0.015em;
	line-height: 1.22;
	max-width: 36ch;
}
.dp-h1, .dp-h2, .dp-page__titre, .dp-ligne__t, .dp-index__t { text-wrap: balance; }
.dp-h2 {
	font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.25rem);
	font-stretch: 110%;
	letter-spacing: -0.035em;
	line-height: 1.05;
	max-width: 22ch;
}
.dp-h2--l { max-width: none; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.dp-h3 { font-size: 1.25rem; font-stretch: 104%; letter-spacing: -0.015em; }
.dp-page__titre {
	font-size: clamp(2.2rem, 1rem + 3.8vw, 4.2rem);
	font-stretch: 110%;
	letter-spacing: -0.04em;
	line-height: 1;
	max-width: 22ch;
}
.dp-chapeau {
	font-family: var(--serif);
	font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem);
	line-height: 1.45;
	color: var(--graphite);
	max-width: 40rem;
	margin: 1.4rem 0 0;
}
.dp-fine { font-size: 0.875rem; line-height: 1.55; color: var(--zinc); max-width: 40rem; }
.dp-suite { margin: clamp(2rem, 4vw, 3rem) 0 0; font-family: var(--sans); font-weight: 560; }
.dp-lien, .dp-suite a, .dp-liens a, .dp-fine a, .dp-fil a, .dp-meta a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: var(--trait-fort);
	transition: color 0.2s, text-decoration-color 0.2s;
}
.dp-lien:hover, .dp-suite a:hover, .dp-liens a:hover, .dp-fine a:hover, .dp-fil a:hover, .dp-meta a:hover {
	color: var(--minium);
	text-decoration-color: var(--minium);
}

/* Bouton et téléphone */
.dp-btn {
	white-space: nowrap;
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 1.7rem;
	background: var(--minium);
	color: #fff;
	font-family: var(--sans);
	font-weight: 570;
	font-stretch: 104%;
	font-size: 1rem;
	line-height: 1.1;
	text-decoration: none;
	transition: background-color 0.2s;
}
.dp-btn::after {
	content: "";
	position: absolute;
	left: 1.7rem;
	right: 1.7rem;
	bottom: 9px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dp-btn:hover { background: var(--minium-fonce); color: #fff; }
.dp-btn:hover::after { transform: scaleX(1); }
.dp-btn--s { min-height: 44px; padding: 0 1.15rem; font-size: 0.95rem; }
.dp-btn--s::after { left: 1.15rem; right: 1.15rem; bottom: 7px; }
.dp-btn--b { width: 100%; justify-content: center; }
.dp-tel { display: inline-flex; flex-direction: column; text-decoration: none; font-family: var(--sans); line-height: 1.15; }
.dp-tel span { font-size: 0.8125rem; font-stretch: 85%; color: var(--zinc); font-weight: 500; }
.dp-tel strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.dp-tel:hover strong { color: var(--minium); }
.dp-tel--c { flex-direction: row; font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dp-tel--c:hover { color: var(--minium); }
.dp-tel__lib { display: none; }
.dp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.2rem; }
.dp-actions--bas { margin-top: 2.4rem; }
.dp-note { margin: 1.6rem 0 0; font-size: 0.9375rem; color: var(--zinc); max-width: 30rem; }

/* En-tête collant : le logo reste visible en permanence */
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
	background: var(--papier);
	border-bottom: 1px solid var(--trait);
}
.dp-header__in { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); min-height: var(--entete); }
.dp-logo { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit; }
.dp-logo__img { display: block; height: 52px; width: auto; }
.dp-logo__nom {
	padding-left: 1rem;
	border-left: 1px solid var(--trait);
	font-family: var(--sans);
	font-stretch: 82%;
	font-weight: 520;
	font-size: 1rem;
	line-height: 1.1;
	color: var(--zinc);
	white-space: nowrap;
}
.dp-nav { margin-left: auto; }
.dp-nav ul { display: flex; gap: clamp(1rem, 1.8vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.dp-nav__m { display: none; }
.dp-nav a {
	white-space: nowrap;
	display: inline-block;
	padding: 0.5rem 0;
	font-family: var(--sans);
	font-weight: 500;
	font-size: 0.98rem;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.35rem) / 0 1px no-repeat;
	transition: background-size 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dp-nav a:hover { background-size: 100% 1px; }
.dp-header__cta { display: flex; align-items: center; gap: 1.4rem; }
.dp-burger {
	display: none;
	min-height: 44px;
	padding: 0 1rem;
	background: none;
	border: 1px solid var(--graphite);
	color: var(--graphite);
	font-family: var(--sans);
	font-weight: 560;
	font-size: 0.95rem;
	cursor: pointer;
}
.dp-burger[aria-expanded="true"] { background: var(--graphite); color: #fff; }

/* Hero */
.dp-hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.dp-hero__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem) 2rem;
	align-items: start;
}
.dp-hero__grid > .dp-h1 { grid-column: 1 / -1; }
.dp-hero__aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--entete) + 2rem); }
.dp-hero .dp-lead { margin: 0; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.5; }
.dp-hero .dp-actions { margin-top: 2rem; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.dp-hero .dp-note { margin-top: 1.6rem; }
.dp-planche { grid-column: 5 / -1; margin: 0; border: 1px solid var(--graphite); background: var(--papier); }

/* Planche : coupe dessinée */
.dp-coupe__svg { display: block; width: 100%; height: auto; }
.dp-coupe__svg .l { stroke: var(--graphite); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.dp-coupe__svg .lt { stroke: var(--trait-fort); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.dp-coupe__svg .th { stroke: var(--graphite); stroke-width: 2.4; stroke-linejoin: round; }
.dp-coupe__svg .zone { cursor: pointer; outline: none; }
.dp-coupe__svg .hl { pointer-events: all; }
.dp-coupe__svg .hl * { fill: transparent; stroke: transparent; stroke-width: 1.5; transition: fill 0.25s, stroke 0.25s; }
.dp-coupe__svg .zone.is-on .hl * { fill: rgba(217, 57, 26, 0.13); stroke: var(--minium); stroke-dasharray: 5 4; }
.dp-coupe__svg .lead { stroke: var(--graphite); stroke-width: 1.2; fill: none; }
.dp-coupe__svg .call circle { fill: #fff; stroke: var(--graphite); stroke-width: 1.4; transition: fill 0.2s, stroke 0.2s; }
.dp-coupe__svg .call text { font-family: var(--sans); font-size: 14px; font-weight: 600; fill: var(--graphite); pointer-events: none; transition: fill 0.2s; }
.dp-coupe__svg .zone.is-on .call circle { fill: var(--minium); stroke: var(--minium); }
.dp-coupe__svg .zone.is-on .call text { fill: #fff; }
.dp-coupe__svg .zone:focus-visible .call circle { stroke: var(--minium); stroke-width: 3; }

.dp-planche__cote {
	display: grid;
	align-content: end;
	padding: 1rem 1.25rem;
	border-top: 1px solid var(--graphite);
	font-family: var(--sans);
	font-stretch: 85%;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--zinc);
}
.dp-planche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); }
.dp-planche .dp-coupe__svg { grid-column: 1 / -1; }
.dp-planche__cote { grid-column: 1; grid-row: 2; }

/* Cartouche : présentation de l'avocat */
.dp-cartouche {
	grid-column: 2;
	grid-row: 2;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	border-top: 1px solid var(--graphite);
	border-left: 1px solid var(--graphite);
	background: #fff;
}
.dp-cartouche__photo { display: block; width: 112px; height: 142px; object-fit: cover; border-right: 1px solid var(--graphite); }
.dp-cartouche__txt { padding: 0.8rem 1rem; display: grid; align-content: start; gap: 0.15rem; font-family: var(--sans); line-height: 1.25; }
.dp-cartouche__txt p, .dp-cartouche__txt ul { margin: 0; }
.dp-cartouche__nom { font-size: 1.05rem; font-weight: 620; letter-spacing: -0.01em; }
.dp-cartouche__fonction { font-size: 0.8125rem; font-stretch: 90%; color: var(--zinc); }
.dp-cartouche__spe { list-style: none; padding: 0.45rem 0 0 !important; margin: 0.35rem 0 0 !important; border-top: 1px solid var(--trait); font-size: 0.8125rem; font-weight: 560; }
.dp-cartouche__cab { margin-top: 0.35rem !important; font-size: 0.75rem; font-stretch: 85%; color: var(--zinc); }

/* Légende des repères */
.dp-legende { margin-top: clamp(2rem, 4vw, 3.5rem); }
.dp-legende ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 1.5rem; }
.dp-legende li { border-top: 1px solid var(--graphite); }
.dp-legende a { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.7rem; align-items: start; padding: 1rem 0 0; text-decoration: none; font-family: var(--sans); }
.dp-rep {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1.4px solid var(--graphite);
	border-radius: 50%;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	background: #fff;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.dp-legende__nom { font-size: 0.98rem; font-weight: 600; line-height: 1.2; }
.dp-legende__cote { font-size: 0.8125rem; font-stretch: 88%; color: var(--zinc); line-height: 1.3; }
.dp-legende li.is-on .dp-rep, .dp-legende a:focus-visible .dp-rep { background: var(--minium); border-color: var(--minium); color: #fff; }
.dp-legende li.is-on .dp-legende__nom { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* Sections */
.dp-sec { padding-block: var(--section); }
.dp-durees, .dp-avocat, .dp-faq { background: var(--calque); }
.dp-hero + .dp-durees { margin-top: var(--section); }

/* Durées : cotation à partir de la réception */
.dp-durees__tete { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.dp-durees .dp-h2 { max-width: 24ch; }
.dp-echelle, .dp-cote a { display: grid; grid-template-columns: minmax(10rem, 17rem) minmax(0, 1fr); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.dp-echelle__regle { position: relative; height: 2rem; border-bottom: 1px solid var(--graphite); font-family: var(--sans); font-stretch: 85%; font-size: 0.8125rem; color: var(--zinc); }
.dp-echelle__regle span { position: absolute; left: var(--x); bottom: 0.45rem; transform: translateX(-50%); white-space: nowrap; }
.dp-echelle__regle span:first-child { transform: none; }
.dp-echelle__regle span:last-child { transform: translateX(-100%); }
.dp-echelle__regle span::after { content: ""; position: absolute; left: 50%; bottom: -0.45rem; height: 0.4rem; border-left: 1px solid var(--graphite); }
.dp-echelle__regle span:first-child::after { left: 0; }
.dp-echelle__regle span:last-child::after { left: 100%; }
.dp-cotes { list-style: none; margin: 0; padding: 0; }
.dp-cote a { text-decoration: none; padding: 1.15rem 0; border-bottom: 1px solid var(--trait); align-items: center; }
.dp-cote__nom { grid-column: 1; font-family: var(--sans); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.2; }
.dp-cote__base { grid-column: 1; grid-row: 2; font-family: var(--sans); font-stretch: 88%; font-size: 0.85rem; color: var(--zinc); line-height: 1.35; margin-top: 0.15rem; }
.dp-cote__trait {
	grid-column: 2;
	grid-row: 1 / span 2;
	position: relative;
	height: 3.1rem;
	background:
		linear-gradient(var(--trait-fort), var(--trait-fort)) 10% 0 / 1px 100% no-repeat,
		linear-gradient(var(--trait-fort), var(--trait-fort)) 20% 0 / 1px 100% no-repeat,
		linear-gradient(var(--trait-fort), var(--trait-fort)) 50% 0 / 1px 100% no-repeat,
		linear-gradient(var(--trait-fort), var(--trait-fort)) 100% 0 / 1px 100% no-repeat;
}
.dp-cote__trait::before {
	content: "";
	position: absolute;
	left: 0;
	top: 62%;
	width: var(--w);
	height: 10px;
	background: var(--graphite);
	transform-origin: left;
	transition: background-color 0.25s;
}
.dp-cote__duree {
	position: absolute;
	left: calc(var(--w) / 2);
	top: 0;
	transform: translateX(-50%);
	font-family: var(--sans);
	font-weight: 560;
	font-size: 0.9rem;
	white-space: nowrap;
}
.dp-cote:nth-child(-n+2) .dp-cote__duree { left: calc(var(--w) + 0.9rem); transform: none; top: 40%; }
.dp-cote--ouverte .dp-cote__trait::after {
	content: "";
	position: absolute;
	left: 100%;
	top: calc(62% - 6px);
	border: 11px solid transparent;
	border-left: 14px solid var(--graphite);
	border-right: 0;
	transition: border-left-color 0.25s;
}
.dp-cote a:hover .dp-cote__trait::before { background: var(--minium); }
.dp-cote a:hover.dp-cote--ouverte .dp-cote__trait::after, .dp-cote--ouverte a:hover .dp-cote__trait::after { border-left-color: var(--minium); }
.dp-cote a:hover .dp-cote__nom { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.dp-cote-note { margin: 1.6rem 0 0; font-size: 0.9rem; color: var(--zinc); max-width: 42rem; }
@media (prefers-reduced-motion: no-preference) {
	.dp-cote__trait::before { animation: dp-trace 1.1s cubic-bezier(0.6, 0, 0.2, 1) both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
}
@keyframes dp-trace { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Domaines */
.dp-lignes { border-bottom: 1px solid var(--graphite); }
.dp-ligne { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem 2rem; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--graphite); }
.dp-ligne__t { grid-column: 1 / span 5; margin: 0; font-family: var(--sans); font-weight: 540; font-stretch: 108%; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.7rem); }
.dp-ligne__c { grid-column: 7 / -1; }
.dp-ligne__c p { margin: 0; max-width: 38rem; }
.dp-liens { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; font-family: var(--sans); font-weight: 520; font-size: 0.98rem; }

/* L'avocat */
.dp-avocat__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; align-items: start; }
.dp-avocat__photo { grid-column: 1 / span 5; margin: 0; position: sticky; top: calc(var(--entete) + 2rem); }
.dp-avocat__photo img { display: block; width: 100%; aspect-ratio: 715 / 910; object-fit: cover; }
.dp-avocat__texte { grid-column: 7 / -1; }
.dp-avocat__texte > p { max-width: 38rem; }
.dp-avocat__texte .dp-chapeau { font-family: var(--sans); font-weight: 520; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.25; margin-top: 1.2rem; }
.dp-spe { margin: 2.4rem 0 0; }
.dp-spe > div { padding: 1.3rem 0; border-top: 1px solid var(--graphite); }
.dp-spe dt { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; }
.dp-spe dd { margin: 0.4rem 0 0; color: var(--zinc); font-size: 1rem; line-height: 1.55; }
.dp-spe + .dp-fine { padding-top: 1.2rem; border-top: 1px solid var(--graphite); margin: 0; }

.dp-classement { margin-top: clamp(4rem, 7vw, 6.5rem); }
.dp-classement__t { margin: 0; font-family: var(--sans); font-weight: 540; font-stretch: 106%; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; }
.dp-classement__p { margin: 0.8rem 0 0; max-width: 40rem; }
.dp-classement__l { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; }
.dp-classement__l li { display: grid; gap: 0.3rem; align-content: start; padding: 1.1rem 0 0; border-top: 1px solid var(--graphite); }
.dp-classement__l span { font-family: var(--sans); font-stretch: 88%; font-size: 0.8125rem; color: var(--zinc); }
.dp-classement__l strong { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.dp-classement__l em { font-size: 0.98rem; color: var(--zinc); }

/* Index des analyses */
.dp-index { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--trait); }
.dp-index li { border-top: 1px solid var(--trait); }
.dp-index a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.4rem 2rem; padding: 1.6rem 0; text-decoration: none; align-items: baseline; }
.dp-index__t { grid-column: 1 / span 5; font-family: var(--sans); font-weight: 560; font-stretch: 104%; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2; transition: color 0.2s; }
.dp-index__e { grid-column: 6 / span 5; font-size: 1rem; line-height: 1.55; color: var(--zinc); }
.dp-index__d { grid-column: 11 / -1; white-space: nowrap; font-family: var(--sans); font-stretch: 85%; font-size: 0.8125rem; color: var(--zinc); text-align: right; }
.dp-index a:hover .dp-index__t { color: var(--minium); }
.dp-index--c a { grid-template-columns: 1fr; padding: 1.2rem 0; }
.dp-index--c .dp-index__t, .dp-index--c .dp-index__e { grid-column: 1; }
.dp-index--page { margin-top: clamp(2rem, 4vw, 3rem); }

/* Questions fréquentes */
.dp-faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.dp-faq__grid .dp-h2 { grid-column: 1 / span 5; }
.dp-faq__liste { grid-column: 7 / -1; border-bottom: 1px solid var(--graphite); }
.dp-faq details { border-top: 1px solid var(--graphite); interpolate-size: allow-keywords; }
.dp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; font-family: var(--sans); font-weight: 580; font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.3; }
.dp-faq summary::-webkit-details-marker { display: none; }
.dp-faq summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 0.3rem;
	background: linear-gradient(var(--graphite), var(--graphite)) center / 100% 1.5px no-repeat, linear-gradient(var(--graphite), var(--graphite)) center / 1.5px 100% no-repeat;
	transition: transform 0.3s;
}
.dp-faq details[open] summary::after { background: linear-gradient(var(--graphite), var(--graphite)) center / 100% 1.5px no-repeat; }
.dp-faq details p { margin: 0 0 1.5rem; max-width: 38rem; }
.dp-faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete; }
.dp-faq details[open]::details-content { block-size: auto; }

/* Contact : unique bande sombre */
.dp-contact { background: var(--ardoise); color: #e7ecef; padding-block: var(--section); }
.dp-contact :focus-visible { outline-color: #fff; }
.dp-contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem 2rem; align-items: start; }
.dp-contact__texte { grid-column: 1 / span 5; }
.dp-contact__form { grid-column: 7 / -1; }
.dp-contact .dp-h2, .dp-contact .dp-chapeau { color: #fff; }
.dp-contact .dp-chapeau { color: #d3dbe0; }
.dp-contact .dp-fine { color: #a9b6bf; }
.dp-contact .dp-fine a { text-decoration-color: #6f808c; }
.dp-contact .dp-fine a:hover { color: #fff; text-decoration-color: #fff; }
.dp-coord { font-style: normal; margin-top: 2.4rem; display: grid; gap: 1.1rem; }
.dp-coord p { margin: 0; }
.dp-tel--n span { color: #a9b6bf; }
.dp-tel--n:hover strong { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.dp-contact .wpcf7 p { margin: 0 0 1.6rem; }
.dp-contact .wpcf7 label { display: block; font-family: var(--sans); font-size: 0.9rem; font-weight: 520; color: #b7c3cb; }
.dp-contact .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 0.3rem; }
.dp-contact .wpcf7 input[type="text"],
.dp-contact .wpcf7 input[type="email"],
.dp-contact .wpcf7 input[type="tel"],
.dp-contact .wpcf7 select,
.dp-contact .wpcf7 textarea {
	width: 100%;
	padding: 0.65rem 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #52636f;
	border-radius: 0;
	color: #fff;
	font-family: var(--serif);
	font-size: 1.125rem;
	line-height: 1.4;
	transition: border-color 0.2s;
}
.dp-contact .wpcf7 select option { color: #16212b; }
.dp-contact .wpcf7 textarea { height: 9rem; min-height: 7.5rem; resize: vertical; }
.dp-contact .wpcf7 form[data-status="init"] .wpcf7-response-output, .dp-contact .wpcf7 fieldset.hidden-fields-container { display: none; }
.dp-contact .wpcf7 input:focus, .dp-contact .wpcf7 textarea:focus, .dp-contact .wpcf7 select:focus { outline: none; border-bottom-color: #fff; box-shadow: 0 1px 0 #fff; }
.dp-contact .wpcf7 .wpcf7-acceptance label { display: flex; gap: 0.8rem; align-items: flex-start; font-family: var(--serif); font-size: 0.95rem; color: #d3dbe0; }
.dp-contact .wpcf7 input[type="checkbox"] { accent-color: var(--minium); width: 1.1rem; height: 1.1rem; margin-top: 0.3rem; flex: none; }
.dp-contact .wpcf7 .wpcf7-submit { cursor: pointer; min-height: 52px; padding: 0 1.7rem; background: var(--minium); border: 0; border-radius: 0; color: #fff; font-family: var(--sans); font-weight: 570; font-stretch: 104%; font-size: 1rem; transition: background-color 0.2s; }
.dp-contact .wpcf7 .wpcf7-submit:hover { background: var(--minium-fonce); }
.dp-contact .wpcf7-not-valid-tip { color: #ff9f8b; font-size: 0.875rem; margin-top: 0.3rem; }
.dp-contact .wpcf7 form .wpcf7-response-output { margin: 1.4rem 0 0; padding: 0.9rem 1rem; border: 1px solid #52636f; color: #e7ecef; font-family: var(--sans); font-size: 0.95rem; }
.dp-contact .wpcf7-spinner { background-color: #52636f; }
.dp-fine--g { margin-top: 1.5rem; }
.grecaptcha-badge { visibility: hidden; }

/* Pied de page : cartouche */
.dp-pied { padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; background: var(--papier); }
.dp-tb { display: grid; grid-template-columns: 1.15fr 1.5fr 1.45fr 1.25fr 1.1fr; border: 1px solid var(--graphite); }
.dp-tb__c { padding: 1.4rem 1.3rem; border-left: 1px solid var(--graphite); font-size: 0.98rem; line-height: 1.55; }
.dp-tb__c:first-child { border-left: 0; }
.dp-tb__c p { margin: 0; }
.dp-tb__c ul { list-style: none; margin: 0; padding: 0; }
.dp-tb__c a { text-decoration: none; }
.dp-tb__c a:hover { color: var(--minium); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.dp-tb__k { font-family: var(--sans); font-stretch: 85%; font-weight: 560; font-size: 0.8125rem; color: var(--zinc); margin-bottom: 0.5rem !important; }
.dp-tb__nom { margin-top: 0.9rem !important; font-family: var(--sans); font-stretch: 85%; font-size: 0.9rem; color: var(--zinc); }
.dp-pied__l { margin: 1.6rem 0 0; max-width: 54rem; font-size: 0.875rem; line-height: 1.55; color: var(--zinc); }

/* Pages et analyses */
.dp-page__in { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); }
.dp-fil { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; font-family: var(--sans); font-stretch: 88%; font-size: 0.875rem; color: var(--zinc); }
.dp-page__chapeau { margin-bottom: 0; }
.dp-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem clamp(2.5rem, 6vw, 7rem); padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); align-items: start; }
.dp-article__main { min-width: 0; max-width: 46rem; }
.dp-article__main > * { margin-block: 0; }
.dp-article__titre { max-width: 20ch; }
.dp-article__chapeau { margin-top: 1.6rem; }
.dp-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; margin: 2rem 0 0; padding: 0.9rem 0; border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--trait); font-family: var(--sans); font-stretch: 88%; font-size: 0.875rem; color: var(--zinc); }
.dp-prose { margin-top: clamp(2rem, 4vw, 3rem); max-width: 42.5rem; }
.dp-prose > * { margin-block: 0 1.3em; }
.dp-prose h2, .dp-prose h3 { font-family: var(--sans); font-weight: 560; color: var(--graphite); }
.dp-prose h2 { margin-block: 2.8em 0.8em; font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.1rem); font-stretch: 106%; letter-spacing: -0.03em; line-height: 1.12; }
.dp-prose h3 { margin-block: 2em 0.6em; font-size: 1.3rem; letter-spacing: -0.015em; }
.dp-prose > h2:first-child, .dp-prose > h3:first-child { margin-top: 0; }
.dp-prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--trait-fort); transition: color 0.2s, text-decoration-color 0.2s; }
.dp-prose a:hover { color: var(--minium); text-decoration-color: var(--minium); }
.dp-prose ul, .dp-prose ol { padding: 0; list-style: none; }
.dp-prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5em; }
.dp-prose ul li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.8rem; border-top: 1.5px solid var(--graphite); }
.dp-prose ol { counter-reset: n; }
.dp-prose ol li { position: relative; padding-left: 2.2rem; margin-bottom: 0.5em; counter-increment: n; }
.dp-prose ol li::before { content: counter(n) "."; position: absolute; left: 0; font-family: var(--sans); font-weight: 600; font-variant-numeric: tabular-nums; }
.dp-prose img { display: block; width: 100%; height: auto; margin: 0 0 1.6rem; }
.dp-prose figure { margin: 0 0 1.6rem; }
.dp-prose figcaption { font-family: var(--sans); font-stretch: 88%; font-size: 0.8125rem; color: var(--zinc); margin-top: 0.5rem; }
.dp-prose blockquote { margin: 0 0 1.3em; padding: 0 0 0 1.4rem; border-left: 1.5px solid var(--graphite); font-style: italic; }
.dp-prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.dp-prose th, .dp-prose td { text-align: left; padding: 0.7rem 0.8rem 0.7rem 0; border-top: 1px solid var(--trait); vertical-align: top; }
.dp-prose th { font-family: var(--sans); font-weight: 600; border-top-color: var(--graphite); }
.dp-prose hr { border: 0; border-top: 1px solid var(--trait); margin: 2.5rem 0; }
.dp-prose p:has(> em:only-child):last-child, .dp-prose > p:last-child { color: var(--zinc); font-size: 0.95rem; }

.dp-suite-analyses { margin-top: clamp(3rem, 6vw, 5rem); }
.dp-suite-analyses .dp-h3 { margin: 0 0 1rem; }

.dp-rail { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--entete) + 1.5rem); display: grid; gap: 2rem; }
.dp-toc__t { margin: 0 0 0.8rem; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; }
.dp-toc__l { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--trait); font-family: var(--sans); font-size: 0.9rem; line-height: 1.35; }
.dp-toc__l a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -1px; border-left: 1.5px solid transparent; text-decoration: none; color: var(--zinc); transition: color 0.2s, border-color 0.2s; }
.dp-toc__l a:hover { color: var(--graphite); }
.dp-toc__l a.is-on { color: var(--graphite); border-left-color: var(--minium); font-weight: 560; }
.dp-rail__cta { display: grid; gap: 0.7rem; padding: 1.3rem; border: 1px solid var(--graphite); }
.dp-rail__cta img { display: block; width: 72px; height: 91px; object-fit: cover; }
.dp-rail__q { margin: 0.4rem 0 0; font-family: var(--sans); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.2; }
.dp-rail__s { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.5; color: var(--zinc); }
.dp-rail__cta .dp-tel--c { justify-content: center; padding: 0.4rem 0; }

/* Mouvement : le dessin se trace une fois au chargement */
@media (prefers-reduced-motion: no-preference) {
	.dp-coupe__svg .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dp-draw 1.5s cubic-bezier(0.6, 0, 0.2, 1) forwards; animation-delay: calc(var(--i, 0) * 80ms); }
	.dp-coupe__svg .pc { opacity: 0; animation: dp-fade 0.7s ease forwards; animation-delay: calc(var(--i, 0) * 80ms + 700ms); }
	.dp-coupe__svg .call, .dp-coupe__svg .lead { opacity: 0; animation: dp-fade 0.5s ease forwards; animation-delay: 1.5s; }
}
@keyframes dp-draw { to { stroke-dashoffset: 0; } }
@keyframes dp-fade { to { opacity: 1; } }

/* Tablette */
@media (max-width: 1280px) {
	.dp-header__cta .dp-tel--c { display: none; }
}
@media (max-width: 1100px) {
	.dp-legende ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
	.dp-classement__l { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
	.dp-tb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dp-tb__c { border-top: 1px solid var(--graphite); }
	.dp-tb__c:nth-child(-n+3) { border-top: 0; }
	.dp-tb__c:nth-child(4) { border-left: 0; }
}
@media (max-width: 980px) {
	.dp-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 0.75rem clamp(1.25rem, 5vw, 3rem) 1.5rem; background: #fff; border-bottom: 1px solid var(--graphite); }
	.dp-header.is-open .dp-nav { display: block; }
	.dp-nav__m { display: list-item; }
	.dp-nav ul { flex-direction: column; gap: 0; }
	.dp-nav a { display: block; padding: 0.9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--trait); }
	.dp-header__cta { margin-left: auto; }
	.dp-burger { display: inline-flex; align-items: center; }
	.dp-hero__grid { grid-template-columns: 1fr; }
	.dp-hero__grid > * { grid-column: 1 / -1 !important; }
	.dp-hero__aside { position: static; }
	.dp-hero .dp-actions { flex-direction: row; }
	.dp-ligne__t, .dp-ligne__c, .dp-avocat__photo, .dp-avocat__texte, .dp-faq__grid .dp-h2, .dp-faq__liste, .dp-contact__texte, .dp-contact__form { grid-column: 1 / -1; }
	.dp-avocat__photo { position: static; max-width: 24rem; }
	.dp-index__t { grid-column: 1 / -1; }
	.dp-index__e { grid-column: 1 / span 9; }
	.dp-index__d { grid-column: 10 / -1; }
	.dp-article__grid { grid-template-columns: 1fr; }
	.dp-rail { position: static; }
	.dp-toc { display: none; }
}
@media (max-width: 760px) {
	.dp-planche { grid-template-columns: 1fr; }
	.dp-planche__cote { grid-column: 1; grid-row: 2; border-bottom: 0; padding-bottom: 0.75rem; }
	.dp-cartouche { grid-column: 1; grid-row: 3; border-left: 0; }
	.dp-legende ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dp-echelle, .dp-cote a { grid-template-columns: 1fr; }
	.dp-echelle > div:first-child { display: none; }
	.dp-cote__trait { grid-column: 1; grid-row: auto; margin-top: 0.5rem; }
	.dp-cote__base { grid-row: auto; }
	.dp-tb { grid-template-columns: 1fr; }
	.dp-tb__c, .dp-tb__c:nth-child(4) { border-left: 0; border-top: 1px solid var(--graphite); }
	.dp-tb__c:first-child { border-top: 0; }
	.dp-classement__l { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	:root { --entete: 68px; }
	.dp-logo__nom, .dp-btn--s { display: none; }
	.dp-logo__img { height: 44px; }
	.dp-tel--c .dp-tel__num { display: none; }
	.dp-tel--c .dp-tel__lib { display: inline; }
	.dp-tel--c { padding: 0.65rem 1rem; border: 1px solid var(--graphite); }
	.dp-actions { gap: 1rem; }
	.dp-btn { width: 100%; justify-content: center; }
	.dp-index__e { grid-column: 1 / -1; }
	.dp-index__d { grid-column: 1 / -1; text-align: left; }
}
