:root {
  --ink: #102033;
  --ink-soft: #3d5166;
  --muted: #6b7c8f;
  --teal: #0c6b66;
  --teal-deep: #084e4b;
  --teal-soft: #e7f4f3;
  --gold: #b8893a;
  --gold-soft: #f7efe1;
  --bg: #f3f5f7;
  --paper: #ffffff;
  --line: #e3e8ee;
  --danger: #9d2c3a;
  --danger-soft: #fdecee;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 32, 51, 0.07);
  --font: "Manrope", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Fraunces", "Georgia", serif;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.45;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
.hidden { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal); }

.bq-simu {
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 4px 10px;
}
.bq-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 18px 10px;
  background: linear-gradient(135deg, var(--teal-deep), #0b2c3f);
  color: #fff;
}
.bq-marque { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; }
.bq-marque img { border-radius: 9px; background: #0b1826; object-fit: contain; }
.bq-cloche {
  position: relative;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
}
.bq-cloche b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--gold);
  font-size: 11px;
  line-height: 18px;
}
.bq-bandeau {
  background: var(--gold-soft);
  color: #6b4c17;
  border-bottom: 1px solid #ead9b8;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
}

.bq-app {
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom));
}
.bq-app.sans-nav { padding-bottom: 32px; }

h1, h2, h3 { margin: 0 0 10px; line-height: 1.2; }
h1 { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 800; }
h3 { font-size: 15px; font-weight: 800; }
.sous { color: var(--muted); margin: 0 0 18px; }
.petit { font-size: 12.5px; color: var(--muted); }

.carte {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 14px;
}
.carte-compte {
  background: linear-gradient(140deg, var(--teal-deep), var(--teal) 70%, #12867f);
  color: #fff;
  border: 0;
  position: relative;
  overflow: hidden;
}
.carte-compte::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.carte-compte .lib { font-size: 13px; opacity: .85; }
.carte-compte .num { font-family: ui-monospace, "Cascadia Mono", monospace; letter-spacing: 1px; font-size: 14px; opacity: .9; }
.carte-compte .solde { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin: 10px 0 4px; }
.carte-compte .solde small { font-family: var(--font); font-size: 14px; font-weight: 600; opacity: .8; margin-left: 4px; }
.carte-compte .dispo { display: flex; gap: 18px; font-size: 12.5px; opacity: .9; flex-wrap: wrap; }
.carte-compte .masque { cursor: pointer; }

.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 18px; }
.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.action i { font-style: normal; font-size: 20px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }

.champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.champ label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #cfd6de;
  background: #fff;
  outline: none;
  font-size: 16px;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(12, 107, 102, .14); }
