/* ==========================================================================
   WARIS BUSINESS — Feuille de style premium
   Palette issue du logo : bleu marine + jaune doré, accent vert sécurité
   ========================================================================== */

:root {
  --navy: #16277E;
  --navy-dark: #0E1A56;
  --navy-darker: #0A123D;
  --gold: #F7B500;
  --gold-light: #FFC828;
  --gold-soft: #FFE9A8;
  --green: #1FA463;
  --green-light: #25c178;
  --ink: #0c1330;
  --muted: #6b7392;
  --line: #e7eaf3;
  --bg-soft: #f6f8fd;
  --white: #ffffff;

  --shadow-sm: 0 4px 14px rgba(14, 26, 86, .08);
  --shadow-md: 0 14px 40px rgba(14, 26, 86, .12);
  --shadow-lg: 0 30px 70px rgba(14, 26, 86, .18);
  --radius: 18px;
  --radius-sm: 12px;

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
}

a { text-decoration: none; transition: color .25s ease; }

section { position: relative; }

.section-pad { padding: 100px 0; }

.text-gold   { color: var(--gold) !important; }
.text-navy   { color: var(--navy) !important; }
.text-green  { color: var(--green) !important; }
.text-muted2 { color: var(--muted) !important; }
.bg-soft     { background: var(--bg-soft); }

.fw-800 { font-weight: 800; }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: .8rem 1.8rem;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(247, 181, 0, .35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(247, 181, 0, .5);
  color: var(--navy-darker);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover {
  background: var(--navy-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light-navy {
  border: 2px solid rgba(255, 255, 255, .35);
  color: #fff;
  background: transparent;
}
.btn-outline-light-navy:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-ghost {
  border: 2px solid var(--line);
  color: var(--navy);
  background: #fff;
}
.btn-ghost:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  transition: all .35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: .55rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line);
}
.navbar-brand img { height: 52px; transition: height .35s ease; }
.navbar.scrolled .navbar-brand img { height: 44px; }

.navbar .nav-link {
  font-weight: 600;
  color: var(--navy) !important;
  margin: 0 .35rem;
  position: relative;
  padding: .4rem .2rem !important;
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 110px;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(247, 181, 0, .18), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(31, 164, 99, .12), transparent 55%),
    linear-gradient(160deg, var(--navy-darker) 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .82); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--gold-light);
  padding: .45rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-glass {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.hero-stat h3 {
  font-size: 2.1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .15rem;
}
.hero-stat p { color: rgba(255, 255, 255, .7); font-size: .85rem; margin: 0; }

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .5;
}

/* floating mock card in hero */
.float-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.5rem;
  color: var(--ink);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.txn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.txn-row:last-child { border-bottom: none; }
.txn-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.1rem;
}

.wave-divider { line-height: 0; position: absolute; bottom: -1px; left: 0; width: 100%; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-strip .logo-item {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  opacity: .5;
  font-size: 1.15rem;
  transition: opacity .3s ease;
}
.trust-strip .logo-item:hover { opacity: 1; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .78rem;
  color: var(--gold);
  background: var(--gold-soft);
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.section-sub { color: var(--muted); max-width: 640px; }

/* ---------- Cards ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  height: 100%;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(247, 181, 0, .07), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }

.feature-ico {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--gold-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.feature-card h4 { font-size: 1.2rem; position: relative; z-index: 1; }
.feature-card p { color: var(--muted); margin: 0; position: relative; z-index: 1; }

/* ---------- Advantages / split ---------- */
.adv-list { list-style: none; padding: 0; margin: 0; }
.adv-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
}
.adv-list li:last-child { border-bottom: none; }
.adv-check {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(31, 164, 99, .12);
  color: var(--green);
  display: grid; place-items: center;
  font-size: 1rem;
}
.adv-list h5 { margin: 0 0 .2rem; font-size: 1.05rem; }
.adv-list p { margin: 0; color: var(--muted); font-size: .94rem; }

.media-card {
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 2.6rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.media-card h3 { color: #fff; }
.media-card .ring {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

/* ---------- Process steps ---------- */
.process-wrap { position: relative; }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  text-align: center;
  transition: all .35s ease;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 10px 22px rgba(247, 181, 0, .35);
}
.step-card h5 { font-size: 1.1rem; }
.step-card p { color: var(--muted); font-size: .92rem; margin: 0; }

.tab-pill {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: .35rem;
  box-shadow: var(--shadow-sm);
}
.tab-pill button {
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--muted);
  padding: .6rem 1.6rem;
  border-radius: 50px;
  transition: all .3s ease;
}
.tab-pill button.active {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ---------- Bookmakers ---------- */
.book-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  transition: all .3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.book-chip:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  color: var(--navy);
}
.book-chip i { color: var(--gold); }

/* ---------- Bookmaker brand wordmarks ---------- */
.bm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1rem;
  height: 100%;
  display: grid;
  place-items: center;
  transition: all .3s ease;
}
.bm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.bm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .01em;
  padding: .55rem 1.05rem;
  border-radius: 10px;
  font-size: 1.1rem;
  white-space: nowrap;
  line-height: 1;
}
.bm-badge i, .bm-badge b { font-style: normal; }

