/* ==========================================================================
   Cindy Frigerio Avocat — feuille de style du site
   Identité : lillysou. Palette et typographies issues du branding :
   #B8B386 signature · #868AB7 secondaire · #1C1917 · #44403C · #F1F1F1
   Playfair Display (titres) · Montserrat (texte, comme « avocat » dans le logo)
   ========================================================================== */

:root {
	--ink: #1C1917;
	--stone: #44403C;
	--paper: #F1F1F1;
	--white: #FFFFFF;
	--sage: #B8B386;
	--sage-deep: #908D69;
	--lavender: #868AB7;
	--line: rgba(28, 25, 23, .14);
	--line-strong: rgba(28, 25, 23, .32);

	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: Montserrat, "Helvetica Neue", Arial, sans-serif;

	--maxw: 1320px;
	--gutter: clamp(20px, 5vw, 72px);
	--inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
	--sec: clamp(88px, 11vw, 168px);
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .1, 1);
}

@media (max-width: 767px) {
	:root { --header-h: 68px; }
}

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

/* No elastic overscroll: at the end of the page the dark footer must not lift off a white canvas. */
html, body { overscroll-behavior-y: none; }
/* Browsers that still bounce show the canvas: make it the footer colour once the end of the page is reached. */
html { background-color: var(--white); }
html.cf-at-end { background-color: var(--ink); }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
:where(.wp-site-blocks) > * { margin-block: 0; }
.cf-main, .cf-content { margin: 0; }
.cf-content > * { margin-block: 0 !important; }
.cf-main { padding-top: var(--header-h); }

img { max-width: 100%; height: auto; }
figure { margin: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: inherit; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em, p em { font-style: italic; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
strong { font-weight: 600; }
.cf-nw { white-space: nowrap; }

::selection { background: var(--sage); color: var(--ink); }

:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }

.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;
}

.cf-skip {
	position: absolute; left: 16px; top: -100px; z-index: 200;
	background: var(--ink); color: var(--white); padding: 12px 18px; text-decoration: none;
	font-size: .875rem;
}
.cf-skip:focus { top: 12px; }

/* WordPress adds a top margin between flow blocks; inside these grids it would misalign the columns. */
.cf-hero > .cf-hero__text, .cf-hero > .cf-hero__media, .cf-hero > .cf-facts, .cf-split > *, .cf-contact > *, .cf-place > *, .cf-local > *, .cf-cabinet__grid > *, .cf-steps__head > *, .cf-steps__grid > *, .cf-cases > *, .cf-exp-list > * { margin-block-start: 0 !important; }
@media (min-width: 900px) { .cf-chapter > * { margin-block-start: 0 !important; } }

.cf-wrap { padding-inline: var(--inline); }
.cf-content > section, .cf-content > .cf-related { padding-inline: var(--inline); }

/* Typographic system ------------------------------------------------------ */

.cf-eyebrow {
	display: flex; align-items: center; gap: 14px;
	font-family: var(--sans); font-size: .75rem; font-weight: 500;
	letter-spacing: .3em; line-height: 1.4;
	color: var(--stone);
	margin-bottom: 28px;
}
.cf-eyebrow::before {
	content: ""; flex: 0 0 32px; height: 1px; background: var(--sage);
}
@media (max-width: 599px) {
	.cf-eyebrow { letter-spacing: .2em; gap: 12px; }
	.cf-eyebrow::before { flex-basis: 22px; }
}
.cf-num {
	font-family: var(--serif); font-style: italic; font-weight: 400;
	letter-spacing: 0; font-size: 1.15em; font-variant-numeric: lining-nums;
}
.cf-eyebrow .cf-num { font-size: 1rem; color: var(--ink); }

.cf-display {
	font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem);
	line-height: 1.06; letter-spacing: -.015em;
	max-width: 17ch;
}
.cf-display em { color: var(--stone); }

.cf-lead {
	font-size: clamp(1.125rem, 1rem + .55vw, 1.4rem);
	line-height: 1.6; font-weight: 300;
	color: var(--stone);
	max-width: 46ch;
}

.cf-kicker {
	font-family: var(--sans); font-size: .75rem; font-weight: 600;
	letter-spacing: .22em; text-transform: uppercase;
	color: var(--stone); margin-bottom: 16px;
}

/* Actions ----------------------------------------------------------------- */

.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }

