/* ---------- Polices ---------- */
@font-face {
  font-family: "Playfair"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/playfair.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/playfair-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/roboto.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/roboto-italic.woff2") format("woff2");
}

:root {

    --font-title: "Playfair", Georgia, "Times New Roman", serif;
    --font-body: "Roboto", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

    --navy-deep: #0A1D33;
    --navy-soft: #1E3E61;
    --ink: #182635;
    --ink-soft: #55677A;
    --ink-xsoft: #8fa3b5;
    --gold: #a37b06;
    --gold-soft: rgba(176, 142, 97, 0.40);
    --paper: #FAFBFC;
    --paper-alt: #F2F4F7;
    --card: #FFFFFF;
    --line: #E5EAF0;
    --hero-ink: #F2F5F9;
    --hero-sub: #AFBFD1;

    --shadow-soft: 0 2px 10px rgba(12, 31, 53, 0.05);
    --shadow-lift: 0 18px 44px rgba(12, 31, 53, 0.13);

    --radius: 10px;

    --container-xl: 128rem;
    --container-lg: 120rem;
    --container-md: 88rem;
    --container-sm: 78rem;
    --container-xs: 76rem;
    --gutter: 3.2rem;
    --section-space: 12rem;

    --fs-3xs: .95rem;
    --fs-2xs: 1.05rem;
    --fs-xs: 1.15rem;
    --fs-sm: 1.25rem;
    --fs-base: 1.35rem;
    --fs-md: 1.45rem;
    --fs-lg: 1.55rem;
    --fs-xl: 1.65rem;
    --fs-2xl: 1.75rem;

    --line-h-2xs: 1.55;
    --line-h-sm: 1.5;
    --line-h-base: 1.6;
    --line-h-lg: 1.65;

}

* { box-sizing: border-box; }

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

[id] { scroll-margin-top: 110px; }

body {
  margin: 0;
  background: var(--paper-alt);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--line-h-base);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	font-family: var(--font-title);
	font-weight: 400;
	line-height: 1.1;
	text-wrap: balance;
	margin: 0;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--container-lg); margin: 0 auto; padding-inline: var(--gutter); }

.section {
	padding-top: var(--section-space);
	padding-bottom: var(--section-space);
}

.fees {
    padding-top: var(--section-space);
}

#home-cta { padding-top: var(--section-space); }

.page-template-page-cabinet #methode.section {
    padding-top: 0;
    position: relative;
}

.cabinet-intro,
.home #actualites {
    position: relative;
}

.page-template-page-cabinet .cabinet-intro::after,
.home #actualites::after,
.single-expertise .toc-layout::after,
.page-template-page-cabinet #methode.section::after {
    content: "";
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4.5rem;
    height: 2.4rem;
    background-color: var(--gold);
    mask: url("../img/separateur.svg") center / contain no-repeat;
    pointer-events: none;
}

.section--flex {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: 0.25rem;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
    color: var(--gold);
}

.eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	flex: none;
	border: 1px solid var(--gold);
	transform: rotate(45deg);
}

.section-head {
	max-width: var(--container-sm);
	margin-bottom: 5rem;
}

.section--flex .section-head {
    margin-bottom: 0;
    flex: 1;
}

.section-head-sticky {
    position: sticky;
    top: 12rem;
}

.section-head h2 { font-size: clamp(34px, 4vw, 54px); color: var(--ink); }

.section-head p {
	color: var(--ink-soft);
	margin: 2rem 0 0;
	font-size: var(--fs-md);
	max-width: 62ch;
}

.engagements .section-head p {
	max-width: 70ch;
}

.home #actualites .section-head p {
	max-width: 70ch;
}

.home #situations .section-head p {
	max-width: 71ch;
}

.home #expertises .section-head p {
	max-width: 90ch;
}

.section-head--flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 100%;
}

.section-head--flex .section-head-inner {
    max-width: var(--container-sm);
}

/* ---------- Révélation au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Accessibilité ---------- */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100;
  top: 8px; left: 8px; background: var(--card); color: var(--ink); padding: 12px 18px; border-radius: 8px;
}

/* ---------- Barre utilitaire ---------- */
.topbar {
	background: var(--navy-deep);
	color: var(--hero-sub);
	font-size: var(--fs-xs);
    position: relative;
}

.topbar-inner {
	max-width: var(--container-lg);
	margin: 0 auto;
	padding: 8px var(--gutter);
	display: flex;
	justify-content: space-between;
}

.topbar-inner > span:nth-child(2) > .dot {
    margin: 0 7px 0 10px;
}

.topbar a { color: var(--hero-sub); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
    .topbar a:hover { color: #fff; }
}
.topbar .dot { color: var(--gold); margin: 0 10px; }

/* ---------- Header ---------- */
header.site {
	position: sticky;
	top: 0;
	z-index: 9999;
	background: var(--paper);
	border-bottom: 1px solid transparent;
	transition: background-color 0.25s ease, border-bottom-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    header.site:hover {
        background-color: var(--paper-alt);
    }
}

header.site.scrolled {
	background-color: var(--paper-alt);
    border-bottom: 1px solid var(--line);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding: 2rem calc(var(--gutter) + 4.5px) 2rem var(--gutter);
	max-width: var(--container-lg);
	margin: 0 auto;
	transition: padding 0.25s ease;
}

header.site.scrolled .nav { 
    padding-top: 8px; 
    padding-bottom: 8px; 
}

.brand { display: flex; align-items: center; gap: 14px; transition: gap 0.3s ease; }
.brand img { display: block; width: auto; }

.brand-picto {
	height: 7.2rem;
	transition: height 0.3s ease;
}

.brand-word {
	height: 5.8rem;
	max-width: 200px;
	object-fit: contain;
	object-position: left center;
	transition: height 0.3s ease, max-width 0.3s ease, opacity 0.2s ease, filter 0.25s ease;
}

header.site.scrolled .brand { gap: 0; }
header.site.scrolled .brand-picto { height: 58px; }
header.site.scrolled .brand-word { max-width: 0; opacity: 0; }

header.site.overlay {
  margin-bottom: calc(-1 * var(--header-h, 141px));
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.25s ease;
}

header.site.overlay.scrolled, 
header.site.overlay.menu-open {
	background: var(--paper);
	border-bottom-color: var(--line);
}

header.site.overlay.scrolled .btn {
    outline-color: var(--gold);
    border-color: var(--gold);
    color: var(--gold);
}

header.site.overlay:not(.scrolled) .brand-word { filter: brightness(0) invert(1); }
header.site.overlay:not(.scrolled) .burger { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
header.site.overlay:not(.scrolled) .menu-item > a,
header.site.overlay:not(.scrolled) .sub-toggle { color: #fff; }
nav.menu { display: flex; align-items: center; }

.menu-list {
	display: flex;
	gap: 4rem;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: .7rem;
}

.menu-item > a {
	text-decoration: none;
	font-weight: 500;
	color: var(--ink);
	letter-spacing: 0.025rem;
	padding: .5rem 0;
	position: relative;
    font-size: 1.3rem;
}

.menu-item > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold); transition: right 0.25s ease;
}
.menu-item > a:focus-visible::after,
.menu-item.current > a::after { right: 0; }

@media (hover: hover) and (pointer: fine) {
    .menu-item > a:hover::after { right: 0; }
}
.menu-item > a:focus-visible { outline: none; }

.sub-toggle {
  background: none; border: none; padding: 6px 4px; cursor: pointer;
  display: inline-flex; align-items: center; border-radius: 4px;
}

.sub-toggle::before {
	content: "";
	width: 5px;
	height: 5px;
	border: solid var(--ink);
	border-width: 0 1.5px 1.5px 0;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s ease;
	position: relative;
	top: 1px;
}

.sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.sub-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---------- Mega-menu (Expertises, Le cabinet) ---------- */

.menu-item.has-sub {
	position: static;
}

.mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 70;
	width: calc(min(var(--container-lg), 100vw) - 2 * var(--gutter));
	margin: 0 auto;
	padding: 2.4rem;
	background: var(--paper-alt);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(.6rem);
	transition: opacity 0.18s ease 0.12s, transform 0.18s ease 0.12s, visibility 0s linear 0.3s;
}

.mega::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 2.4rem;
}

.menu-item.open > .mega {
	z-index: 71;
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
    .menu-item:hover > .mega {
    	z-index: 71;
    	opacity: 1;
    	visibility: visible;
    	transform: none;
    	transition-delay: 0s;
    }
}

header.site::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 60;
	height: 100vh;
	background: rgba(10, 29, 51, 0.35);
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease 0.12s, visibility 0s linear 0.3s;
}

header.site:has(.menu-item.open)::after {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
    header.site:has(.menu-item.has-sub:hover)::after {
    	opacity: 1;
    	visibility: visible;
    	transition-delay: 0s;
    }
}

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

.mega--expertises .mega-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega--cabinet .mega-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.8rem;
}

.mega-link {
	display: flex;
	align-items: stretch;
	gap: 1.2rem;
	padding: 0;
	color: var(--ink);
	text-decoration: none;
	border: 1px solid var(--line);
	outline: 1px solid var(--line);
	outline-offset: 4px;
	transition: background-color 0.2s ease;
    height: 100%;
    background: var(--card);
}

.mega--cabinet .mega-link {
	flex-direction: column;
	padding: 0;
}

@media (hover: hover) and (pointer: fine) {
    .mega-link:hover {
    	background: var(--paper-alt);
    }
}

.mega-link:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.mega-img {
	flex: none;
	width: 8rem;
	height: 8rem;
	overflow: hidden;
    display: flex;
}

.mega-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .mega-link:hover .mega-img img {
    	transform: scale(1.05);
    }
}

.mega-img .mono {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--navy-deep);
	color: var(--gold);
	font-family: var(--font-title);
	font-size: 4.8rem;
}

.mega-text {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	min-width: 0;
}

.mega-title {
	font-family: var(--font-title);
	font-size: 2.1rem;
	line-height: 1;
	transition: color 0.2s ease;
}

.mega-link[aria-current="page"] .mega-title {
	color: var(--gold);
}

@media (hover: hover) and (pointer: fine) {
    .mega-link:hover .mega-title {
    	color: var(--gold);
    }
}

.mega-desc {
	font-size: var(--fs-xs);
	color: var(--ink-soft);
	font-weight: 500;
}

.mega-link-content {
	background-color: var(--card);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
    width: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .mega--cabinet .mega-link:hover {
    	background: none;
    }
}

.mega--cabinet .mega-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
}

.mega--cabinet .mega-img img {
	object-position: center 20%;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	text-decoration: none;
	font-weight: 500;
	outline: 1px solid var(--gold);
	outline-offset: 3px;
	padding: 1.1rem 2rem;
	font-size: var(--fs-sm);
	transition: background-color 0.2s ease, transform 0.2s ease;
	border: 1px solid var(--gold);
	cursor: pointer;
	font-family: inherit;
	letter-spacing: 0.01rem;
}

.site.overlay .btn {
    outline-color: var(--card);
    border-color: var(--card);
    color: var(--card);
}

@media (hover: hover) and (pointer: fine) {
    header.site.overlay:hover .btn {
        outline-color: var(--gold);
        border-color: var(--gold);
        color: var(--gold);
    }

    header.site.overlay:hover .btn:hover {
        color: var(--paper);
    }

    header.site.overlay:hover .brand-word {
        filter: none;
    }

    .site.overlay:hover {
        background-color: var(--paper);
    }

    header.site.overlay:hover .menu-item > a,
    header.site.overlay:hover .sub-toggle,
    header.site.overlay:hover .burger {
        color: var(--ink);
    }
}

.arr { 
    display: inline-flex;
    transition: transform 0.2s ease; 
}

.arr svg {
	width: 1.5rem;
	height: 1.5rem;
}

.arr-down svg { transform: rotate(90deg); }
.arr-left svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
    .btn:hover .arr { transform: translateX(4px); }

    .btn:hover .arr-down { transform: translateY(3px); }
}

.btn-primary {
	background: transparent;
	color: var(--gold);
}

.btn-primary-reverse {
	background: var(--gold);
	color: var(--paper);
}

/* ---------- Remplissage au survol ---------- */
.fill-hover,
.entry-footer .nav-links > div {
	--fill-offset: 0px;
	--fill-color: var(--gold);
	--fill-text: var(--paper);
	--fill-origin: left;
	--fill-duration: 0.8s;
	position: relative;
	isolation: isolate;
	transition: color var(--fill-duration) ease;
}

.btn-primary-reverse.fill-hover {
    --fill-color: var(--paper);
    --fill-text: var(--gold);
}

.fill-hover::before,
.entry-footer .nav-links > div::before {
	content: "";
	position: absolute;
	inset: calc(-1px - var(--fill-offset));
	z-index: -1;
	background: var(--fill-color);
	transform: scaleX(0);
	transform-origin: var(--fill-origin);
	transition: transform var(--fill-duration) ease;
}

@media (hover: hover) and (pointer: fine) {
    .fill-hover:hover,
    .entry-footer .nav-links > div:hover {
    	color: var(--fill-text);
    }

    .fill-hover:hover::before,
    .entry-footer .nav-links > div:hover::before {
    	transform: scaleX(1);
    }
}

.actu.fill-hover {
    --fill-offset: 6px;
}

.lawyer.fill-hover {
    --fill-offset: 5px;
}

.exp-link.fill-hover {
    --fill-offset: 3px;
}

.exp-card.fill-hover {
    --fill-offset: 4px;
}

.mega-link.fill-hover {
    --fill-offset: 4px;
}

.contact .btn-primary {
	width: 100%;
	justify-content: center;
    padding-block: 1.6rem;
}

.btn-ghost { background: transparent; color: var(--hero-ink); border: 1px solid rgba(255,255,255,0.4); }
@media (hover: hover) and (pointer: fine) {
    .btn-ghost:hover { border-color: var(--gold); background: rgba(255,255,255,0.05); transform: translateY(-2px); }
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.burger {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 12px; cursor: pointer; color: var(--ink); font-size: 19px; line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 70%);
  color: var(--hero-ink);
  position: relative; overflow: hidden;
}
.hero .glow {
  position: absolute; top: -220px; right: -140px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(176,142,97,0.20), transparent 62%);
  pointer-events: none;
}
.hero .watermark {
  position: absolute; right: -60px; bottom: -80px; width: 460px; opacity: 0.07;
  transform: rotate(8deg); pointer-events: none; filter: saturate(0);
}

