/*
 * R2H — Documentation de style
 * Fichier : assets/css/public.css
 * Périmètre : Socle historique du site public : header/footer, sections, cartes, widgets et auth.
 * Cascade / précautions : Après design-system.css ; complété par public-theme.css ; footer/logo partagés à préserver.
 * Référence : docs/GUIDE_DEVELOPPEUR.md ; CONTRIBUTING.md
 * Signature du projet : @admin-zaloria
 */
/* ============================================================
   R2H — Site public (vitrine)
   ============================================================ */

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow var(--dur), border-color var(--dur), background var(--dur);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); background: rgba(255,255,255,.94); }
[data-theme="dark"] .site-header { background: rgba(31,35,40,.88); }
[data-theme="dark"] .site-header.scrolled { background: rgba(24,27,31,.94); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand .brand-logo-img { height: 42px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .main-nav .nav-item > a {
  padding: 8px 13px; border-radius: var(--radius-sm); color: var(--text);
  font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.main-nav > a:hover, .main-nav .nav-item > a:hover { color: var(--primary); background: var(--primary-50); }
.main-nav a.on { color: var(--primary); background: var(--primary-50); }
.nav-item { position: relative; }
.nav-item > .nav-top {
  padding: 8px 13px; border-radius: var(--radius-sm); color: var(--text);
  font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-item > .nav-top:hover, .nav-item.on > .nav-top { color: var(--primary); background: var(--primary-50); }
.nav-item-end .nav-drop { left: auto; right: 0; }
.nav-item .caret { width: 12px; height: 12px; transition: transform var(--dur); }
.nav-item:hover .caret { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all var(--dur) var(--ease); z-index: 120;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a {
  display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--text); font-weight: 500;
}
.nav-drop a .i { width: 16px; height: 16px; color: var(--primary); flex: none; }
.nav-drop a:hover { background: var(--primary-50); color: var(--primary-600); }
.nav-drop .drop-title { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 8px 12px 4px; }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.burger { display: none; }
.nav-mobile-account { display: none !important; }

/* Bouton de recherche — visuel commun à tous les en-têtes publics. */
.site-header .header-cta a.provider-button {
  width: auto; min-width: 0; min-height: 42px; padding: 10px 18px; gap: 8px;
  border: 1px solid var(--primary); border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 14px; line-height: 1.4; font-weight: 650; letter-spacing: 0;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 13%, transparent);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.site-header .header-cta a.provider-button .i { width: 16px; height: 16px; flex: none; }
.site-header .header-cta a.provider-button:hover {
  background: var(--primary-600); border-color: var(--primary-600); color: #fff;
  box-shadow: 0 7px 17px color-mix(in srgb, var(--primary) 21%, transparent);
  transform: translateY(-1px);
}


/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; padding: 84px 0 96px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(65,105,226,.13), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(73,197,193,.14), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, var(--bg) 100%);
}
[data-theme="dark"] .hero { background:
  radial-gradient(900px 480px at 85% -10%, rgba(65,105,226,.2), transparent 60%),
  radial-gradient(700px 420px at -10% 110%, rgba(73,197,193,.12), transparent 55%),
  var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  font-size: var(--fs-xs); font-weight: 600; color: var(--primary-600); margin-bottom: 22px;
}
.hero-badge .i { width: 14px; height: 14px; }
.hero h1 {
  font-size: var(--fs-hero); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 20px;
}
.hero h1 .hl { color: var(--primary); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; z-index: -1;
  background: var(--primary-100); border-radius: 6px; transform: rotate(-.6deg);
}
[data-theme="dark"] .hero h1 .hl::after { background: rgba(65,105,226,.35); }
.hero .lede { font-size: var(--fs-lg); color: var(--muted); max-width: 540px; margin-bottom: 30px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.hero-trust .i { width: 15px; height: 15px; color: var(--secondary-600); }

/* Hero visual : illustration vectorielle + carte dashboard */
.hero-visual { position: relative; min-height: 520px; }
.hv-art { position: relative; z-index: 1; width: min(500px, 100%); margin: 0 auto; }
.hv-art svg { width: 100%; height: auto; display: block; }


/* ---------- SECTIONS GÉNÉRIQUES ---------- */
.section { padding: 84px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-dark { background: var(--ink); color: #c9d1da; }
.section-dark h2, .section-dark h3, .section-dark .sec-title { color: #fff; }
.section-blue {
  position: relative; overflow: hidden; color: #e8edfd;
  background:
    radial-gradient(920px 500px at 90% -12%, rgba(73,197,193,.30), transparent 62%),
    radial-gradient(760px 460px at -10% 118%, rgba(255,255,255,.14), transparent 58%),
    linear-gradient(135deg, #2f4db4 0%, var(--primary-600) 46%, #4a79e8 100%);
}
.section-blue::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(105deg, transparent 34%, #000 80%);
  mask-image: linear-gradient(105deg, transparent 34%, #000 80%);
}
.section-blue .container { position: relative; }
.mob-visual { position: absolute; top: 40px; right: 4%; width: min(270px, 26%); pointer-events: none; z-index: 0; }
.mob-visual svg { width: 100%; height: auto; display: block; }
.section-blue h2 { color: #fff; }
.section-blue .sec-head p { color: rgba(232,237,253,.88); }
.sec-head { max-width: 660px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.sec-eyebrow .i { width: 15px; height: 15px; }
.section-blue .sec-eyebrow {
  color: #7fe3df; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 13px; border-radius: 999px; backdrop-filter: blur(3px);
}
/* Stats "glass" en fond bleu */
.section-blue .stat {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius-lg); padding: 26px 18px 22px; text-align: center;
  backdrop-filter: blur(4px); transition: background .22s ease, transform .22s ease, border-color .22s ease;
}
.section-blue .stat:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.34); transform: translateY(-3px); }
.section-blue .stat-ic {
  background: rgba(255,255,255,.16); color: #fff; margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
}
.section-blue .stat .v { color: #fff; font-size: 2.15rem; }
.section-blue .stat .v .u { color: #7fe3df; }
.section-blue .stat .l { color: rgba(232,237,253,.78); }
.section-blue .btn-white {
  background: #fff; color: var(--primary-700); font-weight: 700;
  box-shadow: 0 12px 28px rgba(16,24,40,.24);
}
.section-blue .btn-white:hover {
  background: #fff; color: var(--primary-700); transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16,24,40,.3);
}
.section-blue .btn-white .i { width: 17px; height: 17px; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.02em; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: var(--fs-md); }
.section-dark .sec-head p { color: #9aa4b1; }

/* Marquee pays / partenaires */
.marquee { overflow: hidden; position: relative; padding: 26px 0; border-block: 1px solid var(--border); background: var(--surface); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--faint); font-size: var(--fs-sm); white-space: nowrap; }

/* Stats band */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f7faff 0%, var(--surface) 60%);
  border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
}
.stats-band::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary) 55%, #6a5ae0);
}
.stat { text-align: center; padding: 38px 20px 32px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.stat-ic {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  margin: 0 auto 16px; transition: transform .25s ease;
}
.stat-ic .i { width: 20px; height: 20px; }
.stat:hover .stat-ic { transform: translateY(-3px) scale(1.05); }
.stat-ic.si-blue { background: var(--primary-50); color: var(--primary-600); box-shadow: inset 0 0 0 1px rgba(65,105,226,.16); }
.stat-ic.si-teal { background: var(--secondary-50); color: var(--secondary-600); box-shadow: inset 0 0 0 1px rgba(47,163,160,.16); }
.stat-ic.si-violet { background: var(--violet-50); color: var(--violet); box-shadow: inset 0 0 0 1px rgba(122,92,240,.16); }
.stat-ic.si-green { background: var(--success-50); color: var(--success); box-shadow: inset 0 0 0 1px rgba(31,157,103,.16); }
.stat .v { font-size: 2.45rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat .v .u { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.stat .l { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: .07em; }

/* Module grid */
.module-card {
  --mc: var(--primary); --mc-bg: var(--primary-50);
  display: flex; flex-direction: column; gap: 11px; height: 100%;
}
.module-card.teal { --mc: var(--secondary-600); --mc-bg: var(--secondary-50); }
.module-card.violet { --mc: var(--violet); --mc-bg: var(--violet-50); }
.module-card.amber { --mc: var(--warning); --mc-bg: var(--warning-50); }
.module-card.green { --mc: var(--success); --mc-bg: var(--success-50); }
.module-card.red { --mc: var(--danger); --mc-bg: var(--danger-50); }
.module-card.info { --mc: var(--info); --mc-bg: var(--info-50); }
.module-card .m-ic {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--mc-bg); color: var(--mc);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mc) 18%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
}
.module-card .m-ic .i { width: 23px; height: 23px; }
.module-card h3 { font-size: var(--fs-md); margin: 0; transition: color .25s ease; }
.module-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0; flex: 1; }
.module-card .m-num {
  font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--faint);
  display: inline-flex; align-items: center; gap: 7px; transition: color .25s ease;
}
.module-card .m-num::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--mc); opacity: .35; transition: opacity .25s ease, width .25s ease; }
.card:hover .module-card .m-ic {
  transform: translateY(-3px) scale(1.06);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mc) 30%, transparent), 0 10px 22px -10px color-mix(in srgb, var(--mc) 65%, transparent);
}
.card:hover .module-card h3 { color: var(--mc); }
.card:hover .module-card .m-num { color: var(--mc); }
.card:hover .module-card .m-num::after { opacity: .8; width: 30px; }
.card:has(.module-card.teal):hover { border-color: var(--secondary-100); }
.card:has(.module-card.violet):hover { border-color: var(--violet-50); }
.card:has(.module-card.amber):hover { border-color: var(--warning-50); }
.card:has(.module-card.green):hover { border-color: var(--success-50); }
.card:has(.module-card.red):hover { border-color: var(--danger-50); }
.card:has(.module-card.info):hover { border-color: var(--info-50); }

/* Recherche prestataires (vitrine) */
.search-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); padding: 24px; position: relative; overflow: hidden;
}
.search-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary) 55%, #6a5ae0);
}
.search-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr auto; gap: 12px; align-items: stretch; }
.search-grid .input, .search-grid .select {
  height: 48px; padding: 0 13px; font-size: 14px; line-height: 48px;
}
.search-grid .select { line-height: 46px; padding-right: 38px; }
.search-grid .btn { height: 48px; padding: 0 24px; line-height: 1; display: inline-flex; align-items: center; }
.search-results { margin-top: 24px; }
.search-results .sr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.search-results .sr-head #sr-count-info { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.search-results .sr-head b { color: var(--ink); font-size: var(--fs-md); }
.sr-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-600); font-weight: 700; font-size: var(--fs-sm); transition: gap .2s ease; }
.sr-link .i { width: 14px; height: 14px; transition: transform .2s ease; }
.sr-link:hover { gap: 10px; }