.cf-btn,
.wpcf7 .cf-btn,
.wpcf7-submit.cf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 28px;
	border: 1px solid var(--ink); border-radius: 0;
	background: linear-gradient(var(--sage), var(--sage)) no-repeat 0 0 / 0% 100%, var(--ink);
	color: var(--white);
	font-family: var(--sans); font-size: .78rem; font-weight: 500;
	letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	cursor: pointer;
	transition: background-size .5s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.cf-btn:hover, .cf-btn:focus-visible { background-size: 100% 100%; color: var(--ink); border-color: var(--sage); }

.cf-btn--light, .cf-footer .cf-btn--light { background-color: var(--paper); color: var(--ink); border-color: var(--paper); }
.cf-btn--light:hover, .cf-btn--light:focus-visible, .cf-footer .cf-btn--light:hover, .cf-footer .cf-btn--light:focus-visible { border-color: var(--sage); }

.cf-link {
	position: relative; display: inline-flex; align-items: center; gap: 10px;
	padding-bottom: 4px;
	font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .45s var(--ease), color .3s;
}
.cf-link::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: transform .45s var(--ease); }
.cf-link[href^="tel:"]::after { content: none; }
.cf-link[href^="tel:"] { font-size: 1rem; letter-spacing: .08em; }
.cf-link:hover { background-size: 35% 1px; }
.cf-link:hover::after { transform: translateX(6px); }
.cf-link--light { color: var(--paper); }

/* Header ------------------------------------------------------------------ */

.cf-site-header { position: fixed; inset: 0 0 auto; z-index: 100; }
/* Logged in: sit below the WordPress admin bar (it scrolls away below 601px). */
@media (min-width: 783px) { .admin-bar .cf-site-header { top: 32px; } }
@media (max-width: 782px) { .admin-bar .cf-site-header { top: 46px; } }
.cf-header { position: relative; }
.cf-header__inner {
	position: relative; z-index: 2;
	display: flex; align-items: center; gap: 32px;
	height: var(--header-h);
	padding-inline: var(--inline);
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .4s, transform .5s var(--ease), background-color .4s;
}
.is-scrolled .cf-header__inner { border-bottom-color: var(--line); }

.cf-header__logo { display: block; flex: 0 0 auto; margin-right: auto; line-height: 0; }
.cf-header__logo img { width: auto; height: 39px; }

.cf-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.cf-nav__link {
	position: relative; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 0; border: 0; background: none; cursor: pointer;
	font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ink); text-decoration: none;
}
.cf-nav__link::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
	background: var(--sage-deep); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.cf-nav__link:hover::before, .cf-nav__link[aria-current]::before, .cf-nav__link[aria-expanded="true"]::before { transform: scaleX(1); transform-origin: left; }
.cf-nav__chevron { width: 7px; height: 7px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); }
[aria-expanded="true"] > .cf-nav__chevron { transform: translateY(1px) rotate(225deg); }

