/* ============================================================
   SPARKOVA TECH — style.css
   ============================================================ */

/* ---------- CSS Variables / Tokens ---------- */
:root {
  --bg:            #07060d;
  --bg-card:       #0f0d1c;
  --bg-muted:      #0b0a18;
  --border:        rgba(255,255,255,.08);
  --fg:            #f0eeff;
  --fg-muted:      #8b8fa8;
  --primary:       #e8333a;
  --primary-dim:   rgba(232,51,58,.12);
  --primary-hover: #c9272d;
  --ring:          rgba(232,51,58,.2);
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     18px;
  --font:          'Inter', system-ui, sans-serif;
  --shadow-card:   0 8px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
  --glass-bg:      rgba(255,255,255,.028);
  --glass-border:  rgba(255,255,255,.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient glow — fixed, sits behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 85% 0%,   rgba(232,51,58,.13)  0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 5%  95%,  rgba(139,92,246,.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%,  rgba(232,51,58,.04)  0%, transparent 65%);
}

/* Grid lines — fixed, sits behind everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 52px 52px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.09);
  color: var(--fg);
  border-radius: 13px;
  padding: 13px 16px;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(232,51,58,.55);
  background: rgba(232,51,58,.04);
  box-shadow: 0 0 0 3px rgba(232,51,58,.12);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.25); }
select option { background: #0f0d1c; color: var(--fg); }
textarea { resize: vertical; min-height: 130px; }

/* ---------- Utility ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* All sections/major containers float above the fixed body glow+grid */
#navbar, #hero, #services, .about-section, .ct2-section,
.loyalty-section, .faq-section, #map, #jobs, #footer, .stripe,
.section-sep, #spark-chat-btn, #spark-chat-panel, .mobile-menu {
  position: relative;
  z-index: 1;
}

.section { padding: 96px 0; }
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }
.reveal-delay-6 { transition-delay: .48s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 13px 26px;
  transition: background .18s, color .18s, box-shadow .18s, transform .15s;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}
