@import url("../fonts/fonts.css");

/* ─────────────────────────────────────────────────────────────
   CALYRA — système visuel
   Forêt profonde + citron vert acide (couleurs de l'app) sur papier crème.
   Titres : Bricolage Grotesque. Mots-clés : Instrument Serif italique.
   ───────────────────────────────────────────────────────────── */
:root {
  --forest-900: #0b211c;
  --forest-800: #10302a;
  --forest-700: #173f36;
  --forest-600: #1f5245;
  --forest-500: #2b6b5a;
  --lime: #deff9a;
  --lime-600: #c3ee62;
  --lime-glow: rgba(222, 255, 154, 0.45);
  --cream: #f4efe3;
  --paper: #fbf8f1;
  --ink: #0e1d19;
  --ink-soft: #3d4f48;
  --muted: #6f7f78;
  --line: rgba(14, 29, 25, 0.1);
  --line-light: rgba(244, 239, 227, 0.14);
  --protein: #ff8a65;
  --carbs: #ffc857;
  --fat: #7cc6fe;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Noto Serif", serif;

  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime-600); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--forest-900); }

em, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
html[dir="rtl"] em { font-style: normal; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Grain : texture discrète sur les zones sombres */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest-500);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.on-dark .kicker { color: var(--lime); }

.section-title {
  font-size: clamp(38px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 750;
  font-variation-settings: "opsz" 96;
  margin: 18px 0 0;
  text-wrap: balance;
}
.section-title em { font-size: 1.08em; color: var(--forest-500); }
.on-dark .section-title em { color: var(--lime); }

/* ───────────── NAV ───────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s, transform 0.5s var(--ease-out);
}
.nav__inner {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.nav.is-scrolled {
  background: rgba(11, 33, 28, 0.78);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav.is-light-page { background: rgba(251, 248, 241, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-weight: 700; font-size: 23px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.is-light-page .brand, .legal-page .brand { color: var(--ink); }
.nav__links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav__links a {
  color: rgba(244, 239, 227, 0.78); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--cream); background: rgba(244, 239, 227, 0.08); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.is-light-page .nav__links a { color: var(--ink-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-spring), box-shadow .35s, background .25s;
}
.btn--lime { background: var(--lime); color: var(--forest-900); box-shadow: 0 8px 30px -10px var(--lime-glow); }
.btn--lime:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 38px -10px var(--lime-glow); }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-light); }
.btn--ghost:hover { background: rgba(244,239,227,0.08); }
.btn--dark { background: var(--forest-800); color: var(--cream); }
.btn--dark:hover { transform: translateY(-2px); }

/* Sélecteur de langue */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 0; cursor: pointer; background: rgba(244,239,227,0.08); color: var(--cream);
  font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
}
.is-light-page .lang__btn, .legal-page .lang__btn { background: rgba(14,29,25,0.06); color: var(--ink); }
.lang__btn svg { width: 18px; height: 18px; }
.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
  width: min(520px, calc(100vw - 32px));
  max-height: min(70vh, 520px); overflow: auto;
  background: var(--paper); color: var(--ink); border-radius: 22px; padding: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45), 0 0 0 1px var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: opacity .25s, transform .35s var(--ease-out), visibility .25s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  text-align: start; border: 0; background: none; cursor: pointer; padding: 10px 12px; border-radius: 12px;
  font-size: 15px; display: flex; justify-content: space-between; gap: 8px;
}
.lang__menu button small { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; padding-top: 3px; }
.lang__menu button:hover { background: var(--cream); }
.lang__menu button[aria-current="true"] { background: var(--forest-800); color: var(--cream); }
.lang__menu button[aria-current="true"] small { color: var(--lime); }

.burger { display: none; width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(244,239,227,0.08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.nav.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: var(--forest-900);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px 28px 40px;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .7s var(--ease-out);
}
.nav.menu-open + .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); }
.mobile-menu a { color: var(--cream); text-decoration: none; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; padding: 6px 0; }
.mobile-menu .badges { margin-top: 30px; }

/* ───────────── BADGES STORES ───────────── */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge { display: inline-block; height: 54px; border-radius: 10px; transition: transform .35s var(--ease-spring), filter .3s; }
.store-badge img { height: 100%; width: auto; }
.store-badge:hover { transform: translateY(-3px); filter: drop-shadow(0 10px 18px rgba(0,0,0,0.3)); }