.cf-nav__item--sub { position: relative; }
.cf-nav__sub {
	position: absolute; top: calc(100% + 18px); left: -28px; min-width: 300px;
	list-style: none; margin: 0; padding: 14px 0;
	background: var(--white); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.cf-nav__sub::before { content: ""; position: absolute; inset: -19px 0 auto; height: 19px; }
.cf-nav__item--sub.is-open .cf-nav__sub {
	opacity: 1; visibility: visible; transform: none;
	transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s;
}
@media (hover: hover) {
	.cf-nav__item--sub:hover .cf-nav__sub { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }
}
.cf-nav__sub a {
	display: flex; align-items: baseline; gap: 16px; padding: 12px 28px;
	font-family: var(--serif); font-size: 1.2rem; text-decoration: none; color: var(--ink);
	transition: background-color .3s, padding-left .4s var(--ease);
}
.cf-nav__sub a .cf-num { font-size: .85rem; color: var(--stone); }
.cf-nav__sub a:hover, .cf-nav__sub a[aria-current] { background: var(--paper); padding-left: 34px; }

.cf-header__phone {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	border: 1px solid var(--ink); color: var(--ink); text-decoration: none;
	font-size: .82rem; font-weight: 500; letter-spacing: .08em;
	transition: background-color .35s var(--ease), color .35s var(--ease);
}
.cf-header__phone:hover { background: var(--ink); color: var(--white); }
.cf-header__phone-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.cf-burger {
	display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 0 0 6px;
	border: 0; background: none; cursor: pointer; color: var(--ink);
	font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.cf-burger__lines { position: relative; width: 26px; height: 9px; }
.cf-burger__lines span { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.cf-burger__lines span:first-child { top: 0; }
.cf-burger__lines span:last-child { top: 8px; }
.cf-burger[aria-expanded="true"] .cf-burger__lines span:first-child { top: 4px; transform: rotate(45deg); }
.cf-burger[aria-expanded="true"] .cf-burger__lines span:last-child { top: 4px; transform: rotate(-45deg); }

.cf-menu {
	position: fixed; inset: 0; z-index: 1;
	display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
	padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
	background: var(--paper); overflow-y: auto;
	opacity: 0; transition: opacity .4s var(--ease);
}
.cf-menu::before {
	content: ""; position: absolute; right: -18%; bottom: -6%; width: 85vw; aspect-ratio: 900 / 862; pointer-events: none;
	background: var(--sage); opacity: .22;
	-webkit-mask: url(../img/monogramme.webp) no-repeat center / contain; mask: url(../img/monogramme.webp) no-repeat center / contain;
}
.cf-menu.is-open { opacity: 1; }
/* Closed menu must not exist for the pointer: display:flex above would otherwise override [hidden]. */
.cf-menu[hidden] { display: none; }
.cf-menu:not(.is-open) { pointer-events: none; }
.cf-menu__list { position: relative; list-style: none; margin: 0; padding: 0; }
.cf-menu__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cf-menu.is-open .cf-menu__list li { opacity: 1; transform: none; }
.cf-menu.is-open .cf-menu__list li:nth-child(2) { transition-delay: .04s; }
.cf-menu.is-open .cf-menu__list li:nth-child(3) { transition-delay: .08s; }
.cf-menu.is-open .cf-menu__list li:nth-child(4) { transition-delay: .12s; }
.cf-menu.is-open .cf-menu__list li:nth-child(5) { transition-delay: .16s; }
.cf-menu.is-open .cf-menu__list li:nth-child(6) { transition-delay: .2s; }
.cf-menu.is-open .cf-menu__list li:nth-child(7) { transition-delay: .24s; }
.cf-menu__list a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; text-decoration: none; color: var(--ink); }
.cf-menu__exp a { padding-left: 4px; font-size: clamp(1.3rem, 5vw, 1.7rem); font-style: italic; }
.cf-menu__exp .cf-num { font-size: .9rem; color: var(--stone); font-style: normal; }
.cf-menu__contact { position: relative; display: grid; gap: 6px; font-size: .95rem; }
.cf-menu__contact a { text-decoration: none; }
.cf-menu__phone { font-family: var(--serif); font-size: 1.8rem; }
.cf-menu__contact p { color: var(--stone); }

@media (max-width: 1199px) {
	.cf-nav { display: none; }
	.cf-burger { display: inline-flex; }
	.cf-header__inner { gap: 16px; }
}
@media (min-width: 1200px) {
	.cf-menu { display: none !important; }
}
@media (max-width: 479px) {
	.cf-header__logo img { height: 27px; }
	.cf-header__phone { padding: 0 12px; font-size: 0; }
	.cf-header__phone-num::before { content: "Appeler"; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
	.cf-burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 359px) {
	.cf-header__logo img { height: 21px; }
}

/* Hero -------------------------------------------------------------------- */

.cf-hero {
	position: relative;
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px);
	align-items: end;
	padding-top: clamp(48px, 9vh, 120px); padding-bottom: clamp(56px, 8vw, 112px);
}
.cf-hero > * { grid-column: 1 / -1; }
.cf-hero__text { grid-column: 1 / span 7; position: relative; z-index: 1; padding-bottom: clamp(0px, 4vw, 48px); }
.cf-hero__media { grid-column: 8 / -1; position: relative; overflow: hidden; background: var(--paper); }
.cf-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.cf-hero__title { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.75rem); line-height: 1.02; letter-spacing: -.02em; max-width: 15ch; }
.cf-hero__title em { color: var(--stone); }
.cf-hero__title + .cf-lead { margin-top: 32px; }

.cf-breadcrumb { margin-bottom: 40px; font-size: .78rem; letter-spacing: .06em; color: var(--stone); }
.cf-breadcrumb a { text-decoration: none; }
.cf-breadcrumb a:hover { text-decoration: underline; }
.cf-breadcrumb span { margin-inline: 8px; color: var(--sage-deep); }

/* Home hero: the name as a typographic signature, the robe as the image. */
.cf-hero--home { min-height: calc(100svh - var(--header-h)); padding-top: clamp(24px, 4.5vh, 64px); padding-bottom: 0; align-content: end; row-gap: 0; }
.cf-hero--home::before {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	top: 4%; right: calc(var(--inline) + 30%); width: min(52vw, 760px); aspect-ratio: 900 / 862;
	background: var(--sage); opacity: .16;
	-webkit-mask: url(../img/monogramme.webp) no-repeat center / contain; mask: url(../img/monogramme.webp) no-repeat center / contain;
}
.cf-hero--home .cf-hero__text { grid-column: 1 / span 8; align-self: center; padding-block: 8px clamp(28px, 4vh, 48px); }
.cf-hero--home .cf-actions { margin-top: 32px; }
.cf-hero--home .cf-hero__title { max-width: none; font-size: inherit; letter-spacing: 0; }
.cf-hero__name { display: block; font-size: clamp(3.4rem, min(.5rem + 7.6vw, 12.4vh), 9rem); line-height: .9; letter-spacing: -.025em; }
.cf-hero__name > span { display: block; padding-left: .9em; }
.cf-hero__role {
	display: block; margin-top: clamp(18px, 2.4vw, 30px); padding-left: .2em;
	font-family: var(--sans); font-weight: 300; font-size: clamp(.9rem, .7rem + .9vw, 1.35rem);
	letter-spacing: .42em; color: var(--stone);
}
.cf-hero--home .cf-lead { margin-top: clamp(24px, 3vh, 40px); max-width: 50ch; }
.cf-hero--home .cf-eyebrow { margin-bottom: clamp(16px, 2.6vh, 28px); }
.cf-hero--home .cf-facts li { padding-block: 18px 22px; }
.cf-hero--home .cf-hero__media { grid-column: 9 / -1; grid-row: 1; align-self: stretch; min-height: 420px; margin-bottom: clamp(28px, 4vh, 48px); }
.cf-hero--home .cf-hero__media img { object-position: 50% 30%; }

.cf-facts {
	grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line);
}
.cf-facts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-width: 0; padding: 26px 0 30px; font-size: .85rem; color: var(--stone); }
.cf-facts li + li { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.cf-facts strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--ink); white-space: nowrap; }