.provider-card {
  --pc: var(--primary);
  display: flex; gap: 16px; align-items: center; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
  margin-bottom: 12px; transition: all .22s ease; position: relative;
}
.provider-card::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  border-radius: 0 4px 4px 0; background: var(--pc); opacity: 0; transition: opacity .22s ease;
}
.provider-card:hover {
  border-color: color-mix(in srgb, var(--pc) 40%, var(--border));
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.provider-card:hover::before { opacity: 1; }
.provider-card.t-hopital { --pc: var(--primary); }
.provider-card.t-clinique { --pc: var(--secondary-600); }
.provider-card.t-pharmacie { --pc: var(--success); }
.provider-card.t-labo { --pc: var(--violet); }
.provider-card.t-medecin { --pc: var(--warning); }
.provider-card.t-tele { --pc: var(--info); }
.provider-card .p-ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--pc) 10%, var(--surface)); color: var(--pc);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 22%, transparent);
  transition: transform .22s ease;
}
.provider-card .p-ic .i { width: 24px; height: 24px; }
.provider-card:hover .p-ic { transform: scale(1.07); }
.provider-card .p-main { flex: 1; min-width: 0; }
.provider-card .p-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.provider-card h4 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.provider-card .p-rate {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800;
  color: var(--warning); white-space: nowrap;
}
.provider-card .p-rate .i { width: 13px; height: 13px; fill: currentColor; }
.provider-card .p-rate small { color: var(--muted); font-weight: 600; font-size: 11px; }
.provider-card .p-meta { font-size: var(--fs-xs); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.provider-card .p-meta span { display: inline-flex; align-items: center; gap: 6px; }
.provider-card .p-meta .i { width: 13px; height: 13px; opacity: .7; }
.provider-card .p-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.provider-card .pb {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; letter-spacing: .01em;
}
.provider-card .pb .i { width: 11px; height: 11px; }
.provider-card .pb-green { background: var(--success-50); color: var(--success); box-shadow: inset 0 0 0 1px rgba(31,157,103,.22); }
.provider-card .pb-blue { background: var(--primary-50); color: var(--primary-600); box-shadow: inset 0 0 0 1px rgba(65,105,226,.2); }
.provider-card .pb-amber { background: var(--warning-50); color: var(--warning); box-shadow: inset 0 0 0 1px rgba(217,154,26,.28); }
.provider-card .pb-slate { background: var(--surface-3); color: var(--muted); }
.provider-card .p-right { margin-left: auto; display: flex; align-items: center; flex: none; }
.provider-card .p-cta {
  display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: 700;
  color: var(--primary-600); background: var(--primary-50); border: 1px solid transparent;
  border-radius: 11px; padding: 10px 15px; text-decoration: none; white-space: nowrap; transition: all .2s ease;
}
.provider-card .p-cta .i { width: 14px; height: 14px; transition: transform .2s ease; }
.provider-card .p-cta:hover {
  background: var(--primary); color: #fff; transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.provider-card .p-cta:hover .i { transform: translateX(3px); }

/* Carte santé vitrine (3D tilt) */
.healthcard-stage { perspective: 1200px; display: grid; place-items: center; }
.healthcard {
  width: min(430px, 92%); aspect-ratio: 1.586; border-radius: 18px; position: relative;
  background: linear-gradient(130deg, #3a5cd0 0%, var(--primary) 45%, #4d7cf0 78%, #6f8ff5 100%);
  color: #fff; padding: 22px 24px; box-shadow: 0 24px 60px rgba(47,79,180,.4);
  transform-style: preserve-3d; transition: transform .5s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.healthcard::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(340px 200px at 85% -20%, rgba(255,255,255,.25), transparent 60%),
              radial-gradient(300px 220px at -10% 120%, rgba(73,197,193,.35), transparent 60%);
}
.healthcard::after { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; border: 34px solid rgba(255,255,255,.07); }
.healthcard > * { position: relative; }
.hc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hc-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .02em; font-size: var(--fs-sm); }
.hc-brand img { height: 30px; }
.hc-chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #ffd76e, #e8b83a); position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.hc-chip::after { content: ""; position: absolute; inset: 6px 5px; border-radius: 3px; border: 1px solid rgba(0,0,0,.25); }
.hc-mid { font-size: 11px; letter-spacing: .14em; opacity: .85; font-weight: 600; }
.hc-number { font-family: var(--font-mono); font-size: 1.18rem; letter-spacing: .12em; margin-top: 4px; }
.hc-bot { display: flex; justify-content: space-between; align-items: flex-end; }
.hc-name b { display: block; font-size: var(--fs-md); letter-spacing: .04em; }
.hc-name span { font-size: 10.5px; opacity: .8; display: block; letter-spacing: .06em; }
.hc-plan { font-size: 10px; font-weight: 700; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 4px 10px; border-radius: var(--pill); letter-spacing: .08em; }
.hc-qr {
  width: 74px; height: 74px; background: #fff; border-radius: 10px; padding: 7px; flex: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.hc-qr svg { width: 100%; height: 100%; }
.healthcard.back-face { background: linear-gradient(130deg, #2c3e8f 0%, #3a55c4 60%, #4a70e0 100%); }
.hc-flip { position: relative; width: min(430px, 92%); aspect-ratio: 1.586; perspective: 1200px; }
.hc-flip .face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 18px; }
.hc-flip.flipped .face-front { transform: rotateY(180deg); }
.hc-flip .face-back { transform: rotateY(180deg); }

/* Parcours tabs */
.journey { display: grid; grid-template-columns: 330px 1fr; gap: 40px; align-items: start; }
.journey .j-opts { display: flex; flex-direction: column; gap: 10px; }
.journey .j-opt {
  display: flex; gap: 13px; align-items: center; padding: 13px 15px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; width: 100%;
  font-weight: 700; font-size: var(--fs-sm); color: var(--ink); transition: all .2s ease;
}
.journey .j-opt .j-oi {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--surface-2); color: var(--muted); transition: all .22s ease;
}
.journey .j-opt .j-oi .i { width: 19px; height: 19px; }
.journey .j-opt:hover { border-color: var(--primary-300); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.journey .j-opt.on {
  border-color: var(--primary); color: var(--primary-700);
  background: linear-gradient(135deg, var(--primary-50), var(--surface) 75%);
  box-shadow: var(--shadow-sm);
}
.journey .j-opt.on .j-oi { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.j-steps { display: grid; gap: 14px; position: relative; }
.j-steps[hidden] { display: none; }
.j-steps::before {
  content: ""; position: absolute; left: 42px; top: 46px; bottom: 46px; width: 2px;
  background: linear-gradient(180deg, var(--primary-300), var(--secondary)); opacity: .38; border-radius: 2px;
}
.j-step {
  position: relative; z-index: 1; display: flex; gap: 18px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all .22s ease;
}
.j-step:hover { border-color: var(--primary-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.j-step .n {
  width: 42px; height: 42px; flex: none; border-radius: 13px;
  display: grid; place-items: center; font-weight: 800; font-size: var(--fs-sm); color: #fff;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  box-shadow: 0 6px 14px -4px rgba(65,105,226,.55);
}
.j-step b { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: var(--fs-md); margin-bottom: 5px; }
.j-step .j-si {
  width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary); transition: all .2s ease;
}
.j-step .j-si .i { width: 15px; height: 15px; }
.j-step:hover .j-si { transform: scale(1.12); background: var(--primary); color: #fff; }
.j-step p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }

/* Programmes bien-être */
.well-list { display: grid; gap: 10px; }
.wl-item {
  --wc: var(--primary); --wc-bg: var(--primary-50);
  display: flex; align-items: center; gap: 13px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 13px; background: var(--surface);
  transition: all .2s ease;
}
.wl-red { --wc: var(--danger); --wc-bg: var(--danger-50); }
.wl-blue { --wc: var(--primary); --wc-bg: var(--primary-50); }
.wl-violet { --wc: var(--violet); --wc-bg: var(--violet-50); }
.wl-amber { --wc: var(--warning); --wc-bg: var(--warning-50); }
.wl-item:hover {
  border-color: color-mix(in srgb, var(--wc) 40%, var(--border));
  background: color-mix(in srgb, var(--wc) 4%, var(--surface));
  transform: translateX(4px);
}
.wl-ic {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--wc-bg); color: var(--wc);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wc) 20%, transparent);
  transition: transform .22s ease;
}
.wl-ic .i { width: 19px; height: 19px; }
.wl-item:hover .wl-ic { transform: scale(1.1) rotate(-5deg); }
.wl-t { flex: 1; min-width: 0; }
.wl-t b { display: block; font-size: var(--fs-sm); color: var(--ink); }
.wl-t small { font-size: 11px; color: var(--muted); font-weight: 600; }
.wl-count {
  flex: none; display: inline-flex; align-items: baseline; gap: 5px;
  font-size: var(--fs-xs); font-weight: 800; color: var(--wc);
  background: var(--wc-bg); border-radius: 999px; padding: 6px 12px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wc) 22%, transparent);
}
.wl-count small { font-size: 10px; font-weight: 600; color: var(--muted); }

/* Télémédecine mock */
.video-mock { background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
[data-theme="dark"] .video-mock { background: #101317; border: 1px solid var(--border); }
.vm-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: var(--fs-xs); color: #9aa4b1; }
.vm-head .rec { display: inline-flex; gap: 7px; align-items: center; color: #ff8484; font-weight: 700; }
.vm-head .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff5252; animation: pulseSoft 1.4s infinite; }
.vm-body { position: relative; height: 320px; background:
  radial-gradient(500px 300px at 50% 40%, rgba(65,105,226,.25), transparent 70%), #171b21;
  display: grid; place-items: center; }
.vm-doctor { width: 220px; height: 220px; border-radius: 50%; background: linear-gradient(145deg, #35509e, #4a70e0); display: grid; place-items: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.vm-doctor::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(73,197,193,.4); animation: ping 2.4s ease-out infinite; }
.vm-doctor .avatar { width: 110px; height: 110px; font-size: 1.6rem; background: rgba(255,255,255,.14); backdrop-filter: blur(2px); }
.vm-you { position: absolute; right: 18px; bottom: 74px; width: 118px; height: 148px; border-radius: 12px; background: linear-gradient(160deg, #2b3550, #3a4a75); border: 2px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.vm-chat { position: absolute; left: 18px; bottom: 74px; width: 200px; display: grid; gap: 7px; }
.vm-chat .msg { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #dfe6f2; font-size: 11px; padding: 7px 10px; border-radius: 10px; animation: fadeUp .6s var(--ease) both; }
.vm-chat .msg.you { background: rgba(65,105,226,.35); align-self: flex-end; }
.vm-controls { display: flex; justify-content: center; gap: 12px; padding: 14px; background: rgba(0,0,0,.35); }
.vm-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: all var(--dur); }
.vm-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }
.vm-btn.off { background: rgba(255,255,255,.25); }
.vm-btn.end { background: var(--danger); width: 56px; }
.vm-btn .i { width: 18px; height: 18px; }

/* Santé connectée mock */
.device-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.device-row + .device-row { margin-top: 10px; }
.device-row .d-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex: none; }
.device-row .d-ic .i { width: 19px; height: 19px; }
.device-row b { font-size: var(--fs-sm); color: var(--ink); display: block; }
.device-row span { font-size: var(--fs-xs); color: var(--muted); }
.device-row .d-status { margin-left: auto; }

/* Sécurité */
.sec-compliance .iso-chip {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); text-align: center;
}
.sec-compliance .iso-chip .i { width: 26px; height: 26px; color: var(--secondary); margin: 0 auto; }
.sec-compliance .iso-chip b { color: #fff; font-size: var(--fs-sm); }
.sec-compliance .iso-chip span { font-size: var(--fs-xs); color: #8f99a6; }

/* Témoignages */
.quote-card { position: relative; height: 100%; }
.quote-card .q-mark { font-size: 3.4rem; line-height: 1; color: var(--primary-100); font-family: Georgia, serif; position: absolute; top: 14px; right: 20px; }
.quote-card p { font-size: var(--fs-sm); color: var(--text); min-height: 118px; }
.quote-card .q-who { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.quote-card .q-who b { display: block; font-size: var(--fs-sm); color: var(--ink); }
.quote-card .q-who span { font-size: var(--fs-xs); color: var(--muted); }

/* FAQ */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.accordion-item {
  --fq: var(--primary); --fq-bg: var(--primary-50);
  position: relative; border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--fq) 6%, var(--surface)) 0%, var(--surface) 45%);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.accordion-item:nth-child(2) { --fq: var(--secondary-600); --fq-bg: var(--secondary-50); }
.accordion-item:nth-child(3) { --fq: var(--violet); --fq-bg: var(--violet-50); }
.accordion-item:nth-child(4) { --fq: var(--warning); --fq-bg: var(--warning-50); }
.accordion-item:nth-child(5) { --fq: var(--success); --fq-bg: var(--success-50); }
.accordion-item:nth-child(6) { --fq: var(--danger); --fq-bg: var(--danger-50); }
.accordion-item::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--fq), transparent 78%);
  opacity: 0; transition: opacity .3s ease;
}
.accordion-item::after {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 0; border-radius: 0 4px 4px 0; background: var(--fq);
  transition: height .3s ease;
}
.accordion-item:hover {
  border-color: color-mix(in srgb, var(--fq) 45%, var(--border));
  box-shadow: var(--shadow-md); transform: translateX(4px);
}
.accordion-item[open] {
  border-color: color-mix(in srgb, var(--fq) 45%, var(--border));
  box-shadow: var(--shadow-md);
}
.accordion-item:hover::before, .accordion-item[open]::before { opacity: 1; }
.accordion-item[open]::after { height: 62%; }
.accordion-item summary {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item .q-ic {
  width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--fq-bg); color: var(--fq);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fq) 20%, transparent);
  transition: all .28s ease;
}
.accordion-item .q-ic .i { width: 20px; height: 20px; }
.accordion-item:hover .q-ic, .accordion-item[open] .q-ic {
  background: var(--fq); color: #fff; transform: scale(1.07);
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--fq) 60%, transparent);
}
.accordion-item .q-chev {
  margin-left: auto; width: 36px; height: 36px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); color: var(--muted);
  transition: all .3s ease;
}
.accordion-item .q-chev .i { width: 17px; height: 17px; }
.accordion-item:hover .q-chev { background: var(--fq-bg); color: var(--fq); }
.accordion-item[open] .q-chev { transform: rotate(180deg); background: var(--fq); color: #fff; }
.accordion-item .acc-body {
  padding: 0 22px 22px 84px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.7;
  animation: acc-in .3s ease;
}
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-cta { text-align: center; margin-top: 30px; color: var(--muted); font-size: var(--fs-sm); }

/* CTA final */
.cta-final { padding: 90px 0; }
.cta-box {
  border-radius: var(--radius-xl); padding: 92px 48px 78px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2f4fb4 0%, var(--primary) 50%, #4a79e8 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 260px at 80% 0%, rgba(73,197,193,.3), transparent 60%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta-box p { color: #d5defa; max-width: 560px; margin: 0 auto 28px; }
.cta-box .btn-secondary { background: #fff; color: var(--primary-700); }
.cta-box .btn-secondary:hover { background: #eef2fd; }
.cta-box .btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cta-box .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- FOOTER PUBLIC PARTAGÉ ---------- */
/* Même composition que la référence ; fond bleu nuit repris de l'accueil. */
.site-footer {
  background: #06264c; color: #aab7c7; padding: 64px 0 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13.84px; line-height: 1.6; color-scheme: dark;
}
.site-footer > .container { width: 100%; max-width: 1220px; padding-inline: 22px; }
.site-footer .footer-grid h2 {
  color: #fff; font-family: inherit; font-size: 12.5px; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin: 0 0 16px;
}
.site-footer a { color: #aab7c7; display: block; padding: 4px 0; font-size: 13.84px; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer a:focus-visible { outline: 2px solid #80e5df; outline-offset: 4px; border-radius: 4px; }
.site-footer .footer-grid a { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; }
.site-footer .footer-grid a .i {
  width: 15px; height: 15px; flex: none; color: #49c5c1; opacity: .9;
  transition: transform .2s ease, color .2s ease;
}
.site-footer .footer-grid a:hover .i { color: #fff; transform: translateX(2px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 34px; padding-bottom: 44px; }
.footer-grid > div { min-width: 0; }
.footer-brand p { font-size: 12.5px; line-height: 1.65; margin: 14px 0 0; max-width: 280px; color: #aab7c7; }
.footer-brand .fb-logo { display: block; height: 34px; width: auto; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a.fs {
  width: 40px; height: 40px; border-radius: 12px; padding: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11);
  display: grid; place-items: center; color: #49c5c1; transition: all .22s ease;
}
.footer-social a.fs .brand-i { width: 17px; height: 17px; transition: transform .22s ease; }
.footer-social a.fs:hover { color: #fff; transform: translateY(-3px); border-color: transparent; }
.footer-social a.fs:hover .brand-i { transform: scale(1.18); }
.footer-social a.fs-li:hover { background: #0a66c2; box-shadow: 0 9px 20px -7px rgba(10,102,194,.65); }
.footer-social a.fs-x:hover { background: #fff; color: #0f1419; box-shadow: 0 9px 20px -7px rgba(255,255,255,.4); }
.site-footer .footer-social a.fs-x:hover .brand-i { color: #0f1419; }
.footer-social a.fs-fb:hover { background: #1877f2; box-shadow: 0 9px 20px -7px rgba(24,119,242,.65); }
.footer-social a.fs-ig:hover { background: linear-gradient(45deg, #f09433, #dc2743 45%, #bc1888); box-shadow: 0 9px 20px -7px rgba(220,39,67,.6); }
.footer-social a.fs-yt:hover { background: #ff0000; box-shadow: 0 9px 20px -7px rgba(255,0,0,.6); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px;
}
.footer-bottom .fb-links { display: flex; gap: 18px; }
.footer-bottom a { display: inline; padding: 0; font-size: 12.5px; }
.footer-proto {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%; flex-wrap: wrap;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 5px 12px; border-radius: 999px; font-size: 11px; color: #c4cfdd;
}
.footer-proto .i { width: 12px; height: 12px; flex: none; color: #49c5c1; }

/* ---------- PAGES INTÉRIEURES ---------- */
.page-hero {
  padding: 72px 0 56px; position: relative; overflow: hidden;
  background:
    radial-gradient(700px 360px at 90% -30%, rgba(65,105,226,.12), transparent 60%),
    radial-gradient(500px 300px at 0% 130%, rgba(73,197,193,.1), transparent 55%),
    linear-gradient(180deg, #f7f9fc, var(--bg));
}
[data-theme="dark"] .page-hero { background: radial-gradient(700px 360px at 90% -30%, rgba(65,105,226,.18), transparent 60%), var(--bg); }
.page-hero .crumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero .crumbs .i { width: 11px; height: 11px; }
.page-hero h1 { font-size: clamp(1.65rem, 2.85vw, 2.3rem); max-width: 720px; margin-bottom: 14px; }
.page-hero .lede { max-width: 640px; color: var(--muted); font-size: var(--fs-md); }
.page-hero .ph-actions, .abx-hero .ph-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-visual { overflow: hidden; }
.page-hero-visual h1 { max-width: 640px; }
.page-hero-visual .container { position: relative; }
.ph-visual { position: absolute; top: 50%; right: 22px; transform: translateY(-52%); width: min(330px, 30%); pointer-events: none; }
.ph-visual svg { width: 100%; height: auto; display: block; }
@media (max-width: 1120px) { .ph-visual { display: none; } }

/* Liste simple (public) — ex. Feuille de route technique */
.list-simple { display: grid; gap: 8px; }
.list-simple .ls-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); font-size: var(--fs-xs); transition: border-color .2s ease, transform .2s ease;
}
.list-simple .ls-item:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); transform: translateX(3px); }
.list-simple .ls-item .i { width: 17px; height: 17px; color: var(--primary); flex: none; }
.list-simple .ls-item b { color: var(--ink); font-weight: 700; }
.list-simple .ls-item .right { margin-left: auto; text-align: right; flex: none; }

/* ---------- Recherche publique : icône à l'intérieur du champ ---------- */
.toolbar { display: grid; gap: 12px; align-items: start; }
.toolbar > .spacer { display: none; }
.toolbar > .btn { justify-self: start; }
.t-search { position: relative; }
.t-search [data-icon] {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  display: flex; color: var(--muted); pointer-events: none;
}
.t-search [data-icon] .i { width: 18px; height: 18px; }
.t-search .input { width: 100%; height: 44px; padding-left: 42px; }

/* ---------- Pays couverts : entête cartographie ---------- */
.pays-head-sec { padding-bottom: 0; }
.pays-head { text-align: center; max-width: 780px; margin-inline: auto; }
.pays-head .sec-eyebrow { justify-content: center; }
.pays-head h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; margin: 0 0 14px; }
.pays-sub { color: var(--text); font-size: 15px; line-height: 1.65; max-width: 620px; margin: 0 auto 26px; }
.pays-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.pays-legend .lg { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.pays-legend .lg i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.pays-legend .lg-active i { background: var(--primary); box-shadow: 0 0 0 4px var(--primary-100); }
.pays-legend .lg-pending i { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-50); }
.pays-legend .lg-diaspora i { background: var(--violet); box-shadow: 0 0 0 4px var(--violet-50); }
.pays-stats { display: flex; justify-content: center; gap: 58px; margin-top: 32px; }
.pays-stats b { display: block; font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.pays-stats span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- Pays couverts : carte du monde animée ---------- */
.pays-world-card { padding: 0; }
.pays-world-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 24px 0; }
.pays-world-head h3 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
.pays-world-hint { font-size: 12.5px; color: var(--muted); }
.world-map { width: 100%; height: auto; display: block; margin: 10px; }
.wm-grat { stroke: rgba(65,105,226,.10); stroke-width: .6; fill: none; }
.wm-land { fill: url(#wm-land); stroke: #c9d3e0; stroke-width: .5; }
.wm-country { fill: url(#wm-hl); fill-opacity: .88; stroke: #fff; stroke-width: .7; cursor: pointer; opacity: 0; transition: fill-opacity .25s ease; }
.wm-country:hover, .wm-country.on { fill-opacity: 1; }
.wm-arc { fill: none; stroke: var(--violet); stroke-width: 1; stroke-dasharray: .02 .018; stroke-linecap: round; opacity: 0; pointer-events: none; }
.wm-dot { cursor: pointer; opacity: 0; }
.wm-hit { fill: none; pointer-events: all; }
.wm-dot .wm-halo { fill: var(--primary); opacity: .16; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.wm-dot .wm-core { fill: var(--primary); stroke: #fff; stroke-width: .8; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.wm-tag { pointer-events: none; opacity: 0; transform-box: fill-box; transform-origin: center; transition: transform .2s ease; }
.wm-tag rect { fill: var(--surface); stroke: var(--border); stroke-width: .7; filter: drop-shadow(0 .8px 1.8px rgba(31,35,40,.2)); }
.wm-tag .wm-flag { font-size: 9px; }
.wm-tag .wm-code { font: 800 6.6px var(--font-main); fill: var(--ink); letter-spacing: .03em; }
.wm-dot:hover .wm-core, .wm-dot.on .wm-core { transform: scale(1.45); }
.wm-dot:hover .wm-tag, .wm-dot.on .wm-tag { transform: scale(1.12); }
.wm-dot.wm-diaspora .wm-halo { fill: var(--violet); }
.wm-dot.wm-diaspora .wm-core { fill: var(--violet); }
.wm-dot.wm-pending .wm-halo { fill: var(--warning); }
.wm-dot.wm-pending .wm-core { fill: var(--warning); }
.wm-zones { opacity: 0; }
.wm-zone { font: 700 10px var(--font-main); fill: var(--primary); letter-spacing: .02em; paint-order: stroke; stroke: var(--surface); stroke-width: 1.8px; stroke-linejoin: round; }
.wm-zone-line { stroke: var(--primary-300); stroke-width: .7; fill: none; stroke-dasharray: 2 1.6; opacity: .8; pointer-events: none; }
.wm-zone { pointer-events: none; }
.country-card-hl { border-color: var(--primary-300) !important; box-shadow: 0 0 0 3px rgba(65,105,226,.14), var(--shadow-sm) !important; }

/* Animations (déclenchées par .reveal → .in) */
@keyframes wm-fadein { from { opacity: 0; } }
@keyframes wm-pop { from { transform: scale(0); } }
@keyframes wm-tagin { from { opacity: 0; transform: scale(.4); } }
@keyframes wm-flow { to { stroke-dashoffset: -.076; } }
@keyframes wm-pulse { 0% { transform: scale(.55); opacity: .3; } 70%,100% { transform: scale(2); opacity: 0; } }
.pays-world-card.in .wm-country { opacity: 1; }
.pays-world-card.in .wm-dots .wm-dot { opacity: 1; animation: wm-fadein .4s ease backwards; animation-delay: var(--d); }
.pays-world-card.in .wm-dots .wm-dot .wm-core { transform: scale(1); animation: wm-pop .55s cubic-bezier(.34,1.56,.64,1) backwards; animation-delay: var(--d); }
.pays-world-card.in .wm-dots .wm-dot .wm-tag { opacity: 1; animation: wm-tagin .5s cubic-bezier(.34,1.56,.64,1) backwards; animation-delay: calc(var(--d) + .12s); }
.pays-world-card.in .wm-dot .wm-halo { animation: wm-pulse 2.8s ease-out 2.8s infinite; }
.pays-world-card.in .wm-countries .wm-country { animation: wm-fadein .5s ease backwards; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(1) { animation-delay: .2s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(2) { animation-delay: .26s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(3) { animation-delay: .32s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(4) { animation-delay: .38s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(5) { animation-delay: .44s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(6) { animation-delay: .5s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(7) { animation-delay: .56s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(8) { animation-delay: .62s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(9) { animation-delay: .68s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(10) { animation-delay: .74s; }
.pays-world-card.in .wm-countries .wm-country:nth-of-type(11) { animation-delay: .8s; }
.pays-world-card.in .wm-arc { animation: wm-fadein .5s ease 1.9s backwards, wm-flow 2.4s linear 2.4s infinite; }
.pays-world-card.in .wm-zones { opacity: 1; animation: wm-fadein .8s ease 2.2s backwards; }
@media (prefers-reduced-motion: reduce) {
  .world-map * { animation: none !important; transition: none !important; }
  .world-map .wm-dot, .world-map .wm-country, .world-map .wm-arc, .world-map .wm-zones { opacity: 1 !important; }
  .world-map .wm-dot .wm-core, .world-map .wm-dot .wm-tag { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 719px) {
  .wm-zones { display: none; }
  .world-map { overflow: visible; margin: 10px; }
  .wm-tag .wm-flag { font-size: 10.5px; }
  .wm-tag .wm-code { font-size: 7.5px; }
  .wm-dot .wm-core { r: 4.2; }
  .wm-dot .wm-halo { r: 9.5; }
  .wm-country { stroke-width: 1; }
  .pays-world-hint { display: none; }
}

/* ---------- Pays couverts : table des taux ---------- */
.fx-card { max-width: 860px; margin-inline: auto; overflow: hidden; }
.fx-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px 16px; }
.fx-head .fx-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50)); color: var(--primary); }
.fx-head .fx-ic .i { width: 22px; height: 22px; }
.fx-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.fx-head p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.fx-head .badge { margin-left: auto; flex: none; }
.fx-tbl .fx-code { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; padding: 5px 10px;
  border-radius: 9px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--fc); background: color-mix(in srgb, var(--fc) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--fc) 26%, transparent); }
.fx-tbl .fx-base-badge { margin-left: 9px; vertical-align: 1px; }
.fx-tbl .fx-name { font-weight: 600; color: var(--ink); }
.fx-tbl .fx-sym { margin-left: 8px; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.fx-tbl .fx-rate { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--ink); }
.fx-tbl tr.fx-base { background: var(--primary-50); }
.fx-tbl tr.fx-base:hover { background: var(--primary-50) !important; }
.fx-tbl tr.fx-base .fx-rate { color: var(--primary); }

/* ---------- Entreprises : section portail RH ---------- */
#ent-portal .fr-visual { overflow: visible; }
.ent-list li { gap: 14px; padding: 13px 14px; border: 1px solid transparent; border-radius: 14px; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.ent-list li:hover { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.ent-list .el-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--c, var(--primary)) 10%, transparent); color: var(--c, var(--primary)); }
.ent-list .el-ic .i { width: 19px; height: 19px; color: var(--c, var(--primary)); margin-top: 0; }
.ent-list .el-tx b { display: block; color: var(--ink); font-size: 14px; }
.ent-list .el-tx span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.ent-panel { padding: 24px; background: radial-gradient(140% 100% at 100% 0%, rgba(65,105,226,.05), transparent 45%), var(--surface); }
.ent-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.ent-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--primary-700), var(--secondary-600)); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.ent-tt { flex: 1; min-width: 0; }
.ent-tt h3 { margin: 0; font-size: 15.5px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ent-head .badge { flex: none; }
.ent-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ent-kpi { display: flex; gap: 11px; align-items: center; padding: 13px 14px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ent-kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.ek-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.ek-ic .i { width: 18px; height: 18px; }
.ek-ic.tint-blue { background: var(--primary-50); color: var(--primary); }
.ek-ic.tint-green { background: var(--success-50); color: var(--success); }
.ek-ic.tint-teal { background: var(--secondary-50); color: var(--secondary-600); }
.ek-ic.tint-violet { background: var(--violet-50); color: var(--violet); }
.ek-l { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ek-v { font-size: 17px; font-weight: 800; color: var(--ink); margin-top: 2px; line-height: 1; }
.ek-v small { font-size: 10.5px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.ent-chart { margin-top: 12px; padding: 14px 14px 12px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); }
.ent-chart-tt { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.ent-chart-tt b { color: var(--ink); font-size: 13px; }
.ent-bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.ent-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #8ea6f0, #4169e2); opacity: .72; transition: opacity .2s ease; }
.ent-bars i:hover { opacity: 1; }
.ent-bars i.hi { background: linear-gradient(180deg, #a78bfa, var(--violet)); opacity: 1; }
.ent-float { position: absolute; left: -16px; bottom: -18px; display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px 9px 10px;
  box-shadow: var(--shadow-md); font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ef-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--success-50); color: var(--success); flex: none; }
.ef-ic .i { width: 15px; height: 15px; }
@media (max-width: 719px) {
  .ent-tt h3 { white-space: normal; }
  .ent-float { left: 14px; bottom: -14px; }
}

/* Stepper (adhesion) — mobile */
@media (max-width: 480px) {
  .stepper .step .step-n { width: 28px; height: 28px; font-size: 12px; }
  .stepper .step .step-l { font-size: 11px; }
  .stepper .step .step-line { flex: 1; width: auto; min-width: 12px; margin: 0 6px; }
}

/* ---------- Mobilité : timeline « Comment ça marche » ---------- */
.mob-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.mob-steps li { position: relative; display: flex; gap: 15px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; }
.mob-steps li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 56px; bottom: -10px; width: 2px; background: var(--border); }
.mob-steps .ms-ic { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--c, var(--primary)) 10%, transparent); color: var(--c, var(--primary)); transition: transform .25s ease; }
.mob-steps .ms-ic .i { width: 19px; height: 19px; }
.mob-steps li:hover .ms-ic { transform: scale(1.08); }
.mob-steps .ms-n { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c, var(--primary)); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--bg); }
.mob-steps .ms-tx { padding-top: 1px; }
.mob-steps .ms-tx b { display: block; font-size: 14px; color: var(--ink); }
.mob-steps .ms-tx span { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.mob-trips .card-head .badge { margin-left: auto; }
.mob-trips .mt-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--primary-50); color: var(--primary); }
.mob-trips .mt-ic .i { width: 18px; height: 18px; }
.mob-trips .card-head h3 { margin-right: auto; }

/* ---------- Mobilité : corridors actifs ---------- */
.corridor-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 16px;
  border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.corridor-card:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); transform: translateY(-3px); }
.cc-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cc-side.end { flex-direction: row-reverse; text-align: right; }
.cc-flag { font-size: 23px; line-height: 1; flex: none; }
.cc-name { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-arrow { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(73, 197, 193, .18); color: var(--secondary); }
.cc-arrow .i { width: 15px; height: 15px; }

/* ---------- Assurance santé ---------- */
.plans-head { margin-bottom: 36px; }
.guar-card { overflow: hidden; }
.guar-head { display: flex; align-items: center; gap: 13px; padding: 20px 22px 0; }
.guar-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--primary-50); color: var(--primary); }
.guar-tt { flex: 1; min-width: 0; }
.guar-tt h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.guar-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.guar-head .badge { flex: none; }
.guar-tbl .g-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; }
.guar-tbl .gd-0 { background: var(--primary); }
.guar-tbl .gd-1 { background: var(--secondary-600); }
.guar-tbl .gd-2 { background: var(--violet); }
.guar-tbl .gd-3 { background: var(--warning); }
.guar-tbl .gd-4 { background: var(--success); }
.guar-tbl .rate-pill { display: inline-block; padding: 3px 11px; border-radius: var(--pill); font-weight: 700; font-size: 12.5px;
  background: var(--primary-50); color: var(--primary); }
.guar-tbl .rate-pill.max { background: var(--success-50); color: var(--success); }
/* Plafond restant */
.lim-panel { padding: 24px; background: radial-gradient(140% 100% at 100% 0%, rgba(65,105,226,.05), transparent 45%), var(--surface); }
.lim-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--primary-50); color: var(--primary); }
.lim-body { display: flex; align-items: center; gap: 20px; }
.lim-donut { width: 148px; height: 148px; flex: none; }
.lim-donut svg { width: 100% !important; height: 100% !important; max-width: 100% !important; }
.lim-stats { flex: 1; display: grid; gap: 10px; min-width: 0; }
.lim-stat { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface-2); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lim-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.lim-chart { margin-top: 16px; padding: 14px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); }
.lim-bars { display: grid; gap: 11px; margin-top: 10px; }
.lim-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.lb-name { width: 116px; flex: none; display: flex; align-items: center; gap: 7px; color: var(--text); font-weight: 600; }
.lb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--primary)); flex: none; }
.lb-track { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.lb-track span { display: block; height: 100%; border-radius: 4px; }
.lim-bar b { width: 38px; text-align: right; flex: none; color: var(--ink); }
@media (max-width: 560px) {
  .lim-body { flex-direction: column; }
  .lim-stats { width: 100%; }
  .lb-name { width: 94px; font-size: 12px; }
  .lim-panel { padding: 18px; }
}

/* ---------- Remboursements ---------- */
.rm-stats .rm-stat, .tp-stats .tp-stat, .tm-stats .tm-stat, .ps-stats .ps-stat { display: flex; align-items: center; gap: 15px; padding: 20px 22px;
  border: 1px solid var(--border); border-radius: 15px; background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.rm-stats .rm-stat:hover, .tp-stats .tp-stat:hover, .tm-stats .tm-stat:hover, .ps-stats .ps-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.tp-stats .tp-stat:hover .rs-ic, .tm-stats .tm-stat:hover .rs-ic, .ps-stats .ps-stat:hover .rs-ic { transform: scale(1.08) rotate(-4deg); }
.rs-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none;
  transition: transform .25s ease; }
.rm-stats .rm-stat:hover .rs-ic { transform: scale(1.08) rotate(-4deg); }
.rs-ic .i { width: 21px; height: 21px; }
.rs-ic.tint-blue { background: var(--primary-50); color: var(--primary); }
.rs-ic.tint-teal { background: var(--secondary-50); color: var(--secondary-600); }
.rs-ic.tint-violet { background: var(--violet-50); color: var(--violet); }
.rs-ic.tint-green { background: var(--success-50); color: var(--success); }
.rs-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rs-v { font-size: 27px; font-weight: 800; color: var(--ink); line-height: 1.05; letter-spacing: -.02em;
  display: flex; align-items: baseline; }
.rs-v .u { font-size: 15px; font-weight: 700; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.rs-l { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
/* Parcours : cartes numérotées */
.rm-card { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.rm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.rm-card .rm-ghost { position: absolute; top: -18px; right: 2px; font-size: 96px; font-weight: 800; line-height: 1;
  color: color-mix(in srgb, var(--rc, var(--primary)) 9%, transparent); pointer-events: none; }
.rm-card > * { position: relative; }
.rm-card .m-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.rm-card .m-ic .i { width: 22px; height: 22px; }
.rm-card .rm-ic-blue { background: var(--primary-50); color: var(--primary); }
.rm-card .rm-ic-teal { background: var(--secondary-50); color: var(--secondary-600); }
.rm-card .rm-ic-green { background: var(--success-50); color: var(--success); }
.rm-card .alert { margin-top: 14px; }

/* ---------- Réseau de soins : barre d'outils (recherche + 2 selects sur 1 ligne) ---------- */
.dir-toolbar { background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 14px; box-shadow: var(--shadow-xs); }
.dtb-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: stretch; }
.dtb-grid .t-search .input, .dtb-grid .select { width: 100%; height: 44px; }
.dtb-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.dtb-row .spacer { flex: 1; }
.dtb-row .check { font-size: var(--fs-xs); font-weight: 600; color: var(--text); }
@media (max-width: 900px) { .dtb-grid { grid-template-columns: 1fr; } }
/* Liste compacte */
#dir-list.compact .dir-item { padding: 12px 16px; }
#dir-list.compact .dir-item .p-meta { display: none; }
/* Fiche détaillée (alignée visuellement sur le design des popups R2H) */
.dir-detail { position: relative; padding: 22px; overflow: hidden; animation: dirFadeIn .22s ease; }
.dir-detail::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3.5px; background: var(--grad-primary); }
@keyframes dirFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.rt-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 14px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%); border: 1px solid var(--primary-100); }
[data-theme="dark"] .rt-head { background: linear-gradient(135deg, rgba(47,91,234,.14) 0%, rgba(16,185,160,.1) 100%); border-color: rgba(111,148,248,.24); }
.rt-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; box-shadow: var(--shadow-xs); }
.rt-ic .i { width: 24px; height: 24px; }
.rt-ic.rt-blue { background: var(--surface); color: var(--primary); border: 1px solid var(--primary-100); }
.rt-ic.rt-green { background: var(--surface); color: var(--success); border: 1px solid var(--success-100); }
.rt-ic.rt-teal { background: var(--surface); color: var(--secondary-600); border: 1px solid var(--secondary-100); }
.rt-ic.rt-violet { background: var(--surface); color: var(--violet); border: 1px solid var(--border); }
.rt-title { min-width: 0; }
.rt-title .big { font-size: var(--fs-md); line-height: 1.3; }
.rt-addr { display: flex; align-items: center; gap: 5px; font-size: var(--fs-xs); color: var(--muted); margin-top: 4px; }
.rt-addr .i { width: 13px; height: 13px; flex: none; }
.rt-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.rt-sec { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 8px; }
.rt-sec-mt { margin-top: 16px; }
.rt-chips { margin-bottom: 6px; }
.rt-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.rt-kv > div { padding: 11px 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; transition: border-color .15s ease, transform .15s ease; }
.rt-kv > div:hover { border-color: var(--primary-200); transform: translateY(-1px); }
.rt-kv .k { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 3px; }
.rt-kv .v { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.rt-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rt-actions .btn { flex: 1; min-width: 130px; justify-content: center; }
.rt-note { font-size: 11px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------- Centre d'aide ---------- */
.help-search { max-width: 620px; margin-top: 10px; }
.help-search .input { width: 100%; height: 52px; border-radius: 15px; font-size: var(--fs-sm); box-shadow: var(--shadow-md); }
.help-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.help-chips .hc-lead { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.hp-chip { border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .18s ease; }
.hp-chip:hover { border-color: var(--primary-300); color: var(--primary); background: var(--primary-50); transform: translateY(-1px); }
.help-card { position: relative; overflow: hidden; display: block; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.help-card .h-ic { transition: transform .25s ease; }
.help-card:hover .h-ic { transform: scale(1.1) rotate(-4deg); }
.hc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.hc-count { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 999px; }
.hc-arrow { color: var(--primary); font-weight: 800; transition: transform .2s ease; }
.help-card:hover .hc-arrow { transform: translateX(4px); }
.faq-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.faq-layout .faq-list { max-width: none; }
.support-card { position: sticky; top: 90px; border-radius: 22px; padding: 26px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--primary-700), var(--primary-500) 55%, var(--secondary-600));
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 14px; }
.support-card::before { content: ""; position: absolute; top: -70px; right: -60px; width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); z-index: -1; }
.support-card::after { content: ""; position: absolute; bottom: -50px; left: -55px; width: 170px; height: 170px; border-radius: 50%;
  background: rgba(255,255,255,.08); z-index: -1; }
.sc-mark { position: absolute; right: 8px; bottom: -26px; font-size: 128px; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.07); z-index: -1; pointer-events: none; }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sc-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); }
.sc-ic .i { width: 25px; height: 25px; }
.sc-status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .03em;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; }
.sc-status, .sc-status span { color: #fff; }
.sc-status i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: sc-pulse 2.2s ease-out infinite; }
@keyframes sc-pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.45); } 70% { box-shadow: 0 0 0 7px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.support-card h3 { font-size: var(--fs-md); margin: 0; line-height: 1.3; color: #fff; }
.support-card p { font-size: var(--fs-xs); color: rgba(255,255,255,.88); margin: 0; line-height: 1.6; }
.sc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-mini > div { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); border-radius: 13px; }
.sc-mini b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.sc-mini span { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .05em; }
.sc-list { display: grid; gap: 8px; margin: 2px 0 4px; }
.sc-list > div { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 9px 11px;
  transition: background .2s ease, transform .2s ease; }
.sc-list > div { color: #fff; }
.sc-list > div:hover { background: rgba(255,255,255,.18); transform: translateX(3px); }
.sc-li-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.16); }
.sc-li-ic .i { width: 14px; height: 14px; }
.sc-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px;
  background: #fff; color: var(--primary-700); border: 0; font-weight: 700; }
.sc-cta .i { width: 15px; height: 15px; transition: transform .2s ease; }
.sc-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,35,40,.3); }
.sc-cta:hover .i { transform: translateX(3px); }
@media (max-width: 980px) { .faq-layout { grid-template-columns: 1fr; } .support-card { position: static; } }

