/* Neodivorce — feuille de style principale. Aucune compilation. */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin.woff2") format("woff2");
	font-weight: 500 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #16302e;
	--ink-soft: #2b4a47;
	--text: #1f2a29;
	--muted: #5b6b69;
	--paper: #fbf7f1;
	--surface: #ffffff;
	--sand: #f3ebdf;
	--line: #e7dccd;
	--accent: #c4502f;
	--accent-strong: #a8401f;
	--accent-soft: #fbe6dc;
	--sage: #e1ece5;
	--sage-strong: #3f7a68;
	--sun: #f2c46d;
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgb(22 48 46 / 6%), 0 12px 32px -12px rgb(22 48 46 / 18%);
	--shadow-lg: 0 2px 4px rgb(22 48 46 / 6%), 0 28px 60px -20px rgb(22 48 46 / 30%);
	--gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

a {
	color: var(--accent-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--ink);
}

:focus-visible {
	outline: 3px solid var(--sun);
	outline-offset: 2px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--ink);
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	font-variation-settings: "opsz" 72;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.35rem);
}

h3 {
	font-size: 1.3rem;
	font-variation-settings: "opsz" 24;
}

p {
	margin: 0 0 1em;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	clip: auto;
	background: var(--ink);
	color: #fff;
	border-radius: 8px;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: 820px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	margin: 0 0 0.9rem;
	color: var(--sage-strong);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
}

/* ---------- Boutons et liens ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 48px;
	padding: 0.7em 1.35em;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font: 600 1rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 8px 20px -10px rgb(196 80 47 / 70%);
}

.btn--primary:hover {
	background: var(--accent-strong);
	color: #fff;
}

.btn--ghost {
	border-color: var(--line);
	background: var(--surface);
	color: var(--ink);
}

.btn--ghost:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.btn--light {
	background: #fff;
	color: var(--ink);
}

.btn--light:hover {
	background: var(--sun);
	color: var(--ink);
}

.btn--block {
	width: 100%;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.text-link .icon {
	color: var(--accent);
	transition: transform 0.2s;
}

.text-link:hover .icon,
a:hover > .text-link .icon {
	transform: translateX(4px);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.35em 0.8em;
	border-radius: 999px;
	background: var(--sage);
	color: var(--ink);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.chip:hover {
	background: var(--ink);
	color: #fff;
}

/* ---------- En-tête ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgb(251 247 241 / 88%);
	border-bottom: 1px solid rgb(231 220 205 / 70%);
	backdrop-filter: saturate(160%) blur(12px);
}

.admin-bar .site-header {
	top: 32px;
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.branding {
	margin-right: auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
}

.brand-mark {
	width: 40px;
	height: 28px;
	fill: none;
	stroke-width: 2.6;
}

.brand-mark circle:first-child {
	stroke: var(--ink);
}

.brand-mark circle:last-child {
	stroke: var(--accent);
}

.brand-name {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
}

.brand-name em {
	color: var(--accent);
	font-style: italic;
	font-weight: 500;
}

.custom-logo-link img {
	max-height: 52px;
	width: auto;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 20px;
}

.nav-menu,
.nav-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-menu li {
	position: relative;
}

.nav-menu a {
	display: block;
	padding: 0.5em 0.8em;
	border-radius: 999px;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.97rem;
	text-decoration: none;
}

.nav-menu a:hover,
.nav-menu [aria-current="page"],
.nav-menu .current-menu-item > a {
	background: var(--sand);
	color: var(--ink);
}

.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: 0.2s;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.header-cta {
	min-height: 44px;
	padding-inline: 1.1em;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font: 600 0.95rem var(--font-body);
	cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s, background-color 0.2s;
}

.menu-lines {
	position: relative;
}

.menu-lines::before,
.menu-lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-lines::before {
	top: -6px;
}

.menu-lines::after {
	top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-lines {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Sections ---------- */

.section {
	padding-block: clamp(56px, 8vw, 96px);
}

.section--compact {
	padding-block: clamp(36px, 5vw, 56px);
}