/* Inner pages hero */
.cf-hero--page { display: block; padding-top: clamp(72px, 14vh, 168px); padding-bottom: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.cf-hero--page .cf-hero__title { font-size: clamp(2.2rem, 1.3rem + 5vw, 6.25rem); max-width: 14ch; }
.cf-hero--page .cf-lead { max-width: 52ch; margin-top: 36px; }

/* Expertise hero: text + mood image, recropped per breakpoint. */
.cf-hero--expertise { align-items: stretch; padding-top: clamp(40px, 8vh, 112px); }
.cf-hero--expertise .cf-hero__text { grid-column: 1 / span 7; align-self: end; }
.cf-hero--expertise .cf-hero__title { font-size: clamp(2.2rem, 1.3rem + 4.4vw, 5.5rem); max-width: 13ch; }
.cf-hero--expertise .cf-hero__media { grid-column: 8 / -1; align-self: end; width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 80px); }
@media (min-width: 1280px) { .cf-hero--expertise .cf-hero__media { grid-column: 9 / -1; } }

@media (max-width: 1023px) {
	.cf-hero__text, .cf-hero--expertise .cf-hero__text { grid-column: 1 / -1; padding-bottom: 0; }
	.cf-hero--expertise .cf-hero__media { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 10; margin-bottom: 40px; }
	/* Tablet keeps the desktop composition (name left, robe right, monogram behind), just without the full-height hero. */
	.cf-hero--home { min-height: 0; padding-top: 48px; }
}
@media (min-width: 600px) and (max-width: 767px) {
	.cf-hero--home .cf-hero__role { letter-spacing: .3em; }
}
@media (max-width: 599px) {
	.cf-hero--home .cf-hero__text { grid-column: 1 / -1; grid-row: 2; padding-block: 40px 56px; }
	.cf-hero--home .cf-hero__media { grid-column: 4 / -1; grid-row: 1; aspect-ratio: 4 / 3; max-height: none; min-height: 0; }
	.cf-hero--home .cf-hero__media img { object-position: 50% 26%; }
}
@media (max-width: 599px) {
	.cf-hero--home .cf-hero__media { grid-column: 1 / -1; aspect-ratio: 5 / 4; margin-inline: calc(var(--gutter) * -1); }
	.cf-hero__name > span { padding-left: .5em; }
	.cf-hero__role { letter-spacing: .3em; }
	.cf-facts { grid-template-columns: 1fr; }
	.cf-facts li { padding: 18px 0; }
	.cf-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.cf-hero--expertise .cf-hero__media { aspect-ratio: 4 / 3; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); }
}

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

.cf-section { padding-block: var(--sec); }

