/* =========================================================
   WalahaTracker — Design premium clair & chaleureux
   Palette ocre/ambre + turquoise, glassmorphism, animations
   ========================================================= */

:root {
  /* Marque */
  --ocre: #C47A2C;
  --ocre-dark: #9A5B1F;
  --amber: #E8A23D;
  --teal: #39D4DA;
  --teal-dark: #159CA3;

  /* Neutres chauds */
  --ink: #161210;
  --ink-soft: #2E2820;
  --muted: #6B6258;
  --cream: #FAF7F2;
  --cream-2: #F4ECE0;
  --white: #FFFFFF;
  --border: #ECE1D2;
  --border-strong: #E0D2BE;

  /* Dégradés */
  --grad-warm: linear-gradient(135deg, var(--amber) 0%, var(--ocre) 55%, var(--ocre-dark) 100%);
  --grad-cool: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  --grad-brand: linear-gradient(120deg, var(--ocre) 0%, var(--amber) 45%, var(--teal) 110%);

  /* Ombres */
  --shadow-sm: 0 4px 14px rgba(120, 80, 30, 0.06);
  --shadow: 0 18px 40px rgba(120, 80, 30, 0.10);
  --shadow-lg: 0 34px 70px rgba(90, 55, 20, 0.16);
  --shadow-teal: 0 24px 50px rgba(21, 156, 163, 0.20);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", system-ui, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

::selection {
  background: rgba(196, 122, 44, 0.22);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typographie ---------- */
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  max-width: 16ch;
  margin-bottom: 20px;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.04;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

p { color: var(--muted); }

.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
}

.gradient-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(64px, 9vw, 116px) 0;
  scroll-margin-top: 84px;
}

.light-band {
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(57, 212, 218, 0.07), transparent 60%),
    var(--cream-2);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 10px max(22px, calc((100vw - 1160px) / 2));
  background: rgba(250, 247, 242, 0.72);
  border-bottom: 1px solid rgba(236, 225, 210, 0.7);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(120, 80, 30, 0.08);
  background: rgba(250, 247, 242, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(196, 122, 44, 0.28));
}

.brand-walaha { color: var(--ocre); }
.brand-tracker { color: var(--teal-dark); }

.site-nav a:not(.btn).is-active {
  color: var(--ink);
}

.site-nav a:not(.btn).is-active::after {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 600;
}

.site-nav a:not(.btn) {
  position: relative;
  color: var(--muted);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
  transition: width 0.25s ease;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible { color: var(--ink); }

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after { width: 100%; }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad-warm);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(196, 122, 44, 0.30);
}

.btn-primary:hover, .btn-primary:focus-visible {
  box-shadow: 0 20px 38px rgba(196, 122, 44, 0.42);
}

.btn-secondary {
  background: var(--white);
  color: var(--ocre-dark);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  border-color: var(--ocre);
  box-shadow: var(--shadow);
}

.btn-light {
  background: var(--white);
  color: var(--ocre-dark);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.btn .icon { width: 18px; height: 18px; }

/* Menu mobile */
.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%; height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ---------- Badges / eyebrow ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  background: rgba(57, 212, 218, 0.13);
  border: 1px solid rgba(57, 212, 218, 0.28);
}

.badge.warm {
  color: var(--ocre-dark);
  background: rgba(196, 122, 44, 0.12);
  border-color: rgba(196, 122, 44, 0.28);
}

.badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-dark);
  box-shadow: 0 0 0 4px rgba(57, 212, 218, 0.18);
}

.badge.warm .dot {
  background: var(--ocre);
  box-shadow: 0 0 0 4px rgba(196, 122, 44, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ocre-dark);
}

.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(680px 460px at 88% 8%, rgba(57, 212, 218, 0.16), transparent 60%),
    radial-gradient(720px 520px at 6% 92%, rgba(232, 162, 61, 0.14), transparent 62%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  animation: float-blob 16s ease-in-out infinite;
}

.blob-1 {
  width: 360px; height: 360px;
  top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(57, 212, 218, 0.5), transparent 70%);
}

