/* ==========================================================================
   zzpvangnet.com — dérivé du gabarit comparateurbanque.net
   Direction : ce qu'un vangnet coûte vraiment, rapporté à TON revenu.
   L'audace est dépensée à un seul endroit : la rekenhulp et le panneau de
   résultat qu'elle pilote. Tout le reste reste calme et lisible.
   ========================================================================== */

:root {
  /* Charte orange — l'orange vif (--accent) sert aux surfaces et repères ;
     l'orange foncé (--primary) porte le texte blanc des boutons et les liens
     (contraste AA ≥ 4,5:1 sur blanc et sur --paper). */
  --paper:        #FFF8F2;
  --surface:      #FFFFFF;
  --ink:          #1F1A17;
  --muted:        #6B5E57;
  --line:         #F0DFD3;
  --line-soft:    #F8EDE5;

  --primary:      #C2410C;
  --primary-deep: #9A3412;
  --primary-soft: #FFEDD5;
  --accent:       #F97316;

  --mark:         #FB923C;
  --mark-soft:    #FFF4E8;

  --positive:     #0B7A57;
  --negative:     #B42318;

  --r-panel: 20px;
  --r-box:   14px;
  --r-ctrl:  12px;
  --r-tag:   6px;

  --lift: 0 1px 2px rgba(31,26,23,.05), 0 18px 40px -16px rgba(234,88,12,.35);

  --wrap: 76rem;
  --prose: 64ch;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
h1 { font-size: clamp(1.9rem, 1.35rem + 2.5vw, 3.1rem); max-width: 19ch; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); margin-top: 3rem; }
h3 { font-size: 1.22rem; margin-top: 2rem; letter-spacing: -0.015em; }

p, ul, ol { margin: 0 0 1.15rem; }
.prose { max-width: var(--prose); }
.prose li { margin-bottom: .5rem; }

.lede {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 2rem;
}

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }

:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--r-ctrl) 0; text-decoration: none;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

.disclosure {
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: .855rem;
  line-height: 1.45;
  padding: .6rem 0;
  border-bottom: 0;
}
.disclosure a { color: var(--primary-deep); }

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap {
  display: flex; align-items: center; gap: .8rem 2rem;
  padding-top: .85rem; padding-bottom: .85rem;
}

.wordmark {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.16rem; letter-spacing: -0.04em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark span { color: var(--primary); }

.nav { margin-left: auto; display: flex; gap: .35rem; font-size: .93rem; }
.nav a {
  color: var(--muted); text-decoration: none;
  padding: .42rem .7rem; border-radius: var(--r-ctrl);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--line-soft); }
.nav a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }

.navtoggle { display: none; }

@media (max-width: 54rem) {
  .masthead .wrap { flex-wrap: wrap; }
  .nav {
    display: none; order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: .1rem;
    margin-left: 0; padding-bottom: .6rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .65rem .7rem; width: 100%; }
  .navtoggle {
    display: inline-flex; align-items: center; gap: .45rem; margin-left: auto;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink);
    font: inherit; font-size: .9rem; padding: .45rem .8rem;
    border-radius: var(--r-ctrl); cursor: pointer;
  }
}

.crumbs { font-size: .855rem; color: var(--muted); padding: 1.5rem 0 .3rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #D9C3B4; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- Rekenhulp (remplace le sélecteur d'usage du site FR) ---------- */

.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 1.5rem 1.6rem;
  margin: 0 0 1.1rem;
}
.calc__q {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em;
  margin: 0 0 .2rem;
}
.calc__hint { font-size: .9rem; color: var(--muted); margin: 0 0 1.15rem; }

.calc__grid {
  display: grid; gap: 1rem 1.2rem; margin: 0; padding: 0; border: 0;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field small { font-size: .8rem; color: var(--muted); }
.field input, .field select {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-ctrl); padding: .62rem .8rem;
  transition: border-color .18s var(--ease), background .18s var(--ease);
  font-variant-numeric: tabular-nums;
}
.field input:focus, .field select:focus { border-color: var(--primary); background: var(--surface); outline: none; }
.field input:focus-visible, .field select:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--negative); }

.calc__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  margin-top: 1.05rem; padding-top: 1rem; border-top: 1px solid var(--line-soft);
  font-size: .86rem; color: var(--muted);
}