/* Phones and tablets: no monogram watermark in the hero and footer; tighter top on pages without a photo. */
@media (max-width: 1023px) {
	.cf-hero--page { padding-top: 56px; }
}
@media (max-width: 599px) {
	/* Phone: the monogram sits behind the name, just under the robe photo (which covers its top). */
	.cf-hero--home::before { top: 25%; right: 2%; width: 72vw; }
	.cf-hero--home { padding-top: 0; }
	.cf-footer .cf-footer__mark { right: -18%; bottom: -6%; width: 95vw; }
}
@media (max-width: 767px) {
	.cf-hero--page { padding-top: 28px; padding-bottom: 44px; }
	.cf-hero--page .cf-breadcrumb { margin-bottom: 28px; }
	.cf-hero--page + .cf-section { padding-top: 48px; }
	.cf-hero--expertise { padding-top: 0; }
}

.cf-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.cf-split__label { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.cf-split__body { grid-column: 4 / -1; }
.cf-split__body > .cf-display + .cf-lead { margin-top: 32px; }
@media (max-width: 1023px) {
	.cf-split__label, .cf-split__body { grid-column: 1 / -1; position: static; }
}

/* Cabinet */
.cf-cabinet__grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(56px, 7vw, 96px); }
.cf-cabinet__photos { grid-column: 1 / span 5; position: relative; }
.cf-cabinet__text { grid-column: 6 / -1; padding-top: clamp(0px, 6vw, 80px); }
.cf-cabinet__portrait { overflow: hidden; background: var(--paper); }
.cf-cabinet__portrait img { width: 100%; height: auto; }
.cf-cabinet__detail { width: 62%; margin: -22% 0 0 auto; position: relative; border: 10px solid var(--white); border-right: 0; border-bottom: 0; }
.cf-cabinet__detail figcaption { margin-top: 12px; font-size: .78rem; letter-spacing: .04em; color: var(--stone); font-style: italic; font-family: var(--serif); }
.cf-cabinet__text > * + * { margin-top: 20px; }
.cf-cabinet__text .cf-kicker:not(:first-child) { margin-top: 48px; }
.cf-cabinet__text p { color: var(--stone); }

.cf-timeline { list-style: none; margin: 0; padding: 0; }
.cf-timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--stone); font-size: .98rem; }
.cf-timeline li:last-child { border-bottom: 1px solid var(--line); }
.cf-timeline strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.3; color: var(--ink); }

@media (max-width: 899px) {
	.cf-cabinet__photos, .cf-cabinet__text { grid-column: 1 / -1; }
	.cf-cabinet__photos { max-width: 520px; }
	.cf-cabinet__text { padding-top: 56px; }
}

/* Oath */
.cf-oath { position: relative; overflow: hidden; padding-block: var(--sec); background: var(--lavender); color: var(--ink); }
.cf-oath::after {
	content: ""; position: absolute; right: -6%; top: 50%; translate: 0 -50%; width: min(48vw, 640px); aspect-ratio: 900 / 862; pointer-events: none;
	background: var(--white); opacity: .16;
	-webkit-mask: url(../img/monogramme.webp) no-repeat center / contain; mask: url(../img/monogramme.webp) no-repeat center / contain;
}
.cf-oath .cf-eyebrow { color: var(--ink); }
.cf-oath .cf-eyebrow::before { background: var(--ink); }
.cf-oath__quote { position: relative; z-index: 1; margin: 0; padding: 0; border: 0; }
.cf-oath__quote p, .cf-oath__quote em { color: var(--white); }
.cf-oath__quote p { max-width: 22ch; font-family: var(--serif); font-size: clamp(1.9rem, 1.1rem + 3vw, 3.6rem); line-height: 1.16; letter-spacing: -.01em; }

/* Expertise list */
.cf-exp-list { margin-top: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line-strong); }
.cf-exp {
	position: relative;
	display: grid; grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(16px, 2.4vw, 40px); row-gap: 10px;
	padding: clamp(28px, 3.4vw, 44px) 0;
	border-top: 1px solid var(--line-strong);
}
.cf-exp > * { margin: 0 !important; }
.cf-exp__num { grid-row: 1 / span 2; font-family: var(--serif); font-style: italic; font-size: 1rem; padding-top: .6em; }
.cf-exp__title { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.25rem); line-height: 1.05; }
.cf-exp__title a { text-decoration: none; display: inline-block; transition: transform .6s var(--ease); }
.cf-exp__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cf-exp__title a::before {
	content: "→"; position: absolute; left: 100%; top: 50%; margin-left: .4em; font-family: var(--sans); font-size: .5em;
	opacity: 0; transform: translate(-10px, -50%); transition: opacity .4s, transform .6s var(--ease);
}
.cf-exp__tags { grid-column: 3; font-size: .78rem; font-weight: 500; letter-spacing: .08em; line-height: 1.8; text-transform: uppercase; color: var(--ink); }
.cf-exp__text { grid-column: 3; color: var(--stone); font-size: .98rem; }
.cf-exp::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink);
	transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.cf-exp:hover::before, .cf-exp:focus-within::before { transform: scaleX(1); }