/* ───────────── HERO ───────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 700px at 78% 35%, rgba(43,107,90,0.55), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(31,82,69,0.6), transparent 60%),
    var(--forest-900);
  color: var(--cream);
  padding: 150px 0 90px;
  min-height: 100svh;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.hero__lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(222,255,154,0.08); box-shadow: inset 0 0 0 1px rgba(222,255,154,0.22);
  color: var(--lime); font-size: 14px; font-weight: 600;
}
.hero__eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.hero__eyebrow .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest-900); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(.55); } }
.hero h1 {
  font-size: clamp(54px, 8.6vw, 128px);
  line-height: 0.9; letter-spacing: -0.045em; font-weight: 800;
  font-variation-settings: "opsz" 96;
  margin: 26px 0 0;
}
.hero h1 em { color: var(--lime); font-size: 1.04em; display: inline-block; padding-inline-end: .06em; }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: rgba(244,239,227,0.74); max-width: 33ch; margin: 28px 0 34px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 26px; color: rgba(244,239,227,0.7); font-size: 14.5px; }
.stars { display: inline-flex; gap: 2px; color: var(--lime); }
.stars svg { width: 16px; height: 16px; }
.hero__meta .meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .check { width: 18px; height: 18px; border-radius: 50%; background: rgba(222,255,154,0.16); color: var(--lime); display: grid; place-items: center; }
.hero__meta .check svg { width: 11px; height: 11px; }

/* Lettres animées du titre */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease-out) forwards; }
.split-line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease-out) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ───────────── TÉLÉPHONE ───────────── */
.stage { position: relative; display: grid; place-items: center; perspective: 1600px; min-height: 640px; }
.stage__glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(222,255,154,0.38), rgba(222,255,154,0) 65%);
  filter: blur(10px); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
