/* =====================================================================
   KAIROS — Site vitrine officiel · kairos-sport.com
   Design system : sombre, sportif, premium.
   Accent SPORT : orange (#FF8C00 → #FFAB57) · Accent NUTRITION : vert (#22C55E)
   Polices : Poppins (titres) · Inter (texte)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #08090c;
  --bg-soft: #0d0f14;
  --bg-elevated: #12151c;
  --card: #14171f;
  --card-2: #181c25;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Texte */
  --text: #f6f7f9;
  --text-muted: #a3a8b4;
  --text-dim: #6c7280;

  /* Marque */
  --orange: #ff9233;
  --orange-bright: #ffab57;
  --orange-deep: #ff7a00;
  --green: #2ecd6f;
  --green-deep: #15803d;
  --violet: #9f6bff;

  /* Dégradés signature */
  --grad-sport: linear-gradient(135deg, #ff7a00 0%, #ffab57 100%);
  --grad-nutrition: linear-gradient(135deg, #15803d 0%, #34d27c 100%);
  --grad-hero: radial-gradient(1200px 700px at 75% -10%, rgba(255, 138, 0, 0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(159, 107, 255, 0.10), transparent 55%);

  /* Effets */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 20px 60px rgba(255, 138, 0, 0.22);
  --ring: 0 0 0 1px rgba(255, 255, 255, 0.06);

  /* Layout */
  --maxw: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --nav-h: 72px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", var(--font-body);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

::selection { background: var(--orange); color: #1a1206; }

/* ---------- Utilitaires layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-sport);
  border-radius: 2px;
}
.eyebrow--green { color: #45d985; }
.eyebrow--green::before { background: var(--grad-nutrition); }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  margin-bottom: 18px;
}
.section-lead {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 60ch;
}
.section-head { max-width: 760px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

.text-gradient {
  background: var(--grad-sport);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-green { color: #45d985; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--grad-sport);
  color: #1a1206;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px rgba(255, 138, 0, 0.34); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Badges store ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  background: #ffffff;
  color: #0a0b0d;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge__txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge__small { font-size: 0.66rem; opacity: 0.7; letter-spacing: 0.02em; }
.store-badge__big { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.store-badge--soon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border-strong);
  cursor: default;
}
.store-badge--soon:hover { transform: none; box-shadow: var(--shadow-sm); }
.store-badge--soon .store-badge__small { color: var(--orange-bright); opacity: 1; }

/* ---------- Marque / logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 34px; height: 34px; color: var(--orange); flex-shrink: 0; object-fit: contain; }
.brand-mark--lg { width: 52px; height: 52px; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.04em;
}
.brand-name b { color: var(--orange-bright); font-weight: 700; }

/* ===========================================================
   NAVBAR
   =========================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  font-size: 0.94rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad-sport);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 110px);
  background: var(--grad-hero);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.hero__pill b { color: var(--text); font-weight: 600; }
.hero__pill .tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad-sport);
  color: #1a1206;
  font-family: var(--font-head);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  margin-bottom: 22px;
}
.hero__lead {
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 30px; }
.hero__rating {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.hero__stars { color: var(--orange-bright); letter-spacing: 2px; font-size: 1.05rem; }
.hero__rating b { color: var(--text); }

/* Visuel hero */
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero__glow {
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 138, 0, 0.28), transparent 62%);
  filter: blur(20px);
  z-index: 0;
}

/* ===========================================================
   PHONE MOCKUP (réplique de l'app)
   =========================================================== */
.phone {
  position: relative;
  width: 300px;
  max-width: 78vw;
  aspect-ratio: 300 / 620;
  border-radius: 44px;
  background: #050608;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  z-index: 1;
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #050608;
  border-radius: 0 0 16px 16px;
  z-index: 4;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #14161d 0%, #0a0b0e 60%, #060709 100%);
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone--float { animation: float 6s ease-in-out infinite; }

/* Vraies captures d'écran de l'app (remplacent les maquettes CSS) */
.phone__screen .phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone::before { display: none; } /* pas de notch : les captures incluent déjà la barre haute de l'app */

/* ---- Démo interactive (vraie app embarquée) ---- */
.phone__screen { position: relative; }
.demo-launch {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  width: 100%; height: 100%;
  border: 0; cursor: pointer; color: #fff;
  font-family: var(--font-head);
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.15), rgba(8, 9, 12, 0.55));
  transition: background 0.2s ease;
}
.demo-launch:hover { background: linear-gradient(180deg, rgba(8, 9, 12, 0.05), rgba(8, 9, 12, 0.45)); }
.demo-launch__play {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; padding-left: 4px;
  color: #1a1206; background: var(--grad-sport);
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.45);
  transition: transform 0.2s ease;
  animation: demopulse 2.4s ease-in-out infinite;
}
@keyframes demopulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(255, 138, 0, 0.45); }
  50% { box-shadow: 0 14px 48px rgba(255, 138, 0, 0.78); }
}
.demo-launch:hover .demo-launch__play { transform: scale(1.09); }
.demo-launch__label { font-weight: 600; font-size: 1.02rem; }
.demo-launch__hint {
  font-size: 0.76rem; color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: 6px;
}
.demo-frame {
  position: absolute; top: 0; left: 0;
  border: 0; transform-origin: top left;
  background: #08090c;
}
.demo-loading {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: #0a0b0e; color: var(--text-muted); font-size: 0.84rem;
}
.demo-loading[hidden] { display: none; } /* respecte l'attribut hidden */
.demo-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.14); border-top-color: var(--orange-bright);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-reload {
  display: none;
  margin: 18px auto 0;
  align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-strong);
  color: var(--text-muted); font-family: var(--font-head); font-size: 0.85rem; font-weight: 500;
}
.demo-reload:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.demo-reload.show { display: inline-flex; }
.demo-live {
  position: relative; margin: 0 auto 14px;
  z-index: 6; display: none; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(8, 9, 12, 0.7); backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  color: #fff;
}
.demo-live.show { display: inline-flex; }
.demo-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #2ecd6f; box-shadow: 0 0 8px #2ecd6f; animation: demopulse-dot 1.4s ease-in-out infinite; }
@keyframes demopulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* App UI interne */
.app { display: flex; flex-direction: column; height: 100%; font-size: 12px; }
.app__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px 6px;
  font-size: 11px; font-weight: 600; color: var(--text);
}
.app__statusbar .dots { display: flex; gap: 4px; align-items: center; opacity: 0.85; }
.app__statusbar .dots span { width: 4px; height: 4px; border-radius: 50%; background: var(--text); }

