/* ============================================================
   SuperCaisse — Site vitrine public
   Design system : extension des tokens de l'application (main.css).
   Aucune dépendance : pas de Vuexy, pas de Bootstrap, pas de jQuery.
   Chargé seul par layouts/marketing.blade.php via vasset('custom/css/site.css').
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --ground:      #f7f5f2;
  --surface:     #fffefb;
  --surface-2:   #efe9e2;
  --surface-3:   #e6ddd0;
  --ink:         #211712;
  --ink-2:       #5d5249;
  --ink-3:       #8b8074;
  --rule:        #e2dace;
  --rule-2:      #cbc0af;

  --accent:      #e8491d;
  --accent-2:    #c23c17;
  --accent-soft: #fbe7df;
  --accent-ink:  #a5350f;

  --ok:     #2f7d4f;  --ok-soft:   #e2efe5;
  --amber:  #b07d1c;  --amber-soft:#f6ecd6;
  --risk:   #b23b2e;  --risk-soft: #f6e2de;
  --info:   #3f5b86;  --info-soft: #e7ecf4;

  --charcoal:   #1c1410;
  --charcoal-2: #2a201a;

  --font-ui:   'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-2: 6px; --r-3: 8px; --r-4: 12px; --r-5: 16px; --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(33,23,18,.06), 0 1px 1px rgba(33,23,18,.04);
  --shadow-2: 0 2px 8px rgba(33,23,18,.06), 0 16px 40px -12px rgba(33,23,18,.14);

  --maxw: 1160px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:      #1c1410;
    --surface:     #261c16;
    --surface-2:   #30241d;
    --surface-3:   #3a2d24;
    --ink:         #f1e9e1;
    --ink-2:       #c1b4a6;
    --ink-3:       #8f8275;
    --rule:        #3d3229;
    --rule-2:      #4e4136;
    --accent:      #f2683f;
    --accent-2:    #e8491d;
    --accent-soft: #3a241c;
    --accent-ink:  #f7b59f;
    --ok:     #7bc088;  --ok-soft:   #22302a;
    --amber:  #e0b458;  --amber-soft:#352c1b;
    --risk:   #e08a7c;  --risk-soft: #372420;
    --info:   #9db0cc;  --info-soft: #252c37;
    --charcoal:   #150f0c;
    --charcoal-2: #211812;
    --shadow-1: 0 1px 2px rgba(0,0,0,.3);
    --shadow-2: 0 2px 10px rgba(0,0,0,.32), 0 20px 50px -16px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --ground:#1c1410;--surface:#261c16;--surface-2:#30241d;--surface-3:#3a2d24;
  --ink:#f1e9e1;--ink-2:#c1b4a6;--ink-3:#8f8275;--rule:#3d3229;--rule-2:#4e4136;
  --accent:#f2683f;--accent-2:#e8491d;--accent-soft:#3a241c;--accent-ink:#f7b59f;
  --ok:#7bc088;--ok-soft:#22302a;--amber:#e0b458;--amber-soft:#352c1b;
  --risk:#e08a7c;--risk-soft:#372420;--info:#9db0cc;--info-soft:#252c37;
  --charcoal:#150f0c;--charcoal-2:#211812;
  --shadow-1:0 1px 2px rgba(0,0,0,.3);
  --shadow-2:0 2px 10px rgba(0,0,0,.32), 0 20px 50px -16px rgba(0,0,0,.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.14; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.stack > * + * { margin-top: 1rem; }
.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 .9rem;
}
.lead { font-size: clamp(1.02rem, 2vw, 1.16rem); color: var(--ink-2); max-width: 60ch; }
.h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; }
.h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); font-weight: 700; }
.h3 { font-size: 1.15rem; font-weight: 600; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.measure { max-width: 34rem; }
.measure-wide { max-width: 44rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .82rem 1.4rem; border-radius: var(--r-3);
  font-weight: 600; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .15s, transform .1s, border-color .15s, color .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--rule-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--surface-2); }
.btn--light { background: #fff; color: var(--charcoal); }
.btn--light:hover { background: rgba(255,255,255,.88); transform: translateY(-1px); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn .i { width: 1.05em; height: 1.05em; }

/* ---------- Icons ---------- */
.i { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none;
     stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); box-shadow: var(--shadow-1); }
