/* ============================================================
   FideliPad — Design system v4 "Awwwards" (07/08/2026)
   Thème "émeraude & nuit" · mobile-first · sans CDN
   Polices : Plus Jakarta Sans (UI) + Fraunces (display éditorial)
   Animations : reveal au scroll, orbes, marquee, glow — respecte prefers-reduced-motion
   ============================================================ */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --night-950: #0a1120;
  --night-900: #0e1830;
  --night-800: #152238;
  --ink: #0c1526;
  --ink-soft: #2c3a52;
  --muted: #5b6b85;
  --emerald-800: #065f46;
  --emerald-700: #047857;   /* liens texte : AA */
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-50: #ecfdf5;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;
  --border: #e3e9f2;
  --bg: #f5f7fb;
  --card: #ffffff;
  --footer: var(--night-950);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 3px rgba(11, 18, 32, .05), 0 8px 28px rgba(11, 18, 32, .07);
  --shadow-lg: 0 18px 60px rgba(11, 18, 32, .16);
  --glow: 0 10px 36px rgba(16, 185, 129, .22);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --maxw: 1160px;
  --reading: 780px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  /* grain subtil sur toute la page — signature "print premium" */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
}
.container, .main-article, .legal { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  color: var(--ink); line-height: 1.2; margin: 0 0 .5em;
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em;
}
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--emerald-600); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; border-radius: 999px; padding: 12px 24px;
  font-weight: 700; font-size: .92rem; border: 1px solid transparent;
  cursor: pointer; font-family: var(--font); background: var(--emerald-600); color: #fff;
  transition: transform .18s ease, box-shadow .18s ease, background .18s, border-color .18s, color .18s;
  position: relative; overflow: hidden;
}
.btn::after {
  /* shine sweep au survol */
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .5s ease; pointer-events: none;
}
.btn:hover { background: var(--emerald-500); color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: var(--glow); }
.btn:hover::after { left: 130%; }
.btn-primary { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700)); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600)); box-shadow: var(--glow); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.btn-soft { background: #fff; border-color: var(--border); color: var(--ink-soft); }
.btn-soft:hover { border-color: var(--emerald-600); color: var(--emerald-700); box-shadow: var(--shadow); }

/* ---------- Header sticky (glass premium) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(227, 233, 242, .9);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 32px rgba(11, 18, 32, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; font-size: 1.24rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 3px 8px rgba(16, 185, 129, .4)); transition: transform .3s ease; }
.brand:hover svg { transform: rotate(-6deg) scale(1.06); }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* Nav desktop */
.nav-desktop { display: none; align-items: center; gap: 2px; }
.nav-desktop a {
  padding: 9px 14px; border-radius: 999px; color: var(--ink-soft);
  font-weight: 600; font-size: .9rem; transition: background .15s, color .15s;
  position: relative;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px;
  background: var(--emerald-500); border-radius: 2px; transform: translateX(-50%);
  transition: width .22s ease;
}
.nav-desktop a:hover { background: var(--emerald-50); color: var(--emerald-600); text-decoration: none; }
.nav-desktop a:hover::after { width: 40%; }
.nav-desktop a[aria-current="page"] {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: #fff; box-shadow: 0 4px 14px rgba(16, 185, 129, .3);
}
.nav-desktop a[aria-current="page"]::after { display: none; }

/* Recherche (desktop) */
.search {
  display: none; align-items: center; gap: 7px; border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 15px; background: rgba(248, 250, 252, .9);
  color: var(--muted); font-size: .88rem;
  transition: border-color .18s, box-shadow .18s;
}
.search:focus-within { border-color: var(--emerald-500); box-shadow: 0 0 0 4px rgba(16, 185, 129, .12); }
.search input { border: 0; background: none; font: inherit; color: var(--ink); outline: none; width: 150px; }
.search input::placeholder { color: var(--muted); }
.search svg { width: 15px; height: 15px; flex: none; }

/* Burger : vrai bouton (clavier) */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px; border: 0; background: none; cursor: pointer;
  border-radius: var(--radius-sm);
}
.burger span { display: block; height: 2.5px; width: 22px; background: var(--ink); border-radius: 3px; transition: transform .22s, opacity .22s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu mobile en accordéons */
.nav-mobile {
  display: none; border-top: 1px solid var(--border); background: rgba(255,255,255,.98);
  padding: 6px 18px 18px; max-height: calc(100vh - 66px); overflow-y: auto;
  backdrop-filter: blur(18px);
}
.nav-mobile.open { display: block; }
.nav-mobile details { border-bottom: 1px solid #f1f5fa; }
.nav-mobile summary {
  list-style: none; cursor: pointer; padding: 14px 4px;
  font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); display: flex; justify-content: space-between; align-items: center;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after { content: "+"; font-size: 1rem; color: var(--emerald-600); font-weight: 800; }
.nav-mobile details[open] summary::after { content: "–"; }
.nav-mobile details[open] { padding-bottom: 8px; }
.nav-mobile a { display: block; padding: 11px 8px; color: var(--ink-soft); font-weight: 600; font-size: .97rem; }
.nav-mobile a:hover { color: var(--emerald-600); text-decoration: none; }
.nav-mobile a[aria-current="page"] { color: var(--emerald-600); font-weight: 800; }

/* ---------- Hero (spectaculaire) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(16, 185, 129, .22), transparent 60%),
    radial-gradient(760px 420px at 8% 118%, rgba(245, 158, 11, .12), transparent 55%),
    linear-gradient(150deg, var(--night-950) 0%, var(--night-800) 58%, #0b2a26 100%);
  color: #e8eef7; padding: 52px 0 92px;
}
/* orbes flottants animés */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .5;
}
.hero::before {
  width: 340px; height: 340px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(16, 185, 129, .55), transparent 70%);
  animation: orbFloat 11s ease-in-out infinite alternate;
}
.hero::after {
  width: 280px; height: 280px; bottom: -140px; left: 8%;
  background: radial-gradient(circle, rgba(245, 158, 11, .4), transparent 70%);
  animation: orbFloat 14s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-46px, 34px) scale(1.12); }
}
/* grille fine en arrière-plan du hero */
.hero .container { position: relative; z-index: 2; }
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
  color: var(--emerald-300); background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .28); padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-400); box-shadow: 0 0 10px var(--emerald-400); animation: pulseDot 2.4s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  color: #fff; font-family: var(--display); font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.3rem); line-height: 1.12; margin-bottom: .32em; letter-spacing: -.025em;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--emerald-300); }
