/* Pourruch Conseil — feuille de style du site (charte « Fil d'or ») */

/* Polices hébergées sur le site (Fraunces et Manrope, licence SIL Open Font, sous-ensemble latin) */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #F6F1E8;
  --paper: #FBF8F3;
  --linen: #EFE7DA;
  --sand: #DCD1BF;
  --sand-2: #CDC1AC;
  --ink: #1F242C;
  --text: #2F343C;
  --slate: #444D5D;
  --muted: #5B616A;
  --night: #19202A;
  --night-2: #222B37;
  --night-3: #2C3644;
  --night-line: rgba(246, 241, 232, .14);
  --on-night: #F3EDE2;
  --on-night-muted: #B9B3A8;
  --gold: #BC945B;
  --gold-soft: #D8BA88;
  --gold-ink: #7A5B2F;
  --gold-wash: #F1E5CF;
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(31, 36, 44, .05), 0 18px 40px -22px rgba(31, 36, 44, .28);
  --shadow-lg: 0 2px 4px rgba(31, 36, 44, .05), 0 40px 80px -40px rgba(31, 36, 44, .45);
  --container: 1200px;
  --gutter: clamp(16px, 4.5vw, 44px);
  --header-h: 76px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-wash); color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}
h3, h4 { letter-spacing: -.012em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
strong { font-weight: 700; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; 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: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--pill); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Mise en page ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.container--mid { width: min(100% - 2 * var(--gutter), 980px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper { background: var(--paper); }
.section--linen { background: var(--linen); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night h2, .section--night h3, .section--night strong { color: #FBF7F0; }
.section--night .lead, .section--night p { color: var(--on-night-muted); }
.section--night a { text-decoration-color: var(--gold-soft); }
.rule-top { border-top: 1px solid var(--sand); }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: var(--stack, 1.25rem); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 2rem; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 .74rem/1.3 var(--font-sans);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.section--night .eyebrow { color: var(--gold-soft); }
.eyebrow .num { font-family: var(--font-display); font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--gold); }
.display {
  font-size: clamp(2.8rem, 1.55rem + 5vw, 6rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; }
.h2, .section h2 { font-size: clamp(2.05rem, 1.45rem + 2.5vw, 3.5rem); }
.h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); }
.display em, .h1 em, .h2 em, h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-ink); font-weight: 300; }
.section--night h2 em, .section--night h3 em, .hero--night h1 em { color: var(--gold-soft); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--slate); }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.gold { color: var(--gold-ink); }
.title-block { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.title-block .lead { margin-top: 1.25rem; }
.title-block.center { margin-inline: auto; }
.title-block.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.5em;
  border-radius: var(--pill); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 600 .98rem/1.1 var(--font-sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(31, 36, 44, .55); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { --bg: var(--ink); --fg: #FBF7F0; --bd: var(--ink); }
.btn-primary:hover { --bg: #2B323C; }
.btn-gold { --bg: var(--gold); --fg: #1B1F26; --bd: var(--gold); }
.btn-gold:hover { --bg: var(--gold-soft); --bd: var(--gold-soft); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--sand-2); }
.btn-ghost:hover { --bd: var(--gold); --bg: rgba(255, 255, 255, .5); }
.section--night .btn-ghost, .page-hero--night .btn-ghost, .card--night .btn-ghost, .cta-band .btn-ghost, .sim-out .btn-ghost, .feature-retraite .btn-ghost { --fg: var(--on-night); --bd: rgba(246, 241, 232, .3); }
.section--night .btn-ghost:hover, .page-hero--night .btn-ghost:hover, .card--night .btn-ghost:hover, .cta-band .btn-ghost:hover, .sim-out .btn-ghost:hover { --bg: rgba(246, 241, 232, .06); --bd: var(--gold-soft); }
.btn-sm { min-height: 42px; padding: .6em 1.15em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.link-arrow .arrow { transition: transform .35s var(--ease-out); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.section--night .link-arrow { color: var(--on-night); border-color: var(--gold-soft); }
.arrow { width: 1em; height: 1em; flex: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(246, 241, 232, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(205, 193, 172, .6); background: rgba(246, 241, 232, .92); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: var(--pill);
  font: 600 .93rem/1 var(--font-sans); color: var(--text);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(255, 255, 255, .6); color: var(--ink); }
.nav-link[aria-current="page"], .nav-link.is-current { color: var(--ink); box-shadow: inset 0 -1px 0 var(--gold); border-radius: 0; }
.nav-link .chev { width: 10px; height: 10px; transition: transform .25s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-link--star::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); margin-right: 2px; }
.header-cta { margin-left: 8px; }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  translate: -50% 0;
  background: var(--paper); border: 1px solid var(--sand);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 22px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .3s var(--ease-out), visibility .25s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu--mega { width: min(860px, calc(100vw - 48px)); }
.menu--tools { width: 360px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.mega-title { font: 700 .7rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 6px 0 10px; }
.menu a.menu-item { display: block; padding: 9px 12px; margin-inline: -12px; border-radius: 12px; text-decoration: none; color: var(--text); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.menu a.menu-item span { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.menu a.menu-item:hover { background: var(--linen); }
.menu a.menu-item--star { background: var(--gold-wash); }
.menu a.menu-item--star:hover { background: #EBDcbf; }
.menu-feature {
  grid-column: 1 / -1; margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-radius: 16px; background: var(--night); color: var(--on-night);
  text-decoration: none;
}
.menu-feature strong { color: #FBF7F0; font-weight: 600; }
.menu-feature span { color: var(--on-night-muted); font-size: .9rem; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--sand-2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease-out), top .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246, 241, 232, .97); }
  .burger { display: inline-block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--cream); overflow-y: auto;
    padding: 12px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .35s var(--ease-out), visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--sand); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 1.15rem; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .nav-link[aria-current="page"], .nav-link.is-current { box-shadow: none; color: var(--gold-ink); }
  .menu, .menu--mega, .menu--tools { position: static; translate: none; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 16px; display: none; opacity: 1; visibility: visible; transform: none; }
  .menu.is-open { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav .nav-link--star { justify-content: flex-start; gap: 12px; }
  .nav .nav-mobile-cta { display: flex !important; margin-top: 28px; }
}
.nav-mobile-cta { display: none !important; }

/* ---------- Fil d'or (colonne vertébrale de lecture) ---------- */
main { position: relative; }
.spine { display: none; }
@media (min-width: 1360px) {
  .spine {
    display: block; position: absolute; top: 0; bottom: 0; z-index: 2; pointer-events: none;
    left: calc(50% - var(--container) / 2 - 48px); width: 1px;
    background: linear-gradient(to bottom, transparent, var(--sand-2) 120px, var(--sand-2) calc(100% - 200px), transparent);
  }
  .spine-fill {
    position: absolute; left: -.5px; top: 0; width: 2px; height: 100%;
    background: linear-gradient(to bottom, rgba(188, 148, 91, 0), var(--gold) 140px);
    transform-origin: top; transform: scaleY(var(--p, 0));
  }
  .spine-dot {
    position: absolute; left: -4px; width: 9px; height: 9px; transform: rotate(45deg);
    background: var(--cream); border: 1px solid var(--sand-2); transition: background-color .4s, border-color .4s;
  }
  .spine-dot.is-lit { background: var(--gold); border-color: var(--gold); }
}

/* ---------- Apparitions au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="fade"] { transform: none; }
}

/* ---------- Héros (accueil) ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; min-height: calc(100svh - var(--header-h) - 90px); } }
.hero h1 .kicker { display: flex; align-items: center; gap: 14px; font: 700 .74rem/1.3 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.6rem; }
.hero h1 .kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero .lead { max-width: 560px; margin-top: 1.6rem; }
.hero .btn-row { margin-top: 2.2rem; }
.proofs { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.4rem; list-style: none; }
.proofs li { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--slate); font-weight: 500; }
.proofs li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); flex: none; }

.hero-art { position: relative; aspect-ratio: 600 / 780; width: min(100%, 520px); margin-inline: auto; }
.hero-photo {
  position: absolute; left: 15%; top: 5%; width: 64%; height: 90%;
  clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%);
  background: var(--linen); overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-photo { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); transition: clip-path 1.4s var(--ease-out) .25s; }
  .js .is-ready .hero-photo { clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%); }
}
.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lines polyline, .lines polygon, .lines path { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: miter; }
.lines .thin { stroke-width: 1.1; opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
  .js .is-ready [data-draw], .js .is-in [data-draw], .js [data-draw].is-in { stroke-dashoffset: 0; }
}
.hero-art .lines--back { z-index: 0; }
.hero-art .hero-photo { z-index: 1; }
.hero-art .lines--front { z-index: 2; }
.hero-art .hero-badge { z-index: 3; }
.hero-badge {
  position: absolute; right: -12%; top: 15%;
  background: rgba(251, 248, 243, .94); border: 1px solid var(--sand); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); max-width: 200px;
  font-size: .82rem; line-height: 1.4; color: var(--slate);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-badge strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; color: var(--ink); letter-spacing: -.01em; margin-bottom: 2px; }
.hero-badge--left { right: auto; left: -12%; top: auto; bottom: 16%; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-badge { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out) 1.3s, transform 1s var(--ease-out) 1.3s; }
  .js .hero-badge--left { transition-delay: 1.6s; }
  .js .is-ready .hero-badge { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .hero-art { margin-top: 8px; }
  .hero-badge { right: -2%; left: auto; top: auto; bottom: 4%; max-width: 64%; }
  .hero-badge--left { display: none; }
}

/* Bandeau or défilant (rappel de la carte de visite) */
.band { background: var(--gold); color: #1B1F26; overflow: hidden; margin-top: clamp(40px, 6vw, 72px); }
.band-track { display: flex; width: max-content; animation: band 48s linear infinite; }
.band-track span { display: inline-flex; align-items: center; gap: 28px; padding: 16px 14px; font: italic 300 clamp(1.05rem, .9rem + .6vw, 1.4rem)/1 var(--font-display); white-space: nowrap; }
.band-track span::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; opacity: .55; }
@keyframes band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* ---------- Cartes ---------- */
.card {
  position: relative; background: var(--paper); border: 1px solid var(--sand);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 34px);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.card h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); margin-bottom: .6rem; }
.card p { color: var(--muted); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand-2); }
.card .icon { width: 46px; height: 46px; margin-bottom: 22px; color: var(--gold); }
.card .card-foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .92rem; color: var(--ink); }
.card .card-foot .arrow { transition: transform .35s var(--ease-out); color: var(--gold-ink); }
a.card:hover .card-foot .arrow { transform: translateX(5px); }
.card--night { background: var(--night-2); border-color: var(--night-line); color: var(--on-night); }
.card--night h2, .card--night h3, .card--night .h3 { color: #FBF7F0; }
.card--night p { color: var(--on-night-muted); }
.card--gold { background: var(--gold-wash); border-color: #E2CFAE; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--pill);
  font: 700 .68rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  background: var(--gold-wash); color: var(--gold-ink); border: 1px solid #E2CFAE;
}
.tag--night { background: rgba(216, 186, 136, .12); color: var(--gold-soft); border-color: rgba(216, 186, 136, .3); }
.card .tag { position: absolute; top: 22px; right: 22px; }
/* Cartes tarifaires et rendez-vous : dans une carte étroite (mobile, deux colonnes serrées), l'étiquette passe au-dessus du titre au lieu de le chevaucher */
.price, .door { container-type: inline-size; }
@container (max-width: 560px) { .price .tag, .door .tag { position: static; align-self: flex-start; } }

/* Grille des expertises (accueil) */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 700px) and (max-width: 1179px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .span-2 { grid-column: span 2; } }
@media (min-width: 1180px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .span-2 { grid-column: span 2; }
  .bento .row-2 { grid-row: span 2; }
}
.bento .card { display: flex; flex-direction: column; }
.bento .card .card-foot { margin-top: auto; padding-top: 22px; }
.feature-retraite { background: var(--night); color: var(--on-night); border-color: var(--night); overflow: hidden; }
.feature-retraite h2, .feature-retraite h3, .feature-retraite .h3 { color: #FBF7F0; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.08; }
.feature-retraite p { color: var(--on-night-muted); }
.feature-retraite .card-foot { color: var(--on-night); }
.feature-retraite .card-foot .arrow { color: var(--gold-soft); }
.feature-retraite .lines { opacity: .5; }
.feature-retraite ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.feature-retraite li { display: flex; gap: 10px; font-size: .93rem; color: var(--on-night); }
.feature-retraite li::before { content: ""; width: 6px; height: 6px; margin-top: .55em; transform: rotate(45deg); background: var(--gold); flex: none; }

/* Trois piliers (accueil) */
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.pillar { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; }
.pillar-title { display: flex; align-items: center; gap: 12px; font: 700 .72rem/1.3 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 0; }
.pillar-title .num { font: 400 1rem/1 var(--font-display); letter-spacing: 0; color: var(--gold); }
.pillar-lead { font: 300 clamp(1.5rem, 1.25rem + .8vw, 1.9rem)/1.12 var(--font-display); color: var(--ink); letter-spacing: -.015em; margin: 14px 0 18px; }
.pillar-lead em { color: var(--gold-ink); }
.pillar-link { display: grid; grid-template-columns: 38px 1fr 16px; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--sand); text-decoration: none; color: inherit; }
.pillar-link .icon { width: 34px; height: 34px; margin: 0; color: var(--gold); }
.pillar-link strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; transition: color .25s; }
.pillar-link small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: 3px; }
.pillar-link .arrow { color: var(--gold-ink); transition: transform .35s var(--ease-out); }
.pillar-link:hover strong { color: var(--gold-ink); }
.pillar-link:hover .arrow { transform: translateX(4px); }
.pillar--night { background: var(--night); border-color: var(--night); }
.pillar--night .pillar-title { color: var(--gold-soft); }
.pillar--night .pillar-lead, .pillar--night .pillar-link strong { color: #FBF7F0; }
.pillar--night .pillar-lead em { color: var(--gold-soft); }
.pillar--night .pillar-link { border-color: var(--night-line); }
.pillar--night .pillar-link small { color: var(--on-night-muted); }
.pillar--night .pillar-link .arrow, .pillar--night .pillar-link .icon { color: var(--gold-soft); }
.pillar--night .pillar-link:hover strong { color: var(--gold-soft); }
.pillar .tag { margin-left: 8px; vertical-align: 2px; padding: 3px 8px; font-size: .6rem; }

/* ---------- Liste « vous vous reconnaissez ? » ---------- */
.checklist { display: grid; gap: 12px; list-style: none; }
.check-item { position: relative; }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.check-item label {
  display: flex; gap: 16px; align-items: flex-start; cursor: pointer;
  padding: 18px 20px; border-radius: 16px; border: 1px solid var(--sand); background: var(--paper);
  transition: border-color .25s, background-color .25s, transform .35s var(--ease-out);
}
.check-item label:hover { border-color: var(--sand-2); transform: translateX(4px); }
.check-box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--sand-2); flex: none; margin-top: 2px; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check-box svg { width: 13px; height: 13px; color: #FBF7F0; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--ease-out); }
.check-item input:checked + label { border-color: var(--gold); background: #FFFDF8; }
.check-item input:checked + label .check-box { background: var(--gold); border-color: var(--gold); }
.check-item input:checked + label .check-box svg { opacity: 1; transform: none; }
.check-item input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.check-item strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.check-item small { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; line-height: 1.45; }
.check-result {
  margin-top: 24px; padding: 22px 24px; border-radius: 18px; background: var(--night); color: var(--on-night);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.check-result p { margin: 0; color: var(--on-night); font-size: 1.02rem; }
.check-result .count { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold-soft); margin-right: 10px; vertical-align: -4px; }

/* ---------- Étapes (méthode) ---------- */
.steps { position: relative; list-style: none; counter-reset: step; display: grid; gap: clamp(28px, 4vw, 48px); padding-left: 64px; }
.steps::before { content: ""; position: absolute; z-index: 0; left: 21px; top: 10px; bottom: 10px; width: 1px; background: var(--sand-2); }
.steps::after { content: ""; position: absolute; z-index: 0; left: 20px; top: 10px; bottom: 10px; width: 3px; background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; }
.section--night .steps::before { background: var(--night-line); }
.section--night .step-num { background: var(--night); border-color: var(--night-line); color: var(--gold-soft); --ring: var(--night); }
.section--night .step.is-lit .step-num { background: var(--gold); color: #1B1F26; }
.section--night .step p { color: var(--on-night-muted); }
.step { position: relative; }
.step-num {
  position: absolute; z-index: 2; left: -64px; top: -4px; width: 44px; height: 44px; border-radius: 50%;
  box-shadow: 0 0 0 6px var(--ring, var(--cream));
  display: grid; place-items: center; background: var(--cream); border: 1px solid var(--sand-2);
  font: 400 1.05rem/1 var(--font-display); color: var(--gold-ink); transition: background-color .4s, color .4s, border-color .4s;
}
.step.is-lit .step-num { background: var(--gold); border-color: var(--gold); color: #1B1F26; }
.section--paper .step-num { background: var(--paper); --ring: var(--paper); }
.section--linen .step-num { background: var(--linen); --ring: var(--linen); }
.step.is-lit .step-num { background: var(--gold); }
.step h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); margin-bottom: .45rem; }
.step p { color: var(--muted); max-width: 560px; }
.step .tag { margin-bottom: 10px; }

/* ---------- Tarifs ---------- */
.prices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.price { display: flex; flex-direction: column; gap: 14px; }
.price .amount { font: 300 clamp(2.4rem, 2rem + 1.6vw, 3.3rem)/1 var(--font-display); color: #FBF7F0; letter-spacing: -.03em; }
.card:not(.card--night) .amount { color: var(--ink); }
.price .amount small { font: 600 .9rem/1 var(--font-sans); letter-spacing: 0; color: var(--on-night-muted); margin-left: 6px; }
.card:not(.card--night) .amount small { color: var(--muted); }
.price .amount--stacked small { display: block; margin: 10px 0 0; line-height: 1.4; }
.price ul { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.price li { display: flex; gap: 10px; font-size: .94rem; }
.price li::before { content: ""; width: 14px; height: 1px; background: var(--gold); margin-top: .8em; flex: none; }
.price .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Portrait (maison) ---------- */
.portrait { position: relative; max-width: 460px; margin-inline: auto; }
.portrait-img { clip-path: polygon(0 11%, 100% 0, 100% 100%, 0 100%); background: var(--linen); }
.portrait-img img { width: 100%; height: auto; }
.portrait .lines { inset: -6% -8% -3% -10%; width: 118%; height: 109%; }
.facts { list-style: none; display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--sand); }
.facts li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sand); font-size: .96rem; }
.facts li span:first-child { font: 700 .7rem/1.6 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); padding-top: 2px; }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Citation ---------- */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font: 300 clamp(1.6rem, 1.2rem + 1.8vw, 2.7rem)/1.25 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.quote blockquote::before { content: "«\00a0"; color: var(--gold); }
.quote blockquote::after { content: "\00a0»"; color: var(--gold); }
.quote figcaption { margin-top: 1.6rem; font-size: .95rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--sand); }
.faq-list details { border-bottom: 1px solid var(--sand); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font: 400 clamp(1.1rem, 1rem + .45vw, 1.35rem)/1.35 var(--font-display); color: var(--ink); letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--sand-2);
  background: linear-gradient(var(--gold-ink), var(--gold-ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--gold-ink), var(--gold-ink)) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease-out), background-color .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-wash); }
