@font-face { font-family: "EB Garamond"; src: url(fonts/eb-garamond-latin-wght-normal.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(fonts/eb-garamond-latin-wght-italic.woff2) format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

/* Pierre de Nice : fond, encre, accent (moins de 5 % de l'écran) */
:root {
  --pierre: #EEE9DF;
  --pierre-2: #E4DDD0;
  --pierre-3: #D9CFBE;
  --ardoise: #1E2830;
  --ardoise-2: #2A3640;
  --bronze: #82622F;
  --bronze-fonce: #6F5327;
  --or: #C9AE7C;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --m: clamp(20px, 4.4vw, 64px);
  --gap: clamp(104px, 12vw, 176px);
  --t-xl: clamp(44px, 5.4vw, 86px);
  --t-l: clamp(34px, 3.6vw, 56px);
  --t-m: clamp(22px, 1.9vw, 26px);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--pierre); scroll-behavior: smooth; scroll-padding-top: 24px; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ardoise); background: var(--pierre); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a, button, input, select, label { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
::selection { background: var(--ardoise); color: var(--pierre); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; }
h2 { font-size: var(--t-l); }
h3 { font-size: var(--t-m); line-height: 1.15; letter-spacing: -.01em; }
p { max-width: 62ch; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--ardoise); color: var(--pierre); }
.skip:focus { top: 12px; }
.todo { font-style: normal; color: var(--bronze-fonce); white-space: nowrap; }
.dark .todo, .foot .todo, .form .todo { color: var(--or); }

/* Mouvement des contrôles : léger soulèvement et léger zoom */
.cta, .nav .rdv, .more, .tel, .tiles a, .foot a { transition: transform 320ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .cta:hover, .nav .rdv:hover { transform: translate3d(0, -3px, 0) scale(1.03); }
  .more:hover, .tel:hover, .nav a:not(.rdv):hover { transform: translate3d(0, -2px, 0) scale(1.03); }
  .tiles a:hover { transform: translate3d(0, -4px, 0) scale(1.015); }
  .frame:hover img { transform: scale(1.04); }
}
.cta:active, .nav .rdv:active, .more:active { transform: scale(.97); transition-duration: 120ms; }

/* En-tête */
.head { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding: 22px var(--m); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 48px; flex: none; }
.brand b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: .16em; line-height: 1; }
.brand small { display: block; margin-top: 5px; font-size: 15px; letter-spacing: .04em; }
/* Emplacement du bloc-marque « Notaires de France » : fichier officiel à fournir, jamais redessiné */
.bm { flex: none; display: block; width: 64px; }
.bm img { width: 100%; height: auto; }
.foot .bm { width: 76px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); list-style: none; padding: 0; }
.nav a { display: inline-block; padding: 10px 0; font-size: clamp(15px, 1.2vw + 1px, 17.5px); font-weight: 600; letter-spacing: .01em; text-decoration: none; }
.nav a:hover { color: var(--bronze); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--bronze); }
.nav .tel-head { font-weight: 700; text-decoration: underline; text-decoration-color: var(--bronze); }
.nav .rdv { padding: 13px 20px; background: var(--bronze); color: var(--pierre); }
.nav .rdv:hover { color: var(--pierre); background: var(--bronze-fonce); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.5px; margin: auto; background: currentColor; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.menu-btn[aria-expanded="true"] span { transform: rotate(45deg); box-shadow: 0 0 0 currentColor, 0 0 0 currentColor; }
.tel-mobile { display: none; }

/* Boutons et liens d'action */
.cta { display: inline-flex; align-items: center; min-height: 52px; padding: 0 30px; border: 0; background: var(--bronze); color: var(--pierre); font: 700 15px/1 var(--sans); letter-spacing: .06em; text-decoration: none; cursor: pointer; }
.cta:hover { background: var(--bronze-fonce); }
.more { display: inline-block; padding: 8px 0; font-weight: 700; font-size: 16px; text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.tel { display: inline-block; font-size: 18px; font-weight: 700; letter-spacing: .02em; text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1.5px; text-underline-offset: 7px; white-space: nowrap; }


/* Le papier peint à maillons : un seul fond, continu de l'en-tête au pied de page */
main { position: relative; isolation: isolate; }
main::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(maillons.svg) -20px 4px / 112px 112px; opacity: .09; }
.js main::before { animation: papier 1800ms var(--ease) both; }
@keyframes papier { from { opacity: 0; } }

/* Commande de la vidéo : un petit carré noir */
.vtoggle { position: absolute; left: calc(50% - 11px); bottom: 14px; z-index: 3; width: 22px; height: 22px; padding: 0; border: 0; background: #0b0f12; cursor: pointer; display: grid; place-items: center; transition: transform 260ms var(--ease); }
.vtoggle[hidden] { display: none; }
.vtoggle::before { content: ""; position: absolute; inset: -11px; }
.vtoggle i { display: block; width: 6px; height: 8px; border-left: 1.5px solid var(--pierre); border-right: 1.5px solid var(--pierre); }
.vtoggle[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 7px solid var(--pierre); border-top: 4px solid transparent; border-bottom: 4px solid transparent; margin-left: 2px; }
.vtoggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .vtoggle:hover { transform: scale(1.15); } }

/* Photos hors héros : carrées, liseré doré décalé */
.frame { position: relative; isolation: isolate; aspect-ratio: 1; margin: 0 16px 16px 0; }
.frame::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1; border: 1px solid var(--bronze); pointer-events: none; }
.frame .in-frame { width: 100%; height: 100%; overflow: hidden; background: var(--pierre-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.frame.portrait { aspect-ratio: 4 / 5; }
.dark .frame::after { border-color: var(--or); }

/* Héros : l'arche des fenêtres cintrées, seulement ici */
.hero { position: relative; overflow: hidden; min-height: 100svh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 5vw, 96px); padding: 128px var(--m) 72px; }
.hero > .veil { position: absolute; inset: 0; background: radial-gradient(ellipse 62% 75% at 26% 52%, rgb(238 233 223 / .92) 0%, rgb(238 233 223 / .68) 55%, rgb(238 233 223 / 0) 100%); }
.hero > .copy, .hero > figure { position: relative; z-index: 1; }
.hero .copy { max-width: 640px; }
.hero .lede { font-family: var(--serif); font-style: italic; font-size: 23px; color: var(--bronze); margin-bottom: 22px; }
.hero h1 { font-size: var(--t-xl); line-height: 1.02; }
.hero .sub { margin: 28px 0 38px; max-width: 46ch; font-size: 18px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero .hours { margin-top: 30px; font-size: 17px; }
.hero figure { justify-self: end; width: min(100%, 460px); }
.arch { position: relative; overflow: clip; aspect-ratio: 3 / 4.4; border-radius: 999px 999px 0 0; background: var(--pierre-2); outline: 1px solid var(--bronze); outline-offset: 12px; }
.arch > img, .arch > video { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ""; position: absolute; inset: 0; background: var(--bronze); transform: scaleY(0); }
.js .arch::after { transform-origin: top; animation: lift 1300ms var(--ease) 250ms both; }
@keyframes lift { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.js .arch > img, .js .arch > video { animation: settle 2200ms var(--ease) 300ms both; }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero { min-height: 0; padding-top: 160px; padding-bottom: 96px; }
.page-hero h1 { font-size: clamp(50px, 6.4vw, 104px); }
.page-hero .arch { aspect-ratio: 3 / 4; }

/* Sections */
.sec { padding: var(--gap) var(--m) 0; }
.sec:last-of-type { padding-bottom: var(--gap); }
.wrap { position: relative; isolation: isolate; max-width: 1312px; margin: 0 auto; }
/* Calque de lecture : un voile pierre aux bords fondus sous chaque zone de texte, le motif reste continu autour */
.wrap:not(.dark)::before { content: ""; position: absolute; inset: -36px calc(-1 * min(52px, var(--m))); z-index: -1; pointer-events: none; background: rgb(238 233 223 / .84);
  -webkit-mask-image: linear-gradient(to right, #0000, #000 64px, #000 calc(100% - 64px), #0000), linear-gradient(to bottom, #0000, #000 56px, #000 calc(100% - 56px), #0000);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, #0000, #000 64px, #000 calc(100% - 64px), #0000), linear-gradient(to bottom, #0000, #000 56px, #000 calc(100% - 56px), #0000); mask-composite: intersect; }

/* Accueil · L'étude */
.etude { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 128px); align-items: center; }
.etude h2 { margin-bottom: 26px; }
.statement { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; max-width: 30ch; }
.etude .statement + p { margin-top: 24px; }
.etude .more { margin-top: 28px; }

/* Accueil · Notre expertise : pictogrammes dans de petits cadres */
.expertise { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.expertise .intro p { margin: 22px 0 22px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; list-style: none; padding: 0; }
.tiles a { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; text-decoration: none; }
.picto { display: grid; place-items: center; aspect-ratio: 1; background: var(--pierre-2); color: var(--ardoise); }
.picto svg { width: 62%; height: auto; }
.tiles li:nth-child(2) .picto, .tiles li:nth-child(3) .picto { background: var(--ardoise); color: var(--pierre); }
.tiles li:nth-child(2) .obj .ac, .tiles li:nth-child(3) .obj .ac { stroke: var(--or); }
.tiles p { margin-top: 4px; font-size: 16px; }
.obj { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.obj .ac { stroke: var(--bronze); }

/* Accueil · Notre équipe : panneau ardoise */
.dark { background: var(--ardoise); color: var(--pierre); }
.equipe { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); padding: clamp(48px, 5vw, 80px); align-items: center; }
.equipe h2 { margin-bottom: 40px; }
.equipe .frame { max-width: 440px; }
.equipe .bios { display: grid; gap: 40px; max-width: 540px; }
.role { margin-top: 6px; font-size: 16px; letter-spacing: .02em; color: var(--or); }
.equipe .bios p:not(.role) { margin-top: 12px; }
.exp + p { margin-top: 14px !important; }
.equipe .cta { justify-self: start; }

/* Accueil · Tarifs : une ligne */
.ligne { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding: 40px 0; }
.ligne p { flex: 1 1 360px; }

/* Bande de maillons */

/* Rendez-vous : infos et plan sur le fond du site à gauche, bandeau sombre avec le formulaire à droite */
.rdv-sec { padding-bottom: 0; }
.coupon { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.coupon .side { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: 8px 0; }
.coords { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; font-size: 16px; }
.label { font-weight: 700; margin-bottom: 4px; letter-spacing: .01em; color: var(--bronze-fonce); font-size: 15px; }
.coords p { margin: 0; }
.coords a { text-decoration-color: var(--bronze); }
.acces { font-size: 16px; }
.carte { display: grid; gap: 10px; justify-items: start; }
.carte iframe { width: 100%; height: clamp(220px, 22vw, 300px); border: 0; background: var(--pierre-2); filter: saturate(.75); }
.carte .more { font-size: 15px; }

.form { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 16px; background: var(--ardoise); color: var(--pierre); font-size: 16px; }
.progress { font-size: 14px; letter-spacing: .04em; color: var(--or); min-height: 1.4em; }
.js .progress::before { content: attr(data-text); }
fieldset { border: 0; padding: 0; min-width: 0; }
.step { display: grid; gap: 14px; align-content: start; }
.step[hidden] { display: none; }
.step legend { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 14px; padding: 0; }
.step legend:focus { outline: none; }
.field { display: grid; gap: 7px; }
.form label { font-size: 15px; font-weight: 600; }
.form input[type=text], .form input[type=tel], .form textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid rgb(238 233 223 / .28); border-radius: 0; background: var(--ardoise-2); color: var(--pierre); font: 16px/1.4 var(--sans); transition: border-color 200ms var(--ease); }
.form textarea { min-height: 104px; resize: vertical; }
.form input:hover, .form textarea:hover { border-color: rgb(238 233 223 / .55); }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--or); outline-offset: 1px; border-color: var(--or); }
.options { display: grid; gap: 8px; }
.options.wrap-h { display: flex; flex-wrap: wrap; }
.options label { position: relative; display: block; font-weight: 500; }
.options input { position: absolute; opacity: 0; inset: 0; z-index: 1; margin: 0; cursor: pointer; }
.options span { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid rgb(238 233 223 / .32); transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 260ms var(--ease); }
.options.wrap-h span { min-height: 44px; }
.options label:hover span { border-color: rgb(238 233 223 / .7); transform: translate3d(0, -2px, 0); }
.options input:checked + span { background: var(--pierre); color: var(--ardoise); border-color: var(--pierre); }
.options input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #F0C9A8; font-size: 15px; }
.err:empty { display: none; }
.step-nav { display: none; align-items: center; justify-content: space-between; gap: 16px; }
.js .step-nav { display: flex; }
.step-nav .back { border: 0; background: none; color: inherit; font: 600 15px/1 var(--sans); padding: 14px 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 6px; transition: transform 320ms var(--ease); }
.step-nav .back[hidden], .step-nav .cta[hidden], .send[hidden] { display: none; }
.step-nav .cta, .send { min-height: 50px; justify-content: center; background: var(--pierre); color: var(--ardoise); margin-left: auto; }
.step-nav .cta:hover, .send:hover { background: #fff; }
.send { margin-left: 0; }
.js .send { margin-left: auto; }
.cnil { font-size: 13.5px; line-height: 1.5; color: rgb(238 233 223 / .82); margin-top: 6px; }
.status { color: var(--pierre); }
.status:empty { display: none; }

/* Pied de page */
.foot { background: var(--ardoise); color: var(--pierre); padding: clamp(56px, 6vw, 96px) var(--m) 32px; }
.foot .mark { display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 40px); }
.foot .mark img { width: clamp(90px, 13vw, 200px); height: auto; flex: none; }
.foot .word { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 17.2vw, 272px); line-height: .78; letter-spacing: .02em; }
.foot .ident { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot .ident p { font-size: 16px; }
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; color: inherit; transition: transform 320ms var(--ease), color 220ms var(--ease); }
.social svg { width: 26px; height: 26px; }
.foot .social { color: var(--or); }
.role .social { width: 36px; height: 36px; margin-left: 6px; vertical-align: middle; color: var(--bronze); }
.role .social svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .social:hover { transform: translate3d(0, -2px, 0) scale(1.08); } }
.foot .ident strong { display: block; font-weight: 700; letter-spacing: .08em; }
.foot .bm { width: 56px; opacity: .8; }
.foot .cols { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 32px; }
.foot h2 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .04em; margin-bottom: 12px; color: var(--or); }
.foot ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.foot li a, .foot address a { display: inline-block; padding: 4px 0; font-size: 15px; text-decoration: none; }
.foot li a:hover, .foot address a:hover { color: var(--or); }
.foot address { font-style: normal; font-size: 15px; display: grid; gap: 4px; }
.foot .base { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 14px; }
.foot .base a { text-decoration: none; padding: 6px 0; }
.foot .base a:hover { text-decoration: underline; }
a[data-todo] { cursor: help; }

