/* Thème Constructeurs : tokens, base, composants. Voir DESIGN.md. */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--beton-clair: #eef0f0;
	--beton: #dde1e2;
	--marine: #0e2742;
	--marine-2: #1b3d63;
	--jaune: #ffc400;
	--jaune-fonce: #e6ae00;
	--acier: #566679;
	--trait: #c3cad0;
	--signal: #c8341b;
	--blanc: #ffffff;
	--titre: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--texte: "Literata", Georgia, "Times New Roman", serif;
	--marge: clamp(1.25rem, 4vw, 3rem);
	--haut: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--haut) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--beton-clair); color: var(--marine); font-family: var(--texte); font-size: 1.1875rem; line-height: 1.62; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--marine-2); }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 2px; box-shadow: 0 0 0 5px var(--marine); }
.wp-site-blocks, .wp-site-blocks > * { margin-block-start: 0; }
.wp-block-group { margin: 0; }
.cs-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cs-evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--jaune); color: var(--marine); padding: 0.7rem 1rem; font-family: var(--titre); font-weight: 650; }
.cs-evitement:focus { top: 0.6rem; }

.cs-wrap { width: 100%; max-width: 77.5rem; margin-inline: auto; padding-inline: var(--marge); }

/* Titres */
.cs-h1, .cs-h2, .cs-h3, .cs-page__titre { font-family: var(--titre); font-weight: 800; font-stretch: 112%; letter-spacing: -0.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
.cs-h1 { font-size: clamp(2.5rem, 1.2rem + 5.6vw, 5.1rem); }
.cs-h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
.cs-h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; letter-spacing: -0.015em; }
.cs-page__titre { font-size: clamp(2.2rem, 1.2rem + 4vw, 4rem); }
.cs-chapeau { font-family: var(--titre); font-stretch: 100%; font-weight: 420; font-size: clamp(1.15rem, 1.02rem + 0.6vw, 1.45rem); line-height: 1.45; margin: 1.25rem 0 0; max-width: 40rem; color: inherit; }
.cs-fine { font-size: 0.875rem; line-height: 1.55; color: var(--acier); max-width: 46rem; }
.cs-lien { font-family: var(--titre); font-weight: 650; font-size: 1rem; color: inherit; text-decoration: underline; text-decoration-thickness: 0.14em; text-decoration-color: var(--jaune); text-underline-offset: 0.3em; }
.cs-lien:hover { text-decoration-color: currentColor; }

/* Boutons */
.cs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.6rem; background: var(--jaune); color: var(--marine); border: 2px solid var(--jaune); border-radius: 0; font-family: var(--titre); font-stretch: 106%; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color 0.18s, border-color 0.18s; }
.cs-btn:hover { background: var(--jaune-fonce); border-color: var(--jaune-fonce); }
.cs-btn--o { background: transparent; border-color: var(--marine); }
.cs-btn--o:hover { background: var(--marine); color: var(--blanc); border-color: var(--marine); }
.cs-btn--b { background: var(--marine); border-color: var(--marine); color: var(--blanc); }
.cs-btn--b:hover { background: var(--marine-2); border-color: var(--marine-2); }
.cs-btn--s { min-height: 44px; padding: 0 1.1rem; font-size: 0.9375rem; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; align-items: center; }
.cs-tel { font-family: var(--titre); font-stretch: 106%; font-weight: 650; text-decoration: none; white-space: nowrap; }