.hero-inner {
	position: relative;
	z-index: 1;
	padding: 130px var(--gutter) 120px;
	max-width: var(--container-lg);
	margin: 0 auto;
}

.hero .kicker {
	display: inline-flex;
	align-items: center;
	gap: 1.2rem;
	font-size: var(--fs-2xs);
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 700;
	margin-bottom: 3rem;
}

.hero .kicker::before, .hero .kicker::after { content: ""; width: 34px; height: 1px; background: var(--gold-soft); }
.hero h1 { color: #fff; font-weight: 500; }

.hero .h1-main {
	display: block;
	font-size: 9rem;
	max-width: 14ch;
	line-height: 1;
}

.hero .h1-main em { font-style: italic; color: var(--gold); }

.hero .h1-sub {
	display: block;
	margin-top: 3rem;
	font-size: 2.4rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 500;
	max-width: 60ch;
}

.hero .lead {
	max-width: 58ch;
	font-size: var(--fs-md);
	color: rgba(255,255,255,0.7);
	margin: 2rem 0 5rem;
}

.hero-ctas {
	display: flex;
	gap: 1.8rem;
	flex-wrap: wrap;
	align-items: center;
	margin-left: 4px;
}

.home #equipe .hero-ctas {
    margin-top: 4rem;
}

.hero-meta {
	margin-top: 72px;
	padding-top: 3.4rem;
	border-top: 1px solid var(--line);
	display: flex;
	gap: 10rem;
}

.hero-meta div {
	flex: 1;
}

.hero-meta .t {
	font-family: var(--font-title);
	font-size: 2.1rem;
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 500;
}

.hero-meta .s { 
    color: var(--hero-sub); 
}

.home .hero-meta .s {
	color: rgba(255,255,255,0.6);
}

.hero-meta .icon {
	display: block;
	width: 2.4rem;
	height: 2.4rem;
	margin-bottom: 1.4rem;
	color: var(--gold);
	stroke-width: 1.1;
}

.hero-video { background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 29, 51, 0.70) 0%, rgba(10, 29, 51, 0) 260px),
    linear-gradient(100deg, rgba(10, 29, 51, 0.94) 0%, rgba(10, 29, 51, 0.82) 48%, rgba(10, 29, 51, 0.55) 100%);
}
.hero-video .glow { z-index: 1; }
.hero-video .hero-inner { z-index: 2; }
.hero-video .hero-inner { padding-top: calc(130px + var(--header-h, 141px)); }
.hero-pause {
  position: absolute; right: 24px; bottom: 24px; z-index: 3; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(10, 29, 51, 0.45);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .hero-pause:hover { border-color: var(--gold); background: rgba(10, 29, 51, 0.7); }
}
.hero-pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hero-pause::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.hero-pause[aria-pressed="true"]::before { width: 0; height: 0; border: solid transparent; border-width: 7px 0 7px 12px; border-left-color: currentColor; margin-left: 3px; }

/* ---------- Situations ---------- */
.situations { 
    background: var(--card); 
    border-bottom: 1px solid var(--line); 
    position: relative;
}

.situations::before { 
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0.4rem;
    height: 1px;
    background: var(--line);
    pointer-events: none;
}

.situations::after { 
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.4rem;
    height: 1px;
    background: var(--line);
    pointer-events: none;
}

.sit-list { border-top: 1px solid var(--line); }
.sit {
  display: flex; align-items: baseline; justify-content: space-between; gap: 28px;
  text-decoration: none; padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .sit:hover { background: var(--paper); padding-left: 20px; }
}

.sit .q {
	font-family: var(--font-title);
	font-size: 2.6rem;
	font-weight: 500;
}

.sit .r {
	font-size: var(--fs-sm);
	color: var(--gold);
	font-weight: 700;
	letter-spacing: 0.08rem;
	text-transform: uppercase;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

@media (hover: hover) and (pointer: fine) {
    .sit:hover .arr {
    	transform: translateX(5px);
    }
}

/* ---------- Expertises ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 26px; }
.exp {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); overflow: hidden; position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
    .exp:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); border-color: var(--gold-soft); }
}
.exp > button {
  all: unset; display: block; width: 100%; cursor: pointer; padding: 34px 32px 26px; box-sizing: border-box;
}
.exp > button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: var(--radius); }
.exp .mark {
  width: 34px; height: 2px; background: var(--gold); margin-bottom: 22px;
  transition: width 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
    .exp:hover .mark { width: 58px; }
}
.exp h3 { font-size: 27px; color: var(--ink); margin-bottom: 10px; }
.exp .sub { color: var(--ink-soft); font-size: 15.5px; margin: 0; line-height: 1.65; }
.exp .toggle-hint {
  color: var(--orange-ink); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; display: inline-block; margin-top: 18px;
}
.exp .detail { display: none; padding: 4px 32px 30px; }
.exp.open .detail { display: block; }
.exp .detail ul { margin: 14px 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.exp .detail li { margin-bottom: 8px; }
.exp .detail li strong { color: var(--ink); font-weight: 600; }
.actify-box {
  background: rgba(176, 142, 97, 0.10); border: 1px solid var(--gold-soft);
  border-radius: 8px; padding: 18px 20px; margin: 18px 0 0;
}
.actify-box .k {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange-ink); display: block; margin-bottom: 8px;
}
.actify-box p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 10px; }
.actify-box p:last-child { margin-bottom: 0; }
.actify-box a { color: var(--orange-ink); font-weight: 700; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
    .actify-box a:hover { text-decoration: underline; }
}
.exp .detail .cta-line { font-size: 14.5px; margin: 16px 0 0; }
.exp .detail .cta-line a { color: var(--orange-ink); font-weight: 700; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
    .exp .detail .cta-line a:hover { text-decoration: underline; }
}

/* ---------- Engagements ---------- */
.eng-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line);
	overflow: hidden;
    padding: 4px;
    gap: 4px;
}

.eng {
	background: var(--card);
	padding: 4rem 3.4rem;
	transition: background 0.25s ease;
	border: 1px solid var(--line);
}

.eng h3 {
	font-size: 2.2rem;
	margin-bottom: 1rem;
	font-weight: 500;
	line-height: 1.15;
}

.eng p {
	color: var(--hero-sub);
	margin: 0;
}

.eng .k {
	color: var(--gold);
	font-size: var(--fs-3xs);
	letter-spacing: 0.2rem;
	text-transform: uppercase;
	font-weight: 700;
	display: block;
	margin-bottom: 2rem;
}

.paper-band {
    background: var(--paper);
    position: relative;
    border-bottom: 1px solid var(--line);
}

.home #expertises {
    position: relative;
    border-bottom: 1px solid var(--line);
}

.home #expertises::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0.4rem;
    height: 1px;
    background: var(--line);
    pointer-events: none;
}

.home #equipe.paper-band {
    border-top: 1px solid var(--line);
}

.paper-band::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0.4rem;
	height: 1px;
	background: var(--line);
	pointer-events: none;
}

.paper-band::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.4rem;
	height: 1px;
	background: var(--line);
	pointer-events: none;
}

.reprise-cta {
    position: relative;
    border-top: 1px solid var(--line);
}

.reprise-cta::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0.4rem;
    height: 1px;
    background: var(--line);
    pointer-events: none;
}

.page-hero.paper-band,
.exp-hero.paper-band,
.lawyer-hero.paper-band {
    border-top: 1px solid var(--line);
}

#contact.paper-band {
    border-top: 1px solid var(--line);
    border-bottom: none;
}

.exp-related.paper-band {
	border-top: 1px solid var(--line);
	border-bottom: none;
}

.page-template-page-contact #contact.paper-band {
    border-bottom: 1px solid var(--line);
}

#contact.paper-band::after {
    display: none;
}

.page-template-page-contact #contact.paper-band::after {
    display: block;
}

/* ---------- Équipe ---------- */
.team-head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.team-head .section-head { margin-bottom: 0; }

.team-duo { 
    position: relative; 
    margin: 0 4rem;
}

.team-duo img {
	width: 100%;
	display: block;
	border: 1px solid var(--line);
	outline: 1px solid var(--line);
	outline-offset: 4px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.team-duo figcaption {
	font-size: var(--fs-xs);
	color: var(--ink-soft);
	margin-top: 1.5rem;
	text-align: right;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	margin-inline: 4px;
}

/* Flèches du carrousel (affichées sous 1024 px, une fois le JS chargé) */
.carousel-nav {
	display: none;
	justify-content: flex-end;
	gap: 1rem;
	margin-top: 2.4rem;
}

.carousel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.2rem;
	height: 4.2rem;
	padding: 0;
	background: var(--card);
	color: var(--gold);
	border: 1px solid var(--line);
	outline: 1px solid var(--line);
	outline-offset: -5px;
	cursor: pointer;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn[aria-disabled="true"] {
	opacity: 0.4;
	cursor: default;
}

@media (hover: hover) and (pointer: fine) {
    .carousel-btn:not([aria-disabled="true"]):hover { border-color: var(--gold); }

    .carousel-btn:not([aria-disabled="true"]):hover .arr { transform: translateX(3px); }

    .carousel-btn:not([aria-disabled="true"]):hover .arr-left { transform: translateX(-3px); }
}

.carousel-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.lawyer {
	background: var(--card);
	border: 1px solid var(--line);
	padding: 0;
	position: relative;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	display: flex;
	flex-direction: column;
	outline: 1px solid var(--line);
	outline-offset: 4px;
}

.lawyer .photo {
  aspect-ratio: 5 / 5.4; overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
}
.lawyer .photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  display: block; transition: transform 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
    .lawyer:hover .photo img { transform: scale(1.035); }
}

.lawyer .photo.placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	background: var(--card);
}

.lawyer .photo.placeholder .mono {
  width: 110px; height: 110px; border-radius: 50%;
  border: 2px solid var(--gold); box-shadow: 0 0 0 8px rgba(176, 142, 97, 0.14);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-family: var(--font-title);
}

.lawyer .photo.placeholder .note {
	font-size: var(--fs-2xs);
	color: var(--hero-sub);
	letter-spacing: 0.14rem;
	text-transform: uppercase;
	font-weight: 600;
	margin-top: 1rem;
}

.lawyer-body {
	padding: 28px 32px 34px;
	display: flex;
	flex-direction: column;
	flex: 1;
	background-color: var(--card);
}

.lawyer .role {
	color: var(--ink-xsoft);
	font-weight: 700;
	font-size: var(--fs-3xs);
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	margin: .8rem 0 1.6rem;
}

.lawyer .bio { 
    flex: 1;
    color: var(--ink);
}

.lawyer .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 1rem;
}

.lawyer .tags span {
	font-size: var(--fs-2xs);
	border: 1px solid var(--line);
	padding: 8px 14px;
	color: var(--ink-soft);
	font-weight: 500;
	outline: 1px solid var(--line);
	outline-offset: -4px;
}

.lawyer .contact-line {
	margin-block: 3rem 0;
}

.lawyer .contact-line a {
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .lawyer:hover .link-arrow span {
        transform: translateX(4px);
    }

    .lawyer .contact-line a:hover { text-decoration: underline; }
}
.badge-soon {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  background: var(--gold); color: #2A2205; font-size: 11.5px; font-weight: 700;
  border-radius: 999px; padding: 5px 14px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; position: relative; }

.step {
	padding: 0 4rem 0 0;
	position: relative;
	counter-increment: step;
}

.step + .step {
	padding-left: 4rem;
	border-left: 1px solid var(--line);
}

.step::before,
.exp-card-body::before {
	content: counter(step, decimal-leading-zero);
	font-family: var(--font-title);
	font-size: 5rem;
	color: transparent;
	-webkit-text-stroke: 1px var(--gold);
	display: block;
	line-height: 1;
	margin-bottom: 2rem;
}

@supports not (-webkit-text-stroke: 1px black) { 
    .step::before,
    .exp-card-body::before { color: var(--gold); } 
}

.step h3 {
	font-size: 2.4rem;
	margin-bottom: 1rem;
	line-height: 1.15;
}

.step p { 
    color: var(--ink-soft); 
    margin: 0; 
}

/* ---------- FAQ ---------- */
.faq {
	flex: 1.2;
}

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
	cursor: pointer;
	padding: 26px 56px 26px 4px;
	font-weight: 500;
	font-size: var(--fs-md);
	list-style: none;
	position: relative;
	transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .faq summary:hover { color: var(--orange-ink); }
}
.faq summary::-webkit-details-marker { display: none; }
.faq-toggle {
	position: absolute;
	right: 1rem;
	top: 50%;
	width: 3rem;
	height: 3rem;
	color: var(--gold);
	transform: translateY(-50%);
	transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-toggle line {
	transform-box: fill-box;
	transform-origin: center;
	transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-ring {
	stroke-linecap: butt;
	stroke-dasharray: 101;
	stroke-dashoffset: 101;
	transform: rotate(-90deg);
	transform-origin: center;
	transition: stroke-dashoffset 0.6s ease;
}

.faq details[open] .faq-ring {
	stroke-dashoffset: 0;
}

@media (hover: hover) and (pointer: fine) {
    .faq summary:hover .faq-ring {
    	stroke-dashoffset: 0;
    }
}

.faq details[open] .faq-toggle {
	transform: translateY(-50%) rotate(180deg);
}

.faq details[open] .faq-v {
	transform: rotate(90deg);
}
.faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

.faq .a { 
    padding: 0 4px 28px; 
    color: var(--ink-soft); 
    max-width: 72ch;
}

.faq-cta {
	margin-block: 2.4rem 4rem;
}

.faq-cta p {
	margin: 0 0 2.4rem;
    max-width: 54ch;
}

/* ---------- Actus ---------- */
.actus-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.4rem;
    margin-inline: 4px;
}

.actu {
	background: var(--card);
	border: 1px solid var(--line);
	display: flex;
	outline: 1px solid var(--line);
	outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
    .actu:hover .link-arrow span {
        transform: translateX(4px);
    }

    .actu:hover {
        outline-color: var(--gold);
    }
}

.actu-link {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 3.4rem 3.2rem;
	color: inherit;
	text-decoration: none;
	z-index: 1;
	background: var(--card);
}

.actu-link:focus-visible { outline: none; }

.actu .cat {
	display: block;
	font-size: var(--fs-3xs);
	color: var(--gold);
	font-weight: 700;
	letter-spacing: 0.2rem;
	text-transform: uppercase;
	margin-bottom: 1.6rem;
}

.actu h3 {
	font-size: 2.4rem;
	margin-bottom: 1.2rem;
    color: var(--ink);
}

.actu p {
	color: var(--ink-soft);
	flex: 1;
    margin-bottom: 3rem;
}

.actu .fake-link { color: var(--orange-ink); font-weight: 700; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Annonces Actify ---------- */
.oppo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-inline: 4px;
}

/* Accueil : trois annonces au bureau, les huit dans le carrousel sous 1024 px */
#reprendre .oppo:nth-child(n+4) {
	display: none;
}