.bm-1xbet     { background: #0C5AB8; color: #fff; }
.bm-1xbet i   { color: #18b06b; }
.bm-melbet    { background: #FFCC00; color: #14213d; }
.bm-betwinner { background: #111418; color: #fff; }
.bm-betwinner b { color: #9DD549; }
.bm-1win      { background: #1A5CFF; color: #fff; }
.bm-premierbet{ background: #009A44; color: #fff; }
.bm-888starz  { background: #fff; color: #14213d; box-shadow: inset 0 0 0 1px var(--line); }
.bm-888starz i{ color: #E2261C; }
.bm-betclic   { background: #ED1C24; color: #fff; }
.bm-linebet   { background: #0A3D91; color: #fff; }
.bm-linebet b { color: #FF7A00; }
.bm-more      { background: var(--bg-soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Stats band ---------- */
.stats-band {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(247, 181, 0, .14), transparent 60%),
    linear-gradient(160deg, var(--navy-darker), var(--navy));
  color: #fff;
  border-radius: var(--radius);
  padding: 3.2rem 2rem;
  box-shadow: var(--shadow-lg);
}
.stats-band h2 { color: var(--gold-light); font-size: 2.6rem; margin: 0; }
.stats-band p { color: rgba(255, 255, 255, .75); margin: 0; }

/* ---------- Security / shield ---------- */
.sec-badge {
  display: flex;
  gap: .9rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.sec-badge i { color: var(--green); font-size: 1.3rem; }
.sec-badge span { font-weight: 600; font-size: .92rem; color: var(--navy); }

/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.6rem;
  border: 1px solid var(--line);
}
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  font-size: .95rem;
  transition: all .25s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(247, 181, 0, .15);
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy); }

.contact-card-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all .3s ease;
}
.contact-card-box:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .12);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.contact-info-item .ci-ico {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  color: var(--gold-light);
  font-size: 1.1rem;
}

/* ---------- FAQ ---------- */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}
.accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  padding: 1.2rem 1.4rem;
  background: #fff;
}
.accordion-button:not(.collapsed) {
  color: var(--navy);
  background: var(--bg-soft);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--line); }
.accordion-button::after {
  background-size: 1rem;
}
.accordion-body { color: var(--muted); padding: 0 1.4rem 1.4rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(247, 181, 0, .2), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: calc(var(--radius) + 6px);
  color: #fff;
  padding: 3.4rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.cta-banner h2 { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, .7);
  padding-top: 4.5rem;
}
.footer h6 {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: .95rem;
  letter-spacing: .03em;
}
.footer a { color: rgba(255, 255, 255, .7); }
.footer a:hover { color: var(--gold-light); }
.footer .footer-logo { height: 58px; margin-bottom: 1rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  margin-right: .5rem;
  transition: all .3s ease;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-darker);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: .85rem;
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: rgba(247, 181, 0, .08);
  border: 1px solid rgba(247, 181, 0, .25);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  font-size: .85rem;
  color: var(--muted);
}
.disclaimer i { color: var(--gold); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .35s ease;
  z-index: 999;
  border: none;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--navy-darker); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Démo animée (téléphone) ---------- */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(31, 164, 99, .12);
  color: var(--green);
  font-weight: 700;
  font-size: .8rem;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.demo-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: blink 1.3s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.demo-phone {
  position: relative;
  width: 290px;
  max-width: 100%;
  margin: 0 auto;
  background: #0b1233;
  border-radius: 42px;
  padding: 13px;
  box-shadow: 0 45px 90px rgba(14, 26, 86, .38), inset 0 0 0 2px rgba(255, 255, 255, .07);
}
.demo-phone::before {
  content: '';
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 22px;
  background: #0b1233;
  border-radius: 0 0 16px 16px;
  z-index: 6;
}
.demo-screen-wrap {
  position: relative;
  background: #f6f8fd;
  border-radius: 32px;
  height: 540px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.demo-topbar {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  color: #fff;
  padding: 34px 20px 18px;
  flex: 0 0 auto;
}
.demo-topbar small { color: rgba(255, 255, 255, .65); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.demo-topbar h6 { color: #fff; margin: .15rem 0 0; font-size: 1.05rem; }
.demo-body { position: relative; flex: 1 1 auto; }

.demo-screen {
  position: absolute;
  inset: 0;
  padding: 20px;
  opacity: 0;
  animation: demoFade 15s infinite;
}
.demo-screen:nth-child(1) { animation-delay: 0s; }
.demo-screen:nth-child(2) { animation-delay: 2.5s; }
.demo-screen:nth-child(3) { animation-delay: 5s; }
.demo-screen:nth-child(4) { animation-delay: 7.5s; }
.demo-screen:nth-child(5) { animation-delay: 10s; }
.demo-screen:nth-child(6) { animation-delay: 12.5s; }
@keyframes demoFade {
  0%   { opacity: 0; transform: translateY(14px); }
  3%   { opacity: 1; transform: translateY(0); }
  15%  { opacity: 1; transform: translateY(0); }
  18%  { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 0; }
}

/* Titres de la barre supérieure (dépôt → retrait) */
.demo-titles { position: relative; height: 1.4rem; }
.demo-titles h6 { position: absolute; top: 0; left: 0; opacity: 0; }
.demo-titles .t-depot   { animation: titleDepot 15s infinite; }
.demo-titles .t-retrait { animation: titleRetrait 15s infinite; }
@keyframes titleDepot   { 0% { opacity: 1; } 47% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }
@keyframes titleRetrait { 0%, 50% { opacity: 0; } 53% { opacity: 1; } 100% { opacity: 1; } }
.demo-screen .ds-label { font-size: .72rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.demo-screen h5 { font-size: 1.05rem; margin: .3rem 0 1rem; }

.ds-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .8rem;
  margin-bottom: .6rem;
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
}
.ds-row.active { border-color: var(--gold); box-shadow: 0 6px 16px rgba(247, 181, 0, .2); }
.ds-row .bi-check-circle-fill { color: var(--green); margin-left: auto; }
.ds-row .mini { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .7rem; font-weight: 800; }

.ds-amount { text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--navy); margin: 1.4rem 0; }
.ds-amount span { color: var(--muted); font-size: 1rem; }
.ds-chip { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: .4rem .8rem; margin: .2rem; font-size: .78rem; font-weight: 600; color: var(--navy); }
.ds-chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.demo-spinner {
  width: 58px; height: 58px;
  border: 5px solid rgba(22, 39, 126, .12);
  border-top-color: var(--navy);
  border-radius: 50%;
  margin: 2rem auto 1.2rem;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-progress { height: 6px; background: var(--line); border-radius: 50px; overflow: hidden; margin-top: 1rem; }
.demo-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 50px; animation: demoBar 15s infinite; animation-delay: 10s; }
@keyframes demoBar {
  0% { width: 0; }
  4% { width: 30%; }
  9% { width: 70%; }
  14% { width: 100%; }
  100% { width: 100%; }
}

.demo-check {
  width: 86px; height: 86px;
  border-radius: 50%;
  background: rgba(31, 164, 99, .14);
  color: var(--green);
  display: grid; place-items: center;
  font-size: 2.6rem;
  margin: 1.8rem auto 1rem;
  transform: scale(0);
  animation: demoPop 15s infinite;
}
.demo-check.dc-depot   { animation-delay: 5s; }
.demo-check.dc-retrait { animation-delay: 12.5s; background: rgba(247, 181, 0, .16); color: var(--gold); }
@keyframes demoPop {
  0% { transform: scale(0); }
  4% { transform: scale(1.2); }
  9% { transform: scale(1); }
  100% { transform: scale(1); }
}

.demo-dots { display: flex; justify-content: center; gap: 6px; padding: 14px 0 4px; }
.demo-dots i { width: 8px; height: 8px; border-radius: 50px; background: rgba(255, 255, 255, .3); animation: demoDot 15s infinite; }
.demo-dots i:nth-child(1) { animation-delay: 0s; }
.demo-dots i:nth-child(2) { animation-delay: 2.5s; }
.demo-dots i:nth-child(3) { animation-delay: 5s; }
.demo-dots i:nth-child(4) { animation-delay: 7.5s; }
.demo-dots i:nth-child(5) { animation-delay: 10s; }
.demo-dots i:nth-child(6) { animation-delay: 12.5s; }
@keyframes demoDot {
  0% { width: 8px; background: rgba(255, 255, 255, .3); }
  3%, 15% { width: 20px; background: var(--gold); }
  18%, 100% { width: 8px; background: rgba(255, 255, 255, .3); }
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 2000;
  transition: width .1s linear;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-darker), var(--navy));
  display: grid;
  place-items: center;
  z-index: 3000;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader img {
  height: 90px;
  animation: pulseLogo 1.6s ease-in-out infinite;
}
.preloader .loader-bar {
  width: 160px; height: 4px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50px;
  margin-top: 1.4rem;
  overflow: hidden;
}
.preloader .loader-bar span {
  display: block; height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 50px;
  animation: loaderSlide 1.1s ease-in-out infinite;
}
@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.92); opacity: .75; }
}
@keyframes loaderSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--navy), var(--navy-dark));
  border-radius: 10px;
  border: 2px solid var(--bg-soft);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Button shimmer ---------- */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
}
.btn-gold:hover::after { left: 140%; }

