/* Thème Commerce : urbanismecommercial.com. Charte : voir DESIGN.md. */
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/bigshoulders.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
	--encre: #14161a;
	--vermillon: #f5a58b;
	--vermillon-fonce: #b9573d;
	--rose: #fff1ec;
	--plan: #f1f2ee;
	--trait: #d3d6cf;
	--gris: #596067;
	--vert: #17715a;
	--menthe: #e3f1ec;
	--blanc: #ffffff;
	--titre: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
	--texte: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
	--marge: clamp(1.25rem, 4vw, 3rem);
	--haut: 5rem;
	--grille: rgba(20, 22, 26, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanc); color: var(--encre); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--vermillon); text-decoration-thickness: 0.12em; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.uc-hero :focus-visible, .uc-contact :focus-visible, .uc-cadre :focus-visible { outline-color: var(--blanc); }
.uc-hero .uc-btn:focus-visible { outline-color: var(--encre); }
.uc-evitement { position: absolute; left: -999px; top: 0.5rem; z-index: 100; background: var(--encre); color: var(--blanc); padding: 0.7rem 1rem; }
.uc-evitement:focus { left: 0.5rem; }
.uc-wrap { max-width: 80rem; margin-inline: auto; padding-inline: var(--marge); }
.wp-site-blocks, .uc-main { padding: 0; margin: 0; }
.wp-site-blocks > * { margin-block: 0; }

/* Titres */
.uc-h1, .uc-h2, .uc-h3, .uc-page__titre { font-family: var(--titre); font-weight: 800; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
.uc-h1 { font-size: clamp(3.2rem, 0.4rem + 7.4vw, 7.6rem); line-height: 0.86; text-transform: uppercase; }
.uc-h2 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.6rem); line-height: 0.92; text-transform: uppercase; }
.uc-h3 { font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.3rem); line-height: 1; font-weight: 750; }
.uc-page__titre { font-size: clamp(2.5rem, 1.2rem + 4vw, 4.6rem); line-height: 0.96; }
.uc-chapeau { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; margin: 1.1rem 0 0; max-width: 40rem; }
.uc-fine { font-size: 0.875rem; line-height: 1.55; color: var(--gris); max-width: 46rem; }
.uc-lien { font-weight: 650; text-decoration: underline; text-decoration-thickness: 0.16em; text-decoration-color: var(--vermillon); text-underline-offset: 0.28em; }
.uc-lien:hover { text-decoration-color: currentColor; }

/* Boutons */
.uc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.6rem; background: var(--vermillon); color: var(--encre); border: 2px solid var(--encre); border-radius: 0; font-family: var(--texte); font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color 0.16s, color 0.16s; }
.uc-btn:hover { background: var(--encre); color: var(--blanc); }
.uc-btn--n { background: var(--encre); color: var(--blanc); }
.uc-btn--n:hover { background: var(--blanc); color: var(--encre); }
.uc-btn--o { background: transparent; }
.uc-btn--o:hover { background: var(--encre); color: var(--blanc); }
.uc-btn--s { min-height: 44px; padding: 0 1.1rem; font-size: 0.9375rem; }
.uc-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; margin-top: 2rem; align-items: center; }
.uc-tel { font-weight: 700; text-decoration: none; white-space: nowrap; }
.uc-tel:hover { text-decoration: underline; text-decoration-color: var(--vermillon); }

/* En-tête : blanc, pour que le logo du cabinet reste lisible et entier */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.uc-header { position: relative; background: var(--blanc); border-bottom: 4px solid var(--vermillon); }
.uc-header__in { display: flex; align-items: center; gap: 1.6rem; min-height: var(--haut); max-width: 92rem; }
.uc-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit; flex: none; }
.uc-logo__plaque { display: block; line-height: 0; background: var(--blanc); }
.uc-logo__img { width: 172px; height: auto; display: block; }
.uc-logo__nom { font-family: var(--titre); font-weight: 800; font-size: 1.55rem; line-height: 0.95; text-transform: uppercase; letter-spacing: 0; padding-left: 1rem; border-left: 2px solid var(--encre); }
.uc-nav { margin-left: auto; }
.uc-nav ul { display: flex; gap: 1.45rem; list-style: none; margin: 0; padding: 0; }
.uc-nav a { white-space: nowrap; font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 0.4rem 0; border-bottom: 3px solid transparent; }
.uc-nav a:hover { border-bottom-color: var(--vermillon); }
.uc-nav__m { display: none; }
.uc-header__cta { display: flex; align-items: center; gap: 1.1rem; }
.uc-burger { display: none; margin-left: auto; min-height: 44px; padding: 0 1rem; background: transparent; color: var(--encre); border: 2px solid var(--encre); border-radius: 0; font-family: var(--texte); font-weight: 700; cursor: pointer; }