.oppo {
	background: var(--card);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	outline: 1px solid var(--line);
	outline-offset: 4px;
}

.ocard {
    background-color: var(--card);
    padding: 26px 26px 24px;
}

.oppo .otype {
	align-self: flex-start;
	font-size: var(--fs-3xs);
	font-weight: 700;
	letter-spacing: 0.12rem;
	text-transform: uppercase;
	color: var(--gold);
}

.oppo h3 {
	font-family: inherit;
	font-size: var(--fs-md);
	font-weight: 600;
	margin-bottom: 1rem;
    color: var(--ink);
}

.oppo .ometa {
	font-size: var(--fs-sm);
	color: var(--ink-soft);
	line-height: var(--line-h-sm);
}

.oppo .olimite {
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--ink);
	margin: 1rem 0 2rem;
}

.oppo .olinks {
	margin-top: auto;
	font-size: var(--fs-xs);
	display: flex;
	gap: 1rem;
}

.oppo .olinks a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .oppo .olinks a:hover { 
        color: var(--gold);
    }
}

.oppo-note {
	font-size: var(--fs-xs);
	color: var(--ink-soft);
	margin-top: 5rem;
}

/* ---------- Questionnaire de qualification ---------- */
#modal-qualif { max-width: 660px; }

.mq-sub {
	margin: 6px 0 0;
	font-size: var(--fs-sm);
	color: var(--ink-soft);
}

.mq-sub:empty {
	display: none;
}

.qprogress {
	height: 2px;
	background: var(--line);
	margin-inline: 32px;
}

.qbar {
	height: 100%;
	background: var(--gold);
	width: 0%;
	transition: width 0.3s ease;
}

.qcount {
	font-size: var(--fs-2xs);
	color: var(--gold);
	font-weight: 700;
	letter-spacing: 0.12rem;
	text-transform: uppercase;
	margin-bottom: 1.4rem;
}

.qquestion {
	font-size: var(--fs-2xl);
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 1.3rem;
	line-height: 1.4;
}

.qoptions { display: flex; flex-direction: column; gap: 10px; }

.qoption {
	text-align: left;
	border: 1px solid var(--line);
	background: var(--paper);
	padding: 14px 18px;
	font-size: var(--fs-sm);
	cursor: pointer;
	font-family: inherit;
	color: var(--ink);
	transition: border-color 0.15s ease, background 0.15s ease;
	font-weight: 500;
}

.modal-title {
    font-size: 2.8rem;
}

@media (hover: hover) and (pointer: fine) {
    .qoption:hover { border-color: var(--orange); }
}

.qoption.selected {
	border-color: var(--gold);
	background: rgba(176, 142, 97, 0.13);
	font-weight: 600;
	color: var(--gold);
}

.qoption:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.qnav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.qback {
	all: unset;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink-soft);
	font-size: var(--fs-sm);
	padding: 8px 4px;
	font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
    .qback:hover .arr-left {
    	transform: translateX(-4px);
    }

    .qback:hover { color: var(--ink); text-decoration: underline; }
}
.qback:focus-visible { outline: 2px solid var(--orange); }

.qfree {
	margin-top: 2rem;
	font-size: var(--fs-xs);
	color: var(--ink-soft);
}

.qfree a { color: var(--orange-ink); font-weight: 600; }

.qok {
	text-align: center;
}

.qok p {
    color: var(--ink-soft);
    font-size: var(--fs-sm);
    margin-bottom: 3rem;
}

.qok .tickbig {
	display: block;
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1rem;
	color: var(--gold);
}

.qok h4 { font-size: 20px; color: var(--ink); margin: 0 0 10px; }

/* ---------- Filtres actus ---------- */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: 3rem;
}

.chip {
	border: 1px solid var(--line);
	background: var(--card);
	padding: 10px 16px;
	font-size: var(--fs-xs);
	font-weight: 500;
	color: var(--ink-xsoft);
	cursor: pointer;
	font-family: inherit;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
	outline: 1px solid var(--line);
	outline-offset: -5px;
}

.chip.active {
	color: var(--ink-soft);
	border-color: var(--hero-sub);
}

@media (hover: hover) and (pointer: fine) {
    .chip:hover {
    	color: var(--ink-soft);
    	border-color: var(--hero-sub);
    }
}

.chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.actu { position: relative; }
.actu[hidden] { display: none; }

.actu .adate {
	display: block;
	font-size: var(--fs-xs);
	color: var(--ink-soft);
	margin-bottom: 1rem;
}

.actu:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.art-meta { font-size: 13px; color: var(--orange-ink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; position: relative; z-index: 1; }

.contact-intro {
	margin-block: 2rem 0;
}

.contact-info h2,
.contact-info h1 {
	font-size: 4.5rem;
}

.page-template-page-avocat .contact-info h2 {
	font-size: 4rem;
}

.contact-card {
	border-top: 1px solid var(--line);
	margin-top: 4rem;
}

.contact-card .row {
	display: flex;
	gap: 2rem;
	padding: 2rem 0;
	border-bottom: 1px solid var(--line);
}

.contact-card .lbl {
	color: var(--gold);
	font-size: var(--fs-2xs);
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	font-weight: 700;
	flex: 0 0 28rem;
	padding-top: 4px;
}

.page-template-page-avocat .contact-card .lbl {
	flex: 0 0 26rem;
}

.contact-card a {
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.contact-card .aside-lawyer:last-child { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
    .contact-card a:hover { border-bottom-color: var(--gold); }
}

form.contact {
	background: var(--card);
	padding: 4rem;
	border: 1px solid var(--line);
	outline: 1px solid var(--line);
	outline-offset: 4px;
}

form.contact .form-logo { display: block; width: 175px; margin: 0 auto 24px; }

form.contact h3 {
	font-size: 2.4rem;
	margin-bottom: 1rem;
	font-weight: 500;
}

form.contact .form-sub {
	color: var(--ink-soft);
	margin-bottom: 3rem;
}

.field { margin-bottom: 18px; }

.reprise-fields .field { margin-bottom: 15px; }

.field label {
	display: block;
	font-size: var(--fs-xs);
	font-weight: 500;
	margin-bottom: 5px;
	color: var(--ink);
	letter-spacing: 0.03em;
}

.field input, 
.field select, 
.field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--line);
	font-family: inherit;
	background: var(--paper);
	color: var(--ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
    resize: vertical;
    font-size: var(--fs-base);
    line-height: var(--line-h-base);
}

.field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 4.8rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2355677A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2rem center;
	background-size: 1.1rem auto;
	cursor: pointer;
}

.field input:focus, 
.field select:focus, 
.field textarea:focus {
  outline: 1px solid var(--line);
  outline-offset: 2px;
  border-color: var(--hero-sub);
}

@media (hover: hover) and (pointer: fine) {
    .field input:hover,
    .field select:hover,
    .field textarea:hover {
    	border-color: var(--hero-sub);
    }
}

.rgpd {
	font-size: var(--fs-2xs);
	color: var(--ink-soft);
	margin: 0 0 3rem;
	line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
    .rgpd a:hover {
        color: var(--gold);
    }
}

.form-ok, .form-error { border-radius: 8px; padding: 14px 16px; font-size: 14.5px; margin-top: 16px; }
.form-ok { background: #E8F5E9; color: #1B5E20; }
.form-error { background: #FDECEA; color: #8A1C12; }
.form-ok[hidden], .form-error[hidden] { display: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.contact .btn[disabled], #modal-qualif .btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Footer ---------- */
footer.site {
	background: var(--navy-deep);
	color: var(--hero-sub);
	padding: 8rem 0 4rem;
	position: relative;
}

footer.site::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -0.4rem;
	height: 1px;
	background: var(--navy-deep);
	pointer-events: none;
}

.foot-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 4rem;
	margin-bottom: 7rem;
}

footer.site h4 {
	color: var(--gold);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.15rem;
	margin: 0 0 2rem;
	font-weight: 600;
}

footer.site a { color: var(--hero-sub); text-decoration: none; transition: color 0.15s ease; }
@media (hover: hover) and (pointer: fine) {
    footer.site a:hover { color: #fff; }
}
footer.site ul { list-style: none; margin: 0; padding: 0; }

footer.site li {
	margin-bottom: .6rem;
	font-size: var(--fs-sm);
}

.foot-contact {
	margin-top: 1.4rem;
}

.foot-contact a {
	display: inline-flex;
	align-items: center;
	gap: 1.2rem;
}

.foot-contact .icon {
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	color: var(--gold);
}

.foot-address {
	display: flex;
	align-items: flex-start;
	gap: 1.2rem;
	margin-top: 0;
}

.foot-address .icon {
	margin-top: 0.5rem;
}

footer.site .foot-map {
	display: block;
	width: fit-content;
	margin-top: 0.4rem;
	font-size: var(--fs-2xs);
	color: var(--gold);
}

@media (hover: hover) and (pointer: fine) {
    footer.site .foot-map:hover {
    	color: #fff;
    }
}

.foot-who {
	display: block;
	font-size: var(--fs-2xs);
	opacity: 0.5;
}

.foot-logo img {
	width: 16rem;
	display: block;
}

.foot-brand p {
	font-size: var(--fs-sm);
	margin-top: 2rem;
	max-width: 32ch;
	margin-block: 3rem 0;
    line-height: var(--line-h-sm);
}

footer.site .foot-social {
	margin-top: 2.4rem;
	display: flex;
	gap: 2.4rem;
}

footer.site .foot-social li {
	margin-bottom: 0;
}

footer.site .foot-social li a {
	gap: .7rem;
}

footer.site .foot-social li a svg {
	position: relative;
	top: -2px;
}

.foot-social a {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
}

.foot-social .icon {
	flex: none;
	width: 1.6rem;
	height: 1.6rem;
	color: var(--gold);
}

.foot-legal {
	border: 1px solid rgba(255,255,255,0.12);
	padding: 1.4rem;
	font-size: var(--fs-xs);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	position: relative;
	outline: 1px solid rgba(255,255,255,0.12);
	outline-offset: 4px;
}

.foot-sep {
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 1.2rem;
	vertical-align: middle;
	background: var(--gold);
	transform: rotate(45deg);
}

.dot-sep {
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 1.1rem 0 1.2rem;
	vertical-align: middle;
	background: var(--gold);
	transform: rotate(45deg);
}

.foot-legal button { all: unset; cursor: pointer; color: var(--hero-sub); }
@media (hover: hover) and (pointer: fine) {
    .foot-legal button:hover { color: #fff; }
}
.foot-legal button:focus-visible { outline: 2px solid var(--gold); }

/* ---------- Modales ---------- */
dialog {
	max-width: 780px;
	width: calc(100% - 40px);
	border: none;
	padding: 0;
	background: var(--card);
	color: var(--ink);
	max-height: 85vh;
	border: 1px solid var(--line);
	outline: 1px solid var(--line);
	outline-offset: -8px;
}

dialog::backdrop { background: rgba(7, 21, 35, 0.75); backdrop-filter: blur(3px); }

html:has(dialog:modal) {
	overflow: hidden;
	scrollbar-gutter: stable;
}

.modal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 26px 32px 21px;
	top: 0;
	z-index: 1;
}

.modal-head h3 { font-size: 26px; }
.modal-head button { all: unset; cursor: pointer; display: inline-flex; color: var(--ink-soft); padding: 0.6rem; border-radius: 6px; }

.modal-head button .icon {
	width: 2.4rem;
	height: 2.4rem;
}
@media (hover: hover) and (pointer: fine) {
    .modal-head button:hover { color: var(--ink); }
}
.modal-head button:focus-visible { outline: 2px solid var(--orange); }

.modal-body { 
    padding: 28px 32px 36px; 
    overflow-y: auto; 
}

.modal-body h4 {
	color: var(--ink);
	font-size: 2.4rem;
	margin: 0;
	font-family: var(--font-title);
    font-weight: 500;
}

.modal-body h4:first-child { margin-top: 0; }
.modal-body .todo { background: rgba(176,142,97,0.20); border-left: 3px solid var(--gold); padding: 2px 8px; border-radius: 3px; }

/* ---------- Navigation ---------- */

.brand, .nav .btn { flex-shrink: 0; }
.menu-item > a, .nav .btn { white-space: nowrap; }
.menu-extra,
.mega-all,
.cta-sticky { display: none; }

/* ---------- Pages intérieures ---------- */
.page-hero .wrap { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 80px; }

.page-hero h1 {
	font-size: 7rem;
	max-width: 22ch;
    line-height: 1.05;
}

.page-hero .meta {
	color: var(--hero-sub);
	margin-top: 2rem;
	font-size: var(--fs-sm);
    margin-bottom: 0;
}

.page-intro {
	max-width: var(--container-sm);
	margin-top: 2.4rem;
	color: var(--ink-soft);
	font-size: var(--fs-md);
}

.page-intro p:last-child { margin-bottom: 0; }
.page-intro a { color: var(--orange-ink); }

.page-hero .meta a {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.page-hero--illustration {
	position: relative;
	border-bottom: 1px solid var(--line);
	background-color: var(--paper);
}

.page-hero--illustration::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0.4rem;
	height: 1px;
	background: var(--line);
	pointer-events: none;
}

.page-hero--illustration::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.4rem;
	height: 1px;
	background: var(--line);
	pointer-events: none;
}

.page-hero-illustration {
  position: absolute; top: 0; right: 0; width: 62%; height: 100%;
  object-fit: cover; object-position: center 35%; pointer-events: none; opacity: 0.28;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
}
.page-hero .glow {
  position: absolute; top: -220px; right: -140px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(176,142,97,0.20), transparent 62%); pointer-events: none;
}