/* ---------- Télémédecine : cartes médecins ---------- */
.tm-doc { display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tm-doc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.doc-top { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.doc-top .avatar.lg { flex: none; }
.doc-spec { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.doc-meta { display: flex; gap: 5px 14px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 16px; }
.doc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.doc-meta .i { width: 12px; height: 12px; flex: none; }
.doc-cta { margin-top: auto; }

/* ---------- Prestataires : types, avantages, parcours ---------- */
.ps-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px; transition: transform .25s ease; }
.ps-ic .i { width: 22px; height: 22px; }
.ps-ic.tint-blue { background: var(--primary-50); color: var(--primary); }
.ps-ic.tint-teal { background: var(--secondary-50); color: var(--secondary-600); }
.ps-ic.tint-violet { background: var(--violet-50); color: var(--violet); }
.ps-ic.tint-green { background: var(--success-50); color: var(--success); }
.ps-benefit { padding: 24px; }
.ps-benefit h3 { font-size: 15.5px; letter-spacing: -.01em; margin-bottom: 6px; color: var(--ink); }
.ps-benefit:hover .ps-ic, .card-hover:hover .ps-ic { transform: scale(1.08) rotate(-4deg); }
.ps-steps { display: grid; gap: 22px; margin-top: 26px; }
.ps-step { display: grid; grid-template-columns: 56px 40px 1fr; gap: 16px; align-items: flex-start; }
.ps-num { font-size: 40px; font-weight: 800; line-height: 1; color: rgba(65,105,226,.14); letter-spacing: -.03em; }
.ps-step .ps-ic { width: 40px; height: 40px; border-radius: 11px; margin: 0; background: var(--primary-50); color: var(--primary); }
.ps-step .ps-ic .i { width: 19px; height: 19px; }
.ps-step b { display: block; font-size: 15px; letter-spacing: -.01em; margin-bottom: 4px; }
.ps-step p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.ps-cond { padding: 30px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-2); box-shadow: var(--shadow-sm); }
.ps-cond h3 { font-size: var(--fs-md); letter-spacing: -.01em; margin-bottom: 16px; }
.ps-cond .feature-list { margin-top: 0; gap: 13px; }
@media (max-width: 980px) { .ps-step { grid-template-columns: 40px 40px 1fr; gap: 12px; } .ps-num { font-size: 30px; } }

/* ---------- courtiers.html — exemples de commission ---------- */
.brk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 6px; }
.brk-cx { position: relative; overflow: hidden; padding: 24px; margin: 0; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.brk-cx:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.brk-cx::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.brk-cur { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.brk-cur .i { width: 15px; height: 15px; color: var(--primary); }
.brk-prem { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.brk-prem strong { display: block; margin-top: 3px; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.brk-row { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--muted); }
.brk-row strong { display: block; margin-top: 2px; font-size: 16.5px; letter-spacing: -.01em; color: var(--success); }
.brk-row-2 strong { color: var(--primary); }
.brk-note { margin-top: 18px; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) { .brk-cards { grid-template-columns: 1fr; } }

/* ---------- about.html — briques de la plateforme ---------- */
.ab-pillar { position: relative; padding: 24px; margin: 0; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ab-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.ab-pillar h3 { font-size: 15.5px; letter-spacing: -.01em; margin-bottom: 6px; color: var(--ink); }
.ab-pillar:hover .ps-ic { transform: scale(1.08) rotate(-4deg); }
.ab-chip { position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; color: var(--primary); background: var(--primary-50); border: 1px solid rgba(65,105,226,.18); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ab-stats-note { margin-top: 16px; text-align: center; font-size: 12px; color: var(--muted); }
.ab-local { padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-2); box-shadow: var(--shadow-sm); }
.ab-local h3 { font-size: var(--fs-md); letter-spacing: -.01em; margin-bottom: 14px; }
.ab-local .ab-big { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--primary); }
.ab-local .ab-big-l { margin-top: 4px; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 18px; }
.ab-local .feature-list { margin-top: 0; gap: 13px; font-size: var(--fs-sm); }

/* ---------- about.html — engagement (design capture) ---------- */
.abx-hero { background: linear-gradient(160deg, #d9e6fc 0%, #ecf2fe 55%, #f7faff 100%); padding: 66px 0 60px; }
.abx-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid rgba(65,105,226,.28); color: var(--primary); font-size: 12.5px; font-weight: 700; letter-spacing: .01em; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.abx-badge .i { width: 15px; height: 15px; }
.abx-hero h1 { font-size: clamp(1.85rem, 3.3vw, 2.55rem); letter-spacing: -.025em; color: #1b2a5e; line-height: 1.12; }
.abx-lede { margin-top: 14px; color: #4a5878; max-width: 52ch; }
.abx-hero-art svg { width: 100%; max-width: 430px; height: auto; display: block; margin-left: auto; filter: drop-shadow(0 18px 34px rgba(65,105,226,.16)); }
.abx-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.abx-mv-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 34px; border-radius: 20px; background: linear-gradient(165deg, #ffffff 62%, #f2f6ff); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, border-color .25s ease; }
.abx-mv-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.abx-mv-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.abx-mv-card::after { content: ""; position: absolute; top: -70px; right: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(65,105,226,.10), transparent 70%); pointer-events: none; }
.abx-mv-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px; }
.abx-mv-ic .i { width: 24px; height: 24px; }
.abx-mv-ic.tint-blue { background: var(--primary-50); color: var(--primary); }
.abx-mv-ic.tint-teal { background: var(--secondary-50); color: var(--secondary-600); }
.abx-mv-card h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 12px; }
.abx-lead { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.abx-mv-chips { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.abx-chipx { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; box-shadow: var(--shadow-sm); }
.abx-chipx .i { width: 14px; height: 14px; color: var(--primary); }
.abx-values { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.abx-values li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; transition: transform .2s ease, border-color .2s ease; }
.abx-values li:hover { transform: translateY(-2px); border-color: rgba(23,160,110,.4); }
.abx-values .i { width: 17px; height: 17px; color: var(--success); flex: none; }

/* ---------- about.html — grille de stats ---------- */
.abx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.abx-stat { position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.abx-stat::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--sc), transparent 85%); }
.abx-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.abx-stat:hover .rs-ic { transform: scale(1.08) rotate(-4deg); }
.abx-stat .rs-ic { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px; }
.abx-stat .rs-ic .i { width: 23px; height: 23px; }
.abx-stat .rs-v { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.abx-stat .rs-l { margin-top: 7px; font-size: 13px; color: var(--muted); }
.abx-stat.s-blue { --sc: var(--primary); }
.abx-stat.s-teal { --sc: var(--secondary-600); }
.abx-stat.s-violet { --sc: var(--violet); }
.abx-stat.s-green { --sc: var(--success); }
.section-team { background: linear-gradient(180deg, #e9f0fd, #f4f8ff); }
.abx-team { display: grid; gap: 14px; }
.abx-team-card { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.abx-team-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.abx-team-card .ps-ic { width: 42px; height: 42px; border-radius: 11px; margin: 0; }
.abx-team-card b { display: block; font-size: 14.5px; letter-spacing: -.01em; margin-bottom: 3px; }
.abx-team-card p { margin: 0; font-size: 12.5px; color: var(--muted); }
.abx-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 38px 30px; border-radius: 22px; background: linear-gradient(120deg, #1c2b6b, #3450b8); color: #fff; box-shadow: var(--shadow-md); text-align: center; }
.abx-band-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14); margin: 0 auto 12px; color: #cfe0ff; }
.abx-band .v { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.abx-band .l { margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,.75); }
@media (max-width: 980px) {
  .abx-hero-art { display: none; }
  .abx-mv { grid-template-columns: 1fr; gap: 20px; }
  .abx-stats { grid-template-columns: repeat(2, 1fr); }
  .abx-band { grid-template-columns: repeat(2, 1fr); }
  .abx-team { max-width: 560px; }
}
@media (max-width: 520px) { .abx-values { grid-template-columns: 1fr; } .abx-stats .rs-v { font-size: 28px; } .abx-band { grid-template-columns: 1fr 1fr; padding: 28px 20px; } .abx-band .v { font-size: 26px; } .abx-mv-card { padding: 26px 22px; } }

/* ---------- Cartes modules (features) ---------- */
#modules-grid { margin-top: 24px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { #modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { #modules-grid { grid-template-columns: 1fr; } }
#modules-grid .mod-card { position: relative; overflow: hidden; padding: 20px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
#modules-grid .mod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
#modules-grid .mod-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mc), transparent 85%);
  opacity: 0; transition: opacity .25s ease;
}
#modules-grid .mod-card:hover::before { opacity: 1; }
.mod-card.cat-couverture { --mc: var(--primary); --mc-bg: var(--primary-50); }
.mod-card.cat-soins { --mc: var(--secondary-600); --mc-bg: var(--secondary-50); }
.mod-card.cat-argent { --mc: var(--warning); --mc-bg: var(--warning-50); }
.mod-card.cat-infra { --mc: var(--violet); --mc-bg: var(--violet-50); }
.mod-ghost {
  position: absolute; top: 8px; right: 14px; font-size: 58px; font-weight: 800; line-height: 1;
  letter-spacing: -.05em; color: color-mix(in srgb, var(--mc) 15%, #edf1f7);
  user-select: none; pointer-events: none; transition: color .25s ease, transform .25s ease;
}
#modules-grid .mod-card:hover .mod-ghost { color: color-mix(in srgb, var(--mc) 26%, #edf1f7); transform: translateY(-2px); }
.mod-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mc); color: #fff; margin-bottom: 16px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--mc) 32%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
}
#modules-grid .mod-card:hover .mod-ic { transform: scale(1.07) rotate(-4deg); box-shadow: 0 10px 22px color-mix(in srgb, var(--mc) 42%, transparent); }
.mod-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.mod-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; color: var(--mc); }
.mod-cat i { width: 6px; height: 6px; border-radius: 50%; background: var(--mc); flex: none; }
.mod-status { font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 7px; white-space: nowrap; flex: none; }
.mod-status.s-prod { color: var(--violet); background: var(--violet-50); }
.mod-status.s-soon { color: var(--warning); background: var(--warning-50); }
#modules-grid .mod-card h3 { font-size: 15px; line-height: 1.32; color: var(--ink); margin-bottom: 8px; min-height: 40px; }
.mod-desc { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0 0 14px; flex: 1; }
.mod-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary); }
.mod-link .i { width: 13px; height: 13px; transition: transform .2s ease; }
#modules-grid .mod-card:hover .mod-link .i { transform: translateX(4px); }

/* Pilules de filtre : pastille de couleur par catégorie */
#mod-filters .chip { gap: 8px; }
#mod-filters .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--muted)); flex: none; }
#mod-filters .chip-couverture { --dot: var(--primary); }
#mod-filters .chip-soins { --dot: var(--secondary-600); }
#mod-filters .chip-argent { --dot: var(--warning); }
#mod-filters .chip-infra { --dot: var(--violet); }
#mod-filters .chip.active { color: #fff; }
#mod-filters .chip.active::before { background: #fff; }
#mod-filters .chip-couverture.active { background: var(--primary); border-color: var(--primary); }
#mod-filters .chip-soins.active { background: var(--secondary-600); border-color: var(--secondary-600); }
#mod-filters .chip-argent.active { background: var(--warning); border-color: var(--warning); }
#mod-filters .chip-infra.active { background: var(--violet); border-color: var(--violet); }

/* Journal « mode dégradé » (solutions) */
.sync-log { margin-top: 2px; }
.sync-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.sync-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.sync-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.sync-ic .i { width: 16px; height: 16px; }
.sync-ic.si-amber { background: var(--warning-50); color: var(--warning); }
.sync-ic.si-blue { background: var(--primary-50); color: var(--primary); }
.sync-ic.si-green { background: var(--success-50); color: var(--success); }
.sync-txt { flex: 1; min-width: 0; }
.sync-txt .t { font-size: var(--fs-xs); font-weight: 700; color: var(--ink); display: block; }
.sync-txt small { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }
.sync-log .chip { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; flex: none; margin-top: 2px; white-space: nowrap; }
.chip-ok { color: var(--success); background: var(--success-50); border: 1px solid color-mix(in srgb, var(--success) 28%, transparent); }
.chip-wait { color: var(--warning); background: var(--warning-50); border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent); }
.v7-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 11px; font-weight: 600; color: var(--muted); }

/* Timeline remboursement (solutions) */
.v9-sub { font-size: 11px; font-weight: 600; color: var(--muted); margin: -6px 0 14px; }
.rj-step { display: flex; align-items: flex-start; gap: 12px; position: relative; padding-bottom: 17px; }
.rj-step:last-child { padding-bottom: 2px; }
.rj-step:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--border); }
.rj-dot { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; background: var(--primary-50); color: var(--primary-600); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.rj-step:last-child .rj-dot { background: var(--success); color: #fff; border-color: transparent; }
.rj-body { flex: 1; min-width: 0; padding-top: 1px; }
.rj-body b { font-size: var(--fs-xs); color: var(--ink); display: block; }
.rj-body small { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; }
.rj-time { font-size: 10px; font-weight: 700; color: var(--primary-600); background: var(--primary-50); padding: 3px 8px; border-radius: 999px; flex: none; margin-top: 3px; white-space: nowrap; }
.rj-step:last-child .rj-time { color: var(--success); background: var(--success-50); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-row + .feature-row { margin-top: 72px; }
.feature-row.rev .fr-visual { order: -1; }
.feature-row h3 { font-size: var(--fs-xl); margin-bottom: 12px; }
.feature-row p { color: var(--muted); }
.feature-list { margin-top: 20px; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text); }
.feature-list .i { width: 17px; height: 17px; color: var(--secondary-600); flex: none; margin-top: 3px; }
.fr-visual { border-radius: var(--radius-xl); overflow: hidden; position: relative; }
.fr-visual .fr-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 22px; }

.pricing-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.pricing-card .p-name { font-size: var(--fs-lg); font-weight: 700; color: var(--ink); }
.pricing-card .p-desc { font-size: var(--fs-xs); color: var(--muted); min-height: 32px; }
.pricing-card .p-price { font-size: 1.9rem; font-weight: 800; color: var(--ink); margin: 14px 0 2px; }
.pricing-card .p-price small { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.pricing-card ul { display: grid; gap: 9px; margin: 18px 0 24px; flex: 1; }
.pricing-card li { display: flex; gap: 9px; font-size: var(--fs-sm); color: var(--text); }
.pricing-card li .i { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 3px; }
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.pricing-card .p-head { display: flex; align-items: center; gap: 13px; }
.pricing-card .p-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.pricing-card .p-ic .i { width: 22px; height: 22px; }
.pricing-card .p-ic.tint-teal { background: var(--secondary-50); color: var(--secondary-600); }
.pricing-card .p-ic.tint-blue { background: var(--primary-50); color: var(--primary); }
.pricing-card .p-ic.tint-violet { background: var(--violet-50); color: var(--violet); }
.pricing-card .p-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--secondary-600)); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .02em; padding: 4px 14px; border-radius: var(--pill); white-space: nowrap; box-shadow: var(--shadow-sm); }