.btn-primary {
  background: linear-gradient(135deg, #e8333a, #c0272d);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,51,58,.3);
  font-weight: 700;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f03840, #d4282f);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,51,58,.45);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,.12);
  color: var(--fg);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: rgba(232,51,58,.4);
  color: var(--primary);
  background: rgba(232,51,58,.07);
}

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(7,6,13,.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 4px 24px rgba(0,0,0,.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1; }
.nav-logo-text .brand { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.nav-logo-text .sub {
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color .18s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 2px;
  background: var(--primary);
  transition: right .22s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { right: 0; }
.nav-cta { margin-left: 16px; }

/* Bouton Login PWA — caché par défaut, JS l'affiche si mode PWA */
.btn-pwa-login {
  display: none;
  align-items: center;
  gap: 7px;
  background: rgba(232,51,58,.12);
  border: 1px solid rgba(232,51,58,.3);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
  margin-left: 12px;
}
.btn-pwa-login:hover { background: rgba(232,51,58,.22); border-color: rgba(232,51,58,.6); }
.btn-pwa-login svg { opacity: .85; }

/* Lang toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: border-color .18s, background .18s;
  margin-left: 12px;
}
.lang-toggle:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}
.lang-opt {
  color: var(--fg-muted);
  padding: 2px 4px;
  border-radius: 12px;
  transition: color .18s;
  cursor: pointer;
}
.lang-opt.active {
  color: var(--primary);
}
.lang-sep {
  color: rgba(255,255,255,.2);
  margin: 0 2px;
  font-weight: 400;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: rgba(7,6,13,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .25s, opacity .25s;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  padding: 12px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  transition: color .18s;
}
.mobile-menu a:last-child { border: none; }
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,51,58,.15) 0%, rgba(232,51,58,.05) 40%, transparent 70%);
  top: 50%; right: 8%;
  transform: translateY(-55%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlowPulse 5s ease-in-out infinite;
}
@keyframes heroGlowPulse {
  0%,100% { transform: translateY(-55%) scale(1);    opacity: 1;  }
  50%      { transform: translateY(-55%) scale(1.08); opacity: .75; }
}
/* ── Hero 2-column split ── */
.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 64px;
  align-items: center;
  padding: 16px 0 0;
}
.hero-left {
  max-width: 620px;
}
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Hero terminal float animation ── */
@keyframes hvFloat {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-9px); }
}

/* ── Terminal window ── */
.hv-terminal {
  background: rgba(7,5,14,.94);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 60px rgba(232,51,58,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: hvFloat 7s ease-in-out infinite;
  font-family: 'SF Mono','Fira Code','Cascadia Code',Consolas,monospace;
}

/* Title bar */
.hv-term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hv-term-dots { display: flex; gap: 7px; }
.hv-dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; }
.hv-term-title {
  font-size: .73rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .04em;
}

/* Body */
.hv-term-body {
  padding: 18px 22px 22px;
  min-height: 260px;
  max-height: 340px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Individual lines */
.hv-term-row {
  font-size: .8125rem;
  line-height: 1.65;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  white-space: pre-wrap;
  word-break: break-all;
}
.hv-term-prompt { color: #e8333a;         font-weight: 700; }
.hv-term-at     { color: rgba(232,51,58,.55); font-weight: 600; }
.hv-term-host   { color: #c084fc;         font-weight: 600; }
.hv-term-path   { color: rgba(255,255,255,.3); }
.hv-term-sym    { color: rgba(255,255,255,.4); margin-right: 9px; }
.hv-term-cmd    { color: #f0eeff; }
.hv-term-ok     { color: #86efac; }
.hv-term-info   { color: #93c5fd; }
.hv-term-warn   { color: #fde68a; }
.hv-term-comment{ color: rgba(255,255,255,.28); font-style: italic; }

/* Blinking cursor */
.hv-cursor {
  display: inline-block;
  width: 8px; height: 1em;
  background: #e8333a;
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: termBlink .85s step-end infinite;
}
@keyframes termBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,51,58,.1);
  border: 1px solid rgba(232,51,58,.28);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(232,51,58,.12);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero-title .accent {
  background: linear-gradient(90deg, #e8333a 0%, #ff7b7f 40%, #e8333a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: accentShimmer 3.5s linear infinite;
}
@keyframes accentShimmer {
  0%   { background-position: 0%   center; }
  100% { background-position: 200% center; }
}
.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Stat card */
.hstat-card {
  flex: 1;
  padding: 22px 28px;
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .22s, background .25s, transform .25s, box-shadow .25s;
  cursor: default;
}
.hstat-card:hover {
  background: rgba(232,51,58,.05);
  border-color: rgba(232,51,58,.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(232,51,58,.1), 0 4px 16px rgba(0,0,0,.4);
}
.hstat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  pointer-events: none;
}
.hstat-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(232,51,58,.14), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.hstat-card:hover::after { opacity: 1; }

/* Icon */
.hstat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(232,51,58,.1);
  border: 1px solid rgba(232,51,58,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 14px;
}

/* Number */
.hstat-num {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.hstat-unit {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0;
}

/* Label */
.hstat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 14px;
}

/* Mini progress bar */
.hstat-bar {
  height: 3px;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  overflow: hidden;
}
.hstat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #ff7b7f);
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* Divider between cards */
.hstat-divider {
  width: 1px;
  height: 0;
  flex-shrink: 0;
  margin: 0 14px;
}

/* Legacy (unused but kept safe) */
.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-stat-label {
  font-size: .8125rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* ---------- Services ---------- */
#services { background: transparent; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: 2px solid rgba(232,51,58,.5);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .25s, box-shadow .3s, transform .25s, background .25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,51,58,.4), transparent);
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 10% 10%, rgba(232,51,58,.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  border-color: rgba(232,51,58,.3);
  border-top-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(232,51,58,.2), 0 16px 48px rgba(232,51,58,.13), 0 4px 16px rgba(0,0,0,.4);
  transform: translateY(-4px);
  background: rgba(232,51,58,.04);
}
.service-num {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(232,51,58,.25);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.service-icon {
  width: 44px; height: 44px;
  background: var(--primary-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background .25s;
}
.service-card:hover .service-icon { background: rgba(232,51,58,.18); }
.service-icon svg { color: var(--primary); }
.service-card h3 {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.service-card p {
  font-size: .875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Custom select dropdown */
.custom-select-wrap { position: relative; }
.custom-select-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.09);
  border-radius: 13px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
  user-select: none;
}
.custom-select-wrap.open .custom-select-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}
.custom-select-trigger svg.arrow {
  flex-shrink: 0; color: var(--fg-muted);
  transition: transform .2s;
}
.custom-select-wrap.open .custom-select-trigger svg.arrow { transform: rotate(180deg); }
.custom-select-value { font-size: .9375rem; color: var(--fg-muted); flex: 1; }
.custom-select-value.selected { color: var(--fg); }
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: rgba(10,8,20,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  z-index: 200;
  display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  overflow: hidden;
  max-height: 340px;
  overflow-y: auto;
}
.custom-select-wrap.open .custom-select-dropdown { display: block; }
.custom-select-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  font-size: .875rem;
  color: var(--fg-muted);
  cursor: pointer;
  transition: background .12s, color .12s;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.custom-select-option:last-child { border-bottom: none; }
.custom-select-option:hover { background: rgba(232,51,58,.08); color: var(--fg); }
.custom-select-option.active { color: var(--primary); background: rgba(232,51,58,.06); }
.custom-select-option svg { flex-shrink: 0; color: var(--primary); opacity: .7; }

/* ---------- About (Modern Split) ---------- */
.about-section {
  background: rgba(11,10,24,.75);
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(0px);
}
.marquee-wrap {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  padding: 14px 0;
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.marquee-reverse { border-top: none; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: marquee-left 28s linear infinite;
  width: max-content;
}
.marquee-track-rev { animation: marquee-right 24s linear infinite; }
.marquee-track span {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.marquee-dot { color: var(--primary) !important; font-size: .6rem !important; }
@keyframes marquee-left  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 96px 0;
}
.about-big-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 16px 0 28px;
}
.about-accent-word {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.about-accent-word::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  opacity: .5;
}
.about-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 32px;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tag-pill {
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.09);
  color: var(--fg-muted);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: .03em;
  transition: border-color .2s, color .2s, background .2s;
}
.about-tag-pill:hover { border-color: rgba(232,51,58,.35); color: var(--primary); background: rgba(232,51,58,.07); }
.about-right { display: flex; flex-direction: column; gap: 16px; }
.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.about-stat-card:hover { border-color: rgba(232,51,58,.4); transform: translateX(4px); }
.about-stat-num {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--primary);
  line-height: 1;
}
.about-stat-unit {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  opacity: .6;
  margin-right: 20px;
  align-self: flex-end;
  padding-bottom: 4px;
}
.about-stat-desc { font-size: .9rem; color: var(--fg-muted); font-weight: 500; flex: 1; }
.about-stat-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--border);
}
.about-stat-fill { height: 100%; background: var(--primary); border-radius: 2px; opacity: .5; }
.about-stat-red { background: var(--primary); border-color: var(--primary); }
.about-stat-red .about-stat-num,
.about-stat-red .about-stat-unit { color: #fff; opacity: 1; }
.about-stat-red .about-stat-unit { opacity: .7; }
.about-stat-red .about-stat-desc { color: rgba(255,255,255,.75); }
.about-stat-red:hover { border-color: var(--primary-hover); }
.about-stat-bar-light { background: rgba(255,255,255,.2); }
.about-stat-bar-light .about-stat-fill { background: #fff; opacity: .6; }
@keyframes spin-cw  { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 48px; padding: 72px 0; }
}

/* ---------- Contact ---------- */
/* ═══════════════ CONTACT V2 ═══════════════ */
.ct2-section { background: transparent; }

.ct2-header {
  text-align: center;
  margin-bottom: 56px;
}
.ct2-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--primary);
  margin-bottom: 14px;
}
.ct2-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.1;
}

/* Main card */
.ct2-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: rgba(10,8,18,.75);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04) inset;
}

/* Red glow top-left */
.ct2-glow {
  position: absolute;
  width: 500px; height: 500px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(232,51,58,.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* LEFT panel */
.ct2-left {
  position: relative;
  z-index: 1;
  background: rgba(232,51,58,.04);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ct2-left-desc {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  margin: 0;
}

/* Contact rows */
.ct2-contacts { display: flex; flex-direction: column; gap: 10px; }

.ct2-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all .2s;
  cursor: pointer;
}
.ct2-contact-row:hover {
  background: rgba(232,51,58,.07);
  border-color: rgba(232,51,58,.25);
  transform: translateX(4px);
}

.ct2-contact-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(232,51,58,.1);
  border: 1px solid rgba(232,51,58,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.ct2-contact-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  margin-bottom: 2px;
}
.ct2-contact-val {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.ct2-contact-arrow {
  margin-left: auto;
  color: rgba(255,255,255,.2);
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.ct2-contact-row:hover .ct2-contact-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* Badge */
.ct2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  color: #10b981;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  width: fit-content;
  margin-top: auto;
}
.ct2-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: badgePulse 1.5s ease-in-out infinite;
}

/* RIGHT panel (form) */
.ct2-right {
  position: relative;
  z-index: 1;
  padding: 48px 48px;
}

/* Form fields */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
label .optional {
  font-weight: 400;
  color: rgba(255,255,255,.25);
  margin-left: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.submit-btn {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  font-size: 15px;
  padding: 16px;
  border-radius: 14px;
  letter-spacing: .02em;
  box-shadow: 0 0 0 0 rgba(232,51,58,.4);
  animation: lcta-pulse 2.5s ease-in-out infinite;
}
.submit-btn:hover { animation: none; box-shadow: 0 8px 32px rgba(232,51,58,.4); }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 64px 32px;
}
.form-success.show { display: block; }
.form-success svg { color: var(--primary); margin: 0 auto 20px; display: block; }
.form-success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.form-success p  { color: rgba(255,255,255,.5); font-size: .9375rem; }

/* Responsive */
@media (max-width: 900px) {
  .ct2-wrap { grid-template-columns: 1fr; }
  .ct2-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 36px 28px; }
  .ct2-right { padding: 36px 28px; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
#footer {
  background: rgba(7,6,13,.95);
  border-top: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo-block p {
  font-size: .9rem;
  color: var(--fg-muted);
  max-width: 280px;
  margin-top: 14px;
  line-height: 1.65;
}
.footer-links h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .9rem;
  color: var(--fg-muted);
  transition: color .18s;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8125rem; color: var(--fg-muted); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
  transition: color .18s, border-color .18s, background .18s, box-shadow .18s;
  backdrop-filter: blur(8px);
}
.footer-social a:hover {
  color: var(--primary);
  border-color: rgba(232,51,58,.4);
  background: rgba(232,51,58,.1);
  box-shadow: 0 4px 16px rgba(232,51,58,.2);
}

/* ---------- FIDÉLITÉ ---------- */
.loyalty-section { background: transparent; overflow: hidden; }

/* ══════════ LOYALTY LEVELS V2 ══════════ */
.llv2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 56px 0 56px;
  align-items: end; /* cartes alignées en bas → effet escalier */
}

/* Base card */
.llv2-card {
  position: relative;
  border-radius: 24px;
  padding: 28px 24px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, background .3s;
  cursor: default;
}
.llv2-card:hover { transform: translateY(-8px); }

/* Animated gradient background blob */
.llv2-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .5;
  transition: opacity .3s;
}
.llv2-card:hover .llv2-bg { opacity: .8; }

.llv2-bronze .llv2-bg { background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(205,124,74,.3) 0%, transparent 65%); }
.llv2-silver .llv2-bg { background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(148,163,184,.25) 0%, transparent 65%); }
.llv2-gold   .llv2-bg { background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(245,158,11,.35) 0%, transparent 65%); }
.llv2-platinum .llv2-bg { background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(167,139,250,.35) 0%, transparent 65%); }