.site-header__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink); font-size: 1.06rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .brand-super { color: var(--ink); }
.brand .brand-caisse { color: var(--accent); }
.brand__mark { width: 26px; height: 26px; color: var(--accent); }
.site-nav { display: none; gap: 1.6rem; margin-left: auto; align-items: center; }
.site-nav a { color: var(--ink-2); font-weight: 500; font-size: .93rem; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-header__actions { display: none; align-items: center; gap: .8rem; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--rule); border-radius: var(--r-3); background: var(--surface);
  color: var(--ink-2);
}
.theme-toggle:hover { color: var(--ink); border-color: var(--rule-2); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun,
:root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon,
:root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .i-moon { display: block; }
}
.nav-toggle {
  margin-left: auto; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: var(--r-3);
  background: var(--surface); color: var(--ink);
}
@media (min-width: 900px) {
  .site-nav, .site-header__actions { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: var(--ground); padding: 1.5rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; gap: .4rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { padding: .9rem .25rem; font-size: 1.1rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--rule); }
.mobile-menu a:hover { text-decoration: none; }
.mobile-menu .btn { margin-top: 1.2rem; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1100px 480px at 78% -8%, var(--accent-soft), transparent 62%);
  opacity: .8;
}
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.12fr .88fr; } }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.7rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.7rem; }
.hero__points li { display: flex; align-items: center; gap: .45rem; font-size: .86rem; color: var(--ink-3); }
.hero__points .i { width: 1rem; height: 1rem; color: var(--ok); }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--r-5); box-shadow: var(--shadow-2); border: 1px solid var(--rule); }

/* ---------- Problem section ---------- */
.problem { background: var(--surface-2); }
.problem__list { display: grid; gap: .1rem; margin-top: 1.6rem; }
@media (min-width: 720px) { .problem__list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.problem__list li {
  display: flex; gap: .8rem; padding: .95rem 0; border-top: 1px solid var(--rule);
  color: var(--ink-2); font-size: .98rem;
}
.problem__list li::before { content: "—"; color: var(--accent); flex: none; font-weight: 600; }

/* ---------- Feature / benefit grids ---------- */
.grid { display: grid; gap: 1rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: 1fr 1fr; } .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-4);
  padding: 1.3rem 1.35rem; box-shadow: var(--shadow-1);
}
.card__icon {
  width: 2.4rem; height: 2.4rem; border-radius: var(--r-3);
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink);
  margin-bottom: .9rem;
}
.card__icon .i { width: 1.35rem; height: 1.35rem; }
.card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.card p { font-size: .92rem; color: var(--ink-2); }
.card__benefits { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .02em;
  padding: .2rem .5rem; border-radius: var(--r-2); background: var(--surface-2);
  color: var(--ink-3); border: 1px solid var(--rule);
}
.card--link { transition: border-color .15s, transform .12s, box-shadow .15s; }
.card--link:hover { border-color: var(--rule-2); transform: translateY(-2px); box-shadow: var(--shadow-2); text-decoration: none; }

/* ---------- Split section (image + text) ---------- */
.split { display: grid; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split__media { order: -1; } }
.split__media img { border-radius: var(--r-5); border: 1px solid var(--rule); box-shadow: var(--shadow-2); }
.split__list { margin-top: 1.2rem; display: grid; gap: .55rem; }
.split__list li { display: flex; gap: .6rem; font-size: .96rem; color: var(--ink-2); }
.split__list .i { width: 1.1rem; height: 1.1rem; color: var(--accent); margin-top: .18rem; flex: none; }
.aside-note {
  margin-top: 1.3rem; padding: .8rem 1rem; border-left: 3px solid var(--rule-2);
  background: var(--surface-2); border-radius: 0 var(--r-3) var(--r-3) 0;
  font-size: .9rem; color: var(--ink-3);
}