.faq-list details > div { padding: 0 56px 26px 0; color: var(--muted); }
.faq-list details > div p + p { margin-top: .8em; }
.section--night .faq-list, .section--night .faq-list details { border-color: var(--night-line); }
.section--night .faq-list summary { color: #FBF7F0; }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: clamp(22px, 3vw, 34px); background: var(--night); color: var(--on-night); padding: clamp(40px, 6vw, 80px); }
.cta-band h2 { color: #FBF7F0; max-width: 720px; }
.cta-band p { color: var(--on-night-muted); max-width: 580px; margin-top: 1rem; }
.cta-band .btn-row { margin-top: 2rem; }
.cta-band .lines { left: auto; right: -40px; width: 380px; opacity: .55; }
@media (max-width: 760px) { .cta-band .lines { display: none; } }
.cta-band .contact-line { margin-top: 1.4rem; font-size: .95rem; color: var(--on-night-muted); }
.cta-band .contact-line a { color: var(--on-night); }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero .lead { max-width: 680px; margin-top: 1.4rem; }
.page-hero--compact { padding-bottom: clamp(8px, 2vw, 24px); }
.page-hero--compact .title-block { margin-bottom: 0; }
.page-hero--compact .h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.8rem); }
.page-hero--compact + .section--tight { padding-top: clamp(24px, 3vw, 40px); }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero--night { background: var(--night); color: var(--on-night); }
.page-hero--night h1 { color: #FBF7F0; }
.page-hero--night .lead { color: var(--on-night-muted); }
.page-hero--night .eyebrow { color: var(--gold-soft); }
.page-hero--night .breadcrumb, .page-hero--night .breadcrumb a { color: var(--on-night-muted); }
.page-hero .lines { opacity: .6; }
.breadcrumb { margin-bottom: clamp(28px, 4vw, 48px); font-size: .84rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--sand-2); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.aside-card { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 28px; }
.page-hero--night .aside-card { background: var(--night-2); border-color: var(--night-line); }
.kv { list-style: none; display: grid; }
.kv li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--sand); font-size: .95rem; }
.kv li:first-child { padding-top: 0; }
.kv li:last-child { border-bottom: 0; padding-bottom: 0; }
.kv li span:first-child { font: 700 .68rem/1.7 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.page-hero--night .kv li { border-color: var(--night-line); color: var(--on-night); }
.page-hero--night .kv li span:first-child { color: var(--gold-soft); }

.pain-list { list-style: none; display: grid; gap: 14px; }
.pain-list li { padding: 22px 24px; border-radius: 18px; background: var(--paper); border: 1px solid var(--sand); font: 400 clamp(1.08rem, 1rem + .3vw, 1.22rem)/1.4 var(--font-display); color: var(--ink); }
.pain-list li::before { content: "?"; float: right; font-style: italic; color: var(--gold); margin-left: 12px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }
.ticks strong { font-weight: 600; }
.section--night .ticks li { color: var(--on-night); }
.levers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: lever; }
.levers { list-style: none; grid-template-columns: 1fr; }
@media (min-width: 640px) { .levers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .levers { grid-template-columns: repeat(4, 1fr); } .levers--3 { grid-template-columns: repeat(3, 1fr); } }
.lever { counter-increment: lever; }
.lever::before { content: counter(lever, decimal-leading-zero); display: block; font: 400 1rem/1 var(--font-display); color: var(--gold); margin-bottom: 18px; }
.lever h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); margin-bottom: .5rem; }
@media (min-width: 900px) { .levers--2 { grid-template-columns: 1fr 1fr; } }
.spotlight-note { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--night-line); font-size: .95rem; color: var(--on-night-muted); }
.related { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ---------- Résultats clients (cas réels anonymisés) ---------- */
.cases { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.case { display: flex; flex-direction: column; gap: 10px; }
.case .amount { font: 300 clamp(2.4rem, 2rem + 1.6vw, 3.3rem)/1 var(--font-display); color: #FBF7F0; letter-spacing: -.03em; }
.case .amount small { display: block; margin-top: 8px; font: 700 .7rem/1.5 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.case h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); margin-top: 8px; margin-bottom: 0; }
.card .eyebrow { margin-bottom: 14px; }

/* ---------- Article ---------- */
.article-head { padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 56px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }
.article-meta .author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.article-meta .author img { width: 36px; height: 36px; border-radius: 50%; }
.prose { font-size: 1.09rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin: 0; }
.prose .lead { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.38rem); color: var(--slate); line-height: 1.55; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-top: 2.2em; }
.prose h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.45rem); margin-top: 1.8em; font-weight: 400; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--gold-ink); font-weight: 700; }
.prose a { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--gold); font: 300 1.3rem/1.5 var(--font-display); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th { text-align: left; font: 700 .7rem/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--gold); vertical-align: bottom; }
.prose td { padding: 12px; border-bottom: 1px solid var(--sand); vertical-align: top; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .note, .note { background: var(--paper); border: 1px solid var(--sand); border-top: 2px solid var(--gold); border-radius: 0 0 16px 16px; padding: 20px 24px; }
.prose .note p { color: var(--ink); }
.prose .faq h2, .prose .sources h2 { margin-top: 2.4em; }
.prose .faq details { border-bottom: 1px solid var(--sand); }
.prose .faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.prose .faq summary::-webkit-details-marker { display: none; }
.prose .faq summary::after { content: "+"; color: var(--gold-ink); font-size: 1.3rem; line-height: 1; transition: transform .3s; }
.prose .faq details[open] summary::after { transform: rotate(45deg); }
.prose .faq details > div { padding-bottom: 16px; color: var(--muted); }
.prose .sources ul { font-size: .92rem; }
.prose .disclaimer, .disclaimer { font-size: .86rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--sand); padding-top: 1.2em; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--sand); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; }
.author-box p { color: var(--muted); font-size: .96rem; }
.author-box strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card .tag { position: static; align-self: flex-start; margin-bottom: 18px; }
.article-card h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.article-card .meta { margin-top: auto; padding-top: 18px; font-size: .86rem; color: var(--muted); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--sand-2); background: #FFFDF9;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(188, 148, 91, .18); }
.field .hint { font-size: .82rem; color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.form-status { font-size: .95rem; padding: 14px 16px; border-radius: 14px; display: none; }
.form-status.is-ok { display: block; background: #EEF3E6; color: #2F4A1C; }
.form-status.is-error { display: block; background: #F8E7E3; color: #7A2E1C; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rendez-vous ---------- */
.door { display: flex; flex-direction: column; gap: 14px; }
.door .amount { font: 300 clamp(2rem, 1.7rem + 1.2vw, 2.7rem)/1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.door--night .amount { color: #FBF7F0; }
.door .btn { margin-top: auto; align-self: flex-start; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--sand-2); color: var(--gold-ink); }
.contact-list .ic svg { width: 18px; height: 18px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a { font-weight: 600; text-decoration: none; color: var(--ink); }

/* ---------- Outils : diagnostic et simulateurs ---------- */
.tool { background: var(--paper); border: 1px solid var(--sand); border-radius: clamp(22px, 3vw, 30px); padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow); }
.tool-progress { height: 3px; background: var(--sand); border-radius: 3px; overflow: hidden; margin-bottom: 28px; }
.tool-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s var(--ease-out); }
.tool-step-label { font: 700 .72rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.tool h2.q { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: 24px; }
.options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 16px 18px; border-radius: 16px; border: 1px solid var(--sand-2); background: #FFFDF9; cursor: pointer;
  font-weight: 600; color: var(--ink); line-height: 1.35;
  transition: border-color .2s, background-color .2s, transform .3s var(--ease-out);
}
.option label small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.option label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sand-2); flex: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.option label:hover { border-color: var(--gold); transform: translateY(-2px); }
.option input:checked + label { border-color: var(--gold); background: #FFF8EC; }
.option input:checked + label::before { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px #FFF8EC; }
.option input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.tool-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.tool-error { color: #8A2F1C; font-size: .9rem; min-height: 1.4em; margin-top: 10px; }
.result-head { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .result-head { grid-template-columns: 1fr auto; } }
.axes { display: grid; gap: 14px; margin-top: 28px; }
.axis { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 52px; gap: 14px; align-items: center; font-size: .95rem; }
.axis-bar { height: 10px; border-radius: 10px; background: var(--linen); overflow: hidden; }
.axis-bar span { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transition: width 1.1s var(--ease-out); }
.axis-val { text-align: right; font-weight: 700; color: var(--gold-ink); font-size: .85rem; }
@media (max-width: 560px) { .axis { grid-template-columns: 1fr 44px; } .axis-bar { grid-column: 1 / -1; grid-row: 2; } }
.priorities { display: grid; gap: 14px; margin-top: 32px; counter-reset: prio; }
.priority { counter-increment: prio; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border-radius: 18px; background: #FFFDF9; border: 1px solid var(--sand); }
.priority::before { content: counter(prio); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--gold-soft); font: 400 1.1rem/1 var(--font-display); }
.priority h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.priority p { color: var(--muted); font-size: .96rem; }
.priority a { font-weight: 600; font-size: .92rem; }

.sim { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 960px) { .sim { grid-template-columns: 1fr 1.05fr; align-items: start; } }
.sim-inputs { display: grid; gap: 20px; }
.range-field { display: grid; gap: 10px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-top label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.range-top output { font: 400 1.35rem/1 var(--font-display); color: var(--ink); white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--gold) 0 var(--fill, 50%), var(--sand) var(--fill, 50%) 100%); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--sand); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); box-shadow: 0 2px 8px rgba(31, 36, 44, .2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: var(--pill); background: var(--linen); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 9px 16px; border-radius: var(--pill); font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--slate); transition: background-color .2s, color .2s; }
.seg input:checked + label { background: var(--ink); color: #FBF7F0; }
.seg input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.sim-out { background: var(--night); color: var(--on-night); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); position: sticky; top: calc(var(--header-h) + 20px); }
.sim-out .big { font: 300 clamp(2.6rem, 2rem + 2.4vw, 4rem)/1 var(--font-display); color: #FBF7F0; letter-spacing: -.03em; }
.sim-out .big-label { font-size: .9rem; color: var(--on-night-muted); margin-top: 8px; }
.sim-out .rows { list-style: none; margin-top: 24px; border-top: 1px solid var(--night-line); }
.sim-out .rows li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--night-line); font-size: .95rem; }
.sim-out .rows li span:last-child { font-weight: 700; color: #FBF7F0; white-space: nowrap; }
.sim-out .note-out { margin-top: 18px; font-size: .86rem; color: var(--on-night-muted); }
.sim-out .btn { margin-top: 22px; }
.chart { width: 100%; height: auto; margin-top: 22px; }
.chart .grid-line { stroke: var(--night-line); stroke-width: 1; }
.chart .axis-label { fill: var(--on-night-muted); font: 500 11px var(--font-sans); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .84rem; color: var(--on-night-muted); }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.bracket-bar { display: flex; height: 16px; border-radius: 10px; overflow: hidden; margin-top: 22px; background: var(--night-3); }
.bracket-bar span { height: 100%; transition: width .6s var(--ease-out); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th { text-align: left; font: 700 .7rem/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--gold); }
.data-table td { padding: 12px; border-bottom: 1px solid var(--sand); }
.data-table tr.is-hl td { background: var(--gold-wash); font-weight: 700; color: var(--ink); }

/* ---------- Frise du parcours ---------- */
.timeline { position: relative; list-style: none; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; z-index: 0; left: 92px; top: 0; bottom: 0; width: 1px; background: var(--sand-2); }
.timeline::after { content: ""; position: absolute; z-index: 0; left: 91px; top: 0; width: 3px; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; }
.tl-item { display: grid; grid-template-columns: 70px 1fr; gap: 52px; padding: 26px 0; position: relative; }
.tl-year { font: 300 1.6rem/1 var(--font-display); color: var(--gold-ink); text-align: right; padding-top: 4px; }
.tl-item::before { content: ""; position: absolute; z-index: 2; left: 87px; top: 34px; width: 11px; height: 11px; transform: rotate(45deg); background: var(--cream); border: 1px solid var(--gold); box-shadow: 0 0 0 5px var(--cream); transition: background-color .4s; }
.tl-item.is-lit::before { background: var(--gold); }
.tl-item h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); margin-bottom: .4rem; font-weight: 400; }
.tl-item p { color: var(--muted); }
@media (max-width: 600px) {
  .timeline::before { left: 6px; }
  .timeline::after { left: 5px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .tl-item::before { left: 1px; top: 30px; }
  .tl-year { text-align: left; }
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: clamp(64px, 8vw, 104px) 0 32px; margin-top: 0; }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1fr 2fr; } }
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 360px; font-size: .96rem; }
.footer-brand .btn { margin-top: 24px; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer-title { font: 700 .7rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.footer-cols ul { list-style: none; display: grid; gap: 10px; }
.footer-cols a { color: var(--on-night); text-decoration: none; font-size: .94rem; }
.footer-cols a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--gold); }
.footer-cols address { font-size: .94rem; line-height: 1.7; color: var(--on-night); }
.footer-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--night-line); display: grid; gap: 12px; font-size: .8rem; line-height: 1.6; }
.footer-legal a { color: var(--on-night); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--night-line); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Carte de visite digitale ---------- */
.vcard-page { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px 48px; background: var(--night); }
.vcard { width: min(100%, 440px); background: var(--cream); border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.vcard-top { position: relative; background: var(--linen); padding: 34px 28px 0; text-align: center; }
.vcard-top .logotype { height: 30px; width: auto; margin: 0 auto 24px; }
.vcard-photo { width: 150px; margin: 0 auto; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
.vcard-body { padding: 26px 28px 30px; text-align: center; }
.vcard-body h1 { font-size: 2rem; }
.vcard-body .role { margin-top: 8px; color: var(--slate); font-size: .95rem; line-height: 1.5; }
.vcard-actions { display: grid; gap: 10px; margin-top: 24px; }
.vcard-actions .btn { width: 100%; }
.vcard-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; margin-top: 10px; }
.vcard-mini a { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 16px; background: var(--paper); border: 1px solid var(--sand); text-decoration: none; font-size: .8rem; font-weight: 600; color: var(--ink); }
.vcard-mini svg { width: 20px; height: 20px; color: var(--gold-ink); }
.vcard-qr { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--sand); display: grid; justify-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.vcard-qr svg { width: 156px; height: 156px; background: #fff; padding: 10px; border-radius: 14px; }
.vcard-legal { font-size: .72rem; color: var(--muted); margin-top: 18px; line-height: 1.5; }

/* ---------- Divers ---------- */
.icon-line { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.divider { height: 1px; background: var(--sand); border: 0; margin: 0; }
.notice { font-size: .86rem; color: var(--muted); }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-top: 2.2em; margin-bottom: .6em; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: .4em; }
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
@media print { .site-header, .site-footer, .spine, .band { display: none !important; } body { background: #fff; } }