/* Border glow on hover */
.llv2-bronze:hover  { border-color: rgba(205,124,74,.5);  box-shadow: 0 24px 60px rgba(205,124,74,.15); }
.llv2-silver:hover  { border-color: rgba(148,163,184,.5); box-shadow: 0 24px 60px rgba(148,163,184,.12); }
.llv2-gold:hover    { border-color: rgba(245,158,11,.55); box-shadow: 0 24px 60px rgba(245,158,11,.2); }
.llv2-platinum:hover{ border-color: rgba(167,139,250,.55);box-shadow: 0 24px 60px rgba(167,139,250,.2); }

/* Tailles croissantes Bronze → Platinum */
.llv2-bronze   { min-height: 180px; }
.llv2-silver   { min-height: 210px; }
.llv2-gold     { min-height: 250px; }
.llv2-platinum { min-height: 290px; }

/* Featured card (gold) */
.llv2-featured {
  border-color: rgba(245,158,11,.3) !important;
  background: linear-gradient(180deg, rgba(15,10,4,.95) 0%, rgba(10,8,14,.9) 100%);
}

/* Popular badge */
.llv2-popular {
  position: absolute;
  top: 14px; right: 14px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #000;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 11px;
  border-radius: 100px;
}

/* Top row: icon + pts badge */
.llv2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.llv2-icon-wrap {
  font-size: 48px;
  line-height: 1;
  filter: drop-shadow(0 4px 16px currentColor);
}
.llv2-icon-bronze { filter: drop-shadow(0 4px 20px rgba(205,124,74,.6)); }
.llv2-icon-silver { filter: drop-shadow(0 4px 20px rgba(148,163,184,.5)); }
.llv2-icon-gold   { filter: drop-shadow(0 4px 24px rgba(245,158,11,.7)); animation: goldPulse 2.5s ease-in-out infinite; }
.llv2-icon-platinum { filter: drop-shadow(0 4px 24px rgba(167,139,250,.7)); }