.blob-2 {
  width: 420px; height: 420px;
  bottom: -140px; left: -100px;
  background: radial-gradient(circle, rgba(232, 162, 61, 0.45), transparent 70%);
  animation-delay: -6s;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 460px);
  align-items: center;
  gap: 56px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}

.hero-trust .avatars {
  display: flex;
}

.hero-trust .avatars span {
  width: 36px; height: 36px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .avatars span:nth-child(1) { background: var(--ocre); }
.hero-trust .avatars span:nth-child(2) { background: var(--teal-dark); }
.hero-trust .avatars span:nth-child(3) { background: var(--amber); }
.hero-trust .avatars span:nth-child(4) { background: var(--ink-soft); }

/* ---------- Mockup téléphone ---------- */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
  perspective: 1400px;
}

.hero-phone-glow {
  position: absolute;
  width: 320px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(57, 212, 218, 0.35) 0%, rgba(196, 122, 44, 0.18) 45%, transparent 72%);
  filter: blur(28px);
  z-index: 1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.phone-mockup {
  position: relative;
  width: 280px;
  padding: 14px;
  background: linear-gradient(160deg, #1b1b1f, #050507);
  border-radius: 44px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(57, 212, 218, 0.15);
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform 0.5s ease;
  z-index: 2;
  animation: phone-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.phone-mockup:hover { transform: rotateY(-4deg) rotateX(2deg) translateY(-6px); }

@keyframes phone-in {
  from { opacity: 0; transform: rotateY(-22deg) rotateX(6deg) translateY(30px); }
  to { opacity: 1; transform: rotateY(-12deg) rotateX(4deg); }
}

.phone-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #0d0d10;
}

.phone-shot {
  width: 100%;
  height: auto;
  vertical-align: top;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.phone-shot.is-fading {
  opacity: 0;
  transform: scale(0.98);
}

.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px;
  background: #060608;
  border-radius: var(--radius-pill);
  z-index: 3;
}

.phone-app {
  padding: 40px 16px 18px;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 4px 16px;
}

.app-top .ava {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--grad-warm);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 16px rgba(196, 122, 44, 0.3);
}

.app-top strong { display: block; font-size: 15px; color: var(--ink); }
.app-top small { color: var(--muted); font-size: 12px; }
.app-top .bell {
  margin-left: auto;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.app-top .bell::after {
  content: "";
  position: absolute;
  top: 7px; right: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-dark);
  border: 2px solid var(--white);
}