.hero .lead { font-size: 1.06rem; opacity: .92; max-width: 660px; margin: 0 auto .8em; }
.hero .meta { font-size: .82rem; color: #b8c4d8; }
.hero-stats { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 10px; }
.hero-stats .stat {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 14px 26px; min-width: 116px;
  backdrop-filter: blur(10px); transition: transform .2s ease, border-color .2s;
}
.hero-stats .stat:hover { transform: translateY(-3px); border-color: rgba(16, 185, 129, .5); }
.hero-stats .stat b {
  display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 700;
  color: #fff; letter-spacing: -.02em; line-height: 1.1;
}
.hero-stats .stat span { font-size: .72rem; color: #b8c4d8; text-transform: uppercase; letter-spacing: .08em; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hero-secondary { font-size: .86rem; color: #b8c4d8; margin: 16px 0 0; }
.hero-secondary a { color: var(--emerald-300); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-secondary a:hover { color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: .84rem; margin-bottom: 12px; color: #b8c4d8; }
.breadcrumb a { color: #b8c4d8; text-decoration: underline; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .cur { color: #fff; font-weight: 700; }

/* ---------- Marquee des enseignes ---------- */
.brand-marquee {
  position: relative; z-index: 2; overflow: hidden;
  background: rgba(255, 255, 255, .04); border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07); padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brand-marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 34s linear infinite; }
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }
.brand-marquee span {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em;
  color: rgba(232, 238, 247, .5); white-space: nowrap; transition: color .2s;
}
.brand-marquee span:hover { color: var(--emerald-300); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Accueil : à la une ---------- */
#guides, .cat-section { scroll-margin-top: 84px; }
.featured { margin-top: -58px; position: relative; z-index: 5; }
.featured-card {
  display: grid; grid-template-columns: 1fr;
  background: linear-gradient(135deg, #ffffff, #f8fbfa);
  border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(227, 233, 242, .8); overflow: hidden;
  position: relative;
}
.featured-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300), var(--gold-400));
}
.featured-card .fh {
  background:
    radial-gradient(500px 260px at 90% -20%, rgba(16, 185, 129, .18), transparent 60%),
    linear-gradient(135deg, var(--night-900), #0d2b2a);
  color: #fff; padding: 26px 26px; display: flex; flex-direction: column; justify-content: center; gap: 9px;
}
.featured-card .fh h2 { color: #fff; font-size: 1.45rem; margin: 0; }
.featured-card .fh p { opacity: .85; font-size: .93rem; margin: 0; }
.featured-card .fh .btn { margin-top: 12px; align-self: flex-start; }
.featured-card .fb { padding: 20px 24px; }
.featured-card .fb ul { list-style: none; margin: 0; padding: 0; }
.featured-card .fb li {
  padding: 10px 0; border-bottom: 1px solid #eef2f8; font-size: .92rem;
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
}
.featured-card .fb li:last-child { border-bottom: 0; }
.featured-card .fb li span { color: var(--muted); }
.featured-card .fb li b { color: var(--ink); text-align: right; }

/* ---------- Accueil : sections par catégorie ---------- */
.cat-section { padding: 38px 0 8px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cat-head h2 { font-size: 1.55rem; margin: 0; display: flex; align-items: center; gap: 11px; }
.cat-head h2 .dot { width: 12px; height: 12px; border-radius: 4px; flex: none; box-shadow: 0 0 12px rgba(0,0,0,.12); }
.dot.super { background: linear-gradient(135deg, #10b981, #047857); }
.dot.cash { background: linear-gradient(135deg, #0f1b2d, #334155); }
.dot.aer { background: linear-gradient(135deg, #6366f1, #4338ca); }
.dot.ens { background: linear-gradient(135deg, #f59e0b, #d97706); }
.dot.out { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.cat-head a { font-size: .86rem; font-weight: 700; white-space: nowrap; color: var(--emerald-700); }
.cat-head a:hover { color: var(--emerald-600); }

/* ---------- Grille de cartes (glow premium) ---------- */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(227, 233, 242, .75); padding: 18px 20px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.card::before {
  /* halo émeraude au survol */
  content: ""; position: absolute; top: -60%; left: -20%; width: 70%; height: 90%;
  background: radial-gradient(circle, rgba(16, 185, 129, .14), transparent 70%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(16, 185, 129, .45); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 3px 10px rgba(11,18,32,.14);
  transition: transform .2s ease;
}
.card:hover .brand-logo { transform: scale(1.08) rotate(-4deg); }
.card h3 { margin: 12px 0 7px; font-size: 1.06rem; font-weight: 700; position: relative; z-index: 1; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--emerald-600); text-decoration: none; }
.card p { font-size: .88rem; color: var(--muted); flex: 1; margin: 0 0 12px; position: relative; z-index: 1; }
.badge {
  align-self: flex-start; font-size: .66rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 11px; border-radius: 999px;
  font-family: var(--font); position: relative; z-index: 1;
}
.badge.guide { background: var(--emerald-50); color: var(--emerald-700); }
.badge.astuce { background: var(--gold-100); color: #b45309; }
.badge.comparatif { background: #eef2ff; color: #4f46e5; }
.badge.outil { background: #e0f2fe; color: #0369a1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); position: relative; z-index: 1; }
.card-meta .read { font-weight: 800; font-size: .86rem; color: var(--emerald-700); }
.card-meta .read:hover { color: var(--emerald-500); text-decoration: none; }

/* ---------- Bandeau pédagogie ---------- */
.edu {
  background: linear-gradient(135deg, var(--emerald-50), #f0fdfa);
  border: 1px solid #a7f3d0; border-radius: var(--radius); padding: 18px 22px; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
}
.edu b { color: var(--emerald-700); font-size: .95rem; }
.edu a { font-weight: 700; font-size: .9rem; }
.edu .spacer { flex: 1; }

/* ---------- Résultats de recherche (accueil) ---------- */
#search-results { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin: 28px 0; }
#search-results h2 { font-size: 1.15rem; }
#search-results-count { color: var(--muted); font-size: .88rem; }
#search-results-list { list-style: none; margin: 12px 0 0; padding: 0; }
#search-results-list li { padding: 12px 0; border-bottom: 1px solid #f1f5fa; }
#search-results-list li:last-child { border-bottom: 0; }
#search-results-list a { font-size: 1rem; color: var(--ink); }
#search-results-list a:hover { color: var(--emerald-600); }
#search-results-list .cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--emerald-700); background: var(--emerald-50); border-radius: 999px; padding: 2px 9px; margin-left: 6px; }
#search-results-list p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
#search-results-list li.none { color: var(--muted); font-size: .92rem; }

/* ---------- Couverture d'article (image générée par IA) — chevauche le hero ---------- */
.page-cover {
  max-width: var(--maxw);
  margin: -52px auto 0; padding: 0;
  position: relative; z-index: 6;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.home-cover {
  max-width: var(--maxw); margin: -46px auto 0;
  position: relative; z-index: 5;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.home-cover img { border-radius: 20px; }
.page-cover img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
  background: var(--night-900);
  border-radius: 20px;
}
.page-cover figcaption {
  position: absolute; top: 12px; right: 12px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  color: rgba(255,255,255,.85); background: rgba(10,17,32,.62);
  padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
}

/* ---------- Article ---------- */
.main-article { max-width: var(--maxw); margin: -24px auto 0; padding: 0 18px 56px; position: relative; z-index: 7; }
.card-article {
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 30px 24px; margin-top: -24px; position: relative;
  border: 1px solid rgba(227, 233, 242, .7);
}
.article-body { max-width: var(--reading); margin: 0 auto; }
.article-body h2 {
  font-family: var(--display); font-size: 1.55rem; font-weight: 700;
  margin: 1.8em 0 .55em; padding-top: .25em; letter-spacing: -.015em;
  position: relative;
}
.article-body h2::before {
  content: ""; display: block; width: 34px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300));
  margin-bottom: 10px;
}
.article-body h3 { font-family: var(--display); font-size: 1.12rem; margin: 1.5em 0 .5em; }
.article-body p { margin-bottom: 1em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article-body li { margin-bottom: .45em; }
.article-body strong { color: var(--ink); }
.article-body a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--emerald-600); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }

/* Callouts */
.callout {
  border-radius: var(--radius-sm); padding: 15px 17px; margin: 1.3em 0; font-size: .95rem;
  border: 1px solid transparent; position: relative;
}
.callout.astuce { background: var(--gold-100); border-left: 4px solid var(--gold-500); border-color: #fde68a; }
.callout.piège, .callout.piege { background: #fef2f2; border-left: 4px solid #ef4444; border-color: #fecaca; }
.callout b { color: var(--ink); }

/* Encadré "pour aller plus loin" */
.related-box {
  background: linear-gradient(135deg, var(--emerald-50), #f0fdfa);
  border: 1px solid #a7f3d0; border-radius: var(--radius); padding: 20px 22px; margin: 1.8em 0;
  box-shadow: var(--shadow);
}
.related-box h2 { font-size: 1.02rem; margin: 0 0 .5em; color: var(--emerald-700); font-family: var(--display); }
.related-box ul { list-style: none; margin: 0; padding: 0; }
.related-box li { margin: 0 0 .45em; }
.related-box a { font-weight: 700; text-decoration: none; }
.related-box a:hover { text-decoration: underline; }

/* FAQ (accordéon) */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 10px; background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: rgba(16, 185, 129, .4); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 15px 17px;
  display: flex; align-items: baseline; gap: 9px; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 1rem; margin: 0; display: flex; gap: 9px; align-items: baseline;
  font-family: var(--font); flex: 1;
}
.faq-item summary::before {
  content: "Q"; font-size: .7rem; font-weight: 800; color: var(--emerald-700);
  background: var(--emerald-50); border-radius: 7px; padding: 2px 8px; flex: none;
}
.faq-item summary::after {
  content: "+"; font-size: 1.05rem; color: var(--emerald-600); font-weight: 800; flex: none;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid #f1f5fa; }
.faq-item p { margin: 0; padding: 12px 17px; font-size: .93rem; }

/* Sources */
.src-box { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--border); margin-top: 28px; padding-top: 16px; }
.src-box ul { margin: 8px 0 0; padding-left: 1.2em; }
.src-box li { margin-bottom: 4px; }

/* ---------- Pages légales ---------- */
.legal { max-width: var(--maxw); margin: -24px auto 0; padding: 0 18px 56px; position: relative; z-index: 7; }
.legal .card-article { margin-top: 0; }
.legal h2 { font-size: 1.25rem; margin-top: 1.5em; }
.legal p, .legal li { font-size: .98rem; }

/* ---------- Comparateur ---------- */
.cmp-wrap { overflow-x: auto; margin: 16px 0; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 900px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
.cmp-table th { background: linear-gradient(180deg, var(--emerald-50), #f0fdfa); color: var(--ink); font-weight: 800; }
.cmp-table td:first-child a { font-weight: 700; color: var(--ink); }
.cmp-table td:first-child a:hover { color: var(--emerald-600); }
.cmp-table tbody tr:nth-child(even) td { background: #f8fafc; }
.cmp-table tbody tr:hover td { background: #f0fdfa; }
.cmp-table .star { color: var(--gold-500); letter-spacing: 2px; white-space: nowrap; }
.cmp-cards { display: none; flex-direction: column; gap: 12px; margin: 16px 0; }
.cmp-card { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 16px 18px; transition: transform .18s, box-shadow .18s; }
.cmp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.cmp-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.cmp-card .top a { font-weight: 800; color: var(--ink); font-size: 1rem; }
.cmp-card .top .star { color: var(--gold-500); }
.cmp-card ul { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.cmp-card li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #eef2f8; }
.cmp-card li:last-child { border-bottom: 0; }
.cmp-card li span { color: var(--muted); }
.cmp-card li b { color: var(--ink); text-align: right; }
.cmp-picks { margin: 36px 0 0; }
.cmp-pick { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--emerald-500); border-radius: var(--radius-sm); padding: 15px 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.cmp-pick h3 { font-size: 1rem; margin: 0 0 5px; }
.cmp-pick p { margin: 0; font-size: .93rem; }

/* ---------- Simulateur ---------- */
.sim-layout { display: grid; grid-template-columns: 1fr; gap: 26px; }
.sim-inputs h2, .sim-results h2 { font-size: 1.2rem; }
.sim-hint { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.sim-field { margin-bottom: 16px; }
.sim-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.sim-label label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.sim-label output { font-weight: 800; color: var(--emerald-700); font-size: .95rem; white-space: nowrap; }
input[type="range"] { width: 100%; accent-color: var(--emerald-600); cursor: pointer; height: 22px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--emerald-600); box-shadow: 0 1px 4px rgba(11, 18, 32, .3); margin-top: -8px; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: #e2e8f0; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--emerald-500); outline-offset: 2px; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--emerald-600); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: #e2e8f0; }
.sim-options { margin: 18px 0 10px; }
.sim-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.sim-check input { margin-top: 3px; accent-color: var(--emerald-600); width: 18px; height: 18px; }
.sim-total {
  background:
    radial-gradient(400px 200px at 85% -20%, rgba(52, 211, 153, .35), transparent 60%),
    linear-gradient(135deg, var(--night-900) 0%, #064e3b 120%);
  color: #fff; border-radius: var(--radius); padding: 24px; text-align: center; margin-bottom: 18px;
  box-shadow: var(--glow); position: relative; overflow: hidden;
}
.sim-total-label { display: block; font-size: .84rem; opacity: .9; margin-bottom: 3px; }
.sim-total-value { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 700; line-height: 1.15; }
.sim-total-sub { display: block; font-size: .78rem; opacity: .85; margin-top: 2px; }
.sim-bar { margin-bottom: 13px; }
.sim-bar-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-size: .9rem; }
.sim-bar-head a { color: var(--ink); font-weight: 700; text-decoration: none; }
.sim-bar-head a:hover { color: var(--emerald-600); text-decoration: underline; }
.sim-bar-val { font-weight: 700; color: var(--ink); white-space: nowrap; }
.sim-bar-track { background: #eef2f8; border-radius: 6px; height: 12px; overflow: hidden; }
.sim-bar-fill { height: 100%; border-radius: 6px; transition: width .25s ease; min-width: 2%; }
.sim-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.sim-cta { background: var(--emerald-50); border: 1px solid #a7f3d0; border-radius: var(--radius); padding: 16px; margin-top: 20px; }
.sim-cta p { margin: 0 0 10px; }
.sim-cta .btn { display: inline-block; margin: 0 6px 8px 0; text-decoration: none; }
.sim-info { margin: 32px 0 0; }
.sim-info h2 { font-size: 1.25rem; }
.sim-table-wrap { overflow-x: auto; margin: 14px 0; }
.sim-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }
.sim-table th, .sim-table td { border: 1px solid var(--border); padding: 9px 13px; text-align: left; }
.sim-table th { background: linear-gradient(180deg, var(--emerald-50), #f0fdfa); color: var(--ink); font-weight: 700; }
.sim-table tr:nth-child(even) td { background: #f8fafc; }
.sim-table tr.row-best td { background: #ecfdf5; }
.sim-table tr.row-best td:first-child { box-shadow: inset 3px 0 0 var(--emerald-600); }
.badge-best {
  display: inline-block; background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .7rem; font-weight: 800;
  white-space: nowrap; margin-left: 4px; vertical-align: 1px; box-shadow: 0 2px 8px rgba(16,185,129,.35);
}

/* ---------- 404 ---------- */
.notfound { max-width: 520px; margin: 0 auto; padding: 50px 18px 70px; text-align: center; }
.notfound .big {
  font-family: var(--display); font-size: 5.5rem; font-weight: 700; color: var(--emerald-600);
  line-height: 1; letter-spacing: -.03em; background: linear-gradient(135deg, var(--emerald-500), var(--emerald-800));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.notfound h1 { font-size: 1.4rem; margin: 10px 0 8px; }
.notfound p { color: var(--muted); font-size: .95rem; }
.notfound .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Footer (premium) ---------- */
.site-footer {
  background:
    radial-gradient(900px 420px at 85% -30%, rgba(16, 185, 129, .14), transparent 60%),
    var(--footer);
  color: #8fa3bd; padding: 60px 0 30px; margin-top: 60px;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, .5), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; position: relative; z-index: 1; }
.footer-brand { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.footer-brand svg { width: 30px; height: 30px; }
.footer-col h4 { color: #cbd5e1; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-col h4 a { color: inherit; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #8fa3bd; font-size: .92rem; transition: color .15s, padding-left .15s; }
.footer-col a:hover { color: var(--emerald-300); text-decoration: none; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(28, 42, 66, .9); margin-top: 40px; padding-top: 22px; text-align: center; font-size: .82rem; color: #94a3b8; position: relative; z-index: 1; }
.footer-bottom a { color: #94a3b8; }

/* ---------- Accessibilité ---------- */
:focus-visible { outline: 3px solid var(--emerald-500); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Reveal au scroll (activé par interactions.js) ---------- */
body.js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
body.js-anim .reveal.in { opacity: 1; transform: none; }

/* ---------- Barre de progression de lecture (articles) ---------- */
.reading-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300));
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(16, 185, 129, .5);
  transition: width .1s linear;
}

/* ---------- Sommaire « Dans cet article » (inline en tête d'article) ---------- */
.toc-box {
  background: linear-gradient(135deg, var(--emerald-50), #f0fdfa);
  border: 1px solid #a7f3d0; border-radius: 14px;
  padding: 16px 18px; font-size: .86rem;
  margin: 0 0 22px;
}
.toc-title {
  font-weight: 800; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--emerald-700); margin-bottom: 10px;
}
.toc-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.toc-box li { margin: 0; }
.toc-box a {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  color: var(--ink-soft); font-weight: 600; line-height: 1.35;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.toc-box a:hover { background: #fff; color: var(--emerald-700); text-decoration: none; border-color: #a7f3d0; }
.toc-box a.active { background: #fff; color: var(--emerald-700); border-color: #a7f3d0; box-shadow: 0 2px 8px rgba(16,185,129,.12); }
@media (max-width: 480px) {
  .toc-box ul { flex-direction: column; gap: 2px; }
  .toc-box a { display: block; }
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .burger { display: none; }
  .nav-desktop { display: flex; }
  .search { display: flex; }
  .nav-mobile { display: none !important; }
  .hero { padding: 68px 0 96px; }
  .hero h1 { font-size: 3rem; }
  .featured-card { grid-template-columns: 1.15fr 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card-article { padding: 42px 52px; }
  .article-body { font-size: 1.03rem; }
  .sim-layout { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .cmp-wrap { display: none; }
  .cmp-cards { display: flex; }
  .breadcrumb { font-size: .78rem; }
}

/* ---------- Comparateur interactif (filtres, tri, estimation) ---------- */
.cmp-toolbar { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 18px 0; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.cmp-personas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cmp-label { font-weight: 800; color: var(--ink); font-size: .9rem; margin-right: 4px; }
.cmp-personas button, .cmp-chips button {
  border: 1px solid var(--border); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 7px 13px; font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: all .15s; font-family: var(--font);
}
.cmp-personas button:hover, .cmp-chips button:hover { border-color: var(--emerald-600); color: var(--emerald-600); transform: translateY(-1px); }
.cmp-personas button.active, .cmp-chips button.active { background: var(--emerald-600); border-color: var(--emerald-600); color: #fff; box-shadow: 0 3px 10px rgba(16,185,129,.3); }
.cmp-filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cmp-search { border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: .88rem; flex: 1 1 200px; min-width: 160px; font-family: var(--font); }
.cmp-search:focus { outline: 2px solid var(--emerald-600); outline-offset: 1px; }
.cmp-spend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-top: 1px dashed var(--border); padding-top: 12px; }
.cmp-spend label { font-size: .9rem; color: var(--ink-soft); }
.cmp-spend b { color: var(--emerald-600); }
.cmp-spend input[type="range"] { flex: 1 1 220px; accent-color: var(--emerald-600); max-width: 320px; }
.cmp-hint { width: 100%; font-size: .78rem; color: var(--muted); margin: 0; }
.cmp-count { font-size: .85rem; color: var(--ink-soft); margin: 0; border-top: 1px dashed var(--border); padding-top: 10px; }
.cmp-reset { background: none; border: none; color: var(--emerald-600); font-weight: 800; cursor: pointer; font-size: .85rem; padding: 0; font-family: var(--font); }
.cmp-reset:hover { text-decoration: underline; }
.cmp-table th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.cmp-table th.sortable:hover { color: var(--emerald-600); }
.cmp-table th.sortable::after { content: " ⇅"; font-size: .75rem; color: var(--muted); }
.cmp-table th.sorted.asc::after { content: " ▲"; color: var(--emerald-600); }
.cmp-table th.sorted.desc::after { content: " ▼"; color: var(--emerald-600); }
.cmp-est { display: block; margin-top: 4px; font-size: .8rem; font-weight: 800; color: var(--emerald-600); }
.cmp-badge { display: inline-block; margin-left: 6px; background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; border-radius: 999px; padding: 1px 8px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.cmp-card .cmp-badge { margin-left: 0; }

/* ---------- Bande simulateur (home) ---------- */
.sim-band {
  background:
    radial-gradient(600px 300px at 90% -30%, rgba(52, 211, 153, .28), transparent 60%),
    linear-gradient(135deg, #064e3b 0%, #0f1b2d 72%);
  border-radius: 22px; padding: 32px 34px 76px; margin: 34px 0 0;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.sim-band::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--emerald-400), var(--gold-400));
}
.sim-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; position: relative; z-index: 1; }
.sim-band-text h2 { color: #fff; font-size: 1.6rem; margin: 8px 0 6px; font-family: var(--display); }
.sim-band-text p { color: #c8d6e8; margin: 0; font-size: .98rem; }
.sim-band .badge.outil { background: rgba(16,185,129,.2); color: #6ee7b7; }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }

/* ---------- Carte outil en vedette (simulateur) ---------- */
.card-featured {
  border-color: var(--emerald-500) !important; box-shadow: 0 10px 34px rgba(16,185,129,.18);
  background: linear-gradient(160deg, #ffffff, #f0fdfa);
}
.card-featured .badge.outil { background: rgba(16,185,129,.16); color: var(--emerald-700); }

/* ---------- Bannière cookies v2 + modal de préférences (RGPD) ---------- */
#fp-cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 999;
  background: rgba(255, 255, 255, .97); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 18px 60px rgba(15,27,45,.22); padding: 16px; max-width: 520px; margin: 0 auto;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(14px);
}
@media (min-width: 640px) { #fp-cookie-banner { left: 24px; right: auto; bottom: 24px; } }
@media (max-width: 480px) {
  #fp-cookie-banner { padding: 13px 14px; border-radius: 14px; }
  .fp-cookie-actions { gap: 7px; }
  .fp-btn { padding: 9px 14px; font-size: .84rem; flex: 1; text-align: center; }
}
.fp-cookie-content p { margin: 0 0 6px; }
.fp-cookie-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.fp-btn {
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  padding: 10px 18px; border-radius: 10px; font-weight: 600;
  font-size: .9rem; cursor: pointer; font-family: var(--font);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.fp-btn:hover { border-color: var(--emerald-600); transform: translateY(-1px); }
.fp-btn-primary {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,.3);
}
.fp-btn-primary:hover { box-shadow: var(--glow); }

/* Modal préférences */
.fp-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; }
.fp-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 17, 32, .6); backdrop-filter: blur(4px); }
.fp-modal-card {
  position: relative; background: #fff; border-radius: 18px; padding: 26px;
  max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.fp-modal-card h2 { margin: 0 0 6px; font-size: 1.2rem; color: var(--ink); font-family: var(--display); }
.fp-pref-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--border);
}
.fp-pref-text p { margin: 4px 0 0; font-size: .84rem; color: var(--ink-soft); }
.fp-pref-always { font-size: .8rem; font-weight: 700; color: var(--emerald-600); white-space: nowrap; }
.fp-switch { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.fp-switch input { opacity: 0; width: 0; height: 0; }
.fp-switch span {
  position: absolute; inset: 0; background: #cbd5e1; border-radius: 26px;
  transition: background .2s; cursor: pointer;
}
.fp-switch span::before {
  content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.fp-switch input:checked + span { background: var(--emerald-600); }
.fp-switch input:checked + span::before { transform: translateX(22px); }
.fp-switch input:focus-visible + span { outline: 2px solid var(--emerald-600); outline-offset: 2px; }