.stage__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(222,255,154,0.22); animation: spin 60s linear infinite; }
.stage__ring--1 { width: 560px; height: 560px; }
.stage__ring--2 { width: 720px; height: 720px; animation-duration: 90s; animation-direction: reverse; border-style: solid; border-color: rgba(244,239,227,0.06); }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  --w: 310px;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.3;
  border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2f3a36, #0d1412 40%, #1d2522);
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.08),
    inset 0 0 0 1.5px rgba(255,255,255,0.06),
    0 60px 120px -30px rgba(0,0,0,0.65),
    0 30px 60px -30px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease-out);
}
.phone::before { /* boutons latéraux */
  content: ""; position: absolute; inset-inline-end: -3px; top: 150px; width: 3px; height: 70px; border-radius: 0 3px 3px 0; background: #26302c;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #000; isolation: isolate; }
.phone__island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 20; }
.statusbar { position: absolute; top: 0; inset-inline: 0; height: 50px; z-index: 15; display: flex; justify-content: space-between; align-items: center; padding: 6px 28px 0; font-size: 13px; font-weight: 650; color: #fff; direction: ltr; }
.statusbar__icons { display: flex; gap: 5px; align-items: center; }
.statusbar__icons i { display: block; width: 17px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; position: relative; }
.statusbar__icons i::after { content: ""; position: absolute; inset: 1.5px 3px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.statusbar__icons b { display: block; width: 15px; height: 10px; background: linear-gradient(90deg, currentColor 20%, transparent 20% 30%, currentColor 30% 50%, transparent 50% 60%, currentColor 60% 80%, transparent 80% 90%, currentColor 90%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }

/* Démo de scan */
.demo__photo { position: absolute; inset: 0; background-size: cover; background-position: 40% 88%; transform: scale(1.06); transition: transform 6s ease-out; }
.demo.is-done .demo__photo { transform: scale(1.0); }
.demo__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 22%, transparent 55%, rgba(0,0,0,.55)); }
.demo__frame { position: absolute; left: 10%; right: 10%; top: 30%; height: 36%; transition: opacity .5s, transform .6s var(--ease-out); }
.demo__frame span { position: absolute; width: 34px; height: 34px; border: 3px solid #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.demo__frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.demo__frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.demo__frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.demo__frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.demo.is-scanning .demo__frame { animation: framePulse 1.4s ease-in-out infinite; }
@keyframes framePulse { 50% { transform: scale(0.96); } }
.demo__beam {
  position: absolute; left: 10%; right: 10%; top: 30%; height: 3px; border-radius: 3px; opacity: 0;
  background: var(--lime); box-shadow: 0 0 18px 4px var(--lime-glow), 0 0 60px 10px rgba(222,255,154,0.25);
}
.demo.is-scanning .demo__beam { opacity: 1; animation: beam 1.3s ease-in-out infinite alternate; }
@keyframes beam { from { top: 30%; } to { top: 66%; } }
.demo__label {
  position: absolute; top: 70%; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 8px; transition: opacity .4s;
}
.demo__label .spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: var(--lime); animation: spin .8s linear infinite; }
.demo.is-done .demo__label, .demo.is-done .demo__frame { opacity: 0; }
.demo__shutter { position: absolute; bottom: 30px; left: 50%; width: 66px; height: 66px; margin-left: -33px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; transition: opacity .4s, transform .4s; }
.demo__shutter::after { content: ""; width: 50px; height: 50px; border-radius: 50%; background: var(--lime); transition: transform .2s; }
.demo.is-shot .demo__shutter::after { transform: scale(.82); }
.demo.is-done .demo__shutter { opacity: 0; transform: translateY(20px); }
.demo__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.demo.is-shot .demo__flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

.sheet {
  position: absolute; inset-inline: 8px; bottom: 8px; border-radius: 30px; padding: 18px 18px 16px;
  background: rgba(251, 248, 241, 0.97); color: var(--ink);
  box-shadow: 0 -10px 40px rgba(0,0,0,.25);
  transform: translateY(110%); transition: transform .9s var(--ease-out);
}
.demo.is-done .sheet { transform: none; }
.sheet__handle { width: 38px; height: 4px; border-radius: 4px; background: rgba(14,29,25,.15); margin: -6px auto 12px; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; color: var(--forest-500); font-weight: 650; }
.sheet__top .ok { display: inline-flex; align-items: center; gap: 5px; }
.sheet__top .ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ccf7a; box-shadow: 0 0 0 3px rgba(60,207,122,.2); }
.sheet__dish { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; margin: 6px 0 12px; line-height: 1.15; }
.sheet__kcal { display: flex; align-items: center; gap: 14px; }
.ring { width: 74px; height: 74px; flex: none; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring .bg { stroke: rgba(14,29,25,.08); }
.ring .fg { stroke: var(--forest-600); stroke-dasharray: 188.5; stroke-dashoffset: 188.5; transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
.demo.is-done .ring .fg { stroke-dashoffset: 62; }
.ring__val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring__val b { font-size: 19px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ring__val small { font-size: 10px; color: var(--muted); margin-top: 2px; }
.macros { flex: 1; display: grid; gap: 7px; }
.macro { display: grid; grid-template-columns: 1fr auto; gap: 3px 6px; font-size: 11px; font-weight: 600; }
.macro span:last-child { font-variant-numeric: tabular-nums; }
.macro i { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: rgba(14,29,25,.08); overflow: hidden; position: relative; }
.macro i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease-out) var(--d, .3s); }
html[dir="rtl"] .macro i::after { transform-origin: right; }
.demo.is-done .macro i::after { transform: scaleX(var(--v)); }
.sheet__score { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 650; }
.sheet__score b { color: var(--forest-500); }

/* Puces flottantes autour du téléphone */
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 10px 15px 10px 10px; border-radius: 16px; font-size: 13.5px; font-weight: 650;
  background: rgba(251,248,241,0.95); color: var(--ink);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(14px) scale(.92);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-spring);
}
.chip .ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--forest-800); color: var(--lime); }
.chip .ico svg { width: 16px; height: 16px; }
.demo-visible .chip { opacity: 1; transform: none; }
.chip--1 { top: 16%; inset-inline-start: -4%; transition-delay: .2s; }
.chip--2 { top: 46%; inset-inline-end: -6%; transition-delay: .35s; }
.chip--3 { bottom: 14%; inset-inline-start: -8%; transition-delay: .5s; }
.chip.float { animation: float 6s ease-in-out infinite; }
.chip--2.float { animation-delay: -2s; }
.chip--3.float { animation-delay: -4s; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ───────────── MARQUEE ───────────── */
.marquee { background: var(--lime); color: var(--forest-900); overflow: hidden; padding: 20px 0; position: relative; z-index: 2; }
.marquee--tilt { transform: rotate(-1.6deg) scaleX(1.04); margin: -26px 0 0; box-shadow: 0 20px 50px -20px rgba(0,0,0,.3); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
html[dir="rtl"] .marquee__track { animation-direction: reverse; }
.marquee__group { display: flex; gap: 0; }
.marquee__item { display: inline-flex; align-items: center; gap: 26px; padding: 0 13px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.marquee__item::after { content: "✳"; font-size: .8em; color: var(--forest-600); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ───────────── SECTIONS ───────────── */
.section { padding: clamp(90px, 13vw, 170px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--forest-900); color: var(--cream); overflow: hidden; }
.section__head { max-width: 860px; margin-bottom: clamp(48px, 7vw, 90px); }
.section__head p { font-size: 19px; color: var(--ink-soft); max-width: 52ch; margin: 22px 0 0; }
.on-dark .section__head p { color: rgba(244,239,227,.72); }

/* Révélations au scroll */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--delay, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-40px); }

/* ───────────── COMMENT ÇA MARCHE ───────────── */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.how__steps { display: grid; gap: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; opacity: .28; transition: opacity .6s; }
.step.is-active { opacity: 1; }
.step__num { font-family: var(--font-serif); font-style: italic; font-size: 92px; line-height: 1; color: var(--forest-500); }
.step h3 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 14px; font-weight: 750; }
.step p { font-size: 18px; color: var(--ink-soft); max-width: 40ch; margin: 0; }
.how__sticky { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.how__bg { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(43,107,90,.22), transparent 68%); }
.phone--light { --w: 290px; }
.phone--light .phone__screen { background: var(--paper); }
.screen { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.screen.is-active { opacity: 1; transform: none; }
.screen--photo { background-size: cover; background-position: center; }
.screen--photo .demo__frame { top: 26%; height: 40%; }
.tag {
  position: absolute; padding: 6px 10px 6px 8px; border-radius: 10px; background: rgba(251,248,241,.94); color: var(--ink);
  font-size: 11.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(8px) scale(.9); transition: all .6s var(--ease-spring);
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--forest-500)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--forest-500)) 25%, transparent); }
.tag small { color: var(--muted); font-weight: 600; }
.screen.is-active .tag { opacity: 1; transform: none; }
.screen.is-active .tag:nth-of-type(2) { transition-delay: .25s; }
.screen.is-active .tag:nth-of-type(3) { transition-delay: .5s; }
.screen.is-active .tag:nth-of-type(4) { transition-delay: .75s; }