.news-card { display: flex; flex-direction: column; height: 100%; }
.news-card .n-img { aspect-ratio: 16/9; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary-100), var(--secondary-100)); display: grid; place-items: center; color: var(--primary); margin-bottom: 16px; overflow: hidden; }
.news-card .n-img .i { width: 42px; height: 42px; }
.news-card .n-tag { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--primary); margin-bottom: 7px; }
.news-card h3 { font-size: var(--fs-md); margin-bottom: 7px; }
.news-card p { font-size: var(--fs-sm); color: var(--muted); flex: 1; }
.news-card .n-meta { font-size: var(--fs-xs); color: var(--faint); display: flex; align-items: center; gap: 12px; margin-top: 12px; }
a.news-card { color: inherit; text-decoration: none; }
.news-card .n-body { display: flex; flex-direction: column; flex: 1; }
.news-card h3 { transition: color .2s ease; }
a.news-card:hover h3 { color: var(--primary); }
.news-card .n-img .i { transition: transform .3s ease; }
a.news-card:hover .n-img .i { transform: scale(1.15) rotate(-4deg); }
.news-card .n-meta > span:first-child { display: inline-flex; align-items: center; gap: 5px; }
.news-card .n-more { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--primary); font-weight: 600; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease; white-space: nowrap; }
a.news-card:hover .n-more, a.news-card:focus-visible .n-more { opacity: 1; transform: none; }
@media (max-width: 640px) { .news-card .n-more { opacity: 1; transform: none; } }