.cf-exp:hover .cf-exp__title a, .cf-exp:focus-within .cf-exp__title a { transform: translateX(12px); }
.cf-exp:hover .cf-exp__title a::before, .cf-exp:focus-within .cf-exp__title a::before { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 899px) {
	.cf-exp { grid-template-columns: 2.5rem minmax(0, 1fr); }
	.cf-exp__title { grid-row: auto; }
	.cf-exp__tags, .cf-exp__text { grid-column: 2; }
	.cf-exp__title + .cf-exp__tags { margin-top: 12px !important; }
	.cf-exp__title a::before { content: none; }
}

/* Steps */
.cf-steps { background: var(--paper); }
.cf-steps__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.cf-steps__head > * { grid-column: 1 / span 9; }
.cf-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); }
.cf-step { padding-top: 24px; border-top: 1px solid var(--ink); }
.cf-step > * + * { margin-top: 14px; }
.cf-step__num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--stone); }
.cf-step h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.cf-step p:not(.cf-step__num) { color: var(--stone); max-width: 34ch; }
.cf-steps > .cf-actions { margin-top: 56px; }
@media (max-width: 899px) { .cf-steps__grid { grid-template-columns: 1fr; } }

/* Local anchoring */
.cf-local { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); align-items: center; padding-inline: 0 var(--inline) !important; }
.cf-local__media { grid-column: 1 / span 7; height: min(86vh, 860px); min-height: 460px; overflow: hidden; }
.cf-local__media img { height: 100%; object-fit: cover; object-position: 50% 60%; }
.cf-local__text { grid-column: 9 / -1; padding-block: var(--sec); }
.cf-local__text > .cf-display { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.cf-local__text > p:not(.cf-eyebrow):not(.cf-actions) { margin-top: 28px; color: var(--stone); }
.cf-cities { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 28px 0 0; padding: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.cf-cities li:not(:last-child)::after { content: "—"; margin: 0 .5em; color: var(--sage-deep); font-style: normal; }
@media (max-width: 1023px) {
	.cf-local { padding-inline: var(--inline) !important; }
	.cf-local__media { grid-column: 1 / -1; height: auto; min-height: 0; aspect-ratio: 4 / 3; margin-inline: calc(var(--inline) * -1); }
	.cf-local__text { grid-column: 1 / -1; padding-block: 56px var(--sec); }
}

/* FAQ (details) */
.cf-faq .cf-split__body > .cf-display { margin-bottom: clamp(36px, 5vw, 64px); }
.cf-faq__item { border-top: 1px solid var(--line-strong); }
.cf-faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.cf-faq__item summary {
	position: relative; display: block; list-style: none; cursor: pointer;
	padding: 26px 56px 26px 0;
	font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.35;
	transition: color .3s;
}
.cf-faq__item summary::-webkit-details-marker { display: none; }
.cf-faq__item summary::before, .cf-faq__item summary::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 1px; background: var(--ink); transition: transform .45s var(--ease);
}
.cf-faq__item summary::after { transform: rotate(90deg); }
.cf-faq__item[open] summary::after { transform: rotate(0); }
.cf-faq__item summary:hover { color: var(--stone); }
.cf-faq__item > :not(summary) { padding: 0 0 30px; max-width: 62ch; color: var(--stone); }

/* Expertise pages */
.cf-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3.4vw, 56px); margin-top: clamp(48px, 6vw, 80px); }
.cf-case { padding: 28px 0 32px; border-top: 1px solid var(--line-strong); }
.cf-case h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); }
.cf-case p { margin-top: 12px; color: var(--stone); font-size: .98rem; max-width: 44ch; }
@media (max-width: 767px) { .cf-cases { grid-template-columns: 1fr; } }

.cf-statement { padding-block: var(--sec); background: var(--paper); }
.cf-statement__text { max-width: 30ch; font-family: var(--serif); font-size: clamp(1.6rem, 1.05rem + 2.3vw, 2.9rem); line-height: 1.22; letter-spacing: -.01em; }
.cf-statement__text em { color: var(--stone); }
@media (min-width: 1024px) { .cf-statement > * { margin-left: calc(25% + 8px); } }