/* ---------- Hero grid overlay ---------- */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 75%);
  pointer-events: none;
}

/* ---------- Certifications band ---------- */
.cert-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  justify-content: center;
  padding: .6rem 0;
}
.cert-item i { font-size: 1.7rem; color: var(--green); }
.cert-item .cert-txt strong { display: block; font-size: .92rem; color: var(--navy); line-height: 1.1; }
.cert-item .cert-txt small { color: var(--muted); font-size: .78rem; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  height: 100%;
  transition: all .35s ease;
  position: relative;
}
.testi-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.testi-card .quote-ico {
  font-size: 2.4rem;
  color: var(--gold);
  opacity: .35;
  line-height: 1;
}
.testi-stars { color: var(--gold); font-size: .95rem; margin: .4rem 0 1rem; }
.testi-card p { color: var(--ink); font-size: .98rem; }
.testi-author { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}
.testi-author h6 { margin: 0; font-size: .95rem; }
.testi-author small { color: var(--muted); }

/* ---------- Live social-proof toast ---------- */
.live-toast {
  position: fixed;
  left: 24px; bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 320px;
  z-index: 1500;
  opacity: 0;
  transform: translateY(20px);
  transition: all .45s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.live-toast.show { opacity: 1; transform: translateY(0); }
.live-toast .lt-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(31, 164, 99, .12);
  color: var(--green);
  font-size: 1.1rem;
}
.live-toast strong { font-size: .88rem; color: var(--navy); display: block; }
.live-toast small { font-size: .78rem; color: var(--muted); }