.entry {
	max-width: var(--container-lg);
	margin: 0 auto;
	padding: 80px var(--gutter) 110px;
}

.entry-main {
    display: flex;
    justify-content: space-between;
    gap: 8rem;
}

.entry-content { color: var(--ink); }

.entry-content h2, 
.entry-content h3, 
.entry-content h4 { 
    margin: 40px 0 14px; 
    color: var(--ink);
}

.single-post .entry-content img  {
	width: 100%;
	border-radius: 0!important;
	border: 1px solid var(--line);
	outline: 1px solid var(--line);
	outline-offset: 4px;
	margin-inline: 4px;
	background-color: var(--paper);
	padding: 2rem;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content h2 {
	font-size: 2.4rem;
	font-weight: 600;
	letter-spacing: -.03rem;
}

.entry-content.exp-content h2 {
    font-size: 3rem;
}

.single-expertise .entry-content.exp-content h2 {
    font-size: 2.6rem;
}

.entry-content h3 { font-size: 27px; }
.entry-content h4 { font-family: inherit; font-size: 18px; font-weight: 700; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 24px; }

.entry-content li { margin-bottom: 8px; }

.encadre .entry-content li:last-child { margin-bottom: 0; }

.entry-content a {
	color: var(--gold);
	font-weight: 600;
}

.entry-content blockquote {
  margin: 28px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold);
  font-family: var(--font-title); font-size: 24px; color: var(--ink);
}

.entry-footer {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--line);
}

.entry-footer .back { color: var(--orange-ink); font-weight: 700; text-decoration: none; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }

.entry-cta {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 10rem);
	align-self: flex-start;
	flex: 0 0 36rem;
	background: var(--paper);
	border: 1px solid var(--line);
	padding: 3.4rem 3.2rem;
	outline: 1px solid var(--line);
	outline-offset: 4px;
	margin-right: 6px;
}

.entry-cta .btn {
	width: 100%;
	justify-content: center;
}

.cta-lawyer {
	display: flex;
	gap: 1.4rem;
	align-items: center;
	padding: 1.8rem 0;
	margin-bottom: 2.6rem;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.cta-lawyer + .cta-lawyer {
	margin-top: -2.4rem;
	border-top: none;
}

.cta-lawyer img, 
.cta-lawyer .mono {
	flex: none;
	width: 6.4rem;
	height: 6.4rem;
	border-radius: 50%;
	object-fit: cover;
	outline: 1px solid var(--line);
	outline-offset: 3px;
}

.cta-lawyer .mono {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--navy);
	color: var(--gold);
	font-family: var(--font-title);
	font-size: 2rem;
}

.cta-lawyer strong {
	display: block;
}

.cta-lawyer strong a {
	color: inherit;
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .cta-lawyer strong a:hover { color: var(--orange-ink); }
}

.cta-role {
	display: block;
	font-size: var(--fs-xs);
	color: var(--ink-soft);
	margin-bottom: 0.8rem;
}

.cta-line {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-size: var(--fs-xs);
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
}

.cta-line + .cta-line {
	margin-top: 0.1rem;
}

@media (hover: hover) and (pointer: fine) {
    .cta-line:hover { 
        color: var(--gold); 
    }
}

.cta-line .icon {
	flex: none;
	width: 1.3rem;
	height: 1.3rem;
	color: var(--gold);
}

.entry-cta h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.entry-cta p {
	color: var(--ink-soft);
	margin-bottom: 2rem;
}

.archive-list { padding-top: 80px; padding-bottom: 110px; }

.pagination {
	margin-top: 3rem;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

.nav-links {
	display: flex;
	gap: .5rem;
	padding: 5px;
	border: 1px solid var(--line);
}

.pagination .page-numbers {
	border: 1px solid var(--line);
	background: var(--card);
	min-width: 42px;
	padding: 8px 10px;
	text-align: center;
	text-decoration: none;
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--ink-xsoft);
    transition: all 0.2s ease;
}

.pagination .page-numbers.current {
	color: var(--ink-soft);
	border-color: var(--hero-sub);
}

@media (hover: hover) and (pointer: fine) {
    .pagination a.page-numbers:hover {
    	color: var(--ink-soft);
    	border-color: var(--hero-sub);
    }

    .pagination a.page-numbers:hover {
    	transform: translateY(-2px);
    }
}

.chips a.chip { text-decoration: none; }

.entry-footer .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	font-size: var(--fs-sm);
	padding: 0;
	border: none;
	justify-content: space-between;
	margin-inline: 4px;
}

.entry-footer .nav-links div {
	--fill-offset: 4px;
	display: flex;
	border: 1px solid var(--line);
	outline: 1px solid var(--line);
	outline-offset: 4px;
    flex: 1;
}

@media (hover: hover) and (pointer: fine) {
    .entry-footer .nav-links div:hover {
        outline-color: var(--gold);
        background-color: var(--paper);
    }
}

.entry-footer .nav-links div.nav-next {
	--fill-origin: right;
}

.entry-footer .post-navigation {
    width: 100%;
}

.entry-footer .nav-links a {
	flex: 1;
	padding: 2rem;
	gap: 0.2rem;
	color: var(--ink-soft);
	text-decoration: none;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
    background-color: var(--paper);
}

@media (hover: hover) and (pointer: fine) {
    .nav-links div:hover a {
        color: var(--ink);
    }
}

.entry-footer .nav-links div.nav-next a {
    align-items: flex-end;
}

.arrow-nav-mention {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: var(--fs-2xs);
	letter-spacing: 0.02rem;
    color: var(--gold);
}

.entry-footer .nav-links a {
	transition: color var(--fill-duration) ease;
}

.entry-footer .nav-links :is(.arrow-nav-mention, .arr) {
	transition: color calc(var(--fill-duration) / 4) ease calc(var(--fill-duration) / 2), transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .entry-footer .nav-links a:hover :is(.arrow-nav-mention, .arr) {
    	transition: color calc(var(--fill-duration) / 4) ease, transform 0.2s ease;
    }
}

.entry-footer .nav-links .arr {
	flex: none;
	color: var(--gold);
	position: relative;
	top: -.5px;
}

@media (hover: hover) and (pointer: fine) {
    .entry-footer .nav-next a:hover .arr { transform: translateX(4px); }

    .entry-footer .nav-previous a:hover .arr { transform: translateX(-4px); }
}

.related-posts {
	background-color: var(--paper);
    position: relative;
    border-top: 1px solid var(--line);
}

.related-posts::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0.4rem;
    height: 1px;
    background: var(--line);
    pointer-events: none;
}

.related-posts h2 {
	font-size: 5rem;
	margin-bottom: 3rem;
}

.related-posts-wrapper {
	margin: 0 auto;
	max-width: var(--container-lg);
    padding: 80px var(--gutter) 110px;
}

/* ---------- Pages légales ---------- */
.toc-layout {
	display: grid;
	grid-template-columns: 27rem minmax(0, 1fr);
	gap: 7rem;
	align-items: start;
	padding-top: 8rem;
	padding-bottom: 8rem;
	margin-bottom: 9rem;
}

.single-expertise .toc-layout {
    margin-bottom: 0;
    position: relative;
    padding-block: 10rem 12rem;
}

.page-template-page-avocat .toc-layout {
    margin-bottom: 0;
    padding-block: 10rem;
    position: relative;
}

.page-template-page-reprendre .toc-layout {
    margin-bottom: 0;
    padding-block: 12rem;
    position: relative;
}

.page-template-page-reprendre .toc-layout,
.page-template-page-legal .toc-layout {
    position: relative;
}

.page-template-page-reprendre .toc-layout::after,
.page-template-page-legal .toc-layout::after {
	content: "";
	position: absolute;
	bottom: 0rem;
	left: 50%;
	transform: translateX(-50%);
	width: 4.5rem;
	height: 2.4rem;
	background-color: var(--gold);
	mask: url("../img/separateur.svg") center / contain no-repeat;
	pointer-events: none;
}

.page-template-page-reprendre .toc-layout::after {
    bottom: -1.2rem;
}

.toc-aside { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 130px); }

.toc-title {
	font-size: var(--fs-2xs);
	font-weight: 700;
	letter-spacing: 0.2rem;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 1.4rem;
}

.toc ol, .toc-legal ul { list-style: none; margin: 0; padding: 0; }

.toc a {
	display: block;
	padding: 6px 0 6px 18px;
	border-left: 2px solid var(--line);
	color: var(--ink-soft);
	text-decoration: none;
	font-size: var(--fs-sm);
	/* line-height: 1.45; */
	transition: color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .toc a:hover { color: var(--ink); border-left-color: var(--gold-soft); }
}
.toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--gold); }
.toc a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.toc-legal {
	margin-top: 4rem;
	padding: 2rem;
	border: 1px solid var(--line);
	outline: 1px solid var(--line);
	outline-offset: 3px;
	background: var(--paper);
}

.toc-legal li {
	margin-bottom: .4rem;
	font-size: var(--fs-sm);
}

.toc-legal a { color: var(--ink-soft); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
    .toc-legal a:hover { color: var(--orange-ink); }
}
.toc-legal [aria-current="page"] { color: var(--ink); font-weight: 600; }
.legal-content { max-width: var(--container-xs); }
.legal-content h2:first-child { margin-top: 0; }

.legal-content .lede {
	margin-bottom: 2.4rem;
	font-style: italic;
}

.legal-content mark.todo {
  background: rgba(176, 142, 97, 0.20); color: inherit;
  border-left: 3px solid var(--gold); padding: 2px 8px; border-radius: 3px;
}
.rgpd a { color: inherit; }

.footer-legal-illustration {
	width: 70rem;
	margin: 0 auto 10rem;
	display: block;
}

.avocat-footer-illustration-img {
	width: 70rem;
	margin-inline: auto;
	display: block;
}

.avocat-footer-illustration {
	position: relative;
    padding-block: 10rem 12rem;  
    background-color: var(--paper);
}

.avocat-footer-illustration::before {
    content: "";
    position: absolute;
    top: 0rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4.5rem;
    height: 2.4rem;
    background-color: var(--gold);
    mask: url("../img/separateur.svg") center / contain no-repeat;
    pointer-events: none;
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb {
	font-size: var(--fs-xs);
	color: var(--hero-sub);
	margin-bottom: 5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.page-template-page-cabinet .breadcrumb {
	display: none;
}

.breadcrumb a { 
    color: var(--hero-sub); 
    text-decoration: none; 
}

@media (hover: hover) and (pointer: fine) {
    .breadcrumb a:hover {
    	color: var(--gold);
    }
}

.breadcrumb [aria-current] { 
    color: var(--gold); 
}

/* ---------- Expertise : bandeau avec visuel ---------- */
.exp-hero-text {
    padding-top: 2rem;
}

.exp-faq {
    background-color: var(--card);
}

.page-template-page-cabinet .exp-hero-text {
    padding-top: 3rem;
}

.exp-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 6rem;
	padding-top: 10rem;
	padding-bottom: 10rem;
}

.exp-hero .kicker {
	display: inline-flex;
	align-items: center;
	gap: 1.2rem;
	font-size: var(--fs-2xs);
	letter-spacing: 0.26rem;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 700;
	margin-bottom: 1.8rem;
}

.exp-hero .kicker::before {
	content: "";
	width: 18px;
	height: 1px;
	background: var(--gold-soft);
}

.exp-hero h1 {
	font-size: 7rem;
	line-height: 1;
}

.exp-hero .lead {
	color: var(--hero-sub);
	font-size: var(--fs-lg);
	line-height: var(--line-h-lg);
	margin: 1.6rem 0 6rem;
	max-width: 58ch;
}

.exp-hero-visual { margin: 0; position: relative; }

.exp-hero-visual img, 
.exp-hero-visual .visual-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 10;
	object-fit: cover;
	outline: 1px solid var(--line);
	outline-offset: 4px;
	border: 1px solid var(--line);
}

.postid-69 .exp-hero-visual img,
.postid-81 .exp-hero-visual img,
.postid-69 .exp-hero-visual .visual-placeholder,
.postid-81 .exp-hero-visual .visual-placeholder {
	aspect-ratio: 9 / 12;
}

.visual-placeholder {
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
}
.visual-placeholder img { width: 30%; max-width: 150px; height: auto; opacity: 0.5; box-shadow: none; aspect-ratio: auto; }

