/* Diagnea — feuille de style.
   Identité : sans empattement (Bricolage Grotesque + Figtree), graphite et vert émeraude,
   l’échelle de couleurs du DPE utilisée avec parcimonie comme signature. */
:root {
  --ink: #111418;
  --ink-soft: #2b3138;
  --muted: #545d68;
  --line: #dfe4e2;
  --line-strong: #c9d1ce;
  --bg: #f6f7f3;
  --paper: #ffffff;
  --soft: #edf2ec;
  --brand: #0a7a4a;
  --brand-strong: #075c37;
  --brand-tint: #e2f1e8;
  --lime: #c5e86c;
  --dark: #14171b;
  --dark-2: #1e2329;
  --on-dark: #f3f5f2;
  --on-dark-muted: #b4bcb7;
  --warn: #9a4b00;
  --danger: #b3261e;
  --dpe-A: #009c6d; --dpe-B: #52b153; --dpe-C: #78bd76; --dpe-D: #f4e70f; --dpe-E: #f0b50f; --dpe-F: #eb8235; --dpe-G: #d7221f;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(17, 20, 24, .05), 0 12px 32px -12px rgba(17, 20, 24, .18);
  --shadow-lg: 0 2px 4px rgba(17, 20, 24, .06), 0 30px 60px -24px rgba(17, 20, 24, .28);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
em { font-style: normal; color: var(--brand); }
.dark em, .cta-band em { color: var(--lime); }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 36px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.noscript { padding: 40px 20px; max-width: 720px; margin: 0 auto; }
.muted { color: var(--muted); }

/* ---------- Boutons et liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px/1.2 var(--body); text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn svg { font-size: 18px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--brand); border-color: var(--brand); }
.btn:hover svg { transform: translateX(3px); }
.btn.sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn.lg { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.btn.light { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn.light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.btn.is-loading { opacity: .75; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-strong); text-decoration: none; border-bottom: 1.5px solid currentColor; padding: 4px 0; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.dark .link-arrow { color: var(--lime); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 243, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(17, 20, 24, .4); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; min-height: 44px; }
.logo-mark { width: 38px; height: 38px; color: var(--dark); stroke: none; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-type strong { font-family: var(--display); font-size: 23px; letter-spacing: -0.03em; font-weight: 700; }
.logo-type span { font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: .01em; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-soft); padding: 10px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--soft); color: var(--ink); }
.main-nav a.active { color: var(--brand-strong); background: var(--brand-tint); }
.main-nav .nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 27px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 2px; background: var(--paper); padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .menu-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { font-size: 18px; padding: 14px 12px; }
  .main-nav .nav-cta { display: block; margin-top: 10px; background: var(--ink); color: #fff; text-align: center; border-radius: 999px; }
  .main-nav .nav-cta:hover { background: var(--brand); color: #fff; }
  .menu-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) { .header-actions .btn { display: none; } .logo-type span { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--dark); color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section-head.light .lead, .dark .section-head .lead { color: var(--on-dark-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 22px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--dpe-A) 0 33%, var(--dpe-D) 33% 66%, var(--dpe-G) 66%); }
.dark .eyebrow, .eyebrow.light { color: var(--lime); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.split-2 { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .split-2 { grid-template-columns: 1fr 1fr; } }
.src { font-size: 13px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.dark .src { color: var(--on-dark-muted); }
.note { display: flex; gap: 10px; align-items: flex-start; background: #fff8e6; border: 1px solid #f1dfae; color: #5c4300; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px; }
.note svg { margin-top: 4px; }

/* ---------- Héros d’accueil ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, rgba(197, 232, 108, .32), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; position: relative; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.04fr .96fr; } }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); margin-bottom: 22px; }
.hero h1 em { background: linear-gradient(transparent 62%, rgba(197, 232, 108, .7) 62% 92%, transparent 92%); color: var(--ink); padding: 0 .05em; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks svg { color: var(--brand); font-size: 18px; stroke-width: 2.4; }
.hero-visual { position: relative; padding-bottom: 40px; }
.hv-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.hv-photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-card { position: absolute; left: -22px; bottom: 0; width: min(300px, 78%); background: var(--paper); border-radius: 20px; padding: 18px 18px 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hv-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 700; font-family: var(--display); }
.hv-head small { font-family: var(--body); font-weight: 500; color: var(--muted); font-size: 12px; }
.hv-foot { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 979px) { .hv-card { left: 12px; } }
.dpe-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dpe-ladder li { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.dpe-ladder .bar { width: var(--w); height: 22px; border-radius: 4px 12px 12px 4px; display: flex; align-items: center; padding-left: 9px; color: var(--ink); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); }
.dpe-ladder .bar b { font-size: 13px; }
.dpe-ladder .lim { white-space: nowrap; }
.r-A .bar { background: var(--dpe-A); } .r-B .bar { background: var(--dpe-B); } .r-C .bar { background: var(--dpe-C); } .r-D .bar { background: var(--dpe-D); } .r-E .bar { background: var(--dpe-E); } .r-F .bar { background: var(--dpe-F); } .r-G .bar { background: var(--dpe-G); color: #fff; }

/* ---------- Bandeau réforme ---------- */
.notice { padding: 0 0 8px; }
.notice-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 18px 22px; }
.notice-inner p { margin: 0; flex: 1 1 380px; font-size: 16px; color: var(--on-dark-muted); }
.notice-inner strong { color: var(--on-dark); font-weight: 600; }
.notice-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 6px 12px; text-transform: uppercase; letter-spacing: .05em; }
.notice .link-arrow { color: var(--lime); }

