/* =========================================================
   XTRA — Business 4 (clone statique)
   Fichier : assets/css/xtra.css  (version unifiée BLEU dégradé) — ALIGNÉ MENU + LOGO
   ========================================================= */

/* -------------------- Variables & Reset -------------------- */
:root{
  --container: 1120px;

  /* Header / Logo (hérite des besoins “MIS À JOUR”) */
  --nav-h: 74px;
  --logo-h: clamp(34px, 8vh, 54px);

  --ink: #0f172a;
  --ink-2:#475569;
  --muted:#7c8aa5;
  --line:#e7edf5;

  /* ==== Palette BLEU (dégradé) ==== */
  --brand:#2563eb;     /* bleu principal */
  --brand-2:#60a5fa;   /* bleu clair */
  --brand-3:#1d4ed8;   /* bleu foncé */
  --grad: linear-gradient(90deg,var(--brand),var(--brand-2));

  --bg:#ffffff;
  --bg-soft:#f8fbff;
  --shadow: 0 10px 25px rgba(16,24,40,.08), 0 4px 12px rgba(16,24,40,.06);
  --radius:14px;

  /* Nav — espace entre le point et le texte */
  --menu-dot-gap: 8px;

  /* Fluid spacing */
  --space-1: clamp(6px, 1.2vw, 12px);
  --space-2: clamp(10px, 1.6vw, 18px);
  --space-3: clamp(14px, 2vw, 24px);
  --space-4: clamp(18px, 3vw, 32px);
  --space-5: clamp(24px, 4vw, 48px);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;
  color:var(--ink);
  background:#fff;
  line-height:1.55;
  -webkit-text-size-adjust:100%;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{
  max-width:var(--container);
  margin-inline:auto;
  padding-inline: clamp(14px, 3.2vw, 20px);
}

/* -------------------- Helpers -------------------- */
.eyebrow{
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:800;
  font-size:.78rem;
  color:var(--brand);
}
.center{text-align:center}
.muted{color:var(--muted)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.btn-cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.72rem 1.2rem;border-radius:999px;color:#fff;background:var(--grad);
  font-weight:800;box-shadow:0 6px 18px rgba(37,99,235,.25);white-space:nowrap;
  min-height:44px;
}
.btn-cta.large{padding:.9rem 1.6rem}
.btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.78rem 1.1rem;border-radius:999px;border:1px solid var(--line);
  color:var(--brand);font-weight:800;background:#fff;
  min-height:44px;
}

/* Forcer le bleu sur certains SVG existants */
.stroke-brand *[stroke]{ stroke: var(--brand) !important; }
.stroke-brand *[fill]:not([fill="none"]){ fill: var(--brand) !important; }

