/* =========================================================================
   HD Avocats — feuille de style
   Charte : marine et or. Titres : Newsreader. Texte : Public Sans.
   Polices hébergées sur le site (aucune requête vers un service tiers).
   ========================================================================= */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-opsz.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
	--marine: #13243B;
	--marine-900: #0C1829;
	--marine-700: #22395A;
	--or: #B08A45;
	--or-fonce: #8A6A2F;
	--or-clair: #D4B574;
	--brume: #EEF2F6;
	--papier: #FFFFFF;
	--encre: #1B2533;
	--texte-2: #3D4A5C;
	--gris: #556275;
	--trait: #D7DEE7;
	--rouge: #A4262C;
	--rouge-fonce: #861E23;
	--rouge-pale: #FBEDEE;
	--serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--space: clamp(3.5rem, 7vw, 6rem);
	--header: 4.5rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1.5rem); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--encre); background: var(--papier); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--marine); font-weight: 480; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--marine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--or-fonce); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.hd-main:focus { outline: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.hd-skip { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: var(--marine); color: #fff; padding: .75rem 1rem; }
.hd-skip:focus { left: .5rem; color: #fff; }
.hd-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hd-narrow { max-width: 860px; }
.hd-nowrap { white-space: nowrap; }
.hd-icon { width: 1.15em; height: 1.15em; flex: none; }
.hd-icon--sm { width: .95em; height: .95em; }
.hd-icon--lg { width: 1.9em; height: 1.9em; }

/* ---------- Typographie ---------- */
.hd-h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.55rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: .6em; }
.hd-h3 { font-size: 1.28rem; font-weight: 580; line-height: 1.28; margin-bottom: .35em; }
.hd-lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--texte-2); line-height: 1.6; }
.hd-lead--narrow { max-width: 60ch; margin: 0; }
.hd-muted { color: var(--gris); font-size: .95rem; }
.hd-link { font-weight: 650; color: var(--marine); text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hd-link:hover { color: var(--or-fonce); }
.hd-link-light { color: var(--or-clair); font-weight: 600; }
.hd-link-light:hover { color: #fff; }
.hd-empty { background: var(--brume); border-left: 3px solid var(--or); padding: 1.25rem 1.5rem; max-width: 70ch; }
.hd-disclaimer { font-size: .88rem; color: var(--gris); border-top: 1px solid var(--trait); padding-top: 1rem; margin-top: 2.5rem; }
.hd-tag { display: inline-block; padding: .35rem .7rem; background: var(--brume); color: var(--gris); font-size: .85rem; font-weight: 700; }
.hd-hint { display: inline-block; background: #FFF1F1; color: var(--rouge-fonce); border: 1px dashed var(--rouge); padding: .2rem .55rem; font: 600 .8rem/1.4 var(--sans); margin: .3rem 0; }
.hd-hint a { color: inherit; }

/* ---------- Boutons ---------- */
.hd-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hd-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 650 .98rem/1.2 var(--sans); padding: .8rem 1.2rem; border-radius: 3px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; text-align: center; }
.hd-btn--lg { padding: 1rem 1.5rem; font-size: 1.04rem; }
.hd-btn--block { display: flex; width: 100%; }
.hd-btn--primary { background: var(--marine); color: #fff; }
.hd-btn--primary:hover { background: var(--marine-700); color: #fff; }
.hd-btn--light { background: #fff; color: var(--marine); }
.hd-btn--light:hover { background: var(--brume); color: var(--marine); }
.hd-btn--urgent { background: var(--rouge); color: #fff; }
.hd-btn--urgent:hover { background: var(--rouge-fonce); color: #fff; }
.hd-btn--urgent-outline { color: var(--rouge); border-color: var(--rouge); background: transparent; }
.hd-btn--urgent-outline:hover { background: var(--rouge); color: #fff; }
.hd-btn--ghost { color: var(--marine); border-color: var(--marine); background: transparent; }
.hd-btn--ghost:hover { background: var(--marine); color: #fff; }
.hd-btn[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------- En-tête ---------- */
.hd-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hd-header.is-scrolled { border-bottom-color: var(--trait); box-shadow: 0 4px 18px rgba(12, 24, 41, .06); }
.admin-bar .hd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hd-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hd-header { top: 0; } }
.hd-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header); }
.hd-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--marine); margin: 0; }
.hd-brand:hover { color: var(--marine); }
.hd-brand__logo { max-height: 52px; width: auto; display: block; }
.hd-brand__mark { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--marine); color: var(--or-clair); font: 600 1.15rem/1 var(--serif); letter-spacing: .03em; border-radius: 2px; flex: none; }
.hd-brand__text { display: flex; flex-direction: column; }
.hd-brand__name { font: 600 1.32rem/1 var(--serif); }
.hd-brand__tag { font-size: .74rem; color: var(--gris); margin-top: .3rem; display: none; }
@media (min-width: 1560px) { .hd-brand__tag { display: block; } }
.hd-brand--light, .hd-brand--light:hover { color: #fff; }

.hd-menu-toggle { display: inline-flex; align-items: center; gap: .45rem; font: 650 .95rem/1 var(--sans); background: none; border: 1px solid var(--trait); padding: .6rem .8rem; border-radius: 3px; color: var(--marine); cursor: pointer; }
.hd-menu-toggle span { display: inline-flex; align-items: center; gap: .45rem; }
.hd-menu-toggle__close { display: none !important; }
.hd-menu-open .hd-menu-toggle__open { display: none !important; }
.hd-menu-open .hd-menu-toggle__close { display: inline-flex !important; }

.hd-nav { display: none; }
.hd-nav ul { list-style: none; margin: 0; padding: 0; }
.hd-menu-open .hd-nav { display: block; position: fixed; inset: var(--header) 0 0 0; background: #fff; overflow-y: auto; padding: 1rem var(--gutter) 7rem; border-top: 1px solid var(--trait); z-index: 45; }
.admin-bar.hd-menu-open .hd-nav, .hd-menu-open .admin-bar .hd-nav { top: calc(var(--header) + 46px); }
.hd-menu-open body { overflow: hidden; }
.hd-nav__list > li > a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--trait); font: 480 1.35rem/1.2 var(--serif); color: var(--marine); text-decoration: none; }
.hd-nav .sub-menu { padding: .25rem 0 .75rem 1rem; }
.hd-nav .sub-menu a { display: block; padding: .5rem 0; font-size: 1rem; color: var(--texte-2); text-decoration: none; }
.hd-nav__actions { display: grid; gap: .75rem; margin-top: 1.5rem; }

@media (min-width: 1200px) {
	.hd-menu-toggle { display: none; }
	.hd-nav, .hd-menu-open .hd-nav { display: flex; align-items: center; gap: 1.75rem; position: static; padding: 0; overflow: visible; border: 0; background: none; }
	.hd-nav__list { display: flex; gap: 1.35rem; }
	.hd-nav__list > li { position: relative; }
	.hd-nav__list > li > a { display: inline-flex; align-items: center; padding: .65rem 0; border: 0; font: 600 .95rem/1.2 var(--sans); }
	.hd-nav__list > li > a:hover { color: var(--or-fonce); }
	.hd-nav__list > .current-menu-item > a, .hd-nav__list > .current-menu-ancestor > a, .hd-nav__list > .current-page-ancestor > a { box-shadow: inset 0 -2px 0 var(--or); }
	.hd-nav__list > .menu-item-has-children > a::after { content: ""; width: .42rem; height: .42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: .5rem; }
	.hd-nav .sub-menu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 17rem; background: #fff; border: 1px solid var(--trait); border-top: 2px solid var(--or); box-shadow: 0 14px 30px rgba(12, 24, 41, .12); padding: .5rem 0; }
	.hd-nav li:hover > .sub-menu, .hd-nav li:focus-within > .sub-menu { display: block; }
	.hd-nav .sub-menu a { padding: .6rem 1.1rem; color: var(--marine); font-weight: 500; font-size: .95rem; }
	.hd-nav .sub-menu a:hover { background: var(--brume); }
	.hd-nav__actions { display: flex; gap: .6rem; margin: 0; }
	.hd-nav__actions .hd-btn { padding: .62rem .95rem; font-size: .92rem; white-space: nowrap; }
}

/* ---------- Sections ---------- */
.hd-section { padding-block: var(--space); }
.hd-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.hd-section--brume { background: var(--brume); }
.hd-split { display: grid; gap: 2.25rem; }
@media (min-width: 960px) {
	.hd-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; }
	.hd-split__head { position: sticky; top: calc(var(--header) + 2rem); align-self: start; }
}
.hd-sectionhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 2rem; }
.hd-sectionhead .hd-h2 { margin: 0; }

/* ---------- Accueil : en-tête ---------- */
.hd-hero { background: var(--marine); color: #fff; padding-block: clamp(3.25rem, 8vw, 6.25rem) clamp(2.5rem, 5vw, 3.5rem); }
.hd-hero__grid { display: grid; gap: 3rem; align-items: end; }
@media (min-width: 980px) { .hd-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4.5rem; } }
.hd-hero__title { font-size: clamp(3rem, 1.5rem + 6.4vw, 6.6rem); line-height: .96; font-weight: 400; letter-spacing: -.022em; color: #fff; margin: 0; }
.hd-hero__title span { display: block; }
.hd-hero__lead { max-width: 40rem; color: rgba(255, 255, 255, .84); font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); line-height: 1.6; margin: 1.75rem 0 2rem; }

.hd-creds { border-left: 2px solid var(--or-clair); padding-left: 1.5rem; }
.hd-creds__figure { position: relative; margin: 0 0 1.75rem; max-width: 290px; }
.hd-creds__figure::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--or-clair); }
.hd-creds__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hd-creds__name { font: 480 1.6rem/1.15 var(--serif); color: #fff; margin: 0; }
.hd-creds__role { color: var(--or-clair); font-size: .95rem; margin: .3rem 0 1.25rem; }
.hd-creds__list { margin: 0; }
.hd-creds__list div { padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.hd-creds__list dt { font-size: .8rem; color: rgba(255, 255, 255, .62); }
.hd-creds__list dd { margin: .15rem 0 0; font-size: .97rem; color: #fff; line-height: 1.45; }

/* ---------- Échéancier des délais ---------- */
.hd-ruler { margin-top: clamp(3rem, 6vw, 4.5rem); }
.hd-ruler__title { font: 650 .98rem/1.3 var(--sans); color: var(--or-clair); margin: 0 0 1.4rem; }
.hd-ruler__list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; }
.hd-ruler__list::before { content: ""; position: absolute; background: var(--or-clair); }
.hd-ruler__list::after { content: ""; position: absolute; opacity: .55; }
.hd-ruler__item { position: relative; }
.hd-ruler__item::before { content: ""; position: absolute; background: var(--or-clair); }
.hd-ruler__link { display: block; color: inherit; text-decoration: none; }
.hd-ruler__value { display: block; font: 420 clamp(1.55rem, 1rem + 1.3vw, 2.15rem)/1.05 var(--serif); color: #fff; margin-bottom: .45rem; }
.hd-ruler__label { display: block; font-size: .92rem; line-height: 1.38; color: rgba(255, 255, 255, .88); }
.hd-ruler__ref { display: block; margin-top: .45rem; font: italic 400 .88rem/1.3 var(--serif); color: var(--or-clair); }
.hd-ruler__link:hover .hd-ruler__label { text-decoration: underline; text-decoration-color: var(--or-clair); text-underline-offset: 3px; }
.hd-ruler__note { margin: 1.4rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* Mobile : échéancier vertical */
.hd-ruler__list::before { left: 0; top: 0; bottom: 0; width: 2px; }
.hd-ruler__list::after { left: 2px; top: 0; bottom: 0; width: 7px; background: repeating-linear-gradient(180deg, var(--or-clair) 0 1px, transparent 1px 14px); }
.hd-ruler__item { padding: 0 0 1.4rem 1.6rem; }
.hd-ruler__item::before { left: 0; top: .7rem; width: 18px; height: 2px; }

@media (min-width: 900px) {
	.hd-ruler__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.hd-ruler__list::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
	.hd-ruler__list::after { left: 0; right: 0; top: 2px; bottom: auto; width: auto; height: 7px; background: repeating-linear-gradient(90deg, var(--or-clair) 0 1px, transparent 1px 16px); }
	.hd-ruler__item { padding: 1.5rem 1.25rem 0 0; }
	.hd-ruler__item::before { left: 0; top: 0; width: 2px; height: 20px; }
}

/* Version claire (page Urgences) */
.hd-ruler--light .hd-ruler__title { color: var(--or-fonce); }
.hd-ruler--light .hd-ruler__list::before, .hd-ruler--light .hd-ruler__item::before { background: var(--or); }
.hd-ruler--light .hd-ruler__list::after { background: repeating-linear-gradient(180deg, var(--or) 0 1px, transparent 1px 14px); }
@media (min-width: 900px) { .hd-ruler--light .hd-ruler__list::after { background: repeating-linear-gradient(90deg, var(--or) 0 1px, transparent 1px 16px); } }
.hd-ruler--light .hd-ruler__value { color: var(--marine); }
.hd-ruler--light .hd-ruler__label { color: var(--encre); }
.hd-ruler--light .hd-ruler__ref { color: var(--or-fonce); }
.hd-ruler--light .hd-ruler__note { color: var(--gris); }
.hd-ruler--light { margin-top: 0; }

/* Le seul mouvement du site : la règle se trace au chargement de l'accueil. */
@keyframes hd-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hd-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hd-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hd-hero .hd-ruler__list::before, .hd-hero .hd-ruler__list::after { transform-origin: top; animation: hd-draw-y 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
@media (min-width: 900px) { .hd-hero .hd-ruler__list::before, .hd-hero .hd-ruler__list::after { transform-origin: left; animation-name: hd-draw-x; } }
.hd-hero .hd-ruler__item { animation: hd-rise .6s ease-out both; animation-delay: calc(.45s + var(--i, 0) * 90ms); }

/* ---------- Index de situations ---------- */
.hd-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.hd-index > li { border-bottom: 1px solid var(--trait); }
.hd-index__link { display: grid; gap: .25rem; padding: 1.1rem .5rem 1.1rem 0; color: inherit; text-decoration: none; transition: padding .2s ease, box-shadow .2s ease; }
.hd-index__title { font: 500 1.28rem/1.3 var(--serif); color: var(--marine); }
.hd-index__desc { font-size: .95rem; color: var(--gris); }
.hd-index__desc:empty { display: none; }
.hd-index__link:hover { padding-left: 1rem; box-shadow: inset 3px 0 0 var(--or); }
.hd-index__link:hover .hd-index__title { color: var(--or-fonce); }
.hd-hubrow { border-bottom: 1px solid var(--trait); }
.hd-hubrow:last-child { border-bottom: 0; }
.hd-hubrow .hd-h2 a { text-decoration: none; }

/* ---------- Triptyque, méthode ---------- */
.hd-trio { display: grid; gap: 2.25rem; margin-top: 1rem; }
@media (min-width: 820px) { .hd-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.hd-trio__item { border-top: 2px solid var(--or); padding-top: 1.25rem; }
.hd-trio__verb { font: italic 400 clamp(2rem, 1.5rem + 1.2vw, 2.6rem)/1.05 var(--serif); color: var(--marine); margin: 0 0 .6rem; }
.hd-trio__title { font-size: 1.18rem; font-weight: 600; margin-bottom: .5rem; }
.hd-trio__item p { color: var(--texte-2); }
.hd-points { display: grid; gap: 2rem 2.5rem; }
@media (min-width: 720px) { .hd-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hd-points__item p { color: var(--texte-2); margin: 0; }

/* ---------- Fiches missions ---------- */
.hd-fiches { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .hd-fiches--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hd-fiche { background: #fff; border: 1px solid var(--trait); border-top: 3px solid var(--marine); padding: 1.5rem 1.5rem 1.1rem; }
.hd-fiche[hidden] { display: none; }
.hd-fiche__domain { font-size: .84rem; font-weight: 650; color: var(--or-fonce); margin: 0 0 .5rem; }
.hd-fiche__title { font-size: 1.32rem; font-weight: 500; line-height: 1.25; margin: 0 0 .4rem; }
.hd-fiche__title a { text-decoration: none; }
.hd-fiche__title a:hover { text-decoration: underline; text-decoration-color: var(--or); }
.hd-fiche__notes { margin: .9rem 0 0; }
.hd-fiche__notes div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .75rem; padding: .6rem 0; border-top: 1px dashed var(--trait); }
.hd-fiche__notes dt { font: italic 400 .95rem/1.45 var(--serif); color: var(--or-fonce); }
.hd-fiche__notes dd { margin: 0; font-size: .95rem; line-height: 1.5; }

/* ---------- Presse, citations ---------- */
.hd-press { margin: 2rem 0 0; }
.hd-press__quote { margin: 0 0 1rem; padding-left: 1.25rem; border-left: 2px solid var(--or); }
.hd-press__quote p { font: italic 400 1.15rem/1.55 var(--serif); color: var(--marine); margin: 0; }
.hd-press__caption { display: flex; align-items: center; gap: .9rem; font-size: .9rem; color: var(--gris); }
.hd-press__badge { max-height: 70px; width: auto; }
.hd-quotes { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 820px) { .hd-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hd-quote { margin: 2rem 0; background: #fff; padding: 1.5rem; border-left: 3px solid var(--or); }
.hd-quotes .hd-quote { margin: 0; }
.hd-quote blockquote { margin: 0; }
.hd-quote p { font: italic 400 1.15rem/1.55 var(--serif); color: var(--marine); margin: 0; }
.hd-quote figcaption { margin-top: .75rem; font-size: .9rem; color: var(--gris); }

/* ---------- Bandeau urgence ---------- */
.hd-urgence-band { background: var(--marine-900); color: #fff; padding-block: clamp(2.75rem, 5vw, 4rem); border-top: 4px solid var(--rouge); }
.hd-urgence-band__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hd-urgence-band__inner { grid-template-columns: minmax(0, 1.4fr) auto; gap: 4rem; } }
.hd-urgence-band .hd-h2 { color: #fff; margin-bottom: .5rem; }
.hd-urgence-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.hd-urgence-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }

/* ---------- Matinales ---------- */
.hd-matinales { display: grid; gap: 1rem; }
.hd-matinale { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: .5rem 1.25rem; padding: 1.25rem; background: #fff; border: 1px solid var(--trait); }
@media (min-width: 720px) { .hd-matinale { grid-template-columns: 5.25rem minmax(0, 1fr) auto; align-items: center; } }
.hd-matinale__date { margin: 0; text-align: center; border-right: 1px solid var(--trait); padding-right: 1rem; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.hd-matinale__day { display: block; font: 450 2.6rem/1 var(--serif); color: var(--marine); }
.hd-matinale__month { display: block; font-size: .76rem; color: var(--gris); margin-top: .25rem; line-height: 1.3; }
.hd-matinale__title { font-size: 1.18rem; font-weight: 500; margin: 0 0 .3rem; }
.hd-matinale__title a { text-decoration: none; }
.hd-matinale__meta { font-size: .9rem; color: var(--gris); margin: 0; }
.hd-matinale__excerpt { font-size: .92rem; margin: .5rem 0 0; color: var(--texte-2); }
.hd-matinale__cta { margin: 0; grid-column: 2; }
@media (min-width: 720px) { .hd-matinale__cta { grid-column: auto; } }

/* ---------- Questions fréquentes ---------- */
.hd-faq__list { border-top: 1px solid var(--trait); }
.hd-faq__item { border-bottom: 1px solid var(--trait); }
.hd-faq__item summary { list-style: none; cursor: pointer; position: relative; padding: 1.1rem 2.75rem 1.1rem 0; font: 500 1.16rem/1.4 var(--serif); color: var(--marine); }
.hd-faq__item summary::-webkit-details-marker { display: none; }
.hd-faq__item summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--or); }
.hd-faq__item[open] summary::after { content: "\2013"; }
.hd-faq__answer p { margin: 0 0 1.25rem; max-width: 68ch; color: var(--texte-2); }

/* ---------- Articles ---------- */
.hd-posts { display: grid; gap: 2rem 1.75rem; }
@media (min-width: 760px) { .hd-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hd-postcard { border-top: 2px solid var(--marine); padding-top: 1rem; }
.hd-postcard__meta { font-size: .85rem; color: var(--gris); margin: 0 0 .5rem; }
.hd-postcard__title { font-size: 1.28rem; font-weight: 500; line-height: 1.28; margin: 0 0 .5rem; }
.hd-postcard__title a { text-decoration: none; }
.hd-postcard__title a:hover { text-decoration: underline; text-decoration-color: var(--or); }
.hd-postcard__excerpt { font-size: .95rem; color: var(--texte-2); margin: 0; }
.hd-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.hd-pagination .page-numbers { padding: .5rem .85rem; border: 1px solid var(--trait); text-decoration: none; }
.hd-pagination .page-numbers.current { background: var(--marine); color: #fff; border-color: var(--marine); }

/* ---------- Appel à l'action ---------- */
.hd-cta__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .hd-cta__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.hd-cta__grid--solo { grid-template-columns: 1fr !important; max-width: 780px; }
.hd-cta__lead { color: var(--texte-2); font-size: 1.08rem; }
.hd-cta__direct { list-style: none; margin: 1.5rem 0; padding: 0; }
.hd-cta__direct li { margin: .6rem 0; }
.hd-cta__direct a { display: inline-flex; align-items: center; gap: .6rem; color: var(--marine); font-weight: 600; text-decoration: none; }
.hd-cta__direct a:hover { color: var(--or-fonce); }
.hd-cta__direct .hd-icon, .hd-infolist .hd-icon { color: var(--or); }
.hd-cta__form { background: var(--brume); padding: clamp(1.25rem, 3vw, 2.25rem); border-top: 3px solid var(--marine); }

/* ---------- Formulaires ---------- */
.hd-form__grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) {
	.hd-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hd-field--full, .hd-field--textarea, .hd-field--checkbox, .hd-field--consent, .hd-field--matinale { grid-column: 1 / -1; }
}
.hd-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--marine); }
.hd-field__opt { font-weight: 400; color: var(--gris); }
.hd-field input:not([type="checkbox"]), .hd-field select, .hd-field textarea { width: 100%; font: inherit; font-size: 1rem; line-height: 1.4; padding: .72rem .85rem; min-height: 3rem; border: 1px solid #B6C1CE; border-radius: 3px; background: #fff; color: var(--encre); }
.hd-field textarea { resize: vertical; min-height: 8rem; }
.hd-field input:focus, .hd-field select:focus, .hd-field textarea:focus { outline: none; border-color: var(--marine); box-shadow: 0 0 0 3px rgba(176, 138, 69, .38); }
.hd-field.has-error input, .hd-field.has-error select, .hd-field.has-error textarea { border-color: var(--rouge); }
.hd-field__help { font-size: .85rem; color: var(--gris); margin: .35rem 0 0; }
.hd-field__error { font-size: .88rem; font-weight: 650; color: var(--rouge); margin: .35rem 0 0; }
.hd-check { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; color: var(--encre) !important; line-height: 1.5; cursor: pointer; }
.hd-check input { width: 1.15rem; height: 1.15rem; margin: .18rem 0 0; accent-color: var(--marine); flex: none; }
.hd-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.hd-form__note { font-size: .9rem; color: var(--gris); margin: 0; }
.hd-form__legal { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--gris); margin: 1.1rem 0 0; line-height: 1.5; }
.hd-form__alert { background: var(--rouge-pale); border-left: 4px solid var(--rouge); padding: 1rem 1.25rem; color: var(--rouge-fonce); font-weight: 600; margin-bottom: 1.25rem; }
.hd-form__done { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border-left: 4px solid var(--or); padding: 1.25rem 1.5rem; font-size: 1.05rem; color: var(--marine); }
.hd-form__done .hd-icon { color: var(--or); }
.hd-form__done p { margin: 0; }
.hd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- En-tête des pages ---------- */
.hd-pagehero { background: var(--brume); padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.25rem, 5vw, 3.5rem); border-bottom: 1px solid var(--trait); }
.hd-pagehero__title { font-size: clamp(2.15rem, 1.4rem + 3vw, 3.7rem); line-height: 1.05; font-weight: 420; letter-spacing: -.015em; max-width: 24ch; margin: .45em 0 .35em; }
.hd-pagehero__lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); color: var(--texte-2); max-width: 64ch; margin: 0 0 1.6rem; }
.hd-pagehero__meta { font-size: .92rem; color: var(--gris); margin: 1.25rem 0 0; }
.hd-pagehero .hd-actions { margin-top: .25rem; }
.hd-pagehero--dark { background: var(--marine); border-bottom: 4px solid var(--or); }
.hd-pagehero--dark .hd-pagehero__title { color: #fff; }
.hd-pagehero--dark .hd-pagehero__lead { color: rgba(255, 255, 255, .84); }
.hd-pagehero--dark .hd-crumbs, .hd-pagehero--dark .hd-crumbs a { color: rgba(255, 255, 255, .7); }
.hd-pagehero--dark .hd-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hd-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--gris); }
.hd-crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.hd-crumbs a { color: var(--gris); text-decoration: none; }
.hd-crumbs a:hover { text-decoration: underline; }

/* ---------- Pages d'expertise ---------- */
.hd-layout { display: grid; gap: 3rem; padding-block: clamp(2.75rem, 5vw, 4.5rem); }
@media (min-width: 1040px) {
	.hd-layout { grid-template-columns: minmax(0, 1fr) 19rem; gap: 4.5rem; }
	.hd-layout__side { position: sticky; top: calc(var(--header) + 2rem); align-self: start; }
}
.hd-block { margin-bottom: clamp(2.75rem, 5vw, 3.75rem); }
.hd-block:last-child { margin-bottom: 0; }
.hd-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.hd-checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.hd-checklist .hd-icon { color: var(--or); margin-top: .22rem; }
.hd-checklist--compact { gap: .45rem; font-size: .96rem; margin-bottom: 1rem; }
.hd-services { margin: 0; }
.hd-services__item { padding: 1.1rem 0; border-top: 1px solid var(--trait); }
.hd-services__item:last-child { border-bottom: 1px solid var(--trait); }
@media (min-width: 720px) { .hd-services__item { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem; } }
.hd-services dt { font: 600 1.1rem/1.35 var(--serif); color: var(--marine); }
.hd-services dd { margin: .3rem 0 0; color: var(--texte-2); }
@media (min-width: 720px) { .hd-services dd { margin: 0; } }
.hd-notes { display: grid; gap: 1.1rem; }
.hd-note { display: grid; gap: .5rem; padding: 1.25rem 1.4rem; background: var(--brume); border-left: 3px solid var(--or); }
.hd-note__body p { margin: 0; color: var(--texte-2); }
.hd-note__ref { font: italic 400 .93rem/1.4 var(--serif); color: var(--or-fonce); margin: 0; }
@media (min-width: 1100px) {
	.hd-note { grid-template-columns: minmax(0, 1fr) 11rem; gap: 1.75rem; }
	.hd-note .hd-note__ref { border-left: 1px solid var(--trait); padding-left: 1rem; align-self: start; }
}
.hd-steps { list-style: none; counter-reset: hd-step; margin: 0; padding: 0; }
.hd-steps > li { counter-increment: hd-step; position: relative; padding: 0 0 1.6rem 3.5rem; }
.hd-steps > li::before { content: counter(hd-step); position: absolute; left: 0; top: -.15rem; width: 2.3rem; height: 2.3rem; border: 1.5px solid var(--or); border-radius: 50%; display: grid; place-items: center; font: 500 1.1rem/1 var(--serif); color: var(--marine); background: #fff; }
.hd-steps > li::after { content: ""; position: absolute; left: 1.15rem; top: 2.35rem; bottom: .35rem; width: 1px; background: var(--trait); }
.hd-steps > li:last-child::after { display: none; }
.hd-steps p { margin: 0; color: var(--texte-2); }
.hd-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hd-related a { display: inline-block; padding: .5rem .85rem; border: 1px solid var(--trait); font-size: .93rem; text-decoration: none; }
.hd-related a:hover { border-color: var(--or); }
.hd-aside { background: #fff; border: 1px solid var(--trait); border-top: 3px solid var(--or); padding: 1.5rem; }
.hd-aside__title { font: 500 1.3rem/1.25 var(--serif); color: var(--marine); margin: 0 0 .5rem; }
.hd-aside__text { font-size: .95rem; color: var(--gris); }
.hd-aside__phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .9rem; font-weight: 650; text-decoration: none; }
.hd-aside__urgent { display: flex; gap: .45rem; align-items: center; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--trait); font-size: .92rem; color: var(--rouge); }
.hd-aside__urgent a { color: var(--rouge); font-weight: 600; }
.hd-casefacts { margin: 0 0 1.5rem; background: var(--brume); padding: 1.25rem 1.5rem; }
.hd-casefacts div + div { margin-top: .85rem; }
.hd-casefacts dt { font: italic 400 .93rem/1.4 var(--serif); color: var(--or-fonce); }
.hd-casefacts dd { margin: .1rem 0 0; font-weight: 600; color: var(--marine); font-size: .96rem; }

/* ---------- Urgences ---------- */
.hd-promise { background: var(--rouge-pale); border-bottom: 1px solid #F0CFD1; }
.hd-promise__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-block: 1rem; }
.hd-promise p { margin: 0; display: flex; gap: .5rem; align-items: center; color: var(--rouge-fonce); }
.hd-urgences { display: grid; gap: 1.25rem; margin-top: 1rem; }
@media (min-width: 900px) { .hd-urgences { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hd-urgence { background: #fff; border: 1px solid var(--trait); scroll-margin-top: calc(var(--header) + 1.5rem); }
.hd-urgence:target { outline: 3px solid var(--or); outline-offset: 2px; }
.hd-urgence__head { display: flex; gap: 1rem; align-items: baseline; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--trait); }
.hd-urgence__delay { flex: none; min-width: 6.75rem; margin: 0; font: 450 1.45rem/1.1 var(--serif); color: var(--rouge); }
.hd-urgence__title { font-size: 1.2rem; font-weight: 580; line-height: 1.3; margin: 0; }
@media (max-width: 560px) { .hd-urgence__head { flex-direction: column; gap: .35rem; } }
.hd-urgence__body { padding: 1.25rem 1.5rem 1.4rem; }
.hd-urgence__body > p { margin: 0 0 .9rem; }
.hd-urgence__label { font-weight: 700; font-size: .9rem; color: var(--marine); margin: .4rem 0 .5rem !important; }
.hd-urgence__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; margin: 1rem 0 0 !important; padding-top: .9rem; border-top: 1px dashed var(--trait); font-size: .92rem; }
.hd-formsplit { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .hd-formsplit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.hd-formsplit__form { background: #fff; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--trait); border-top: 3px solid var(--marine); }
.hd-section:not(.hd-section--brume) .hd-formsplit__form { background: var(--brume); border-color: transparent; border-top-color: var(--marine); }

/* ---------- Filtres ---------- */
.hd-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.hd-sectionhead .hd-filters { margin: 0; }
.hd-filter { font: 600 .9rem/1.2 var(--sans); padding: .55rem .95rem; border: 1px solid var(--trait); background: #fff; color: var(--marine); border-radius: 3px; cursor: pointer; text-decoration: none; }
.hd-filter:hover { border-color: var(--marine); }
.hd-filter.is-active { background: var(--marine); color: #fff; border-color: var(--marine); }

/* ---------- Matinales : repères ---------- */
.hd-facts { display: grid; margin: 0; border-top: 1px solid var(--trait); }
.hd-facts div { padding: .9rem 0; border-bottom: 1px solid var(--trait); }
.hd-facts dt { font: italic 400 .95rem/1.4 var(--serif); color: var(--or-fonce); }
.hd-facts dd { margin: .2rem 0 0; font-weight: 600; color: var(--marine); font-size: .96rem; }
@media (min-width: 900px) {
	.hd-facts:not(.hd-facts--stack) { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 0; }
	.hd-facts:not(.hd-facts--stack) div { border-bottom: 0; border-left: 1px solid var(--trait); padding: .25rem 1.25rem; }
	.hd-facts:not(.hd-facts--stack) div:first-child { border-left: 0; padding-left: 0; }
}
.hd-facts--stack { margin-bottom: 1.75rem; }

/* ---------- Cabinet ---------- */
.hd-people { display: grid; gap: 2.5rem; margin-top: 1rem; }
@media (min-width: 900px) { .hd-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; } }
.hd-person { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 1100px) { .hd-person { grid-template-columns: 11rem minmax(0, 1fr); } }
@media (max-width: 520px) { .hd-person { grid-template-columns: 1fr; } .hd-person__photo { max-width: 13rem; } }
.hd-person__photo { aspect-ratio: 4 / 5; background: var(--marine); overflow: hidden; }
.hd-person__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hd-person__mono { display: grid; place-items: center; width: 100%; height: 100%; font: 450 2.6rem/1 var(--serif); color: var(--or-clair); letter-spacing: .04em; }
.hd-person__name { font-size: 1.6rem; font-weight: 500; margin: 0; }
.hd-person__role { font-weight: 650; color: var(--marine); margin: .3rem 0 0; font-size: .96rem; }
.hd-person__domains { color: var(--or-fonce); margin: .2rem 0 .9rem; font-size: .94rem; }
.hd-person__body > p:last-of-type { color: var(--texte-2); }
.hd-person__badge { max-height: 76px; width: auto; margin-top: .5rem; }

/* ---------- Contact ---------- */
.hd-contact { display: grid; gap: 3rem; }
@media (min-width: 960px) { .hd-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; } }
.hd-contact__form .hd-formwrap { background: var(--brume); padding: clamp(1.25rem, 3vw, 2.25rem); border-top: 3px solid var(--marine); }
.hd-infolist { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.hd-infolist li { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--trait); }
.hd-infolist .hd-icon { margin-top: .25rem; }
.hd-contact__urgent { background: var(--rouge-pale); border-left: 3px solid var(--rouge); padding: 1.25rem; margin-top: 1.75rem; }
.hd-contact__urgent p { margin: 0 0 .8rem; }
.hd-contact__urgent p:last-child { margin: .8rem 0 0; }

/* ---------- Texte éditorial ---------- */
.hd-prose > * + * { margin-top: 1em; }
.hd-prose h2 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); font-weight: 500; margin: 2em 0 .5em; }
.hd-prose h3 { font-size: 1.28rem; font-weight: 600; margin: 1.6em 0 .4em; }
.hd-prose h2:first-child, .hd-prose h3:first-child { margin-top: 0; }
.hd-prose p, .hd-prose li { color: var(--encre); }
.hd-prose ul, .hd-prose ol { padding-left: 1.3rem; }
.hd-prose li { margin: .4rem 0; }
.hd-prose li::marker { color: var(--or); }
.hd-prose blockquote { margin: 1.5em 0; padding-left: 1.1rem; border-left: 2px solid var(--or); font: italic 400 1.12rem/1.55 var(--serif); color: var(--marine); }
.hd-prose img { height: auto; }
.hd-article { font-size: 1.08rem; }
.hd-article__image { margin: 0 0 2rem; }
.hd-casenote h2 { font: italic 450 1.06rem/1.3 var(--serif); color: var(--or-fonce); margin: 2rem 0 .4rem; padding-top: 1rem; border-top: 1px solid var(--trait); }
.hd-casenote h2:first-child { margin-top: 0; }
.hd-casenote p { font-size: 1.06rem; }
.hd-legal h2 { font-size: 1.35rem; }

/* ---------- Pied de page ---------- */
.hd-footer { background: var(--marine-900); color: rgba(255, 255, 255, .78); padding-block: 3.5rem 2rem; font-size: .95rem; }
.hd-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.hd-footer a:hover { color: var(--or-clair); text-decoration: underline; }
.hd-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .hd-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hd-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.hd-footer__brand { font: 500 1.6rem/1 var(--serif); color: #fff; margin: 0 0 .9rem; }
.hd-footer address { font-style: normal; }
.hd-footer__contact { display: grid; gap: .5rem; margin: 1.1rem 0 0; }
.hd-footer__contact a { display: inline-flex; align-items: center; gap: .55rem; color: #fff; }
.hd-footer__contact .hd-icon { color: var(--or-clair); }
.hd-footer__title { font-weight: 700; font-size: .86rem; color: var(--or-clair); margin: 0 0 .9rem; letter-spacing: .01em; }
.hd-footer ul { list-style: none; margin: 0; padding: 0; }
.hd-footer li { margin: .45rem 0; }
.hd-footer__cnb { max-width: 120px; background: #fff; padding: .4rem; margin-top: .5rem; }
.hd-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; }
.hd-footer__legal p { margin: 0; }
.hd-footer__legal ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hd-footer__legal li { margin: 0; }

/* ---------- Barre d'actions mobile ---------- */
.hd-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; background: #fff; border-top: 1px solid var(--trait); box-shadow: 0 -6px 20px rgba(12, 24, 41, .08); }
.hd-mobilebar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .25rem calc(.55rem + env(safe-area-inset-bottom)); font-size: .76rem; font-weight: 650; color: var(--marine); text-decoration: none; }
.hd-mobilebar__urgent { color: var(--rouge) !important; }
body { padding-bottom: 4.25rem; }
@media (min-width: 960px) { .hd-mobilebar { display: none; } body { padding-bottom: 0; } }
.hd-menu-open .hd-mobilebar { display: none; }

/* ---------- Page d'attente (mode préparation) ---------- */
.hd-waiting { background: var(--marine); color: #fff; min-height: 100vh; display: grid; place-items: center; padding: 0 !important; }
.hd-waiting__main { max-width: 640px; padding: 3rem 1.5rem; }
.hd-waiting__title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 420; line-height: 1.05; color: #fff; margin: 2rem 0 1rem; }
.hd-waiting__text { color: rgba(255, 255, 255, .84); font-size: 1.1rem; }
.hd-waiting__contact { list-style: none; margin: 2rem 0; padding: 0; }
.hd-waiting__contact li { padding: .6rem 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hd-waiting a { color: #fff; }
.hd-waiting__urgent { color: var(--or-clair); }
.hd-waiting__legal { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-top: 2.5rem; }

/* ---------- Accessibilité : mouvement réduit, impression ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
	.hd-header, .hd-mobilebar, .hd-footer, .hd-formwrap, .hd-cta, .hd-urgence-band, .hd-aside { display: none !important; }
	body { padding: 0; color: #000; }
	.hd-hero, .hd-pagehero--dark { background: none; color: #000; }
	.hd-hero__title, .hd-pagehero__title { color: #000 !important; }
}

/* Un élément masqué (filtres, onglets, bandeaux) reste masqué, quelle que soit sa mise en page. */
[hidden] { display: none !important; }