/* ---------- Widget diagnostics ---------- */
.diag-widget { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 960px) { .diag-widget { grid-template-columns: 360px 1fr; } }
.w-controls { padding: 26px; background: linear-gradient(180deg, var(--brand-tint), #f2f8f4); display: grid; gap: 18px; align-content: start; }
.w-seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.w-seg legend, .w-field label { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: block; color: var(--ink-soft); padding: 0; }
.w-field label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.seg-row { display: flex; flex-wrap: wrap; gap: 6px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.seg-row label { flex: 1 1 auto; position: relative; }
.seg-row input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg-row span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: background .2s, color .2s, box-shadow .2s; text-align: center; }
.seg-row input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -8px rgba(17, 20, 24, .6); }
.seg-row input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.w-field select, .w-field .input, .field select, .input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--paper); font: 500 16px/1.3 var(--body); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.w-field select, .field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 122, 74, .16); }
.w-field.is-muted { opacity: .55; }
.w-output { padding: 26px; min-width: 0; }
.w-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 14px; }
.w-title h3 { margin: 0; font-size: 1.35rem; }
.w-legend { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.w-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.lg-oblig { background: var(--brand); } .lg-cond { background: #e3a008; }
.w-results { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.w-results li { display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: border-color .2s; animation: pop .35s var(--ease) both; }
.w-results li:hover { border-color: var(--line-strong); }
.w-results li > div { min-width: 0; }
.w-results strong { display: block; font-size: 16px; }
.w-results strong a { text-decoration: none; }
.w-results strong a:hover { text-decoration: underline; }
.w-results li > div > span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }
.w-results em { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.w-results small { grid-column: 2 / -1; font-size: 13px; color: var(--ink-soft); }
.w-results small::before { content: 'Validité : '; color: var(--muted); }
.w-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; grid-row: span 2; }
.st-oblig .w-ico { background: var(--brand-tint); color: var(--brand-strong); }
.st-oblig em { background: var(--brand-tint); color: var(--brand-strong); }
.st-cond .w-ico { background: #fdf3d7; color: #8a5a00; }
.st-cond em { background: #fdf3d7; color: #7a4e00; }
.w-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line-strong); padding-top: 16px; }
.w-foot p { display: flex; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); flex: 1 1 280px; }
.w-foot p svg { margin-top: 3px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Calendrier ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--dpe-A), var(--dpe-D), var(--dpe-G)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.timeline li.now::before { background: var(--lime); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(197, 232, 108, .45); }
.timeline time { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.timeline p { margin: 2px 0 6px; color: var(--ink-soft); }
.tl-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- Simulateur ---------- */
.dpe-sim { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 28px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 24px; }
.sim-form { display: grid; gap: 16px; align-items: end; }
@media (min-width: 860px) { .sim-form { grid-template-columns: repeat(3, 1fr); } }
.dpe-sim .w-field label { color: var(--on-dark); }
.dpe-sim .w-field label small { color: var(--on-dark-muted); }
.dpe-sim select, .dpe-sim .input { background-color: #111418; color: var(--on-dark); border-color: #3a424b; }
.dpe-sim select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f5f2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.sim-out { display: grid; gap: 12px; }
@media (min-width: 700px) { .sim-out { grid-template-columns: repeat(3, 1fr); } }
.sim-col { background: #111418; border-radius: 18px; padding: 18px; display: grid; gap: 8px; justify-items: start; border: 1px solid rgba(255, 255, 255, .06); }
.sim-col span { font-size: 14px; color: var(--on-dark-muted); }
.sim-col small { font-size: 14px; color: var(--on-dark); }
.cls { display: inline-grid; place-items: center; width: 64px; height: 52px; font: 800 30px/1 var(--display); border-radius: 8px 22px 22px 8px; color: var(--ink); transition: background .3s; }
.cls-A { background: var(--dpe-A); } .cls-B { background: var(--dpe-B); } .cls-C { background: var(--dpe-C); } .cls-D { background: var(--dpe-D); } .cls-E { background: var(--dpe-E); } .cls-F { background: var(--dpe-F); } .cls-G { background: var(--dpe-G); color: #fff; }
.sim-note { display: flex; gap: 10px; font-size: 13px; color: var(--on-dark-muted); margin: 0; }
.sim-note svg { margin-top: 3px; }
.sim-links { margin-top: 22px; color: var(--on-dark-muted); }
.inline-tool { margin: 28px 0; }
.inline-tool .dpe-sim { background: var(--dark); color: var(--on-dark); }

/* ---------- Cartes diagnostics ---------- */
.diag-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.diag-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.diag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.diag-card h3 { margin: 8px 0 2px; }
.diag-card p { color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.dc-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; font-size: 22px; color: var(--brand-strong); }
.diag-card dl { margin: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.diag-card dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.diag-card dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; line-height: 1.35; }

/* ---------- Données ---------- */
.data-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.dc-title { font-weight: 700; font-family: var(--display); font-size: 1.05rem; margin-bottom: 14px; line-height: 1.3; }
.dc-n { margin-top: 12px; font-size: 14px; color: var(--muted); }
.dc-n strong { color: var(--ink); font-size: 16px; }
.dpe-stack { display: flex; height: 40px; border-radius: 10px; overflow: hidden; gap: 2px; background: var(--paper); }
.dpe-stack .seg { display: flex; align-items: center; justify-content: center; min-width: 3px; }
.dpe-stack b { font-size: 13px; color: var(--ink); }
.seg-A { background: var(--dpe-A); } .seg-B { background: var(--dpe-B); } .seg-C { background: var(--dpe-C); } .seg-D { background: var(--dpe-D); } .seg-E { background: var(--dpe-E); } .seg-F { background: var(--dpe-F); } .seg-G { background: var(--dpe-G); }
.dpe-stack .seg-G b { color: #fff; }
.dist-legend { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px 14px; font-size: 14px; }
.dist-legend li { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.dist-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dist-legend b { font-weight: 500; color: var(--ink-soft); margin-left: auto; font-variant-numeric: tabular-nums; }
.pill-links, .link-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a, .link-list a { text-decoration: none; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; transition: border-color .2s, background .2s; }
.pill-links a:hover, .link-list a:hover { border-color: var(--ink); }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 6px 0 24px; }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.stat-card strong { display: block; font: 700 1.9rem/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-card span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; margin-top: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); -webkit-overflow-scrolling: touch; }
.table-wrap.tall { max-height: 640px; overflow-y: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fafbf9; position: sticky; top: 0; z-index: 1; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody th { font-weight: 600; }
.cmp-table td { white-space: nowrap; }
.cmp-table a { color: var(--brand-strong); font-weight: 600; text-decoration: none; }
.cmp-table a:hover { text-decoration: underline; }
.cmp-table tr.me { background: var(--brand-tint); }
.cmp-table tr.tot th, .cmp-table tr.tot td { font-weight: 700; background: #fafbf9; }
.cmp-table.validity td { white-space: normal; min-width: 150px; }
.cell-bar { display: inline-block; width: 70px; height: 8px; border-radius: 4px; background: var(--soft); margin-right: 10px; vertical-align: middle; overflow: hidden; }
.cell-bar i { display: block; height: 100%; border-radius: 4px; }
.tag { display: inline-grid; place-items: center; width: 30px; height: 26px; border-radius: 4px 12px 12px 4px; font: 800 14px/1 var(--display); color: var(--ink); }
.tag-A { background: var(--dpe-A); } .tag-B { background: var(--dpe-B); } .tag-C { background: var(--dpe-C); } .tag-D { background: var(--dpe-D); } .tag-E { background: var(--dpe-E); } .tag-F { background: var(--dpe-F); } .tag-G { background: var(--dpe-G); color: #fff; }
.city-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.city-index a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); min-height: 44px; }
.city-index a:hover { border-color: var(--ink); transform: translateY(-2px); }
.city-index strong { font-weight: 600; font-size: 15px; line-height: 1.3; }
.city-index span { font-size: 13px; color: var(--muted); }

/* ---------- Étapes, charte ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 0 18px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps h3 { margin: 4px 0 6px; }
.steps p { grid-column: 2; margin: 0; color: var(--muted); }
.step-n { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font: 800 1.4rem/1 var(--display); }
.photo-stack { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; }
.charter { display: grid; gap: 14px; }
@media (min-width: 860px) { .charter { grid-template-columns: 1fr 1fr; } }
.t-col { border-radius: var(--radius); padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.t-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.t-col li { display: flex; gap: 12px; align-items: flex-start; }
.t-col li svg { margin-top: 3px; font-size: 20px; padding: 3px; border-radius: 50%; }
.t-col.yes li svg { color: var(--brand-strong); background: var(--brand-tint); stroke-width: 2.4; }
.t-col.no li svg { color: var(--danger); background: #fbe9e7; stroke-width: 2.4; }
.check-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-cards li { display: flex; gap: 14px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.check-cards li > svg { color: var(--brand); font-size: 22px; stroke-width: 2.4; margin-top: 2px; }
.check-cards p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s; }
.faq-item.open { border-color: var(--line-strong); }
.faq-h { margin: 0; font-size: inherit; letter-spacing: 0; }
.faq-question { width: 100%; display: flex; gap: 16px; justify-content: space-between; align-items: center; text-align: left; background: none; border: 0; padding: 18px 20px; min-height: 56px; font: 600 17px/1.35 var(--body); color: var(--ink); cursor: pointer; border-radius: 18px; }
.faq-plus { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); position: relative; flex: none; transition: background .25s, transform .35s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.faq-plus::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq-item.open .faq-plus { background: var(--lime); }
.faq-item.open .faq-plus::after { transform: rotate(0deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
html:not(.js) .faq-answer { grid-template-rows: 1fr; }

/* ---------- Bande d’appel ---------- */
.cta-band { background: var(--dark); color: var(--on-dark); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--dpe-A), var(--dpe-B), var(--dpe-C), var(--dpe-D), var(--dpe-E), var(--dpe-F), var(--dpe-G)); }
.cta-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--on-dark-muted); max-width: 620px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 500; }
.ticks span { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { color: var(--lime); stroke-width: 2.4; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0e1013; color: var(--on-dark-muted); padding: 64px 0 28px; font-size: 15px; }
.site-footer .logo { color: var(--on-dark); }
.site-footer .logo-mark { color: #2a3037; }
.site-footer .logo-type span { color: var(--on-dark-muted); }
.footer-top { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.footer-brand p { margin: 16px 0 20px; max-width: 380px; }
.footer-title { color: var(--on-dark); font-weight: 700; margin-bottom: 12px; font-family: var(--display); }
.footer-links { display: grid; gap: 2px; }
.footer-links a { text-decoration: none; padding: 7px 0; min-height: 40px; display: flex; align-items: center; transition: color .2s; }
.footer-links a:hover { color: var(--lime); }
.footer-scale { display: flex; gap: 3px; margin: 48px 0 20px; }
.footer-scale span { flex: 1; height: 6px; border-radius: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; align-items: center; }
.to-top { background: none; border: 1px solid #3a424b; color: var(--on-dark); border-radius: 999px; padding: 10px 16px; min-height: 44px; display: inline-flex; gap: 8px; align-items: center; font: 500 14px var(--body); cursor: pointer; }
.to-top:hover { border-color: var(--lime); }
.floating-cta { position: fixed; z-index: 40; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .45s var(--ease); }
.floating-cta.show { transform: none; }
@media (min-width: 1081px) { .floating-cta { display: none; } }

/* ---------- Héros de page ---------- */
.page-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #f1f4ef); }
.ph-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .page-hero .ph-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.ph-text .lead { max-width: 640px; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ph-media { border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow-lg); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-data .src { margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; padding: 4px 0; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Contenus ---------- */
.service-layout, .article-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .service-layout, .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } .aside-card, .article-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.body > p { max-width: 760px; }
.aside-card { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 26px; }
.aside-card h3 { font-size: 1.3rem; }
.aside-card p { color: var(--on-dark-muted); font-size: 15px; }
.aside-card.alt { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.aside-card.alt .check-list svg { color: var(--brand); }
.aside-card.alt .aside-link { color: var(--brand-strong); }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: 15px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { color: var(--lime); stroke-width: 2.4; margin-top: 4px; }
.aside-link { display: inline-flex; margin-top: 14px; color: var(--lime); font-weight: 600; font-size: 15px; min-height: 44px; align-items: center; }
.article-aside { display: grid; gap: 16px; }
.aside-links { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 4px; }
.aside-links h3 { font-size: 1.05rem; }
.aside-links a { text-decoration: none; color: var(--brand-strong); font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--line); min-height: 44px; display: flex; align-items: center; }
.aside-links a:last-child { border-bottom: 0; }
.article-body { max-width: 780px; font-size: 18px; }
.article-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 1.8em 0 .55em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 1.4em 0 .4em; }
.article-body ul, .article-body ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-body li::marker { color: var(--brand); font-weight: 700; }
.article-body a { color: var(--brand-strong); text-underline-offset: 3px; }
.article-body .table-wrap { margin: 0 0 1.4em; font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 32px; }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.facts span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.facts strong { display: block; font-size: 16px; margin-top: 4px; line-height: 1.4; }
.sources { margin-top: 40px; padding: 22px; border-radius: var(--radius); background: var(--soft); font-size: 15px; }
.sources h2 { font-size: 1.15rem !important; margin: 0 0 10px !important; }
.sources ul { margin: 0 0 10px; }
.sources p { color: var(--muted); font-size: 14px; margin: 0; }
.reading-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--brand); transform-origin: left; transform: scaleX(0); z-index: 60; }
.guide-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.guide-grid.big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.guide-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.guide-card > div { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card h3 { margin: 0; font-size: 1.1rem; }
.guide-card p { font-size: 15px; color: var(--muted); margin: 0; }
.guide-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Formulaires ---------- */
.form-page { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.form-shell { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .form-shell { grid-template-columns: .85fr 1.15fr; gap: 64px; } .form-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-side h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.pill-row { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row li { padding: 7px 14px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-strong); font-weight: 600; font-size: 14px; }
.next-steps { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.next-steps h3 { font-size: 1.05rem; margin-bottom: 14px; }
.ns { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.ns:first-of-type { border-top: 0; }
.ns b { width: 30px; height: 30px; border-radius: 10px; background: var(--ink); color: var(--lime); display: grid; place-items: center; flex: none; font-family: var(--display); }
.ns strong { display: block; font-size: 15px; }
.ns span { font-size: 14px; color: var(--muted); }
.secure { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.secure svg { margin-top: 3px; flex: none; }
.secure a, .consent a { color: var(--brand-strong); }
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3.4vw, 36px); box-shadow: var(--shadow); min-width: 0; }
.form-panel > h2 { font-size: 1.6rem; }
.stepper-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.stepper-head b { color: var(--ink); }
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 26px; }
.step-dot { height: 6px; border-radius: 3px; background: var(--line); transition: background .35s; }
.step-dot.active:nth-child(1) { background: var(--dpe-A); } .step-dot.active:nth-child(2) { background: var(--dpe-B); } .step-dot.active:nth-child(3) { background: var(--dpe-C); } .step-dot.active:nth-child(4) { background: var(--brand); } .step-dot.active:nth-child(5) { background: var(--ink); }
.step-panel { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step-panel.active { display: block; animation: pop .4s var(--ease); }
html:not(.js) .step-panel { display: block; margin-bottom: 30px; }
html:not(.js) .stepper, html:not(.js) .stepper-head, html:not(.js) .step-actions { display: none; }
.step-title { font: 700 1.45rem/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 18px; padding: 0; }
.step-title:focus { outline: none; }
.step-help { color: var(--muted); font-size: 15px; margin-top: -6px; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 20px; }
.choice-grid.four { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ch-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s; min-height: 56px; }
.ch-box strong { font-size: 16px; }
.ch-box small { font-size: 13px; color: var(--muted); }
.ch-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; font-size: 18px; color: var(--brand-strong); margin-bottom: 6px; }
.choice:hover .ch-box { border-color: var(--ink); }
.choice input:checked + .ch-box { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px rgba(10, 122, 74, .18); }
.choice input:focus-visible + .ch-box { outline: 3px solid var(--brand); outline-offset: 2px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; position: relative; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
textarea.input { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand); cursor: pointer; }
.diag-checks { display: grid; gap: 8px; margin-bottom: 20px; }
.dcheck { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; min-height: 56px; }
.dcheck:hover { border-color: var(--line-strong); }
.dcheck input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; margin: 0; cursor: pointer; }
.dcheck:has(input:checked) { border-color: var(--brand); background: #f3faf6; }
.dc-main { flex: 1; min-width: 0; }
.dc-main strong { display: block; font-size: 15px; }
.dc-main small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.dcheck em { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.dcheck.st-oblig em { background: var(--brand-tint); color: var(--brand-strong); }
.dcheck.st-cond em { background: #fdf3d7; color: #7a4e00; }
.dcheck em.opt { background: var(--soft); color: var(--muted); }
.dcheck.st-help { border-style: dashed; }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.step-actions [data-next] { margin-left: auto; }
.back-link { background: none; border: 0; font: 600 15px var(--body); color: var(--ink-soft); cursor: pointer; padding: 12px 6px; min-height: 44px; }
.back-link:hover { color: var(--ink); text-decoration: underline; }
.step-error, .form-error { display: none; color: var(--danger); font-weight: 600; font-size: 15px; margin: 12px 0 0; }
.step-error.show, .form-error.show { display: block; }
.form-error.show { background: #fbe9e7; border-radius: 12px; padding: 12px 14px; }
.success-message { display: none; gap: 14px; align-items: flex-start; background: var(--brand-tint); color: var(--ink); border-radius: 18px; padding: 20px; margin-top: 10px; }
.success-message svg { font-size: 26px; color: var(--brand-strong); stroke-width: 2.4; flex: none; }
.success-message.show { display: flex; }
.success-message:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-cards { display: grid; gap: 10px; margin-bottom: 18px; }
.contact-card { display: flex; gap: 14px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.contact-card strong { display: block; }
.contact-card span { font-size: 14px; color: var(--muted); }
.ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand-strong); font-size: 20px; flex: none; }
.ac-list { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-lg); display: none; max-height: 300px; overflow: auto; }
.ac-list.open { display: block; }
.ac-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; min-height: 44px; justify-content: center; }
.ac-list li.active, .ac-list li:hover { background: var(--soft); }
.ac-name { font-weight: 600; }
.ac-meta { font-size: 13px; color: var(--muted); }
.ac-empty { color: var(--muted); font-size: 14px; }

/* ---------- Apparition ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print { .site-header, .floating-cta, .cta-band, .site-footer { display: none; } }

/* ---------- Ajustements mobiles ---------- */
.seg-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.seg-row span { padding: 8px 6px; }
@media (max-width: 560px) {
  .seg-row span { font-size: 14px; }
  .w-controls, .w-output { padding: 20px 16px; }
  .w-results li { grid-template-columns: 40px 1fr; padding: 12px; }
  .w-results em { grid-column: 2; justify-self: start; margin-top: 4px; }
  .w-results small { grid-column: 2; }
  .w-ico { grid-row: span 3; }
  .sim-col { grid-template-columns: 1fr auto; align-items: center; }
  .sim-col span { grid-column: 1; }
  .sim-col .cls { grid-column: 2; grid-row: 1 / span 2; width: 56px; height: 46px; font-size: 26px; }
  .sim-col small { grid-column: 1; }
  .hv-card { width: min(270px, 84%); padding: 14px; }
  .notice-inner { padding: 18px; }
}
.article-layout > *, .service-layout > *, .split-2 > *, .faq-wrap > * { min-width: 0; }
@media (max-width: 560px) { .cell-bar { display: none; } .cmp-table th, .cmp-table td { padding: 10px 12px; } }