.section--tinted {
	background: var(--sand);
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	flex-wrap: wrap;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.section-heading h2 {
	margin: 0;
	max-width: 22ch;
}

.section-heading--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.section-heading--center h2 {
	max-width: 26ch;
}

.section-note {
	max-width: 34ch;
	margin: 0;
	color: var(--muted);
}

/* ---------- Accueil : héros ---------- */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px);
	background:
		radial-gradient(900px 480px at 92% 8%, rgb(242 196 109 / 28%), transparent 60%),
		radial-gradient(700px 520px at -10% 100%, rgb(225 236 229 / 90%), transparent 65%),
		var(--paper);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
	align-items: center;
	gap: clamp(32px, 4vw, 56px);
}

.hero h1 {
	max-width: 15ch;
	margin-bottom: 0.4em;
}

.hero-lead {
	max-width: 54ch;
	margin-bottom: 1.8rem;
	color: var(--ink-soft);
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-proofs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 1.4rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--ink-soft);
	font-size: 0.95rem;
	font-weight: 600;
}

.hero-proofs li {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.hero-proofs .icon {
	color: var(--sage-strong);
}

.hero-visual {
	position: relative;
	min-height: 420px;
	display: grid;
	place-items: center;
}

.hero-ring {
	position: absolute;
	width: min(78%, 330px);
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2px solid var(--ink);
	opacity: 0.9;
}

.hero-ring--one {
	top: 6%;
	left: 2%;
	background: var(--sage);
	border-color: transparent;
}

.hero-ring--two {
	right: 0;
	bottom: 4%;
	border-color: var(--accent);
	border-width: 2.5px;
	animation: float 9s ease-in-out infinite;
}

@keyframes float {
	50% {
		transform: translate(-10px, -12px);
	}
}

.preview-stack {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
	width: min(100%, 360px);
}

.preview-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.preview-card:nth-child(1) {
	transform: translateX(-18px) rotate(-1.5deg);
}

.preview-card:nth-child(3) {
	transform: translateX(22px) rotate(1.2deg);
}

.preview-card__text {
	display: grid;
	min-width: 0;
}

.preview-card__text strong {
	overflow: hidden;
	color: var(--ink);
	font-size: 0.98rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.preview-card__text small {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	color: var(--muted);
	font-size: 0.85rem;
}

.hero-badge {
	position: absolute;
	left: 0;
	bottom: 2%;
	z-index: 2;
	display: grid;
	margin: 0;
	padding: 14px 20px;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	text-align: center;
	box-shadow: var(--shadow-lg);
	transform: rotate(3deg);
}

.hero-badge strong {
	font-family: var(--font-display);
	font-size: 2rem;
	line-height: 1;
}

.hero-badge span {
	font-size: 0.8rem;
	opacity: 0.85;
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: clamp(36px, 5vw, 64px) 0 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgb(255 255 255 / 70%);
}

.stats div {
	padding: 20px 24px;
	border-left: 1px solid var(--line);
}

.stats div:first-child {
	border-left: 0;
}

.stats dt {
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.stats dd {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 600;
	line-height: 1.2;
}

/* ---------- Formulaire de l’annuaire ---------- */

.directory-search {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
	align-items: end;
	gap: 10px;
	padding: 10px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: var(--shadow);
}

.directory-search:not(:has(.field--select)) {
	grid-template-columns: minmax(0, 1fr) auto;
}

.field {
	position: relative;
	min-width: 0;
}

.field label {
	position: absolute;
	top: 8px;
	left: 46px;
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	pointer-events: none;
}

.field-control {
	display: flex;
	align-items: center;
}

.field-control .icon {
	position: absolute;
	left: 16px;
	color: var(--accent);
	pointer-events: none;
}

.field input,
.field select {
	width: 100%;
	min-height: 58px;
	padding: 22px 14px 6px 46px;
	border: 1.5px solid transparent;
	border-radius: 14px;
	background: var(--paper);
	color: var(--ink);
	font: 600 1rem var(--font-body);
	appearance: none;
}

.field select {
	padding-right: 36px;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 27px, calc(100% - 15px) 27px;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	text-overflow: ellipsis;
}

.field input:focus,
.field select:focus {
	border-color: var(--ink);
	background-color: #fff;
	outline: none;
}

.field input::placeholder {
	color: #8c9795;
	font-weight: 500;
}

.directory-search .btn {
	min-height: 58px;
	border-radius: 14px;
}

.directory-search--stacked {
	grid-template-columns: 1fr;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.directory-search--stacked .field input,
.directory-search--stacked .field select {
	background-color: #fff;
}

/* ---------- Étapes ---------- */

.steps-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps-list li {
	position: relative;
	padding: 32px 28px 26px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	counter-increment: step;
}

.steps-list li::after {
	content: "0" counter(step);
	position: absolute;
	top: 20px;
	right: 24px;
	color: var(--line);
	font-family: var(--font-display);
	font-size: 2.6rem;
	font-weight: 600;
	line-height: 1;
}

.steps-list p {
	margin: 0;
	color: var(--muted);
}

.step-icon,
.type-icon,
.advice-icon {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 16px;
	background: var(--accent-soft);
	color: var(--accent-strong);
}

.step-icon .icon,
.type-icon .icon,
.advice-icon .icon {
	width: 26px;
	height: 26px;
}

/* ---------- Départements ---------- */

.department-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.department-tile {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 14px 16px;
	background: var(--surface);
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.department-tile:hover {
	border-color: var(--ink);
	color: var(--ink);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.department-tile > .icon {
	margin-left: auto;
	color: var(--accent);
}

.department-code {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 6px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 600;
}

.department-name {
	display: grid;
	min-width: 0;
	font-weight: 700;
	line-height: 1.3;
}

.department-name small {
	color: var(--muted);
	font-weight: 500;
}

/* ---------- Cartes ---------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.card-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lawyer-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.lawyer-card:hover {
	border-color: transparent;
	box-shadow: var(--shadow-lg);
	transform: translateY(-3px);
}

.lawyer-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.lawyer-card__name {
	margin: 0 0 0.2em;
	font-size: 1.15rem;
	line-height: 1.25;
}

.lawyer-card__name a {
	color: var(--ink);
	text-decoration: none;
}

.lawyer-card__name a:hover {
	color: var(--accent-strong);
}

.lawyer-card__place,
.profile-hero__place {
	display: flex;
	align-items: center;
	gap: 0.35em;
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 600;
}

.lawyer-card__place .icon,
.profile-hero__place .icon {
	color: var(--accent);
}

.lawyer-card__text {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.97rem;
	line-height: 1.55;
}

.lawyer-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px dashed var(--line);
}

.lawyer-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	margin-left: auto;
	color: var(--ink);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
}

.lawyer-card__more .icon {
	color: var(--accent);
	transition: transform 0.2s;
}

.lawyer-card__more:hover .icon {
	transform: translateX(4px);
}

.avatar {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--sage);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar--1 {
	background: var(--accent-soft);
	color: var(--accent-strong);
}

.avatar--2 {
	background: #f6e6bf;
	color: #6e4f0f;
}

.avatar--3 {
	background: var(--ink);
	color: #fff;
}

.avatar--4 {
	background: #e5e1f2;
	color: #3e3565;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: box-shadow 0.25s, transform 0.25s;
}

.post-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-3px);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--sage);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.post-card:hover .post-card__media img {
	transform: scale(1.04);
}

.post-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	background: var(--sage);
}

.post-card__placeholder svg {
	width: 36%;
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.4;
	opacity: 0.55;
}

.post-card__placeholder--1 {
	background: var(--accent-soft);
}

.post-card__placeholder--2 {
	background: #f6e6bf;
}

.post-card__placeholder--3 {
	background: #dfe7ee;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 24px;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin: 0 0 0.6rem;
	color: var(--muted);
	font-size: 0.85rem;
}

.post-card__cat {
	color: var(--sage-strong);
	font-weight: 700;
}

.post-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
	line-height: 1.3;
}

.post-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--accent-strong);
}

.post-card__excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 0.97rem;
}

/* ---------- Types de divorce ---------- */

.types-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.type-card {
	display: flex;
	flex-direction: column;
	padding: 26px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.type-card p {
	flex: 1;
	color: var(--muted);
	font-size: 0.97rem;
}

.type-card:hover {
	background: var(--ink);
	color: #fff;
	transform: translateY(-3px);
}

.type-card:hover h3,
.type-card:hover p,
.type-card:hover .text-link {
	color: #fff;
}

.type-card:hover .type-icon {
	background: rgb(255 255 255 / 12%);
	color: var(--sun);
}

/* ---------- FAQ ---------- */

.faq {
	display: grid;
	gap: 12px;
	max-width: 820px;
	margin-inline: auto;
}

.faq details {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.faq summary {
	position: relative;
	padding: 20px 60px 20px 24px;
	color: var(--ink);
	font-weight: 700;
	font-size: 1.05rem;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 20px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sand);
	font-size: 1.3rem;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform 0.2s, background-color 0.2s;
}

.faq details[open] summary::after {
	background: var(--accent);
	color: #fff;
	transform: translateY(-50%) rotate(45deg);
}

.faq details p {
	margin: 0;
	padding: 0 24px 22px;
	color: var(--ink-soft);
}

/* ---------- Bandeaux ---------- */

.pro-band-wrap {
	padding-block: 0 clamp(56px, 8vw, 96px);
}

.pro-band {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
	overflow: hidden;
	padding: clamp(32px, 5vw, 56px);
	border-radius: 28px;
	background: var(--ink);
	color: rgb(255 255 255 / 82%);
}

.pro-band::before {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -120px;
	width: 300px;
	height: 300px;
	border: 2px solid var(--accent);
	border-radius: 50%;
	box-shadow: -120px 0 0 -2px var(--ink), -120px 0 0 0 rgb(255 255 255 / 20%);
}

.pro-band > * {
	position: relative;
}

.pro-band h2 {
	margin-bottom: 0.3em;
	color: #fff;
}

.pro-band p {
	max-width: 52ch;
	margin: 0;
}

.advice-band {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 20px 28px;
	margin-block: clamp(40px, 6vw, 72px);
	padding: 28px 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.advice-band .advice-icon {
	margin: 0;
	background: var(--sage);
	color: var(--sage-strong);
}

.advice-band h2 {
	margin-bottom: 0.25em;
	font-size: 1.35rem;
}

.advice-band p {
	margin: 0;
	color: var(--muted);
}

/* ---------- En-têtes de page ---------- */

.page-hero {
	padding-block: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 56px);
	background:
		radial-gradient(640px 320px at 100% 0%, rgb(242 196 109 / 22%), transparent 65%),
		var(--sand);
}

.page-hero h1 {
	max-width: 24ch;
	font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero__lead {
	max-width: 68ch;
	margin-bottom: 1.6rem;
	color: var(--ink-soft);
	font-size: 1.1rem;
}

.page-hero--simple .page-hero__lead:last-child,
.page-hero--article .page-hero__lead {
	margin-bottom: 0.8rem;
}

.page-hero__search {
	max-width: 520px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 1.2rem;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 6px;
	color: var(--accent);
}

.breadcrumbs a {
	color: var(--ink-soft);
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs [aria-current] {
	display: inline-block;
	max-width: 40ch;
	overflow: hidden;
	vertical-align: bottom;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* ---------- Annuaire ---------- */

.directory-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: 36px;
	padding-block: clamp(32px, 5vw, 56px);
}

.directory-layout--full {
	grid-template-columns: minmax(0, 1fr);
}

.directory-layout--full .card-grid--two {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.results-count {
	margin-bottom: 1.2rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	color: var(--muted);
	letter-spacing: 0;
}

.aside-card {
	padding: 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.aside-card h2 {
	font-size: 1.25rem;
}

.directory-aside,
.profile-aside,
.article-aside {
	position: sticky;
	top: 100px;
}

.city-list {
	display: grid;
	gap: 2px;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.city-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.city-list a {
	padding: 6px 0;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.city-list a:hover {
	color: var(--accent-strong);
	text-decoration: underline;
}

.city-list span {
	min-width: 28px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--sand);
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 700;
	text-align: center;
}

.region-grid {
	columns: 3 280px;
	column-gap: 22px;
}

.region {
	break-inside: avoid;
	margin-bottom: 22px;
	padding: 22px;
	border-radius: var(--radius);
	background: var(--surface);
}

.region h3 {
	font-size: 1.1rem;
}

.region ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.region a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.region a:hover {
	color: var(--accent-strong);
}

.region .department-code {
	min-width: 38px;
	height: 30px;
	border-radius: 8px;
	background: var(--sage);
	color: var(--ink);
	font-size: 0.9rem;
}

.empty-state {
	padding: clamp(28px, 5vw, 48px);
	border: 1.5px dashed var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	text-align: center;
}

.empty-state p {
	color: var(--muted);
}

.empty-state .search-form {
	max-width: 460px;
	margin-inline: auto;
}

/* ---------- Pagination ---------- */

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

a.page-numbers:hover {
	border-color: var(--ink);
}

.page-numbers.current {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* ---------- Fiche avocat ---------- */

.profile-hero {
	padding-block: clamp(24px, 4vw, 40px) clamp(32px, 5vw, 48px);
	background:
		radial-gradient(600px 300px at 0% 100%, rgb(225 236 229 / 90%), transparent 70%),
		var(--sand);
}

.profile-hero__grid {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px 28px;
}

.profile-hero .avatar {
	width: 104px;
	height: 104px;
	font-size: 2.2rem;
	box-shadow: 0 0 0 6px var(--surface), var(--shadow);
}

.profile-hero .eyebrow {
	margin-bottom: 0.5rem;
}

.profile-hero h1 {
	margin-bottom: 0.25em;
	font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}

.profile-hero__label {
	margin: 0 0 0.4rem;
	color: var(--ink-soft);
	font-weight: 600;
}

.profile-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.profile-layout,
.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: clamp(28px, 5vw, 56px);
	padding-block: clamp(36px, 5vw, 60px);
}

.profile-lead {
	margin-bottom: 2rem;
	padding: 22px 26px;
	border-left: 4px solid var(--accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.5;
	font-variation-settings: "opsz" 24;
}

.profile-section {
	margin-bottom: 2.4rem;
}

.profile-section h2 {
	font-size: 1.55rem;
}

.profile-quote blockquote {
	margin: 0;
	padding: 24px 28px;
	border-radius: var(--radius);
	background: var(--sage);
	color: var(--ink);
}

.profile-quote blockquote p:last-child {
	margin: 0;
}

.check-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: flex;
	gap: 12px;
}

.check-list .icon {
	margin-top: 4px;
	padding: 3px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent-strong);
	width: 1.4em;
	height: 1.4em;
}

.profile-disclaimer {
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
}

.contact-list {
	display: grid;
	gap: 14px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	gap: 12px;
	overflow-wrap: anywhere;
}

.contact-list .icon {
	margin-top: 3px;
	color: var(--accent);
}

.contact-list a {
	color: var(--ink);
	font-weight: 700;
}

.map-frame {
	overflow: hidden;
	margin-bottom: 14px;
	border-radius: var(--radius-sm);
	background: var(--sage);
	aspect-ratio: 4 / 3;
}

.map-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- Articles et pages ---------- */

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.article-meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
}

.article-cover {
	margin: 0 0 2rem;
	overflow: hidden;
	border-radius: var(--radius);
}

.aside-card--accent {
	background: var(--ink);
	border-color: var(--ink);
	color: rgb(255 255 255 / 82%);
}

.aside-card--accent h2 {
	color: #fff;
}

.aside-card--accent .advice-icon {
	background: rgb(255 255 255 / 10%);
	color: var(--sun);
}

.entry-content {
	font-size: 1.1rem;
	line-height: 1.75;
	overflow-wrap: break-word;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.entry-content h3 {
	margin-top: 1.5em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content li::marker {
	color: var(--accent);
}

.entry-content blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--accent);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.25rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.97rem;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.entry-content .post-password-form input[type="password"] {
	min-height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 2rem 0;
}

.article-tags a {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--sand);
	color: var(--ink);
	font-size: 0.9rem;
	text-decoration: none;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 2.5rem;
}

.post-navigation a {
	display: grid;
	height: 100%;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	text-decoration: none;
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.nav-label {
	color: var(--muted);
	font-size: 0.85rem;
}

.nav-title {
	color: var(--ink);
	font-weight: 700;
}

.comments {
	margin-top: 3rem;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	padding-left: 24px;
	list-style: none;
}

.comment-body {
	margin-bottom: 16px;
	padding: 18px 20px;
	border-radius: var(--radius-sm);
	background: var(--surface);
}

.comment-author img {
	float: left;
	margin-right: 12px;
	border-radius: 50%;
}

.comment-meta {
	font-size: 0.85rem;
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	font: inherit;
}

.comment-form label {
	display: block;
	font-weight: 600;
}

.page-builder .elementor {
	max-width: 100%;
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption,
.gallery-caption,
.wp-element-caption {
	color: var(--muted);
	font-size: 0.9rem;
}

.sticky,
.bypostauthor {
	position: relative;
}

/* ---------- Recherche ---------- */

.search-form {
	display: flex;
	gap: 6px;
	padding: 5px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
}

.search-field {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font: 500 1rem var(--font-body);
}

.search-field:focus {
	outline: none;
}

.search-form:focus-within {
	border-color: var(--ink);
}

.search-submit {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	cursor: pointer;
}

.search-submit:hover {
	background: var(--accent-strong);
}

/* ---------- 404 ---------- */

.not-found__inner {
	padding-block: clamp(56px, 10vw, 120px);
	text-align: center;
}

.not-found__inner .eyebrow::before {
	display: none;
}

.not-found__mark {
	width: 110px;
	margin: 0 auto 20px;
	fill: none;
	stroke-width: 2;
}

.not-found__mark circle:first-child {
	stroke: var(--ink);
}

.not-found__mark circle:last-child {
	stroke: var(--accent);
}

.not-found .directory-search {
	margin-block: 28px 20px;
	text-align: left;
}

/* ---------- Pied de page ---------- */

.site-footer {
	padding-top: clamp(48px, 7vw, 80px);
	background: var(--ink);
	color: rgb(255 255 255 / 72%);
	font-size: 0.97rem;
}

.site-footer a {
	color: rgb(255 255 255 / 86%);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 36px;
	padding-bottom: 44px;
}

.footer-about .brand {
	margin-bottom: 16px;
}

.footer-about .brand-name {
	color: #fff;
}

.footer-about .brand-mark circle:first-child {
	stroke: #fff;
}

.footer-about p {
	max-width: 40ch;
}

.footer-title {
	margin-bottom: 14px;
	color: #fff;
	font-weight: 700;
}

.footer-col ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-search .search-form {
	border-color: transparent;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 22px;
	border-top: 1px solid rgb(255 255 255 / 12%);
	font-size: 0.9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.department-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.types-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.profile-hero__grid {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.profile-hero__actions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 960px) {
	.menu-toggle {
		display: inline-flex;
	}

	.header-inner {
		flex-wrap: wrap;
		gap: 12px;
		min-height: 68px;
	}

	.primary-nav {
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-bottom: 16px;
	}

	.js .primary-nav:not(.is-open) {
		display: none;
	}

	.nav-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.nav-menu a {
		padding: 0.75em 0.9em;
		border-radius: 12px;
	}

	.nav-menu .sub-menu {
		position: static;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
		background: transparent;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.hero-grid,
	.directory-layout,
	.profile-layout,
	.article-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-visual {
		display: none;
	}

	.directory-aside,
	.profile-aside,
	.article-aside {
		position: static;
	}

	/* Coordonnées avant la présentation sur mobile. */
	.profile-aside {
		order: -1;
	}

	.directory-layout--full .card-grid--two,
	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.steps-list {
		grid-template-columns: 1fr;
	}

	.stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats div:nth-child(3) {
		border-left: 0;
	}

	.stats div:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}

	.directory-search {
		grid-template-columns: 1fr 1fr;
	}

	.directory-search .btn {
		grid-column: 1 / -1;
	}

	.advice-band {
		grid-template-columns: auto 1fr;
	}

	.advice-band .btn {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
		position: relative;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 1rem;
	}

	.brand-name {
		font-size: 1.4rem;
	}

	.brand-mark {
		width: 34px;
	}

	.card-grid,
	.card-grid--two,
	.directory-layout--full .card-grid--two,
	.department-grid,
	.types-grid,
	.footer-grid,
	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation .nav-next {
		grid-column: auto;
	}

	.directory-search {
		grid-template-columns: minmax(0, 1fr);
	}

	.section-heading {
		align-items: flex-start;
	}

	.profile-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.profile-hero .avatar {
		width: 80px;
		height: 80px;
		font-size: 1.7rem;
	}

	.profile-hero__actions .btn {
		flex: 1 1 100%;
	}

	.advice-band {
		grid-template-columns: minmax(0, 1fr);
		padding: 24px;
	}

	.breadcrumbs [aria-current] {
		max-width: 22ch;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.directory-search,
	.profile-aside .map-frame,
	.article-aside,
	.pro-band-wrap,
	.advice-band {
		display: none !important;
	}

	body {
		background: #fff;
	}
}