.app__body { flex: 1; overflow: hidden; padding: 8px 16px 0; }
.app__hello { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: #fff; margin: 6px 0 2px; letter-spacing: -0.02em; }
.app__sub { color: var(--text-dim); font-size: 11px; margin-bottom: 14px; }

/* mode tabs */
.app__tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.app__tab {
  flex: 1; text-align: center; padding: 8px 0; border-radius: 12px 12px 6px 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 11px;
  background: #1c1f28; color: var(--text-dim);
}
.app__tab.is-active.sport { background: var(--grad-sport); color: #1a1206; }
.app__tab.is-active.nutri { background: var(--grad-nutrition); color: #06210f; }

/* stat cards */
.app__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.app__card {
  background: linear-gradient(160deg, #1a1d26, #101219);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 12px;
}
.app__card .lbl { color: var(--text-dim); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.app__card .val { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; margin-top: 3px; }
.app__card .val small { font-size: 0.62em; color: var(--text-dim); font-weight: 500; }
.app__card .trend { font-size: 9.5px; margin-top: 4px; font-weight: 600; }
.app__card .trend.up { color: #45d985; }
.app__card .trend.orange { color: var(--orange-bright); }

/* mini bar chart */
.app__bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 8px; }
.app__bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--grad-sport); opacity: 0.85; }

/* weekly card */
.app__panel {
  background: linear-gradient(160deg, #1a1d26, #101219);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px; padding: 12px; margin-bottom: 12px;
}
.app__panel .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.app__panel .head b { font-family: var(--font-head); font-size: 12px; color: #fff; }
.app__panel .head span { font-size: 9.5px; color: var(--orange-bright); font-weight: 600; }

/* muscle chips */
.app__muscles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.app__muscle { font-size: 9px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border); }
.app__muscle.hot { background: rgba(255,138,0,0.16); color: var(--orange-bright); border-color: rgba(255,138,0,0.3); }

/* bottom nav */
.app__nav {
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 0 16px; border-top: 1px solid var(--border);
  background: rgba(10,11,14,0.6);
}
.app__nav i {
  width: 20px; height: 20px; border-radius: 6px; background: #2a2e3a; display: block;
}
.app__nav i.on { background: var(--grad-sport); }

/* swipeat card (nutrition) */
.swipe-deck { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 10px 0; }
.swipe-card {
  width: 86%; border-radius: 22px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #1d2129, #11141b);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-md);
}
.swipe-card .img {
  height: 130px;
  background: linear-gradient(135deg, #15803d, #34d27c);
  position: relative;
}
.swipe-card .img::after {
  content: "🥗"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px;
}
.swipe-card .info { padding: 12px 14px 16px; }
.swipe-card .info b { font-family: var(--font-head); color: #fff; font-size: 13px; display: block; margin-bottom: 6px; }
.swipe-card .macros { display: flex; gap: 8px; }
.swipe-card .macros span { font-size: 9px; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,0.05); color: var(--text-muted); }
.swipe-actions { display: flex; gap: 18px; }
.swipe-actions b {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; border: 1px solid var(--border-strong); background: #15171e;
}
.swipe-actions .yes { background: rgba(46,205,111,0.15); border-color: rgba(46,205,111,0.4); color: #45d985; }
.swipe-actions .no { background: rgba(255,80,80,0.12); border-color: rgba(255,80,80,0.35); color: #ff6b6b; }

/* floating badges around hero phone */
.hero__chip {
  position: absolute;
  background: rgba(20, 23, 31, 0.92);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float 7s ease-in-out infinite;
}
.hero__chip .ic { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.hero__chip .ic.sport { background: var(--grad-sport); }
.hero__chip .ic.nutri { background: var(--grad-nutrition); }
.hero__chip small { color: var(--text-dim); font-size: 0.66rem; display: block; }
.hero__chip b { font-family: var(--font-head); font-size: 0.84rem; color: #fff; }
.hero__chip--tl { top: 8%; left: calc(50% - 210px); right: auto; animation-delay: 0.5s; }
.hero__chip--br { bottom: 12%; right: calc(50% - 210px); left: auto; animation-delay: 1.4s; }

/* ===========================================================
   STATS STRIP
   =========================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-soft), var(--bg));
  padding: 36px 24px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  background: var(--grad-sport);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__lbl { color: var(--text-muted); font-size: 0.92rem; margin-top: 8px; }

/* ===========================================================
   FEATURES
   =========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.feature {
  background: linear-gradient(165deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature::after {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-sport);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.feature:hover::after { transform: scaleX(1); }
.feature__ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 138, 0, 0.12);
  color: var(--orange-bright);
  margin-bottom: 18px;
}
.feature__ic svg { width: 26px; height: 26px; }
.feature--green .feature__ic { background: rgba(46, 205, 111, 0.12); color: #45d985; }
.feature--green::after { background: var(--grad-nutrition); }
.feature h3 { font-size: 1.22rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* ===========================================================
   SPLIT (image + texte alternés)
   =========================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { display: flex; justify-content: center; position: relative; }
.split__list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.split__list li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--text-muted);
}
.split__list .check {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255, 138, 0, 0.14);
  color: var(--orange-bright);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.split--green .split__list .check { background: rgba(46, 205, 111, 0.14); color: #45d985; }
.split__list b { color: var(--text); font-weight: 600; display: block; font-family: var(--font-head); font-size: 0.98rem; }

/* glow derrière les phones de section */
.media-glow::before {
  content: "";
  position: absolute; inset: -8%;
  background: radial-gradient(circle at 50% 50%, rgba(255,138,0,0.18), transparent 65%);
  filter: blur(10px); z-index: 0;
}
.media-glow.green::before { background: radial-gradient(circle at 50% 50%, rgba(46,205,111,0.18), transparent 65%); }

/* ===========================================================
   STEPS (comment ça marche)
   =========================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; counter-reset: step; }
.step {
  background: linear-gradient(165deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
}
.step__num {
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem;
  background: var(--grad-sport); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.step__line { position: absolute; top: 48px; right: -16px; color: var(--text-dim); display: none; }

/* ===========================================================
   SHOWCASE (galerie de phones)
   =========================================================== */
.showcase { display: flex; gap: 26px; justify-content: center; align-items: flex-end; flex-wrap: wrap; margin-top: 56px; }
.showcase .phone { width: 250px; }
.showcase .phone--mid { transform: translateY(-22px); }
.showcase .caption { text-align: center; margin-top: 16px; color: var(--text-muted); font-size: 0.9rem; }
.showcase .caption b { display: block; color: var(--text); font-family: var(--font-head); margin-bottom: 2px; }
.showcase__item { display: flex; flex-direction: column; align-items: center; }

/* progress chart phone */
.app__chart { height: 100px; position: relative; margin: 6px 0 4px; }
.app__chart svg { width: 100%; height: 100%; overflow: visible; }
.app__legend { display: flex; gap: 12px; font-size: 9.5px; color: var(--text-dim); margin-bottom: 10px; }
.app__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.app__legend .a::before { background: var(--orange-bright); }
.app__legend .b::before { background: #45d985; }

/* feed (social) */
.app__post { background: linear-gradient(160deg, #1a1d26, #101219); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 11px; margin-bottom: 10px; }
.app__post .top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.app__post .av { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-sport); flex-shrink: 0; }
.app__post .top b { font-size: 11px; color: #fff; font-family: var(--font-head); }
.app__post .top small { font-size: 9px; color: var(--text-dim); display: block; }
.app__post .body { font-size: 10.5px; color: var(--text-muted); margin-bottom: 8px; }
.app__post .pr { display: inline-block; font-size: 9px; padding: 3px 8px; border-radius: 6px; background: rgba(255,138,0,0.16); color: var(--orange-bright); font-weight: 600; }
.app__post .react { display: flex; gap: 12px; font-size: 10px; color: var(--text-dim); margin-top: 8px; }

/* ===========================================================
   PRICING
   =========================================================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; align-items: stretch; }
.plan {
  background: linear-gradient(165deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan--featured {
  border-color: rgba(255, 138, 0, 0.45);
  box-shadow: 0 0 50px rgba(255, 138, 0, 0.12), inset 0 0 50px rgba(255, 138, 0, 0.03);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-sport); color: #1a1206;
  font-family: var(--font-head); font-weight: 600; font-size: 0.74rem;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; display: flex; align-items: center; gap: 9px; }
.plan__name .dot { width: 9px; height: 9px; border-radius: 50%; }
.plan--starter .dot { background: var(--text-dim); }
.plan--pro .dot { background: #aeb6ff; }
.plan--elite .dot { background: var(--orange-bright); }
.plan__tagline { color: var(--text-muted); font-size: 0.9rem; margin: 4px 0 18px; }
.plan__price { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.plan__price span { font-size: 0.95rem; color: var(--text-dim); font-weight: 500; }
.plan__features { margin: 24px 0; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan__features li { display: flex; gap: 11px; align-items: center; font-size: 0.94rem; color: var(--text-muted); }
.plan__features .yes { color: #45d985; flex-shrink: 0; }
.plan__features .no { color: var(--text-dim); flex-shrink: 0; }
.plan__features .off { color: var(--text-dim); text-decoration: line-through; opacity: 0.6; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 0.86rem; margin-top: 26px; }

/* ===========================================================
   FOUNDER
   =========================================================== */
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.founder__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  position: relative;
  box-shadow: var(--shadow-md);
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.founder__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,9,12,0.55), transparent 50%);
}
.founder__quote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.founder__quote .text-gradient { font-weight: 700; }
.founder__sign { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.founder__sign .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-sport); display: flex; align-items: center; justify-content: center; color: #1a1206; }
.founder__sign b { font-family: var(--font-head); font-size: 1.05rem; display: block; }
.founder__sign small { color: var(--text-muted); }

/* ===========================================================
   FAQ
   =========================================================== */
.faq { max-width: 820px; margin: 50px auto 0; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  padding: 24px 48px 24px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq__q .ico {
  flex-shrink: 0; width: 26px; height: 26px;
  border-radius: 8px; background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  color: var(--orange-bright); font-size: 18px; line-height: 1;
}
.faq__item.is-open .faq__q .ico { transform: rotate(45deg); background: var(--grad-sport); color: #1a1206; }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--text-muted);
}
.faq__a p { padding: 0 40px 24px 0; margin: 0; }

/* ===========================================================
   CTA banner
   =========================================================== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px);
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(255, 138, 0, 0.25), transparent 60%),
    linear-gradient(160deg, #16110a, #0c0d11);
  border: 1px solid rgba(255, 138, 0, 0.25);
  text-align: center;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-banner p { color: var(--text-muted); max-width: 56ch; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-banner .store-badges { justify-content: center; }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 18px; }
.contact__card {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(165deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.contact__card .ic {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,138,0,0.12); color: var(--orange-bright);
  display: flex; align-items: center; justify-content: center;
}
.contact__card small { color: var(--text-dim); font-size: 0.82rem; }
.contact__card b { font-family: var(--font-head); font-size: 1.02rem; display: block; }
.contact__card a:hover { color: var(--orange-bright); }

.form {
  background: linear-gradient(165deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.15);
}
.form__note { color: var(--text-dim); font-size: 0.8rem; margin: 14px 0 0; }
.form__success {
  display: none;
  background: rgba(46, 205, 111, 0.12);
  border: 1px solid rgba(46, 205, 111, 0.4);
  color: #8af0b4;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.form__success.show { display: block; }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 64px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__about { max-width: 320px; }
.footer__about p { color: var(--text-muted); font-size: 0.94rem; margin: 16px 0 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.footer__social a:hover { color: var(--orange-bright); border-color: var(--orange); transform: translateY(-3px); }
.footer__col h4 { font-family: var(--font-head); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--text-muted); font-size: 0.94rem; margin-bottom: 12px; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--orange-bright); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  color: var(--text-dim); font-size: 0.86rem;
}
.footer__bottom a:hover { color: var(--text); }

/* ===========================================================
   PAGES LÉGALES
   =========================================================== */
.legal { padding: calc(var(--nav-h) + 60px) 0 80px; }
.legal__wrap { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--text); }
.legal h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--orange-bright); }
.legal a:hover { text-decoration: underline; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); margin-bottom: 30px; font-size: 0.92rem; }
.legal__back:hover { color: var(--orange-bright); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.legal th { color: var(--text); font-family: var(--font-head); background: var(--bg-soft); }

/* ===========================================================
   ANIMATIONS scroll-reveal
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.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; }

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

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: 0; margin-top: 14px; }
  .hero__content { order: -1; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__rating { justify-content: center; }
  .hero__pill { margin-left: auto; margin-right: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { margin-bottom: 8px; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 380px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__about { grid-column: 1 / -1; max-width: none; }

  /* Navigation : passage au menu burger */
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 9, 12, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav.is-open .nav__links { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav__links a::after { display: none; }
}

@media (max-width: 720px) {
  .hero__chip { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (min-width: 981px) {
  .step:not(:last-child) .step__line { display: block; }
}