/* Écran tableau de bord */
.dash { position: absolute; inset: 0; padding: 58px 16px 16px; background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.dash__head { display: flex; align-items: center; gap: 8px; font-weight: 750; font-size: 15px; }
.dash__head img { width: 22px; height: 22px; border-radius: 6px; }
.dash__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 10px; text-align: center; color: var(--muted); font-weight: 600; }
.dash__days span { padding: 6px 0; border-radius: 10px; }
.dash__days span.on { background: var(--lime); color: var(--forest-900); }
.dash__card { background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0,0,0,.25); }
.gauge { position: relative; width: 170px; height: 92px; margin: 2px auto 0; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge .bg { stroke: rgba(14,29,25,.08); }
.gauge .fg { stroke: url(#gaugeGrad); stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.8s var(--ease-out) .3s; }
.screen.is-active .gauge .fg { stroke-dashoffset: 84; }
.gauge__val { position: absolute; inset: auto 0 0; text-align: center; line-height: 1.05; }
.gauge__val small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }
.gauge__val b { font-size: 26px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.gauge__val b span { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.dash__macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.dash__macros .macro { font-size: 10px; }
.screen.is-active .macro i::after { transform: scaleX(var(--v)); }
.dash__micro { display: flex; flex-direction: column; gap: 8px; }
.dash__micro .row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 11px; font-weight: 650; }
.dash__micro .row em { font-style: normal; font-family: var(--font-display); width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--forest-800); color: var(--lime); font-size: 10px; }
.dash__micro .row i { height: 5px; border-radius: 5px; background: rgba(14,29,25,.08); position: relative; overflow: hidden; }
.dash__micro .row i::after { content: ""; position: absolute; inset: 0; background: var(--forest-500); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out) .5s; border-radius: inherit; }
.screen.is-active .dash__micro .row i::after { transform: scaleX(var(--v)); }

/* ───────────── BENTO ───────────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 28px; min-height: 260px;
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 20px 50px -34px rgba(14,29,25,.35);
  display: flex; flex-direction: column; isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 34px 70px -34px rgba(14,29,25,.45); }
.card h3 { font-size: 25px; letter-spacing: -0.025em; line-height: 1.1; margin: auto 0 8px; font-weight: 750; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; max-width: 36ch; }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--forest-600); }
.card__icon svg { width: 22px; height: 22px; }
.card--dark { background: var(--forest-800); color: var(--cream); }
.card--dark p { color: rgba(244,239,227,.7); }
.card--dark .card__icon { background: rgba(222,255,154,.12); color: var(--lime); }
.card--lime { background: var(--lime); }
.card--lime .card__icon { background: rgba(16,48,42,.1); }
.card--a { grid-column: span 7; min-height: 480px; grid-row: span 2; }
.card--b { grid-column: span 5; }
.card--c { grid-column: span 5; }
.card--d, .card--e, .card--f { grid-column: span 4; }
.card--g, .card--h { grid-column: span 6; }
.card--i { grid-column: span 12; min-height: 220px; flex-direction: row; align-items: center; gap: 30px; }
.card--i h3 { margin-top: 0; }

.card--a .card__media { position: absolute; inset: 0; z-index: -1; }
.card--a .card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.card--a:hover .card__media img { transform: scale(1.02); }
.card--a .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,33,28,.1) 20%, rgba(11,33,28,.92) 85%); }
.card--a .pins { position: absolute; inset: 0; }
.card--a .tag { opacity: 1; transform: none; }
.card--a .tag.wobble { animation: float 5s ease-in-out infinite; }

/* Code-barres animé */
.barcode { display: flex; gap: 3px; height: 74px; align-items: stretch; margin: 6px 0 22px; position: relative; }
.barcode i { display: block; background: var(--ink); border-radius: 1px; }
.barcode::after { content: ""; position: absolute; left: -6px; right: -6px; height: 2px; background: #ff4d4d; box-shadow: 0 0 12px 2px rgba(255,77,77,.6); top: 10%; animation: barScan 2.2s ease-in-out infinite alternate; }
@keyframes barScan { to { top: 88%; } }

/* Menu */
.menu-list { display: grid; gap: 8px; margin: 4px 0 22px; }
.menu-list div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 9px 12px; border-radius: 12px; background: rgba(244,239,227,.06); box-shadow: inset 0 0 0 1px var(--line-light); }
.menu-list b { color: var(--lime); font-variant-numeric: tabular-nums; }

/* Saisie texte */
.typer { font-size: 17px; font-weight: 600; padding: 14px 16px; border-radius: 16px; background: var(--cream); margin: 4px 0 22px; min-height: 54px; }
.typer::after { content: ""; display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; margin-inline-start: 2px; background: var(--forest-600); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Micronutriments */
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.pills span { padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 650; background: rgba(16,48,42,.08); }
.pills span:nth-child(3n) { background: var(--forest-800); color: var(--lime); }

/* Courbe */
.chart { width: 100%; height: 110px; margin: 0 0 18px; }
.chart path.line { fill: none; stroke: var(--forest-600); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease-out); }
.chart path.area { fill: url(#areaGrad); opacity: 0; transition: opacity 1.2s .8s; }
.is-in .chart path.line { stroke-dashoffset: 0; }
.is-in .chart path.area { opacity: 1; }

.recipe-stack { display: flex; margin: 4px 0 22px; }
.recipe-stack img { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); margin-inline-end: -18px; transition: transform .5s var(--ease-spring); }
.card:hover .recipe-stack img:nth-child(1) { transform: rotate(-8deg) translateY(-4px); }
.card:hover .recipe-stack img:nth-child(2) { transform: translateY(-10px); }
.card:hover .recipe-stack img:nth-child(3) { transform: rotate(8deg) translateY(-4px); }

.activity-bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; margin: 4px 0 22px; }
.activity-bars i { flex: 1; height: 100%; border-radius: 8px 8px 4px 4px; background: var(--forest-600); transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s var(--ease-spring); }
.activity-bars i:nth-child(even) { background: var(--lime-600); }
.is-in .activity-bars i { transform: scaleY(var(--h)); }
.is-in .activity-bars i:nth-child(2) { transition-delay: .08s; }
.is-in .activity-bars i:nth-child(3) { transition-delay: .16s; }
.is-in .activity-bars i:nth-child(4) { transition-delay: .24s; }
.is-in .activity-bars i:nth-child(5) { transition-delay: .32s; }
.is-in .activity-bars i:nth-child(6) { transition-delay: .4s; }
.is-in .activity-bars i:nth-child(7) { transition-delay: .48s; }

.health-heart { width: 120px; height: 120px; flex: none; border-radius: 32px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, #f2f2f2); box-shadow: 0 10px 30px -14px rgba(0,0,0,.3); }
.health-heart svg { width: 64px; height: 64px; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }

/* ───────────── GALERIE ───────────── */
.gallery { overflow: hidden; }
.gallery__track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 40px;
  scrollbar-width: none; cursor: grab; scroll-padding-inline: var(--gutter);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-dragging img { pointer-events: none; }
.shot { margin: 0; flex: none; width: clamp(220px, 24vw, 300px); scroll-snap-align: start; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(14,29,25,.45); transition: transform .7s var(--ease-out); }
.shot:nth-child(odd) { transform: translateY(26px); }
.shot img { width: 100%; height: auto; aspect-ratio: 860 / 1864; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gallery__hint { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.gallery__hint svg { width: 30px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }

/* ───────────── LANGUES ───────────── */
.langs { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; max-width: 1100px; margin: 0 auto; }
.langs button {
  border: 0; cursor: pointer; background: none; color: rgba(244,239,227,.36);
  font-size: clamp(24px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.03em; padding: 4px 8px; border-radius: 14px;
  transition: color .5s, transform .5s var(--ease-spring), background .3s;
}
.langs button:hover, .langs button.is-lit { color: var(--lime); }
.langs button:hover { transform: translateY(-3px); }
.langs button[aria-current="true"] { color: var(--forest-900); background: var(--lime); }
.hello { text-align: center; font-family: var(--font-serif); font-style: italic; font-size: clamp(56px, 10vw, 150px); line-height: 1; color: var(--lime); height: 1.15em; overflow: hidden; margin-bottom: 40px; }
.hello span { display: inline-block; animation: helloIn .7s var(--ease-out); }
@keyframes helloIn { from { transform: translateY(70%); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
.langs-orb { position: absolute; width: 900px; height: 900px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(43,107,90,.5), transparent 60%); pointer-events: none; z-index: 0; }
.section--dark .wrap { position: relative; z-index: 1; }

/* ───────────── AVIS ───────────── */
.reviews { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.score { position: sticky; top: 120px; }
.score__big { font-size: clamp(110px, 15vw, 200px); line-height: .85; font-weight: 800; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.score__big small { font-size: .3em; color: var(--muted); letter-spacing: 0; }
.score .stars { color: var(--forest-600); margin: 16px 0 10px; }
.score .stars svg { width: 28px; height: 28px; }
.score p { color: var(--ink-soft); margin: 0; }
.quotes { display: grid; gap: 18px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 1px 0 var(--line), 0 20px 50px -34px rgba(14,29,25,.35); }
.quote .stars { color: #f4b400; margin-bottom: 14px; }
.quote h4 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.quote blockquote { margin: 0; font-size: 17px; color: var(--ink-soft); }
.quote footer { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 14px; }
.quote .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-800); color: var(--lime); font-size: 14px; text-transform: uppercase; }
.quote--featured { background: var(--forest-800); color: var(--cream); }
.quote--featured blockquote { color: rgba(244,239,227,.82); font-size: 19px; }
.quote--featured .avatar { background: var(--lime); color: var(--forest-900); }
.reviews__note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ───────────── CTA ───────────── */
.cta { position: relative; overflow: hidden; border-radius: clamp(28px, 4vw, 48px); background: var(--lime); padding: clamp(44px, 7vw, 96px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; isolation: isolate; }
.cta h2 { font-size: clamp(40px, 6vw, 82px); line-height: .95; letter-spacing: -0.045em; margin: 0; font-weight: 800; }
.cta h2 em { color: var(--forest-500); }
.cta p { font-size: 19px; margin: 22px 0 30px; color: var(--forest-700); max-width: 40ch; }
.cta__phone { position: relative; height: 100%; min-height: 420px; }
.cta__phone .phone { --w: 260px; position: absolute; left: 50%; top: 20px; transform: translateX(-50%) rotate(8deg); }
.cta__phone .phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cta__blob { position: absolute; width: 520px; height: 520px; inset-inline-end: -160px; bottom: -220px; border-radius: 50%; background: var(--lime-600); z-index: -1; animation: breathe 7s ease-in-out infinite; }

/* ───────────── FAQ ───────────── */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(19px, 2vw, 23px); font-weight: 650; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; position: relative; transition: transform .45s var(--ease-out), background .3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; border-radius: 2px; background: var(--forest-700); }
.faq summary .plus::after { transform: rotate(90deg); transition: transform .45s var(--ease-out); }
.faq details[open] summary .plus { background: var(--lime); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq__answer { overflow: hidden; }
.faq__answer p { margin: 0 0 26px; color: var(--ink-soft); font-size: 17px; max-width: 62ch; }

/* ───────────── FOOTER ───────────── */
.footer { background: var(--forest-900); color: var(--cream); padding: 90px 0 40px; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 6px 0 18px; font-weight: 650; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(244,239,227,.72); text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--lime); }
.footer__tagline { color: rgba(244,239,227,.65); max-width: 30ch; margin: 18px 0 24px; }
.footer__giant { font-size: clamp(90px, 22vw, 330px); font-weight: 800; letter-spacing: -0.07em; line-height: .8; color: rgba(244,239,227,.05); margin: 70px 0 20px; user-select: none; white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: rgba(244,239,227,.5); padding-top: 26px; border-top: 1px solid var(--line-light); }

/* ───────────── PAGES LÉGALES / UTILITAIRES ───────────── */
.legal-page { background: var(--paper); }
.legal-hero { padding: 150px 0 50px; background: var(--cream); }
.legal-hero h1 { font-size: clamp(42px, 6vw, 78px); letter-spacing: -0.045em; line-height: .95; margin: 16px 0 0; font-weight: 800; }
.legal-hero p { color: var(--muted); margin: 18px 0 0; }
.legal-body { padding: 60px 0 120px; }
.prose { max-width: 760px; font-size: 17px; color: var(--ink-soft); }
.prose h2 { color: var(--ink); font-size: 26px; letter-spacing: -0.02em; margin: 52px 0 14px; line-height: 1.2; }
.prose h3 { color: var(--ink); font-size: 19px; margin: 30px 0 10px; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--forest-600); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { text-align: start; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.callout { background: var(--cream); border-radius: var(--radius-md); padding: 22px 24px; margin: 26px 0; color: var(--ink); }
.callout--warn { background: #fff1e8; box-shadow: inset 0 0 0 1px #ffd4bd; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
.lang-block[hidden] { display: none !important; }

.form { display: grid; gap: 16px; max-width: 560px; margin-top: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 650; font-size: 15px; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest-500); box-shadow: 0 0 0 4px rgba(43,107,90,.15); }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--forest-600); flex: none; }
.checks { display: grid; gap: 10px; }

/* Page centrée (mot de passe, 404) */
.center-page { min-height: 100svh; display: grid; place-items: center; padding: 110px var(--gutter) 60px; background:
  radial-gradient(900px 600px at 80% 0%, rgba(43,107,90,.5), transparent 60%), var(--forest-900); color: var(--cream); position: relative; }
.panel { width: 100%; max-width: 460px; background: var(--paper); color: var(--ink); border-radius: 32px; padding: clamp(28px, 5vw, 44px); box-shadow: 0 50px 100px -30px rgba(0,0,0,.6); position: relative; }
.panel h1 { font-size: 34px; letter-spacing: -0.035em; line-height: 1.05; margin: 18px 0 8px; }
.panel > p { color: var(--ink-soft); margin: 0 0 24px; }
.panel .icon-badge { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--forest-800); color: var(--lime); }
.panel .icon-badge svg { width: 26px; height: 26px; }
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-inline-end: 84px; }
.pw-toggle { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--cream); border-radius: 10px; padding: 7px 10px; font-size: 13px; font-weight: 650; cursor: pointer; }
.rules { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.rules li { display: flex; align-items: center; gap: 8px; transition: color .3s; }
.rules li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .3s, box-shadow .3s; flex: none; }
.rules li.ok { color: var(--forest-600); }
.rules li.ok::before { background: var(--forest-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23deff9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: none; }
.alert { padding: 14px 16px; border-radius: 14px; font-size: 15px; margin-bottom: 16px; }
.alert--error { background: #fff0ee; color: #a3271b; }
.btn--block { width: 100%; height: 54px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.loader { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--forest-600); animation: spin .8s linear infinite; margin: 30px auto; }
.success-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 6px 0 4px; animation: pop .7s var(--ease-spring); }
.success-mark svg { width: 40px; height: 40px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .3s var(--ease-out) forwards; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: inline-block; }
  .nav__actions .btn--lime { display: none; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero .badges, .hero__meta { justify-content: center; }
  .stage { min-height: 600px; margin-top: 20px; }
  .bento .card--a { grid-column: span 12; min-height: 440px; }
  .card--b, .card--c { grid-column: span 6; }
  .card--d, .card--e, .card--f { grid-column: span 6; }
  .card--f { grid-column: span 12; }
  .reviews, .faq { grid-template-columns: 1fr; }
  .score { position: static; }
  .cta { grid-template-columns: 1fr; }
  .cta__phone { min-height: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .phone { --w: 268px; border-radius: 46px; }
  .phone__screen { border-radius: 37px; }
  .stage { min-height: 560px; }
  .stage__ring--1 { width: 420px; height: 420px; }
  .stage__ring--2 { display: none; }
  .stage__glow { width: 380px; height: 380px; }
  .chip { font-size: 12px; padding: 8px 12px 8px 8px; }
  .chip .ico { width: 26px; height: 26px; }
  .chip--1 { inset-inline-start: -2%; }
  .chip--2 { inset-inline-end: -2%; }
  .chip--3 { inset-inline-start: 0; }
  .store-badge { height: 48px; }
  .how { grid-template-columns: 1fr; }
  .how__sticky { top: 70px; height: 56vh; z-index: 2; order: -1; background: linear-gradient(var(--cream) 85%, transparent); }
  .phone--light { --w: 210px; border-radius: 38px; padding: 8px; }
  .phone--light .phone__screen { border-radius: 31px; }
  .phone--light .statusbar { padding: 4px 20px 0; font-size: 11px; }
  .phone--light .phone__island { width: 70px; height: 22px; top: 8px; }
  .step { min-height: 62vh; padding: 0; }
  .step__num { font-size: 64px; }
  .bento { gap: 12px; }
  .card { grid-column: span 12 !important; min-height: 0; padding: 24px; }
  .card--a { min-height: 420px !important; }
  .card--i { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .lang__menu { grid-template-columns: repeat(2, 1fr); position: fixed; top: 84px; inset-inline: 16px; width: auto; }
  .marquee--tilt { transform: rotate(-2.5deg) scaleX(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-line > span, .fade-up { transform: none; opacity: 1; }
}

/* Synchronisation Apple Santé */
.sync { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }
.sync__app { width: 74px; height: 74px; border-radius: 20px; box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); }
.sync__dots { display: flex; gap: 8px; }
.sync__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--forest-500); opacity: .2; animation: syncDot 1.6s infinite; }
.sync__dots i:nth-child(2) { animation-delay: .2s; } .sync__dots i:nth-child(3) { animation-delay: .4s; } .sync__dots i:nth-child(4) { animation-delay: .6s; } .sync__dots i:nth-child(5) { animation-delay: .8s; }
html[dir="rtl"] .sync { flex-direction: row-reverse; }
@keyframes syncDot { 0%, 100% { opacity: .2; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.15); background: var(--lime-600); } }
@media (max-width: 760px) { .sync { margin-inline-start: 0; } .sync__app, .card--i .health-heart { width: 60px; height: 60px; border-radius: 16px; } .card--i .health-heart svg { width: 34px; height: 34px; } }