.result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--lift);
  padding: 1.75rem 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.5rem;
}
.result__tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 500; color: var(--primary-deep);
  background: var(--mark-soft); border: 1px solid #FCD9B8;
  padding: .22rem .6rem; border-radius: var(--r-tag);
  margin-bottom: .7rem;
}
.result__tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mark);
}
.result__name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  margin: 0 0 .45rem;
}
.result__why { color: var(--muted); margin: 0 0 .35rem; max-width: 52ch; font-size: .95rem; }
.result__why:last-child { margin-bottom: 0; }
.result__side { text-align: right; }
.result__price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3.3rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: .95;
  color: var(--ink); display: block; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.result__unit { font-size: .87rem; color: var(--muted); display: block; margin: .35rem 0 1rem; }
.result__empty { display: none; color: var(--muted); margin: 0; }

.result.is-empty { grid-template-columns: 1fr; box-shadow: none; }
.result.is-empty .result__tag,
.result.is-empty .result__name,
.result.is-empty .result__why,
.result.is-empty .result__side { display: none; }
.result.is-empty .result__empty { display: block; }

@media (max-width: 46rem) {
  .result { grid-template-columns: 1fr; padding: 1.4rem; }
  .result__side { text-align: left; }
}

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .96rem; line-height: 1.2;
  padding: .8rem 1.4rem; border: 1px solid var(--primary);
  border-radius: var(--r-ctrl); white-space: nowrap;
  transition: background .18s var(--ease), transform .12s var(--ease);
}
.cta:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: #fff; }
.cta:active { transform: translateY(1px); }
.cta--ghost { background: var(--surface); color: var(--primary); border-color: var(--line); }
.cta--ghost:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-deep); }
.cta--sm { padding: .5rem .95rem; font-size: .88rem; border-radius: 8px; }

.cta[data-aff-missing] {
  background: var(--line-soft); border-color: var(--line);
  color: #A8988E; cursor: not-allowed; pointer-events: none;
}

.tablebox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  overflow: hidden;
  margin: 1.4rem 0 .8rem;
}
.tablescroll { overflow-x: auto; }

table.grid { border-collapse: collapse; width: 100%; min-width: 48rem; font-size: .94rem; }

table.grid caption {
  text-align: left; padding: 1rem 1.15rem; font-size: .875rem; color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}

table.grid thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600; font-size: .84rem; color: var(--muted);
  text-align: left; padding: .78rem 1.15rem; white-space: nowrap;
}

table.grid td, table.grid tbody th {
  padding: .95rem 1.15rem; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
}
table.grid tbody tr:last-child td,
table.grid tbody tr:last-child th { border-bottom: 0; }

table.grid tbody th { font-weight: 600; white-space: nowrap; }
table.grid tbody th .offer { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); }

table.grid tbody tr { transition: background .2s var(--ease); }
table.grid tbody tr:hover { background: #FFFBF7; }

table.grid tbody tr.is-top { background: var(--mark-soft); box-shadow: inset 3px 0 0 var(--mark); }

.kind {
  display: inline-block; font-size: .8rem; font-weight: 500; line-height: 1.3;
  padding: .18rem .55rem; border-radius: var(--r-tag);
  background: var(--primary-soft); color: var(--primary-deep); white-space: nowrap;
}
.kind--alt { background: #F3EFEC; color: #57483F; }

.price { font-weight: 600; }
.price--free { color: var(--positive); }

.tablefoot {
  font-size: .85rem; color: var(--muted); max-width: 68ch; margin: 0 0 2.5rem;
}
.tablefoot strong { color: var(--ink); font-weight: 600; }

@media (max-width: 54rem) {
  .tablescroll { overflow-x: visible; }
  table.grid { min-width: 0; display: block; }
  table.grid caption { display: block; }
  table.grid thead { display: none; }
  table.grid tbody, table.grid tr { display: block; }
  table.grid tr { border-bottom: 1px solid var(--line); padding: .3rem 0 .8rem; }
  table.grid tbody tr:last-child { border-bottom: 0; }
  table.grid tbody th { border: 0; padding: .9rem 1.1rem .3rem; font-size: 1.05rem; white-space: normal; }
  table.grid td {
    display: flex; justify-content: space-between; gap: 1.5rem;
    border: 0; padding: .32rem 1.1rem; font-size: .92rem; text-align: right;
  }
  table.grid td::before {
    content: attr(data-label);
    color: var(--muted); font-size: .88rem; flex: none; text-align: left;
  }
  table.grid td:last-child { padding-top: .8rem; }
  table.grid td:last-child::before { display: none; }
  table.grid td:last-child .cta { width: 100%; }
}

.fiche {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1rem;
}
.fiche__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: .1rem; }
.fiche__head h3 { margin: 0; font-size: 1.28rem; }
.fiche__head .kind { margin-left: auto; }
.fiche__for { color: var(--muted); font-size: .95rem; margin: .4rem 0 1.1rem; }

.points { list-style: none; padding: 0; margin: 0 0 1.3rem; max-width: 60ch; }
.points li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 3px; background: var(--positive);
}
.points li.minus::before { background: var(--negative); }

