/* =========================================================
   Camille Vuarin — Prévoyance & Patrimoine
   Charte : sobre & élégante — marine profond, ivoire, laiton
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12213a;
  --ink-deep: #0b1628;
  --ink-soft: #24365a;
  --ivory: #f7f4ee;
  --sand: #ede7dc;
  --line: #ddd5c6;
  --brass: #a8834c;
  --brass-light: #c9a974;
  --text: #1f2836;
  --muted: #5c6676;
  --white: #ffffff;
  --success: #2f6b4f;
  --error: #9b2c2c;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 2px;
  --shadow: 0 20px 50px -24px rgba(11, 22, 40, .35);
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
em.accent, .accent { font-style: italic; color: var(--brass); }
ul { padding-left: 1.2em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: var(--white); padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #d9dee8; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--white { background: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46rem; }
.section--ink .lead { color: #b9c2d3; }
.section-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.75rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .9rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brass); color: var(--white); }
.btn--primary:hover { background: #94723f; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-soft); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 238, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,22,40,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--brass); color: var(--brass);
  font: 500 1.05rem/1 var(--serif); letter-spacing: .04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.brand-tag { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--text); white-space: nowrap;
  padding: .4rem 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--ink); border-color: var(--brass); }
.nav .btn { padding: .8rem 1.25rem; font-size: .8rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 84px; left: 0; right: 0; bottom: auto;
    height: calc(100vh - 84px); height: calc(100dvh - 84px);
    background: var(--ivory); z-index: 100;
    flex-direction: column; align-items: stretch; gap: 0; padding: 1.5rem var(--gutter) 2rem;
    opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility .3s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 1.4rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1.5rem; padding: 1rem; font-size: .9rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand-tag { font-size: .6rem; letter-spacing: .1em; }
  .brand-name { font-size: 1.15rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  grid-template-areas: "head media" "body media" "proof proof";
  column-gap: clamp(2rem, 5vw, 5rem); row-gap: 0; align-items: center;
}
.hero-head { grid-area: head; }
.hero-body { grid-area: body; }
.hero-media { grid-area: media; }
.hero-proof { grid-area: proof; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero .lead { margin-bottom: 2.25rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center; box-shadow: var(--shadow); }
.hero-media::before {
  content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--brass); z-index: -1;
}
.hero-badge {
  position: absolute; left: -2rem; bottom: 2.5rem; background: var(--ink); color: var(--white);
  padding: 1.25rem 1.5rem; max-width: 260px; box-shadow: var(--shadow);
}
.hero-badge strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin-bottom: .2rem; }
.hero-badge span { font-size: .82rem; color: #b9c2d3; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--ink); line-height: 1; }
.hero-proof span { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "media" "body" "proof"; row-gap: clamp(1.5rem, 5vw, 2.25rem); }
  .hero-media { max-width: 520px; }
  .hero-media img { aspect-ratio: 4 / 5; object-position: center top; }
  .hero-badge { position: relative; left: auto; bottom: auto; max-width: none; margin: -1.25rem 1rem 0; z-index: 1; }
  .hero-media::before { inset: 1rem -.75rem -.75rem 1rem; }
}
@media (max-width: 560px) {
  .hero-proof { flex-wrap: nowrap; gap: 1rem; margin-top: 2.25rem; }
  .hero-proof div { flex: 1 1 0; }
  .hero-proof strong { font-size: 1.55rem; }
  .hero-proof span { font-size: .75rem; line-height: 1.35; }
  .btn-row .btn { width: 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #c9d0dd; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero h1 em { color: var(--brass-light); font-style: italic; }
.page-hero .lead { color: #b9c2d3; }
.page-hero::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 116, .25); border-radius: 50%; pointer-events: none;
}
.breadcrumb { font-size: .8rem; margin-bottom: 2rem; color: #8d98ad; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.breadcrumb a { color: #c9d0dd; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card ul { margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .95rem; }
.card ul li { padding: .45rem 0 .45rem 1.4rem; border-bottom: 1px solid var(--sand); position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .6rem; height: 1px; background: var(--brass); }
.card .link-arrow { margin-top: auto; align-self: flex-start; }
.card-icon { width: 44px; height: 44px; color: var(--brass); margin-bottom: 1.5rem; }
.card-num { font-family: var(--serif); font-size: .95rem; color: var(--brass); margin-bottom: 1.25rem; letter-spacing: .1em; }
.section--ink .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section--ink .card p, .section--ink .card ul { color: #b9c2d3; }
.section--ink .card ul li { border-color: rgba(255,255,255,.08); }
.section--ink .card:hover { background: rgba(255,255,255,.07); }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; box-shadow: var(--shadow); }
.split-media--frame { position: relative; }
.split-media--frame::before { content: ""; position: absolute; inset: -1.25rem 1.25rem 1.25rem -1.25rem; border: 1px solid var(--brass); z-index: 0; }
.split-media--frame img { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 1 / 1; }
}

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.check-list li { position: relative; padding: .55rem 0 .55rem 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .95rem; width: 1rem; height: .5rem;
  border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg);
}

/* ---------- Banque privée band ---------- */
.bp-band { position: relative; overflow: hidden; }
.bp-band .container { position: relative; z-index: 1; }
.bp-band-bg { position: absolute; inset: 0 0 0 55%; }
.bp-band-bg picture { height: 100%; }
.bp-band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.bp-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(18,33,58,.6) 60%, rgba(18,33,58,.3) 100%); }
.bp-content { max-width: 640px; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; margin: 2.5rem 0; }
.pillar h3 { font-size: 1.15rem; margin-bottom: .35rem; display: flex; gap: .75rem; align-items: baseline; }
.pillar h3 span { font-size: .85rem; color: var(--brass-light); }
.pillar p { font-size: .95rem; color: #b9c2d3; margin: 0; }
@media (max-width: 900px) { .bp-band-bg { inset: 0; } .bp-band-bg img { opacity: .12; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Method steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 2rem 1.75rem 0 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--brass); line-height: 1; margin-bottom: 1rem;
}
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--brass); border-radius: 50%; }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote { text-align: center; max-width: 52rem; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35; color: var(--ink); font-style: italic; font-weight: 300; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--brass); margin-bottom: 1rem; font-style: normal; }
.quote figcaption { margin-top: 1.5rem; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Timeline (parcours) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.5rem; top: .5rem; bottom: .5rem; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0 2.5rem; padding-bottom: 2.5rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(7.5rem - 4px); top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); border: 1.5px solid var(--brass); }
.timeline time, .timeline .tl-date { font-family: var(--serif); color: var(--brass); font-size: 1.05rem; padding-right: 1.5rem; text-align: right; }
.timeline h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.timeline p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 600px) {
  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 2rem; }
  .timeline li::before { left: 0; }
  .timeline time, .timeline .tl-date { text-align: left; padding: 0; margin-bottom: .25rem; }
}

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner { padding: 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); margin-bottom: .35rem; }
.partner span { font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) { .partners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .partners { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--white); line-height: 1; margin-bottom: .6rem; }
.stats span { font-size: .85rem; color: #9fabbf; letter-spacing: .04em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--brass); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-body { padding: 0 3rem 1.75rem 0; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.form-wrap { background: var(--white); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow); border-top: 3px solid var(--brass); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1rem; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: var(--white); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .6rem 1rem; border: 1px solid var(--line); background: var(--ivory);
  font-size: .9rem; cursor: pointer; transition: all .2s;
}
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { margin-top: .3rem; accent-color: var(--brass); width: 1.05rem; height: 1.05rem; flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; font-size: .95rem; display: none; }
.form-status.is-success { display: block; background: #e8f1ec; color: var(--success); border-left: 3px solid var(--success); }
.form-status.is-error { display: block; background: #f7e9e9; color: var(--error); border-left: 3px solid var(--error); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { list-style: none; padding: 0; margin: 2rem 0; }
.contact-info li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-info svg { width: 22px; height: 22px; color: var(--brass); flex: none; margin-top: .2rem; }
.contact-info strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--brass); }
.map-frame { width: 100%; aspect-ratio: 16 / 10; border: 0; filter: grayscale(.6) contrast(1.05); }
.map-consent { display: grid; place-items: center; text-align: center; background: var(--sand); aspect-ratio: 16 / 10; padding: 2rem; }
.map-consent p { font-size: .9rem; color: var(--muted); max-width: 32rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-deep); color: #c9d0dd; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); margin: 0 0 .4rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-inner p { margin: 0; color: #9fabbf; }