@keyframes goldPulse {
  0%,100% { filter: drop-shadow(0 4px 20px rgba(245,158,11,.6)); }
  50%      { filter: drop-shadow(0 4px 36px rgba(245,158,11,1)); }
}

.llv2-pts-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  letter-spacing: .02em;
}

/* Name */
.llv2-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.01em;
  position: relative;
  z-index: 1;
}
.llv2-bronze .llv2-name  { color: #cd7c4a; }
.llv2-silver .llv2-name  { color: #b0bec5; }
.llv2-gold   .llv2-name  { color: #f59e0b; }
.llv2-platinum .llv2-name{ color: #c4b5fd; }

/* Description */
.llv2-desc {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  position: relative;
  z-index: 1;
  flex: 1;
}

/* Footer */
.llv2-footer {
  position: relative;
  z-index: 1;
}
.llv2-tag {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  font-weight: 500;
}
.llv2-value {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
}
.llv2-value-green { color: #10b981; }

/* Progress bar */
.llv2-bar {
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.llv2-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.llv2-bronze .llv2-bar-fill  { background: linear-gradient(90deg, #cd7c4a, #e8a87c); }
.llv2-silver .llv2-bar-fill  { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.llv2-gold   .llv2-bar-fill  { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.llv2-platinum .llv2-bar-fill{ background: linear-gradient(90deg, #a78bfa, #c4b5fd); }

/* ══════════ HOW IT WORKS — TIMELINE V3 ══════════ */
.htl-wrap {
  margin-top: 16px;
}

.htl-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.3);
  text-align: center;
  margin-bottom: 32px;
}

.htl-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* Each step */
.htl-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Circle icon */
.htl-circle {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform .25s;
  flex-shrink: 0;
}
.htl-step:hover .htl-circle { transform: scale(1.08) translateY(-3px); }

.htl-c1 { background: linear-gradient(135deg, #1a0a0b, #2a0d0e); border: 1px solid rgba(232,51,58,.4); color: #e8333a; box-shadow: 0 8px 28px rgba(232,51,58,.2); }
.htl-c2 { background: linear-gradient(135deg, #0a0f1a, #0d162a); border: 1px solid rgba(59,130,246,.35); color: #60a5fa; box-shadow: 0 8px 28px rgba(59,130,246,.15); }
.htl-c3 { background: linear-gradient(135deg, #0a160e, #0d2015); border: 1px solid rgba(16,185,129,.35); color: #10b981; box-shadow: 0 8px 28px rgba(16,185,129,.15); }
.htl-c4 { background: linear-gradient(135deg, #120a1a, #1a0d2a); border: 1px solid rgba(167,139,250,.35); color: #a78bfa; box-shadow: 0 8px 28px rgba(167,139,250,.15); }

/* Connector line between circles */
.htl-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  z-index: 1;
}
.htl-connector::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid rgba(255,255,255,.15);
  border-right: 1px solid rgba(255,255,255,.15);
  transform: rotate(45deg);
}

/* Text body */
.htl-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 14px 0;
  gap: 5px;
}

.htl-num {
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.2);
  letter-spacing: .12em;
  margin-bottom: 2px;
}

.htl-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.htl-desc {
  font-size: 12px;
  color: rgba(255,255,255,.38);
  line-height: 1.6;
  max-width: 160px;
}

/* Responsive */
@media (max-width: 900px) {
  .llv2-grid { grid-template-columns: repeat(2, 1fr); }
  .llv2-featured { margin-top: 0; }
  .htl-track { flex-direction: column; align-items: flex-start; gap: 0; padding-left: 28px; }
  .htl-step { flex-direction: row; align-items: flex-start; gap: 20px; width: 100%; padding-bottom: 28px; }
  .htl-connector { top: calc(56px); left: -28px; right: auto; width: 1px; height: calc(100% - 28px); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); }
  .htl-connector::after { right: auto; top: auto; bottom: 0; left: -3px; border-top: none; border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); transform: rotate(-45deg); }
  .htl-body { align-items: flex-start; text-align: left; padding: 6px 0 0; }
  .htl-step-last { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .llv2-grid { grid-template-columns: 1fr; }
}

/* ---------- LOYALTY CTA BLOCK ---------- */
.loyalty-cta-wrap {
  position: relative;
  margin-top: 72px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f14 0%, #14060a 60%, #0a0a10 100%);
  border: 1px solid rgba(232,51,58,.25);
  padding: 64px 48px 56px;
  text-align: center;
  isolation: isolate;
}

/* Glow blob en fond */
.loyalty-cta-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(232,51,58,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 100%, rgba(232,51,58,.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 100%, rgba(180,30,200,.08) 0%, transparent 60%);
  pointer-events: none;
}
.loyalty-cta-wrap::before {
  content:'';
  position:absolute;
  inset:0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(255,255,255,.02) 40px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 39px,
    rgba(255,255,255,.02) 40px
  );
  pointer-events:none;
  z-index:0;
}

.loyalty-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Badges */
.loyalty-cta-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.lcta-badge {
  background: rgba(232,51,58,.12);
  border: 1px solid rgba(232,51,58,.3);
  color: #ff6b70;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* Title */
.loyalty-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.loyalty-cta-title em {
  font-style: normal;
}
.loyalty-cta-title em, .loyalty-cta-title span.lcta-title-fr em, .loyalty-cta-title span.lcta-title-en em {
  background: linear-gradient(90deg, #e8333a 0%, #ff7b7f 50%, #e8333a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: lcta-shimmer 3s linear infinite;
}
@keyframes lcta-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Subtitle */
.loyalty-cta-sub {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  margin: 0 0 36px;
  max-width: 400px;
}

/* Buttons */
.loyalty-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.lcta-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: .01em;
  box-shadow: 0 0 0 0 rgba(232,51,58,.5);
  transition: transform .2s, box-shadow .2s;
  animation: lcta-pulse 2.5s ease-in-out infinite;
}
.lcta-btn-main:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(232,51,58,.45);
  animation: none;
}
@keyframes lcta-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,51,58,.4); }
  50%      { box-shadow: 0 0 0 14px rgba(232,51,58,0); }
}

.lcta-btn-sec {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.lcta-btn-sec:hover {
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

/* Stats bar */
.loyalty-cta-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 20px 40px;
  backdrop-filter: blur(8px);
}
.lcta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}
.lcta-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #e8333a;
  letter-spacing: -.02em;
  line-height: 1;
}
.lcta-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  white-space: nowrap;
}
.lcta-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 700px) {
  .loyalty-cta-wrap { padding: 44px 24px 40px; }
  .loyalty-cta-stats { flex-direction: column; gap: 12px; padding: 20px 24px; }
  .lcta-stat-divider { width: 60px; height: 1px; }
  .lcta-stat { padding: 0; }
  .loyalty-cta-actions { flex-direction: column; }
}

/* ---------- LOGO ORBIT ---------- */
.logo-orbit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-orbit-scene {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
}

/* Background glow */
.lo-bg-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,51,58,.18) 0%, rgba(232,51,58,.06) 40%, transparent 70%);
  animation: loPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes loPulse {
  0%,100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.08); opacity: .7; }
}

/* Rings */
.lo-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

.lo-ring-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(232,51,58,.2);
}

/* Ring sizes */
.lo-ring-1 { width: 130px; height: 130px; animation: loSpin1  8s linear infinite; }
.lo-ring-2 { width: 230px; height: 230px; animation: loSpin2 14s linear infinite reverse; }
.lo-ring-3 { width: 340px; height: 340px; animation: loSpin3 22s linear infinite; }

@keyframes loSpin1 { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes loSpin2 { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes loSpin3 { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Dots on rings */
.lo-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(232,51,58,.9), 0 0 24px rgba(232,51,58,.4);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

/* Ring 1 dots */
.lo-dot-1a { margin-top: -65px; width: 8px; height: 8px; }

/* Ring 2 dots */
.lo-dot-2a { margin-top: -115px; }
.lo-dot-2b { margin-top: 115px; width: 7px; height: 7px; opacity: .6; }

/* Ring 3 dots */
.lo-dot-3a { margin-top: -170px; width: 12px; height: 12px; }
.lo-dot-3b { margin-left: 170px;  width: 8px;  height: 8px; opacity:.7; }
.lo-dot-3c { margin-top: 170px;  width: 6px;  height: 6px; opacity:.5; }

/* Center logo */
.lo-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.lo-center-glow {
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,51,58,.35), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  animation: loPulse 2s ease-in-out infinite;
}

.lo-svg {
  width: 72px; height: 72px;
  filter: drop-shadow(0 0 18px rgba(232,51,58,.7));
  animation: loLogoSpin 20s linear infinite;
}
@keyframes loLogoSpin {
  0%   { transform: rotate(0deg)   scale(1); }
  50%  { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

.lo-brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 0 20px rgba(232,51,58,.5);
  margin-top: 4px;
}

.lo-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .35em;
  color: var(--primary);
  text-transform: uppercase;
}

/* Floating labels */
.lo-label {
  position: absolute;
  background: rgba(10,6,14,.85);
  border: 1px solid rgba(232,51,58,.25);
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  animation: loFloat 4s ease-in-out infinite;
  letter-spacing: .02em;
}
.lo-label-1 { top: 6%;  left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.lo-label-2 { top: 50%; right: 2%; transform: translateY(-50%); animation-delay: 1s; }
.lo-label-3 { bottom: 6%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.lo-label-4 { top: 50%; left: 2%; transform: translateY(-50%); animation-delay: 3s; }

@keyframes loFloat {
  0%,100% { transform: translateX(-50%) translateY(0);   opacity: .75; }
  50%      { transform: translateX(-50%) translateY(-6px); opacity: 1; }
}
.lo-label-2 { animation-name: loFloatH; }
.lo-label-4 { animation-name: loFloatH; animation-delay: 2s; }
@keyframes loFloatH {
  0%,100% { transform: translateY(-50%) translateX(0);    opacity: .75; }
  50%      { transform: translateY(-50%) translateX(-6px); opacity: 1; }
}

@media (max-width: 900px) {
  .logo-orbit-scene { width: 300px; height: 300px; }
  .lo-ring-1 { width: 90px;  height: 90px;  } .lo-dot-1a { margin-top: -45px; }
  .lo-ring-2 { width: 160px; height: 160px; } .lo-dot-2a { margin-top: -80px; } .lo-dot-2b { margin-top: 80px; }
  .lo-ring-3 { width: 240px; height: 240px; } .lo-dot-3a { margin-top: -120px; } .lo-dot-3b { margin-left: 120px; } .lo-dot-3c { margin-top: 120px; }
  .lo-svg { width: 56px; height: 56px; }
  .lo-brand { font-size: 14px; }
}

/* ---------- BRANDS MARQUEE SECTION ---------- */
.brands-marquee-section {
  padding: 56px 0;
  overflow: hidden;
  background: transparent;
  position: relative;
}
.brands-marquee-section::before,
.brands-marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brands-marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.brands-marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

/* Header label */
.bms-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  margin-bottom: 32px;
}
.bms-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.07);
}
.bms-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}

/* Track wrapper */
.bms-track-wrap {
  overflow: hidden;
  margin-bottom: 12px;
}

/* Scrolling track */
.bms-track {
  display: flex;
  gap: 12px;
  width: max-content;
}
.bms-track--left  { animation: bmsLeft  28s linear infinite; }
.bms-track--right { animation: bmsRight 22s linear infinite; }

@keyframes bmsLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bmsRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.bms-track:hover { animation-play-state: paused; }

/* Brand item */
.bms-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
  cursor: default;
  letter-spacing: .01em;
}
.bms-item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.bms-item--sm {
  font-size: 12.5px;
  padding: 8px 18px;
}