.faq { max-width: var(--prose); }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-box); margin-bottom: .6rem;
  transition: border-color .18s var(--ease);
}
.faq details[open] { border-color: #F5C7A4; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.3rem;
  font-weight: 600; display: flex; gap: 1.2rem; align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg) translate(-2px,-2px);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.faq details > div { padding: 0 1.3rem 1.15rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

.section { padding: 1.6rem 0; }

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-tag);
  padding: 1.15rem 1.35rem;
  margin: 1.6rem 0;
  max-width: 68ch;
  font-size: .97rem;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

.sources { font-size: .88rem; color: var(--muted); max-width: var(--prose); }
.sources ul { padding-left: 1.1rem; }

.byline {
  display: flex; flex-wrap: wrap; gap: .4rem 1.2rem;
  font-size: .875rem; color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.1rem; margin-top: 2.5rem;
}

.paths { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .6rem; }
@media (min-width: 46rem) { .paths { grid-template-columns: 1fr 1fr; } }
.paths a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
  padding: 1.05rem 1.25rem; text-decoration: none; color: var(--ink); font-weight: 600;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.paths a:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-deep); }
.paths span { font-weight: 400; color: var(--muted); font-size: .89rem; text-align: right; }

.foot {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 4rem; padding: 2.8rem 0 3.2rem;
  font-size: .92rem; color: var(--muted);
}
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 2rem; }
.foot h2 {
  font-family: "Instrument Sans", sans-serif;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  margin: 0 0 .7rem; letter-spacing: 0;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .42rem; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--primary); text-decoration: underline; }
.foot__legal {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft);
  max-width: 80ch; font-size: .85rem; line-height: 1.6;
}

