/* VALANTE — assurance emprunteur & patrimoine */
:root {
  --ink: #16365f;
  --ink-2: #1e4577;
  --accent: #b07a35;
  --sky: #eef3f9;
  --steel: #3e6a8e;
  --mist: #e6ebef;
  --paper: #f6f8f9;
  --white: #ffffff;
  --graphite: #1c1d1f;
  --text: #24313d;
  --muted: #56636f;
  --line: #cfd8e0;
  --ice: #d6e5f1;
  --ok: #2c6a4d;
  --err: #a3312b;
  --focus: #2a7fd1;
  --display: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 4px;
  --radius-m: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--steel); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 50; border-radius: var(--radius-s); }
.skip:focus { top: 12px; color: #fff; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.measure { max-width: 68ch; }

/* ------------------------------------------------ header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav-toggle { white-space: nowrap; font-family: var(--body); font-size: 1.02rem; color: var(--graphite); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-s); }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.head-cta { display: flex; align-items: center; gap: 14px; }
.head-tel { font-family: var(--body); font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: .98rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 12px; font: 600 .95rem var(--body); color: var(--ink); cursor: pointer; }

@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--mist); }
  .nav a[aria-current="page"] { box-shadow: none; font-weight: 600; }
  .head-cta .head-tel { display: none; }
  .head-cta { order: 3; }
}
@media (max-width: 560px) {
  .head-cta .btn { display: none; }
  .brand img { height: 44px; }
}

/* ------------------------------------------------ buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1.2 var(--body); letter-spacing: .01em; padding: 14px 24px; border-radius: 6px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ice); color: var(--ink); }
.btn-small { padding: 10px 16px; font-size: .95rem; }

/* ------------------------------------------------ hero (accueil) */
.hero { position: relative; overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--line); }
.hero-v { position: absolute; right: -6%; top: -8%; width: min(64vw, 820px); height: auto; color: var(--ink); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 13em; }
.hero .lede { color: var(--text); }
.hero-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 34em; }
.hero-facts li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.hero-facts svg { width: 18px; height: 18px; margin-top: 4px; color: var(--steel); }
.hero-facts strong { color: var(--ink); font-weight: 600; }
.hero-note { margin-top: 26px; font-size: .9rem; color: var(--muted); max-width: 36em; }

.form-panel { background: var(--white); border-radius: var(--radius-m); box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(14, 42, 69, .45); padding: clamp(22px, 3vw, 34px); position: relative; }
.form-panel > h2 { font-size: 1.45rem; margin-bottom: .25em; }
.form-panel > .sub { color: var(--muted); font-size: .98rem; margin-bottom: 18px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-v { width: 120vw; right: -40vw; top: auto; bottom: -10%; opacity: .5; }
}

/* ------------------------------------------------ page header (pages intérieures) */
.page-head { background: var(--sky); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .wrap { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 56px); position: relative; }
.page-head h1 { max-width: 18em; }
.page-head .lede { margin-bottom: 0; }
.page-head .hero-v { width: min(44vw, 520px); right: -4%; top: -30%; opacity: .9; }
@media (max-width: 900px) { .page-head .hero-v { display: none; } }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* ------------------------------------------------ sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding-top: 0; }
.hero-jump { display: none; margin-top: 22px; }
@media (max-width: 900px) { .hero-jump { display: inline-flex; } }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: clamp(56px, 8vw, 104px); }
.section.dark { background: var(--ink); color: #dfe8f0; padding-top: clamp(56px, 8vw, 104px); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a:not(.btn) { color: #fff; }
.section-head { max-width: 44em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section.dark .section-head p { color: #b9c9d8; }

/* trois garanties de la loi */
.law { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.law > div { padding: 26px 28px 8px 0; }
.law > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.law .big { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink); line-height: 1.1; margin-bottom: 12px; }
.law p { color: var(--muted); }
@media (max-width: 820px) {
  .law { grid-template-columns: 1fr; }
  .law > div, .law > div + div { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--line); }
  .law > div:first-child { border-top: 0; }
}
.foot-note { font-size: .88rem; color: var(--muted); margin-top: 18px; max-width: 60em; }

/* étapes */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 24px 0 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); font: 600 1.1rem var(--display); color: var(--ink); background: var(--paper); position: relative; z-index: 1; margin-bottom: 18px; }
.section.alt .steps li::before { background: var(--white); }
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: .4em; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { padding: 0 0 0 64px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { left: 22px; top: 44px; bottom: -26px; right: auto; width: 1px; height: auto; }
}