/* Colored dot */
.bms-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .85;
}

/* ---------- FAQ ---------- */
.faq-section { background: transparent; }
.faq-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
/* Left */
.faq-left { position: sticky; top: 100px; }
.faq-big-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 14px 0 20px;
}
.faq-dot { color: var(--primary); }
.faq-left-desc {
  font-size: .9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.faq-left-deco {
  position: absolute;
  bottom: -40px; right: -20px;
  font-size: 12rem;
  font-weight: 900;
  color: var(--primary);
  opacity: .04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Right accordion */
.faq-right { padding-top: 4px; }
.faq-list { width: 100%; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.07); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.07); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.faq-question:hover .faq-q-text { color: var(--primary); }

.faq-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  opacity: .5;
  letter-spacing: .05em;
  min-width: 24px;
  transition: opacity .2s;
}
.faq-item.open .faq-num { opacity: 1; }

.faq-q-text {
  flex: 1;
  transition: color .2s;
}

/* Custom +/- toggle */
.faq-toggle {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background .2s, border-color .2s;
}
.faq-item.open .faq-toggle {
  background: var(--primary);
  border-color: var(--primary);
}
.faq-toggle span {
  position: absolute;
  width: 10px; height: 1.5px;
  background: var(--fg-muted);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s, background .2s;
}
.faq-toggle span:nth-child(2) { transform: rotate(90deg); }
.faq-item.open .faq-toggle span { background: #fff; }
.faq-item.open .faq-toggle span:nth-child(2) { transform: rotate(0deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.16,1,.3,1);
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
  padding: 0 0 24px 44px;
  font-size: .9375rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .faq-split { grid-template-columns: 1fr; gap: 48px; }
  .faq-left { position: static; }
  .faq-left-deco { display: none; }
}

/* ---------- Map ---------- */
.map-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.map-info {
  background: rgba(10,8,18,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.map-info-icon {
  width: 40px; height: 40px;
  background: var(--primary-dim);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.map-info-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.map-info-value {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
}
.map-frame-wrap {
  position: relative;
  height: 460px;
}
.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: invert(90%) hue-rotate(180deg) saturate(0.5) brightness(0.8);
}
@media (max-width: 900px) {
  .map-container { grid-template-columns: 1fr; }
  .map-info { border-right: none; border-bottom: 1px solid var(--border); }
  .map-frame-wrap { height: 320px; }
}

/* ---------- Red divider stripe ---------- */
.stripe {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,51,58,.5) 25%, rgba(232,51,58,.8) 50%, rgba(232,51,58,.5) 75%, transparent 100%);
  position: relative;
}
.stripe::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,51,58,.15) 30%, rgba(232,51,58,.3) 50%, rgba(232,51,58,.15) 70%, transparent 100%);
  margin-top: 2px;
}