/* En-tête collant : le logo reste visible */
.cs-header { position: sticky; top: 0; z-index: 50; background: var(--blanc); color: var(--marine); border-bottom: 4px solid var(--jaune); }
.admin-bar .cs-header { top: 32px; }
.cs-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--haut); max-width: 92rem; }
.cs-logo { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: inherit; flex: none; }
.cs-logo__plaque { display: block; background: var(--blanc); padding: 0; line-height: 0; }
.cs-logo__img { width: 150px; height: auto; }
.cs-logo__nom { font-family: var(--titre); font-stretch: 112%; font-weight: 750; font-size: 1.0625rem; line-height: 1.1; letter-spacing: -0.01em; }
.cs-nav { margin-left: auto; }
.cs-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.cs-nav a { white-space: nowrap; font-family: var(--titre); font-weight: 520; font-size: 0.9375rem; text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.cs-nav a:hover { border-bottom-color: var(--jaune); }
.cs-nav__m { display: none; }
.cs-header__cta { display: flex; align-items: center; gap: 1.1rem; }
.cs-header .cs-tel { font-size: 0.9375rem; }
.cs-burger { display: none; margin-left: auto; min-height: 44px; padding: 0 1rem; background: transparent; color: var(--marine); border: 2px solid var(--marine); border-radius: 0; font-family: var(--titre); font-weight: 650; cursor: pointer; }

/* Accueil : titre et présentation */
.cs-hero { background: var(--beton); padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.cs-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 300px); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.cs-hero__texte { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.cs-hero__chapeau { max-width: 38rem; }
.cs-hero__photo { margin: 0 0 -4.5rem; position: relative; z-index: 2; align-self: end; }
.cs-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 6px solid var(--jaune); }
.cs-hero__photo figcaption { font-family: var(--titre); font-weight: 700; font-size: 0.9375rem; padding-top: 0.7rem; color: var(--blanc); }
.cs-hero__photo figcaption span { display: block; font-weight: 420; color: #b6c4d3; }

/* Le mètre des délais */
.cs-metre { background: var(--marine); color: var(--blanc); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.cs-metre__tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; max-width: calc(100% - clamp(240px, 26vw, 330px)); }
.cs-metre__titre { font-family: var(--titre); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.05; margin: 0; }
.cs-metre__aide { margin: 0.7rem 0 0; max-width: 34rem; color: #c9d3de; font-size: 1.0625rem; }
.cs-champ label { display: block; font-family: var(--titre); font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.4rem; }
.cs-champ input { display: block; width: 14.5rem; min-height: 56px; padding: 0 0.9rem; border: 2px solid var(--jaune); border-radius: 0; background: var(--blanc); color: var(--marine); font-family: var(--titre); font-weight: 600; font-size: 1.125rem; }

.cs-ruban { position: relative; margin: 3.4rem 0 0.4rem; padding-bottom: 5.2rem; }
.cs-ruban__barre { position: relative; height: 56px; background-color: var(--jaune); background-image:
	repeating-linear-gradient(90deg, var(--marine) 0 2px, transparent 2px 10%),
	repeating-linear-gradient(90deg, var(--marine) 0 1px, transparent 1px 5%),
	repeating-linear-gradient(90deg, var(--marine) 0 1px, transparent 1px calc(100% / 120));
	background-size: 100% 100%, 100% 55%, 100% 28%; background-repeat: no-repeat; background-position: 0 100%; border-right: 4px solid var(--marine); outline: 1px solid var(--jaune); }
.cs-ruban__fait { position: absolute; inset: 0 auto 0 0; width: var(--e, 0%); background: var(--marine-2); mix-blend-mode: multiply; opacity: 0.55; transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cs-ruban__repere { position: absolute; top: -12px; bottom: -12px; left: var(--e, 0%); width: 4px; margin-left: -2px; background: var(--blanc); opacity: 0; transition: left 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s; }
.cs-ruban__repere span { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--blanc); color: var(--marine); font-family: var(--titre); font-weight: 700; font-size: 0.8125rem; padding: 0.15rem 0.5rem; white-space: nowrap; }
.cs-ruban.is-actif .cs-ruban__repere { opacity: 1; }
.cs-ruban__jalons { list-style: none; margin: 0; padding: 0; }
.cs-jalon { position: absolute; top: 56px; left: var(--p); transform: translateX(-100%); padding: 0.55rem 0.6rem 0 0; border-right: 2px solid var(--blanc); height: 4.6rem; text-align: right; }
.cs-jalon strong { display: block; white-space: nowrap; font-family: var(--titre); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--jaune); }
.cs-jalon span { display: block; max-width: 7.5rem; margin-left: auto; font-family: var(--titre); font-weight: 520; font-size: 0.875rem; line-height: 1.2; margin-top: 0.25rem; color: #dbe3ec; }
.cs-jalon.is-echu strong { color: #ff9a86; text-decoration: line-through; text-decoration-thickness: 0.07em; }
.cs-metre__etat { font-family: var(--titre); font-weight: 600; font-size: 1.125rem; margin: 0.4rem 0 1.4rem; min-height: 1.7em; }
.cs-metre__etat.is-urgent { color: var(--jaune); }
.cs-metre__etat.is-echu { color: #ff9a86; }

.cs-echeances { width: 100%; border-collapse: collapse; font-family: var(--titre); }
.cs-echeances th, .cs-echeances td { text-align: left; padding: 0.85rem 1rem 0.85rem 0; border-top: 1px solid #3a5878; vertical-align: top; }
.cs-echeances thead th { font-weight: 520; font-size: 0.875rem; color: #b6c4d3; border-top: 0; padding-top: 0; }
.cs-echeances tbody th { font-weight: 700; font-size: 1.0625rem; }
.cs-echeances tbody th small { display: block; font-weight: 420; font-size: 0.8125rem; color: #b6c4d3; margin-top: 0.15rem; }
.cs-echeances td { font-weight: 600; font-size: 1.0625rem; }
.cs-echeances tr.is-echu td[data-col="reste"] { color: #ff9a86; }
.cs-echeances tr.is-urgent td[data-col="reste"] { color: var(--jaune); }
.cs-metre__pied { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; margin-top: 1.6rem; border-top: 1px solid #3a5878; padding-top: 1.6rem; }
.cs-metre .cs-fine { color: #b6c4d3; margin: 0; flex: 1 1 28rem; }

/* Bande des titres */
.cs-titres { background: var(--beton-clair); border-bottom: 1px solid var(--trait); }
.cs-titres__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-titres__l li { padding: 1.7rem 1.6rem 1.8rem 0; }
.cs-titres__l li + li { padding-left: 1.6rem; border-left: 1px solid var(--trait); }
.cs-titres__l li::before { content: ""; display: block; width: 2.6rem; height: 6px; background: var(--jaune); margin-bottom: 0.9rem; }
.cs-titres__l strong { display: block; font-family: var(--titre); font-stretch: 112%; font-weight: 800; font-size: 1.3rem; line-height: 1.15; letter-spacing: -0.015em; }
.cs-titres__l span { display: block; margin-top: 0.7rem; font-size: 0.9375rem; line-height: 1.5; color: var(--acier); }

/* Sections */
.cs-sec { padding: clamp(3.5rem, 8vw, 7rem) 0; }

/* Deux entrées */
.cs-entrees { display: grid; grid-template-columns: 1fr 1fr; }
.cs-entree { padding: clamp(3rem, 7vw, 6rem) var(--marge); }
.cs-entree__in { max-width: 35rem; }
.cs-entree--particuliers { background: var(--beton); }
.cs-entree--particuliers .cs-entree__in { margin-left: auto; }
.cs-entree--professionnels { background: var(--marine-2); color: var(--blanc); }
.cs-entree__l { list-style: none; margin: 2rem 0 2.4rem; padding: 0; }
.cs-entree__l li { border-top: 1px solid currentColor; border-top-color: rgba(14, 39, 66, 0.28); }
.cs-entree--professionnels .cs-entree__l li { border-top-color: rgba(255, 255, 255, 0.28); }
.cs-entree__l a { display: block; padding: 0.85rem 0; font-family: var(--titre); font-weight: 560; font-size: 1.0625rem; line-height: 1.35; text-decoration: none; }
.cs-entree__l a:hover { text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 0.14em; text-underline-offset: 0.3em; }
.cs-entree--professionnels .cs-btn { background: var(--jaune); color: var(--marine); }

/* Régimes */
.cs-regimes__tete { max-width: 46rem; margin-bottom: 2.5rem; }
.cs-table { width: 100%; border-collapse: collapse; background: var(--blanc); font-family: var(--titre); }
.cs-table th, .cs-table td { text-align: left; padding: 1.1rem 1.3rem; border-top: 1px solid var(--trait); vertical-align: top; }
.cs-table thead th { background: var(--beton); font-weight: 650; font-size: 0.9375rem; border-top: 0; }
.cs-table tbody th { font-weight: 700; font-size: 1.0625rem; width: 28%; }
.cs-table td { font-size: 1rem; line-height: 1.45; }
.cs-table__d { font-stretch: 112%; font-weight: 800; font-size: 1.4rem !important; white-space: nowrap; }
.cs-table a { font-weight: 650; }

/* Parcours */
.cs-parcours { background: var(--blanc); }
.cs-parcours__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cs-parcours__tete { position: sticky; top: calc(var(--haut) + 2rem); }
.cs-parcours__tete .cs-lien { display: inline-block; margin-top: 1.6rem; }
.cs-theme { padding: 1.6rem 0 2rem; border-top: 3px solid var(--marine); }
.cs-theme + .cs-theme { margin-top: 0.4rem; }
.cs-theme__t { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 0.9rem; font-family: var(--titre); font-stretch: 112%; font-weight: 800; font-size: 1.4rem; line-height: 1.15; letter-spacing: -0.015em; }
.cs-theme__t a { text-decoration: none; }
.cs-theme__t a:hover { text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 0.14em; }
.cs-theme__t span { font-stretch: 100%; font-weight: 420; font-size: 0.875rem; color: var(--acier); white-space: nowrap; letter-spacing: 0; }
.cs-theme__l { list-style: none; margin: 0; padding: 0; }
.cs-theme__l li { border-top: 1px solid var(--trait); }
.cs-theme__l a { display: block; padding: 0.6rem 0; font-family: var(--titre); font-weight: 480; font-size: 1.0625rem; line-height: 1.35; text-decoration: none; }
.cs-theme__l a:hover { text-decoration: underline; }

/* Avocat */
.cs-avocat { background: var(--beton); }
.cs-avocat__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cs-avocat__photo { margin: 0; position: sticky; top: calc(var(--haut) + 2rem); }
.cs-avocat__photo img { width: 100%; aspect-ratio: 715 / 910; object-fit: cover; border-bottom: 8px solid var(--jaune); }
.cs-avocat__texte p { max-width: 40rem; }
.cs-avocat__texte .cs-chapeau { margin-top: 0.9rem; }
.cs-spe { margin: 2.2rem 0 1.4rem; padding: 0; max-width: 42rem; }
.cs-spe > div { padding: 1.2rem 0 1.3rem; border-top: 3px solid var(--marine); }
.cs-spe dt { font-family: var(--titre); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.015em; }
.cs-spe dd { margin: 0.5rem 0 0; font-size: 1rem; line-height: 1.55; }
.cs-classement { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.2rem; border-top: 1px solid var(--trait-fort, #8996a1); }
.cs-classement__t { font-family: var(--titre); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; margin: 0; letter-spacing: -0.015em; }
.cs-classement__p { max-width: 44rem; margin: 0.6rem 0 1.6rem; font-size: 1.0625rem; }
.cs-classement__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; }
.cs-classement__l li { border-top: 1px solid var(--marine); padding: 0.9rem 0 0.4rem; font-family: var(--titre); }
.cs-classement__l span { display: block; font-size: 0.875rem; color: var(--acier); }
.cs-classement__l strong { display: block; font-size: 1.0625rem; line-height: 1.3; margin: 0.2rem 0; }
.cs-classement__l em { font-style: normal; font-size: 0.9375rem; font-weight: 650; }
.cs-suite { margin: 1.4rem 0 0; font-family: var(--titre); font-weight: 650; }

/* FAQ */
.cs-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cs-faq .cs-h2 { position: sticky; top: calc(var(--haut) + 2rem); }
.cs-q { border-top: 1px solid var(--marine); }
.cs-q:last-child { border-bottom: 1px solid var(--marine); }
.cs-q summary { list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; font-family: var(--titre); font-weight: 650; font-size: 1.1875rem; line-height: 1.35; position: relative; }
.cs-q summary::-webkit-details-marker { display: none; }
.cs-q summary::after { content: ""; position: absolute; right: 0.3rem; top: 1.55rem; width: 14px; height: 14px; background: linear-gradient(var(--marine), var(--marine)) center / 100% 2px no-repeat, linear-gradient(var(--marine), var(--marine)) center / 2px 100% no-repeat; transition: transform 0.2s; }
.cs-q[open] summary::after { transform: rotate(90deg); background: linear-gradient(var(--marine), var(--marine)) center / 100% 2px no-repeat; }
.cs-q p { margin: 0 0 1.5rem; max-width: 40rem; font-size: 1.0625rem; }

/* Contact */
.cs-contact { background: var(--marine); color: var(--blanc); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.cs-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cs-contact .cs-chapeau { color: #dbe3ec; }
.cs-coord { font-style: normal; margin-top: 2rem; font-size: 1.0625rem; }
.cs-coord p { margin: 0 0 1.1rem; }
.cs-tel--n { display: inline-flex; flex-direction: column; text-decoration: none; }
.cs-tel--n span { font-weight: 420; font-size: 0.875rem; color: #b6c4d3; }
.cs-tel--n strong { font-stretch: 112%; font-weight: 800; font-size: 1.9rem; letter-spacing: -0.015em; box-shadow: inset 0 -0.3em 0 var(--jaune); width: fit-content; }
.cs-contact .cs-fine { color: #b6c4d3; }
.cs-contact a { color: inherit; }
.cs-contact .wpcf7 p { margin: 0 0 1.5rem; }
.cs-contact .wpcf7 label { display: block; font-family: var(--titre); font-size: 0.9375rem; font-weight: 600; }
.cs-contact .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 0.4rem; }
.cs-contact .wpcf7 input[type="text"], .cs-contact .wpcf7 input[type="email"], .cs-contact .wpcf7 input[type="tel"], .cs-contact .wpcf7 select, .cs-contact .wpcf7 textarea { width: 100%; min-height: 54px; padding: 0.7rem 0.9rem; background: var(--blanc); border: 2px solid var(--blanc); border-radius: 0; color: var(--marine); font-family: var(--texte); font-size: 1.0625rem; }
.cs-contact .wpcf7 textarea { height: 10rem; resize: vertical; }
.cs-contact .wpcf7 input:focus, .cs-contact .wpcf7 textarea:focus { border-color: var(--jaune); outline: none; }
.cs-contact .wpcf7 form[data-status="init"] .wpcf7-response-output, .cs-contact .wpcf7 fieldset.hidden-fields-container { display: none; }
.cs-contact .wpcf7 .wpcf7-acceptance label { display: flex; gap: 0.8rem; align-items: flex-start; font-family: var(--texte); font-weight: 420; font-size: 0.9375rem; color: #dbe3ec; }
.cs-contact .wpcf7 input[type="checkbox"] { accent-color: var(--jaune); width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; flex: none; }
.cs-contact .wpcf7 .wpcf7-submit { cursor: pointer; min-height: 54px; padding: 0 2rem; background: var(--jaune); border: 2px solid var(--jaune); border-radius: 0; color: var(--marine); font-family: var(--titre); font-stretch: 106%; font-weight: 700; font-size: 1.0625rem; }
.cs-contact .wpcf7 .wpcf7-submit:hover { background: var(--jaune-fonce); border-color: var(--jaune-fonce); }
.cs-contact .wpcf7-not-valid-tip { color: #ffb4a6; font-size: 0.875rem; margin-top: 0.3rem; }
.cs-contact .wpcf7 form .wpcf7-response-output { margin: 1.4rem 0 0; padding: 0.9rem 1rem; border: 2px solid var(--jaune); color: var(--blanc); font-family: var(--titre); font-size: 0.9375rem; }
.cs-contact .wpcf7-spinner { background-color: var(--marine-2); }

/* Pied de page */
.cs-pied { background: var(--blanc); color: var(--marine); position: relative; padding: 4.5rem 0 2rem; }
.cs-pied::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; background-color: var(--jaune); background-image: repeating-linear-gradient(90deg, var(--marine) 0 2px, transparent 2px 5rem), repeating-linear-gradient(90deg, var(--marine) 0 1px, transparent 1px 0.5rem); background-size: 100% 100%, 100% 45%; background-repeat: no-repeat; background-position: 0 100%; }
.cs-pied__g { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 2.5rem; }
.cs-pied p { margin: 0 0 0.9rem; font-size: 0.9375rem; line-height: 1.55; }
.cs-pied a { text-decoration: none; }
.cs-pied a:hover { text-decoration: underline; text-decoration-color: var(--jaune); }
.cs-pied__nom { font-family: var(--titre); font-stretch: 112%; font-weight: 800; font-size: 1.3rem !important; margin-top: 1.1rem !important; }
.cs-pied__s { color: var(--acier); max-width: 22rem; }
.cs-pied__k { font-family: var(--titre); font-weight: 700; font-size: 1rem !important; color: var(--marine); }
.cs-pied ul { list-style: none; margin: 0; padding: 0; }
.cs-pied li { padding: 0.25rem 0; font-size: 0.9375rem; }
.cs-pied__l { margin: 3rem 0 0 !important; padding-top: 1.3rem; border-top: 1px solid var(--trait); color: var(--acier); font-size: 0.8125rem !important; max-width: 60rem; }

/* Pages et fil d'Ariane */
.cs-page { padding-bottom: clamp(3rem, 7vw, 6rem); }
.cs-page__in { padding-top: clamp(1.4rem, 3vw, 2.4rem); }
.cs-fil { font-family: var(--titre); font-size: 0.875rem; color: var(--acier); margin-bottom: 1.6rem; }
.cs-fil a { text-decoration: none; color: inherit; }
.cs-fil a:hover { text-decoration: underline; }
.cs-fil span[aria-hidden] { margin: 0 0.4rem; }
.cs-page__chapeau { margin-bottom: 2.4rem; }
.cs-page__titre { margin-bottom: 0.4rem; }
.cs-page--contact .cs-contact { margin-top: 1rem; }

/* Textes (articles, pages) */
.cs-prose { max-width: 44rem; font-size: 1.1875rem; line-height: 1.68; hyphens: manual; margin-top: 2.2rem; }
.cs-prose > * + * { margin-top: 1.15rem; }
.cs-prose h2 { font-family: var(--titre); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; margin-top: 2.8rem; padding-top: 1.1rem; border-top: 3px solid var(--marine); }
.cs-prose h3 { font-family: var(--titre); font-stretch: 106%; font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin-top: 2rem; }
.cs-prose a { text-decoration-color: var(--jaune); text-decoration-thickness: 0.14em; text-underline-offset: 0.2em; }
.cs-prose a:hover { text-decoration-color: var(--marine); }
.cs-prose ul, .cs-prose ol { padding-left: 1.4rem; }
.cs-prose li + li { margin-top: 0.4rem; }
.cs-prose blockquote { margin-left: 0; padding: 0.2rem 0 0.2rem 1.4rem; border-left: 6px solid var(--jaune); font-style: italic; }
.cs-prose table { width: 100%; border-collapse: collapse; font-family: var(--titre); font-size: 0.9375rem; }
.cs-prose th, .cs-prose td { padding: 0.7rem 0.8rem; border-top: 1px solid var(--trait); text-align: left; vertical-align: top; }
.cs-prose th { background: var(--beton); }
.cs-prose .ddc-note { padding: 1rem 1.2rem; background: var(--beton); border-left: 6px solid var(--jaune); font-size: 1.0625rem; }
.cs-prose img { margin-block: 1.5rem; }

/* Articles */
.cs-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(2rem, 6vw, 5.5rem); padding-top: clamp(1.4rem, 3vw, 2.4rem); padding-bottom: clamp(3rem, 6vw, 5rem); align-items: start; }
.cs-article__main { min-width: 0; }
.cs-article__titre { max-width: 52rem; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); }
.cs-article__chapeau { max-width: 44rem; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; margin: 1.6rem 0 0; padding: 0.9rem 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); font-family: var(--titre); font-size: 0.9375rem; color: var(--acier); }
.cs-meta a { color: var(--marine); font-weight: 650; }
.cs-rail { position: sticky; top: calc(var(--haut) + 1.5rem); }
.cs-toc { margin-bottom: 1.6rem; }
.cs-toc__t { font-family: var(--titre); font-weight: 700; font-size: 1rem; margin: 0 0 0.6rem; }
.cs-toc__l { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--trait); }
.cs-toc__l a { display: block; padding: 0.4rem 0 0.4rem 0.9rem; margin-left: -2px; border-left: 2px solid transparent; font-family: var(--titre); font-size: 0.875rem; line-height: 1.35; text-decoration: none; color: var(--acier); }
.cs-toc__l a:hover { color: var(--marine); }
.cs-toc__l a.is-on { color: var(--marine); font-weight: 650; border-left-color: var(--jaune); }
.cs-rail__cta { background: var(--marine); color: var(--blanc); padding: 1.3rem 1.3rem 1.5rem; border-bottom: 6px solid var(--jaune); }
.cs-rail__cta img { width: 72px; height: 91px; object-fit: cover; margin-bottom: 0.9rem; }
.cs-rail__q { font-family: var(--titre); font-stretch: 108%; font-weight: 800; font-size: 1.2rem; line-height: 1.15; margin: 0; }
.cs-rail__s { font-size: 0.875rem; line-height: 1.5; color: #c9d3de; margin: 0.5rem 0 1.1rem; }
.cs-rail__cta .cs-btn { width: 100%; }
.cs-rail__cta .cs-tel { display: block; margin-top: 0.9rem; text-align: center; font-size: 1.05rem; }
.cs-rappel { margin-top: 3rem; padding: 1.6rem 1.8rem 1.8rem; background: var(--beton); border-left: 8px solid var(--jaune); max-width: 44rem; }
.cs-rappel__t { font-family: var(--titre); font-stretch: 108%; font-weight: 800; font-size: 1.4rem; line-height: 1.15; margin: 0 0 0.5rem; }
.cs-rappel p:not(.cs-rappel__t) { margin: 0 0 1.2rem; font-size: 1.0625rem; }
.cs-suite { margin-top: 3.4rem; max-width: 44rem; }

/* Index d'analyses */
.cs-index { list-style: none; margin: 0; padding: 0; }
.cs-index li { border-top: 1px solid var(--trait); }
.cs-index li:last-child { border-bottom: 1px solid var(--trait); }
.cs-index a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 8.5rem; gap: 0.4rem 2rem; align-items: baseline; padding: 1.2rem 0 1.2rem 0; text-decoration: none; position: relative; }
.cs-index a::before { content: ""; position: absolute; left: -1rem; top: 1.45rem; width: 0.55rem; height: 0.55rem; background: var(--jaune); opacity: 0; transition: opacity 0.15s; }
.cs-index a:hover::before, .cs-index a:focus-visible::before { opacity: 1; }
.cs-index a:hover .cs-index__t { text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 0.14em; text-underline-offset: 0.2em; }
.cs-index__t { font-family: var(--titre); font-weight: 650; font-size: 1.125rem; line-height: 1.3; }
.cs-index__e { font-size: 0.9375rem; line-height: 1.5; color: var(--acier); }
.cs-index__d { font-family: var(--titre); font-size: 0.8125rem; color: var(--acier); text-align: right; white-space: nowrap; }
.cs-index--c a { grid-template-columns: 1fr; gap: 0.3rem; }

/* Page Analyses */
.cs-hub { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cs-hub__nav { position: sticky; top: calc(var(--haut) + 1.5rem); }
.cs-hub__nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--trait); }
.cs-hub__nav a { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.6rem 0 0.6rem 0.9rem; margin-left: -2px; border-left: 2px solid transparent; font-family: var(--titre); font-weight: 560; font-size: 0.9375rem; line-height: 1.3; text-decoration: none; }
.cs-hub__nav a:hover { border-left-color: var(--jaune); }
.cs-hub__nav span { color: var(--acier); font-weight: 420; }
.cs-groupe { padding-bottom: 3.2rem; }
.cs-groupe .cs-h3 a { text-decoration: none; }
.cs-groupe__p { max-width: 40rem; margin: 0.5rem 0 1.4rem; font-size: 1.0625rem; color: var(--acier); }

/* Mouvement : le ruban seul s'anime ; tout est coupé si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cs-ruban__fait, .cs-ruban__repere, .cs-q summary::after { transition: none; }
}

.cs-header__cta .cs-btn { white-space: nowrap; }
@media (min-width: 1701px) { .cs-header__in { max-width: 108rem; } }
.cs-nav ul { gap: 1.25rem; }

/* Menu déroulant « Vos situations » */
.cs-nav__dd { position: relative; }
.cs-dd__b { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0; background: transparent; color: inherit; border: 0; border-bottom: 2px solid transparent; border-radius: 0; font-family: var(--titre); font-weight: 520; font-size: 0.9375rem; cursor: pointer; white-space: nowrap; }
.cs-dd__b::after { content: ""; width: 0.42rem; height: 0.42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.18s; }
.cs-dd__b:hover, .cs-nav__dd.is-open .cs-dd__b { border-bottom-color: var(--jaune); }
.cs-nav__dd.is-open .cs-dd__b::after { transform: rotate(225deg) translateY(-2px); }
.cs-nav .cs-dd { display: none; flex-direction: column; gap: 0; position: absolute; top: calc(100% + 0.7rem); left: -1.2rem; z-index: 60; min-width: 20rem; padding: 1rem 1.4rem 1.2rem; background: var(--blanc); border-top: 4px solid var(--jaune); box-shadow: 0 16px 32px rgba(14, 39, 66, 0.16); }
.cs-nav .cs-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -0.8rem; height: 0.8rem; }
.cs-nav__dd.is-open > .cs-dd { display: flex; }
@media (hover: hover) and (min-width: 1161px) { .cs-nav__dd:hover > .cs-dd { display: flex; } }
.cs-dd a, .cs-dd span { display: block; padding: 0.4rem 0; border-bottom: 0; white-space: normal; font-family: var(--titre); font-size: 0.9375rem; }
.cs-dd__t { margin-top: 0.7rem; }
.cs-dd__t:first-child { margin-top: 0; }
.cs-dd__t a, .cs-dd__t span { font-weight: 700; font-stretch: 106%; }
.cs-dd__i a { font-weight: 440; padding-left: 0.8rem; }
.cs-dd a:hover { text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 0.14em; text-underline-offset: 0.2em; }
.cs-dd__f { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--trait); }
.cs-dd__f a { font-weight: 700; }

/* Navigation repliée jusqu'à 1160 px (une entrée de plus dans la barre) */
@media (max-width: 1160px) {
	.cs-burger { display: inline-flex; align-items: center; }
	.cs-header__cta { display: none; }
	.cs-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-bottom: 4px solid var(--jaune); display: none; margin: 0; padding: 0.5rem var(--marge) 1.4rem; }
	.cs-header.is-open .cs-nav { display: block; }
	.cs-nav ul { flex-direction: column; gap: 0; }
	.cs-nav a { display: block; padding: 0.9rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--trait); }
	.cs-nav__m { display: block; }
	.cs-dd__b { display: flex; justify-content: space-between; width: 100%; padding: 0.9rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--trait); }
	.cs-nav .cs-dd { position: static; min-width: 0; padding: 0.3rem 0 0.6rem 0.9rem; border-top: 0; box-shadow: none; }
	.cs-nav .cs-dd::before { display: none; }
	.cs-dd a, .cs-dd span { font-size: 1rem; }
	.cs-nav .cs-dd a { border-bottom: 0; padding: 0.5rem 0; }
}

/* Écrans moyens */
@media (max-width: 1700px) { .cs-logo__nom { display: none; } }
@media (max-width: 1360px) { .cs-header .cs-tel { display: none; } }

/* Tablette */
@media (max-width: 1000px) {
	.cs-nav ul { gap: 1rem; }
	.cs-header .cs-tel { display: none; }
	.cs-article__grid { grid-template-columns: 1fr; }
	.cs-rail { position: static; display: grid; grid-template-columns: 1fr; order: -1; }
	.cs-rail__cta { display: none; }
	.cs-classement__l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-pied__g { grid-template-columns: 1fr 1fr; }
	.cs-hub { grid-template-columns: 1fr; }
	.cs-hub__nav { position: static; }
	.cs-hub__nav ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; border-left: 0; }
	.cs-hub__nav a { border-left: 0; margin: 0; padding: 0.3rem 0; }
}

/* Mobile : menu replié, mètre vertical, une colonne */
@media (max-width: 720px) {
	:root { --haut: 4.1rem; }
	.cs-burger { display: inline-flex; align-items: center; }
	.cs-logo__nom { display: none; }
	.cs-logo__img { width: 128px; }
	.cs-header__cta { display: none; }
	.cs-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-bottom: 4px solid var(--jaune); display: none; margin: 0; padding: 0.5rem var(--marge) 1.4rem; }
	.cs-header.is-open .cs-nav { display: block; }
	.cs-nav ul { flex-direction: column; gap: 0; }
	.cs-nav a { display: block; padding: 0.9rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--trait); }
	.cs-nav__m { display: block; }
	.cs-hero__in { grid-template-columns: 1fr; }
	.cs-hero__photo { display: none; }
	.cs-hero__texte { padding-bottom: 2.5rem; }
	.cs-metre__tete { grid-template-columns: 1fr; max-width: none; }
	.cs-champ input { width: 100%; }
	.cs-ruban { height: 34rem; margin-top: 2rem; padding: 0; }
	.cs-ruban__barre { position: absolute; inset: 0 auto 0 0; width: 56px; height: auto; border-right: 0; border-bottom: 4px solid var(--marine); background-image:
		repeating-linear-gradient(180deg, var(--marine) 0 2px, transparent 2px 10%),
		repeating-linear-gradient(180deg, var(--marine) 0 1px, transparent 1px 5%);
		background-size: 100% 100%, 55% 100%; background-position: 0 0, 100% 0; }
	.cs-ruban__fait { inset: 0 0 auto 0; width: auto; height: var(--e, 0%); transition: height 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
	.cs-ruban__repere { top: var(--e, 0%); bottom: auto; left: -12px; right: -12px; width: auto; height: 4px; margin: -2px 0 0; transition: top 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s; }
	.cs-ruban__repere span { bottom: auto; top: 50%; left: calc(100% + 6px); transform: translateY(-50%); }
	.cs-jalon { top: var(--p); left: 56px; transform: none; border-right: 0; border-top: 2px solid var(--blanc); height: auto; text-align: left; padding: 0.4rem 0 0 0.9rem; margin-top: -2px; min-width: 12rem; }
	.cs-jalon[data-an="10"] { margin-top: -4.6rem; border-top: 0; border-bottom: 2px solid var(--blanc); padding: 0 0 0.4rem 0.9rem; }
	.cs-jalon[data-an="10"] { top: 100%; }
	.cs-jalon span { margin-left: 0; max-width: none; }
	.cs-echeances thead { display: none; }
	.cs-echeances, .cs-echeances tbody, .cs-echeances tr, .cs-echeances th, .cs-echeances td { display: block; width: 100%; }
	.cs-echeances tr { border-top: 1px solid #3a5878; padding: 0.9rem 0; }
	.cs-echeances th, .cs-echeances td { border: 0; padding: 0.1rem 0; }
	.cs-echeances td::before { content: attr(data-label) " : "; font-weight: 420; color: #b6c4d3; }
	.cs-titres__l { grid-template-columns: 1fr; }
	.cs-titres__l li, .cs-titres__l li + li { padding: 1.3rem 0; border-left: 0; border-top: 1px solid var(--trait); }
	.cs-titres__l li:first-child { border-top: 0; }
	.cs-entrees { grid-template-columns: 1fr; }
	.cs-entree--particuliers .cs-entree__in { margin-left: 0; }
	.cs-table thead { display: none; }
	.cs-table, .cs-table tbody, .cs-table tr, .cs-table th, .cs-table td { display: block; width: 100% !important; }
	.cs-table tr { border-top: 3px solid var(--marine); padding: 1rem 0; }
	.cs-table th, .cs-table td { border: 0; padding: 0.2rem 1.1rem; }
	.cs-parcours__grid, .cs-avocat__grid, .cs-faq__grid, .cs-contact__grid { grid-template-columns: 1fr; }
	.cs-parcours__tete, .cs-avocat__photo, .cs-faq .cs-h2 { position: static; }
	.cs-avocat__photo { max-width: 18rem; }
	.cs-classement__l { grid-template-columns: 1fr; }
	.cs-pied__g { grid-template-columns: 1fr; }
	.cs-index a { grid-template-columns: 1fr; gap: 0.3rem; }
	.cs-index__d { text-align: left; }
	.cs-index a::before { display: none; }
	.cs-theme__t { flex-direction: column; gap: 0.2rem; }
	.cs-metre__pied .cs-btn { width: 100%; }
	.admin-bar .cs-header { top: 46px; }
}