/* -------------------- Header + Nav -------------------- */
.site-header{
  position:sticky;top:0;z-index:999;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{height:var(--nav-h); display:flex; align-items:center; justify-content:space-between; gap:16px}
.brand{display:flex;align-items:center;gap:10px}
.brand img,
.brand-logo{ height: var(--logo-h); width:auto; display:block; object-fit:contain }
.logo-mark{display:none !important}
.brand-name{font-size:1.05rem;font-weight:900;letter-spacing:.02em}
.brand-sub{font-size:.68rem;color:#7a91a6;margin-top:-4px}
.main-nav{display:flex;align-items:center;gap:18px; position:relative}

/* ===== NAV — base + effets (survol/clic/actif + point animé) ===== */
.menu{
  display:flex; gap:22px; list-style:none; margin:0; padding:0; font-weight:700; color:#213147
}
.menu a{
  position:relative;
  display:inline-flex; align-items:center; white-space:nowrap; line-height:1;
  padding:8px 10px 8px 14px; border-radius:8px; font-weight:800;

  color:#213147;
  background-image: linear-gradient(to bottom, var(--brand), var(--brand-2));
  background-size:100% 0%;
  background-repeat:no-repeat;
  background-position:0 0;
  -webkit-background-clip:text;
  background-clip:text;
  transition: background-size .35s ease, color .2s ease;
}
/* Hover / Focus / Actif */
.menu a:is(:hover,:focus-visible,.is-active){
  color:transparent;                   /* révèle le dégradé du texte */
  background-size:100% 100%;
}
/* Point animé */
.menu a::after{
  content:"";
  position:absolute; top:50%; left:100%;
  width:6px; height:6px; border-radius:50%;
  background: var(--brand);
  box-shadow:0 0 0 2px rgba(37,99,235,.18);
  transform: translate(calc(-100% - var(--menu-dot-gap)),-50%);
  opacity:0;
  transition: left .34s cubic-bezier(.2,.8,.2,1),
              transform .34s cubic-bezier(.2,.8,.2,1),
              opacity .18s ease;
}
.menu a:is(:hover,:focus-visible,.is-active)::after{
  left:0;
  transform: translate(calc(-1 * var(--menu-dot-gap)),-50%);
  opacity:1;
}

/* Curseur custom (optionnel) */
.nav-cursorRing,.nav-cursorDot,
.cursorRing,.cursorDot{
  position:fixed; top:0; left:0; z-index:1000; pointer-events:none;
  opacity:0; transform:translate3d(-50%,-50%,0) scale(.9);
  transition: opacity .18s ease, transform .18s ease;
  will-change: transform;
}
.nav-cursorRing,.cursorRing{
  width:28px;height:28px;border-radius:50%;
  border:2px solid rgba(37,99,235,.6);
  box-shadow:0 0 24px rgba(37,99,235,.25);
  backdrop-filter: blur(1px);
}
.nav-cursorDot,.cursorDot{
  width:6px;height:6px;border-radius:50%;
  background: var(--brand);
}
body.nav-cursor-active .nav-cursorRing,
body.nav-cursor-active .nav-cursorDot,
body.cursor-active .cursorRing,
body.cursor-active .cursorDot{ opacity:1; }
body.nav-cursor-hover-link .nav-cursorRing,
body.cursor-hover .cursorRing{ transform:translate3d(-50%,-50%,0) scale(1.12) }
@media (pointer:coarse){
  .nav-cursorRing,.nav-cursorDot,.cursorRing,.cursorDot{ display:none }
}

/* Burger (mobile) + menu déroulant */
.burger{display:none; position:relative; z-index:1200}
@media (max-width:980px){
  .menu{display:none}
  .burger{
    display:inline-flex;flex-direction:column;gap:5px;
    background:transparent;border:0;padding:8px
  }
  .burger span{width:22px;height:2px;background:var(--ink)}

  body.nav-open{ overflow:hidden }

  .menu.open{
    display:flex;flex-direction:column;gap:10px;
    position:fixed;left:0;right:0;top:var(--nav-h);
    background:#fff;
    border-top:1px solid var(--line);
    padding:12px 16px 16px;
    box-shadow:0 12px 24px rgba(2,6,23,.08);
    max-height: calc(100dvh - var(--nav-h));
    overflow:auto;
    z-index:1100;
  }
  .menu.open a{ padding:12px 14px; font-size:1.02rem }

  
}

/* -------------------- HERO (bannière de page) -------------------- */
.page-hero{
  position:relative;padding:72px 0 90px;color:#fff;overflow:hidden;
  background-image:url('../../assets/img/8.png');
  background-size:cover;background-position:center;
}
.page-hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(2,8,23,.65),rgba(2,8,23,.50) 40%,rgba(2,8,23,.2) 70%,rgba(2,8,23,0) 100%);
}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{margin:0;font-size:clamp(30px,4vw,44px);font-weight:900;letter-spacing:-.02em;text-shadow:0 1px 12px rgba(0,0,0,.22)}
.crumbs{display:flex;align-items:center;gap:10px;margin-top:8px;color:#e3eeff;flex-wrap:wrap}
.crumbs a{text-decoration:underline}

/* -------------------- INTRO + KPI -------------------- */
.about-intro{padding:64px 0 20px;background:#fff}
.intro-row{display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:stretch}
.intro-copy{display:flex;flex-direction:column;justify-content:center}
.intro-illus{height:100%}
.intro-illus img{height:100%;width:100%;object-fit:cover;border-radius:22px;box-shadow:var(--shadow)}
.about-intro h2{margin:.4rem 0 1rem;font-size:clamp(28px,3.6vw,44px);line-height:1.04;letter-spacing:-.02em}
.kpi-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.kpi{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 8px 20px rgba(2,6,23,.06)}
.kpi strong{font-size:1.6rem;color:var(--brand);letter-spacing:.02em}

/* -------------------- HISTORIQUE (Design alternatif) -------------------- */
.history--alt{ padding:86px 0; background:var(--bg-soft) }
.m-head{ text-align:center; max-width:760px; margin:0 auto 28px }
.milestones{
  position:relative; list-style:none; margin:0; padding:22px 0;
  display:grid; gap:34px;
}
.milestones::before{
  content:""; position:absolute; left:50%; top:0; bottom:0; width:3px;
  background:linear-gradient(180deg,#dfe7ff,#bcd0ff); transform:translateX(-50%);
  border-radius:3px;
}
.m-item{ position:relative; display:grid; grid-template-columns:1fr 1fr; align-items:center }
.m-badge{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:92px; height:92px; border-radius:999px; display:grid; place-items:center;
  background:#fff; color:var(--brand); font-weight:900; letter-spacing:.02em;
  border:3px dashed #bcd0ff; box-shadow:var(--shadow); z-index:1;
}
.m-item:nth-child(odd) .m-card{ grid-column:1; margin-right:60px }
.m-item:nth-child(even) .m-card{ grid-column:2; margin-left:60px }
.m-item:nth-child(odd) .m-card::before,
.m-item:nth-child(even) .m-card::before{
  content:""; position:absolute; top:50%; width:60px; height:18px;
  border-top:2px solid #b8c9ff; border-right:2px solid #b8c9ff; border-radius:0 10px 0 0;
  transform:translateY(-50%); background:transparent;
}
.m-item:nth-child(odd) .m-card::before{ right:-60px }
.m-item:nth-child(even) .m-card::before{ left:-60px; transform:translateY(-50%) scaleX(-1) }
.m-card{
  position:relative; padding:22px 22px 18px; border-radius:18px;
  border:1px solid #e7ecff; background:linear-gradient(180deg,#fff,#f9fbff);
  box-shadow:0 14px 30px rgba(2,6,23,.08);
}
.m-card h3{ margin:0 0 10px; font-size:1.12rem; font-weight:800; color:#0f172a }
.m-points{ list-style:none; margin:0 0 10px 0; padding:0; display:grid; gap:6px }
.m-points li{ position:relative; padding-left:18px; color:var(--ink-2) }
.m-points li::before{
  content:""; position:absolute; left:0; top:.6em; width:8px; height:8px; border-radius:50%;
  background:linear-gradient(90deg,var(--brand),var(--brand-2)); box-shadow:0 0 0 2px #eaf0ff;
}
.m-meta{ display:flex; flex-wrap:wrap; gap:8px }
.chip{
  display:inline-flex; align-items:center; gap:6px; padding:.28rem .52rem;
  border:1px solid #dfe7ff; border-radius:999px; font-size:.82rem; color:#2746b8;
  background:linear-gradient(180deg,#fff,#f6f8ff);
}

/* -------------------- 3 cartes -------------------- */
.about-cards{padding:36px 0 6px;background:#f4f8ff}
.a3-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.a3{padding:22px}
.a3 .icon{width:62px;height:62px;border-radius:16px;background:#eef4ff;border:1px solid #d9e6ff;display:grid;place-items:center;margin-bottom:10px}
.a3 h3{margin:6px 0 6px}

/* -------------------- Témoignages -------------------- */
.testimonials{padding:86px 0;background:#fff}
.t-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:26px;align-items:start}
.t-ico{width:62px;height:62px;border-radius:16px;background:#eef4ff;border:1px solid #d9e6ff;display:grid;place-items:center;margin-bottom:10px}
.t-slider{position:relative;min-height:280px;padding-top:8px}
.t-card{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:18px;
  background:linear-gradient(180deg,#fff,#f9fbff);border:1px solid #eef2ff;border-radius:18px;padding:26px 26px 26px 80px;
  box-shadow:0 14px 30px rgba(2,6,23,.10);opacity:0;transform:translateY(20px);
  transition:opacity .5s ease,transform .5s ease;
}
.t-card.is-active{opacity:1;transform:translateY(0)}
.t-quoteMark{position:absolute;left:22px;top:14px;font-size:62px;line-height:1;color:#d6e2ff;font-weight:900;font-family:Georgia,serif;user-select:none}
.t-user{display:flex;align-items:center;gap:12px}
.t-user img{width:56px;height:56px;border-radius:999px;object-fit:cover;border:3px solid #fff;box-shadow:0 6px 16px rgba(2,6,23,.15)}
.t-user strong{display:block}
.t-user span{display:block;color:var(--muted);font-size:.9rem;margin-top:-2px}
.quote{font-size:1.06rem;color:#111827}
.t-dots{display:flex;gap:8px;justify-content:center;margin-top:16px}
.t-dots .dot{width:10px;height:10px;border-radius:999px;border:2px solid #cfe0ff;background:transparent;cursor:pointer}
.t-dots .dot.is-active{background:#3b82f6;border-color:#3b82f6}
.t-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:999px;border:1px solid #dbe6ff;background:#fff;display:grid;place-items:center;font-weight:900;color:#2952e3;box-shadow:0 8px 18px rgba(39,87,235,.15);cursor:pointer}
.t-arrow.prev{left:-14px}
.t-arrow.next{right:-14px}

/* -------------------- ORGANIGRAMME -------------------- */
.org-img{padding:76px 0;background:#fff}
.org-figure{margin:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);background:#fbfdff}
.org-figure img{width:100%;height:auto;display:block}

/* -------------------- PARTENAIRES -------------------- */
.partners{ padding:40px 0; background:transparent !important; --carousel-speed: 26s; }
.tape{overflow:hidden; position:relative; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.tape::before,.tape::after{content:"";position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none;background:linear-gradient(to right,#fff,transparent) !important}
.tape::after{right:0;transform:scaleX(-1)}
.tape-track{display:flex; align-items:center; gap:22px; width:max-content; animation:partners-loop var(--carousel-speed) linear infinite; will-change:transform}
.tape:hover .tape-track{ animation-play-state:paused }
@keyframes partners-loop{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
.logo-item{ display:grid;place-items:center; width:200px;height:92px;border-radius:18px;background:transparent !important;border:0 !important;box-shadow:none !important }
.logo-badge{ display:grid; place-items:center; text-align:center; padding:8px 10px }
.logo-badge .acro{ font-weight:900; letter-spacing:.06em; text-transform:uppercase; font-size: clamp(24px,4.2vw,36px); line-height:1; color: var(--brand) }
.logo-badge .name{ margin-top:6px; font-size:.74rem; font-weight:500; color:#8a96b7; opacity:.95 }
@media (max-width:720px){ .logo-item{width:160px;height:74px} .logo-badge .name{font-size:.68rem} }

/* -------------------- CTA -------------------- */
.cta-band{background:linear-gradient(180deg,var(--brand-3),#0b3aa7);padding:36px 0;color:#fff;margin:36px 0 0}
.cta-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px}
.cta-band h3{margin:0;font-weight:900;font-size:clamp(22px,3vw,32px)}
.cta-band .btn-cta{background:var(--grad)}

/* -------------------- Footer -------------------- */
.site-footer{
  background:#e6f0ff;
  font-size:0.9rem;
  line-height:1.45;
  padding-top:20px;
  padding-bottom:14px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 0.9fr 0.9fr 0.9fr;
  gap:16px;
  padding:28px 0;
}
.footer-grid h4{
  margin:0 0 6px;
  font-size:0.95rem;
  letter-spacing:.01em;
  text-transform:uppercase;
}
.footer-grid ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:4px;
}
.footer-grid p,
.footer-grid li,
.footer-grid a{
  font-size:0.9rem;
  line-height:1.4;
}
.brand-line{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:6px;
  flex-wrap:wrap;
}
.brand-logo,
.brand-logo--sm{
  height:24px;
  width:auto;
}
.socials a{
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#fff;
  border:1px solid var(--line);
  margin-right:5px;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.socials a:hover{
  transform:translateY(-2px);
  border-color:var(--brand-2);
  box-shadow:0 4px 10px rgba(37,99,235,.18);
}
.footer-grid nav ul li a{
  position:relative;
  display:inline-block;
  padding-left:14px;
  transition:transform .26s ease,color .26s ease;
}
.footer-grid nav ul li a::before{
  content:">";
  position:absolute;
  left:0; top:50%;
  transform:translateY(-50%);
  font-weight:900;
  color:#5a70b9;
  opacity:.8;
  transition:transform .26s ease,color .26s ease;
}
.footer-grid nav ul li a:hover{
  transform:translateX(-4px);
  color:var(--brand-3);
}
.footer-grid nav ul li a:hover::before{
  color:var(--brand);
  transform:translateY(-50%) translateX(-2px);
}
.footer-bottom{
  background:#0f265d;
  color:#d8e4ff;
  font-size:.88rem;
}
.fb-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 0;
  gap:6px;
  flex-wrap:wrap;
}
.fb-nav a{
  color:#d8e4ff;
  margin-left:10px;
  text-decoration:underline;
}

/* ===== Larges écrans ===== */
@media (min-width:1400px){
  .footer-grid{
    max-width:var(--container);
    margin-inline:auto;
    padding:26px 0;
  }
  .brand-logo{height:22px;}
}
/* ===== ≤ 1200px : 3 colonnes compactes ===== */
@media (max-width:1200px){
  .footer-grid{
    grid-template-columns:1fr 1fr 1fr;
    gap:14px;
    padding:24px 0;
  }
  .footer-grid h4{font-size:.92rem;}
  .footer-grid a{font-size:.88rem;}
  .brand-logo{height:21px;}
}
/* ===== ≤ 980px : 2 colonnes denses ===== */
@media (max-width:980px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:12px;
    padding:20px 0;
  }
  .footer-grid h4{font-size:.9rem;margin-bottom:4px;}
  .footer-grid a{font-size:.86rem;}
  .brand-logo{height:20px;}
  .socials a{width:24px;height:24px;}
  .fb-row{padding:7px 0;font-size:.85rem;}
}
/* ===== ≤ 720px : 1 colonne ===== */
@media (max-width:720px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:10px;
    padding:18px 0;
  }
  .footer-grid h4{font-size:.88rem;}
  .footer-grid a{font-size:.84rem;}
  .brand-line{margin-bottom:4px;}
  .brand-logo{height:18px;}
  .socials a{width:22px;height:22px;}
  .fb-row{padding:6px 0;}
}
/* ===== ≤ 480px : ultra compact ===== */
@media (max-width:480px){
  .footer-grid{
    padding:14px 0;
    gap:8px;
  }
  .footer-grid h4{font-size:.86rem;}
  .footer-grid a{font-size:.82rem;}
  .brand-logo{height:16px;}
  .fb-row{padding:5px 0;gap:5px;}
  .fb-nav a{margin-left:6px;font-size:.82rem;}
}

/* -------------------- Responsive (grandes lignes) -------------------- */
@media (max-width:1200px){
  .container{padding:0 16px}
}
@media (max-width:1100px){
  .intro-row{grid-template-columns:1fr}
  .kpi-row{grid-template-columns:1fr 1fr}
  .a3-grid{grid-template-columns:1fr 1fr}
  .t-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1.2fr 1fr}
  .cta-band .wrap{flex-direction:column;text-align:center}
}
@media (max-width:900px){
  .m-item{ grid-template-columns:1fr; }
  .m-badge{ left:24px; transform:translate(-50%,-50%); width:78px; height:78px }
  .m-item .m-card{ grid-column:1; margin:0 0 0 70px }
  .m-item .m-card::before{ display:none }
}
@media (max-width:720px){
  .kpi-row{grid-template-columns:1fr}
  .a3-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .t-arrow.prev{left:6px} .t-arrow.next{right:6px}
  .t-card{padding:22px}
}
@media (max-width:560px){
  .nav{gap:10px}
  .brand-name{font-size:1rem}
  .page-hero{padding:64px 0 70px}
  .cta-band h3{font-size:clamp(20px,5.4vw,28px)}
  .fb-nav a{margin-left:10px}
}

/* Accessibilité / Motion */
@media (prefers-reduced-motion:reduce){
  .t-card{transition:none}
  .tape-track{animation:none}
  .menu{transition:none}
}

/* ================== KPI micro-animation ================== */
@keyframes count-pop {
  0% { transform: translateZ(0) scale(1); }
  50% { transform: translateZ(0) scale(1.06); }
  100% { transform: translateZ(0) scale(1); }
}
.kpi.is-animating strong { animation: count-pop .6s ease; }

/* ================== Bouton Retour en haut (unique) ================== */
.toTop{
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0));
  bottom: calc(16px + env(safe-area-inset-bottom, 0));
  width: 46px; height: 46px; min-width: 46px;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  color: #fff; background: var(--grad);
  box-shadow: 0 10px 22px rgba(37,99,235,.28);
  cursor: pointer; z-index: 120;
  opacity: 0; visibility: hidden;
  transform: translateY(8px) scale(.96);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.toTop svg{ display:block }
.toTop:is(:hover,:focus-visible){ transform: translateY(0) scale(1.03) }
.toTop:focus-visible{ outline: 3px solid rgba(37,99,235,.35); outline-offset: 3px }
.toTop.is-visible{
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}
@media (max-width:980px){
  .toTop{ bottom: calc(22px + env(safe-area-inset-bottom, 0)) }
}
@media (prefers-reduced-motion:reduce){
  .toTop{ transition: none }
}

/* ===================== EBNL (extrait essentiel, compatible) ===================== */
#ebnlBanner{
  position: fixed; bottom: 20px; right: 20px; width: min(460px, 94vw);
  max-height: calc(100vh - 40px); background:#fff; border-radius:16px;
  box-shadow: 0 12px 28px rgba(15,23,42,.18), 0 4px 10px rgba(15,23,42,.08);
  display:flex; flex-direction:column; overflow:hidden; padding:20px; z-index: 10050;
  opacity:0; transform: translateY(12px); transition: opacity .28s ease-out, transform .28s ease-out;
  pointer-events:none;
}
#ebnlBanner.is-visible{ opacity:1; transform:translateY(0); pointer-events:auto; }
#ebnlBanner.is-hidden{ display:none; }
#ebnlBanner .ebnlBClose{
  position:absolute; top:8px; right:8px; width:40px; height:40px; border:0; border-radius:10px;
  background: rgba(15,23,42,.06); color:#0f172a; display:grid; place-items:center; cursor:pointer; z-index:2;
}
#ebnlBanner .ebnlBHead{ flex-shrink:0; padding-bottom:12px; margin-bottom:12px; border-bottom:1px solid var(--line); background:#fff; position:sticky; top:0; z-index:1; }
#ebnlBanner .ebnlBList{ flex:1 1 auto; min-height:0; overflow:auto; -webkit-overflow-scrolling:touch; }
#ebnlBanner .ebnlBCTAs{ flex-shrink:0; display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); background:#fff; position:sticky; bottom:0; }

#ebnlFab{
  position: fixed; bottom: 20px; right: 20px; width: 54px; height: 54px; border-radius:999px;
  background: var(--grad); border:1px solid var(--brand-2); color:#fff; display:grid; place-items:center;
  box-shadow:0 8px 20px rgba(37,99,235,.3); cursor:pointer; z-index:10040; opacity:0; transform: translateY(14px);
  transition: opacity .28s ease, transform .28s ease; pointer-events:none;
}
#ebnlFab.is-visible{ opacity:1; transform: translateY(0); pointer-events:auto; }

#ebnlBackdrop{
  position: fixed; inset: 0; background: rgba(15,23,42,.55);
  z-index: 10040; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
#ebnlBackdrop.is-visible{ opacity: 1; pointer-events: auto; }

@media (max-width: 640px){
  #ebnlBanner{
    top:50%; left:50%; right:auto; bottom:auto;
    width:92vw; max-width:520px;
    max-height: min(92vh, calc(100svh - 28px), calc(100dvh - 28px));
    padding: clamp(12px, 4vw, 16px);
    padding-bottom: calc(clamp(12px,4vw,16px) + env(safe-area-inset-bottom,0px));
    transform: translate(-50%, -50%) !important;
  }
  #ebnlFab{ bottom:12px; right:12px; }
  .menu.open{ z-index:200; }
}