/* ---------- Section separator ---------- */
.section-sep {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 40px;
  margin: 0 auto;
  max-width: 1200px;
}

.sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,51,58,.3) 40%, rgba(232,51,58,.3));
}
.sep-line:last-child {
  background: linear-gradient(90deg, rgba(232,51,58,.3) 60%, transparent);
}

.sep-center {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.sep-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(232,51,58,.4);
}

.sep-label {
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(232,51,58,.6));
  animation: loPulse 2s ease-in-out infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-split { grid-template-columns: 1fr 380px; gap: 48px; }
}
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-left  { max-width: 100%; }
  .hv-terminal { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta, #lang-toggle { display: none; }
  .hamburger { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .hstat-card { min-width: calc(50% - 6px); }
  .hstat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:last-child:nth-child(odd) { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  /* Hide hero right panel on small phones — keep it clean */
  .hero-right { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:last-child:nth-child(odd) { grid-column: span 1; }
}

/* ===================== CHATBOT SPARK ===================== */

/* Bouton flottant */
#spark-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  isolation: isolate;
  z-index: 9999;
  background: #e8333a;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 20px 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(232,51,58,.45);
  transition: transform .2s, box-shadow .2s;
  font-family: 'Inter', sans-serif;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#spark-chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,51,58,.6);
}
.spark-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  white-space: nowrap;
}
.spark-pulse {
  position: absolute;
  top: -4px; right: -4px;
  width: 12px; height: 12px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid #060608;
  animation: spark-pulse-anim 2s infinite;
}
@keyframes spark-pulse-anim {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .6; }
}