.champ .aide { font-size: 12px; color: var(--muted); }
.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.deux .champ { margin-bottom: 14px; min-width: 0; }
.deux .champ input, .deux .champ select { min-width: 0; padding-left: 10px; padding-right: 10px; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin: 6px 0 16px; }
.case input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--teal); flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid #cfd6de;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.btn:disabled { opacity: .55; cursor: wait; }
.btn-plein { width: 100%; }
.btn-primaire { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-primaire:active { background: var(--teal-deep); }
.btn-or { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-lien { border: 0; background: none; min-height: 0; padding: 8px 0; color: var(--teal); font-weight: 700; }
.btn-danger { color: var(--danger); border-color: #e7c4c9; }
.pile { display: flex; flex-direction: column; gap: 10px; }
.ligne-btn { display: flex; gap: 10px; }
.ligne-btn .btn { flex: 1; }

.err { color: var(--danger); background: var(--danger-soft); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; margin: 0 0 14px; }
.err:empty { display: none; }
.ok { color: var(--teal-deep); background: var(--teal-soft); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; margin: 0 0 14px; }
.info { background: var(--gold-soft); color: #6b4c17; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin: 0 0 14px; }

.accueil-public { padding-top: 6px; }
.accueil-public .hero { text-align: center; margin: 8px 0 22px; }
.accueil-public .hero img { width: 72px; height: 72px; border-radius: 18px; background: #0b1826; }
.accueil-public .hero h1 { margin-top: 12px; }
.separateur { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 18px 0; }
.separateur::before, .separateur::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.liste li:last-child { border-bottom: 0; }
.liste .t { font-weight: 700; font-size: 14px; }
.liste .s { font-size: 12px; color: var(--muted); }
.mt { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mt.c { color: var(--teal); }
.mt.d { color: var(--ink); }
.jour { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin: 14px 0 0; }
.pastille { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); }
.pastille.att { background: var(--gold-soft); color: #7a5a1e; }
.pastille.ko { background: var(--danger-soft); color: var(--danger); }

.onglets { display: grid; grid-template-columns: 1fr 1fr; background: #e6ebf0; border-radius: 14px; padding: 4px; margin-bottom: 16px; }
.onglets button { border: 0; background: none; min-height: 42px; border-radius: 11px; font-weight: 800; cursor: pointer; color: var(--ink-soft); }
.onglets button.actif { background: #fff; color: var(--teal-deep); box-shadow: 0 2px 8px rgba(16, 32, 51, .08); }
.puces { display: flex; gap: 8px; flex-wrap: wrap; }
.puces button { border: 1px solid #cfd6de; background: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 700; cursor: pointer; }
.puces button.actif { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-deep); }

.recap { margin: 0 0 16px; }
.recap div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.recap div:last-child { border-bottom: 0; }
.recap dt { color: var(--muted); margin: 0; }
.recap dd { margin: 0; font-weight: 800; text-align: right; }
.recap .total dd { font-size: 17px; color: var(--teal-deep); }

.attente { text-align: center; padding: 26px 10px; }
.roue { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; border: 5px solid var(--teal-soft); border-top-color: var(--teal); animation: tourne 1s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.roue.petite { width: 28px; height: 28px; margin: 0; border-width: 3px; flex: none; }
.en-cours { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; border-color: var(--teal); background: var(--teal-soft); }
.en-cours b { display: block; font-size: 14px; }
.en-cours span { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.grand-etat { font-size: 54px; line-height: 1; margin-bottom: 10px; }
.ussd { font-family: ui-monospace, monospace; font-size: 22px; font-weight: 800; background: var(--gold-soft); padding: 12px; border-radius: 12px; margin: 10px 0; letter-spacing: 1px; }

.code-saisie { display: flex; justify-content: center; gap: 8px; margin: 10px 0 16px; }
.code-saisie input {
  width: 100%;
  max-width: 260px;
  text-align: center;
  font-size: 28px;
  letter-spacing: 10px;
  font-weight: 800;
  min-height: 60px;
  border-radius: 14px;
  border: 1px solid #cfd6de;
}

.etapes { display: flex; gap: 4px; margin: 0 0 16px; }
.etapes span { flex: 1; height: 5px; border-radius: 3px; background: #dde3ea; }
.etapes span.fait { background: var(--teal); }
.etapes span.cours { background: var(--gold); }
.etape-titre { font-size: 12px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .8px; margin: 0 0 4px; }

.photo {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed #c3ccd6;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fbfcfd;
}
.photo .vignette { width: 72px; height: 72px; border-radius: 10px; background: #e9eef3 center/cover no-repeat; flex: none; display: grid; place-items: center; font-size: 26px; color: #9aa8b6; }
.photo .txt { flex: 1; min-width: 0; }
.photo .txt b { display: block; font-size: 14px; }
.photo.fait { border-style: solid; border-color: #b8dcd8; background: #f4fbfa; }
.photo .btn { min-height: 42px; padding: 8px 12px; font-size: 13px; }

.camera video, .camera img { width: 100%; border-radius: 14px; background: #000; max-height: 60vh; object-fit: cover; }
.camera .cadre { position: relative; }
.camera .guide { position: absolute; inset: 12% 10%; border: 2px dashed rgba(255, 255, 255, .7); border-radius: 14px; pointer-events: none; }
.camera .guide.ovale { inset: 10% 22%; border-radius: 50%; }

.signature-zone { border: 1px solid #cfd6de; border-radius: 14px; background: #fff; touch-action: none; width: 100%; height: 200px; display: block; }

.bq-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: space-around;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(16, 32, 51, .06);
}
.bq-nav a {
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  border-radius: 10px;
}
.bq-nav a span { font-size: 20px; line-height: 1.2; }
.bq-nav a.actif { color: var(--teal-deep); }
.bq-nav a.actif span { color: var(--gold); }

.bq-modale {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(10, 25, 40, .55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bq-modale .boite {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
  animation: monte .18s ease-out;
}
@keyframes monte { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) {
  .bq-modale { align-items: center; }
  .bq-modale .boite { border-radius: 22px; }
}

.bq-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  max-width: calc(100% - 32px);
  box-shadow: var(--shadow);
}

.vide { text-align: center; color: var(--muted); padding: 22px 8px; }
.plafonds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plafonds div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.plafonds b { display: block; font-size: 15px; }
.plafonds span { font-size: 12px; color: var(--muted); }

/* Aide sur chaque champ (survol, toucher) */
.aide-i { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-left: 4px; padding: 0; border: 0; border-radius: 50%; background: rgba(12, 107, 102, .12); color: var(--teal); font: 800 11px/1 inherit; cursor: help; vertical-align: 1px; }
.aide-i:hover, .aide-i:focus { background: var(--teal); color: #fff; outline: none; }
.bulle-aide { position: absolute; z-index: 1000; max-width: min(320px, calc(100vw - 16px)); padding: 9px 12px; border-radius: 10px; background: #12324a; color: #fff; font-size: 13px; line-height: 1.4; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); pointer-events: none; opacity: 0; transition: opacity .12s; left: -9999px; top: 0; }
.bulle-aide.vue { opacity: 1; }

/* Mes dossiers */
.rubrique { font-size: 15px; margin: 22px 0 10px; color: var(--teal-deep); }
.dossier h3 { margin: 0 0 2px; }
.dossier.en-retard { border-left: 4px solid #b3261e; }
.alerte-impaye { background: #fdecea; color: #8c1d18; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin: 10px 0 12px; }
.liste b.debit { color: #8c1d18; } .liste b.credit { color: var(--teal-deep); }

/* Accueil compact : solde total, actions rondes, comptes en liste */
.salut { font-size: 20px; margin: 4px 2px 12px; color: var(--ink-soft); }
.salut b { color: var(--ink); font-weight: 800; }
.hero-solde { position: relative; overflow: hidden; border-radius: 20px; padding: 16px 18px 14px; margin-bottom: 14px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #13877f 0%, var(--teal) 40%, var(--teal-deep) 75%, #06312f 100%); box-shadow: 0 14px 34px rgba(8, 78, 75, .28); }
.hero-solde::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .05); }
.hs-tete { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; opacity: .85; }
.oeil { background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 15px; cursor: pointer; }
.hs-montant { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.15; margin: 4px 0 2px; letter-spacing: -.3px; }
.hs-montant small { font-family: var(--font); font-size: 13px; font-weight: 600; opacity: .8; margin-left: 5px; }
.hs-dispo { font-size: 12.5px; opacity: .9; }
.hs-dispo b { color: #f3d9a4; }
.hs-actions { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.hs-actions a { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; }
.hs-actions i { font-style: normal; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .18); }
.hs-actions a:active i { background: var(--gold); border-color: var(--gold); }
.carte-liste { padding: 6px 14px; }
.cl-tete { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px 4px; }
.cl-tete h3 { margin: 0; }
.cl-tete a { font-size: 12.5px; font-weight: 700; color: var(--teal); text-decoration: none; }
.ligne-compte { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 12px; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.cl-tete + .ligne-compte { border-top: 0; }
.pastille-cpt { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--teal-deep); background: var(--teal-soft); }
.lc-txt { display: flex; flex-direction: column; min-width: 0; }
.lc-txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-txt small, .lc-mt small { font-size: 11.5px; color: var(--muted); font-family: ui-monospace, "Cascadia Mono", monospace; }
.lc-mt { display: flex; flex-direction: column; align-items: flex-end; }
.lc-mt b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.lc-mt b.neg { color: var(--danger); }
.lc-mt small { font-family: var(--font); }
.lc-chev { color: var(--muted); font-size: 20px; }

/* Accueil personnalisable (vitrine + connexion) — réglé dans Xfinance › Banque en ligne › Personnalisation */
body.page-vitrine .bq-top { display: none; }
body.page-vitrine .bq-app { max-width: none; padding: 0; }
.vt { --vt-fond: #fbf8f3; --vt-encre: #121a22; --vt-doux: #5d6b78; min-height: 100vh; background: var(--vt-fond); color: var(--vt-encre);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "vitrine" "acces" "pied"; overflow-x: hidden; }
.vt > * { min-width: 0; }
.vt-sombre { --vt-fond: #0e1a24; --vt-encre: #f4f1ea; --vt-doux: #a9b6c2; }
.vt-vitrine { grid-area: vitrine; padding: 22px 20px 6px; }
.vt-acces { grid-area: acces; padding: 8px 16px 18px; }
.vt-pied { grid-area: pied; padding: 14px 20px 22px; font-size: 11.5px; color: var(--vt-doux); text-align: center; }
.vt-marque { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.vt-marque img { width: 38px; height: 38px; border-radius: 11px; object-fit: contain; background: #0b1826; }
.vt-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--vt-a);
  background: rgba(184, 137, 58, .14); background: color-mix(in srgb, var(--vt-a) 14%, transparent); border-radius: 99px; padding: 5px 12px; margin-bottom: 12px; }
.vt-titre { font-family: var(--font); font-size: clamp(28px, 7.5vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; overflow-wrap: anywhere; }
.vt-titre em { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--vt-a); }
.vt-sous { color: var(--vt-doux); font-size: 15px; line-height: 1.55; margin: 0 0 16px; max-width: 34em; }
.vt-image { margin: 0 0 16px; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(18, 26, 34, .16); display: none; }
.vt-image img { display: block; width: 100%; max-height: 360px; object-fit: cover; }
.vt-atouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vt-atouts li { display: flex; gap: 12px; align-items: flex-start; }
.vt-ic { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: rgba(12, 107, 102, .12); background: color-mix(in srgb, var(--vt-p) 12%, transparent); }
.vt-atouts b { display: block; font-size: 14px; }
.vt-atouts small { display: block; color: var(--vt-doux); font-size: 12.5px; line-height: 1.4; }
.vt-carte { background: #fff; color: #121a22; border-radius: 22px; padding: 22px 20px; box-shadow: 0 20px 50px rgba(18, 26, 34, .12); border: 1px solid rgba(18, 26, 34, .06); max-width: 440px; margin: 0 auto; }
.vt-carte h2 { font-size: 22px; margin-bottom: 4px; }
.vt-aide { color: #5d6b78; font-size: 13px; margin: 0 0 14px; }
.vt-btn { background: #121a22; color: #fff; border: 0; border-radius: 99px; height: 50px; font-weight: 800; }
.vt-btn:hover { background: var(--vt-p); }
.vt-btn-or { background: var(--vt-a); color: #fff; border: 0; border-radius: 99px; height: 48px; font-weight: 800; margin-bottom: 8px; }
.vt-btn-ligne { background: transparent; color: #121a22; border: 1.5px solid #121a22; border-radius: 99px; height: 48px; font-weight: 800; }
.vt-lien { color: var(--vt-p); }
.vt-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin: 14px auto 0; font-size: 12.5px; color: var(--vt-doux); max-width: 440px; }
.vt-contact a { color: var(--vt-p); font-weight: 700; text-decoration: none; }
.vt-sombre .vt-contact a, .vt-sombre .vt-lien { color: var(--vt-a); }
@media (max-width: 899px) {
  .vt-atouts { grid-auto-flow: column; grid-auto-columns: minmax(200px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2px; scrollbar-width: none; }
  .vt-atouts li { scroll-snap-align: start; background: rgba(12, 107, 102, .06); background: color-mix(in srgb, var(--vt-p) 6%, transparent); border-radius: 14px; padding: 10px 12px; }
}
@media (min-width: 900px) {
  .vt { grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); grid-template-areas: "vitrine acces" "pied pied"; align-items: center; }
  .vt-vitrine { padding: 48px 56px 24px 8vw; }
  .vt-acces { padding: 48px 8vw 24px 24px; }
  .vt-image { display: block; }
  .vt-carte { padding: 30px 28px; }
}

/* Fond « marque » (défaut) : la zone de gauche de la connexion Xfinance (/apps), signature commune à /apps, /mob et /col */
.vt-mini { display: none; }
.vt-halo { display: none; }
.vt-sig { --vt-fond: #fff; background: #fff; }
.vt-sig .vt-vitrine { position: relative; overflow: hidden; color: #f4f7f6;
  background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(184, 137, 58, .22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(12, 107, 102, .55), transparent 50%),
    linear-gradient(145deg, #071c28 0%, #0a3d3a 42%, var(--vt-p) 100%); }
.vt-sig .vt-halo { display: block; position: absolute; inset: -20%; pointer-events: none;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .07) 0 18%, transparent 19%),
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, .05) 0 28%, transparent 29%),
    radial-gradient(circle at 55% 25%, rgba(184, 137, 58, .12) 0 22%, transparent 23%);
  animation: vtHalo 14s ease-in-out infinite alternate; }
@keyframes vtHalo { from { transform: translate(0, 0) scale(1); } to { transform: translate(-2%, 3%) scale(1.04); } }
.vt-sig .vt-vitrine > *:not(.vt-halo) { position: relative; z-index: 1; max-width: 560px; }
.vt-sig .vt-marque { display: block; }
.vt-sig .vt-vitrine .vt-marque img { display: block; width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .28); margin-bottom: 16px; }
.vt-sig .vt-vitrine .vt-marque span { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.vt-sig .vt-badge { color: #e8c57a; background: rgba(232, 197, 122, .14); }
.vt-sig .vt-titre { font-family: var(--font-display); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.vt-sig .vt-titre em { font-family: var(--font-display); font-style: normal; font-weight: 700; color: #e8c57a; }
.vt-sig .vt-sous { color: rgba(244, 247, 246, .82); }
.vt-sig .vt-atouts li { position: relative; padding-left: 22px; display: block; background: none; }
.vt-sig .vt-atouts li::before { content: ""; position: absolute; left: 0; top: .42em; width: 8px; height: 8px; border-radius: 50%; background: var(--vt-a); box-shadow: 0 0 0 3px rgba(184, 137, 58, .25); }
.vt-sig .vt-ic { display: none; }
.vt-sig .vt-atouts b { color: #fff; font-size: 13.5px; }
.vt-sig .vt-atouts small { color: rgba(244, 247, 246, .72); }
.vt-sig .vt-acces { background: #fff; }
.vt-sig .vt-mini { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; color: #102033; max-width: 440px; margin: 0 auto 18px; }
.vt-sig .vt-mini img { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; background: #0b1826; }
.vt-sig .vt-carte { box-shadow: none; border: 0; padding: 0; }
.vt-sig .vt-carte h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.vt-sig .vt-carte .champ label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #3d5166; }
.vt-sig .vt-carte .champ input { background: #f4f7f8; border-radius: 10px; }
.vt-sig .vt-btn { border-radius: 10px; height: 46px; background: linear-gradient(180deg, #0e7a74 0%, #084e4b 100%); }
.vt-sig .vt-btn:hover { filter: brightness(1.05); background: linear-gradient(180deg, #0e7a74 0%, #084e4b 100%); }
.vt-sig .vt-btn-or, .vt-sig .vt-btn-ligne { border-radius: 10px; height: 44px; }
.vt-sig .vt-btn-ligne { border: 1px solid #c9d3dc; }
.vt-sig .vt-pied { background: #fff; }
@media (max-width: 899px) {
  .vt-sig .vt-vitrine { padding: 26px 22px 24px; }
  .vt-sig .vt-atouts, .vt-sig .vt-image, .vt-sig .vt-mini { display: none; }
  .vt-sig .vt-titre { font-size: 30px; }
  .vt-sig .vt-acces { padding: 22px 20px 8px; }
}
@media (min-width: 900px) {
  .vt-sig { grid-template-areas: "vitrine acces" "vitrine pied"; grid-template-rows: 1fr auto; align-items: stretch; }
  .vt-sig .vt-vitrine { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 6vw, 72px) clamp(32px, 6vw, 72px) clamp(32px, 6vw, 72px) 8vw; }
  .vt-sig .vt-vitrine .vt-marque img { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 22px; }
  .vt-sig .vt-acces { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 64px); }
  .vt-sig .vt-mini, .vt-sig .vt-carte, .vt-sig .vt-contact { width: 100%; }
}

/* Langue, numéro international et conditions d'utilisation */
.sel-langue { border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); color: inherit; border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.sel-langue option { color: #121a22; }
.bq-top .sel-langue { margin-left: auto; }
.vt-langue { display: flex; justify-content: flex-end; padding: 6px 4px 0; }
.vt-langue .sel-langue { border-color: #cfd6de; background: #fff; color: #121a22; }
.tel-ligne { display: flex; gap: 8px; align-items: stretch; }
.tel-ligne select { flex: 0 1 46%; min-width: 0; }
.tel-ligne input { flex: 1 1 54%; min-width: 0; }
.tel-ind { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #cfd6de; border-radius: 12px; background: #f4f6f8; font-weight: 700; }
#iEtr ul.liste { margin: 8px 0 10px 18px; padding: 0; }
#iEtr ul.liste li { margin: 4px 0; }
.cgu { max-height: 52vh; overflow: auto; border: 1px solid #e0e5ea; border-radius: 12px; padding: 4px 14px 12px; background: #fbfcfd; font-size: 14px; line-height: 1.5; }
.cgu h3 { font-size: 14.5px; margin: 14px 0 4px; color: var(--teal-deep); }
.cgu p { margin: 0 0 4px; }

/* Liste de langue : toujours lisible (texte sombre sur fond clair), noms complets */
.sel-langue { border: 1px solid #b9c4cc !important; background: #fff !important; color: #0b2c3f !important; font-weight: 700; min-width: 120px; }
.sel-langue option { color: #0b2c3f; background: #fff; }

.lien-carte { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; border-left: 4px solid var(--gold, #b8893a); }
.lien-carte b { color: var(--teal-deep); }
