/* Bet Abroad : design system "échelle d'exchange".
   Idée : chaque affirmation se place du côté BACK (bleu, pour) ou LAY (rose, contre), sur une grille de filets fins.
   Forces et faiblesses sont toujours côte à côte. Un seul accent ambre, réservé à l'action principale.
   Classes en BEM léger : bloc, bloc__element, bloc--variante. Un seul fichier, aucune ressource tierce. */

/* ------------------------------------------------------------------ polices */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
/* Repli à métriques proches (limite le décalage de mise en page au chargement de la police) */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 101%;
  ascent-override: 88%;
  descent-override: 21%;
  line-gap-override: 0%;
}

/* ------------------------------------------------------------------ jetons */
:root {
  --night-950: #071326;
  --night-900: #0a1b33;
  --night-800: #10294a;
  --night-700: #183a66;

  --ink: #0a1b33;
  --ink-2: #34435c;
  --ink-3: #4d5d76;

  --paper: #ffffff;
  --paper-2: #f3f7fc;
  --paper-3: #e6eef8;
  --line: #d3deec;
  --line-2: #a9bbd2;

  /* Famille BACK (bleu) : pour, forces, voie à suivre */
  --back-50: #eef5fe;
  --back-100: #dcebfc;
  --back-200: #c2dcf9;
  --back-300: #98c5f4;
  --back-500: #2f80e1;
  --back-600: #1463cf;
  --back-700: #0d4ba6;
  --back-800: #0a3980;

  /* Famille LAY (rose) : contre, risques, points faibles, peurs */
  --lay-50: #fff2f5;
  --lay-100: #fddfe6;
  --lay-200: #fbc7d3;
  --lay-300: #f7a0b5;
  --lay-600: #c22a52;
  --lay-700: #9d1a3f;
  --lay-800: #7a1230;

  /* UN seul accent, réservé à l'action principale : un bouton ambre par ligne d'action (dans l'aside CTA, un par partenaire, tous de même poids) ; jamais dans la sélection, le lien d'évitement ni les animations */
  --amber: #ffb400;
  --amber-hover: #ffc736;
  --amber-press: #f0a000;

  /* Teintes de silo : pastille de 10 px dans le titre des cartes de hub, rien d'autre */
  --silo-1: #2f80e1; --silo-2: #5b6fe0; --silo-3: #0fa3a3; --silo-4: #2a9d7c;
  --silo-5: #1e9bd8; --silo-6: #7a63d0; --silo-7: #5a7a99; --silo-8: #0b7d95;
  --silo: var(--back-500);

  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 6px;
  --radius-sm: 4px;
  --gutter: 1rem;
  --measure: 68ch;
  --shadow-1: 0 1px 2px rgba(10, 27, 51, .10), 0 4px 12px -4px rgba(10, 27, 51, .18);
  --shadow-2: 0 2px 4px rgba(10, 27, 51, .12), 0 14px 28px -12px rgba(10, 27, 51, .35);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--back-500) var(--paper-2); scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--back-600);
  accent-color: var(--back-600);
}
@media (min-width: 48rem) { body { font-size: 1.125rem; } }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 780; line-height: 1.08; color: var(--ink); text-wrap: balance; letter-spacing: -.005em; word-spacing: .08em; font-stretch: 78%; }
h1 { font-size: clamp(2.35rem, 1.3rem + 5.2vw, 4.25rem); line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.65rem); font-weight: 720; font-stretch: 84%; }
h4 { font-size: 1.1rem; font-weight: 700; font-stretch: 90%; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--back-700); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--back-800); text-decoration-thickness: 2px; }
strong { font-weight: 700; }
::selection { background: var(--back-200); color: var(--ink); }
:focus-visible { outline: 3px solid var(--back-600); outline-offset: 2px; border-radius: 2px; }
.on-dark :focus-visible, .band--night :focus-visible, .hero :focus-visible, .site-nav :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--night-900); color: #fff; padding: .75rem 1rem; font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: .5rem; }
.num, .ladder td.num, .readout__value { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
[id] { scroll-margin-top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }
@media (min-width: 48rem) { :root { --gutter: 1.5rem; } }

/* ------------------------------------------------------------------ bandes de fond alternées */
.band { padding-block: clamp(2.25rem, 5vw, 4rem); }
.band--tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.band--back { background: var(--back-100); }
.band--lay { background: var(--lay-50); }
.band--night { background: var(--night-900); color: #e3ecf8; }
.band--night h2, .band--night h3 { color: #fff; }
.band--night a:not(.btn) { color: #cfe3fb; }
.band--tight { padding-block: clamp(1.25rem, 3vw, 2rem); }
.pull-up { position: relative; z-index: 2; margin-top: -2rem; }

/* ------------------------------------------------------------------ en-tête */
.site-header { background: var(--paper); position: relative; z-index: 20; }
.site-header__bar { display: flex; align-items: center; gap: .75rem; min-height: 3.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__name { font-size: 1.5rem; font-weight: 800; font-stretch: 78%; letter-spacing: -.005em; line-height: 1; }
.site-header__tag { display: none; margin: 0 auto 0 1rem; color: var(--ink-3); font-size: .95rem; }
.age-tag { margin-left: auto; padding: .15rem .45rem; border: 1.5px solid var(--lay-700); color: var(--lay-700); border-radius: var(--radius-sm); font-weight: 800; font-size: .8rem; line-height: 1.2; }
.menu-toggle { display: none; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; background: var(--back-700); color: #fff; border: 0; border-radius: var(--radius-sm); font: inherit; font-weight: 700; cursor: pointer; }
.menu-toggle:hover { background: var(--back-800); }
.menu-toggle .icon { width: 20px; height: 20px; }
.site-nav { background: var(--back-700); }
.site-nav__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav__link { display: flex; align-items: center; min-height: 44px; padding: .5rem .9rem; color: #fff; text-decoration: none; font-weight: 650; font-stretch: 88%; font-size: 1rem; line-height: 1.2; }
a.site-nav__link:hover { background: var(--back-800); color: #fff; }
.site-nav__link.is-current { background: var(--back-800); box-shadow: inset 0 -3px 0 #fff; }
span.site-nav__link { color: #cfe0f7; }
.js .menu-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
@media (max-width: 63.99rem) {
  .site-nav__list { flex-direction: column; padding-block: .5rem; }
  .site-nav__link { border-bottom: 1px solid rgba(255, 255, 255, .14); }
}
@media (min-width: 64rem) {
  .site-header__tag { display: block; }
  .site-header__bar { min-height: 4rem; }
  .js .menu-toggle { display: none; }
  .js .site-nav, .js .site-nav.is-open { display: block; }
  .age-tag { margin-left: 0; }
  .site-nav__link { padding-inline: 1rem; }
}

/* ------------------------------------------------------------------ fil d'Ariane */
.crumbs { margin-bottom: 1rem; font-size: .9rem; }
.crumbs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .5rem; }
.crumbs__item { display: inline-flex; align-items: center; gap: .5rem; color: #d6e4f7; }
.crumbs__item:not(:last-child)::after { content: "/"; opacity: .6; }
.crumbs__item a { color: #fff; }
.crumbs--light .crumbs__item { color: var(--ink-3); }
.crumbs--light .crumbs__item a { color: var(--back-700); }

/* ------------------------------------------------------------------ hero (image de fond en <picture>, texte HTML) */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night-900); color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; display: block; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 19, 38, .62) 0%, rgba(7, 19, 38, .86) 100%); }
.hero__inner { padding-block: 1.75rem 3.75rem; }
.hero__title { color: #fff; max-width: 18ch; margin-bottom: 1rem; text-shadow: 0 1px 2px rgba(7, 19, 38, .5); }
.hero__lede { max-width: 46ch; margin: 0 0 1.5rem; font-size: 1.15rem; line-height: 1.5; color: #e6eefb; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 1.75rem; }
.hero__note { margin: 0; font-size: .9rem; color: #cbd9ee; }
.hero--compact .hero__inner { padding-block: 1.5rem 3.5rem; }
.hero--compact .hero__title { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.25rem); }
@media (min-width: 48rem) {
  .hero::before { background: linear-gradient(90deg, rgba(7, 19, 38, .9) 0%, rgba(7, 19, 38, .66) 52%, rgba(7, 19, 38, .28) 100%); }
  .hero__inner { padding-block: 3rem 3.75rem; }
}

/* ------------------------------------------------------------------ tuiles de peur : cellule rose (la peur) au-dessus, cellule bleue (la voie) en dessous */
.fear-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.fear-tile__link { display: grid; grid-template-rows: 1fr auto; height: 100%; text-decoration: none; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); color: var(--ink); }
.fear-tile__fear { display: block; padding: .7rem .75rem; background: var(--lay-200); color: var(--lay-800); font-weight: 700; font-stretch: 88%; font-size: 1rem; line-height: 1.2; }
.fear-tile__route { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .75rem; min-height: 44px; background: var(--back-200); color: var(--back-800); font-weight: 650; font-size: .875rem; line-height: 1.25; animation: price-flash 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
.fear-tile:nth-child(1) { --i: 0; } .fear-tile:nth-child(2) { --i: 1; } .fear-tile:nth-child(3) { --i: 2; } .fear-tile:nth-child(4) { --i: 3; }
.fear-tile__route .icon { flex: none; width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
span.fear-tile__link .fear-tile__route { background: var(--back-100); animation: none; }
span.fear-tile__link .icon { display: none; }
a.fear-tile__link:hover .fear-tile__route, a.fear-tile__link:focus-visible .fear-tile__route { background: var(--back-700); color: #fff; }
a.fear-tile__link:hover .icon, a.fear-tile__link:focus-visible .icon { transform: translateX(4px); }
@keyframes price-flash { 0% { background-color: var(--back-300); } 100% { background-color: var(--back-200); } }
@media (min-width: 48rem) {
  .fear-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
  .fear-tile__fear { font-size: 1.15rem; padding: .9rem 1rem; }
  .fear-tile__route { font-size: .95rem; padding: .75rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fear-tile__route { animation: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ------------------------------------------------------------------ boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem 1.25rem; border: 2px solid transparent; border-radius: var(--radius-sm); font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, color .15s, transform .15s var(--ease-out), box-shadow .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 1px 0 rgba(10, 27, 51, .3), 0 8px 16px -8px rgba(10, 27, 51, .55); }
.btn--primary:hover { background: var(--amber-hover); color: var(--ink); text-decoration: none; }
.btn--primary:active { background: var(--amber-press); transform: translateY(1px); box-shadow: none; }
.btn--ghost { background: #fff; color: var(--back-700); border-color: var(--back-700); }
.btn--ghost:hover { background: var(--back-700); color: #fff; text-decoration: none; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { background: #fff; color: var(--back-800); text-decoration: none; }
.btn--small { min-height: 44px; padding: .5rem .9rem; font-size: .95rem; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--paper-3); color: var(--ink-3); box-shadow: none; cursor: not-allowed; }

/* ------------------------------------------------------------------ titre de section entre deux filets */
.rule-title { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; }
.rule-title::before, .rule-title::after { content: ""; flex: 1 1 1.5rem; height: 6px; border-block: 1px solid var(--back-700); }
.rule-title__text { flex: 0 1 auto; text-align: center; }
.band--night .rule-title::before, .band--night .rule-title::after { border-color: var(--back-300); }
.rule-sub { margin: -.75rem auto 1.5rem; max-width: 52ch; text-align: center; color: var(--ink-3); }
.band--night .rule-sub { color: #bfd0e8; }

.answer__title, .market__title, .ladder caption, .tool__head, .chart__title, .steps__title, .glossary__term, .faq__question, .readout__value,
.aside-cta__title, .aside-partners__title, .aside-access__title, .aside-related__title, .site-footer__title, .rule-title__text, .popular__label, .brand__name, .site-nav__link { word-spacing: .08em; }

/* ------------------------------------------------------------------ texte courant */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose p, .prose ul, .prose ol { margin-block: 0 1em; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; padding-top: .75rem; border-top: 4px double var(--back-700); }
.prose h3 { margin-top: 2rem; margin-bottom: .6rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35em; padding-left: .2rem; }
.prose li::marker { color: var(--back-600); font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font-size: .92em; background: var(--paper-3); padding: .1em .35em; border-radius: 3px; }
.prose figure { margin: 1.75rem 0; }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); }
.small { font-size: .9rem; color: var(--ink-3); }
.split { display: grid; gap: 1.5rem 3rem; align-items: start; }
@media (min-width: 64rem) { .split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ réponse rapide : rangée d'échelle (cellule icône | cellule texte) */
.answer { display: grid; grid-template-columns: 3rem minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); background: #fff; }
.answer__icon { display: flex; align-items: flex-start; justify-content: center; padding-top: 1.05rem; background: var(--back-700); color: #fff; }
.answer__icon .icon { width: 24px; height: 24px; }
.answer__body { padding: 1rem 1.15rem 1.1rem; background: var(--back-50); border: 1px solid var(--back-200); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.answer__title { margin: 0 0 .35rem; font-size: 1.35rem; font-weight: 780; font-stretch: 78%; line-height: 1.1; }
.answer__body p:last-child { margin-bottom: 0; }
@media (min-width: 48rem) { .answer { grid-template-columns: 4rem minmax(0, 1fr); } .answer__body { padding: 1.35rem 1.75rem 1.5rem; font-size: 1.1rem; } .answer__icon { padding-top: 1.4rem; } }

/* ------------------------------------------------------------------ encadrés : barre d'en-tête de marché + corps teinté */
.callout { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--back-300); background: var(--back-50); margin-block: 1.5rem; }
.callout__head { display: flex; align-items: center; gap: .5rem; padding: .45rem 1rem; background: var(--back-200); color: var(--back-800); font-weight: 750; font-stretch: 85%; font-size: 1.05rem; word-spacing: .08em; }
.callout__head .icon { width: 20px; height: 20px; flex: none; }
.callout__body { padding: .9rem 1rem 1rem; }
.callout__body > :last-child { margin-bottom: 0; }
.callout--lay { border-color: var(--lay-300); background: var(--lay-50); }
.callout--lay .callout__head { background: var(--lay-200); color: var(--lay-800); }
.callout--night { border-color: var(--night-700); background: var(--night-800); color: #e3ecf8; }
.callout--night .callout__head { background: var(--night-900); color: #fff; }

/* ------------------------------------------------------------------ pastilles "best for" / "not ideal for" */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: 3px; font-size: .82rem; font-weight: 750; line-height: 1.25; }
.badge--best { background: var(--back-100); color: var(--back-800); border: 1px solid var(--back-300); }
.badge--not { background: var(--lay-100); color: var(--lay-800); border: 1px solid var(--lay-300); }
.badge .icon { width: 14px; height: 14px; }
.chip { display: inline-flex; align-items: center; padding: .15rem .5rem; border-radius: 3px; font-size: .8rem; font-weight: 700; line-height: 1.3; }
.chip--real { background: var(--back-100); color: var(--back-800); border: 1px solid var(--back-300); }
.chip--illustrative { background: #fff; color: var(--ink-2); border: 1px dashed var(--ink-3); }

/* ------------------------------------------------------------------ verdict : colonne BACK (forces) | colonne LAY (points faibles) */
.verdict { display: grid; gap: .5rem; margin-block: 1.25rem; }
.verdict__side { border-radius: var(--radius); overflow: hidden; }
.verdict__title { margin: 0; padding: .45rem 1rem; font-weight: 780; font-stretch: 85%; font-size: 1.05rem; word-spacing: .08em; display: flex; align-items: center; gap: .5rem; }
.verdict__title .icon { width: 18px; height: 18px; }
.verdict__side--back { background: var(--back-100); border: 1px solid var(--back-300); }
.verdict__side--back .verdict__title { background: var(--back-200); color: var(--back-800); }
.verdict__side--lay { background: var(--lay-100); border: 1px solid var(--lay-300); }
.verdict__side--lay .verdict__title { background: var(--lay-200); color: var(--lay-800); }
.verdict__list { list-style: none; margin: 0; padding: .8rem 1rem .9rem; font-size: 1rem; }
.verdict__list li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; line-height: 1.45; }
.verdict__list li:last-child { margin-bottom: 0; }
.verdict__list li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.05rem; height: 1.05rem; background: var(--back-700); -webkit-mask: url("/assets/img/icons/tick.svg") center / contain no-repeat; mask: url("/assets/img/icons/tick.svg") center / contain no-repeat; }
.verdict__side--lay .verdict__list li::before { background: var(--lay-700); -webkit-mask-image: url("/assets/img/icons/dash.svg"); mask-image: url("/assets/img/icons/dash.svg"); }
@media (min-width: 40rem) { .verdict { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; } .verdict__side--back { border-radius: var(--radius) 0 0 var(--radius); } .verdict__side--lay { border-radius: 0 var(--radius) var(--radius) 0; border-left: 0; } }

/* ------------------------------------------------------------------ cartes de marché (comparatif, hubs) */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.card-grid + p, .card-grid + .prose { margin-top: 1.5rem; }
@media (min-width: 40rem) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.market { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.market__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem 1rem; background: var(--night-800); color: #fff; }
.market__title { margin: 0; color: #fff; font-size: 1.2rem; font-weight: 750; font-stretch: 82%; line-height: 1.15; }
.market__meta { font-size: .82rem; color: #bcd0ea; white-space: nowrap; }
.market__body { padding: 1rem; flex: 1; }
.market__body > :last-child { margin-bottom: 0; }
.market__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .75rem 1rem; background: var(--paper-2); border-top: 1px solid var(--line); }

/* fiche d'opérateur dans un classement (ordre fixe, jamais de rang) */
.operator .market__head { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.operator .market__title { color: var(--ink); }
.operator .market__meta { color: var(--ink-3); font-weight: 650; }
.operator .partner-logo { height: 30px; width: auto; }
.operator__badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.operator .verdict { margin: 0; grid-template-columns: minmax(0, 1fr); }
.operator .verdict__side { border-radius: 0; border-inline: 0; }
.operator .verdict__side--lay { border-left: 0; }

/* cartes de silo (grille de pages filles d'un hub) */
.silo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.silo-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .2s var(--ease-out), box-shadow .2s; }
.silo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.silo-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.silo-card__title { padding: 1rem 1rem .4rem; font-size: 1.3rem; font-weight: 750; font-stretch: 82%; line-height: 1.15; word-spacing: .08em; }
.silo-card__text { padding: 0 1rem 1rem; font-size: .98rem; color: var(--ink-2); line-height: 1.45; }
.silo-card__go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .35rem; min-height: 44px; padding: .6rem 1rem; background: var(--back-100); font-weight: 700; color: var(--back-800); }
.silo-card__go .icon { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.silo-card:hover .silo-card__go .icon { transform: translateX(4px); }
.silo-card__dot { display: inline-block; width: .65rem; height: .65rem; border-radius: 2px; background: var(--silo); margin-right: .5rem; vertical-align: .05em; }
.silo-card:hover .silo-card__go { background: var(--back-700); color: #fff; }
/* Plan du site : un groupe par silo, hairlines, cibles de 44 px, aucune ombre (page utilitaire) */
.sitemap { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.sitemap__group { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1rem 1rem .5rem; }
.sitemap__title { margin: 0 0 .25rem; font-size: 1.3rem; font-weight: 750; font-stretch: 82%; line-height: 1.15; word-spacing: .08em; }
.sitemap__need { margin: 0 0 .5rem; font-size: .95rem; color: var(--ink-3); }
.sitemap__list { list-style: none; margin: 0; padding: 0; }
.sitemap__item { border-top: 1px solid var(--line); }
.sitemap__item a { display: block; min-height: 44px; padding: .65rem 0; line-height: 1.3; }
.sitemap__item--hub a { font-weight: 700; }
@media (min-width: 48rem) { .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ tableau : échelle */
.table-scroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); margin-block: 1.5rem; background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left / 2rem 100% no-repeat local, linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right / 2rem 100% no-repeat local, linear-gradient(to right, rgba(10, 27, 51, .18), rgba(10, 27, 51, 0)) left / .8rem 100% no-repeat scroll, linear-gradient(to left, rgba(10, 27, 51, .18), rgba(10, 27, 51, 0)) right / .8rem 100% no-repeat scroll, #fff; }
.ladder { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.4; }
.ladder--wide { min-width: 34rem; }
.ladder--text { min-width: 56rem; }
.ladder caption { text-align: left; padding: .65rem 1rem; background: var(--night-800); color: #fff; font-weight: 750; font-stretch: 85%; font-size: 1.1rem; }
.ladder th, .ladder td { padding: .65rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ladder thead th { background: var(--paper-2); border-bottom: 2px solid var(--line-2); font-weight: 750; font-size: .92rem; white-space: nowrap; }
.ladder tbody tr:last-child > * { border-bottom: 0; }
.ladder tbody th { font-weight: 700; background: #fff; position: sticky; left: 0; }
.ladder th.back, .ladder td.back { background: var(--back-100); }
.ladder th.lay, .ladder td.lay { background: var(--lay-100); }
.ladder thead th.back { background: var(--back-200); }
.ladder thead th.lay { background: var(--lay-200); }
.ladder td.num, .ladder th.num { text-align: right; }
.ladder .is-best { box-shadow: inset 0 0 0 2px var(--ink); font-weight: 750; }
.ladder tbody tr:hover > td:not(.back):not(.lay) { background: var(--paper-2); }
.ladder-note { margin-top: -.75rem; font-size: .9rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ FAQ en <details> */
.faq { border-top: 1px solid var(--line-2); margin-block: 1rem; max-width: 52rem; }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .75rem .25rem; font-weight: 700; font-stretch: 92%; font-size: 1.1rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: ""; flex: none; width: 2rem; height: 2rem; border-radius: var(--radius-sm); background: var(--back-100) url("/assets/img/icons/plus.svg") center / 1.1rem no-repeat; transition: background-color .15s; }
.faq__item[open] .faq__question::after { background-color: var(--back-200); background-image: url("/assets/img/icons/minus.svg"); }
.faq__question:hover::after { background-color: var(--back-200); }
.faq__answer { padding: 0 .25rem 1rem; max-width: var(--measure); }
.faq__answer > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ étapes (la séquence porte l'information) */
.steps { list-style: none; margin: 1.5rem 0; padding: 0; counter-reset: step; display: grid; gap: .75rem; }
.steps__item { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; }
.steps__item::before { content: counter(step); display: flex; align-items: flex-start; justify-content: center; padding-top: .8rem; background: var(--night-800); color: #fff; font-weight: 800; font-stretch: 78%; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.steps__body { padding: .8rem 1rem; }
.steps__title { margin: 0 0 .2rem; font-size: 1.15rem; font-weight: 750; font-stretch: 85%; }
.steps__body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ graphique */
.chart { margin: 1.75rem 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; }
.chart__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .6rem 1rem; background: var(--night-800); color: #fff; }
.chart__title { margin: 0; color: #fff; font-size: 1.1rem; font-weight: 750; font-stretch: 85%; }
.chart__canvas { position: relative; height: 18rem; padding: 1rem; }
.chart__canvas canvas { width: 100% !important; height: 100% !important; }
.chart__table { border-top: 1px solid var(--line); }
.chart__table > summary { display: flex; align-items: center; min-height: 44px; padding: .5rem 1rem; cursor: pointer; font-weight: 650; font-size: .95rem; color: var(--back-700); }
.chart__table .table-scroll { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.chart__table .ladder { min-width: 0; }
.chart__caption { margin: 0; padding: .7rem 1rem; border-top: 1px solid var(--line); background: var(--paper-2); font-size: .9rem; color: var(--ink-2); }

/* ------------------------------------------------------------------ outil (calculateur) */
.tool { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); margin-block: 1.75rem; }
.tool__head { padding: .65rem 1rem; background: var(--night-800); color: #fff; font-weight: 750; font-stretch: 85%; font-size: 1.15rem; }
.tool__form { display: grid; gap: 1rem; padding: 1rem; }
@media (min-width: 40rem) { .tool__form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.25rem; } }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field__label { font-weight: 700; font-size: .95rem; }
.field__hint { font-size: .85rem; color: var(--ink-3); }
.field input, .field select { min-height: 44px; padding: .5rem .7rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; font-variant-numeric: tabular-nums; }
.field input:hover, .field select:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--back-600); outline-offset: 1px; border-color: var(--back-600); }
.field input[aria-invalid="true"] { border-color: var(--lay-700); background: var(--lay-50); }
.field__error { color: var(--lay-700); font-size: .88rem; font-weight: 600; }
.readouts { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-2); }
@media (min-width: 40rem) { .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .readouts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.readout { padding: .8rem 1rem; background: var(--back-100); border-right: 1px solid #fff; }
.readout--lay { background: var(--lay-100); }
.readout__label { display: block; font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.readout__value { display: block; font-size: 1.9rem; font-weight: 780; font-stretch: 80%; line-height: 1.15; color: var(--ink); }
.readout.is-flash { animation: price-flash-cell .9s var(--ease-out); }
@keyframes price-flash-cell { 0% { box-shadow: inset 0 0 0 100vmax var(--back-300); } 100% { box-shadow: inset 0 0 0 100vmax transparent; } }

/* ------------------------------------------------------------------ glossaire, figures, bande de liens */
.glossary { display: grid; gap: 0; margin: 1.25rem 0; border-top: 1px solid var(--line-2); }
.glossary__term { padding: .8rem 0 .1rem; font-weight: 780; font-stretch: 85%; font-size: 1.15rem; }
.glossary__def { margin: 0; padding-bottom: .8rem; border-bottom: 1px solid var(--line); max-width: var(--measure); }
@media (min-width: 48rem) { .glossary { grid-template-columns: 14rem minmax(0, 1fr); } .glossary__term, .glossary__def { padding-block: .9rem; border-bottom: 1px solid var(--line); } }
.figure { margin: 1.75rem 0; }
.figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-2); }
.figure figcaption { margin-top: .5rem; font-size: .9rem; color: var(--ink-3); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding: .9rem 0; list-style: none; border-block: 1px solid var(--line-2); }
.popular__label { margin-right: .5rem; font-weight: 750; font-stretch: 85%; }
.popular a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 650; text-decoration: none; }
.popular a:hover { background: var(--back-700); border-color: var(--back-700); color: #fff; }
.checks { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .5rem; }
.checks__item { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .5rem; align-items: start; }
.checks__item .icon { width: 22px; height: 22px; padding: 3px; border-radius: 3px; background: var(--back-700); color: #fff; margin-top: .15em; }
.checks__item--lay .icon { background: var(--lay-700); }
.partner-logo { height: 26px; width: auto; max-width: 100%; object-fit: contain; }
.aside-partners__logo .partner-logo, .aside-cta__brand .partner-logo { max-width: 8.5rem; max-height: 26px; }

/* ------------------------------------------------------------------ asides communs (includes) */
.aside-cta, .aside-partners, .aside-access, .aside-related { margin-block: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-1); }
.aside-cta__title, .aside-partners__title, .aside-access__title, .aside-related__title { margin: 0; padding: .65rem 1rem; background: var(--night-800); color: #fff; font-weight: 750; font-stretch: 85%; font-size: 1.15rem; line-height: 1.25; }
.aside-cta__note { margin: 0; padding: .75rem 1rem 0; color: var(--ink-2); font-size: .98rem; }
.aside-cta__list, .aside-partners__list, .aside-access__list, .aside-related__list { list-style: none; margin: 0; padding: 0; }
.aside-cta__item { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.aside-access__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.aside-cta__item:last-child, .aside-access__item:last-child { border-bottom: 0; }
.aside-cta__brand { display: flex; align-items: center; min-height: 32px; flex: 1 1 100%; }
.aside-cta__item .btn { flex: 1 1 100%; }
@media (min-width: 40rem) {
  .aside-cta__brand { flex: 0 0 11rem; }
  .aside-cta__item .btn { flex: 0 0 auto; margin-left: auto; }
  .aside-access__item { grid-template-columns: 9rem minmax(0, 1fr) auto; }
}
.aside-access__broker { font-weight: 750; }
.aside-access__note, .aside-access__note-global, .aside-partners__note { color: var(--ink-3); font-size: .9rem; }
.aside-access__note-global, .aside-partners__note { margin: 0; padding: .7rem 1rem; background: var(--paper-2); border-top: 1px solid var(--line); }
.aside-partners__list { display: grid; }
@media (min-width: 40rem) { .aside-partners__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .aside-partners__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aside-partners__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo kind" "name name"; gap: .1rem .5rem; align-items: center; min-height: 44px; padding: .75rem 1rem; height: 100%; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.aside-partners__link:hover { background: var(--back-50); }
.aside-partners__logo { grid-area: logo; display: flex; align-items: center; min-height: 28px; }
.aside-partners__name { grid-area: name; font-weight: 700; }
.aside-partners__kind { grid-area: kind; font-size: .8rem; font-weight: 700; color: var(--back-800); background: var(--back-100); padding: .1rem .4rem; border-radius: 3px; }
.aside-related__link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: .7rem 1rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; }
.aside-related__link:hover { background: var(--back-50); }
.aside-related__item:last-child .aside-related__link { border-bottom: 0; }

/* ------------------------------------------------------------------ pied de page */
.site-footer { background: var(--night-950); color: #c7d5ea; padding-top: 2.5rem; margin-top: 3rem; }
.site-footer a { color: #e4eefb; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 2rem; }
.site-footer__about { grid-column: 1 / -1; }
.brand--footer, .brand--footer:hover { color: #fff; }
.site-footer__tagline { margin: .5rem 0; }
.site-footer__title { margin: 0 0 .5rem; font-weight: 780; font-stretch: 85%; font-size: 1.1rem; color: #fff; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin: 0; }
.site-footer__list a, .site-footer__list span { display: inline-block; padding-block: .5rem; }
.site-footer__list span { color: #93a8c6; }
.site-footer__legal { padding-block: 1.25rem 2rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .92rem; color: #a9bbd4; }
.site-footer__legal p { max-width: 70ch; margin-bottom: .5rem; }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .site-footer__about { grid-column: auto; } }

/* ------------------------------------------------------------------ styleguide (page interne noindex) */
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .5rem; margin: 1rem 0 2rem; padding: 0; list-style: none; }
.sg-swatch { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; font-size: .8rem; line-height: 1.3; background: #fff; }
.sg-swatch__chip { display: block; height: 3rem; }
.sg-swatch__meta { display: block; padding: .4rem .5rem; }
.sg-note { margin: .25rem 0 1.5rem; padding: .6rem .9rem; border: 1px dashed var(--ink-3); border-radius: var(--radius); font-size: .92rem; color: var(--ink-2); background: #fff; }
.sg-section { padding-block: 2rem; border-top: 1px solid var(--line-2); }
.sg-section:first-child { border-top: 0; }
.sg-h { margin-bottom: 1.25rem; }

/* tool: margin calculator */
.tool__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; }
.tool__check { align-self: end; display: flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 650; cursor: pointer; }
.tool__check input { flex: none; width: 1.4rem; height: 1.4rem; }
.tool__rows { grid-column: 1 / -1; display: grid; gap: 1rem; }
.quote { display: grid; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.quote[hidden] { display: none; }
.quote__book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .75rem; }
.tool:not(.is-compare) .tool__b, .tool.is-compare .tool__solo { display: none; }
.tool__msg, .tool .ladder-note { margin: 0; padding: .7rem 1rem; font-size: .92rem; color: var(--ink-2); background: var(--paper-2); border-top: 1px solid var(--line); }
.tool .table-scroll { margin: 0; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; }
.tool .ladder--wide { min-width: 46rem; }
.tool .ladder th, .tool .ladder td { padding-inline: .6rem; }
.tool .ladder tbody th { min-width: 6.5rem; }
@media (min-width: 40rem) { .quote { grid-template-columns: repeat(2, minmax(0, 1fr)); } .is-compare .quote__name { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .is-compare .quote { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr); } .is-compare .quote__name { grid-column: auto; } }

/* flow: path of a stake (schema DIAG, HTML/CSS, jamais une image) */
.flow { margin: 1.75rem 0; }
.flow__title { margin: 0 0 .9rem; font-size: 1.15rem; font-weight: 750; font-stretch: 85%; word-spacing: .08em; }
.flow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.9rem; }
.flow__node { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.flow__node:not(:last-child)::after { content: ""; position: absolute; top: 100%; left: 50%; margin: .35rem 0 0 -.65rem; border-left: .65rem solid transparent; border-right: .65rem solid transparent; border-top: .9rem solid var(--back-700); }
.flow__head { display: block; padding: .5rem .9rem; background: var(--night-800); color: #fff; font-weight: 750; font-stretch: 85%; font-size: 1.05rem; word-spacing: .08em; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.flow__node--back .flow__head { background: var(--back-700); }
.flow__body { display: block; padding: .7rem .9rem; }
.flow__hold { display: block; margin-top: auto; padding: .5rem .9rem; background: var(--back-100); color: var(--back-800); border-top: 1px solid var(--back-200); font-size: .88rem; font-weight: 650; line-height: 1.35; border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); }
.flow__hold--lay { background: var(--lay-100); color: var(--lay-800); border-top-color: var(--lay-200); }
.flow__branches { list-style: none; margin: 0; padding: .7rem .9rem; display: grid; gap: .5rem; }
.flow__branch { display: grid; padding: .5rem .7rem; background: var(--back-50); border: 1px solid var(--back-200); border-radius: var(--radius-sm); }
.flow__branch-name { font-weight: 750; font-stretch: 85%; }
.flow__branch-text { font-variant-numeric: tabular-nums; }
@media (min-width: 48rem) {
  .flow__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem; }
  .flow__node:not(:last-child)::after { top: 50%; left: 100%; margin: -.65rem 0 0 .25rem; border-top: .65rem solid transparent; border-bottom: .65rem solid transparent; border-left: .9rem solid var(--back-700); border-right: 0; }
}