/* Panneau chat */
#spark-chat-panel {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9998;
  width: 360px;
  max-height: 520px;
  background: rgba(10,8,18,.92);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(232,51,58,.15);
  transform: scale(.92) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s;
  font-family: 'Inter', sans-serif;
}
#spark-chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Header */
.spark-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(18,6,10,.98) 0%, rgba(10,8,20,.98) 100%);
  border-bottom: 1px solid rgba(232,51,58,.2);
  flex-shrink: 0;
}
.spark-header-info { display: flex; align-items: center; gap: 12px; }
.spark-avatar {
  width: 36px; height: 36px;
  background: rgba(232,51,58,.15);
  border: 1px solid rgba(232,51,58,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #e8333a;
  flex-shrink: 0;
}
.spark-name { font-size: 14px; font-weight: 700; color: #fff; }
.spark-status { font-size: 11px; color: #9a9a9a; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.spark-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: spark-pulse-anim 2s infinite;
}
.spark-close {
  background: rgba(255,255,255,.05);
  border: none;
  border-radius: 8px;
  color: #9a9a9a;
  cursor: pointer;
  padding: 6px;
  display: flex;
  transition: background .15s, color .15s;
}
.spark-close:hover { background: rgba(232,51,58,.15); color: #e8333a; }

/* Messages zone */
.spark-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.spark-messages::-webkit-scrollbar { width: 4px; }
.spark-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

/* Bulles */
.spark-msg { display: flex; max-width: 88%; }
.spark-msg.bot  { align-self: flex-start; }
.spark-msg.user { align-self: flex-end; }
.spark-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
}
.spark-msg.bot .spark-bubble {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
  color: #e0e0e0;
  border-bottom-left-radius: 4px;
}
.spark-msg.user .spark-bubble {
  background: #e8333a;
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.spark-typing .spark-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
}
.spark-typing .spark-bubble span {
  width: 7px; height: 7px;
  background: #9a9a9a;
  border-radius: 50%;
  animation: spark-bounce .9s infinite;
}
.spark-typing .spark-bubble span:nth-child(2) { animation-delay: .15s; }
.spark-typing .spark-bubble span:nth-child(3) { animation-delay: .3s; }
@keyframes spark-bounce {
  0%,60%,100% { transform: translateY(0); }
  30%          { transform: translateY(-6px); }
}

/* Quick actions */
.spark-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.spark-quick {
  background: rgba(232,51,58,.1);
  border: 1px solid rgba(232,51,58,.25);
  border-radius: 20px;
  color: #e8333a;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  padding: 6px 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.spark-quick:hover { background: rgba(232,51,58,.2); border-color: rgba(232,51,58,.5); }

/* Input */
.spark-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.2);
  flex-shrink: 0;
}
.spark-input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 9px 12px;
  resize: none;
  outline: none;
  max-height: 100px;
  overflow-y: auto;
  transition: border-color .15s;
}
.spark-input:focus { border-color: rgba(232,51,58,.5); }
.spark-input::placeholder { color: #555; }
.spark-send {
  width: 38px; height: 38px;
  background: #e8333a;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
}
.spark-send:hover { background: #c62a30; }
.spark-send:active { transform: scale(.93); }
.spark-send:disabled { background: #333; cursor: not-allowed; }

/* Footer note */
.spark-footer-note {
  text-align: center;
  font-size: 10.5px;
  color: #444;
  padding: 6px 14px 10px;
  flex-shrink: 0;
}
.spark-footer-note a { color: #666; text-decoration: none; }
.spark-footer-note a:hover { color: #e8333a; }

/* Contact card (fin de conversation) */
.spark-contact-card {
  background: rgba(232,51,58,.08);
  border: 1px solid rgba(232,51,58,.2);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 4px;
  font-size: 13px;
  color: #ccc;
  line-height: 1.8;
}
.spark-contact-card a {
  color: #e8333a;
  text-decoration: none;
  font-weight: 600;
}
.spark-contact-card a:hover { text-decoration: underline; }

/* Bouton "Équipe" dans le header */
.spark-human-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #ccc;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 9px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.spark-human-btn:hover { background: rgba(232,51,58,.12); color: #e8333a; border-color: rgba(232,51,58,.3); }

/* Formulaire escalade */
.spark-escalade-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  box-sizing: border-box;
}
.spark-esc-input {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 10px;
  margin-bottom: 8px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s;
}
.spark-esc-input:focus { border-color: rgba(232,51,58,.5); }
.spark-esc-input::placeholder { color: #555; }
.spark-esc-btn {
  width: 100%;
  background: #e8333a;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px;
  cursor: pointer;
  transition: background .15s;
}
.spark-esc-btn:hover { background: #c62a30; }
.spark-esc-btn:disabled { background: #333; cursor: not-allowed; }

/* Mobile */
@media (max-width: 480px) {
  #spark-chat-panel {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 90px;
    max-height: 70vh;
  }
  #spark-chat-btn {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    padding: 16px;
    border-radius: 50%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-width: 56px;
    min-height: 56px;
    justify-content: center;
  }
  .spark-label { display: none; }
}