/* Accueil : le hall d'entrée, vermillon et plan */
.uc-hero { background-color: var(--vermillon); background-image: linear-gradient(to right, rgba(255, 255, 255, 0.2) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 1px, transparent 1px); background-size: 56px 56px; padding: clamp(2.2rem, 5vw, 4rem) 0 0; overflow: hidden; }
.uc-hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2rem clamp(1.5rem, 4vw, 4rem); align-items: center; }
.uc-signature { display: flex; flex-wrap: wrap; margin: 0 0 1.6rem; background: var(--encre); color: var(--blanc); font-size: 0.9375rem; line-height: 1.25; width: fit-content; max-width: 100%; }
.uc-signature strong { font-family: var(--titre); font-weight: 800; font-size: 1.5rem; line-height: 1; padding: 0.7rem 1rem; background: var(--blanc); color: var(--encre); text-transform: uppercase; }
.uc-signature span { padding: 0.7rem 1rem; font-weight: 600; border-left: 1px solid rgba(255, 255, 255, 0.28); }
.uc-signature strong + span { border-left: 0; }
.uc-hero__chapeau { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.5; max-width: 38rem; margin: 1.6rem 0 0; font-weight: 500; }
.uc-zone { margin: 0; justify-self: end; width: 100%; max-width: 31rem; }
.uc-zone svg { display: block; width: 100%; height: auto; overflow: visible; }
.uc-zone__rues path { stroke: rgba(255, 255, 255, 0.34); stroke-width: 14; }
.uc-c { stroke: var(--blanc); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 1; animation: uc-trace 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.uc-c1 { animation-delay: 0.15s; } .uc-c2 { animation-delay: 0.45s; } .uc-c3 { animation-delay: 0.75s; } .uc-c4 { animation-delay: 1.05s; }
.uc-cote, .uc-zone__cotes path { stroke: var(--encre); stroke-width: 1.5; }
.uc-zone__echelle { font-size: 13px; font-weight: 600; fill: var(--encre); }
.uc-pin { opacity: 0; animation: uc-pose 0.5s ease-out forwards; }
.uc-pin--projet { animation-delay: 1.0s; } .uc-pin--concurrent { animation-delay: 1.35s; } .uc-pin--ville { animation-delay: 1.65s; }
.uc-pin circle { fill: var(--encre); stroke: var(--blanc); stroke-width: 3; }
.uc-pin rect { fill: var(--blanc); stroke: var(--encre); stroke-width: 2; }
.uc-pin text { font-size: 14px; font-weight: 700; fill: var(--encre); }
@keyframes uc-trace { to { stroke-dashoffset: 0; } }
@keyframes uc-pose { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.uc-etiquettes { padding-top: 2.4rem; padding-bottom: 2rem; }
.uc-etiquettes ul { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; margin: 0; padding: 0; }
.uc-etiquette { background: var(--blanc); color: var(--encre); border: 2px solid var(--encre); padding: 0.4rem 0.85rem; font-weight: 650; font-size: 0.9375rem; line-height: 1.3; }
.uc-etiquette--n { background: var(--encre); color: var(--blanc); }

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

/* Le simulateur de seuil */
.uc-seuil { background-color: var(--blanc); background-image: linear-gradient(to right, var(--grille) 1px, transparent 1px), linear-gradient(to bottom, var(--grille) 1px, transparent 1px); background-size: 48px 48px; }
.uc-seuil__tete { max-width: 46rem; }
.uc-sim { display: grid; grid-template-columns: minmax(17rem, 24rem) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); margin-top: 2.6rem; align-items: start; }
.uc-sim__form { display: grid; gap: 1.5rem; background: var(--blanc); border: 2px solid var(--encre); padding: 1.6rem; }
.uc-sim fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.uc-sim legend { font-weight: 700; margin-bottom: 0.6rem; padding: 0; }
.uc-sim__type { display: grid; gap: 0.5rem; }
.uc-sim__type legend { grid-column: 1 / -1; }
.uc-sim__type label { display: block; position: relative; cursor: pointer; }
.uc-sim__type input { position: absolute; opacity: 0; inset: 0; }
.uc-sim__type span { display: block; padding: 0.7rem 1rem; border: 2px solid var(--encre); font-weight: 650; background: var(--blanc); transition: background-color 0.15s, color 0.15s; }
.uc-sim__type input:checked + span { background: var(--encre); color: var(--blanc); }
.uc-sim__type input:focus-visible + span { outline: 3px solid var(--vermillon); outline-offset: 3px; }
.uc-champ[hidden] { display: none; }
.uc-champ label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.uc-champ label span { font-weight: 400; color: var(--gris); }
.uc-champ__m { display: flex; align-items: baseline; gap: 0.5rem; }
.uc-champ input[type="number"] { width: 9rem; border: 0; border-bottom: 3px solid var(--encre); background: transparent; padding: 0 0 0.1rem; font-family: var(--titre); font-weight: 800; font-size: 2.6rem; line-height: 1.1; color: var(--encre); border-radius: 0; -moz-appearance: textfield; }
.uc-champ input[type="number"]::-webkit-outer-spin-button, .uc-champ input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.uc-champ__m span { font-family: var(--titre); font-weight: 750; font-size: 1.6rem; }
.uc-champ input[type="range"] { width: 100%; margin: 0.9rem 0 0; accent-color: var(--vermillon); height: 1.6rem; }
.uc-champ select, .uc-champ input[type="date"] { width: 100%; min-height: 48px; padding: 0 0.8rem; border: 2px solid var(--encre); border-radius: 0; background: var(--blanc); color: var(--encre); font-family: var(--texte); font-size: 1rem; }
.uc-plan { margin: 0; position: relative; padding: 0 3rem 3rem 0; }
.uc-plan__scene { --w: 55.9%; --h: 55.9%; --ex: 0%; position: relative; aspect-ratio: 2 / 1; border: 2px solid var(--encre); background-color: var(--blanc); background-image: linear-gradient(to right, var(--grille) 1px, transparent 1px), linear-gradient(to bottom, var(--grille) 1px, transparent 1px); background-size: 6.25% 12.5%; }
.uc-plan__bati { position: absolute; left: 0; bottom: 0; width: var(--w); height: var(--h); background: var(--vermillon); border-top: 2px solid var(--encre); border-right: 2px solid var(--encre); transition: width 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), height 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.uc-plan__exist { position: absolute; left: 0; top: 0; bottom: 0; width: var(--ex); background-color: var(--rose); background-image: repeating-linear-gradient(45deg, var(--encre) 0 1.5px, transparent 1.5px 9px); border-right: 2px solid var(--encre); transition: width 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.uc-plan__surface { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--blanc); border: 2px solid var(--encre); padding: 0 0.55rem; font-family: var(--titre); font-weight: 800; font-size: clamp(1.1rem, 0.7rem + 1.6vw, 2.1rem); line-height: 1.25; white-space: nowrap; }
.uc-plan__ref { position: absolute; left: 0; bottom: 0; z-index: 2; pointer-events: none; }
.uc-plan__ref--1000 { width: 55.9%; height: 55.9%; border-top: 2px dashed var(--encre); border-right: 2px dashed var(--encre); }
.uc-plan__ref--300 { width: 30.6%; height: 30.6%; border-top: 2px dotted var(--encre); border-right: 2px dotted var(--encre); opacity: 0.7; }
.uc-plan__ref span { position: absolute; right: 0; top: 0; transform: translateY(-100%); background: var(--encre); color: var(--blanc); font-size: 0.75rem; font-weight: 700; padding: 0.05rem 0.45rem; white-space: nowrap; }
.uc-plan__ref--300 span { background: var(--blanc); color: var(--encre); border: 1px solid var(--encre); border-bottom: 0; transform: translateY(0); top: auto; bottom: 0; right: 0; }
.uc-plan__cote { position: absolute; font-size: 0.8125rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: width 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), height 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), left 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.uc-plan__cote--l { left: 0; width: var(--w); top: 100%; margin-top: 0.7rem; border-top: 2px solid var(--encre); padding-top: 0.15rem; }
.uc-plan__cote--l::before, .uc-plan__cote--h::before { content: ""; position: absolute; background: var(--encre); }
.uc-plan__cote--l::before { left: 0; top: -9px; width: 2px; height: 16px; }
.uc-plan__cote--h { left: calc(var(--w) + 0.9rem); bottom: 0; height: var(--h); border-left: 2px solid var(--encre); padding-left: 0.15rem; writing-mode: vertical-rl; transform: rotate(180deg); }
.uc-plan__cote--h::before { left: -9px; bottom: -2px; width: 16px; height: 2px; }
.uc-plan figcaption { margin-top: 1.6rem; font-size: 0.8125rem; color: var(--gris); }
.uc-plan.is-off .uc-plan__scene { opacity: 0.35; }
.uc-verdict { margin-top: 2.2rem; border: 2px solid var(--encre); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--vermillon); transition: background-color 0.3s; align-items: center; }
.uc-verdict[data-etat="saisine"] { background: var(--rose); }
.uc-verdict[data-etat="hors"] { background: var(--menthe); }
.uc-verdict__k { margin: 0 0 0.5rem; font-size: 0.875rem; font-weight: 700; }
.uc-verdict__t { font-family: var(--titre); font-weight: 800; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 0.98; margin: 0; max-width: 28ch; text-wrap: balance; }
.uc-verdict__p { margin: 0.9rem 0 0; max-width: 46rem; }
.uc-verdict__n { margin: 0.7rem 0 0; max-width: 46rem; font-weight: 600; }
.uc-verdict__d { margin: 1rem 0 0; padding: 0.7rem 1rem; background: var(--blanc); border: 2px solid var(--encre); max-width: 46rem; font-weight: 650; }
.uc-verdict__d[hidden] { display: none; }
.uc-verdict__a { display: grid; gap: 0.8rem; justify-items: start; }
.uc-verdict .uc-btn--n:hover { background: var(--blanc); }