.app-progress {
  padding: 16px;
  border-radius: 18px;
  background: var(--grad-cool);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.app-progress small { opacity: 0.9; font-size: 11px; font-weight: 600; }
.app-progress .val {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 26px; font-weight: 800;
  margin: 2px 0 10px;
}
.app-progress .bar {
  height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.app-progress .bar i {
  display: block; height: 100%;
  width: 78%;
  border-radius: var(--radius-pill);
  background: var(--white);
  animation: grow-bar 1.6s 0.4s ease both;
}
@keyframes grow-bar { from { width: 0; } }

.app-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.app-row .ic {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
}
.app-row .ic svg { width: 18px; height: 18px; }
.app-row .ic.warm { background: rgba(196, 122, 44, 0.14); color: var(--ocre-dark); }
.app-row .ic.cool { background: rgba(57, 212, 218, 0.16); color: var(--teal-dark); }
.app-row strong { display: block; font-size: 13px; color: var(--ink); }
.app-row small { color: var(--muted); font-size: 11.5px; }
.app-row .tag {
  margin-left: auto;
  font-size: 10px; font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(57, 212, 218, 0.16);
  color: var(--teal-dark);
}

/* Cartes flottantes autour du téléphone */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  animation: float-card 5s ease-in-out infinite;
}

.float-card .fic {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  display: grid; place-items: center;
}
.float-card .fic svg { width: 16px; height: 16px; }
.float-card.warm .fic { background: var(--grad-warm); color: #fff; }
.float-card.cool .fic { background: var(--grad-cool); color: #fff; }

.float-one { top: 60px; left: -28px; animation-delay: 0s; }
.float-two { top: 270px; right: -36px; animation-delay: -1.6s; }
.float-three { bottom: 56px; left: -20px; animation-delay: -3.2s; }

@media (max-width: 767px) {
  .float-card { display: none; }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 26px 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stat {
  text-align: center;
  padding: 6px 18px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1;
}
.stat .num.text-sm { font-size: clamp(18px, 2.5vw, 26px); }
.stat .num.cool { color: var(--teal-dark); }
.stat .lbl {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- En-tête de section ---------- */
.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-heading.center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.section-heading.center .eyebrow { justify-content: center; }

/* ---------- Cartes ---------- */
.card-grid, .feature-grid {
  display: grid;
  gap: 20px;
}
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.card:hover::before { transform: scaleX(1); }

.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(196, 122, 44, 0.12);
  color: var(--ocre-dark);
}
.card-icon svg { width: 24px; height: 24px; }
.card.cool .card-icon {
  background: rgba(57, 212, 218, 0.15);
  color: var(--teal-dark);
}
.card.cool::before { background: var(--grad-cool); }

/* Cartes fonctionnalités numérotées */
.feature-card .num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  background: var(--grad-warm);
  box-shadow: 0 8px 16px rgba(196, 122, 44, 0.25);
}
.feature-card:nth-child(even) .num-badge {
  background: var(--grad-cool);
  box-shadow: 0 8px 16px rgba(21, 156, 163, 0.25);
}
.feature-card:nth-child(even)::before { background: var(--grad-cool); }

/* ---------- Solution ---------- */
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.solution-panel {
  position: relative;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.solution-panel::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.solution-panel strong {
  display: block;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ocre-dark);
}

/* ---------- Audience ---------- */
.audience-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.audience-card.reverse > div { order: 2; }
.audience-card.reverse .check-list { order: 1; }

.check-list, .beta-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.audience-card .check-list { margin-top: 0; }

.check-list li, .beta-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.check-list li:hover { transform: translateX(4px); box-shadow: var(--shadow); }

.check-list li::before,
.beta-list li::before {
  content: "";
  flex: none;
  width: 23px; height: 23px;
  margin-top: 1px;
  border-radius: 7px;
  background-color: rgba(57, 212, 218, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23159CA3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.beta-list li::before {
  background-color: rgba(57, 212, 218, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339D4DA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Audience – panneau visuel */
.audience-visual {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 300px at 80% 10%, rgba(57, 212, 218, 0.16), transparent 60%),
    linear-gradient(160deg, var(--white), var(--cream-2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ---------- Bêta (band sombre chaud) ---------- */
.beta-band {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, #2a1a0c 0%, var(--ocre-dark) 60%, var(--ocre) 130%);
}
.beta-band::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  top: -160px; right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 212, 218, 0.30), transparent 70%);
  filter: blur(40px);
}
.beta-band .container { position: relative; z-index: 1; }
.beta-band h2 { color: var(--white); }
.beta-band p { color: rgba(255, 255, 255, 0.82); }
.beta-band .badge {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}
.beta-band .badge .dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(57,212,218,0.25); }

.beta-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 50px;
  align-items: center;
}

.beta-band .beta-list li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-copy { position: sticky; top: 104px; }
.whatsapp-btn { margin-top: 16px; }
.whatsapp-btn .icon { color: #25D366; }

.contact-form {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 247, 242, 0.96)),
    var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-brand);
}

.form-row { display: grid; gap: 5px; }
.form-row.full, .contact-form button, .form-status { grid-column: 1 / -1; }

.contact-form button {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
}

label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input, select {
  min-height: 43px;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 4px rgba(57, 212, 218, 0.18);
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-weight: 700;
  font-size: 13px;
}
.form-status.success { color: var(--teal-dark); }
.form-status.error { color: var(--ocre-dark); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: var(--ink);
  color: var(--white);
}
.site-footer .brand { color: var(--white); }
.site-footer .brand-walaha { color: var(--amber); }
.site-footer .brand-tracker { color: var(--teal); }
.site-footer p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.6); max-width: 38ch; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 32px;
}