.cf-related { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 8vw, 112px); }
.cf-related .cf-eyebrow { color: rgba(241, 241, 241, .78); }
.cf-related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.cf-related__list a {
	display: flex; align-items: baseline; gap: 18px; padding: 28px 0; border-top: 1px solid rgba(241, 241, 241, .24);
	font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); line-height: 1.1; text-decoration: none; color: var(--paper);
}
.cf-related__list .cf-num { font-size: 1rem; color: var(--sage); }
.cf-related__label { transition: transform .6s var(--ease); }
.cf-related__list a::after { content: "→"; margin-left: auto; font-family: var(--sans); font-size: 1.2rem; transition: transform .6s var(--ease); }
.cf-related__list a:hover .cf-related__label { transform: translateX(10px); }
.cf-related__list a:hover::after { transform: translateX(6px); }
@media (max-width: 767px) { .cf-related__list { grid-template-columns: 1fr; } }

/* Chapters (honoraires, publications, mentions) */
.cf-chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); padding: clamp(36px, 4.4vw, 60px) 0; border-top: 1px solid var(--line-strong); }
.cf-chapter:last-child { border-bottom: 1px solid var(--line-strong); }
.cf-chapter__title { grid-column: 1 / span 5; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.2rem); line-height: 1.15; padding-right: 24px; }
.cf-chapter__title .cf-num { display: block; margin-bottom: 14px; font-size: 1rem; color: var(--stone); }
.cf-chapter__body { grid-column: 6 / -1; max-width: 62ch; }
.cf-chapter__body > * + * { margin-top: 18px; }
.cf-chapter__body p { color: var(--stone); }
.cf-chapter__body .cf-actions { margin-top: 32px; }
@media (max-width: 899px) {
	.cf-chapter__title, .cf-chapter__body { grid-column: 1 / -1; }
	.cf-chapter__body { margin-top: 20px; }
}
.cf-list { list-style: none; margin: 0; padding: 0; color: var(--stone); }
.cf-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.cf-list li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 18px; height: 1px; background: var(--sage-deep); }
.cf-list--plain li { padding-left: 0; }
.cf-list--plain li::before { content: none; }
.cf-list strong { color: var(--ink); font-weight: 500; }

/* Contact */
.cf-contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.cf-contact__details { grid-column: 1 / span 4; }
.cf-contact__form { grid-column: 6 / -1; }
.cf-coord { padding: 28px 0; border-top: 1px solid var(--line-strong); }
.cf-coord:first-child { padding-top: 0; border-top: 0; }
.cf-coord .cf-kicker { margin-bottom: 10px; }
.cf-coord a { text-decoration: none; }
.cf-coord p a:not(.cf-link):hover { text-decoration: underline; }
.cf-coord__big { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1.1; }
.cf-coord__note { margin-top: 12px; font-size: .92rem; color: var(--stone); max-width: 30ch; }
.cf-coord .cf-actions { margin-top: 18px; }
.cf-contact__form .cf-display { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); margin-bottom: 40px; }
@media (max-width: 1023px) {
	.cf-contact__details, .cf-contact__form { grid-column: 1 / -1; }
	.cf-contact__form { margin-top: 72px; }
}

.cf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-field--full, .cf-form__foot { grid-column: 1 / -1; }
.cf-field label { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.cf-req { color: var(--ink); }
.cf-form .wpcf7-form-control-wrap { display: block; }
.cf-form input[type="text"], .cf-form input[type="email"], .cf-form input[type="tel"], .cf-form textarea {
	width: 100%; box-sizing: border-box; margin: 0;
	padding: 12px 0; min-height: 48px;
	border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
	background: transparent; color: var(--ink);
	font-family: var(--sans); font-size: 1.05rem; line-height: 1.5;
	transition: border-color .3s, box-shadow .3s;
}
.cf-form textarea { min-height: 150px; resize: vertical; }
.cf-form input:focus, .cf-form textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.cf-form input:focus-visible, .cf-form textarea:focus-visible { box-shadow: 0 2px 0 0 var(--lavender); }
.cf-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.cf-form__note { font-size: .82rem; color: var(--stone); }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: .82rem; color: #8A1C1C; }
.wpcf7 form .wpcf7-response-output { margin: 28px 0 0; padding: 16px 20px; border: 1px solid var(--line-strong); font-size: .95rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--sage-deep); background: rgba(184, 179, 134, .14); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #8A1C1C; }
.wpcf7-spinner { margin: 0 0 0 12px; }
@media (max-width: 599px) { .cf-form { grid-template-columns: 1fr; } }

.cf-place { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); padding-bottom: var(--sec); }
.cf-place__media { grid-column: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; }
.cf-place__media img { height: 100%; object-fit: cover; }
.cf-place__map { grid-column: 6 / -1; position: relative; min-height: 420px; background: var(--paper); }
.cf-place__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.92); }
@media (max-width: 899px) {
	.cf-place__media, .cf-place__map { grid-column: 1 / -1; }
	.cf-place__media { aspect-ratio: 16 / 10; }
	.cf-place__map { min-height: 340px; }
}

