/* =====================================================================
   Prêtaly · refonte graphique (décembre 2026)
   Chargée après site.css : redéfinit les jetons de couleur, la typographie
   (Inter + accents Fraunces italique), les rayons, ombres et composants.
   Palette Prêtaly : marine et or, accents en dégradé.
   ===================================================================== */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Fraunces', Georgia, 'Times New Roman', serif;
  /* l'ancienne police de titres devient Inter partout ; Fraunces reste pour le logo et les accents */
  --font-serif: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* fonds et lignes neutres */
  --ivory: #FCFCFD;
  --ivory-100: #F5F6F9;
  --ivory-200: #E7EAF0;
  --ivory-300: #D9DEE7;
  --line: #E7EAF0;
  --slate: #525E72;
  --ink: #0E1C36;
  --soft-bg: #F7F8FB;

  --r-sm: 8px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-2xl: 28px;
  --header-h: 72px;

  /* palette Prêtaly */
  --grad: linear-gradient(120deg, #203763 0%, #6B5A3A 55%, #C8963E 100%);
  --grad-light: linear-gradient(120deg, #F0DDB6 0%, #E0B062 100%);
  --grad-btn: linear-gradient(135deg, #2F4672 0%, #14284B 100%);
  --grad-soft: linear-gradient(135deg, #F2F4F8 0%, #FBF8F2 55%, #F8EFDC 100%);
  --btn-glow: rgba(20, 40, 75, .45);
  --cta2: #E0B062; --cta2-hover: #E8BF78; --cta2-text: #0E1C36;
  --dark: #0E1C36;
  --dark-mesh:
    radial-gradient(900px 520px at 88% -10%, rgba(200, 150, 62, .30), transparent 60%),
    radial-gradient(760px 520px at -5% 110%, rgba(47, 70, 114, .85), transparent 65%),
    linear-gradient(160deg, #14284B 0%, #0E1C36 55%, #091226 100%);
  --t1-bg: #EEF1F7; --t1: #2F4672;
  --t2-bg: #FBF3E2; --t2: #8A6424;
  --t3-bg: #E7F3EF; --t3: #2F6B4F;
  --t4-bg: #E7EEF7; --t4: #2B5788;
  --shadow-sm: 0 1px 2px rgba(14, 28, 54, .05), 0 1px 1px rgba(14, 28, 54, .03);
  --shadow-md: 0 4px 24px -8px rgba(20, 40, 75, .16), 0 2px 6px rgba(14, 28, 54, .04);
  --shadow-lg: 0 24px 60px -20px rgba(20, 40, 75, .32), 0 8px 20px -8px rgba(14, 28, 54, .08);
}

/* ------------------------------------------------------------------ base et typographie */
body { background: var(--ivory); color: var(--ink); font: 400 16px/1.65 var(--font-sans); font-feature-settings: "cv11", "ss01"; }
::selection { background: var(--gold-200); color: var(--ink); }
h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.032em; line-height: 1.08;
}
.display { font-size: clamp(2.6rem, 3.1vw + 1.4rem, 4.25rem); line-height: 1.03; letter-spacing: -.04em; }
h1, .h1 { font-size: clamp(2.25rem, 2.5vw + 1.3rem, 3.6rem); line-height: 1.05; letter-spacing: -.035em; }
h2, .h2 { font-size: clamp(1.9rem, 1.7vw + 1.25rem, 2.875rem); line-height: 1.1; }
h3, .h3 { font-size: clamp(1.125rem, .3vw + 1.05rem, 1.25rem); font-weight: 600; letter-spacing: -.012em; line-height: 1.4; }
h4, .h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.lead { color: var(--slate); font-size: clamp(1.0625rem, .3vw + 1rem, 1.1875rem); line-height: 1.65; }
p { color: inherit; }

/* mot d'accent : Fraunces italique en dégradé */
h1 em, h2 em, h3 em, .display em, .accent {
  font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .08em 0 .02em; margin-right: -.06em;
}
.hero h1 em, .hero .display em, .section-navy h2 em, .lead-dark h2 em, .callout-dark h3 em { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; }

/* étiquette en pastille (remplace le sur-titre en capitales) */
.overline {
  display: inline-flex; align-items: center; gap: 8px; width: auto;
  font: 600 .8125rem/1.3 var(--font-sans); letter-spacing: 0; text-transform: none;
  color: var(--gold-800); background: var(--gold-100); border: 1px solid var(--gold-200);
  padding: 5px 13px; border-radius: 999px; margin: 0 0 18px;
}
.overline-light, .hero .hero-kicker {
  color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero .hero-kicker::before, .overline-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); flex: none;
}
h1.overline { font-size: .8125rem; line-height: 1.3; }

.num, .kf-value, .case-figs strong, .sim-main, .sim-result .kf-value {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ boutons et liens */
.btn { border-radius: 12px; font: 600 .9375rem/1.2 var(--font-sans); letter-spacing: 0; padding: 12px 20px; transition: transform var(--t-fast) var(--ease), filter var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { min-height: 40px; padding: 9px 14px; font-size: .875rem; border-radius: 10px; }
.btn-primary { background: var(--grad-btn); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -10px var(--btn-glow); }
.btn-primary:hover { background: var(--grad-btn); filter: brightness(1.12); }
.btn-primary:active { background: var(--grad-btn); filter: brightness(.95); }
.btn-dark { background: var(--dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--navy-700); }
.btn-gold { background: var(--cta2); color: var(--cta2-text); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.btn-gold:hover { background: var(--cta2-hover); }
.btn-gold:active { background: var(--cta2); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: #fff; border-color: var(--navy-300); }
.btn-outline-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.btn .ico-circle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; margin-right: -4px; }
.btn .ico-circle .ico { width: 13px; height: 13px; }
.link { color: var(--ink); text-decoration-color: var(--gold); }
.link .ico { color: var(--gold-800); }

/* ------------------------------------------------------------------ en-tête */
.topbar { display: none; }
.site-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(14, 28, 54, .35); }
.header-inner { gap: 14px; }
.header-inner .logo { margin-top: 2px; }
.logo-word { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-size: 28px; }
.founder-monogram .logo-word { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; }
.main-nav a { font-weight: 500; font-size: .875rem; color: var(--navy-600); border-radius: 8px; padding: 8px 8px; }
@media (max-width: 1320px) { .main-nav a { padding: 8px 6px; } }
.main-nav > ul > li > a:hover { background: var(--ivory-100); color: var(--ink); }
.main-nav a[aria-current="page"] { box-shadow: none; color: var(--ink); background: var(--ivory-100); border-radius: 8px; }
.main-nav a .ico-sm { width: 14px; height: 14px; opacity: .6; }
.sub-card { border-radius: 18px; border-color: var(--line); box-shadow: var(--shadow-lg); padding: 14px; }
.sub-title { font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .02em; text-transform: none; color: var(--slate); }
.main-nav .sub-item { font-size: .9rem; font-weight: 500; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--ink); }
.main-nav .sub-item:hover { background: var(--soft-bg); }
.main-nav .sub-item > .ico:first-child { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--t1-bg); color: var(--t1); }
.main-nav .sub-col li:nth-child(2) .sub-item > .ico:first-child { background: var(--t2-bg); color: var(--t2); }
.main-nav .sub-col li:nth-child(3) .sub-item > .ico:first-child { background: var(--t3-bg); color: var(--t3); }
.main-nav .sub-col li:nth-child(4) .sub-item > .ico:first-child { background: var(--t4-bg); color: var(--t4); }
.sub-links { border-top-color: var(--line); }
.header-actions { gap: 8px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; padding: 8px 6px; white-space: nowrap; }
.header-tel .ico { width: 17px; height: 17px; color: var(--gold-800); }
.header-tel:hover { color: var(--gold-800); }
/* téléphone en bouton icône (le numéro reste lisible au survol et dans le pied de page) */
.header-tel { width: 40px; height: 40px; padding: 0; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.header-tel span { display: none; }
.header-depot .ico { width: 16px; height: 16px; }
@media (max-width: 1239px) { .header-depot { display: none; } }
@media (max-width: 1023px) { .header-tel { display: none; } }
.nav-toggle { border-radius: 10px; border-color: var(--line); background: #fff; }
.header-tel-m { border-radius: 10px; border-color: var(--line); background: #fff; }
.mobile-nav { background: #fff; }

/* ------------------------------------------------------------------ sections */
.section-alt { background: var(--soft-bg); }
.section-white { background: #fff; }
.section-soft { background: var(--grad-soft); }
.section-navy, .pattern-navy, .hero { background: var(--dark-mesh); background-color: var(--dark); color: #fff; }
.section-navy .lead, .section-navy .muted, .hero .lead { color: rgba(226, 232, 240, .82); }
.section-head { margin-bottom: 52px; }
.section-head:not(.section-head-split) { text-align: center; margin-left: auto; margin-right: auto; }
.section-head:not(.section-head-split) .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.section-head-split { align-items: flex-end; }
.rule-gold { display: none; }

/* ------------------------------------------------------------------ héros */
.hero-home { padding: 96px 0 104px; overflow: hidden; }
.hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
.hero h1, .hero .display { color: #fff; }
.hero-slogan { margin: 0 0 22px; max-width: 700px; }
.hero .lead { color: rgba(226, 232, 240, .86); }
.hero .lead strong { color: #fff; }
.hero-ctas { gap: 12px; }
.hero-ctas .btn { min-height: 52px; padding: 14px 22px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 28px 0 0; padding: 0; font-size: .875rem; color: rgba(226, 232, 240, .85); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ico { width: 16px; height: 16px; color: #34D399; }
.hero-stats { display: grid; gap: 12px; }
.glass {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 16px; padding: 18px 20px; color: #fff;
}
.glass .stat { display: block; font: 700 2.25rem/1 var(--font-display); letter-spacing: -.04em; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass .stat small { font-size: .5em; letter-spacing: 0; margin-left: 6px; }
.glass p { margin: 8px 0 0; font-size: .8125rem; line-height: 1.45; color: rgba(226, 232, 240, .82); }
.glass p strong { color: #fff; }
.glass .ico { width: 22px; height: 22px; color: var(--gold-light); }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hero-home { padding: 56px 0 64px; } .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .glass { padding: 14px; } .glass .stat { font-size: 1.75rem; } }

.page-hero { padding: 64px 0 72px; }
.page-hero-light { background: var(--grad-soft); color: var(--ink); }
.page-hero-light h1 { color: var(--ink); }
.page-hero .lead { color: rgba(226, 232, 240, .86); }
.page-hero-light .lead { color: var(--slate); }
.breadcrumb ol { font-weight: 500; }
.kf-panel { border-radius: var(--r-xl); border-color: var(--line); padding: 26px; box-shadow: var(--shadow-lg); }
.kf-panel h2 { font-size: 1.125rem; letter-spacing: -.015em; }
.kf-panel dd { font: 700 1.0625rem/1.2 var(--font-display); letter-spacing: -.02em; }
.kf-panel dl > div { border-top-color: var(--line); }
.kf-value small { font-family: var(--font-sans); font-weight: 600; }

/* bandeau de financements (sous le héros) */
.fin-strip { background: #fff; border-bottom: 1px solid var(--line); }
.fin-strip .container { display: flex; align-items: center; gap: 12px 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; justify-content: center; }
.fin-strip p { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--slate); }
.fin-strip ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; justify-content: center; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.chip-link:hover { border-color: var(--navy-300); box-shadow: var(--shadow-md); }
.chip-link .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--t1-bg); color: var(--t1); }
.fin-strip li:nth-child(4n+2) .ico { background: var(--t2-bg); color: var(--t2); }
.fin-strip li:nth-child(4n+3) .ico { background: var(--t3-bg); color: var(--t3); }
.fin-strip li:nth-child(4n+4) .ico { background: var(--t4-bg); color: var(--t4); }

/* ------------------------------------------------------------------ pastilles et cartes */
.pastille { width: 44px; height: 44px; border-radius: 12px; background: var(--t1-bg); color: var(--t1); }
.pastille .ico { width: 21px; height: 21px; }
.tint-2 .pastille, .pastille.tint-2, .grid > :nth-child(4n+2) > .pastille, .pillars > :nth-child(4n+2) .pastille { background: var(--t2-bg); color: var(--t2); }
.tint-3 .pastille, .pastille.tint-3, .grid > :nth-child(4n+3) > .pastille, .pillars > :nth-child(4n+3) .pastille { background: var(--t3-bg); color: var(--t3); }
.tint-4 .pastille, .pastille.tint-4, .grid > :nth-child(4n+4) > .pastille, .pillars > :nth-child(4n+4) .pastille { background: var(--t4-bg); color: var(--t4); }
.pastille-navy { background: var(--dark); color: var(--gold-light); }
.pastille-success { background: var(--success-bg); color: var(--success); }
.card { border-radius: var(--r-xl); border-color: var(--line); padding: 30px; box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.25rem; margin: 8px 0 0; }
.card-link:hover { border-color: var(--ivory-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-sm { padding: 24px; }
.card-sm h3 { font-size: 1.0625rem; }
.card-ivory { background: var(--soft-bg); }
.bullets li { font-size: .9375rem; color: var(--slate); }
.bullets .ico { color: var(--success); }
.check-list .ico { color: #34D399; }

/* leviers de négociation : mini-cartes */
.levers { gap: 12px; }
.levers li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); align-items: flex-start; }
.levers .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--t1-bg); color: var(--t1); margin: 0; }
.levers li:nth-child(4n+2) .ico { background: var(--t2-bg); color: var(--t2); }
.levers li:nth-child(4n+3) .ico { background: var(--t3-bg); color: var(--t3); }
.levers li:nth-child(4n+4) .ico { background: var(--t4-bg); color: var(--t4); }
.levers strong { font-weight: 600; color: var(--ink); }

/* étapes : cartes numérotées */
.steps { gap: 16px; }
.steps li { padding: 26px 24px 26px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm); }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad-btn); color: #fff;
  font: 700 1rem/1 var(--font-sans); letter-spacing: 0; margin-bottom: 18px; box-shadow: 0 8px 18px -10px var(--btn-glow);
}
.steps h3 { font-size: 1.125rem; margin-bottom: 8px; }
.steps p { font-size: .9rem; }
@media (min-width: 1025px) {
  .steps { position: relative; }
  .steps::before { content: ""; position: absolute; left: 44px; right: 44px; top: 45px; height: 2px; background: repeating-linear-gradient(90deg, var(--ivory-300) 0 6px, transparent 6px 12px); z-index: 0; }
  .steps li { z-index: 1; }
}
@media (max-width: 680px) {
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; }
  .steps li { flex: 0 0 82%; scroll-snap-align: start; }
}

/* exemples de montages */
.case { border-radius: var(--r-xl); border-color: var(--line); box-shadow: var(--shadow-sm); }
.case-head { background: #fff; color: var(--ink); min-height: 0; padding: 24px 26px 6px; }
.case-head .overline { align-self: flex-start; margin-bottom: 12px; color: var(--gold-800); background: var(--gold-100); border-color: var(--gold-200); }
.case-head h3 { color: var(--ink); font-size: 1.1875rem; }
.case-figs { margin: 12px 26px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--soft-bg); }
.case-figs div { padding: 14px 12px 12px 16px; }
.case-figs div + div { border-left-color: var(--line); padding-left: 12px; }
.case-figs strong { font-size: 1.375rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-body { padding: 18px 26px 26px; }
.disclaimer .ico { color: var(--slate); }

/* engagements */
.pillars { gap: 16px; }
.pillar { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm); }
.pillar h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }

/* encadrés */
.callout { border-radius: var(--r-xl); }
.callout-dark {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: var(--dark-mesh); background-color: var(--dark); color: #fff;
  border-radius: var(--r-2xl); padding: 34px 38px; box-shadow: var(--shadow-lg);
}
.callout-dark .pastille { background: rgba(255, 255, 255, .1); color: var(--gold-light); border: 1px solid rgba(255, 255, 255, .16); }
.callout-dark h3 { color: #fff; font-size: 1.25rem; margin: 6px 0 10px; }
.callout-dark p { color: rgba(226, 232, 240, .85); margin: 0 0 18px; max-width: 880px; font-size: .9375rem; }
.callout-dark p strong { color: #fff; }
@media (max-width: 560px) { .callout-dark { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; } }
.cta-band { border-radius: var(--r-2xl); }
.feature { border-top-color: var(--line); }
.feature:last-child { border-bottom-color: var(--line); }

/* ------------------------------------------------------------------ simulateur (accueil) */
.simx { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-radius: var(--r-2xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.simx-params { padding: 34px 36px; }
.simx-params h3 { font-size: 1.25rem; margin: 0 0 4px; }
.simx-params > p { color: var(--slate); font-size: .9rem; margin: 0 0 24px; }
.simx-group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.simx-group legend, .simx-field label { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 11px; font-size: .875rem; font-weight: 500; color: var(--ink); background: #fff; transition: all var(--t-fast) var(--ease); }
.chips label:hover span { border-color: var(--navy-300); }
.chips input:checked + span { background: var(--grad-btn); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px var(--btn-glow); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.simx-field { margin-bottom: 22px; }
.simx-field-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.simx-field-head label { margin: 0; }
.simx-field .input-wrap { width: 170px; }
.simx .simx-field .input-wrap input { text-align: right; font-weight: 600; padding-right: 46px; height: 42px; }
.simx-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--slate); margin-top: 4px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), var(--ivory-200) var(--p, 50%)); outline: none; margin: 8px 0 2px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); box-shadow: 0 2px 8px rgba(14, 28, 54, .2); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); box-shadow: 0 2px 8px rgba(14, 28, 54, .2); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(200, 150, 62, .3); }
.simx-result { padding: 34px 36px; background: var(--grad-soft); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.simx-label { font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: 0 0 10px; }
.simx-big { display: flex; align-items: baseline; gap: 6px; font: 700 clamp(3rem, 3vw + 1.6rem, 4.25rem)/1 var(--font-display); letter-spacing: -.045em; }
.simx-big > span, .simx-big > i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.simx-big small { font-size: 1rem; letter-spacing: 0; font-weight: 600; color: var(--slate); }
.simx-sub { color: var(--slate); font-size: .875rem; margin: 10px 0 22px; }
.simx-rows { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .72); }
.simx-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-size: .875rem; }
.simx-rows > div + div { border-top: 1px solid var(--line); }
.simx-rows dt { color: var(--slate); }
.simx-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.simx-result .btn { margin-top: auto; }
.simx-result .link { margin-top: 14px; font-size: .875rem; align-self: flex-start; }
.hero-alt { margin: 18px 0 0; font-size: .9375rem; }
.hero-alt a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 4px; }
.hero-alt a:hover { color: var(--gold-light); }
.hero-alt .ico { flex: none; }
.simx-result .sim-note { margin: 14px 0 0; font-size: .75rem; color: var(--slate); line-height: 1.5; }
@media (max-width: 900px) {
  .simx { grid-template-columns: minmax(0, 1fr); }
  .simx-result { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .simx-params, .simx-result { padding: 24px 20px; }
  .simx-field .input-wrap { width: 150px; }
}

/* simulateur complet et cartes de simulation existantes */
.sim-card, .sim-panel, .lead-card { border-radius: var(--r-2xl); border-color: var(--line); }
.sim-result { border-radius: 14px; background: var(--soft-bg); }
.sim-out { background: var(--dark-mesh); background-color: var(--dark); border-radius: var(--r-2xl); }
.sim-main { font-size: 3.25rem; }
.badge { border-radius: 999px; padding: 4px 10px; font: 600 .6875rem/1.3 var(--font-sans); letter-spacing: .02em; text-transform: none; }
.segmented { border-radius: 12px; }
.segmented span { border-radius: 9px; font-weight: 500; }
.sim-link { border-radius: var(--r-xl); }
.sim-link-body strong { font: 600 1.0625rem/1.3 var(--font-display); letter-spacing: -.01em; }

/* ------------------------------------------------------------------ formulaires */
input:not([type="radio"]):not([type="checkbox"]):not([type="range"]), select, textarea { border-radius: 10px; border-color: var(--line); font-weight: 500; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-100); }
.input-wrap > input:not([type="radio"]):not([type="checkbox"]) { padding-right: 44px; }
.field label, .field .label { color: var(--ink); font-weight: 600; }
.choice-box { border-radius: 14px; }
.lf-step-label { letter-spacing: .06em; font-weight: 600; color: var(--slate); }
.lf-bar { height: 4px; border-radius: 4px; }
.lf-bar i { background: var(--grad-btn); }
.lf-legend { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; }

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 0; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 22px; box-shadow: var(--shadow-sm); transition: box-shadow var(--t) var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary { padding: 18px 0; }
.faq-item summary h3 { font-size: 1.0313rem; font-weight: 600; }
.faq-item summary:hover h3 { text-decoration: none; color: var(--gold-800); }
.faq-ico { border-radius: 10px; border-color: var(--line); width: 32px; height: 32px; }
.faq-item[open] .faq-ico { background: var(--grad-btn); border-color: transparent; color: #fff; }
.faq-a { padding: 0 48px 20px 0; }

/* ------------------------------------------------------------------ demande d'étude (bas de page) */
.lead-section.lead-soft { background: transparent; color: var(--ink); }
.lead-soft .lead-panel { background: var(--grad-soft); border: 1px solid var(--line); border-radius: 32px; padding: 56px; }
.lead-soft .lead-grid { gap: 56px; }
.lead-soft .lead-copy h2 { color: var(--ink); }
.lead-soft .lead-copy .lead, .lead-soft .lead-direct p { color: var(--slate); }
.lead-soft .check-list { color: var(--ink); }
.lead-soft .check-list .ico { color: var(--success); }
.lead-soft .lead-direct { border-top-color: var(--line); }
.lead-soft .lead-card { box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (max-width: 1024px) { .lead-soft .lead-panel { padding: 36px 28px; } }
@media (max-width: 560px) { .lead-soft .lead-panel { padding: 26px 16px; border-radius: 22px; } }

/* choix du parcours : rendez-vous découverte ou dépôt de dossier */
.lead-soft .section-head { margin-bottom: 28px; }
.lead-section.lead-nohead { padding-top: 40px; }
.path-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 0 auto 28px; }
.path-switch button {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink);
  font: inherit; box-shadow: var(--shadow-sm); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.path-switch button:hover { border-color: var(--navy-300); transform: translateY(-1px); }
.path-switch button[aria-selected="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), var(--shadow-md); }
.path-switch .pastille { flex: none; }
.path-switch button:nth-child(2) .pastille { background: var(--t2-bg); color: var(--t2); }
.path-switch button[aria-selected="true"] .pastille { background: var(--grad-btn); color: #fff; }
.path-switch strong { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.path-switch small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--slate); line-height: 1.4; }
.lead-copy .h2 { margin: 0 0 14px; }
.depot-card .lf-legend { font-size: 1.25rem; margin-bottom: 14px; }
.depot-list { list-style: none; display: grid; gap: 10px; margin: 0 0 20px; padding: 0; }
.depot-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ink); }
.depot-list .ico { width: 18px; height: 18px; color: var(--gold-800); flex: none; margin-top: 3px; }
.depot-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--soft-bg); border: 1px solid var(--line); font-size: .8125rem; line-height: 1.5; color: var(--slate); margin: 0 0 18px; }
.depot-note .ico { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 1px; }
.lead-form .lf-rdv { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.lf-rdv legend { margin-bottom: 8px; padding: 0; }
.lf-rdv .chips label { font-size: .875rem; color: var(--ink); }
.lf-rdv .chips span { border-color: var(--ivory-300); }
.chips span .ico { width: 15px; height: 15px; margin-right: 7px; }
@media (max-width: 560px) {
  .path-switch { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .path-switch button { padding: 12px 14px; }
}

/* champs de fichier masqués du dépôt de pièces : la règle générique des champs (largeur 100 %) les faisait déborder */
.pc-row input.pc-input:not([type="radio"]):not([type="checkbox"]) { width: 1px; height: 1px; min-width: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }

/* ------------------------------------------------------------------ contact */
.contact-card { border-radius: 16px; border-color: var(--line); }
.contact-card:hover { box-shadow: var(--shadow-md); }

/* ------------------------------------------------------------------ pied de page clair */
.site-footer { background: #fff; color: var(--slate); border-top: 1px solid var(--line); padding: 72px 0 28px; }
.footer-top { border-bottom-color: var(--line); }
.footer-brand .logo { color: var(--ink); }
.footer-brand > .footer-slogan { font: 600 1.125rem/1.3 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.footer-contact a, .footer-contact span { color: var(--ink); font-weight: 500; }
.footer-contact a:hover { color: var(--gold-800); }
.footer-contact .ico { color: var(--gold-800); }
.footer-title { font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .1em; color: var(--ink); }
.footer-col a { color: var(--slate); }
.footer-col a:hover { color: var(--ink); text-decoration-color: var(--gold); }
.footer-orias { text-decoration: none; display: flex; gap: 12px; align-items: center; margin-top: 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft-bg); max-width: 340px; font-size: .8125rem; line-height: 1.45; color: var(--slate); }
.footer-orias .ico { width: 22px; height: 22px; color: var(--gold-800); flex: none; }
.footer-orias strong { color: var(--ink); }
.footer-legal { color: var(--slate); }
.footer-legal strong, .footer-legal a, .footer-mention { color: var(--ink); }
.footer-bottom { border-top-color: var(--line); }

/* bouton flottant « Étude gratuite » (ordinateur) */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: var(--grad-btn); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none;
  box-shadow: 0 14px 30px -12px var(--btn-glow); transform: translateY(140%); transition: transform var(--t) var(--ease), filter var(--t-fast);
}
.float-cta.is-visible { transform: none; }
.float-cta:hover { filter: brightness(1.12); }
.float-cta .ico { width: 18px; height: 18px; }
@media (max-width: 767px) { .float-cta { display: none; } }
.page-dossier .float-cta, .page-contact .float-cta { display: none; }

/* barre d'action mobile */
@media (max-width: 767px) {
  .mobile-cta { background: rgba(255, 255, 255, .94); border-top-color: var(--line); }
  .site-footer { padding-bottom: 96px; }
}

/* page de demande de prise en charge */
.dz-card, .dz-aside-card { border-radius: var(--r-2xl); border-color: var(--line); }
.dz-opt span { border-color: var(--line); font-weight: 500; }
.dz-opt input:checked + span { background: var(--grad-btn); border-color: transparent; color: #fff; }
.dz-block-title { letter-spacing: .06em; font-weight: 600; color: var(--slate); }
.dz-timeline li::before { background: var(--grad-btn); color: #fff; border-radius: 9px; }