/* ---------- Prose (legal etc.) ---------- */
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose p, .prose li { color: var(--text); }
.todo { background: #fff3cd; color: #6b4e00; padding: 0 .3em; font-style: normal; font-size: .95em; }

/* ---------- En bref (réponse directe, GEO) ---------- */
.tldr { background: var(--white); border-left: 3px solid var(--brass); padding: 1.5rem 1.75rem; margin: 0 0 2.5rem; box-shadow: 0 10px 30px -22px rgba(11,22,40,.35); }
.tldr h2, .article .tldr h2 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: 0 0 .75rem; }
.tldr p { margin: 0 0 .6rem; }
.tldr ul { margin: 0; padding-left: 1.1rem; }
.tldr li { margin-bottom: .35rem; }
.section--ink .tldr, .page-hero .tldr { background: rgba(255,255,255,.06); color: #d9dee8; box-shadow: none; }
.page-hero .tldr { margin: 2rem 0 0; max-width: 46rem; }

/* ---------- Articles / guides ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .85rem; color: #9fabbf; margin-top: 1.5rem; }
.article-meta a { color: #d9dee8; }
.article { font-size: 1.08rem; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.75rem; }
.article h3 { font-size: 1.25rem; margin-top: 2rem; }
.article ul, .article ol { margin: 0 0 1.25rem; }
.article li { margin-bottom: .45rem; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: .95rem; background: var(--white); }
.article th, .article td { padding: .8rem 1rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: var(--sand); font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.callout { background: var(--sand); padding: 1.5rem 1.75rem; margin: 2rem 0; }
.callout p:last-child { margin: 0; }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 3rem; }
.author-box .brand-mark { width: 56px; height: 56px; }
.author-box p { margin: .25rem 0 0; font-size: .95rem; color: var(--muted); }
.guide-card .card-num { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.guide-card { position: relative; }
.glossary dt { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.glossary dd { margin: .5rem 0 0; color: var(--text); }
.glossary dd a { color: var(--ink); }
.az { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.az a { display: inline-block; padding: .35rem .7rem; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; background: var(--white); }
.az a:hover { border-color: var(--brass); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #8d98ad; font-size: .9rem; padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer h2 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #c9d0dd; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.site-footer .brand-name { color: var(--white); }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-legal { padding-top: 2rem; font-size: .78rem; line-height: 1.7; color: #6f7b91; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: .8rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--ink); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4);
    transform: translateY(100%); transition: transform .3s;
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta a { flex: 1; text-align: center; padding: 1rem .5rem; color: var(--white); text-decoration: none; font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
  .mobile-cta a + a { background: var(--brass); }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 5rem; }
}

/* ---------- Être rappelé·e ---------- */
.callback-fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 80;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.35rem .95rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--white); text-decoration: none;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  box-shadow: 0 14px 34px -14px rgba(11,22,40,.6);
  transition: transform .25s, background .25s;
}
.callback-fab:hover { background: var(--brass); transform: translateY(-2px); }
.callback-fab svg { width: 20px; height: 20px; color: var(--brass-light); }
.callback-fab:hover svg { color: var(--white); }
@media (max-width: 700px) { .callback-fab { display: none; } }

.callback {
  width: min(520px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow-y: auto;
  border: 0; border-top: 3px solid var(--brass); padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--white); color: var(--text); box-shadow: var(--shadow);
}
.callback::backdrop { background: rgba(11, 22, 40, .6); backdrop-filter: blur(2px); }
.callback[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.callback h2 { font-size: 1.8rem; margin-bottom: .4rem; }
.callback-intro { color: var(--muted); font-size: .95rem; }
.callback-close {
  position: absolute; top: .75rem; right: .75rem; width: 2.5rem; height: 2.5rem;
  border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.callback-close:hover { color: var(--ink); }
.callback .form-grid { gap: 1rem 1.25rem; }
/* Confirmation affichée à la place du formulaire après envoi d'une demande de rappel */
.callback form[hidden], .callback-done[hidden] { display: none; }
.callback-done { text-align: center; padding: 1.75rem .5rem .5rem; animation: pop .25s ease; }
.callback-done__icon {
  width: 3.25rem; height: 3.25rem; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem; line-height: 1;
  background: #e8f1ec; color: var(--success);
}
.callback-done__msg { color: var(--ink); font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.5rem; }
.mobile-cta a[data-callback] { background: var(--brass); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