.footer-brand-col p { max-width: 28ch; }

.footer-mali {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav strong,
.footer-contact strong {
  margin-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav a,
.footer-contact a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--teal); }

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.footer-legal a:hover { color: var(--teal); }

/* ---------- Animations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ====================== Responsive ====================== */
@media (max-width: 1023px) {
  .site-header { padding-inline: 22px; }
  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 22px 26px;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 13px 0; }
  .nav-cta { margin-top: 10px; }

  .hero-grid, .split, .audience-card, .beta-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .audience-card.reverse > div,
  .audience-card.reverse .check-list { order: initial; }

  .card-grid.four, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 18px; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 18px; }

  .contact-copy { position: static; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 32px, 1160px); }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-grid { gap: 44px; }
  .hero-actions, .hero-actions .btn { width: 100%; }

  .hero-visual { min-height: 520px; }
  .phone-mockup { transform: none; width: 260px; }
  .phone-mockup:hover { transform: translateY(-6px); }
  .float-one { left: -10px; }
  .float-two { right: -10px; }
  .float-three { left: -6px; }

  .card-grid.four, .feature-grid, .contact-form { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .contact-form {
    gap: 11px;
    padding: 18px;
    border-radius: 18px;
  }
}

@media (max-width: 380px) {
  .float-two { top: 240px; }
}

/* ---------- Vitrine application ---------- */
.app-showcase {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 110px);
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(57, 212, 218, 0.14), transparent 58%),
    radial-gradient(700px 480px at 88% 75%, rgba(196, 122, 44, 0.16), transparent 55%),
    linear-gradient(165deg, #12100e 0%, #1a1612 42%, #141210 100%);
  color: var(--white);
}

.app-showcase .container { position: relative; z-index: 1; }

.showcase-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}

.showcase-glow-1 {
  width: 480px; height: 480px;
  top: -120px; right: -80px;
  background: rgba(57, 212, 218, 0.22);
}

.showcase-glow-2 {
  width: 420px; height: 420px;
  bottom: -100px; left: -60px;
  background: rgba(196, 122, 44, 0.2);
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.app-showcase-copy .badge {
  margin-bottom: 18px;
}

.app-showcase-copy h2 {
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 16px;
}

.app-showcase .gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
}

.app-showcase-copy .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 46ch;
}

.app-showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(57, 212, 218, 0.35);
  transform: translateX(4px);
}

.showcase-tab.is-active {
  background: linear-gradient(135deg, rgba(57, 212, 218, 0.16), rgba(196, 122, 44, 0.12));
  border-color: rgba(57, 212, 218, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.showcase-tab .tab-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
}

.showcase-tab .tab-icon.warm { background: var(--grad-warm); box-shadow: 0 8px 18px rgba(196, 122, 44, 0.35); }
.showcase-tab .tab-icon.cool { background: var(--grad-cool); box-shadow: 0 8px 18px rgba(21, 156, 163, 0.35); }
.showcase-tab .tab-icon svg { width: 18px; height: 18px; }

.showcase-tab .tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.showcase-tab strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.showcase-tab small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.4;
}

.showcase-cta { margin-top: 4px; }

.app-showcase-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.stage-ring {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(57, 212, 218, 0.22);
  box-shadow:
    0 0 60px rgba(57, 212, 218, 0.18),
    inset 0 0 60px rgba(57, 212, 218, 0.06);
  animation: ring-spin 18s linear infinite;
}

.stage-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(196, 122, 44, 0.25);
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.phone-mockup--showcase {
  width: 300px;
  transform: none;
  animation: none;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 80px rgba(57, 212, 218, 0.22);
}

.phone-mockup--showcase:hover { transform: translateY(-8px); }

.stage-caption {
  margin: 22px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(57, 212, 218, 0.9);
  text-align: center;
}