/* ---------- Counter ---------- */
.counter { font-variant-numeric: tabular-nums; }

/* ---------- Responsive ---------- */
/* Tablettes & paysage mobile */
@media (max-width: 991px) {
  .section-pad { padding: 70px 0; }
  .hero { padding: 140px 0 70px; }
  .navbar {
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-sm);
  }
  .navbar-collapse {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    margin-top: .8rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
  }
  .navbar .nav-link { margin: .15rem 0; padding: .5rem 0 !important; }
  .navbar .nav-item .btn { width: 100%; margin-top: .5rem; }
  .cta-banner, .form-card, .media-card { padding: 2rem; }
  .hero-glass { margin-top: 2.5rem; }
  .stats-band { padding: 2.4rem 1.4rem; }
}

/* Mobile portrait */
@media (max-width: 767px) {
  .section-pad { padding: 56px 0; }
  .hero { padding: 120px 0 60px; }
  .hero h1.display-4 { font-size: 2rem; }
  .hero .lead { font-size: 1rem; }
  .hero-stat h3 { font-size: 1.5rem; }
  .hero-stat p { font-size: .72rem; }
  .section-title { font-size: 1.55rem; }
  .feature-card, .testi-card { padding: 1.6rem 1.4rem; }
  .feature-ico { width: 54px; height: 54px; font-size: 1.4rem; }
  .stats-band h2 { font-size: 1.9rem; }
  .cta-banner { padding: 2rem 1.4rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .bm-badge { font-size: .9rem; padding: .45rem .75rem; border-radius: 8px; }
  .bm-card { padding: 1.1rem .6rem; }
  .cert-item { flex-direction: column; text-align: center; gap: .4rem; }
  .cert-item i { font-size: 1.5rem; }
  .contact-card-box { padding: 1.6rem 1.2rem; }
  .btn-lg { padding: .75rem 1.4rem; font-size: .95rem; }
}

/* Petits mobiles */
@media (max-width: 575px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .stats-band h2 { font-size: 1.7rem; }
  .stats-band p { font-size: .78rem; }
  .float-card { display: none; }
  .live-toast { display: none; }
  .hero .d-flex.flex-wrap.gap-3 .btn { width: 100%; }
  .tab-pill { width: 100%; }
  .tab-pill button { flex: 1; padding: .6rem .8rem; }
  .navbar-brand img { height: 42px; }
  .eyebrow { font-size: .72rem; }
  .demo-phone { width: 260px; }
  .demo-screen-wrap { height: 500px; }
}

/* Très petits écrans */
@media (max-width: 360px) {
  .hero h1.display-4 { font-size: 1.7rem; }
  .hero-stat h3 { font-size: 1.25rem; }
  .bm-badge { font-size: .8rem; }
}