/* parcours / situations */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); overflow: hidden; }
.paths a { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 26px; text-decoration: none; color: var(--text); }
.paths a + a { border-left: 1px solid var(--line); }
.paths a:hover { background: var(--mist); color: var(--text); }
.paths h3 { margin: 0; }
.paths p { margin: 0; color: var(--muted); }
.paths .go { margin-top: auto; padding-top: 12px; font-family: var(--body); font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) {
  .paths { grid-template-columns: 1fr; }
  .paths a + a { border-left: 0; border-top: 1px solid var(--line); }
}

/* bande patrimoine */
.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.offer h3 { font-size: 1.3rem; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .28); }
.offer p { color: #b9c9d8; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } }

/* split texte / aside */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; position: sticky; top: 100px; }
.aside-box h3 { font-size: 1.2rem; }
.aside-box p { color: var(--muted); font-size: 1rem; }
.aside-box .btn { width: 100%; margin-top: 6px; white-space: normal; }
.aside-box .tel { display: block; margin-top: 16px; font-family: var(--body); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; }

/* contenu rédactionnel */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--steel); }
.prose .callout { border-left: 3px solid var(--ink); background: var(--white); padding: 16px 20px; margin: 1.4em 0; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--display); font-weight: 500; color: var(--ink); background: var(--mist); }
.table-scroll { overflow-x: auto; }
.prose .ref { font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 74ch; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 500 1.12rem/1.35 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .answer { padding: 0 0 18px; color: var(--text); }
.faq-group { margin-bottom: 48px; }
.faq-group > h2 { font-size: 1.4rem; margin-bottom: 14px; }

/* cabinet */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .9rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--body); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); }
.partners > div { padding: 20px; }
.partners > div + div { border-left: 1px solid var(--line); }
.partners strong { display: block; font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }
.partners span { display: block; font-size: .95rem; color: var(--muted); }
@media (max-width: 820px) {
  .partners { grid-template-columns: 1fr 1fr; }
  .partners > div:nth-child(3) { border-left: 0; }
  .partners > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.coords { list-style: none; padding: 0; margin: 0 0 28px; }
.coords li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.coords span { display: block; font-size: .9rem; color: var(--muted); }
.coords a, .coords strong { font-family: var(--body); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; }

/* CTA final */
.cta-band { background: var(--mist); border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 20em; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------ footer */
.site-foot { background: var(--graphite); color: #c3cad1; font-size: .95rem; }
.site-foot .wrap { padding-top: 56px; padding-bottom: 32px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid #3a3c40; }
.foot-top img { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 14px; }
.site-foot h2 { font-size: 1rem; color: #fff; font-weight: 500; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #e3e8ec; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.legal { padding-top: 24px; font-size: .85rem; line-height: 1.55; color: #9aa3ab; }
.legal p { max-width: 110ch; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }

/* ------------------------------------------------ menu « Nos solutions » */
.nav-group { position: relative; }
.nav-toggle { background: none; border: 0; cursor: pointer; color: var(--graphite); padding: 8px 12px; border-radius: var(--radius-s); display: inline-flex; align-items: center; gap: 6px; }
.nav-toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-toggle:hover, .nav-group:focus-within .nav-toggle { color: var(--ink); background: var(--mist); }
.nav-group.is-current .nav-toggle { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.nav-sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -20px rgba(22, 54, 95, .35); display: none; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.is-open .nav-sub { display: block; }
.nav-group::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.nav-sub a { display: block; padding: 10px 12px; border-radius: 6px; }
.nav-sub a[aria-current="page"] { box-shadow: none; background: var(--sky); border-radius: 6px; }
@media (max-width: 1100px) {
  .nav-group { border-bottom: 1px solid var(--mist); }
  .nav-toggle { padding: 12px 4px; width: 100%; justify-content: space-between; font-weight: 600; }
  .nav-group.is-current .nav-toggle { box-shadow: none; }
  .nav-sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .nav-sub a { padding: 9px 4px; border-bottom: 0; }
  .nav-group::before { display: none; }
}

/* ------------------------------------------------ accueil */
.home-hero { position: relative; overflow: hidden; background: var(--sky); }
.home-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.home-hero .wrap { position: relative; display: flex; align-items: center; min-height: clamp(520px, 64vh, 680px); padding-top: 48px; padding-bottom: 72px; }
.home-card { background: rgba(255, 255, 255, .93); border-radius: 14px; padding: clamp(28px, 4vw, 52px); max-width: 640px; box-shadow: 0 30px 60px -36px rgba(22, 54, 95, .55); }
.home-card h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.04; margin-bottom: .4em; }
.home-card .lede { color: var(--text); font-size: clamp(1.08rem, 1.6vw, 1.25rem); margin-bottom: 28px; }
.home-card .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.home-card .btn-ghost { border-color: var(--ink); }
@media (max-width: 760px) {
  .home-hero { background: #fff; }
  .home-hero-img { position: relative; inset: auto; height: 300px; object-position: 55% 40%; }
  .home-hero .wrap { min-height: 0; padding-top: 0; padding-bottom: 8px; margin-top: -60px; }
  .home-card { box-shadow: 0 20px 40px -28px rgba(22, 54, 95, .5); }
  .home-card .actions .btn { flex: 1 1 100%; }
}

.solutions { position: relative; z-index: 1; margin-top: -40px; padding-bottom: clamp(56px, 7vw, 88px); }
.sol-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.sol-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--text); box-shadow: 0 16px 32px -26px rgba(22, 54, 95, .45); transition: border-color .15s, box-shadow .15s; }
.sol-card:hover { border-color: var(--ink); box-shadow: 0 20px 36px -24px rgba(22, 54, 95, .55); color: var(--text); }
.sol-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.sol-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; flex: 1; }
.sol-title { display: flex; align-items: center; gap: 12px; font: 600 1.3rem/1.15 var(--display); color: var(--ink); }
.sol-icon { width: 30px; height: 30px; flex: none; color: var(--accent); }
.sol-text { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.sol-more { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.sol-arrow { width: 22px; height: 22px; flex: none; transition: transform .15s; }
.sol-card:hover .sol-arrow { transform: translateX(3px); }
@media (max-width: 1180px) { .sol-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .sol-card { grid-column: span 2; } .sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: span 3; } }
@media (max-width: 760px) { .solutions { margin-top: 24px; } .sol-grid { grid-template-columns: 1fr; } .sol-card, .sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: auto; } }

.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps-5 { grid-template-columns: 1fr; } }

.lemoine-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lemoine-band h2 { max-width: 18em; }
.lemoine-band p { color: #c9d6e4; max-width: 60ch; }
.lemoine-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.lemoine-points li { border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 8px 16px; color: #fff; font-weight: 600; font-size: .96rem; }
.lemoine-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.section.dark a.lemoine-link { color: #fff; font-weight: 600; }
.lemoine-note { font-size: .88rem; color: #a9bcd0 !important; margin: 4px 0 0; }
@media (max-width: 900px) { .lemoine-grid { grid-template-columns: 1fr; } }

.facts-aside { grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 22px; }
.facts-aside div { padding: 14px 0; }
.facts-aside div:last-child { border-bottom: 0; }

/* ------------------------------------------------ immobilier */
.immo-list { margin: 28px 0 8px; border-top: 1px solid var(--line); max-width: 74ch; }
.immo-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.immo-n { font: 600 1.5rem/1 var(--display); color: var(--accent); padding-top: 2px; }
.immo-item h3 { margin-bottom: .35em; }
.immo-item p { margin-bottom: .4em; }
.immo-know { font-size: .95rem; color: var(--muted); }

/* ------------------------------------------------ pages solutions */
.sol-kicker { font-weight: 600; color: var(--accent); margin: 0 0 10px; font-size: .98rem; }
.sol-figure { margin: 0 0 32px; }
.sol-figure img { width: 100%; height: auto; border-radius: 10px; }
.sol-figure figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.prose.sol h2 { margin-top: 1.5em; }
.prose.sol h3 { font-size: 1.12rem; margin-top: 1.3em; }
.sol-adv { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.sol-adv li { position: relative; padding: 12px 14px 12px 42px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin: 0; }
.sol-adv li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.sol-example { background: var(--sky); border: 1px solid #d5e1ee; border-radius: 10px; padding: 20px 22px 8px; }
.sol-example table { background: #fff; }
.sol-example th[scope="row"] { background: transparent; font-family: var(--body); font-weight: 400; color: var(--text); }
.sol-example td { white-space: nowrap; }
.sol-example td[colspan] { white-space: normal; }
.sol-note { font-size: .88rem; color: var(--muted); }
.sol-details { border: 1px solid var(--line); border-radius: 8px; background: #fff; margin: 14px 0; }
.sol-details summary { cursor: pointer; padding: 14px 18px; font: 600 1.05rem/1.3 var(--display); color: var(--ink); }
.sol-details .answer { padding: 0 18px 8px; }
.aside-points { list-style: none; padding: 0; margin: 0 0 14px; }
.aside-points li { font-weight: 600; color: var(--ink); font-size: .95rem; padding: 6px 0 6px 22px; position: relative; }
.aside-points li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.aside-box .dl { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.aside-box .dl small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.dl-icon { width: 30px; height: 30px; color: var(--accent); flex: none; }
.sol-siblings { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.sol-siblings h2 { font-size: 1.25rem; }
.sol-siblings ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sol-siblings a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; font-size: .95rem; }
.sol-siblings a:hover { border-color: var(--ink); }
.sol-siblings a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ------------------------------------------------ hubs de chapitre */
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hub-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.hub-item:hover { border-color: var(--ink); box-shadow: 0 18px 34px -26px rgba(22, 54, 95, .5); color: var(--text); }
.hub-item img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hub-body { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; padding: 18px 20px 20px; }
.hub-n { grid-row: span 2; font: 600 1.4rem/1 var(--display); color: var(--accent); padding-top: 2px; }
.hub-title { font: 600 1.2rem/1.2 var(--display); color: var(--ink); }
.hub-text { color: var(--muted); font-size: .97rem; line-height: 1.5; }
.hub-item-wide .hub-body { grid-template-columns: 1fr; }
.hub-note { margin-top: 32px; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-grid, .hub-grid-2 { grid-template-columns: 1fr; } }

/* ------------------------------------------------ fondateur et partenaires */
.founder { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.founder-photo { margin: 0; position: sticky; top: 100px; }
.founder-photo img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 44px -30px rgba(22, 54, 95, .55); }
.founder-text h2 { margin-bottom: .1em; }
.founder-role { color: var(--steel); font-size: 1.12rem; margin-bottom: 1.1em; }
.founder-role::after { content: ""; display: block; width: 44px; height: 3px; background: var(--accent); margin-top: 14px; }
.founder-sign { font: italic 500 1.15rem/1.4 var(--display); color: var(--ink); margin-top: 1.4em; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder-photo { position: static; max-width: 220px; } }
.partner-head { font-size: 1.35rem; margin: 40px 0 4px; }
.section-head + .partner-head { margin-top: 0; }
.partner-sub { color: var(--muted); margin-bottom: 18px; }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding: 20px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); text-align: center; transition: border-color .15s, box-shadow .15s; }
.partner:hover { border-color: var(--ink); box-shadow: 0 16px 30px -24px rgba(22, 54, 95, .5); color: var(--ink); }
.partner-logo { display: flex; align-items: center; justify-content: center; height: 64px; width: 100%; }
.partner-logo img { max-height: 64px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
.partner-name { font-weight: 600; font-size: .95rem; line-height: 1.3; }
@media (max-width: 980px) { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner-logo img { max-width: 120px; } }

/* ------------------------------------------------ prise de rendez-vous */
.rdv-list { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.rdv-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rdv-list strong { display: block; font: 600 1.08rem/1.3 var(--body); color: var(--ink); margin-bottom: 2px; }
.rdv-list span { color: var(--muted); font-size: .98rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.rdv-tel { margin: 16px 0 6px; font-size: .98rem; }
.rdv-tel a { font-weight: 600; color: var(--ink); }
.rdv-note { margin: 0; font-size: .88rem; color: var(--muted); }

/* ------------------------------------------------ formulaires Wix (non utilisés) */
.wf { display: grid; gap: 0; }
.wf [hidden] { display: none !important; }
.wf-field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.wf-label { display: block; font: 500 1rem/1.3 var(--display); color: var(--ink); margin-bottom: 8px; padding: 0; }
.wf-req { color: var(--steel); }
.wf input[type="text"], .wf input[type="email"], .wf input[type="tel"], .wf select, .wf textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--body); color: var(--graphite); background: var(--white);
  border: 1px solid #b4c1cc; border-radius: var(--radius-s); padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.wf textarea { resize: vertical; min-height: 120px; }
.wf select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.wf input:focus, .wf select:focus, .wf textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(42, 127, 209, .25); }
.wf-help { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.wf-error { font-size: .92rem; color: var(--err); margin: 6px 0 0; min-height: 0; }
.wf-error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err); }
.wf-choices { display: grid; gap: 8px; }
.wf-choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #b4c1cc; border-radius: var(--radius-s); cursor: pointer; background: var(--white); line-height: 1.3; transition: border-color .15s, background-color .15s; }
.wf-choice:hover { border-color: var(--ink); }
.wf-choice:has(input:checked) { border-color: var(--ink); background: #eef4f9; box-shadow: inset 3px 0 0 var(--ink); }
.wf-choice input, .wf-check input { accent-color: var(--ink); width: 18px; height: 18px; flex: none; margin: 0; }
.has-error .wf-choice { border-color: #d7a3a0; }
.wf-check { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.45; cursor: pointer; }
.wf-check input { margin-top: 3px; }
.wf-actions { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 6px; }
.wf-actions .wf-next { margin-left: auto; }
.wf-form-error { color: var(--err); font-size: .95rem; margin: 0 0 10px; }
.wf-form-error:empty { display: none; }
.wf-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; }
.wf-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--mist); min-width: 0; }
.wf-steps li.is-done { border-top-color: var(--steel); }
.wf-steps li.is-current { border-top-color: var(--ink); color: var(--ink); font-weight: 600; }
.wf-step-n { font-family: var(--display); }
.wf-step-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .wf-steps li:not(.is-current) .wf-step-name { display: none; } }
.wf-done { padding: 12px 0 4px; outline: none; }
.wf-done-mark { display: block; width: 44px; height: 44px; color: var(--ok); margin-bottom: 14px; }
.wf-done p { font-size: 1.08rem; color: var(--text); }
.wf-done p:first-of-type { font: 500 1.25rem/1.35 var(--display); color: var(--ink); }
.wf-fail p { margin-bottom: .5em; }
.wf-skeleton { display: grid; gap: 14px; }
.wf-skeleton span { display: block; height: 48px; border-radius: var(--radius-s); background: linear-gradient(90deg, var(--mist), #f1f4f6, var(--mist)); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.wf-skeleton span:first-child { height: 18px; width: 40%; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .cta-band, .hero-v, .menu-btn { display: none !important; }
  body { background: #fff; }
}

/* Nos conseils : barre de thèmes + mentions d'information */
.faq-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.faq-nav a { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: border-color .15s, background .15s; }
.faq-nav a:hover { border-color: var(--ink); background: #f3f6fa; }
.faq-group { scroll-margin-top: 90px; }
.faq-note { max-width: 74ch; margin-top: 12px; font-size: .82rem; line-height: 1.5; color: var(--muted); }

/* Partenaires : logos non cliquables (photo seule) */
.partner { cursor: default; }
.partner:hover { border-color: var(--line); box-shadow: none; }