/* ---------- Expertise : colonne de gauche ---------- */
.aside-lawyers { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
/* « … en droit immobilier » : affiché sous 768 px seulement */
.toc-title-field { display: none; }
.aside-lawyer { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }

.aside-lawyer img, 
.aside-lawyer .mono {
	width: 5.4rem;
	height: 5.4rem;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 18%;
	flex: none;
	outline: 1px solid var(--line);
	outline-offset: 4px;
}

.row > p {
    margin: 0;
}

.aside-lawyer .mono {
  display: flex; align-items: center; justify-content: center; background: var(--navy);
  color: var(--gold); border: 1px solid var(--gold); font-family: var(--font-title); font-size: 20px;
}

.aside-lawyer span {
	display: block;
	font-size: var(--fs-xs);
	color: var(--ink-soft);
	line-height: 1.3;
	margin-bottom: 0.4rem;
}

.aside-lawyer a {
	font-weight: 700;
}

.aside-cta { margin-top: 20px; padding: 12px 22px; font-size: 14px; }

/* ---------- Contenu éditorial : blocs de l'éditeur ---------- */
.exp-content > :first-child { margin-top: 0; }

.exp-content .lede {
	font-size: var(--fs-md);
	color: var(--ink);
	font-style: italic;
}

.entry-content img.size-large { width: 100%; border-radius: var(--radius); display: block; margin: 36px 0; }
.entry-content .wp-caption { max-width: 100%; margin: 36px 0; }
.entry-content .wp-caption img.size-large { margin: 0; }
.entry-content .wp-caption-text { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.entry-content .encadre {
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 3px solid var(--gold);
	padding: 3rem;
	margin: 2rem 0;
}

.entry-content .encadre > :first-child { margin-top: 0; }

.entry-content .encadre > :last-child { margin-bottom: 0; }

.entry-content .encadre h3 {
	margin-top: 0;
	font-size: 2.5rem;
	font-weight: 500;
	font-family: var(--font-title);
	margin-bottom: 1.6rem;
}

.entry-content ul { list-style: none; }
.entry-content ul li { position: relative; }

.entry-content ul li::before {
	content: "";
	position: absolute;
	left: -1.8rem;
	top: 8.5px;
	width: 5px;
	height: 5px;
	background: var(--gold);
	transform: rotate(45deg);
}

.entry-content h3 {
	font-size: var(--fs-base);
	margin: 3rem 0 1rem;
	font-family: var(--font-body);
	font-weight: 600;
}

/* ---------- Expertise : sections du bas ---------- */
.exp-situations { border-top: 1px solid var(--line); }

.exp-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.6rem;
    margin-inline: 4px;
}

.exp-link {
    height: 100%;
    text-decoration: none;
}

.exp-link-inner {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	padding: 2.2rem 2.4rem;
	text-decoration: none;
	background: var(--card);
	border: 1px solid var(--line);
	transition: border-color 0.25s ease;
	outline: 1px solid var(--line);
	outline-offset: 4px;
    width: 100%;
    height: 100%;
}

.exp-link .mark {
	width: 22px;
	height: 1px;
	background: var(--gold);
	flex: none;
}

.exp-link .t {
	font-family: var(--font-title);
	font-size: 2.2rem;
	color: var(--ink);
	line-height: 1.1;
	flex: 1;
	font-weight: 500;
}

.exp-link .r {
	color: var(--gold);
	transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .exp-link:hover .r { 
        transform: translateX(4px); 
    }
}

.exp-link .t small {
	display: block;
	font-family: var(--font-body);
	font-size: var(--fs-sm);
	color: var(--ink-soft);
	margin-top: 6px;
}

.aside-lawyer strong a { font-size: inherit; color: inherit; font-weight: inherit; }
@media (hover: hover) and (pointer: fine) {
    .aside-lawyer strong a:hover { color: var(--gold); }
}

.aside-lawyer a { text-decoration: none;}

/* ---------- Le cabinet, avocats, contact ---------- */
.link-arrow {
	color: var(--gold);
	font-weight: 500;
	text-decoration: none;
	letter-spacing: 0.01rem;
	display: inline-flex;
	gap: 1rem;
	align-items: center;
	font-size: var(--fs-sm);
}

.footer-illustration {
    background-color: var(--paper);
}

.link-arrow span {
	transition: transform 0.2s ease;
	position: relative;
	top: .5px;
}

@media (hover: hover) and (pointer: fine) {
    .link-arrow:hover span { 
        transform: translateX(4px); 
    }
}

.lawyer h3 a.lawyer-link {
	color: inherit;
	text-decoration: none;
	font-size: 2.7rem;
	font-weight: 500;
	color: var(--gold);
}

.lawyer h3 a.lawyer-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.lawyer .contact-line a {
	position: relative;
	z-index: 2;
}

.cabinet-intro .entry-content h2 {
	text-align: center;
	margin-block: 2.4rem;
	font-size: 4rem;
	letter-spacing: 0;
	font-weight: 500;
}

.cabinet-intro .entry-content {
	margin-inline: auto;
}

.cabinet-logo-illustration {
    margin-inline: auto;
    width: 12rem;
    height: auto;
    display: block;
}

.fees-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4rem;
	background: var(--paper-alt);
	border: 1px solid var(--line);
	padding: 6rem;
	margin-bottom: 12rem;
	outline: 1px solid var(--line);
	outline-offset: 4px;
	position: relative;
	background-color: var(--card);
    margin-inline: 4px;
}

.fees-band h2 {
	font-size: 3.6rem;
	margin: 0 0 1rem;
	color: var(--ink);
	max-width: 36ch;
}

.fees-band p {
	color: var(--ink-soft);
	margin: 0;
	max-width: 52ch;
}

.fees-band .btn { flex: none; }

.fees-band .hero-ctas {
	flex: none;
}

#actualites .home-ctas {
	margin: 0 4px 0 0;
}

#reprendre .home-ctas {
	margin-top: 3rem;
}

/* Flèches du carrousel sur la ligne des boutons, poussées à droite */
.hero-ctas .carousel-nav {
	margin: 0 0 0 auto;
}

.lawyer-hero-visual { max-width: 440px; justify-self: end; width: 100%; }
.lawyer-hero-visual img, .lawyer-hero-visual .visual-placeholder { aspect-ratio: 4 / 5; object-position: center top; }
.lawyer-hero-visual .visual-placeholder.lawyer-placeholder { display: flex; flex-direction: column; gap: 16px; }
.lawyer-placeholder .mono {
  width: 130px; height: 130px; border-radius: 50%; border: 2px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(176, 142, 97, 0.14); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-size: 46px;
}

.lawyer-placeholder .note {
	font-size: var(--fs-2xs);
	color: var(--hero-sub);
	letter-spacing: 0.14rem;
	text-transform: uppercase;
	margin-top: 1rem;
}

/* Placée après le texte dans le code (lue en second sur mobile), à gauche au bureau */
.lawyer-aside {
	grid-column: 1;
	grid-row: 1;
}

.lawyer-aside .toc-title:not(:first-child) { margin-top: 32px; }

.aside-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.aside-tags span {
	font-size: var(--fs-2xs);
	background: var(--paper);
	border: 1px solid var(--line);
	padding: 8px 14px;
	color: var(--ink-soft);
	font-weight: 500;
	outline: 1px solid var(--line);
	outline-offset: -4px;
}

.aside-links { list-style: none; margin: 0; padding: 0; }

.aside-links li {
	margin-bottom: 8px;
	font-size: var(--fs-sm);
}

.aside-links a {
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .aside-links a:hover { 
        color: var(--gold); 
    }
}

.aside-contact a {
	color: var(--gold);
	word-break: break-word;
}

.aside-contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
}

.aside-contact .icon {
	flex: none;
	width: 1.4rem;
	height: 1.4rem;
	color: var(--gold);
}

.contact-more {
	gap: 1rem;
	align-items: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contact-illustration {
	width: 18rem;
	height: auto;
	display: block;
}

.contact-access {
	text-align: center;
	position: relative;
	margin-bottom: 4rem;
}

.contact-map {
	position: relative;
	min-height: 50rem;
	width: 80%;
	border: 1px solid var(--line);
	padding: 4px;
	outline: 1px solid var(--line);
	outline-offset: 4px;
}

#cabinet-map {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border: none;
	background: var(--paper-alt);
	font-family: inherit;
}

/* Fond de carte en bichromie : --ink (#182635) pour les tons foncés, bleu-gris pour les bâtiments, --paper pour les rues. */
#cabinet-map .map-tiles { filter: url(#map-ink); }
.map-filter { position: absolute; }

#cabinet-map .leaflet-control-attribution {
	font-size: var(--fs-3xs)!important;
	background: rgba(255, 255, 255, 0.8)!important;
}

#cabinet-map .leaflet-control-attribution a { 
    color: var(--ink-soft)!important; 
}

#cabinet-map .leaflet-bar a { 
    color: var(--ink-soft)!important; 
}

#cabinet-map.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 0px!important;
	border-top-right-radius: 0px!important;
}

#cabinet-map.leaflet-touch .leaflet-control-zoom-in, 
#cabinet-map.leaflet-touch .leaflet-control-zoom-out {
	font-size: 18px!important;
}

#cabinet-map.leaflet-touch .leaflet-bar a span {
    position: relative!important;
    left: -0.5px!important;
}

#cabinet-map.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 0!important;
	border-bottom-right-radius: 0!important;
}

#cabinet-map .leaflet-bar a {
	border-bottom: 1px solid var(--line)!important;
}

#cabinet-map.leaflet-touch .leaflet-bar a {
	line-height: 26px!important;
}

.map-pin span {
	display: block;
	width: 1.8rem;
	height: 1.8rem;
	margin-top: 7px;
	transform: rotate(45deg);
	background: var(--ink);
	border: 2px solid var(--gold);
	box-shadow: 0 4px 14px rgba(12, 31, 53, 0.35);
	position: relative;
	left: 5.5px;
}

.leaflet-tooltip.map-label {
  background: var(--paper); 
  color: var(--ink); 
  border: 1px solid var(--line); 
  border-radius: 0; 
  padding: 10px 18px;
  font-weight: 700; 
  font-size: var(--fs-xs); 
  letter-spacing: 0.02rem; 
  box-shadow: 0 6px 18px rgba(12, 31, 53, 0.3);
  outline: 1px solid var(--line);
  outline-offset: -4px;
}

.leaflet-tooltip-top.map-label::before { 
    border-top-color: var(--line); 
}

#cabinet-map.leaflet-touch .leaflet-control-layers, 
#cabinet-map.leaflet-touch .leaflet-bar {
	border: 1px solid var(--line)!important;
	border-radius: 0!important;
}

.contact-more h2 {
	font-size: 4rem;
	margin: 1rem 0 1.4rem;
}

.contact-address {
	font-size: var(--fs-md);
	margin: 0 0 3rem;
	position: relative;
	padding-bottom: 2rem;
}

.contact-address::after {
    content: "";
    position: absolute;
    bottom: 0rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3.4rem;
    height: 4px;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    pointer-events: none;
    opacity: .5;
}

.contact-directions {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-access .entry-content {
	color: var(--ink-soft);
	max-width: 60rem;
}

/* ---------- Liste des expertises ---------- */
.page-hero .breadcrumb {
	margin-bottom: 5rem;
}

.exp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 26px; counter-reset: step; }

.exp-card {
	counter-increment: step;
	background: var(--card);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
	outline: 1px solid var(--line);
	outline-offset: 4px;
}

.exp-card-visual img, .exp-card-visual .visual-placeholder { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.exp-card-body {
	padding: 3rem 3.2rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	background-color: var(--card);
}

@media (hover: hover) and (pointer: fine) {
    .exp-card:hover .link-arrow .arr {
        transform: translateX(4px);
    }
}

.exp-card .mark {
	width: 3rem;
	height: 1px;
	background: var(--gold);
	margin-bottom: 2rem;
	transition: width 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .exp-card:hover .mark { width: 6rem; }
}

.exp-card h2,
.exp-card h3 {
	font-size: 2.8rem;
	margin-bottom: 1rem;
}

.exp-card h2 a, .exp-card h3 a { text-decoration: none; color: var(--ink); }
.exp-card h2 a::after, .exp-card h3 a::after { content: ""; position: absolute; inset: 0; }

.exp-card p {
	color: var(--ink-soft);
	flex: 1;
    margin-bottom: 3rem;
}

.exp-card .toggle-hint { color: var(--orange-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.exp-card:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }

.exp .detail .page-link { margin: 18px 0 0; }
.exp .detail .page-link a { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); text-decoration: none; }

.exp-card-visual img { object-position: center bottom; }

/* ---------- Annonces d'actifs à reprendre ---------- */
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1px solid var(--gold); }
@media (hover: hover) and (pointer: fine) {
    .btn-ghost-dark:hover { background: rgba(176, 142, 97, 0.10); transform: translateY(-2px); }
}
.oppo { position: relative; transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.oppo .othumb { width: calc(100% + 52px); margin: -26px -26px 18px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; max-width: none; }

.oppo .otop {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: .6rem;
}

.oppo .otop .otype { margin-bottom: 0; }

.oppo .olimite.is-urgent { color: #A0412D; }
.oppo .odesc { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.6; }

.oppo .ocomment {
	border-radius: 0 6px 6px 0;
	margin: 0 0 2rem;
}

.oppo .ocomment .k {
	display: block;
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: .5rem;
}

.oppo .ocomment p {
	margin: 0;
	font-size: var(--fs-sm);
	line-height: var(--line-h-sm);
	color: var(--ink);
	font-style: italic;
	font-weight: 400;
}

.oppo .olinks { 
    align-items: center; 
}

.oselect { position: relative; cursor: pointer; margin-left: auto; }
.oselect input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.oselect .off, .oselect .on {
	display: inline-block;
	border-radius: 999px;
	padding: 7px 14px;
	font-size: var(--fs-xs);
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.oselect .off {
	border: 1px solid var(--gold);
	color: var(--gold);
}

@media (hover: hover) and (pointer: fine) {
    .oselect:hover .off { 
        background: rgba(176, 142, 97, 0.12); 
    }
}

.oselect .on {
	display: none;
	background: var(--gold);
	color: #fff;
	border: 1px solid var(--gold);
}

.oselect input:checked ~ .off { display: none; }
.oselect input:checked ~ .on { display: inline-block; }
.oselect input:focus-visible ~ span { outline: 3px solid var(--gold); outline-offset: 2px; }
.oppo .ochecked {
  display: none; margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: #fff; background: var(--orange); border-radius: 999px; padding: 4px 11px;
}

.oppo.is-selected {
	border-color: var(--gold);
	outline-color: var(--gold);
}

.oppo.is-selected .ochecked { display: inline-block; animation: sca-pop 0.35s ease; }
.oppo[hidden] { display: none; }
@keyframes sca-pop { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }

.reprise-hero .watermark {
  position: absolute; right: -60px; bottom: -80px; width: 460px; opacity: 0.07;
  transform: rotate(8deg); pointer-events: none; filter: saturate(0);
}
.reprise-hero-inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.reprise-hero h1 { max-width: 18ch; }

.reprise-hero .hero-meta {
	margin-top: 5rem;
}

.reprise-hero .hero-meta .icon {
	stroke-width: 1;
	width: 2.4rem;
	height: 2.4rem;
    margin-bottom: 1rem;
}

.reprise-layout { 
    display: grid; 
    grid-template-columns: minmax(0, 1fr) 400px; 
    gap: 6rem; 
    align-items: start; 
}

.reprise-grid {
	grid-template-columns: repeat(2, 1fr);
	margin-left: 4px;
}

.reprise-more {
  margin-top: 3.2rem;
  text-align: center;
}

.reprise-aside {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px);
}

form.contact.reprise-form {
	padding: 3rem;
	margin-right: 4px;
}

form.contact.reprise-form h3 { 
    font-size: 2rem; 
}

form.contact.reprise-form .form-sub { 
    font-size: var(--fs-sm);
    margin-bottom: 2rem;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.chip .n {
	display: inline-block;
	margin-left: .2rem;
	font-size: var(--fs-2xs);
	opacity: 0.55;
	color: var(--gold);
}

.reprise-empty { background: var(--card); border: 1px dashed var(--gold-soft); border-radius: var(--radius); padding: 28px; color: var(--ink-soft); }
.oppo-note a { color: var(--orange-ink); font-weight: 600; }

.picked {
	background: var(--paper-alt);
	border: 1px solid var(--line);
	padding: 14px 16px;
	margin-bottom: 20px;
	transition: border-color 0.3s ease, background 0.3s ease;
}

.picked.has-items { border-color: var(--gold-soft); background: rgba(176, 142, 97, 0.07); }

/* Sans JavaScript, les champs restent visibles (les cases des annonces sont envoyées avec le formulaire). */
.js .reprise-form:not(.is-open) .reprise-fields { display: none; }
.js .reprise-form:not(.is-open) .picked { margin-bottom: 0; }
.reprise-form.is-open .form-sub { display: none; }
.picked.flash { animation: sca-flash 0.8s ease; }

@keyframes sca-flash { 
    0% { box-shadow: 0 0 0 0 rgba(176, 142, 97, 0.6); } 
    100% { box-shadow: 0 0 0 12px rgba(176, 142, 97, 0); } 
}

.picked-title {
	margin: 0 0 8px;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.04rem;
	text-transform: uppercase;
	color: var(--gold);
	display: flex;
	align-items: center;
	gap: 8px;
}

.picked-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--line);
	color: var(--ink-soft);
	font-size: var(--fs-3xs);
	letter-spacing: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

.picked.has-items .picked-count { background: var(--orange); color: #fff; }
.picked-count.bump { animation: sca-pop 0.35s ease; }

.picked-empty {
	margin: 0;
	font-size: var(--fs-xs);
	color: var(--ink-soft);
}

.picked-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.picked-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: var(--card);
	border: 1px solid var(--gold-soft);
	padding: 9px 10px 9px 12px;
	font-size: var(--fs-sm);
	line-height: 1.45;
}

.picked-list li.just-added { animation: sca-in 0.45s ease; }
@keyframes sca-in { 0% { opacity: 0; transform: translateX(24px); background: rgba(176, 142, 97, 0.35); } 100% { opacity: 1; transform: none; } }
.picked-list .t { flex: 1; color: var(--ink); font-weight: 600; }

.picked-list .t small {
	display: block;
	font-weight: 400;
	color: var(--ink-soft);
	font-size: var(--fs-xs);
}

.picked-list button {
  all: unset; cursor: pointer; width: 24px; height: 24px; border-radius: 50%;
  display: inline-grid; place-items: center;
  color: var(--ink-soft); flex: none;
}

.picked-list button .icon {
	width: 1.4rem;
	height: 1.4rem;
}

@media (hover: hover) and (pointer: fine) {
    .picked-list button:hover { 
        background: var(--paper-alt); 
        color: var(--ink); 
    }
}

.picked-list button:focus-visible { 
    outline: 2px solid var(--gold); 
}

.picked-bar {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 70;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	background: var(--navy-deep);
	color: #fff;
	border-radius: 999px;
	padding: 14px 22px 15px;
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(7, 21, 35, 0.35);
	animation: sca-in 0.35s ease;
}

.picked-bar[hidden] { display: none; }
.picked-bar .go { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--gold); font-weight: 700; white-space: nowrap; }

.reprise-guide { 
    border-top: 1px solid var(--line); 
    background: var(--card); 
    position: relative;
}

.reprise-guide::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0.4rem;
	height: 1px;
	background: var(--line);
	pointer-events: none;
}