/* ---------- Blocks row (performance) ---------- */
.blocks { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 800px) { .blocks { grid-template-columns: repeat(3, 1fr); } }
.block { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-4); padding: 1.2rem; }
.block h3 { font-size: .98rem; margin-bottom: .3rem; }
.block p { font-size: .9rem; color: var(--ink-2); }

/* ---------- Decision flow ---------- */
.flow { display: grid; gap: .75rem; margin-top: 1.6rem; max-width: 46rem; }
@media (min-width: 820px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow__step {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-4);
  padding: 1rem; position: relative;
}
.flow__step .k {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: .4rem;
}
.flow__step .v { font-size: .9rem; color: var(--ink); }
.flow__step:not(:last-child)::after {
  content: "→"; position: absolute; color: var(--ink-3);
  right: -.95rem; top: 50%; transform: translateY(-50%); font-size: .9rem;
}
@media (max-width: 819px) {
  .flow__step:not(:last-child)::after { right: 50%; top: auto; bottom: -.85rem; transform: translateX(50%) rotate(90deg); }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--charcoal); color: #fff; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: .6rem; }
.cta-band__inner { text-align: center; display: grid; gap: 1.3rem; place-items: center; }
.cta-band .btn { margin-top: .3rem; }
.cta-band .call { font-size: .85rem; color: rgba(255,255,255,.6); }
.cta-band .call a { color: #fff; }

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

/* Puce ronde ✓ / — utilisée dans la liste de modules de chaque carte pack. */
.pill-check, .pill-dash {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; flex: none;
}
.pill-check { background: var(--ok-soft); }
.pill-check .i { width: .85rem; height: .85rem; color: var(--ok); }
.pill-dash { background: var(--surface-3); }
.pill-dash::before { content: ""; width: .5rem; height: 2px; background: var(--ink-3); border-radius: 2px; }

.plan__badge {
  display: inline-block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: var(--accent);
  padding: .22rem .55rem; border-radius: var(--r-pill);
}
.plan__tag {
  display: inline-block; margin-left: .35rem; font-family: var(--font-mono); font-size: .56rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  border: 1px solid var(--rule-2); border-radius: var(--r-2); padding: 0 .3rem; vertical-align: middle;
}

/* ----- Cartes pack (mobile/tablette + réutilisées comme composant) ----- */
.plans { display: grid; gap: 1.3rem; margin-top: 2rem; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-5);
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column; box-shadow: var(--shadow-1);
  transition: transform .15s, box-shadow .15s;
}
.plan--featured {
  border-color: var(--accent); box-shadow: var(--shadow-2), 0 0 0 1px var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 55%, var(--surface)), var(--surface) 40%);
}
.plan__badge { align-self: flex-start; margin-bottom: .8rem; }
.plan__name { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.plan__price { margin: .7rem 0 .15rem; font-size: 2.1rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.plan__price .u { font-size: .82rem; font-weight: 500; color: var(--ink-3); }
.plan__price--quote { font-size: 1.3rem; }
.plan__annual { font-size: .8rem; color: var(--ink-3); min-height: 1.2em; }
.plan__limits {
  margin: 1.1rem 0; padding: .8rem .9rem; border-radius: var(--r-3); background: var(--surface-2);
  font-size: .82rem; color: var(--ink-2); display: grid; gap: .3rem;
}
.plan__modules { margin: .3rem 0 1.3rem; display: grid; gap: .55rem; font-size: .86rem; }
.plan__modules li { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); }
.plan__modules li.is-excluded { color: var(--ink-3); }
.plan__item-icon { width: .95rem; height: .95rem; flex: none; color: var(--accent); }
.plan__modules li.is-excluded .plan__item-icon { color: var(--ink-3); opacity: .6; }
.plan .btn { margin-top: auto; }

/* ---------- Comparatif tarifaire = une carte par pack ----------
   Volontairement PAS de tableau : une grille de cartes (auto-fit), seule mise
   en page retenue à toutes les largeurs — aucune colonne fixe, donc aucun
   défilement horizontal possible, sur aucun écran. minmax(min(100%,270px),1fr)
   garantit qu'une carte peut toujours descendre à 100% du conteneur plutôt que
   de forcer un débordement sur un écran plus étroit que 270px. */
.cmp-wrap { margin-top: 2.8rem; }
.cmp-cards {
  display: grid; gap: 1.3rem; grid-template-columns: 1fr; align-items: stretch;
}
/* Jamais plus de 2 cartes par ligne, à aucune largeur — 'fr' se partage
   toujours 100% du conteneur, donc aucun débordement possible ici non plus. */
@media (min-width: 560px) {
  .cmp-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 44rem; margin-top: 1.8rem; }
.faq details {
  border-bottom: 1px solid var(--rule); padding: .3rem 0;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--ink-3); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.1rem; color: var(--ink-2); font-size: .95rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; max-width: 34rem; }