/* ---------- actualite.html — page détail ---------- */
.an-wrap { max-width: 1080px; }
.an-back { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 14px; margin-bottom: 26px; text-decoration: none; }
.an-back:hover { text-decoration: underline; }
.an-back .i { width: 16px; height: 16px; }
.an-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.an-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.an-kicker-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.an-kicker-tag.an-b-blue { background: var(--primary-50); color: var(--primary); }
.an-kicker-tag.an-b-teal { background: var(--secondary-50); color: var(--secondary-600); }
.an-kicker-tag.an-b-violet { background: var(--violet-50); color: var(--violet); }
.an-kicker-tag.an-b-green { background: var(--success-50); color: var(--success); }
.an-article h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.an-lede { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.an-banner { height: 230px; border-radius: 20px; display: grid; place-items: center; position: relative; overflow: hidden; margin-bottom: 28px; }
.an-banner::before { content: ""; position: absolute; top: -80px; right: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.35); }
.an-banner::after { content: ""; position: absolute; bottom: -70px; left: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.25); }
.an-banner-ic { width: 86px; height: 86px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; position: relative; z-index: 1; }
.an-banner-ic .i { width: 40px; height: 40px; color: var(--primary); }
.an-banner.an-b-blue { background: linear-gradient(135deg, var(--primary-100), var(--primary-50)); }
.an-banner.an-b-teal { background: linear-gradient(135deg, var(--secondary-100), var(--secondary-50)); }
.an-banner.an-b-teal .an-banner-ic .i { color: var(--secondary-600); }
.an-banner.an-b-violet { background: linear-gradient(135deg, #d9d0f9, var(--violet-50)); }
.an-banner.an-b-violet .an-banner-ic .i { color: var(--violet); }
.an-banner.an-b-green { background: linear-gradient(135deg, #cdeede, var(--success-50)); }
.an-banner.an-b-green .an-banner-ic .i { color: var(--success); }
.an-body p { font-size: 15.5px; line-height: 1.75; color: #3d4a63; margin: 0 0 16px; }
.an-pull { border-left: 3px solid var(--primary); background: var(--primary-50); padding: 16px 20px; border-radius: 0 12px 12px 0; font-size: 16px; font-weight: 600; color: var(--ink); margin: 20px 0; }
.an-author { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--border); margin-top: 28px; }
.an-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; letter-spacing: .02em; }
.an-author b { display: block; font-size: 14px; }
.an-author div span { font-size: 12px; color: var(--muted); }
.an-side { display: grid; gap: 18px; position: sticky; top: 86px; }
.an-side-card { padding: 22px; margin: 0; }
.an-side-card h3 { font-size: var(--fs-md); margin-bottom: 14px; }
.an-mini { display: flex; gap: 12px; align-items: flex-start; padding: 11px 10px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .2s ease; }
.an-mini:hover { background: var(--surface-2); }
.an-mini-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.an-mini-ic .i { width: 17px; height: 17px; }
.an-mini-tag { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.an-mini-t { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.an-mini:hover .an-mini-t { color: var(--primary); }
.an-side-nl { background: linear-gradient(160deg, #eef3fe, #f7faff); }
.an-side-nl p { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
@media (max-width: 980px) { .an-layout { grid-template-columns: 1fr; } .an-side { position: static; } .an-banner { height: 180px; } }

/* Pays couverts */
.country-card { display: flex; align-items: center; gap: 14px; padding: 17px 18px; }
.country-card .c-flag { width: 42px; height: 30px; border-radius: 6px; flex: none; box-shadow: var(--shadow-xs); }
.country-card b { display: block; color: var(--ink); font-size: var(--fs-sm); }
.country-card span { font-size: var(--fs-xs); color: var(--muted); }
.country-card .c-badge { margin-left: auto; flex: none; }

/* FAQ page + help */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { text-align: left; padding: 22px; }
.help-card .h-ic { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: var(--primary-50); color: var(--primary); margin-bottom: 14px; }
.help-card .h-ic .i { width: 20px; height: 20px; }
.help-card h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.help-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 12px; }

/* Formulaires publics */
.form-card { max-width: 680px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.consent-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; font-size: var(--fs-xs); color: var(--muted); }

/* Vérification carte */
.verify-card { max-width: 560px; margin-inline: auto; text-align: center; }
.verify-steps { display: flex; justify-content: center; gap: 8px; margin: 26px 0 34px; }
.verify-steps .vstep { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; color: var(--faint); }
.verify-steps .vstep .n { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; }
.verify-steps .vstep.done { color: var(--success); }
.verify-steps .vstep.done .n { border-color: var(--success); background: var(--success); color: #fff; }
.verify-steps .vstep.on { color: var(--primary); }
.verify-steps .vstep.on .n { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.verify-steps .vline { width: 26px; height: 2px; background: var(--border); align-self: center; }

/* Legal */
.legal { max-width: 820px; font-family: var(--font-doc); }
.legal h2 { font-size: var(--fs-xl); margin-top: 40px; }
.legal h3 { font-size: var(--fs-md); margin-top: 26px; }
.legal p, .legal li { font-size: var(--fs-sm); color: var(--text); }
.legal ul { padding-left: 20px; list-style: disc; }
.legal .legal-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-top: 30px; }
.legal .legal-toc a { color: var(--primary); font-size: var(--fs-sm); display: block; padding: 4px 0; }

/* ---------- cgu.html — document juridique ---------- */
.lg-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; max-width: 1100px; }
.lg-main { min-width: 0; }
.lg-sec { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 28px; margin-bottom: 18px; scroll-margin-top: 90px; transition: border-color .25s ease, box-shadow .25s ease; }
.lg-sec:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.lg-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.lg-num { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--primary-50); color: var(--primary); font-weight: 800; font-size: 13.5px; letter-spacing: .02em; display: grid; place-items: center; }
.lg-sec h2 { margin: 0; font-size: var(--fs-lg); letter-spacing: -.015em; }
.lg-sec p { margin-bottom: 10px; }
.lg-sec p:last-child { margin-bottom: 0; }
.lg-sec ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.lg-note { margin-top: 20px; font-size: 12px; color: var(--muted); }
.lg-side { position: sticky; top: 86px; display: grid; gap: 16px; }
.lg-card { padding: 20px 22px; margin: 0; }
.lg-toc-title { display: block; font-size: var(--fs-sm); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.lg-toc-card a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; color: var(--text); text-decoration: none; transition: background .2s ease, color .2s ease; }
.lg-toc-card a:hover { background: var(--primary-50); color: var(--primary); }
.lg-toc-card a span:first-child { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 800; display: grid; place-items: center; transition: background .2s ease, color .2s ease; }
.lg-toc-card a:hover span:first-child { background: #fff; color: var(--primary); }
.lg-meta-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.lg-meta-row:last-child { border-bottom: 0; }
.lg-meta-row span { color: var(--muted); flex: none; }
.lg-meta-row b { text-align: right; }
.lg-link { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--text); text-decoration: none; transition: background .2s ease, color .2s ease; }
.lg-link:hover { background: var(--primary-50); color: var(--primary); }
.lg-link .i { width: 16px; height: 16px; color: var(--primary); flex: none; }
@media (max-width: 980px) { .lg-layout { grid-template-columns: 1fr; } .lg-side { position: static; order: -1; } .lg-sec { padding: 22px 20px; } }

/* ---------- contact.html ---------- */
.ct-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin: 0; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ct-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.ct-ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; transition: transform .25s ease; }
.ct-ic .i { width: 21px; height: 21px; }
.ct-card:hover .ct-ic { transform: scale(1.08) rotate(-4deg); }
.ct-ic.tint-blue { background: var(--primary-50); color: var(--primary); }
.ct-ic.tint-teal { background: var(--secondary-50); color: var(--secondary-600); }
.ct-ic.tint-violet { background: var(--violet-50); color: var(--violet); }
.ct-ic.tint-green { background: var(--success-50); color: var(--success); }
.ct-card b { display: block; font-size: 14.5px; letter-spacing: -.01em; color: var(--ink); }
.ct-card p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.ct-card a { color: var(--primary); text-decoration: none; }
.ct-card a:hover { text-decoration: underline; }

/* ---------- login.html ---------- */
.ln-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.5fr 1fr; }
.ln-left { position: relative; min-height: 100vh; padding: 120px 60px 44px; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(102deg, rgba(15,23,42,.82) 0%, rgba(25,42,92,.62) 48%, rgba(37,64,143,.46) 100%), url("../images/login-bg.png") 0% 30% / cover no-repeat; }
.ln-topleft { position: absolute; top: 30px; left: 60px; }
.ln-topleft img { display: block; height: 42px; filter: drop-shadow(0 2px 12px rgba(15,23,42,.45)); }
.ln-content { margin: auto 0; max-width: 540px; display: flex; flex-direction: column; gap: 30px; }
.ln-left h1 { margin: 0; color: #fff; font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -.6px; }
.ln-accent { color: #7d9bff; }
.ln-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ln-feats li { display: flex; align-items: flex-start; gap: 14px; }
.ln-fic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(125,155,255,.16); border: 1px solid rgba(125,155,255,.38); color: #aebfff; }
.ln-fic .i { width: 18px; height: 18px; }
.ln-feats b { display: block; color: #fff; font-size: 14.5px; letter-spacing: -.01em; }
.ln-feats p { margin: 3px 0 0; font-size: 13px; color: rgba(255,255,255,.72); }
.ln-flags { margin-top: auto; display: flex; align-items: center; gap: clamp(8px, 0.9vw, 12px); }
.ln-flag { flex: none; width: clamp(18px, 1.8vw, 26px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; opacity: .62; transition: opacity .2s ease, transform .2s ease; }
.ln-flag:hover { transform: translateY(-2px); opacity: 1; }
.ln-flag svg { width: 100%; height: 100%; display: block; }
.ln-right { background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 44px 32px; position: relative; }
.ln-lang { position: absolute; top: 22px; right: 24px; height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 7px; box-shadow: 0 4px 12px rgba(15,23,42,.08); transition: all var(--dur); font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.ln-lang:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.ln-lang .i { width: 14px; height: 14px; }
.ln-card { width: 100%; max-width: 432px; background: #fff; border-radius: 16px; padding: 28px 28px 24px; box-shadow: 0 14px 40px rgba(15,23,42,.09); }
.ln-brand { text-align: center; }
.ln-brand img { display: block; height: 46px; margin: 0 auto; }
.ln-pill { margin: 10px auto 0; width: max-content; display: flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px; border: 1px solid #d7e0fa; background: #f2f5ff; color: var(--primary); font-size: 12px; font-weight: 700; }
.ln-pill .i { width: 13px; height: 13px; }
.ln-div { margin: 22px 0 18px; display: flex; align-items: center; gap: 12px; color: var(--primary); }
.ln-div::before, .ln-div::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.ln-div .i { width: 15px; height: 15px; }
.ln-card h2 { margin: 0 0 4px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ln-wsub { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.ln-field { margin-bottom: 14px; }
.ln-field > label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.ln-input { display: flex; align-items: center; height: 48px; border: 1.5px solid var(--border-strong); border-radius: 12px; background: #fff; transition: border-color var(--dur), box-shadow var(--dur); }
.ln-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(65,105,226,.12); }
.ln-ic { flex: none; width: 47px; height: 100%; display: grid; place-items: center; background: #f2f5ff; color: var(--primary); border-right: 1px solid var(--border); border-radius: 11px 0 0 11px; }
.ln-ic .i { width: 18px; height: 18px; }
.ln-input input { flex: 1; min-width: 0; border: none; outline: none; height: 100%; padding: 0 14px; font-size: 13.5px; background: transparent; color: var(--ink); }
.ln-input select { flex: 1; min-width: 0; border: none; outline: none; height: 100%; padding: 0 10px; font-size: 13.5px; background: transparent; color: var(--ink); cursor: pointer; }
.ln-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.ln-step { height: 4px; width: 34px; border-radius: 2px; background: var(--border); transition: background .3s ease; }
.ln-step.on { background: var(--primary); }
.ln-steps-label { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--faint); letter-spacing: .02em; }
.ln-2btn { display: flex; gap: 10px; }
.ln-2btn .btn-ghost, .ln-2btn .ln-btn { flex: 1; }
.ln-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ln-2col .ln-field, .ln-2col .ln-input { min-width: 0; }
.ln-2col .ln-ic { width: 40px; border-radius: 10px 0 0 10px; }
.ln-2col .ln-ic .i { width: 16px; height: 16px; }
.ln-2col .ln-input input, .ln-2col .ln-input select { padding: 0 9px; font-size: 12.5px; }
.ln-check { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: 12.5px; color: var(--text); margin-bottom: 10px; }
.ln-check input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; flex: none; }
.ln-check a { color: var(--primary); text-decoration: none; }
.ln-check a:hover { text-decoration: underline; }
.ln-eye { flex: none; border: none; background: none; cursor: pointer; padding: 0 13px; height: 100%; color: var(--faint); display: grid; place-items: center; }
.ln-eye:hover { color: var(--ink); }
.ln-eye .i { width: 17px; height: 17px; }
.ln-field .error-msg { display: none; font-size: var(--fs-xs); color: var(--danger); margin-top: 5px; }
.ln-field.invalid .ln-input { border-color: var(--danger); }
.ln-field.invalid .error-msg { display: block; }
.ln-btn { width: 100%; height: 50px; border: none; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 14.5px; font-weight: 700; background: linear-gradient(135deg, #4d74ec 0%, #4169e2 55%, #2f55d4 100%); box-shadow: 0 10px 22px rgba(65,105,226,.32); transition: transform .2s ease, box-shadow .2s ease; }
.ln-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(65,105,226,.4); }
.ln-btn:disabled { opacity: .7; cursor: default; transform: none; }
.ln-btn .i { width: 16px; height: 16px; }
.ln-forgot { display: block; text-align: center; margin-top: 14px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.ln-forgot:hover { color: var(--primary); text-decoration: underline; }
.ln-err { font-size: 12px; color: var(--danger); margin: 0 0 12px; display: none; }
.ln-already { margin: 14px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.ln-already a { color: var(--primary); text-decoration: none; }
.ln-already a:hover { text-decoration: underline; }
.ln-qa { width: 100%; max-width: 400px; text-align: center; }
.ln-qa-head { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #93a0b4; }
.ln-qa-head::before, .ln-qa-head::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.ln-qa-sub { margin: 7px 0 14px; font-size: 12px; color: var(--muted); }
.ln-qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ln-qa-tile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; transition: all var(--dur); text-align: left; }
.ln-qa-tile:hover { border-color: var(--border-strong); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.ln-qa-tile.active { border-color: var(--primary); background: #f2f5ff; }
.ln-qa-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.ln-qa-ic .i { width: 16px; height: 16px; }
.ln-qa-ic.tint-blue { background: var(--primary-50); color: var(--primary); }
.ln-qa-ic.tint-teal { background: var(--secondary-50); color: var(--secondary-600); }
.ln-qa-ic.tint-violet { background: var(--violet-50); color: var(--violet); }
.ln-qa-ic.tint-green { background: var(--success-50); color: var(--success); }
.ln-qa-label { flex: 1; font-size: 13px; font-weight: 700; color: var(--ink); }
.ln-qa-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.ln-qa-tile.active .ln-qa-dot { background: var(--primary); }
.ln-qa-links { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.ln-qa-links a { color: var(--primary); text-decoration: none; font-weight: 600; }
.ln-qa-links a:hover { text-decoration: underline; }
.ln-qa-demo { margin: 8px 0 0; font-size: 11.5px; color: var(--faint); }
.ln-otp-head { text-align: center; }
.ln-otp-ic { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.ln-otp-ic .i { width: 24px; height: 24px; }
.ln-otp { display: flex; gap: 9px; justify-content: center; margin: 20px 0 8px; }
.ln-otp input { width: 42px; height: 50px; text-align: center; font-size: 20px; font-weight: 700; border: 1.5px solid var(--border-strong); border-radius: 10px; color: var(--ink); }
.ln-otp input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(65,105,226,.14); }
.ln-otp-resend { margin: 0 0 14px; text-align: center; font-size: 12px; color: var(--muted); }
.ln-otp-resend a { color: var(--primary); font-weight: 600; text-decoration: none; }
.ln-otp-resend a:hover { text-decoration: underline; }
.ln-otp-actions { display: flex; gap: 10px; }
.ln-mtop { display: none; }
@media (max-width: 1120px) {
  .ln-left { padding: 110px 40px 48px; }
  .ln-content { max-width: 440px; gap: 24px; }
  .ln-left h1 { font-size: 33px; line-height: 39px; }
}
@media (max-width: 900px) {
  .ln-wrap { grid-template-columns: minmax(0, 1fr); min-height: 100dvh; }
  .ln-left { display: none; }
  .ln-mtop {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 58px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px;
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
    position: sticky;
    top: 0;
    z-index: 15;
  }
  .ln-mtop img { display: block; margin: 0; height: 31px; }
  .ln-right {
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 14px calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .ln-lang {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: 14px;
    z-index: 20;
    height: 38px;
    padding: 0 13px;
  }
  .ln-card {
    max-width: 440px;
    border-radius: 20px;
    padding: 22px 18px 20px;
  }
  .ln-card .ln-brand { display: none; }
  .ln-card .ln-pill { margin: 0 0 12px; }
  .ln-card .ln-div { display: none; }
  .ln-input { height: 50px; border-radius: 14px; }
  .ln-ic { border-radius: 13px 0 0 13px; width: 45px; }
  .ln-input input, .ln-input select { font-size: 16px; }
  .ln-btn { height: 50px; font-size: 15px; }
  .ln-2col { grid-template-columns: 1fr; }
  .ln-otp {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
    max-width: 320px;
    margin: 18px auto 12px;
  }
  .ln-otp input {
    width: 100%;
    height: 50px;
    font-size: 20px;
    border-radius: 12px;
  }
  .ln-otp-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
  }
  .ln-qa {
    max-width: 440px;
    background: #fff;
    border: 1px solid #dcecf8;
    border-radius: 20px;
    padding: 16px 14px;
    box-shadow: 0 8px 24px rgba(8, 45, 98, .05);
  }
  .ln-qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ln-qa-tile {
    min-height: 50px;
    padding: 9px 10px;
    gap: 8px;
    border-radius: 14px;
  }
  .ln-qa-ic { width: 32px; height: 32px; border-radius: 9px; }
  .ln-qa-label { font-size: 12.5px; line-height: 1.2; min-width: 0; }
}

/* ---------- RESPONSIVE SITE ---------- */
@media (max-width: 1180px) {
  .site-header:has(.main-nav.mobile-open) { z-index: 160; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .site-header .brand, .site-header .header-cta { position: relative; z-index: 151; }
  .main-nav { display: none; }
  .main-nav.mobile-open .nav-mobile-account { display: inline-flex !important; align-items: center; gap: 10px; color: var(--primary); }
  .main-nav.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; inset: 0; z-index: 150; height: 100dvh; background: var(--surface);
    padding: 84px 22px 30px; overflow-y: auto;
  }
  .main-nav.mobile-open a { font-size: var(--fs-lg); padding: 13px 10px; }
  .main-nav .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--surface-2); margin: 2px 0 6px; }
  .burger {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  }
  .burger .i { width: 20px; height: 20px; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 490px; }
  .hv-art { width: min(430px, 96%); }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey .j-opts { flex-direction: row; flex-wrap: wrap; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stat:nth-child(odd)::before { display: none; }
  .stats-band .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 420px; }
  .help-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 66px; }
  .hero-visual { min-height: 430px; }
  .hv-art { width: min(340px, 100%); }
  .hero-ctas .btn { width: 100%; }
  .search-grid { grid-template-columns: 1fr; }
  .search-grid .btn { width: 100%; }
  .stats-band { grid-template-columns: 1fr; }
  .stats-band .stat::before { display: none !important; }
  .stats-band .stat { border-top: 1px solid var(--border); }
  .stats-band .stat:first-child { border-top: 0; }
  .provider-card { flex-wrap: wrap; }
  .provider-card .p-right { margin-left: 0; width: 100%; }
  .provider-card .p-cta { width: 100%; justify-content: center; }
  .section-blue .stat .v { font-size: 1.9rem; }
  .mob-visual { display: none; }
  .list-simple .ls-item { flex-wrap: wrap; gap: 6px 12px; }
  .list-simple .ls-item .right { margin-left: 29px; text-align: left; }
  .sync-item { flex-wrap: wrap; }
  .sync-item .chip { margin-left: 46px; }
  .accordion-item .acc-body { padding-left: 20px; }
  .accordion-item summary { padding: 15px 16px; font-size: var(--fs-sm); gap: 11px; }
  .accordion-item .q-ic { width: 36px; height: 36px; }
  .wl-item { flex-wrap: wrap; }
  .wl-count { margin-left: 55px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.rev .fr-visual { order: 0; }
  .form-2col { grid-template-columns: 1fr; }
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-grid h2 { font-size: 11.5px; }
  .site-footer .footer-grid a { font-size: 12px; gap: 7px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 13px; padding-block: 22px; padding-right: 68px; }
  .site-header .header-cta a.provider-button { width: auto; min-width: 0; min-height: 42px; padding: 9px 14px; font-size: 12px; }
  .help-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 44px 24px; }
  .cta-final { padding: 48px 0; }
  .site-header .container { gap: 12px; }
  .brand .brand-logo-img { height: 33px; }
  .site-header .header-cta .btn-outline, .site-header .header-cta .btn-ghost { display: none; }
  .site-header .header-cta .btn-primary { padding: 9px 14px; font-size: var(--fs-xs); }
  .header-cta .burger { display: grid; }
  .vm-body { height: 240px; }
  .vm-chat { display: none; }
}

/* ---------- BOUTON RETOUR EN HAUT ---------- */
/* ---------- FLOTTANTS : retour en haut + assistant (même taille) ---------- */
#to-top, #chat-fab {
  position: fixed; right: 22px; width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; cursor: pointer;
}
#to-top {
  bottom: 90px; z-index: 130;
  background: var(--surface); color: var(--primary); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
#to-top .i { width: 20px; height: 20px; }
#to-top.show { opacity: 1; transform: none; pointer-events: auto; }
#to-top:hover { color: var(--primary-600); border-color: var(--primary-300); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- ASSISTANT VIRTUEL (CHAT) ---------- */
#chat-fab {
  bottom: 22px; z-index: 135; border: 0; color: #fff;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500) 55%, var(--secondary-600));
  box-shadow: 0 10px 26px rgba(47,79,180,.32);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
#chat-fab .i { width: 22px; height: 22px; }
#chat-fab::before {
  content: ""; position: absolute; top: -2px; right: -2px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--success); border: 3px solid var(--bg);
}
#chat-fab::after {
  content: ""; position: absolute; inset: -4px; border-radius: 20px;
  border: 2px solid rgba(73,197,193,.5); opacity: 0; animation: chat-pulse 2.6s ease-out infinite;
}
#chat-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgba(47,79,180,.4); }
#chat-fab.hide { opacity: 0; transform: scale(.55); pointer-events: none; }
@keyframes chat-pulse { 0% { transform: scale(.9); opacity: .8; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }

#chat-panel {
  position: fixed; right: 22px; bottom: 90px; z-index: 140;
  width: min(384px, calc(100vw - 28px));
  height: min(568px, calc(100dvh - 112px));
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 24px 64px rgba(31,35,40,.26);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.97); transform-origin: bottom right;
  pointer-events: none; transition: opacity .22s ease, transform .22s ease;
}
#chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.chat-head {
  flex: none; display: flex; align-items: center; gap: 11px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500) 60%, var(--secondary-600));
  color: #fff;
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
}
.chat-avatar .i { width: 19px; height: 19px; }
.chat-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-title strong { font-size: var(--fs-sm); }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85); margin-top: 1px; }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); flex: none; }
.chat-x {
  flex: none; width: 30px; height: 30px; border-radius: 9px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: background .2s ease;
}
.chat-x:hover { background: rgba(255,255,255,.28); }
.chat-x .i { width: 15px; height: 15px; }

.chat-body {
  flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface-2); scroll-behavior: smooth;
}
.chat-msg { display: flex; flex-direction: column; max-width: 86%; animation: chat-in .28s ease; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-who { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 4px 3px; }
.chat-bubble {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px;
  padding: 10px 13px; font-size: var(--fs-xs); line-height: 1.55; color: var(--ink);
  box-shadow: var(--shadow-xs); overflow-wrap: break-word;
}
.chat-msg.user .chat-bubble {
  background: var(--primary); border-color: var(--primary); color: #fff; border-radius: 14px 14px 4px 14px;
}
.chat-bubble a { color: var(--primary); font-weight: 600; }
.chat-msg.user .chat-bubble a { color: #fff; text-decoration: underline; }
.chat-bubble b { font-weight: 700; }

.chat-msg.typing .chat-bubble { display: inline-flex; align-items: center; gap: 5px; padding-right: 12px; }
.chat-msg.typing .chat-bubble span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted); display: inline-block;
  animation: chat-typing 1s ease-in-out infinite;
}
.chat-msg.typing .chat-bubble span:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing .chat-bubble span:nth-child(3) { animation-delay: .3s; }
.chat-msg.typing .chat-bubble em { font-style: normal; font-size: 10.5px; color: var(--muted); margin-left: 6px; }
@keyframes chat-typing { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }

.chat-chips {
  flex: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px 2px;
}
.chat-chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--primary-700);
  font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 999px; cursor: pointer;
  transition: all .18s ease;
}
.chat-chip:hover { background: var(--primary-50); border-color: var(--primary-300); transform: translateY(-1px); }

.chat-input {
  flex: none; display: flex; gap: 8px; padding: 12px 14px;
  border-top: 1px solid var(--border); background: var(--surface);
}
.chat-input input {
  flex: 1; border: 1px solid var(--border); background: var(--surface-2); border-radius: 11px;
  padding: 10px 13px; font-size: var(--fs-xs); color: var(--ink); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.chat-input input:focus { border-color: var(--primary-300); box-shadow: 0 0 0 3px var(--primary-50); }
.chat-input button {
  width: 40px; height: 40px; flex: none; border-radius: 11px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500)); color: #fff;
  display: grid; place-items: center; transition: transform .18s ease, filter .18s ease;
}
.chat-input button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.chat-input button .i { width: 16px; height: 16px; }
.chat-note {
  flex: none; text-align: center; font-size: 9.5px; color: var(--muted); padding: 0 14px 10px;
  background: var(--surface);
}