/* Trois positions : panneaux suspendus */
.uc-positions { background: var(--plan); }
.uc-panneaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 4.5rem; }
.uc-panneau { position: relative; background: var(--blanc); border: 2px solid var(--encre); display: flex; flex-direction: column; }
.uc-panneau::before, .uc-panneau::after { content: ""; position: absolute; top: -2.8rem; width: 2px; height: 2.8rem; background: var(--encre); }
.uc-panneau::before { left: 14%; } .uc-panneau::after { right: 14%; }
.uc-panneau__tete { padding: 1.4rem 1.5rem 1.2rem; border-bottom: 2px solid var(--encre); }
.uc-panneau--projet .uc-panneau__tete { background: var(--vermillon); }
.uc-panneau--concurrent .uc-panneau__tete { background: var(--encre); color: var(--blanc); }
.uc-panneau--collectivite .uc-panneau__tete { background: var(--vert); color: var(--blanc); }
.uc-panneau__sous { margin: 0; font-size: 0.875rem; font-weight: 650; }
.uc-panneau__t { font-family: var(--titre); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem); line-height: 0.95; margin: 0.35rem 0 0; text-transform: uppercase; }
.uc-panneau__corps { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.uc-panneau__corps > p { margin: 0 0 1rem; }
.uc-panneau ul { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.uc-panneau li { border-top: 1px solid var(--trait); }
.uc-panneau li a { display: block; padding: 0.6rem 0; font-weight: 600; font-size: 0.9688rem; line-height: 1.35; }
.uc-panneau .uc-btn { margin-top: auto; align-self: flex-start; }

/* Parcours */
.uc-parcours__tete { max-width: 44rem; }
.uc-route { counter-reset: etape; list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem; position: relative; }
.uc-route::before { content: ""; position: absolute; left: 1rem; right: 1rem; top: 1rem; height: 2px; background: var(--encre); }
.uc-route li { counter-increment: etape; position: relative; padding-top: 3.1rem; }
.uc-route li::before { content: counter(etape); position: absolute; top: 0; left: 0; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--encre); color: var(--blanc); font-family: var(--titre); font-weight: 800; font-size: 1.25rem; }
.uc-route li:nth-child(4)::before { background: var(--vermillon); color: var(--encre); outline: 2px solid var(--encre); }
.uc-route h3 { font-family: var(--titre); font-weight: 750; font-size: 1.6rem; line-height: 1; margin: 0 0 0.5rem; }
.uc-route p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--gris); }