.reprise-cta .hero-ctas { position: relative; z-index: 1; }

.picked-bar { display: none !important; }

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

@media (max-width: 1536px) {

    :root {
        --section-space: 11rem;
    }

    .hero-video .hero-inner {
        padding-top: calc(100px + var(--header-h, 141px));
        padding-bottom: 100px;
    }

    .hero-meta {
        margin-top: 56px;
    }

    .hero-pause::before {
        width: 7px;
        height: 10px;
        border-left: 2px solid currentColor;
        border-right: 2px solid currentColor;
    }

    .hero-pause {
        width: 34px;
        height: 34px;
    }

    .hero .h1-main {
        font-size: 8.6rem;
    }

    .hero-meta .t {
        font-size: 2rem;
    }

    .exp-card h2, 
    .exp-card h3 {
        font-size: 2.5rem;
    }

    .sit .q {
        font-size: 2.4rem;
    }

    .sit .r {
        font-size: var(--fs-xs);
    }

    .page-hero h1 {
        font-size: 6rem;
    }

    .exp-hero h1 {
        font-size: 6rem;
    }

    .exp-hero .lead {
        font-size: var(--fs-md);
        line-height: var(--line-h-base);
    }

    .actu h3 {
        font-size: 2.3rem;
    }

    .contact-info h2, 
    .contact-info h1 {
        font-size: 4.2rem;
    }

    .entry-content.exp-content h2 {
        font-size: 2.6rem;
    }
}

@media (max-width: 1280px) {

    :root {
        --section-space: 10rem;
    }

    /* Header */
    .nav {
        gap: 2rem;
    }

    .menu-list {
        gap: 2.8rem;
    }

    .hero-meta {
        gap: 5rem;
    }

    .exp-hero-grid {
        gap: 4rem;
    }

    .team-head {
        gap: 4rem;
    }

    .toc-layout {
        grid-template-columns: 24rem minmax(0, 1fr);
        gap: 5rem;
    }

    .entry-main {
        gap: 5rem;
    }

    .contact-grid {
        gap: 4rem;
    }

    .contact-card .lbl,
    .page-template-page-avocat .contact-card .lbl {
        flex-basis: 20rem;
    }

    .reprise-layout {
        grid-template-columns: minmax(0, 1fr) 34rem;
        gap: 5rem;
    }

    .fees-band {
        padding: 5rem;
    }

    .foot-grid {
        gap: 3rem;
    }

    .brand-picto {
        height: 6.2rem;
    }

    .brand-word {
        height: 4.8rem;
    }

    .menu-item > a {
        font-size: var(--fs-sm);
    }

    .btn {
        padding: 1rem 1.8rem;
        font-size: var(--fs-xs);
    }

    .arr {
        position: relative;
        top: .5px;
    }

    .hero .h1-main {
        font-size: 7.6rem;
    }

    .hero .h1-sub {
        font-size: 2.2rem;
    }

    .hero .lead {
        font-size: var(--fs-base);
    }

    .home .hero-meta .s {
        font-size: var(--fs-sm);
        line-height: var(--line-h-sm);
        display: block;
    }

    .hero-meta .t {
        font-size: 1.8rem;
    }

    .step::before, 
    .exp-card-body::before {
        font-size: 4rem;
    }

    .exp-card h2, 
    .exp-card h3 {
        font-size: 2.3rem;
    }

    .sit .q {
        font-size: 2.2rem;
    }

    .actu h3 {
        font-size: 2.1rem;
    }

    .actu p {
        font-size: var(--fs-sm);
        line-height: var(--line-h-sm);
    }

    .fees-band h2 {
        font-size: 3.2rem;
    }

    footer.site h4 {
        font-size: var(--fs-2xs);
    }

    .foot-logo img {
        width: 13rem;
    }

    .foot-brand p {
        font-size: var(--fs-xs);
    }

    .page-hero h1 {
        font-size: 5.5rem;
    }

    .footer-legal-illustration {
        width: 60rem;
    }

    .contact-info h2, 
    .contact-info h1 {
        font-size: 4rem;
    }

    .picked-title {
        font-size: var(--fs-2xs);
    }

    .field textarea {
        font-size: var(--fs-sm);
        line-height: var(--line-h-sm);
    }

    .field input, 
    .field select, 
    .field textarea {
        font-size: var(--fs-sm);
        line-height: var(--line-h-sm);
    }

    .oppo .olinks {
        align-items: flex-start;
        flex-direction: column;
    }

    .oselect {
        margin-left: 0;
    }

    .exp-hero h1 {
        font-size: 5.6rem;
    }

    .exp-hero .kicker {
        font-size: var(--fs-3xs);
    }

    .mega-link-content {
        padding: 1rem;
    }

    .mega-title {
        font-size: 1.8rem;
    }

    .mega-desc {
        font-size: var(--fs-2xs);
    }

    .cabinet-intro .entry-content h2 {
        font-size: 3.6rem;
    }

    .exp-link .t {
        font-size: 2rem;
    }

    .exp-link .mark {
        width: 18px;
    }

    .exp-link-inner {
        padding: 2rem;
    }

    .exp-link .t small {
        font-size: var(--fs-xs);
    }

    .team-grid {
        gap: 2rem;
    }

    .lawyer-body {
        padding: 20px 22px 22px;
    }

    .lawyer h3 a.lawyer-link {
        font-size: 2.4rem;
    }

    .lawyer .bio {
        font-size: var(--fs-sm);
    }

    .lawyer .tags span {
        font-size: var(--fs-3xs);
    }

    .eng {
        background: var(--card);
        padding: 3rem 2.4rem;
    }

    .eng h3 {
        font-size: 2rem;
    }

    .eng p {
        font-size: var(--fs-sm);
    }

    .step h3 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .page-template-page-avocat .contact-info h2 {
        font-size: 3.4rem;
    }

    .avocat-footer-illustration-img {
        width: 60rem;
    }

    .chip {
        font-size: var(--fs-2xs);
    }

    .entry-cta p {
        font-size: var(--fs-sm);
    }

    .contact-illustration {
        width: 14rem;
    }
}

