:root {
  --ink: #0b1724;
  --ink-soft: #132638;
  --paper: #ffffff;
  --mist: #f3f6f7;
  --gold: #c8a466;
  --gold-deep: #a98242;
  --line: #d9e0e3;
  --muted: #68747e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 48px));
  --section-space: 44px;
  --shadow: 0 24px 70px rgba(9, 24, 38, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 0; margin: 0; overflow-x: hidden; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
main, section, article, aside, form, fieldset, .shell { min-width: 0; }
.shell { width: var(--shell); margin-inline: auto; }
/* Espacement commun aux pages, réduit sur tablette et téléphone. */
.section { padding: var(--section-space) 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-140%); background: var(--paper); padding: 10px 14px; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.topbar { background: #07111b; color: #b7c0c7; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.topbar p span { color: var(--gold); margin: 0 10px; }
.topbar a { color: #e5e9eb; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(10,25,39,.1); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__logo { display: block; width: 52px; height: 68px; flex: 0 0 auto; object-fit: contain; mix-blend-mode: screen; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif); font-size: 1.04rem; letter-spacing: .03em; }
.brand small { margin-top: 1px; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; color: #23313d; font-size: .86rem; font-weight: 600; text-decoration: none; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--gold-deep); transition: right .25s ease; }
.nav a:not(.nav__cta):hover::after, .nav a:not(.nav__cta):focus-visible::after { right: 0; }
.nav__cta { padding: 12px 17px; border: 1px solid var(--ink); transition: .25s ease; }
.nav__cta:hover, .nav__cta:focus-visible { color: white; background: var(--ink); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 1px; margin: 6px auto; background: var(--ink); transition: .25s ease; }

/* La photo carrée garde ses proportions ; aucun texte ne la recouvre. */
.hero { min-height: calc(100svh - 128px); display: grid; align-items: center; padding-block: clamp(28px, 4vw, 64px); color: white; background: var(--ink); }
.hero__layout { width: min(1440px, calc(100% - 64px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "content photo"; align-items: center; gap: clamp(28px, 4vw, 64px); }
.hero__content { grid-area: content; min-width: 0; }
.hero__media { grid-area: photo; min-width: 0; width: 100%; }
.hero__image { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.eyebrow { margin: 0 0 20px; color: var(--gold-deep); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 12px 4px 0; background: currentColor; }
.eyebrow--light { color: #d7ba84; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none; }
p { text-wrap: pretty; }
.faq-title span { display: block; white-space: nowrap; }
h1 { max-width: 840px; margin: 0; font-size: clamp(3.3rem, 7vw, 6.75rem); line-height: .98; letter-spacing: -.045em; }
h1 em { color: #e6c991; font-weight: 400; }
.hero h1 { font-size: clamp(2.5rem, 3.7vw, 4.65rem); line-height: 1.06; overflow-wrap: break-word; }
.hero__lead { max-width: 620px; margin: 31px 0 0; color: #dbe1e5; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 25px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; font-size: .82rem; font-weight: 800; letter-spacing: .045em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--gold { color: #111a21; background: #d3b273; }
.button--gold:hover, .button--gold:focus-visible { background: #e1c68f; }
.button--outline { color: white; border-color: rgba(255,255,255,.34); }
.button--outline:hover, .button--outline:focus-visible { border-color: var(--gold); background: rgba(255,255,255,.06); }
.button--full { width: 100%; }
.text-link { display: inline-flex; gap: 14px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid var(--gold); color: var(--ink); font-size: .83rem; font-weight: 750; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.text-link--light { color: white; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero__signature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 480px; margin-top: 32px; color: #d6dde2; font-family: var(--serif); font-size: .95rem; text-align: center; }
.hero__signature span { padding: 14px 10px; border-right: 1px solid rgba(255,255,255,.15); background: rgba(6,17,27,.74); }
.hero__signature span:first-child { border-left: 1px solid rgba(255,255,255,.15); }

.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: start; }
h2 { margin: 0; font-size: clamp(2.55rem, 5vw, 4.8rem); line-height: 1.05; letter-spacing: -.04em; }
.intro__copy { padding-top: 28px; }
.intro__copy p { color: #54616b; }
.intro__copy .lead-copy { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: 1.45rem; line-height: 1.52; }
.intro__copy .text-link { margin-top: 20px; }

.expertises { background: var(--mist); }
.section-heading { display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: end; margin-bottom: 28px; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cdd6da; border-left: 1px solid #cdd6da; }
.service-card { position: relative; min-height: 330px; padding: 36px 34px; border-right: 1px solid #cdd6da; border-bottom: 1px solid #cdd6da; background: rgba(255,255,255,.38); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; transform: translateY(-5px); background: white; box-shadow: var(--shadow); }
.service-card--accent { color: white; background: var(--ink-soft); }
.service-card--accent:hover { background: #172e43; }
.service-card__number { color: var(--gold-deep); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 48px 0 16px; font-size: 2rem; }
.service-card p { margin: 0; color: #63707a; font-size: .94rem; }
.service-card--accent p { color: #cbd4da; }
.service-card a { position: absolute; left: 34px; bottom: 31px; display: flex; justify-content: space-between; width: calc(100% - 68px); padding-top: 15px; border-top: 1px solid rgba(106,121,132,.35); font-size: .77rem; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.service-card a span { color: var(--gold); font-size: 1rem; }

.method { color: white; background: var(--ink); }
.method__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.method__intro > p:not(.eyebrow) { max-width: 480px; margin: 28px 0 35px; color: #aebbc4; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.steps li { display: grid; grid-template-columns: 80px 1fr; gap: 26px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.steps > li > span { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.steps h3 { margin: -6px 0 7px; font-size: 2rem; }
.steps p { max-width: 530px; margin: 0; color: #aebbc4; }

.promise { overflow: hidden; }
.promise__inner { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 44px; max-width: 1040px; }
.promise__mark { color: #d8c293; font-family: var(--serif); font-size: 10rem; line-height: .75; }
.promise blockquote { margin: 0; }
.promise blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.2; letter-spacing: -.035em; }
.promise footer { margin-top: 33px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.promise footer span { color: var(--muted); font-weight: 500; }

.faq { background: var(--mist); }
.faq__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px; }
.faq__grid > div:first-child > p:last-child { max-width: 390px; margin-top: 26px; color: var(--muted); }
.faq__list { border-top: 1px solid #cbd4d8; }
.faq details { border-bottom: 1px solid #cbd4d8; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; font-family: var(--serif); font-size: 1.22rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--gold-deep); font-family: var(--sans); font-size: 1.4rem; transition: transform .2s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 690px; margin: -5px 45px 25px 0; color: var(--muted); font-size: .93rem; }

.contact { color: white; background: #091522; }
.contact__grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 110px; }
.contact__details > p:not(.eyebrow) { max-width: 510px; margin: 27px 0 42px; color: #b6c0c7; }
.contact__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 34px; }
.contact__items div { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.contact__items span, .contact__items strong, .contact__items a { display: block; }
.contact__items span { margin-bottom: 7px; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact__items strong, .contact__items a { color: #e6eaed; font-size: .88rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-form { position: relative; width: 100%; max-width: 100%; padding: 42px; color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.contact-form label { display: block; margin-bottom: 20px; color: #263744; font-size: .77rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.contact-form label > span { color: #b18139; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; min-width: 0; margin-top: 7px; border: 0; border-bottom: 1px solid #afbac1; border-radius: 0; outline: none; background: transparent; color: var(--ink); font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none; transition: border-color .2s ease; }
.contact-form input:not([type="checkbox"]), .contact-form select { min-height: 48px; }
.contact-form textarea { padding-top: 11px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold-deep); box-shadow: 0 2px 0 rgba(169,130,66,.16); }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; color: #65727b; font-size: .71rem; font-weight: 500; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.consent input { margin-top: 3px; accent-color: var(--gold-deep); }
.consent span { color: inherit !important; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.form-security { margin: 8px 0 20px; padding: 16px; border: 1px solid #dce2e5; background: #f7f9fa; }
.form-security[hidden] { display: none; }
.form-security p { margin: 10px 0 0; color: #68747e; font-size: .72rem; line-height: 1.5; }
.turnstile-widget { width: 100%; min-height: 65px; overflow: hidden; }
.turnstile-widget iframe { max-width: 100%; }
.contact-form .button:disabled { transform: none; opacity: .58; cursor: not-allowed; }
.form-status { min-height: 24px; margin: 12px 0 0; color: #745718; font-size: .82rem; overflow-wrap: anywhere; }
.form-status.is-success { color: #25623b; }
.form-status.is-error { color: #9a2f2f; }

.footer { padding: 50px 0 24px; color: #c4ccd1; background: #06101a; border-top: 1px solid rgba(255,255,255,.08); }
.brand--footer strong { color: white; }
.brand--footer small { color: #9ca8b0; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 42px; }
.footer__top > p { color: #85929b; font-family: var(--serif); }
.footer__top > a:last-child { color: #d5b878; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.footer__bottom { display: flex; justify-content: flex-start; gap: 24px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); color: #75828b; font-size: .72rem; }
.footer__bottom p { margin: 0; }

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

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); --section-space: 36px; }
  .topbar p { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: 122px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 36px 24px; background: white; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s ease; }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav a { padding: 17px 4px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; }
  .nav__cta { margin-top: 18px; color: white !important; background: var(--ink); text-align: center; }
  .hero { min-height: 0; padding-block: 28px 48px; }
  .hero__layout { width: var(--shell); grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "content"; gap: 36px; }
  .hero__media { max-width: 640px; justify-self: center; }
  .hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
  .intro__grid, .method__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .intro__copy { padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .promise__inner { grid-template-columns: 70px 1fr; gap: 22px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); --section-space: 28px; }
  .topbar { display: none; }
  .nav { inset-block-start: 76px; }
  .nav-wrap { min-height: 76px; }
  .brand__logo { width: 44px; height: 58px; }
  .brand strong { font-size: .91rem; }
  .brand small { font-size: .6rem; }
  .hero { padding-block: 16px 36px; }
  .hero__layout { gap: 28px; }
  h1 { font-size: clamp(2.85rem, 13vw, 4.4rem); }
  .hero h1 { font-size: clamp(2rem, 9vw, 3.3rem); }
  .hero__lead { line-height: 1.65; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 23px; }
  .hero__signature { grid-template-columns: 1fr; width: 100%; }
  .hero__signature span { display: none; padding: 17px 20px; border: 0; text-align: center; }
  .hero__signature span:first-child { display: block; border: 0; }
  h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 305px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 14px; }
  .promise__inner { display: block; }
  .promise__mark { height: 65px; font-size: 7.5rem; }
  .promise blockquote p { font-size: 2rem; }
  .faq summary { font-size: 1.05rem; }
  .contact__items, .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer__top, .footer__bottom { align-items: flex-start; flex-direction: column; }
  .footer__top > p { display: none; }
}

/* Navigation multipage */
.site-header { background: #0a1928; border-bottom-color: rgba(255,255,255,.11); }
.nav-wrap { min-height: 90px; }
.site-header .brand strong { color: #fff; }
.site-header .brand small { color: #9eabb5; }
.nav { gap: 22px; }
.nav__link, .nav-item__label .nav__link { color: #d4dbe0; font-size: .86rem; font-weight: 650; white-space: nowrap; }
.nav > .nav__link, .nav-item__label { min-height: 90px; display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-item__label { gap: 3px; }
.dropdown-toggle { width: 28px; height: 38px; padding: 0; border: 0; color: #aeb8bf; background: transparent; font-size: 1rem; cursor: pointer; transition: color .2s ease, transform .2s ease; }
.has-dropdown:hover .dropdown-toggle, .has-dropdown:focus-within .dropdown-toggle, .has-dropdown.is-open .dropdown-toggle { color: #e0bd79; }
.has-dropdown.is-open .dropdown-toggle { transform: rotate(180deg); }
.nav .nav__link::after, .nav-item__label .nav__link::after { bottom: 22px; background: #d4af67; }
.nav__link:hover, .nav__link:focus-visible, .nav > .is-current, .nav-item.is-current .nav__link { color: #e0bd79; }
.nav > .is-current::after, .nav-item.is-current .nav__link::after { right: 0 !important; }
.nav__cta { padding: 14px 19px; border: 1px solid #d4af67; border-radius: 4px; color: #0a1928 !important; background: #d4af67; white-space: nowrap; }
.nav__cta:hover, .nav__cta:focus-visible, .nav__cta.is-current { border-color: #e4c789; background: #e4c789; }
.dropdown-menu { position: absolute; z-index: 20; top: calc(100% - 12px); left: -18px; width: 250px; padding: 12px; border: 1px solid rgba(204,172,110,.28); background: #102335; box-shadow: 0 24px 55px rgba(0,0,0,.26); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
.dropdown-menu--wide { width: 330px; }
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu, .has-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 12px 13px; border-bottom: 1px solid rgba(255,255,255,.08); color: #e1e6e9; font-family: var(--sans); font-size: .84rem; font-weight: 600; line-height: 1.35; text-decoration: none; transition: color .2s ease, background .2s ease, padding-left .2s ease; }
.dropdown-menu a:last-child { border-bottom: 0; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { padding-left: 18px; color: #e5c786; background: rgba(255,255,255,.045); }
.dropdown-menu a::after { display: none !important; }
.dropdown-menu strong, .dropdown-menu small { display: block; }
.dropdown-menu strong { font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.dropdown-menu small { margin-top: 4px; color: #9fabb4; font-size: .73rem; font-weight: 400; }

/* Pages intérieures */
.inner-hero { position: relative; min-height: 510px; display: grid; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(90deg, rgba(5,16,26,.99) 0%, rgba(5,16,26,.92) 47%, rgba(5,16,26,.54) 100%), url("cabinet-notarial-v21.webp") center 58%/cover no-repeat; }
.inner-hero--compact { min-height: 455px; }
.inner-hero__content { padding: 82px 0; }
.inner-hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.2rem, 6vw, 5.6rem); overflow-wrap: normal; word-break: normal; }
.inner-hero h1 em { color: #e6c991; font-weight: 400; }
.inner-hero__content > p:last-child { max-width: 650px; margin: 28px 0 0; color: #d1d9de; font-size: 1.08rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 45px; color: #aebbc4; font-size: .8rem; }
.breadcrumbs a { color: #d9e0e4; text-decoration: none; }
.breadcrumbs a::after { content: "/"; margin-left: 11px; color: #71808c; }
.content-section { background: #fff; }
.section--mist { background: var(--mist); }
.split-content { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; align-items: start; }
.prose { max-width: 680px; }
.prose p { color: #596772; }
.prose .lead-copy, .article-body .lead-copy { color: var(--ink); font-family: var(--serif); font-size: 1.5rem; line-height: 1.48; }
.profile-section { color: #fff; background: #0c1c2c; }
.profile-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 105px; align-items: center; }
.profile-visual { min-height: 470px; display: grid; place-content: center; border: 1px solid rgba(222,189,126,.35); background: linear-gradient(145deg,#132a3e,#091724); text-align: center; }
.profile-visual span { color: #d9b46f; font-family: var(--serif); font-size: 9rem; line-height: 1; }
.profile-visual small { margin-top: 25px; color: #94a2ac; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.profile-visual.profile-visual--portrait { display: block; width: 100%; max-width: 400px; min-height: 0; margin-inline: auto; overflow: hidden; }
.profile__portrait { display: block; width: 100%; height: auto; object-fit: contain; }
.profile-grid > div:last-child > p:not(.eyebrow) { color: #c3ccd2; }
.profile-grid .lead-copy { color: #fff !important; font-family: var(--serif); font-size: 1.45rem; }
.profile-grid .text-link { margin-top: 18px; color: #fff; }
.compact-heading { grid-template-columns: 1fr; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.values-grid article { min-height: 245px; padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-grid span, .practice-card > span { color: var(--gold-deep); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.values-grid h3 { margin: 38px 0 12px; font-size: 1.8rem; }
.values-grid p { margin: 0; color: var(--muted); font-size: .91rem; }
.cta-band { padding: var(--section-space) 0; color: #fff; background: #102638; }
.cta-band .shell { display: flex; align-items: center; justify-content: space-between; gap: 28px 45px; }
.cta-band h2 { font-size: clamp(2.2rem,4vw,3.6rem); }
.cta-band .eyebrow { margin-bottom: 12px; }
.practice-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.practice-card { min-height: 340px; display: flex; flex-direction: column; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.practice-card:hover { z-index: 2; transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.practice-card h2 { margin: 42px 0 14px; font-size: 2.5rem; }
.practice-card p { margin: 0 0 30px; color: var(--muted); }
.practice-card strong { margin-top: auto; color: var(--gold-deep); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.article-section { background: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 100px; align-items: start; }
.article-body { max-width: 730px; }
.history-portrait { float: left; width: min(42%, 260px); margin: 6px 28px 18px 0; border: 1px solid rgba(169,130,66,.35); }
.history-portrait img { display: block; width: 100%; height: auto; }
.article-body h2 { margin: 28px 0 14px; font-size: 2.3rem; }
.article-body h2:first-of-type { margin-top: 20px; }
.article-body p { color: #596772; }
.history-section + .history-section { padding-top: 28px; }
.history-section .article-body > .eyebrow { margin-bottom: 12px; }
.history-section .article-body > h2:first-of-type { margin-top: 0; }
.history-section .article-body > p:last-child { margin-bottom: 0; }
.info-panel { position: sticky; top: 150px; padding: 34px; color: #fff; background: #102638; }
.info-panel--light { color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.info-panel h3 { margin: 0 0 22px; font-size: 1.8rem; }
.check-list { margin: 0 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid rgba(128,143,153,.23); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #cba762; }
.process-section { background: var(--mist); }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 35px; border-top: 1px solid #cad4d8; border-left: 1px solid #cad4d8; }
.process-grid article { padding: 32px; border-right: 1px solid #cad4d8; border-bottom: 1px solid #cad4d8; }
.process-grid span { color: var(--gold-deep); font-size: .75rem; font-weight: 800; }
.process-grid h3 { margin: 30px 0 10px; font-size: 1.75rem; }
.process-grid p { margin: 0; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.topic-grid article { min-height: 325px; padding: 34px; border: 1px solid var(--line); }
.topic-grid span, .post-card > span { color: var(--gold-deep); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.topic-grid h2 { margin: 50px 0 16px; font-size: 2rem; }
.topic-grid p { color: var(--muted); }
.numbered-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.numbered-list li { position: relative; padding: 0 0 30px 58px; counter-increment: steps; }
.numbered-list li::before { content: "0" counter(steps); position: absolute; left: 0; top: -4px; color: var(--gold-deep); font-size: .75rem; font-weight: 800; }
.numbered-list strong, .numbered-list span { display: block; }
.numbered-list strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.numbered-list span { margin-top: 6px; color: var(--muted); }
.document-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 28px; }
.document-grid article { padding: 30px; background: #fff; border: 1px solid #d6dee1; }
.document-grid h3 { margin: 0 0 18px; font-size: 1.45rem; }
.notice { margin: 30px 0 0; padding: 18px 22px; border-left: 3px solid var(--gold); color: #5d6972; background: #fff; }
.notice--center { max-width: 740px; margin: 28px auto 0; text-align: center; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { min-height: 390px; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); background: #fff; }
.post-card h2 { margin: 45px 0 16px; font-size: 1.9rem; }
.post-card p { color: var(--muted); }
.post-card a { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--gold-deep); font-size: .78rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.contact--page { background: #0b1927; }
.appointment-section { background: var(--mist); }
.appointment-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.appointment-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.appointment-note { display: grid; gap: 7px; margin-top: 35px; padding: 22px; border-left: 3px solid var(--gold); background: #fff; }
.appointment-note strong { font-family: var(--serif); font-size: 1.25rem; }
.appointment-note span { color: var(--muted); font-size: .9rem; }
.appointment-form { box-shadow: var(--shadow); }
.partner-grid { max-width: 740px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.partner-grid article { min-height: 220px; padding: 26px 28px; }
.partner-grid h2 { margin: 26px 0 10px; font-size: clamp(1.75rem, 3vw, 2.1rem); }
.partner-grid p { margin: 0; }
.footer__nav { display: flex; gap: 22px; }
.footer__nav a, .footer__top-link { color: #aeb9c0; font-size: .76rem; text-decoration: none; }
.footer__nav a:hover, .footer__top-link:hover { color: #e0bd79; }

@media (max-width: 1120px) {
  .nav { gap: 13px; }
  .nav__link, .nav-item__label .nav__link { font-size: .78rem; }
  .nav__cta { padding-inline: 13px; font-size: .75rem !important; }
}

@media (max-width: 980px) {
  .site-header { background: #0a1928; }
  .site-header .menu-toggle span { background: #fff; }
  .nav { inset: 128px 0 0; display: flex; align-items: stretch; gap: 0; padding: 20px 24px 40px; overflow-y: auto; background: #0a1928; }
  .nav > .nav__link, .nav-item__label { min-height: auto; }
  .nav a, .nav__link, .nav-item__label .nav__link { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.12); color: #e0e5e8; font-family: var(--sans); font-size: 1rem; }
  .nav .nav__link::after, .nav-item__label .nav__link::after { display: none; }
  .nav-item__label .nav__link { flex: 1; }
  .dropdown-toggle { width: 54px; height: auto; border-bottom: 1px solid rgba(255,255,255,.12); }
  .dropdown-menu { position: static; display: none; width: auto; padding: 6px 0 8px 18px; border: 0; background: #0e2132; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { display: none; }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 12px; font-size: .88rem; }
  .nav__cta { display: block; margin-top: 20px; padding: 15px !important; color: #0a1928 !important; text-align: center; }
  .split-content, .profile-grid, .article-layout, .appointment-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .profile-visual { min-height: 370px; }
  .info-panel { position: static; }
  .topic-grid, .document-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .shell { align-items: flex-start; flex-direction: column; }
  .footer__top { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .nav { inset-block-start: 76px; }
  .inner-hero, .inner-hero--compact { min-height: 520px; }
  .inner-hero__content { padding: 70px 0; }
  .inner-hero h1 { max-width: 100%; font-size: clamp(2.75rem, 12.4vw, 4rem); line-height: 1.02; letter-spacing: -.035em; }
  .breadcrumbs { margin-bottom: 34px; }
  .values-grid, .practice-grid, .process-grid, .topic-grid, .document-grid, .blog-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 300px; padding: 30px; }
  .profile-visual { min-height: 320px; }
  .profile-visual span { font-size: 7rem; }
  .article-body h2 { font-size: 2rem; }
  .history-portrait { float: none; width: min(100%, 300px); margin: 0 auto 24px; }
  .footer__nav { flex-wrap: wrap; gap: 13px 20px; }
  .appointment-note { margin-top: 24px; }
  .partner-grid { width: 100%; max-width: 340px; grid-template-columns: 1fr; margin-inline: auto; gap: 14px; }
  .partner-grid article { min-height: 0; padding: 22px 24px; }
  .partner-grid h2 { margin: 20px 0 8px; font-size: 1.7rem; line-height: 1.08; }
  .contact-form .button { white-space: normal; text-align: center; }
  .topic-grid article { min-height: 0; }
  .topic-grid h2 { margin-top: 30px; }
}

@media (max-width: 480px) {
  :root { --shell: calc(100% - 24px); --section-space: 24px; }
  .nav { padding-inline: 16px; }
  .inner-hero, .inner-hero--compact { min-height: 430px; }
  .inner-hero__content { padding: 52px 0; }
  .inner-hero h1 { font-size: clamp(2.2rem, 11.4vw, 3.05rem); }
  .inner-hero__content > p:last-child { margin-top: 22px; font-size: 1rem; }
  .breadcrumbs { margin-bottom: 26px; }
  .contact-form { padding: 24px 16px; }
  .contact-form label { margin-bottom: 18px; }
  .form-row { gap: 0; }
  .form-security { margin-inline: 0; padding: 12px; }
  .button { min-height: 50px; padding-inline: 16px; gap: 12px; font-size: .75rem; }
  .practice-card, .service-card, .topic-grid article, .post-card { padding-inline: 24px; }
  .footer { padding-top: 38px; }
}

@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand__logo { width: 39px; height: 52px; }
  .brand strong { font-size: .82rem; }
  .brand small { font-size: .54rem; letter-spacing: .055em; }
  .menu-toggle { width: 42px; }
  .home-values span { font-size: .74rem; }
  .contact-form { padding-inline: 14px; }
  .inner-hero h1 { font-size: clamp(2.05rem, 11vw, 2.45rem); }
}

@media (pointer: coarse) {
  .nav a, .dropdown-toggle, .button, .footer__nav a, .footer__top-link { min-height: 44px; }
  .consent input { width: 20px; height: 20px; flex: 0 0 auto; }
}

/* Accueil plein écran : aucune barre de défilement visible sur ordinateur. */
.home-page {
  width: 100%;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  color: #fff;
  background: #071522;
  scrollbar-width: none;
}
.home-page::-webkit-scrollbar { display: none; }
.home-page .shell { width: min(1440px, calc(100% - 48px)); }
.home-page .site-header { position: relative; }
.home-main { min-height: 0; display: grid; }
.home-hero {
  min-height: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(211, 178, 115, .28);
  background:
    radial-gradient(circle at 76% 48%, rgba(199, 162, 95, .09), transparent 31%),
    linear-gradient(135deg, #0a1b2b 0%, #071522 72%);
}
.home-hero__grid {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr);
  align-items: center;
  gap: clamp(40px, 6vw, 104px);
  padding-block: clamp(18px, 3.2vh, 42px);
}
.home-hero__copy { min-width: 0; }
.home-hero__copy .eyebrow { margin-bottom: clamp(12px, 2vh, 22px); }
.home-hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 4vw, 4.9rem);
  line-height: .99;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  word-break: normal;
}
.home-hero__lead {
  max-width: 650px;
  margin: clamp(16px, 2.5vh, 27px) 0 0;
  color: #d5dde3;
  font-size: clamp(.96rem, 1.08vw, 1.14rem);
  line-height: 1.68;
}
.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: clamp(20px, 2.8vh, 32px);
}
.home-values {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(20px, 3vh, 34px);
  border: 1px solid rgba(255, 255, 255, .13);
}
.home-values span {
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 9px 14px;
  border-right: 1px solid rgba(255, 255, 255, .13);
  color: #edf1f3;
  font-family: var(--serif);
  font-size: .94rem;
  text-align: center;
}
.home-values span:last-child { border-right: 0; }
.home-hero__visual {
  position: relative;
  width: min(100%, calc(100svh - 225px), 690px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(229, 199, 141, .52);
  background: #0c1b28;
  box-shadow: 0 34px 84px rgba(0, 0, 0, .35);
}
.home-hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.home-page .footer { padding: 0; }
.home-page .footer__top { display: none; }
.home-page .footer__bottom {
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  border-top: 0;
  color: #89959e;
  text-align: center;
}

@media (min-width: 981px) and (max-height: 720px) {
  .home-hero__grid { padding-block: 14px; }
  .home-hero h1 { font-size: clamp(2.55rem, 3.5vw, 4rem); }
  .home-hero__lead { margin-top: 14px; line-height: 1.48; }
  .home-hero__actions { margin-top: 17px; }
  .home-values { margin-top: 17px; }
  .home-values span { min-height: 43px; }
  .home-hero__visual { width: min(100%, calc(100svh - 205px), 540px); }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1.04fr) minmax(370px, .96fr); gap: 34px; }
  .home-hero h1 { font-size: clamp(2.65rem, 4.3vw, 4.15rem); }
}

@media (max-width: 980px) {
  .home-page {
    height: auto;
    min-height: 100svh;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .home-main { display: block; }
  .home-hero { overflow: visible; }
  .home-hero__grid {
    height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 58px;
  }
  .home-hero__copy { max-width: 720px; }
  .home-hero__visual {
    width: min(100%, 620px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .home-page .shell { width: calc(100% - 32px); }
  .home-hero__grid { gap: 34px; padding-block: 42px; }
  .home-hero h1 { max-width: 100%; font-size: clamp(2.55rem, 12.5vw, 4rem); line-height: 1.02; letter-spacing: -.035em; }
  .home-hero__lead { line-height: 1.6; }
  .home-hero__actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .home-values span { min-height: 46px; padding-inline: 7px; font-size: .81rem; }
  .home-hero__visual { width: 100%; }
  .home-page .footer__bottom { min-height: 54px; padding-inline: 16px; }
}

@media (max-width: 360px) {
  .home-hero h1 { font-size: clamp(2.3rem, 12vw, 2.7rem); }
}

/* Thème ardoise V2.2 : fond uniforme #4A5568 et contrastes renforcés. */
:root {
  --theme-bg: #4A5568;
  --theme-surface: #566276;
  --theme-surface-hover: #606D82;
  --theme-deep: #364152;
  --theme-deeper: #2F3948;
  --theme-text: #FFFFFF;
  --theme-muted: #E8EDF3;
  --theme-gold: #F4D79D;
  --theme-line: rgba(255, 255, 255, .25);
  --display-title-size: clamp(3rem, 5.2vw, 5rem);
}

body,
main,
.content-section,
.article-section,
.section--mist,
.expertises,
.faq,
.method,
.promise,
.contact,
.contact--page,
.profile-section,
.process-section,
.appointment-section,
.cta-band {
  color: var(--theme-text);
  background: var(--theme-bg);
}

h1,
h2,
h3,
.article-body h2,
.profile-grid .lead-copy,
.prose .lead-copy,
.article-body .lead-copy {
  color: var(--theme-text);
}

main p {
  color: var(--theme-muted) !important;
}
main .lead-copy { color: var(--theme-text) !important; }

.eyebrow,
.eyebrow--light,
h1 em,
.inner-hero h1 em,
.service-card__number,
.values-grid span,
.practice-card > span,
.process-grid span,
.topic-grid span,
.post-card > span,
.numbered-list li::before,
.check-list li::before,
.practice-card strong,
.post-card a,
.text-link {
  color: var(--theme-gold) !important;
}

.topbar { background: #2F3948; color: var(--theme-muted); }
.topbar a { color: var(--theme-text); }
.site-header { background: var(--theme-deep); border-bottom-color: var(--theme-line); }
.site-header .brand small { color: #E2E8F0; }
.nav__link,
.nav-item__label .nav__link { color: #F3F6FA; }
.dropdown-menu { background: var(--theme-deep); border-color: rgba(244, 215, 157, .48); }
.dropdown-menu a { color: var(--theme-text); }
.dropdown-menu small { color: #D7DEE8; }
.dropdown-toggle { color: #E2E8F0; }
.nav__link:hover,
.nav__link:focus-visible,
.nav > .is-current,
.nav-item.is-current .nav__link,
.has-dropdown:hover .dropdown-toggle,
.has-dropdown:focus-within .dropdown-toggle,
.has-dropdown.is-open .dropdown-toggle { color: var(--theme-gold); }

.inner-hero {
  background:
    linear-gradient(90deg, rgba(74, 85, 104, .92) 0%, rgba(74, 85, 104, .80) 50%, rgba(74, 85, 104, .56) 100%),
    url("cabinet-notarial-v21.webp") center 58%/cover no-repeat;
}
.inner-hero__content > p:last-child { color: #F1F5F9 !important; }
.breadcrumbs { color: #E2E8F0; }
.breadcrumbs a { color: var(--theme-text); }
.breadcrumbs a::after { color: #CBD5E1; }

.values-grid,
.practice-grid,
.process-grid,
.services-grid,
.faq__list {
  border-color: var(--theme-line);
}

.values-grid article,
.practice-card,
.topic-grid article,
.document-grid article,
.post-card,
.process-grid article,
.service-card,
.appointment-note,
.notice,
.info-panel--light {
  color: var(--theme-text);
  background: var(--theme-surface);
  border-color: var(--theme-line);
}

.appointment-note {
  width: 100%;
  max-width: 390px;
  padding: 18px 20px;
}
.appointment-note strong { color: #FFFFFF; }
.appointment-note span {
  color: #F8FAFC;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.55;
}

.practice-card:hover,
.service-card:hover,
.post-card:hover {
  color: var(--theme-text);
  background: var(--theme-surface-hover);
}

.service-card--accent,
.service-card--accent:hover,
.info-panel,
.profile-visual {
  color: var(--theme-text);
  background: var(--theme-deep);
}

.service-card,
.values-grid article,
.practice-card,
.topic-grid article,
.document-grid article,
.post-card,
.process-grid article,
.faq details,
.check-list li,
.steps li {
  border-color: var(--theme-line);
}

.home-page,
.home-hero {
  color: var(--theme-text);
  background: var(--theme-bg);
}
.home-hero__lead { color: var(--theme-muted); }
.home-values { border-color: var(--theme-line); background: var(--theme-surface); }
.home-values span { color: var(--theme-text); border-color: var(--theme-line); }
.home-hero__visual { background: var(--theme-deep); border-color: rgba(244, 215, 157, .68); }

.contact-form {
  color: #1F2937;
  background: #F8FAFC;
  border: 1px solid #D5DCE5;
}
.contact-form h1,
.contact-form h2,
.contact-form h3,
.contact-form label { color: #1F2937; }
.contact-form label > span { color: #7A4B00; }
.contact-form p,
.contact-form .consent { color: #475569 !important; }
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  color: #1F2937;
  border-bottom-color: #718096;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #5F6B7A; opacity: 1; }
.form-security { color: #1F2937; background: #E8EDF3; border-color: #C2CBD6; }
.form-security p { color: #475569 !important; }
.contact-form .form-status { color: #6B4E00 !important; }
.contact-form .form-status.is-success { color: #166534 !important; }
.contact-form .form-status.is-error { color: #991B1B !important; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--theme-gold);
  outline-offset: 3px;
}

.footer { color: #E2E8F0; background: var(--theme-deeper); border-top-color: var(--theme-line); }
.brand--footer small,
.footer__top > p,
.footer__bottom,
.footer__nav a,
.footer__top-link { color: #D8E0EA; }
.footer__nav a:hover,
.footer__top-link:hover { color: var(--theme-gold); }

@media (max-width: 980px) {
  .site-header,
  .nav { background: var(--theme-deep); }
  .dropdown-menu { background: var(--theme-deeper); }
  .nav a,
  .nav__link,
  .nav-item__label .nav__link { color: var(--theme-text); border-bottom-color: var(--theme-line); }
}

/* V2.5 : cartes adaptatives, espacements resserrés et formulaires simplifiés. */
.section--cards { padding-block: clamp(24px, 3vw, 34px); }

.compact-heading {
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}
.compact-heading > p {
  max-width: 760px;
  margin: 0;
}

.topic-grid {
  gap: 16px;
  align-items: start;
}
.topic-grid:not(.partner-grid) {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}
.topic-grid article,
.partner-grid article {
  min-height: 0;
  padding: 24px 26px;
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(31, 41, 55, .08);
}
.topic-grid h2,
.partner-grid h2 {
  margin: 22px 0 10px;
  font-size: clamp(1.6rem, 2.25vw, 1.95rem);
  line-height: 1.1;
}
.topic-grid p,
.partner-grid p {
  margin: 0;
  line-height: 1.55;
}

.process-section.section { padding-block: clamp(26px, 3.2vw, 38px); }
.process-grid {
  width: 100%;
  max-width: 960px;
  margin: 22px auto 0;
}
.process-grid article { padding: 20px 22px; }
.process-grid h3 {
  margin: 14px 0 7px;
  font-size: 1.55rem;
  line-height: 1.15;
}
.process-grid p { line-height: 1.55; }

.faq__grid {
  max-width: 1040px;
  grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr);
  gap: 56px;
  margin-inline: auto;
}
.faq__grid h2 { font-size: clamp(2.7rem, 4.5vw, 4.2rem); }
.faq summary {
  gap: 16px;
  padding: 18px 0;
  font-size: 1.1rem;
  line-height: 1.35;
}
.faq details p { margin: 0 38px 18px 0; }

.contact__grid {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(42px, 5vw, 70px);
}
.appointment-grid {
  grid-template-columns: minmax(270px, .78fr) minmax(0, 1.08fr);
  gap: clamp(38px, 4.5vw, 62px);
}
.contact-form {
  width: 100%;
  max-width: 680px;
  justify-self: end;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 20px 55px rgba(31, 41, 55, .2);
}
.contact-form label {
  margin-bottom: 15px;
  font-size: .72rem;
  letter-spacing: .045em;
}
.form-row { gap: 14px; }
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  margin-top: 6px;
  padding-inline: 13px;
  border: 1px solid #CBD5E1;
  border-radius: 7px;
  background: #FFFFFF;
}
.contact-form input:not([type="checkbox"]),
.contact-form select { min-height: 44px; }
.contact-form textarea {
  min-height: 108px;
  padding-block: 11px;
  line-height: 1.5;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #A98242;
  box-shadow: 0 0 0 3px rgba(169, 130, 66, .15);
}
.contact-form .consent {
  margin: 2px 0 15px;
  line-height: 1.45;
}
.contact-form .button {
  min-height: 50px;
  border-radius: 7px;
}
.contact-form .form-status {
  min-height: 0;
  margin-top: 10px;
  padding: 9px 11px;
  border-left: 3px solid #C8A466;
  border-radius: 4px;
  background: #FFF8E8;
  font-size: .75rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .faq__grid,
  .contact__grid,
  .appointment-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .faq__grid { max-width: 760px; }
  .contact-form { max-width: 720px; justify-self: center; }
}

@media (max-width: 640px) {
  .section--cards { padding-block: 22px; }
  .compact-heading { gap: 12px; margin-bottom: 20px; }
  .topic-grid:not(.partner-grid),
  .partner-grid { max-width: 360px; }
  .topic-grid article,
  .partner-grid article { padding: 20px 21px; }
  .topic-grid h2,
  .partner-grid h2 {
    margin-top: 17px;
    font-size: 1.58rem;
  }
  .process-grid { max-width: 360px; border-top: 0; }
  .process-grid article {
    padding: 18px 20px;
    border-top: 1px solid var(--theme-line);
  }
  .faq__grid { gap: 24px; }
  .faq__grid h2 { font-size: clamp(2.35rem, 11vw, 3.25rem); }
  .faq summary { padding: 16px 0; font-size: 1rem; }
  .contact-form {
    max-width: 620px;
    padding: 22px 18px;
    border-radius: 8px;
  }
  .form-row { gap: 0; }
  .contact-form label { margin-bottom: 13px; }
  .contact-form input:not([type="checkbox"]),
  .contact-form select { min-height: 46px; }
  .contact-form textarea { min-height: 100px; }
}

/* V2.6 : cartes élargies et hauteurs uniformisées par rangée. */
.services-grid,
.values-grid,
.practice-grid,
.process-grid,
.topic-grid,
.document-grid,
.blog-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.service-card,
.values-grid article,
.practice-card,
.process-grid article,
.topic-grid article,
.document-grid article,
.post-card {
  height: 100%;
}

.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.topic-grid:not(.partner-grid),
.process-grid {
  width: 100%;
  max-width: 1180px;
}

.partner-grid {
  width: 100%;
  max-width: 900px;
}

@media (max-width: 980px) {
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-grid,
  .values-grid,
  .practice-grid,
  .process-grid,
  .topic-grid,
  .document-grid,
  .blog-grid {
    grid-auto-rows: auto;
  }

  .topic-grid,
  .topic-grid:not(.partner-grid) {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-grid {
    max-width: 360px;
  }
}

/* V2.9 : grands titres harmonisés sur toutes les pages. */
.home-hero h1,
.inner-hero h1,
.intro__grid > div:first-child h2,
.section-heading h2,
.split-content > div:first-child h2,
.method__intro h2,
.contact__details h2,
.profile-grid > div:last-child h2,
.appointment-grid > div:first-child h2,
.faq__grid .faq-title {
  font-size: var(--display-title-size);
  line-height: 1.02;
  letter-spacing: -.04em;
}

/* Le titre de la FAQ reste réparti sur deux lignes insécables. */
.faq__grid .faq-title {
  text-wrap: initial;
}

@media (max-width: 640px) {
  :root {
    --display-title-size: clamp(2.45rem, 10vw, 3.15rem);
  }
}

@media (max-width: 360px) {
  :root {
    --display-title-size: clamp(2.2rem, 10vw, 2.45rem);
  }
}