/* Cadre juridique */
.uc-cadre { background: var(--encre); color: var(--blanc); }
.uc-cadre__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.uc-cadre__texte p { font-size: 1.125rem; color: #e3e5e8; max-width: 44rem; }
.uc-cadre__texte .uc-h2 { margin-bottom: 1.6rem; }
.uc-cadre .uc-lien { text-decoration-color: var(--vermillon); }
.uc-seuils { margin: 0; }
.uc-seuils div { padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.uc-seuils div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.uc-seuils dt { font-family: var(--titre); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 4.8rem); line-height: 0.95; color: var(--vermillon); }
.uc-seuils dd { margin: 0.3rem 0 0; color: #e3e5e8; max-width: 26rem; }

/* L'avocat */
.uc-avocat__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.uc-avocat__photo { margin: 0 0 1.4rem; position: relative; max-width: 26rem; }
.uc-avocat__photo::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; background: var(--vermillon); border: 2px solid var(--encre); }
.uc-avocat__photo img { position: relative; display: block; width: 100%; height: auto; border: 2px solid var(--encre); background: var(--plan); }
.uc-avocat__texte p { max-width: 40rem; }
.uc-spe { margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.uc-spe div { border-left: 6px solid var(--vermillon); padding-left: 1rem; }
.uc-spe dt { font-family: var(--titre); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.uc-spe dd { margin: 0.35rem 0 0; font-size: 0.9688rem; color: var(--gris); max-width: 38rem; }
.uc-classement { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.4rem; border-top: 2px solid var(--encre); }
.uc-classement__t { font-family: var(--titre); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; margin: 0; }
.uc-classement__p { margin: 0.6rem 0 0; max-width: 40rem; }
.uc-classement__l { list-style: none; margin: 1.6rem 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.uc-classement__l li { background: var(--plan); border-top: 6px solid var(--vermillon); padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; }
.uc-classement__l span { font-size: 0.8125rem; font-weight: 650; color: var(--gris); }
.uc-classement__l strong { font-family: var(--titre); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.uc-classement__l em { font-style: normal; font-weight: 700; font-size: 0.8125rem; background: var(--encre); color: var(--blanc); padding: 0.1rem 0.55rem; width: fit-content; margin-top: auto; }

/* Index d'analyses */
.uc-analyses { background: var(--plan); }
.uc-analyses__tete { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.uc-analyses__tete p { margin: 0; }
.uc-index { list-style: none; margin: 0; padding: 0; }
.uc-index li { border-top: 2px solid var(--encre); }
.uc-index a { display: block; padding: 1.15rem 0 1.3rem; text-decoration: none; }
.uc-index__t { display: block; font-family: var(--titre); font-weight: 750; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); line-height: 1.05; text-wrap: balance; }
.uc-index__e { display: block; margin-top: 0.45rem; color: var(--gris); font-size: 0.9688rem; line-height: 1.5; max-width: 46rem; }
.uc-index a:hover .uc-index__t { text-decoration: underline; text-decoration-color: var(--vermillon); text-decoration-thickness: 0.1em; text-underline-offset: 0.18em; }
.uc-index--g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.uc-index--c { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.8rem; }
.uc-index--c .uc-index__t { font-size: 1.45rem; }
.uc-index--j .uc-index__t { font-size: 1.4rem; font-weight: 700; }
.uc-index--j a { padding: 0.85rem 0 0.95rem; }
.uc-index--j li { border-top-width: 1px; border-top-color: var(--trait); }
.uc-juris { margin: 2.4rem 0 0; }
.uc-juris a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--encre); color: var(--blanc); padding: 1.3rem 1.6rem; text-decoration: none; transition: background-color 0.16s, color 0.16s; }
.uc-juris a:hover { background: var(--vermillon); color: var(--encre); }
.uc-juris strong { font-family: var(--titre); font-weight: 800; font-size: 2.2rem; line-height: 1; text-transform: uppercase; }

/* FAQ */
.uc-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.uc-q { border-top: 2px solid var(--encre); }
.uc-q:last-child { border-bottom: 2px solid var(--encre); }
.uc-q summary { list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 0; font-weight: 700; font-size: 1.125rem; line-height: 1.35; position: relative; }
.uc-q summary::-webkit-details-marker { display: none; }
.uc-q summary::after { content: ""; position: absolute; right: 0.2rem; top: 1.45rem; width: 1.1rem; height: 1.1rem; background: linear-gradient(var(--encre), var(--encre)) center / 100% 3px no-repeat, linear-gradient(var(--encre), var(--encre)) center / 3px 100% no-repeat; transition: transform 0.2s; }
.uc-q[open] summary::after { transform: rotate(45deg); }
.uc-q p { margin: 0 0 1.3rem; max-width: 44rem; }

/* Contact */
.uc-contact { background: var(--encre); color: var(--blanc); padding: clamp(3.5rem, 8vw, 7rem) 0; }
.uc-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.uc-contact .uc-chapeau { color: #e3e5e8; }
.uc-delai { margin: 1.8rem 0 0; padding: 1rem 1.2rem; background: var(--vermillon); color: var(--encre); border: 2px solid var(--encre); max-width: 36rem; font-size: 0.9688rem; line-height: 1.5; }
.uc-delai strong { font-family: var(--titre); font-weight: 800; font-size: 1.5rem; line-height: 1; margin-right: 0.3rem; }
.uc-coord { font-style: normal; margin-top: 2rem; display: grid; gap: 0.2rem; }
.uc-coord p { margin: 0 0 0.9rem; }
.uc-tel--n { display: inline-flex; flex-direction: column; text-decoration: none; }
.uc-tel--n span { font-size: 0.875rem; font-weight: 600; }
.uc-tel--n strong { font-family: var(--titre); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); line-height: 1; border-bottom: 5px solid var(--vermillon); }
.uc-contact__form { background: var(--blanc); color: var(--encre); padding: clamp(1.4rem, 3vw, 2.4rem); border: 2px solid var(--blanc); }
.uc-contact__form .uc-fine, .uc-cp__form .uc-fine { margin-bottom: 0; }

/* Formulaire Contact Form 7 */
.wpcf7 form { margin: 0; }
.wpcf7 label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 1.1rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea { display: block; width: 100%; margin-top: 0.35rem; min-height: 50px; padding: 0.7rem 0.85rem; border: 2px solid var(--encre); border-radius: 0; background: var(--blanc); color: var(--encre); font-family: var(--texte); font-size: 1rem; font-weight: 400; }
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input:focus-visible, .wpcf7 select:focus-visible, .wpcf7 textarea:focus-visible { outline: 3px solid var(--vermillon); outline-offset: 0; }
.wpcf7 .wpcf7-acceptance label, .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; }
.wpcf7 input[type="checkbox"] { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; accent-color: var(--encre); flex: none; }
.wpcf7 .wpcf7-submit { min-height: 54px; padding: 0 2rem; background: var(--encre); color: var(--blanc); border: 2px solid var(--encre); border-radius: 0; font-family: var(--texte); font-weight: 700; font-size: 1.0625rem; cursor: pointer; transition: background-color 0.16s, color 0.16s; }
.wpcf7 .wpcf7-submit:hover { background: var(--vermillon); color: var(--encre); }
.wpcf7 fieldset.hidden-fields-container { display: none; }
.wpcf7 form[data-status="init"] .wpcf7-response-output { display: none; }
.wpcf7 .wpcf7-response-output { margin: 1.2rem 0 0; padding: 0.8rem 1rem; border: 2px solid var(--encre); font-weight: 600; }
.wpcf7 .wpcf7-not-valid-tip { color: #b3260b; font-size: 0.875rem; font-weight: 600; margin-top: 0.3rem; }
.wpcf7 .wpcf7-spinner { margin-left: 0.8rem; }

/* Pied de page : blanc, comme l'en-tête */
.uc-pied { background: var(--blanc); border-top: 10px solid var(--vermillon); padding: 3.5rem 0 2rem; }
.uc-pied__g { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr 1.1fr; gap: 2.5rem; }
.uc-pied p { margin: 0 0 0.8rem; font-size: 0.9375rem; line-height: 1.55; }
.uc-pied a { text-decoration: none; }
.uc-pied a:hover { text-decoration: underline; text-decoration-color: var(--vermillon); }
.uc-pied__nom { font-family: var(--titre); font-weight: 800; font-size: 1.9rem !important; line-height: 1 !important; margin-top: 1.2rem !important; text-transform: uppercase; }
.uc-pied__s { color: var(--gris); max-width: 22rem; }
.uc-pied__k { font-family: var(--titre); font-weight: 800; font-size: 1.35rem !important; line-height: 1 !important; margin-bottom: 0.9rem !important; text-transform: uppercase; }
.uc-pied ul { list-style: none; margin: 0; padding: 0; }
.uc-pied li { padding: 0.22rem 0; font-size: 0.9375rem; }
.uc-pied__l { margin: 2.6rem 0 0 !important; padding-top: 1.2rem; border-top: 1px solid var(--trait); color: var(--gris); font-size: 0.8125rem !important; max-width: 60rem; }

/* Pages et articles */
.uc-page__in { padding-top: clamp(1.6rem, 3vw, 2.4rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.uc-page__chapeau { margin-bottom: 2.2rem; }
.uc-fil { display: flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; font-size: 0.875rem; color: var(--gris); margin-bottom: 1.4rem; }
.uc-fil a { text-decoration: none; }
.uc-fil a:hover { text-decoration: underline; text-decoration-color: var(--vermillon); }
.uc-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(1.6rem, 3vw, 2.4rem); padding-bottom: clamp(3rem, 7vw, 6rem); align-items: start; }
.uc-article__main { min-width: 0; }
.uc-article__titre { max-width: 22ch; }
.uc-article__chapeau { margin-bottom: 0; }
.uc-etiq-juris { display: inline-block; margin: 1.2rem 0 0; padding: 0.15rem 0.7rem; background: var(--encre); color: var(--blanc); font-weight: 700; font-size: 0.875rem; }
.uc-meta { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; margin: 1.6rem 0 2.4rem; padding: 0.9rem 0; border-top: 2px solid var(--encre); border-bottom: 1px solid var(--trait); font-size: 0.875rem; color: var(--gris); }
.uc-prose { max-width: 44rem; font-size: 1.125rem; line-height: 1.7; }
.uc-prose > * { margin-block: 0 1.25rem; }
.uc-prose h2 { font-family: var(--titre); font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1; margin: 3rem 0 1rem; }
.uc-prose h3 { font-family: var(--titre); font-weight: 750; font-size: 1.75rem; line-height: 1.05; margin: 2.2rem 0 0.8rem; }
.uc-prose h4 { font-weight: 700; margin: 1.8rem 0 0.5rem; }
.uc-prose a { text-decoration-thickness: 0.12em; text-decoration-color: var(--vermillon); }
.uc-prose ul, .uc-prose ol { padding-left: 1.4rem; }
.uc-prose li { margin-bottom: 0.45rem; }
.uc-prose blockquote { margin-inline: 0; padding: 0.2rem 0 0.2rem 1.3rem; border-left: 6px solid var(--vermillon); color: #2d3137; }
.uc-prose table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; display: block; overflow-x: auto; }
.uc-prose th, .uc-prose td { border: 1px solid var(--trait); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
.uc-prose th { background: var(--plan); }
.uc-prose img { height: auto; }
.uc-prose .wp-block-columns { display: block; }
.uc-puces { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.uc-puces li { padding: 0.55rem 0 0.55rem 1.4rem; border-top: 1px solid var(--trait); position: relative; }
.uc-puces li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 0.65rem; height: 0.65rem; background: var(--vermillon); border: 1.5px solid var(--encre); }
.uc-rail { position: sticky; top: 7rem; display: grid; gap: 1.5rem; }
.admin-bar .uc-rail { top: 9rem; }
.uc-toc { border-top: 2px solid var(--encre); padding-top: 0.9rem; }
.uc-toc[hidden] { display: none; }
.uc-toc__t { font-family: var(--titre); font-weight: 800; font-size: 1.35rem; line-height: 1; margin: 0 0 0.6rem; text-transform: uppercase; }
.uc-toc__l { margin: 0; padding: 0; list-style: none; font-size: 0.9062rem; line-height: 1.4; }
.uc-toc__l li { padding: 0.35rem 0 0.35rem 0.9rem; border-left: 2px solid var(--trait); }
.uc-toc__l li.is-actif { border-left-color: var(--vermillon); font-weight: 700; }
.uc-toc__l a { text-decoration: none; }
.uc-toc__l a:hover { text-decoration: underline; text-decoration-color: var(--vermillon); }
.uc-rail__cta { background: var(--plan); border: 2px solid var(--encre); padding: 1.1rem 1.1rem 1.3rem; display: grid; gap: 0.6rem; justify-items: start; }
.uc-rail__cta img { display: block; width: 72px; height: auto; border: 2px solid var(--encre); }
.uc-rail__q { font-family: var(--titre); font-weight: 800; font-size: 1.6rem; line-height: 1; margin: 0.3rem 0 0; }
.uc-rail__s { font-size: 0.875rem; line-height: 1.45; color: var(--gris); margin: 0; }
.uc-rappel { margin: 3rem 0 0; padding: 1.5rem 1.6rem 1.7rem; background: var(--vermillon); border: 2px solid var(--encre); }
.uc-rappel__t { font-family: var(--titre); font-weight: 800; font-size: 2.1rem; line-height: 1; margin: 0 0 0.6rem; }
.uc-rappel p { max-width: 38rem; }
.uc-rappel .uc-btn { margin-top: 0.4rem; }
.uc-rappel--page { max-width: 44rem; }
.uc-suite { margin-top: 3.4rem; }
.uc-suite .uc-h3 { margin-bottom: 1rem; }

/* Index de la page « Analyses » */
.uc-hub { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: 1rem; }
.uc-hub__nav { position: sticky; top: 7rem; border-top: 2px solid var(--encre); }
.uc-hub__nav ul { list-style: none; margin: 0; padding: 0; }
.uc-hub__nav li { border-bottom: 1px solid var(--trait); }
.uc-hub__nav a { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.7rem 0; text-decoration: none; font-weight: 650; font-size: 0.9688rem; line-height: 1.3; }
.uc-hub__nav a:hover { text-decoration: underline; text-decoration-color: var(--vermillon); }
.uc-hub__nav span { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; }
.uc-groupe { margin-bottom: 3.6rem; }
.uc-groupe__p { margin: 0.5rem 0 1.2rem; color: var(--gris); max-width: 40rem; }

/* Page contact */
.uc-voies { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.uc-voies li { border: 2px solid var(--encre); padding: 1.2rem 1.3rem 1.4rem; background: var(--plan); }
.uc-voies span { font-weight: 700; font-size: 0.875rem; }
.uc-voies__g { display: block; font-family: var(--titre); font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 1.5vw, 2.6rem); line-height: 1; margin: 0.3rem 0 0.5rem; text-decoration: none; }
a.uc-voies__g { border-bottom: 4px solid var(--vermillon); width: fit-content; }
.uc-voies p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--gris); }
.uc-cp .uc-delai { max-width: none; margin-bottom: 2.6rem; }
.uc-cp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-bottom: 2.4rem; }
.uc-cp__col .uc-h3 { margin: 2.2rem 0 1rem; }
.uc-cp__col .uc-h3:first-child { margin-top: 0; }
.uc-situ { margin: 0; }
.uc-situ div { padding: 0.9rem 0 1rem 1rem; border-left: 6px solid var(--vermillon); margin-bottom: 0.9rem; }
.uc-situ dt { font-family: var(--titre); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.uc-situ dd { margin: 0.4rem 0 0; font-size: 0.9688rem; color: var(--gris); }
.uc-cp__form { background: var(--plan); border: 2px solid var(--encre); padding: clamp(1.3rem, 3vw, 2.2rem); }

/* Adaptation */
@media (max-width: 1360px) { .uc-logo__nom { display: none; } }
@media (max-width: 1180px) {
	.uc-header .uc-tel { display: none; }
	.uc-nav ul { gap: 1.1rem; }
	.uc-pied__g { grid-template-columns: 1fr 1fr; }
	.uc-classement__l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.uc-route { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.6rem; }
	.uc-route::before { display: none; }
}
@media (max-width: 1000px) {
	.uc-header__in { gap: 1rem; }
	.uc-burger { display: inline-flex; align-items: center; }
	.uc-header__cta { display: none; }
	.uc-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-bottom: 4px solid var(--vermillon); display: none; margin: 0; padding: 0.5rem var(--marge) 1.4rem; }
	.uc-header.is-open .uc-nav { display: block; }
	.uc-nav ul { flex-direction: column; gap: 0; }
	.uc-nav a { display: block; padding: 0.9rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--trait); }
	.uc-nav__m { display: block; }
	.uc-hero__in, .uc-sim, .uc-cadre__grid, .uc-avocat__grid, .uc-faq__grid, .uc-contact__grid, .uc-cp__grid, .uc-hub { grid-template-columns: minmax(0, 1fr); }
	.uc-zone { justify-self: start; max-width: 24rem; }
	.uc-panneaux { grid-template-columns: minmax(0, 1fr); gap: 4rem; }
	.uc-avocat__photo { max-width: 20rem; margin-bottom: 2.4rem; }
	.uc-index--g, .uc-index--c { grid-template-columns: minmax(0, 1fr); }
	.uc-article__grid { grid-template-columns: minmax(0, 1fr); }
	.uc-rail { position: static; order: 2; }
	.uc-hub__nav { position: static; }
	.uc-voies { grid-template-columns: minmax(0, 1fr); }
	.uc-verdict { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
	:root { --haut: 4.1rem; }
	.uc-logo__img { width: 140px; }
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
	.uc-signature span { border-left: 0; padding-top: 0; padding-bottom: 0.7rem; padding-right: 0.4rem; }
	.uc-signature strong { width: 100%; }
	.uc-signature { padding-bottom: 0; }
	.uc-route { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 0; }
	.uc-route::before { display: block; left: 1rem; right: auto; top: 1rem; bottom: 2rem; width: 2px; height: auto; }
	.uc-route li { padding: 0 0 1.8rem 3.3rem; }
	.uc-route li::before { top: 0; }
	.uc-classement__l, .uc-pied__g { grid-template-columns: minmax(0, 1fr); }
	.uc-plan { padding: 0 2.6rem 3rem 0; }
	.uc-plan__ref span { font-size: 0.6875rem; }
	.uc-sim__form { padding: 1.2rem; }
	.uc-juris a { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.uc-c { animation: none; stroke-dashoffset: 0; }
	.uc-pin { animation: none; opacity: 1; }
	.uc-plan__bati, .uc-plan__exist, .uc-plan__cote, .uc-verdict { transition: none; }
}

/* Illustrations d'origine des articles : retirées du texte (visuels génériques) */
.uc-prose figure.wp-block-image, .uc-prose .wp-block-image, .uc-prose > p > img, .uc-prose > img, .uc-prose .alignleft, .uc-prose .alignright { display: none; }
.uc-prose figure.wp-block-table, .uc-prose figure.wp-block-table * { display: revert; }
.uc-page__in .uc-page__titre { margin-bottom: 1.6rem; }