/* Articles / archives (fallback templates) */
.cf-article { padding: clamp(72px, 12vh, 140px) var(--gutter) var(--sec); }
.cf-article__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); margin-bottom: 40px; }
.cf-index { list-style: none; padding: 0; margin: 40px 0 0; }
.cf-index li { border-top: 1px solid var(--line); }
.cf-index a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.5rem; text-decoration: none; }

/* Footer ------------------------------------------------------------------ */

.cf-footer { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.cf-footer a { color: var(--paper); }
.cf-footer__mark {
	position: absolute; right: -8%; bottom: -16%; width: min(70vw, 920px); aspect-ratio: 900 / 862; pointer-events: none;
	background: var(--sage); opacity: .1;
	-webkit-mask: url(../img/monogramme.webp) no-repeat center / contain; mask: url(../img/monogramme.webp) no-repeat center / contain;
}
.cf-footer__lead { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; padding-block: clamp(80px, 10vw, 152px) clamp(56px, 7vw, 96px); border-bottom: 1px solid rgba(241, 241, 241, .16); }
.cf-footer__claim { font-family: var(--serif); font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.5rem); line-height: 1.02; letter-spacing: -.02em; }
.cf-footer__claim em { color: var(--sage); }
.cf-footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.cf-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px clamp(24px, 3vw, 48px); padding-block: 64px; font-size: .92rem; }
.cf-footer__grid p, .cf-footer__grid address { color: rgba(241, 241, 241, .74); font-style: normal; line-height: 1.75; }
.cf-footer__brand img { width: 290px; max-width: 100%; height: auto; margin-bottom: 22px; }
.cf-footer__title { margin-bottom: 16px !important; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--paper) !important; }
.cf-footer ul { list-style: none; margin: 0; padding: 0; }
.cf-footer address + ul { margin-top: 12px; }
.cf-footer__grid li { padding: 3px 0; }
.cf-footer__grid li a { color: rgba(241, 241, 241, .74); text-decoration: none; transition: color .3s; }
.cf-footer__grid li a:hover { color: var(--paper); text-decoration: underline; }
.cf-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 32px; border-top: 1px solid rgba(241, 241, 241, .16); font-size: .78rem; color: rgba(241, 241, 241, .62); }
.cf-footer__bottom a { color: rgba(241, 241, 241, .8); }
@media (max-width: 1023px) { .cf-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .cf-footer__grid { grid-template-columns: 1fr; } }

/* Motion ------------------------------------------------------------------ */

.js .cf-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .cf-reveal.is-in { opacity: 1; transform: none; }
.js .cf-reveal-img { opacity: 0; transition: opacity 1.2s var(--ease); }
.js .cf-reveal-img img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
.js .cf-reveal-img.is-in { opacity: 1; }
.js .cf-reveal-img.is-in img { transform: none; }

/* Hero entrance: the name and the image (LCP candidates) only move, never start invisible. */
@keyframes cf-rise { from { transform: translateY(.18em); } to { transform: none; } }
@keyframes cf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cf-settle { from { transform: scale(1.04); } to { transform: none; } }
.js .cf-hero--home .cf-hero__name { animation: cf-rise 1.2s var(--ease) both; }
.js .cf-hero--home .cf-hero__name > span { animation: cf-rise 1.2s .1s var(--ease) both; }
.js .cf-hero--home .cf-hero__media img { animation: cf-settle 1.8s var(--ease) both; }
.js .cf-hero--home .cf-hero__role,
.js .cf-hero--home .cf-eyebrow,
.js .cf-hero--home .cf-lead,
.js .cf-hero--home .cf-actions,
.js .cf-hero--home .cf-facts { animation: cf-fade 1s .3s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.js .cf-reveal, .js .cf-reveal-img { opacity: 1; transform: none; clip-path: none; }
	.js .cf-reveal-img img { transform: none; }
}