.app-showcase-strip {
  display: flex;
  gap: 14px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 18px 4px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(57, 212, 218, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
}

.app-showcase-strip::-webkit-scrollbar { height: 6px; }
.app-showcase-strip::-webkit-scrollbar-thumb {
  background: rgba(57, 212, 218, 0.35);
  border-radius: 99px;
}

.strip-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  scroll-snap-align: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.strip-item:hover { color: rgba(255, 255, 255, 0.85); transform: translateY(-4px); }

.strip-item.is-active { color: var(--teal); }

.strip-phone {
  display: block;
  width: 108px;
  padding: 7px;
  background: linear-gradient(160deg, #252528, #0a0a0c);
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.strip-item.is-active .strip-phone {
  border-color: rgba(57, 212, 218, 0.7);
  box-shadow: 0 18px 40px rgba(57, 212, 218, 0.25);
  transform: scale(1.06);
}

.strip-phone img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 1023px) {
  .app-showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .app-showcase-copy h2 { max-width: none; }
  .app-showcase-copy .lead { max-width: none; }

  .app-showcase-stage {
    order: -1;
    min-height: 480px;
  }

  .phone-mockup--showcase { width: 270px; }
}

@media (max-width: 767px) {
  .app-showcase-tabs { gap: 6px; }

  .showcase-tab {
    padding: 10px 12px;
    gap: 11px;
  }

  .showcase-tab .tab-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
  }

  .app-showcase-stage { min-height: 440px; }
  .stage-ring { width: 280px; height: 280px; }
  .phone-mockup--showcase { width: 250px; }

  .strip-phone { width: 92px; padding: 6px; border-radius: 18px; }
}

/* ---------- Store badges ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badges--light .store-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.store-badges--light .store-badge small { color: rgba(255, 255, 255, 0.65); }

.beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Témoignages ---------- */
.testimonials-section { padding-top: clamp(48px, 7vw, 80px); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  margin: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-card p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-warm);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.t-avatar.cool { background: var(--grad-cool); }

.testimonial-card footer strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.testimonial-card footer small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.pilot-schools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pilot-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.pilot-schools ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot-schools li {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Avant / Après ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 920px;
  margin-inline: auto;
}

.compare-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.compare-before {
  background: linear-gradient(160deg, #fff, #faf5ef);
}

.compare-after {
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(57, 212, 218, 0.12), transparent 60%),
    linear-gradient(160deg, var(--white), #f8fcfc);
  border-color: rgba(57, 212, 218, 0.28);
}

.compare-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocre-dark);
  background: rgba(196, 122, 44, 0.12);
}

.compare-tag.cool {
  color: var(--teal-dark);
  background: rgba(57, 212, 218, 0.14);
}

.compare-panel h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.compare-panel ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.compare-panel li { margin-bottom: 8px; }

.compare-arrow {
  display: grid;
  place-items: center;
  color: var(--teal-dark);
}

.compare-arrow svg { width: 28px; height: 28px; }

.btn-sm {
  padding: 11px 18px;
  font-size: 14px;
}

/* ---------- Fonctionnalités thèmes ---------- */
.feature-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-theme {
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-theme:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(57, 212, 218, 0.35);
}

.theme-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  margin-bottom: 14px;
}

.theme-icon.warm { background: var(--grad-warm); box-shadow: 0 8px 18px rgba(196, 122, 44, 0.28); }
.theme-icon.cool { background: var(--grad-cool); box-shadow: 0 8px 18px rgba(21, 156, 163, 0.28); }
.theme-icon svg { width: 20px; height: 20px; }

.theme-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ---------- Audience avec visuel ---------- */
.audience-card.has-visual {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 48px;
  align-items: center;
}

.audience-copy .check-list { margin-top: 20px; margin-bottom: 24px; }

.audience-phone {
  padding: 12px;
  background: linear-gradient(160deg, #1b1b1f, #050507);
  border-radius: 36px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(57, 212, 218, 0.15);
}

.audience-phone img {
  width: 100%;
  height: auto;
  border-radius: 26px;
}

@media (max-width: 1023px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .feature-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); }
  .audience-card.has-visual { grid-template-columns: 1fr; }
  .audience-card.reverse.has-visual .audience-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .feature-theme-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .store-badges { flex-direction: column; align-items: stretch; }
}