.admin { max-width: 58rem; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }
.admin table {
  width: 100%; border-collapse: collapse; margin-bottom: 2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
  overflow: hidden;
}
.admin th, .admin td { padding: .7rem .9rem; border-bottom: 1px solid var(--line-soft); text-align: left; }
.admin tbody tr:last-child th, .admin tbody tr:last-child td { border-bottom: 0; }
.admin thead th {
  background: var(--paper); font-size: .84rem; color: var(--muted); font-weight: 600;
}
.admin input[type="url"] {
  width: 100%; padding: .55rem .75rem; font: inherit; font-size: .92rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.admin input[type="url"]:focus { border-color: var(--primary); background: var(--surface); outline: none; }
.admin input[type="url"]:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 1px; }
.admin .bank { font-weight: 600; white-space: nowrap; }
.admin .tag { display: block; font-weight: 400; font-size: .79rem; color: var(--muted); }
.admin textarea {
  width: 100%; min-height: 17rem; padding: 1rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .82rem; line-height: 1.6; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
}
.admin__bar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: 1.6rem; }
.admin__status { font-size: .9rem; color: var(--primary); font-weight: 500; }
@media (max-width: 40rem) {
  .admin table { table-layout: fixed; }
  .admin thead th:first-child { width: 40%; }
  .admin .bank { white-space: normal; }
}

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Filtre du tableau + keuzehulp ---------- */

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .52rem 1rem .52rem .85rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font-size: .93rem; color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.chip span::before {
  content: ""; width: 15px; height: 15px; flex: none;
  border: 1.5px solid #D9C3B4; border-radius: 5px; background: var(--surface);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.chip--radio span::before { border-radius: 50%; }
.chip:hover span { border-color: #D9C3B4; background: var(--surface); }
.chip input:checked + span {
  background: var(--primary-soft); border-color: var(--primary);
  color: var(--primary-deep); font-weight: 500;
}
.chip input:checked + span::before {
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.6l3.2 3.2L13 5'/%3E%3C/svg%3E") center/11px no-repeat;
  border-color: var(--primary);
}
.chip--radio input:checked + span::before { background: var(--surface); box-shadow: inset 0 0 0 4px var(--primary); }
.chip input:focus-visible + span { outline: 2.5px solid var(--primary); outline-offset: 2px; }

.q { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.q__label { font-weight: 600; font-size: .97rem; padding: 0; margin-bottom: .7rem; float: left; width: 100%; }
.q__label + .chip { clear: left; }

.linkbtn {
  background: none; border: 0; color: var(--primary); font: inherit; font-size: .86rem;
  padding: .2rem .1rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

.route { transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.route__match { display: none; }
.route.is-match { border-color: var(--primary); box-shadow: var(--lift); }
.route.is-match .route__match { display: inline-block; }
.route__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }

/* ---------- Maillage, glossaire, hubs ---------- */
.related {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
  padding: 1.3rem 1.5rem; margin: 2.5rem 0 0; max-width: 68ch;
}
.related h2 { font-size: 1.15rem; margin: 0 0 .7rem; }
.related ul { margin: 0 0 .8rem; padding-left: 1.1rem; columns: 2 16rem; column-gap: 2rem; }
.related li { margin-bottom: .35rem; break-inside: avoid; }
.related p { margin: 0; font-size: .92rem; }

.paths--plain a { font-weight: 500; }

table.grid.grid--narrow { min-width: 32rem; }

.glossary { max-width: 72ch; margin: 0; }
.term { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); padding: 1rem 1.25rem; margin-bottom: .6rem; scroll-margin-top: 6rem; }
.term:target { border-color: var(--primary); box-shadow: var(--lift); }
.term dt { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.08rem; margin-bottom: .2rem; }
.term dd { margin: 0; color: var(--muted); }

input[type="range"] { accent-color: var(--primary); padding: .62rem 0; background: none; border: 0; }


/* ---------- Couche « plus voyante » (UX) ---------- */
/* Bandeau de transparence sombre : contraste fort, l'orange ressort en dessous */
.disclosure { background: var(--ink); color: #F3E9E2; }
.disclosure a { color: #FDBA74; }
/* Barre orange sous l'en-tête : signature de marque visible sur toutes les pages */
.masthead { border-bottom: 3px solid var(--accent); }
.wordmark { font-size: 1.28rem; }
.wordmark span { color: var(--accent); }
.nav a[aria-current="page"] { color: #fff; background: var(--primary); }
/* Titre : soulignement orange épais, repère visuel immédiat */
h1::after {
  content: ""; display: block; width: 4.5rem; height: 6px; margin-top: .9rem;
  background: var(--accent); border-radius: 3px;
}
/* Boutons : plus grands (cible ≥ 44px), ombre chaude, flèche d'action */
.cta { min-height: 46px; box-shadow: 0 6px 16px -8px rgba(194,65,12,.6); font-weight: 700; }
.cta:not(.cta--ghost):not(.cta--sm)::after { content: "→"; margin-left: .55rem; transition: transform .18s var(--ease); }
.cta:not(.cta--ghost):not(.cta--sm):hover::after { transform: translateX(3px); }
.cta--sm { min-height: 38px; box-shadow: none; }
.cta--ghost { box-shadow: none; border-color: var(--primary); }
.cta[data-aff-missing] { box-shadow: none; }
/* Panneaux outils : bord supérieur orange = « zone interactive » */
.calc { border-top: 5px solid var(--accent); }
.result { border: 2px solid var(--accent); }
.result.is-empty { border-color: var(--line); }
.result__price { color: var(--primary-deep); }
/* Tableaux : en-tête teinté, ligne survolée chaude */
table.grid thead th { background: var(--mark-soft); color: var(--ink); }
table.grid tbody tr.is-top { background: #FFF1E3; box-shadow: inset 4px 0 0 var(--accent); }
/* Puces et badges */
.points li::before { background: var(--accent); }
.points li.minus::before { background: #A8988E; }
.kind { background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; }
.note { border-left: 5px solid var(--accent); background: #FFFDFB; }
.paths a:hover, .route.is-match { border-color: var(--accent); }
.faq summary::after { border-color: var(--accent); }
.faq details[open] { box-shadow: var(--lift); }
.related { border-top: 4px solid var(--accent); }
/* Focus clavier très visible */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* Pied de page sombre pour fermer la page proprement */
.foot { background: var(--ink); color: #CBBDB4; border-top: 0; }
.foot h2 { color: #fff; }
.foot a { color: #E8DCD4; }
.foot a:hover { color: #FDBA74; }
.foot__legal { border-top-color: rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce) { .cta::after { transition: none; } }

/* Écran de connexion admin */
.gate { max-width: 28rem; padding-top: 4rem; }
.gate .field input { background: var(--surface); }