.form--wide { max-width: 40rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid var(--rule-2); border-radius: var(--r-3);
  background: var(--surface); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--risk); }
.field__error { font-size: .8rem; color: var(--risk); }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  border: 1px solid var(--ok); background: var(--ok-soft); color: var(--ink);
  border-radius: var(--r-4); padding: 1.2rem 1.3rem; display: flex; gap: .8rem; align-items: flex-start;
}
.form-success .i { color: var(--ok); flex: none; margin-top: .1rem; }

/* ---------- Contact channels ---------- */
.channels { display: grid; gap: .8rem; margin-top: 1.4rem; }
.channel { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid var(--rule); border-radius: var(--r-3); background: var(--surface); }
.channel .i { color: var(--accent); }
.channel b { color: var(--ink); display: block; font-size: .82rem; }
.channel span { font-size: .95rem; }

/* ---------- Carte de localisation (coordonnées réglées en admin) ---------- */
.map-embed { margin-top: 1.4rem; border: 1px solid var(--rule); border-radius: var(--r-3); overflow: hidden; background: var(--surface); }
.map-embed iframe { display: block; width: 100%; height: 280px; border: 0; }
.map-embed a { display: block; padding: .6rem 1rem; font-size: .84rem; text-align: right; }

/* ---------- Dashboard mock (SVG wrapper) ---------- */
.mock {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-5);
  box-shadow: var(--shadow-2); padding: 1rem; overflow: hidden;
}
.mock svg { width: 100%; height: auto; }

/* ---------- Footer ---------- */
/* Pas de marge avant le pied de page : la dernière section de <main>
   (souvent la bande CTA sombre) fournit déjà tout l'espacement vertical. */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--rule); padding-block: 3rem 2rem; }
main + .site-footer { margin-top: 0; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: .78rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
.site-footer a { color: var(--ink-2); font-size: .9rem; display: block; padding: .28rem 0; }
.site-footer a:hover { color: var(--ink); text-decoration: none; }
.site-footer__brand p { font-size: .88rem; color: var(--ink-3); margin-top: .6rem; max-width: 30ch; }
.site-footer__bottom {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .82rem; color: var(--ink-3);
}
.site-footer__social { display: flex; gap: .6rem; }
.site-footer__social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--rule); border-radius: var(--r-3); padding: 0; }

/* ---------- Utilities ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 500;
  padding: .18rem .55rem; border-radius: var(--r-pill);
}
.pill::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.pill--ok { color: var(--ok); background: var(--ok-soft); }
.pill--amber { color: var(--amber); background: var(--amber-soft); }
.pill--risk { color: var(--risk); background: var(--risk-soft); }
.breadcrumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ink-3); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--surface); padding: .6rem 1rem; border-radius: var(--r-3); border: 1px solid var(--accent); }