@media (max-width: 1024px) {

    :root {
        --fs-3xs: .85rem;
        --fs-2xs: .95rem;
        --fs-xs: 1.05rem;
        --fs-sm: 1.15rem;
        --fs-base: 1.25rem;
        --fs-md: 1.35rem;
        --fs-lg: 1.45rem;
        --fs-xl: 1.55rem;
        --fs-2xl: 1.65rem;
    }

    header.site {
        border-bottom: 1px solid var(--line);
    }

    .topbar {
        display: none;
    }

    /* Header : menu mobile */
    .nav {
        gap: 1.6rem;
    }

    .nav > .btn {
        display: none;
    }

    .burger {
        display: inline-flex;
        align-items: center;
        gap: 1.2rem;
        margin-left: auto;
        padding: 0.8rem 0;
        border: 0;
        border-radius: 0;
        font-family: inherit;
        font-size: var(--fs-xs);
        font-weight: 600;
        letter-spacing: 0.1rem;
        text-transform: uppercase;
    }

    .burger-opened,
    .burger[aria-expanded="true"] .burger-closed {
        display: none;
    }

    .burger[aria-expanded="true"] .burger-opened {
        display: inline;
    }

    .burger-icon {
        position: relative;
        width: 2.4rem;
        height: 1.4rem;
        background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
        transition: background-size 0.25s ease;
    }

    .burger-icon::before,
    .burger-icon::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 1.5px;
        background: currentColor;
        transition: transform 0.35s ease;
    }

    .burger-icon::before {
        top: 0;
    }

    .burger-icon::after {
        bottom: 0;
    }

    .burger[aria-expanded="true"] .burger-icon {
        background-size: 0 1.5px;
    }

    .burger[aria-expanded="true"] .burger-icon::before {
        transform: translateY(6.25px) rotate(45deg);
    }

    .burger[aria-expanded="true"] .burger-icon::after {
        transform: translateY(-6.25px) rotate(-45deg);
    }

    /* Panneau plein écran, sous l'en-tête (z-index négatif dans le contexte de header.site) */
    nav.menu {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-top: var(--menu-top, 9rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--paper);
        visibility: hidden;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 0.55s;
    }

    .page-template-page-avocat .contact-info h2 {
        font-size: 2.8rem;
        line-height: 1.25;
    }

    .entry-main {
        flex-direction: column;
    }

    .entry-cta {
        margin-inline: 4px;
    }

    .avocat-footer-illustration-img {
        width: 46rem;
    }

    .related-posts h2 {
        font-size: 4.2rem;
    }

    .entry-cta h2 {
        font-size: 2.4rem;
    }

    .entry-cta p {
        font-size: var(--fs-base);
    }

    .contact-illustration {
        width: 12rem;
    }

    .contact-address {
        font-size: var(--fs-base);
    }

    .contact-map {
        width: 100%;
    }

    header.site.overlay {
        border-bottom: none;
    }

    .team-duo {
        margin: 0;
    }

    header.site.overlay.scrolled {
        border-bottom: 1px solid var(--line);
    }

    nav.menu.open {
        visibility: visible;
        clip-path: inset(0);
        transition-delay: 0s;
    }

    html:has(header.site.menu-open) {
        overflow: hidden;
    }

    .menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-width: var(--container-lg);
        margin: 0 auto;
        padding: 0.8rem var(--gutter) 0;
        background-color: var(--paper);
    }

    .mega-link {
        background: var(--paper);
    }

    .site.menu-open .nav {
        background-color: var(--card);
        border-bottom: 1px solid var(--line);
    }

    .menu-list > li,
    .menu-extra {
        opacity: 0;
        transform: translateY(1.6rem);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    nav.menu.open .menu-list > li,
    nav.menu.open .menu-extra {
        opacity: 1;
        transform: none;
    }

    nav.menu.open .menu-list > li:nth-child(1) {
        transition-delay: 0.2s;
    }

    nav.menu.open .menu-list > li:nth-child(2) {
        transition-delay: 0.26s;
    }

    nav.menu.open .menu-list > li:nth-child(3) {
        transition-delay: 0.32s;
    }

    nav.menu.open .menu-list > li:nth-child(4) {
        transition-delay: 0.38s;
    }

    nav.menu.open .menu-extra {
        transition-delay: 0.44s;
    }

    @media (prefers-reduced-motion: reduce) {
        nav.menu,
        .menu-list > li,
        .menu-extra,
        .burger-icon,
        .burger-icon::before,
        .burger-icon::after {
            transition: none;
        }
    }

    .menu-item {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0;
        border-bottom: 1px solid var(--line);
    }

    .menu-item > a {
        flex: 1;
        padding: 1.8rem 0;
        font-family: var(--font-title);
        font-size: 2.6rem;
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.2;
    }

    .step::before, 
    .exp-card-body::before {
        font-size: 3rem;
    }

    .menu-item.has-sub.open > a {
        color: var(--gold);
    }

    .menu-item.has-sub.open > .sub-toggle::before {
        border-color: var(--gold);
    }

    .menu-item > a::after {
        display: none;
    }

    .menu-item.current > a {
        color: var(--gold);
    }

    .section-head h2 {
        font-weight: 500;
    }

    .sub-toggle {
        padding: 1.8rem 1.2rem;
    }

    .actus-grid .actu:nth-child(3) {
        display: none;
    }

    header.site.overlay .menu .menu-item > a,
    header.site.overlay .menu .sub-toggle {
        color: var(--ink);
    }

    header.site.overlay.menu-open .brand-word {
        filter: none;
    }

    header.site.overlay.menu-open .burger {
        color: var(--ink);
    }

    /* Bas du menu : rendez-vous, logo, LinkedIn, pages légales */
    .menu-extra {
        display: flex;
        flex-direction: column;
        flex: 1;
        width: 100%;
    }

    .menu-cta {
        width: 100%;
        max-width: var(--container-lg);
        margin: 0 auto;
        padding: 3.2rem var(--gutter) 4.8rem;
    }

    .menu-cta .btn {
        width: 100%;
        justify-content: center;
        padding-top: 1.6rem;
        padding-bottom: 1.6rem;
        font-size: var(--fs-base);
    }

    header.site.overlay .menu-cta .btn {
        outline-color: var(--gold);
        border-color: var(--gold);
        color: var(--paper);
    }

    .menu-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.4rem;
        margin-top: auto;
        padding: 4.8rem var(--gutter) calc(3.2rem + env(safe-area-inset-bottom, 0px));
        background: var(--navy-deep);
        color: var(--hero-sub);
        text-align: center;
    }

    .exp-link-inner {
        padding: 1.6rem 1.2rem;
    }

    .oppo {
        height: 100%;
    }

    .section-head--flex .section-head-inner {
        max-width: 40rem;
    }

    .exp-link .t {
        font-size: 1.8rem;
    }

    .exp-link .t small {
        font-size: var(--fs-2xs);
    }

    .menu-foot-logo {
        width: 13rem;
        height: auto;
    }

    .menu-foot p {
        max-width: 50ch;
        margin: 0;
        font-size: var(--fs-sm);
        line-height: var(--line-h-sm);
    }

    .menu-social,
    .menu-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2.4rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .menu-social a,
    .menu-legal a {
        color: var(--hero-sub);
        text-decoration: none;
    }

    .menu-social a {
        display: inline-flex;
        align-items: center;
        gap: 0.8rem;
        font-size: var(--fs-sm);
        line-height: 1;
    }

    .menu-social .icon {
        flex: none;
        width: 1.6rem;
        height: 1.6rem;
        color: var(--gold);
        position: relative;
        top: -2px;
    }

    .menu-social {
        gap: 4rem;
    }

    .menu-legal {
        width: 100%;
        max-width: 60rem;
        padding-top: 1.8rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        font-size: var(--fs-xs);
        position: relative;
        column-gap: 0;
    }

    .menu-legal::before {
        content: '';
        width: 100%;
        height: 1px;
        position: absolute;
        top: -5px;
        left: 0;
        background-color: rgba(255, 255, 255, 0.12);
    }

    .cta-sticky {
        position: fixed;
        right: calc(var(--gutter) + 4px);
        bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
        z-index: 60;
        display: inline-flex;
        box-shadow: 0 12px 30px rgba(7, 21, 35, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(1.6rem);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
        outline-offset: -4px;
        outline-color: var(--card);
    }

    .exp-hero-visual img, 
    .exp-hero-visual .visual-placeholder {
        aspect-ratio: 8 / 10;
    }

    .exp-content .lede {
        line-height: 1.55;
    }

    .single-expertise .entry-content.exp-content h2 {
        font-size: 2.2rem;
    }

    .entry-content .encadre h3 {
        font-size: 2rem;
        font-weight: 600;
    }

    .entry-content .encadre {
        padding: 2rem 2rem 1.6rem;
    }

    .aside-lawyer img, 
    .aside-lawyer .mono {
        width: 4.4rem;
        height: 4.4rem;
        outline-offset: 3px;
    }

    .aside-lawyer a {
        font-size: var(--fs-sm);
    }

    .aside-lawyer strong {
        font-size: var(--fs-sm);
    }

    .section-head {
        margin-bottom: 4rem;
    }

    .sit .q {
        font-size: 2rem;
        line-height: 1.25;
    }

    .sit {
        gap: 7rem;
    }

    .section--flex {
        gap: 2rem;
    }

    .faq summary {
        padding: 20px 56px 20px 4px;
        font-size: var(--fs-base);
    }

    .faq-toggle {
        width: 2.5rem;
        height: 2.5rem;
    }

    form.contact {
        padding: 2rem;
    }

    .contact-info h2, 
    .contact-info h1 {
        font-size: 2.6rem;
        font-weight: 500;
    }

    .contact-intro {
        margin-block: 1.2rem 0;
    }

    .contact-card {
        margin-top: 3rem;
    }

    .contact-card .row {
        padding: 1.6rem 0;
    }

    form.contact h3 {
        font-size: 2rem;
    }

    form.contact .form-sub {
        font-size: var(--fs-sm);
    }

    .field input, 
    .field select, 
    .field textarea {
        padding: 12px;
    }

    .field select {
        background-size: 1rem auto;
    }

    .modal-head h3 {
        font-size: 2.2rem;
        font-weight: 500;
    }


    .qquestion {
        font-size: var(--fs-xl);
    }

    .modal-body h4 {
        font-size: 2.2rem;
    }

    .postid-69 .exp-hero-visual img, 
    .postid-81 .exp-hero-visual img, 
    .postid-69 .exp-hero-visual .visual-placeholder, 
    .postid-81 .exp-hero-visual .visual-placeholder {
        aspect-ratio: 8 / 12;
    }

    .exp-hero h1 {
        font-size: 4.2rem;
    }

    .breadcrumb {
        display: none;
    }

    .page-hero.paper-band, 
    .exp-hero.paper-band, 
    .lawyer-hero.paper-band {
        border-top: none;
    }

    body:has(header.site.scrolled) .cta-sticky {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }

    body:has(header.site.scrolled) .cta-sticky.is-at-footer {
        opacity: 0;
        visibility: hidden;
        transform: translateY(1.6rem);
        transition-delay: 0s, 0s, 0.3s;
    }

    body:has(header.site.menu-open) .cta-sticky,
    body:has(.picked-bar:not([hidden])) .cta-sticky,
    .page-template-page-contact .cta-sticky {
        display: none;
    }

    @media (prefers-reduced-motion: reduce) {
        .cta-sticky {
            transition: none;
        }
    }

    header.site::after {
        display: none;
    }

    .page-hero .breadcrumb {
        display: none;
    }

    .page-hero h1 {
        font-size: 4.5rem;
    }

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

    .mega {
        position: static;
        display: none;
        flex-basis: 100%;
        width: 100%;
        margin: 0;
        padding: 0 0 1.6rem;
        background: none;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .mega::before {
        display: none;
    }

    .menu-item.open > .mega {
        display: block;
    }

    .mega--expertises .mega-grid,
    .mega--cabinet .mega-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .mega-link {
        border: 0;
        outline: 0;
    }

    .mega-link.fill-hover {
        --fill-color: transparent;
        --fill-text: var(--gold);
    }

    @media (hover: hover) and (pointer: fine) {
        .mega-link:hover {
            background: none;
        }
    }

    .mega--cabinet .mega-link {
        flex-direction: row;
    }

    .mega-link-content {
        padding: 1rem 0;
        background: none;
    }

    .mega-img,
    .mega-desc {
        display: none;
    }

    .mega-title {
        font-family: var(--font-body);
        font-size: var(--fs-md);
        line-height: 1.3;
    }

    .mega-all {
        display: block;
    }

    .mega-all a {
        display: inline-flex;
        align-items: center;
        gap: 0.8rem;
        padding: 1.4rem 0 0.4rem;
        color: var(--gold);
        font-size: var(--fs-xs);
        font-weight: 600;
        letter-spacing: 0.15rem;
        text-transform: uppercase;
        text-decoration: none;
    }

    @media (hover: hover) and (pointer: fine) {
        .mega-all a:hover .arr {
            transform: translateX(4px);
        }
    }

    /* Colonnes collantes */
    .section-head-sticky,
    .entry-cta,
    .reprise-aside {
        position: static;
    }

    .picked-bar:not([hidden]) {
        display: flex !important;
    }

    .hero-meta {
        gap: 3rem;
    }

    .toc-layout {
        grid-template-columns: 19rem minmax(0, 1fr);
        gap: 3rem;
    }

    .entry-main {
        gap: 4rem;
    }

    .toc-title {
        margin: 0 0 1rem;
    }

    .entry-content h2 {
        font-size: 2rem;
    }

    .entry-content li {
        margin-bottom: 4px;
    }

    .entry-content ul li::before {
        top: 7.5px;
    }

    .step {
        padding: 0 3rem 0 0;
    }

    .footer-legal-illustration {
        width: 46rem;
    }

    .entry-cta {
        flex-basis: 30rem;
    }

    .fees-band h2 {
        font-size: 2.8rem;
    }

    .carousel {
        margin-inline: 4px;
    }

    .entry-content.exp-content h2 {
        font-size: 2.2rem;
    }

    .toc a {
        padding: 5px 0 5px 12px;
        font-size: var(--fs-xs);
    }

    .cabinet-intro .entry-content h2 {
        font-size: 3.4rem;
    }

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

    #methode h2 {
        max-width: 35ch;
        line-height: 1.2;
    }

    .step h3 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .toc-legal {
        padding: 1.2rem;
    }

    .toc-legal li {
        font-size: var(--fs-xs);
    }

    .contact-card .row {
        flex-direction: column;
        gap: 0.8rem;
    }

    .contact-card .lbl,
    .page-template-page-avocat .contact-card .lbl {
        flex: none;
    }

    .reprise-layout {
        grid-template-columns: 1fr;
    }

    /* Carrousels aimantés (équipe, annonces de l'accueil). Largeur des cartes et écart : règle de chaque grille. */
    .carousel > .carousel-track {
        grid-template-columns: none;
        grid-auto-flow: column;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        margin: -0.8rem calc(-1 * var(--gutter));
        padding: 0.8rem var(--gutter);
        scrollbar-width: none;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    .carousel-track > * {
        scroll-snap-align: start;
    }

    /* Une carte hors champ ne déclencherait pas sa révélation : elles restent visibles. */
    .js .carousel-track .reveal {
        opacity: 1;
        transform: none;
    }

    .carousel-nav:not([hidden]) {
        display: flex;
    }

    /* Équipe : deux fiches et l'amorce de la suivante */
    .team-grid {
        grid-auto-columns: 42%;
        gap: 2rem;
    }

    /* Annonces de l'accueil : les huit, cartes de 32rem au plus */
    #reprendre .oppo:nth-child(n+4) {
        display: flex;
    }

    /* Chaque carte garde sa hauteur : celles qui portent « Le mot du cabinet » sont presque deux fois plus hautes. */
    .carousel > .oppo-grid {
        grid-auto-columns: min(32rem, calc(100% - 4rem));
        align-items: start;
    }

    /* Expertises de l'accueil : cartes de 32rem au plus (la page « Expertises » garde sa grille) */
    .carousel > .exp-cards {
        grid-auto-columns: min(32rem, calc(100% - 4rem));
    }

    /* Footer */
    .foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem 3rem;
        align-items: flex-end;
    }

    .foot-grid > div:nth-child(2),
    .foot-grid > div:nth-child(3) {
        display: none;
    }

    .foot-sep {
        margin: 0 .9rem;
    }

    .foot-grid > div:nth-child(4) {
        justify-self: end;
        width: 100%;
        max-width: 22rem;
    }

    .foot-contact:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {

    :root {
        --section-space: 7.2rem;
        --gutter: 2.4rem;
    }

    /* Header */
    .nav {
        padding-top: 1.4rem;
        padding-bottom: 1.4rem;
    }

    .brand-picto {
        height: 5.6rem;
    }

    .brand-word {
        height: 4.6rem;
    }

    header.site.scrolled .brand-picto {
        height: 4.8rem;
    }

    /* Titres */
    .section-head h2 {
        font-size: 3.2rem;
        line-height: 1.15;
    }

    .hero .h1-main {
        font-size: 5.6rem;
    }

    .hero .h1-sub {
        margin-top: 2rem;
        font-size: 2rem;
    }

    .fees-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }

    .page-hero h1,
    .exp-hero h1 {
        font-size: 4.4rem;
        line-height: 1.1;
    }

    .contact-info h2,
    .contact-info h1,
    .page-template-page-avocat .contact-info h2 {
        font-size: 3.2rem;
    }

    .single-expertise .aside-lawyers {
        margin-top: 4rem;
        border: 1px solid var(--line);
        background-color: var(--card);
        padding: 3rem;
        outline: 1px solid var(--line);
        outline-offset: -6px;
    }

    .single-expertise .aside-lawyers .toc-title {
        margin: 0 0 1.4rem;
    }

    .toc-title-field {
        display: inline;
    }

    .single-expertise .aside-lawyer:last-child {
        margin-bottom: 0;
    }

    .related-posts h2 {
        font-size: 3.4rem;
    }

    .fees-band h2 {
        font-size: 2.6rem;
    }

    .contact-more h2,
    .cabinet-intro .entry-content h2 {
        font-size: 3rem;
    }

    .entry-content h2 {
        font-size: 2.2rem;
    }

    .contact-illustration {
        width: 10rem;
    }

    .page-hero h1, 
    .exp-hero h1 {
        font-size: 3.8rem;
        line-height: 1.1;
    }

    .page-intro {
        font-size: var(--fs-base);
    }

    .foot-legal > span:last-child {
        display: none;
    }

    .foot-legal > span:first-child {
        text-align: center;
    }

    .entry-content.exp-content h2,
    .single-expertise .entry-content.exp-content h2 {
        font-size: 2rem;
    }

    .avocat-footer-illustration-img {
        width: 40rem;
    }

    .sit .q {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    /* Hero */
    .hero-video .hero-inner {
        padding-top: calc(7rem + var(--header-h, 100px));
        padding-bottom: 8rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 2.4rem;
        margin-top: 5rem;
    }

    .page-hero .wrap {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }

    .page-hero-illustration {
        width: 100%;
        opacity: 0.15;
    }

    .menu-item > a {
        font-size: 2.2rem;
    }

    .exp-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 4rem;
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .exp-hero .exp-hero-visual img,
    .exp-hero .exp-hero-visual .visual-placeholder {
        aspect-ratio: 1 / 1;
    }

    .cabinet-logo-illustration {
        width: 10rem;
    }

    .lawyer-hero-visual {
        max-width: 100%;
    }

    .exp-hero .lawyer-hero-visual img,
    .exp-hero .lawyer-hero-visual .visual-placeholder {
        aspect-ratio: 1 / 1;
    }

    .exp-hero .lead {
        margin-bottom: 4rem;
    }

    /* Sections */
    .section-head {
        margin-bottom: 4rem;
    }

    .section--flex {
        flex-direction: column;
        gap: 4rem;
    }

    .page-template-page-cabinet #faq .section--flex {
        gap: 0;
    }

    .page-template-page-reprendre .aside-lawyers {
        border-bottom: 1px solid var(--line);
        padding-bottom: .7rem;
    }

    .sit {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 2rem 8px;
    }

    .mega-title {
        font-size: var(--fs-base);
    }

    .mega-link-content {
        padding: .6rem 0;
    }

    .mega-all a {
        font-size: var(--fs-2xs);
    }

    .team-head {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 4rem;
    }

    .mega-all .arr svg {
        width: 1.4rem;
        height: 1.4rem;
    }

    .burger {
        font-size: var(--fs-2xs);
    }

    .burger-icon {
        background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
    }

    .burger-icon::before, 
    .burger-icon::after {
        height: 1px;
    }

    .hero-meta .t {
        font-size: 1.6rem;
    }

    .hero-meta .icon {
        width: 2rem;
        height: 2rem;
        margin-bottom: 1rem;
    }

    .section-head h2 {
        font-size: 3rem;
    }

    .section-head p {
        font-size: var(--fs-base);
    }

    .exp-card h2, 
    .exp-card h3 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .exp-card p {
        font-size: var(--fs-sm);
        margin-bottom: 2rem;
    }

    .step::before, 
    .exp-card-body::before {
        font-size: 2.6rem;
        color: var(--gold);
        -webkit-text-stroke: initial;
        font-weight: 300;
    }

    .exp-card .mark {
        width: 2rem;
    }

    .team-duo {
        max-width: 100%;
        margin: 0 4px;
    }

    /* Une fiche horizontale et l'amorce de la suivante */
    .team-grid {
        grid-auto-columns: calc(100% - 6rem);
    }

    .lawyer {
        flex-direction: row;
    }

    .lawyer .photo {
        flex: 0 0 38%;
        aspect-ratio: auto;
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 3em;
    }

    .step {
        padding: 0;
    }

    .section-head--flex .section-head-inner {
        max-width: 34rem;
    }

    .step + .step {
        padding: 2.8rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    /* Grilles de cartes */
    .exp-cards,
    .exp-links,
    .oppo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    /* Grilles « texte + colonne » */
    .contact-grid,
    .toc-layout,
    .reprise-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .toc-layout {
        padding-top: 5rem;
        padding-bottom: 5rem;
        margin-bottom: 5rem;
    }

    .single-expertise .toc-layout,
    .page-template-page-avocat .toc-layout,
    .page-template-page-reprendre .toc-layout {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .toc-legal {
        display: none;
    }

    /* Colonne empilée : collante, elle recouvrirait le texte */
    .toc-aside {
        position: static;
    }

    .lawyer-aside {
        grid-column: auto;
        grid-row: auto;
        padding: 3rem;
        background-color: var(--card);
        border: 1px solid var(--line);
        outline: 1px solid var(--line);
        outline-offset: -7px;
    }

    .lawyer-aside .aside-links:nth-child(2) {
        border-bottom: 1px solid var(--line);
        padding-bottom: 2rem;
    }

    .lawyer-aside .toc-title:last-of-type {
        border-top: 1px solid var(--line);
        padding-top: 2.6rem;
    }

    .lawyer-aside .toc-title:last-of-type {
        border-top: 1px solid var(--line);
    }

    /* Sommaire : une rangée défilante, jusqu'aux bords de l'écran */
    .toc ol {
        display: flex;
        flex-wrap: nowrap;
        gap: 2.4rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        margin-inline: calc(-1 * var(--gutter));
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        box-shadow: inset 0 -1px 0 var(--line);
    }

    .toc ol::-webkit-scrollbar {
        display: none;
    }

    .toc li {
        flex: none;
        scroll-snap-align: start;
    }

    .toc a {
        padding: 1rem 0;
        border-left: 0;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
    }

    .toc a.is-active {
        border-bottom-color: var(--gold);
    }

    .toc a:focus-visible {
        outline-offset: -2px;
    }

    .entry {
        padding: 5rem var(--gutter) 7rem;
    }

    .entry-main {
        flex-direction: column;
        gap: 5rem;
    }

    .entry-cta {
        flex: none;
    }

    .related-posts-wrapper {
        padding: 5rem var(--gutter) 7rem;
    }

    .fees-band {
        padding: 4rem;
        margin-bottom: 7rem;
    }

    /* Contact */
    .contact-map {
        width: 100%;
        min-height: 36rem;
    }

    /* Footer */
    footer.site {
        padding: 6rem 0 3rem;
    }

    .foot-grid {
        margin-bottom: 5rem;
    }

    .foot-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-legal-illustration {
        margin-bottom: 6rem;
        width: 40rem;
    }

    .avocat-footer-illustration {
        padding-top: 6rem;
        padding-bottom: 7rem;
    }
}

@media (max-width: 599px) {

    :root {
        --section-space: 9rem;
        --gutter: 1.6rem;
    }

    /* Header */
    .menu-item > a {
        padding: 1.5rem 0;
        font-size: 1.8rem;
    }

    .mega-all .arr svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .mega-all .arr {
        position: relative;
        top: -0.5px;
    }

    .menu-cta .btn {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
        font-size: var(--fs-sm);
    }

    .menu-foot-logo {
        width: 10rem;
    }

    #cabinet-map.leaflet-touch .leaflet-bar a {
        line-height: 29px!important;
    }

    .blog .page-hero h1 {
        font-size: 3.2rem;
    }

    .single-post .page-hero h1 {
        font-size: 2.8rem;
    }

    .single-post .page-hero .meta {
        font-size: var(--fs-xs);
    }

    .eyebrow {
        letter-spacing: 0.1rem;
    }

    .page-template-page-reprendre .exp-hero h1 {
        font-size: 3.4rem;
    }

    .picked-bar .go {
        font-size: var(--fs-sm);
    }

    .picked-bar .go .arr {
        top: 0.5px;
    }

    #picked-bar-label {
        font-size: var(--fs-sm);
    }

    .exp-hero .kicker {
        letter-spacing: 0.16rem;
    }

    .avocat-footer-illustration-img {
        width: 26rem;
    }

    .qok .tickbig {
        width: 2rem;
        height: 2rem;
    }

    .modal-body h4 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .qquestion {
        font-size: var(--fs-base);
    }

    .entry-cta h2 {
        font-size: 2rem;
    }

    #cabinet-map.leaflet-touch .leaflet-control-zoom-in, 
    #cabinet-map.leaflet-touch .leaflet-control-zoom-out {
        font-size: 16px!important;
        font-weight: 400!important;
    }

    .entry-content h2 {
        font-size: 2rem;
    }

    .footer-legal-illustration {
        margin-bottom: 6rem;
        width: 29rem;
    }

    .menu-foot p {
        font-size: var(--fs-2xs);
        line-height: 1.5;
    }

    .menu-legal {
        font-size: var(--fs-2xs);
    }

    .hero .kicker {
        font-size: var(--fs-3xs);
    }

    .hero .kicker::after {
        display: none;
    }

    .menu-social a {
        gap: 0.6rem;
        font-size: var(--fs-2xs);
    }

    .menu-social {
        gap: 3rem;
    }

    .mega-all a {
        font-size: var(--fs-3xs);
    }

    .sub-toggle {
        padding: 1.5rem 1.2rem;
    }

    .menu-cta {
        padding-bottom: 4rem;
    }

    .cta-sticky {
        left: var(--gutter);
        justify-content: center;
    }

    .brand-picto {
        height: 4.8rem;
    }

    .brand-word {
        height: 3.8rem;
    }

    header.site.scrolled .brand-picto {
        height: 4.4rem;
    }

    /* Titres */
    .section-head h2 {
        font-size: 2.6rem;
    }

    .hero .h1-main {
        font-size: 4.2rem;
    }

    .hero .h1-sub {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .btn {
        padding: 1rem 1.4rem;
    }

    .hero-ctas {
        gap: 1.5rem;
    }

    .eyebrow {
        font-size: var(--fs-3xs);
        gap: 1rem;
    }


    .sit {
        padding: 1.6rem 8px;
    }

    .eyebrow::before {
        width: 5px;
        height: 5px;
    }

    .page-hero h1,
    .exp-hero h1 {
        font-size: 3.8rem;
    }

    .single-expertise .aside-lawyers .toc-title {
        letter-spacing: 0.1rem;
    }

    .exp-content .lede {
        font-size: var(--fs-base);
    }

    .contact-info h2,
    .contact-info h1,
    .page-template-page-avocat .contact-info h2,
    .related-posts h2 {
        font-size: 2.8rem;
    }

    .contact-more h2,
    .cabinet-intro .entry-content h2 {
        font-size: 2.6rem;
    }

    .fees-band h2,
    .exp-card h2,
    .exp-card h3,
    .lawyer h3 a.lawyer-link,
    .modal-title {
        font-size: 2rem;
    }

    .step::before, 
    .exp-card-body::before {
        font-size: 2.2rem;
    }

    .carousel-nav,
    .carousel-nav:not([hidden]) {
        display: none;
    }

    .actus-grid .link-arrow span {
        top: 0.5px;
    }

    .foot-grid > div:nth-child(4) {
        display: none;
    }

    .foot-brand {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .foot-brand p {
        max-width: 50ch;
    }

    .foot-logo img {
        width: 12rem;
    }

    .exp-link-inner .arr {
        top: 3.5px;
    }

    footer.site li {
        font-size: var(--fs-xs);
    }

    body:has(header.site.scrolled) .cta-sticky {
        padding-block: 1.3rem;
    }

    .actu h3,
    .step h3 {
        font-size: 2.1rem;
    }

    .eng h3 {
        font-size: 2rem;
    }

    .sit .q,
    .exp-link .t {
        font-size: 1.7rem;
    }

    .hero-ctas.home-ctas .btn.btn-primary.fill-hover {
        display: none;
    }

    .hero .kicker::before, 
    .hero .kicker::after {
        width: 20px;
    }

    .hero .kicker {
        letter-spacing: 0.2em;
    }

    .sit .r {
        font-size: var(--fs-2xs);
    }

    .section-head--flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }

    .entry-content.exp-content h2,
    .single-expertise .entry-content.exp-content h2 {
        font-size: 2.2rem;
    }

    /* Textes */
    .section-head p,
    .page-intro {
        font-size: var(--fs-base);
        line-height: 1.45;
    }

    .exp-hero .lead {
        font-size: var(--fs-base);
        line-height: 1.5;
    }

    .faq summary {
        padding: 2rem 4.8rem 2rem 4px;
        font-size: var(--fs-base);
        line-height: 1.45;
    }

    .arr {
        top: -.5px;
    }

    .link-arrow span {
        top: 0px;
    }

    .carousel-btn {
        width: 3.8rem;
        height: 3.8rem;
    }

    .carousel-btn .arr svg {
        width: 1.4rem;
        height: 1.4rem;
    }

    .cta-line,
    .contact-card a {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .carousel-nav {
        gap: .8rem;
    }

    .sit .r {
        white-space: normal;
    }

    /* Hero */
    .hero-video .hero-inner {
        padding-top: calc(5rem + var(--header-h, 80px));
        padding-bottom: 7rem;
    }

    .hero-pause {
        right: 1.6rem;
        bottom: 1.6rem;
    }

    .breadcrumb,
    .page-hero .breadcrumb {
        margin-bottom: 3rem;
    }

    /* Cartes */
    .exp-cards,
    .exp-links,
    .oppo-grid,
    .reprise-grid,
    .eng-grid,
    .field-row,
    .foot-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .team-grid {
        grid-auto-columns: calc(100% - 4rem);
        gap: 1.6rem;
    }

    .lawyer {
        flex-direction: column;
    }

    .lawyer .photo {
        flex: none;
        aspect-ratio: 5 / 4;
    }

    .lawyer-body {
        padding: 2.4rem;
    }

    .actu-link {
        padding: 2.8rem 2.4rem;
    }

    .exp-card-body {
        padding: 2.6rem 2.4rem;
    }

    .eng {
        padding: 3rem 2.4rem;
    }

    .fees-band {
        padding: 3rem 2.4rem;
    }

    .entry-cta {
        padding: 2.8rem 2.4rem;
    }

    .entry-content .encadre {
        padding: 2.4rem 2rem;
    }

    .toc-layout {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .entry-footer .nav-links {
        flex-direction: column;
    }

    .brand {
        gap: 8px;
    }

    .burger {
        gap: .7rem;
        font-size: var(--fs-3xs);
        letter-spacing: 0.08rem;
        text-transform: uppercase;
    }

    .burger-label {
        position: relative;
        top: 1px;
    }

    /* Formulaires et fenêtres */
    form.contact {
        padding: 2.8rem 2rem;
    }

    form.contact.reprise-form {
        padding: 2.4rem 2rem;
    }

    dialog {
        width: calc(100% - 2.4rem);
        max-height: 90dvh;
    }

    .modal-head {
        padding: 2rem 2rem 1.6rem;
    }

    .modal-body {
        padding: 2rem 2rem 2.8rem;
    }

    .qprogress {
        margin-inline: 2rem;
    }

    /* Contact */
    .contact-map {
        min-height: 30rem;
    }

    .contact-directions {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    /* Footer */
    .foot-legal {
        font-size: var(--fs-2xs);
    }
}