/* Page L'étude */
.duo { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 128px); align-items: center; }
.duo h2 { margin-bottom: 24px; }
.duo p + p { margin-top: 14px; }
.valeurs { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); }
.valeurs dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.valeurs dt { font-family: var(--serif); font-size: var(--t-m); display: flex; align-items: center; gap: 14px; }
.valeurs dt::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--bronze); }
.valeurs dd { margin: 12px 0 0; }
.deonto { padding: clamp(40px, 5vw, 72px); background: var(--pierre-2); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); }
.deonto p { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; max-width: 40ch; }
.appel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(40px, 5vw, 72px); }
.appel h2 { max-width: 18ch; }

/* Page Notre équipe */
.notaire { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 128px); align-items: center; }
.notaire + .notaire { margin-top: clamp(96px, 10vw, 160px); }
.notaire.alt { grid-template-columns: 7fr 5fr; }
.notaire.alt .frame { order: 2; }
.notaire .role { color: var(--bronze); }
.notaire p:not(.role) { margin-top: 18px; }
.carres { margin-top: 20px; padding: 0; list-style: none; display: grid; gap: 6px; }
.carres li { display: flex; gap: 14px; }
.carres li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; background: var(--bronze); }

/* Page Notre expertise */
.domaine { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 128px); align-items: center; scroll-margin-top: 32px; }
.domaine.alt { grid-template-columns: 5fr 7fr; }
.domaine.alt .frame { order: -1; }
.domaine .head-d { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.domaine .picto { width: 84px; flex: none; }
.domaine.alt .picto { background: var(--ardoise); color: var(--pierre); }
.domaine.alt .picto .ac { stroke: var(--or); }
.domaine .carres { columns: 2; column-gap: 32px; display: block; }
.domaine .carres li { break-inside: avoid; padding: 3px 0; }
.domaine .frame { max-width: 480px; }

/* Page Tarifs : un grand tableau */
.tarifs-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tarifs-intro h3 { margin-bottom: 14px; }
.grille { margin-top: clamp(72px, 8vw, 128px); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.grille .aside { position: sticky; top: 32px; display: grid; gap: 20px; justify-items: start; }
.grille table { width: 100%; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.grille thead th { text-align: left; font-size: 15px; font-weight: 700; padding: 0 16px 14px 0; border-bottom: 2px solid var(--ardoise); }
.grille tbody th[colspan] { padding: 36px 0 12px; font-family: var(--serif); font-size: var(--t-m); font-weight: 400; text-align: left; border-bottom: 1px solid var(--bronze); }
.grille td, .grille tbody th:not([colspan]) { padding: 14px 16px 14px 0; text-align: left; font-weight: 400; border-bottom: 1px solid rgb(30 40 48 / .14); vertical-align: top; }
.grille td:last-child, .grille thead th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.grille tbody tr:not(.groupe) { transition: background-color 200ms var(--ease); }
.grille tbody tr:not(.groupe):hover { background: rgb(228 221 208 / .6); }

/* Entrées des sections (le contenu reste visible sans script) */
.js [data-reveal] > * { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
.in { animation: in 1000ms var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes in { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
[data-depth] { will-change: transform; }

@media (max-width: 1180px) {
  .nav .tel-head { display: none; }
  .foot .cols { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --gap: 96px; }
  .head { padding: 14px 20px; gap: 12px; }
  .brand img { height: 40px; }
  .brand b { font-size: 19px; }
  .bm { width: 40px; }
  .tel-mobile { display: block; margin-left: auto; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 5px; }
  .menu-btn { display: block; }
  .nav { display: none; position: fixed; inset: 0; z-index: 20; flex-direction: column; justify-content: center; gap: 4px; background: var(--pierre); color: var(--ardoise); }
  .nav.open { display: flex; animation: menu 260ms var(--ease); }
  @keyframes menu { from { opacity: 0; transform: translate3d(0, -10px, 0); } }
  .nav a { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: 0; }
  .nav .tel-head { display: inline-block; font-family: var(--sans); font-size: 18px; font-weight: 700; margin-top: 10px; }
  .nav .rdv { margin-top: 14px; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .06em; }
  .menu-btn[aria-expanded="true"] { position: fixed; top: 14px; right: 20px; z-index: 30; color: var(--ardoise); }

  .hero { grid-template-columns: 1fr; padding: 92px 20px 48px; gap: 30px; min-height: 0; }
  .hero > .veil { background: radial-gradient(ellipse 95% 62% at 50% 72%, rgb(238 233 223 / .92) 0%, rgb(238 233 223 / .66) 60%, rgb(238 233 223 / 0) 100%); }
  .hero figure { order: -1; justify-self: center; width: min(56%, 230px); }
  .hero .lede { font-size: 19px; margin-bottom: 14px; }
  .hero .sub { margin: 20px 0 28px; font-size: 17px; }
  .page-hero { padding-top: 96px; padding-bottom: 24px; }

  .sec { padding-left: 20px; padding-right: 20px; }
  .grille, .etude, .expertise, .equipe, .duo, .valeurs, .deonto, .notaire, .notaire.alt, .domaine, .domaine.alt, .tarifs-intro { grid-template-columns: 1fr; }
  .frame { width: calc(100% - 16px); max-width: 420px; }
  .notaire.alt .frame { order: 0; }
  .domaine .frame, .domaine.alt .frame { order: 2; }
  .domaine .carres { columns: 1; }
  .valeurs dl { grid-template-columns: 1fr; gap: 24px; }
  .tiles a { grid-template-columns: 76px 1fr; gap: 18px; }
  .equipe { padding: 36px 22px 44px; margin: 0 -8px; }
  .equipe h2 { margin-bottom: 28px; }
  .coupon { grid-template-columns: 1fr; }
  .coords { grid-template-columns: 1fr; }
  .wrap:not(.dark)::before { inset: -28px -20px; }
  .form { padding: 32px 22px; }
  .appel { padding: 32px 22px; }
  .grille table { font-size: 16px; }
  .grille .aside { position: static; }
  .foot { padding: 56px 20px 28px; }
  .foot .cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot .cols > :last-child { grid-column: 1 / -1; }
}

@media (min-width: 600px) and (max-width: 960px) {
  body { font-size: 18px; }
  p, .hero .sub, .appel h2 { max-width: none; }
}

@media (max-width: 600px) {
  .foot .mark { gap: 12px; align-items: center; }
  .foot .mark img { width: 56px; }
  .foot .word { font-size: 16vw; }
  .head .bm { display: none; }
  .tel-mobile { font-size: 14px; white-space: nowrap; }
}
@media (max-width: 400px) {
  .brand small { display: none; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .js [data-reveal] > * { opacity: 1; transform: none; }
  [data-depth] { transform: none !important; }
}
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* v7 : héros resserré au centre sur grand écran, expérience des notaires */
@media (min-width: 961px) {
  .hero { padding-inline: max(var(--m), calc((100% - 1200px) / 2)); grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 72px); }
  .hero figure { width: max(220px, min(clamp(340px, 30vw, 460px), calc((100svh - 210px) * .68))); justify-self: end; }
  .hero .sub { max-width: 600px; }
}
.exp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 18px; color: var(--pierre); }
.exp .chiffre { font-family: var(--serif); font-weight: 500; font-size: clamp(54px, 4.8vw, 72px); line-height: .9; letter-spacing: -.02em; color: var(--or); font-variant-numeric: lining-nums; }
.exp span { font-size: 17px; max-width: none; }

/* Écrans peu hauts (portables) : tout le héros tient dans la fenêtre */
@media (min-width: 961px) and (max-height: 860px) {
  .hero:not(.page-hero) { padding-top: 108px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(44px, 7.2svh + 12px, 76px); }
  .hero .lede { margin-bottom: 14px; font-size: 21px; }
  .hero .sub { margin: 18px 0 24px; font-size: 17px; }
  .hero .hours { margin-top: 20px; }
}

/* v8 : pages légales, bandeau de cookies, carte après accord */
.legal { padding-top: 150px; padding-bottom: 24px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 22px; }
.legal .lede { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--bronze); margin-bottom: 12px; }
.legal .intro { font-size: 19px; margin-bottom: 40px; }
.legal section { margin-top: 40px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.legal p, .legal li { max-width: 68ch; font-size: 17px; line-height: 1.65; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal button, .map-btn { font: inherit; font-weight: 600; font-size: 15px; padding: 13px 22px; background: var(--bronze); color: var(--pierre); border: 0; cursor: pointer; }
.legal button:hover, .map-btn:hover { background: var(--bronze-fonce); }
.legal .statut { font-weight: 600; color: var(--bronze-fonce); }
.map-slot { display: grid; align-content: center; justify-items: start; gap: 14px; min-height: clamp(220px, 22vw, 300px); padding: 24px; background: var(--pierre-2); border: 1px solid rgb(130 98 47 / .35); }
.map-slot p { font-size: 15px; }
.carte iframe { width: 100%; height: clamp(220px, 22vw, 300px); border: 0; }
.cookie { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 980px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 18px 24px; background: var(--ardoise); color: var(--pierre); box-shadow: 0 10px 40px rgb(30 40 48 / .35); border-top: 2px solid var(--or); }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 20px; color: var(--or); margin-bottom: 4px; }
.cookie p { font-size: 15px; max-width: 62ch; }
.cookie a { color: var(--pierre); }
.ck-actions { display: flex; gap: 12px; }
.ck-actions button { font: inherit; font-weight: 600; font-size: 15px; padding: 12px 22px; cursor: pointer; border: 1px solid var(--or); background: transparent; color: var(--pierre); }
.ck-actions button[data-consent="accepted"] { background: var(--or); color: var(--ardoise); }
.ck-actions button:focus-visible, .legal button:focus-visible, .map-btn:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
@media (max-width: 960px) { .legal { padding-top: 100px; } .cookie { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; } .ck-actions { width: 100%; } .ck-actions button { flex: 1; } }

/* Tarifs : provisions */
.note-tab { margin-top: 18px; font-size: 16px; color: var(--ardoise-2); }
.apres-tab { margin-top: 40px; padding: clamp(24px, 3vw, 36px); background: var(--pierre-2); display: grid; gap: 14px; }

/* Fiches pratiques (divorce, testament) */
.ariane { font-size: 15px; margin-bottom: 18px; }
.ariane ol { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 0; list-style: none; }
.ariane li + li::before { content: "/"; margin-right: 10px; color: var(--bronze); }
.ariane [aria-current] { font-weight: 600; }
.guide { display: grid; gap: 0; }
.g-row { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(20px, 5vw, 96px); padding: clamp(44px, 5vw, 72px) 0 0; }
.g-row:first-child { padding-top: 0; }
.g-row h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.g-row .corps { display: grid; gap: 14px; align-content: start; }
.g-row .carres { margin-top: 4px; }
.carres.deux { display: block; columns: 2; column-gap: 32px; }
.carres.deux li { break-inside: avoid; padding: 3px 0; }
.etapes { padding: 0; list-style: none; counter-reset: e; display: grid; gap: 14px; }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; max-width: 62ch; }
.etapes li::before { content: counter(e, decimal-leading-zero); font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--bronze); }
.rappel { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.3; max-width: 36ch; }
.prix { display: grid; gap: 0; max-width: 62ch; border-top: 2px solid var(--ardoise); }
.prix div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid rgb(30 40 48 / .14); }
.prix dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.deonto .rappel { color: var(--ardoise); }
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); }
.faq .liste { border-top: 2px solid var(--ardoise); }
.faq details { border-bottom: 1px solid rgb(30 40 48 / .16); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding: 18px 0; font-family: var(--serif); font-size: var(--t-m); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq details p { padding: 0 0 22px; }
@media (max-width: 960px) {
  .g-row, .faq { grid-template-columns: 1fr; }
  .carres.deux { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

.page-hero h1.long { font-size: clamp(38px, 4.4vw, 70px); }

/* Page 404 */
.introuvable { min-height: 70vh; }
.introuvable .pistes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 40px; }
.introuvable .pistes a { display: inline-block; padding: 8px 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.introuvable .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* Fiches pratiques (divorce, testament) */
.ariane { font-size: 15px; margin-bottom: 18px; }
.ariane ol { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 0; list-style: none; }
.ariane li + li::before { content: "/"; margin-right: 10px; color: var(--bronze); }
.ariane [aria-current] { font-weight: 600; }
.guide { display: grid; gap: 0; }
.g-row { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(20px, 5vw, 96px); padding: clamp(44px, 5vw, 72px) 0 0; }
.g-row:first-child { padding-top: 0; }
.g-row h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.g-row .corps { display: grid; gap: 14px; align-content: start; }
.g-row .carres { margin-top: 4px; }
.carres.deux { display: block; columns: 2; column-gap: 32px; }
.carres.deux li { break-inside: avoid; padding: 3px 0; }
.etapes { padding: 0; list-style: none; counter-reset: e; display: grid; gap: 14px; }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; max-width: 62ch; }
.etapes li::before { content: counter(e, decimal-leading-zero); font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--bronze); }
.rappel { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.3; max-width: 36ch; }
.prix { display: grid; gap: 0; max-width: 62ch; border-top: 2px solid var(--ardoise); }
.prix div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid rgb(30 40 48 / .14); }
.prix dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.deonto .rappel { color: var(--ardoise); }
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); }
.faq .liste { border-top: 2px solid var(--ardoise); }
.faq details { border-bottom: 1px solid rgb(30 40 48 / .16); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding: 18px 0; font-family: var(--serif); font-size: var(--t-m); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq details p { padding: 0 0 22px; }
@media (max-width: 960px) {
  .g-row, .faq { grid-template-columns: 1fr; }
  .carres.deux { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

.page-hero h1.long { font-size: clamp(38px, 4.4vw, 70px); }

/* Page 404 */
.introuvable { min-height: 70vh; }
.introuvable .pistes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 40px; }
.introuvable .pistes a { display: inline-block; padding: 8px 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.introuvable .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* Menu déroulant « Notre expertise » : survol, clavier et toucher */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.has-sub.actif > a { text-decoration: underline; text-decoration-color: var(--bronze); }
.sub-btn { display: grid; place-items: center; width: 28px; height: 40px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.sub-btn::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease); }
.sub-btn[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.sous-menu { display: none; }
.sous-menu-t { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze-fonce); }
.sous-menu ul { list-style: none; margin: 0; padding: 0; }
.sous-menu a[aria-current="page"] { color: var(--bronze-fonce); text-decoration: underline; text-decoration-color: var(--bronze); }
@media (min-width: 961px) {
  .sous-menu { position: absolute; top: 100%; left: -28px; z-index: 30; grid-template-columns: auto auto; gap: 40px; padding: 26px 30px 24px; min-width: 520px; background: var(--pierre); border-top: 2px solid var(--bronze); box-shadow: 0 18px 40px rgb(30 40 48 / .16); }
  .sous-menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
  .has-sub:not(.ferme):hover > .sous-menu, .has-sub.open > .sous-menu { display: grid; }
  .has-sub:not(.ferme):hover > .sub-btn::before { transform: translateY(2px) rotate(-135deg); }
  .sous-menu a { display: block; padding: 7px 0; font-size: 16px; font-weight: 500; white-space: nowrap; }
}
@media (max-width: 960px) {
  .nav { overflow-y: auto; padding: 80px 20px 40px; }
  .has-sub { flex-wrap: wrap; justify-content: center; }
  .sub-btn { width: 44px; height: 44px; }
  .sub-btn::before { width: 10px; height: 10px; }
  .has-sub.open > .sous-menu { display: grid; flex-basis: 100%; gap: 14px; padding: 6px 0 14px; text-align: center; }
  .nav .sous-menu a { font-family: var(--sans); font-size: 17px; font-weight: 500; padding: 6px 0; }
}
@media (prefers-reduced-motion: reduce) { .sub-btn::before { transition: none; } }

/* Fiches pratiques : résumé et liens associés */
.bref strong { font-weight: 700; }
.bref .maj { font-size: 15px; color: var(--ardoise-2); }
.liens .liste { list-style: none; margin: 0; padding: 0; }
.liens li { padding: 18px 0; border-bottom: 1px solid rgb(30 40 48 / .16); }
.liens li a { font-family: var(--serif); font-size: var(--t-m); line-height: 1.2; text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.liens li span { color: var(--ardoise-2); }

/* Fiches pratiques (divorce, testament) : voile de lecture plus large et texte courant à une seule taille */
.fiche { overflow-x: clip; }
.fiche .wrap:not(.dark)::before { inset: -64px calc(-1 * min(120px, var(--m) + 56px));
  -webkit-mask-image: linear-gradient(to right, #0000, #000 88px, #000 calc(100% - 88px), #0000), linear-gradient(to bottom, #0000, #000 64px, #000 calc(100% - 64px), #0000);
  mask-image: linear-gradient(to right, #0000, #000 88px, #000 calc(100% - 88px), #0000), linear-gradient(to bottom, #0000, #000 64px, #000 calc(100% - 64px), #0000); }
.fiche .g-row .rappel { font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 600; max-width: 62ch; }
.fiche .bref .maj { font-size: 17px; }
@media (max-width: 960px) {
  .fiche .wrap:not(.dark)::before { inset: -48px -40px;
    -webkit-mask-image: linear-gradient(to right, #0000, #000 20px, #000 calc(100% - 20px), #0000), linear-gradient(to bottom, #0000, #000 40px, #000 calc(100% - 40px), #0000);
    mask-image: linear-gradient(to right, #0000, #000 20px, #000 calc(100% - 20px), #0000), linear-gradient(to bottom, #0000, #000 40px, #000 calc(100% - 40px), #0000); }
}

/* Flèche « faire défiler » en bas du premier écran (pages intérieures) */
.defile { position: fixed; left: 50%; bottom: 22px; z-index: 5; display: none; place-items: center; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; color: var(--bronze); background: rgb(238 233 223 / .82); box-shadow: 0 0 0 1px rgb(130 98 47 / .35); transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.js .defile { display: grid; }
.defile svg { width: 26px; height: 26px; animation: defile 2.2s var(--ease) infinite; }
.defile:hover { color: var(--bronze-fonce); }
.defile.cache { opacity: 0; transform: translateY(12px); pointer-events: none; }
#suite { scroll-margin-top: 24px; }
@keyframes defile { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .defile svg { animation: none; } .defile { transition: none; } }
