/* =====================================================================
   OnFit — one-pager landing site
   Faithful recreation of the Figma design (FR + EN).
   Brand: cream + vivid teal, bouncy script logo, heavy rounded display.
   ===================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

/* Brand fonts (self-hosted, from Figma) */
@font-face {
  font-family: 'Black';
  src: url('../assets/fonts/Black.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/Unbounded-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* color */
  --teal:        #00adb2;
  --teal-deep:   #019398;
  --teal-700:    #00767a;
  --teal-ink:    #004f52;
  --teal-soft:   #d4f0f0;
  --teal-tint:   #e9f7f6;

  --cream:       #fdfaf3;
  --cream-2:     #f6f0e2;
  --page-bg:     #efece2;

  --ink:         #16302e;
  --ink-soft:    #3d5654;
  --muted:       #6f8a88;
  --line:        #e7e0cf;
  --white:       #ffffff;

  /* verification badge palette */
  --v-teal:   #00adb2;
  --v-green:  #1b7a3d;
  --v-purple: #7a1fe0;
  --v-red:    #ed1c2e;
  --v-orange: #f39a3e;
  --v-yellow: #f4c724;

  /* type */
  --f-script:  'Black', 'Pacifico', 'Brush Script MT', cursive;
  --f-display: 'Unbounded', 'Poppins', system-ui, sans-serif;
  --f-body:    'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* radius */
  --r-band:  44px;
  --r-card:  28px;
  --r-photo: 36px;
  --r-pill:  999px;

  /* shadow */
  --sh-sm:  0 6px 18px rgba(20,48,46,.08);
  --sh-md:  0 18px 44px rgba(20,48,46,.12);
  --sh-lg:  0 34px 80px rgba(12,80,80,.18);
  --sh-teal:0 24px 60px rgba(12,142,142,.34);

  /* layout */
  --wrap: 1200px;
  --nav-h: 80px;
}

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

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; overflow-x: clip; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }

.eyebrow {
  font-family: var(--f-script);
  color: var(--teal);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 400;
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.eyebrow--light { color: var(--white); }
.eyebrow--left { text-align: left; }

/* heavy rounded display type */
.display {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--teal);
}
.display .out {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--teal);
  paint-order: stroke fill;
}
.on-teal .display { color: var(--white); }
.on-teal .display .out { -webkit-text-stroke-color: var(--white); }

.lead { color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .85em 1.6em;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(12,142,142,.3);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(12,142,142,.4); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn--lg { font-size: 1.08rem; padding: 1em 1.9em; }

/* ---------- Store badges (inline-svg, currentColor adapts) ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 7px;
  border: 2px solid currentColor;
  color: var(--teal);
  background: transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease;
  min-width: 178px;
}
.store-badge:hover { transform: translateY(-3px); background: var(--teal); color: #fff; }
.on-teal .store-badge { color: #fff; background: transparent; border-color: #fff; }
.on-teal .store-badge:hover { background: rgba(255,255,255,.16); color: #fff; }
.store-badge svg { width: 26px; height: 30px; flex: none; fill: currentColor; }
.store-badge .sb-txt { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge .sb-small { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.store-badge .sb-big { font-family: var(--f-body); font-weight: 600; font-size: 1.12rem; }

/* ====================================================================
   NAV
   ==================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: clamp(40px, 4.2vw, 50px); width: auto; }
.nav__logo .logo-white { display: block; }
.nav__logo .logo-teal  { display: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  margin-inline: auto;
}
.nav__links a {
  color: #fff;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  text-shadow: 0 1px 3px rgba(8,50,50,.32);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width .22s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__lang {
  display: inline-flex;
  border-radius: var(--r-pill);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.7);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .82rem;
}
.nav__lang a { padding: 6px 12px; color: rgba(255,255,255,.9); transition: background .2s, color .2s; }
.nav__lang a.is-active { background: #fff; color: var(--teal); }

.nav__burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav__burger span { width: 24px; height: 2.6px; background: #fff; border-radius: 2px; transition: .25s; }

/* stuck state — over cream */
.nav.is-stuck {
  background: rgba(251,247,236,.88);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 6px 24px rgba(20,48,46,.08);
}
.nav.is-stuck .nav__logo .logo-white { display: none; }
.nav.is-stuck .nav__logo .logo-teal  { display: block; }
.nav.is-stuck .nav__links a { color: var(--ink); text-shadow: none; }
.nav.is-stuck .nav__lang { border-color: var(--teal); }
.nav.is-stuck .nav__lang a { color: var(--teal); }
.nav.is-stuck .nav__lang a.is-active { background: var(--teal); color: #fff; }
.nav.is-stuck .nav__burger span { background: var(--ink); }

/* download button: white on the teal hero, teal once stuck on cream */
.nav__download { background: #fff; color: var(--teal); box-shadow: 0 8px 22px rgba(0,0,0,.12); font-family: var(--f-script); font-weight: 400; font-size: clamp(1.1rem, 1.5vw, 1.34rem); padding: .48em 1.6em; line-height: 1; }
.nav__download:hover { background: var(--cream); color: var(--teal-deep); }
.nav.is-stuck .nav__download { background: var(--teal); color: #fff; }
.nav.is-stuck .nav__download:hover { background: var(--teal-deep); }

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative;
  background: var(--teal);
  color: #fff;
  margin-top: calc(var(--nav-h) * -1);
  padding-top: calc(var(--nav-h) + clamp(30px, 5vw, 60px));
  padding-bottom: clamp(40px, 6vw, 90px);
  overflow: hidden;
}

/* ---------- wave dividers (exact Figma S-curve) ---------- */
.wave { display: block; width: 100%; line-height: 0; position: relative; z-index: 2; }
.wave svg { display: block; width: 100%; height: clamp(84px, 13vw, 230px); }
.wave--down { margin-top: -1px; }
.wave--up { margin-bottom: -1px; }
.hero::before { /* faint script watermark */
  content: 'Onfit';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  font-family: var(--f-script);
  font-size: 40vw;
  color: rgba(255,255,255,.06);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.8vw, 5rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__title span { display: block; }
.hero__sub {
  margin-top: clamp(18px, 2.5vw, 28px);
  max-width: 30ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.92);
}
.hero__actions { margin-top: clamp(26px, 3.5vw, 40px); }
.hero__phones {
  position: relative;
  justify-self: center;
}
.hero__phones img {
  width: min(560px, 92%);
  margin-inline: auto;
  filter: drop-shadow(0 10px 18px rgba(8,55,57,.4));
}

/* ====================================================================
   CONNECTIONS  ("Quand le mouvement créer des connexions")
   ==================================================================== */
.verif-row {
  max-width: 1060px;
  margin: 0 auto clamp(48px, 7vw, 92px);
}
.verif-row__track {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.verif--dup { display: none; }
.verif {
  width: clamp(48px, 6vw, 64px);
  height: auto;
  flex: none;
  transition: transform .25s ease;
}
.verif:hover { transform: translateY(-6px) scale(1.06) rotate(-4deg); }

.connect__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
}
.connect__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 1.12 / 1;
}
.connect__visual img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 44px rgba(20,48,46,.16));
}
.connect__cap {
  position: absolute; z-index: 2;
  font-family: var(--f-script); color: var(--teal);
  font-size: clamp(1.3rem, 2.5vw, 2.1rem); line-height: 1.25;
  max-width: 48%; text-align: center;
}
.connect__cap--tr { top: 2%; right: -3%; }
.connect__cap--bl { bottom: 4%; left: -3%; }
.connect__h {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--teal);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.04;
  text-align: right;
}
.connect__h span { display: block; }

/* ====================================================================
   APP GALLERY (scroll-snap strip of B/W photo tiles)
   ==================================================================== */
.photo-marquee {
  width: 100%;
  overflow: hidden;
  padding-block: 10px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.photo-marquee__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  animation: marquee 50s linear infinite;
}
.photo-marquee:hover .photo-marquee__track { animation-play-state: paused; }
.gallery__tile {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 300px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-photo);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: var(--cream-2);
}
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; }

/* ====================================================================
   CREATORS BAND (teal)
   ==================================================================== */
.creators-band {
  background: var(--teal);
  color: #fff;
  width: 100%;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 64px) clamp(52px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}
.creators-band .eyebrow,
.creators-band .band-cta { position: relative; z-index: 2; max-width: var(--wrap); margin-inline: auto; }
.creators-band .creator-marquee { position: relative; z-index: 2; }
.creators-band .eyebrow { color: #fff; }
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 6vw, 96px);
  margin-bottom: clamp(40px, 6vw, 72px);
  position: relative;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
}
.stat__label { font-family: var(--f-script); font-weight: 400; font-size: 1.1rem; opacity: .95; margin-top: 2px; }
.stats--cream .stat__num,
.stats--cream .stat__label { color: var(--teal); }

.creator-marquee {
  width: 100%;
  max-width: 1080px;
  margin: clamp(8px, 2vw, 24px) auto clamp(10px, 2vw, 28px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.creator-marquee__track {
  display: flex;
  gap: clamp(20px, 2vw, 40px);
  width: max-content;
  animation: marquee 38s linear infinite;
}
.creator-marquee:hover .creator-marquee__track { animation-play-state: paused; }
.creator {
  text-align: center;
  flex: 0 0 auto;
  width: clamp(160px, 20vw, 240px);
}
.creator__photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 3px solid rgba(255,255,255,.5);
}
.creator__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02) brightness(1.06);
}
.creator__photo::after { content: none; } /* teal duotone removed per feedback — natural B&W photos */
.creator__badge {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.creator__name { margin-top: 14px; font-family: var(--f-script); font-weight: 400; font-size: 1.2rem; }
.creator__role { font-family: var(--f-body); font-size: .76rem; opacity: .9; }

.band-cta {
  position: relative;
  margin-top: clamp(44px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  text-align: left;
}
.band-cta__right { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.band-cta h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  line-height: 1.12;
}
.band-cta h3 .script { font-family: var(--f-script); font-weight: 400; font-size: 1.5em; line-height: 1; }

/* interactive slide-to-send-OnFit control — round Onfit thumb that scales as it slides */
.slider {
  position: relative;
  width: min(440px, 100%);
  height: 58px;
  background: #fff;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.slider:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.slider__back, .slider__x, .slider__target {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.slider__back { left: 6px; background: #e9eef0; color: #6c7e7e; }
.slider__back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.slider__target { right: 58px; background: #14302e; color: #fff; transition: background .2s ease, color .2s ease, transform .2s ease; }
.slider.is-near .slider__target { background: #fff; color: #14302e; transform: translateY(-50%) scale(1.08); box-shadow: 0 0 0 3px rgba(255,255,255,.5); }
.slider__target svg { width: 20px; height: 20px; fill: currentColor; }
.slider__x { right: 6px; background: #f23b3b; color: #fff; }
.slider__x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }
.slider__hint {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: 112px; right: 116px; text-align: center; z-index: 2;
  font-weight: 600; font-size: .85rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(90deg, #9fb1b1 36%, var(--teal) 50%, #9fb1b1 64%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 2.6s linear infinite;
}
.slider__thumb {
  position: absolute; top: 50%; left: 58px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-family: var(--f-script); font-size: .92rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(8,60,60,.3);
  cursor: grab;
  transform: translate(0, -50%) scale(1);
  transition: transform .42s cubic-bezier(.22,.61,.36,1), box-shadow .2s ease;
  will-change: transform;
  animation: thumb-glow 2.4s ease-in-out infinite;
}
.slider.dragging .slider__thumb { transition: box-shadow .2s ease; cursor: grabbing; animation: none; }
.slider__sent {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.02rem;
  opacity: 0; pointer-events: none;
}
.slider__sent svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.slider.is-sent { background: var(--teal); }
.slider.is-sent .slider__back,
.slider.is-sent .slider__x,
.slider.is-sent .slider__target,
.slider.is-sent .slider__hint,
.slider.is-sent .slider__thumb { opacity: 0; transition: opacity .22s ease; animation: none; }
.slider.is-sent .slider__sent { opacity: 1; animation: sent-pop .5s ease; }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes thumb-glow { 0%, 100% { box-shadow: 0 6px 16px rgba(8,60,60,.3); } 50% { box-shadow: 0 6px 22px rgba(0,173,178,.6); } }
@keyframes sent-pop { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.07); } 100% { transform: scale(1); opacity: 1; } }

/* ====================================================================
   HOW IT WORKS — community/dating carousel
   ==================================================================== */
.steps {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--teal);
  font-size: clamp(1.45rem, 3.3vw, 2.7rem);
  line-height: 1.2;
  margin: 0 auto clamp(42px, 5vw, 68px);
}
.steps__seg { display: block; }
.steps__badge { width: clamp(26px, 3.4vw, 46px); height: clamp(26px, 3.4vw, 46px); display: inline-block; vertical-align: middle; margin: 0 .12em -.1em; }

.comm-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 32px);
}
.comm-card { text-align: center; }
.comm-card__label {
  font-family: var(--f-script);
  color: var(--teal);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin-bottom: 14px;
}
.comm-card__img {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-photo);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--cream-2);
}
.comm-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* generic carousel */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: 20px; }
.carousel__track {
  display: flex;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.carousel__slide { flex: 0 0 100%; min-width: 0; }

.cards3 .carousel__slide { padding-inline: clamp(6px, 1vw, 14px); }
.cards3 .slide-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
}
.photo-card { text-align: center; }
.photo-card__img {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-photo);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__label {
  margin-top: 18px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--teal);
}

/* single featured card per slide */
.carousel--single .carousel__slide { display: flex; justify-content: center; padding-inline: 10px; }
.carousel--single .photo-card { width: 100%; max-width: 430px; }
.carousel--single .carousel__viewport { overflow: hidden; padding-block: 8px; }

.carousel__arrows { display: contents; }
.carousel__btn {
  position: absolute;
  top: 38%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--sh-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  z-index: 5;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.carousel__btn:hover { background: var(--teal); color: #fff; transform: scale(1.08); }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }
.carousel__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.dots { display: flex; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--teal);
  transition: background .2s, transform .2s;
}
.dot.is-active { background: var(--teal); transform: scale(1.05); }

/* ====================================================================
   MORE FEATURES — calendar phone + display words
   ==================================================================== */
.feature__slide-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.feature__phone { justify-self: center; }
.feature__phone img {
  width: min(360px, 88%);
  filter: drop-shadow(0 36px 60px rgba(20,48,46,.22));
}
.feature__words {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.24;
  color: var(--teal);
}
.feature__words span { display: block; }
.feature__words .out { color: var(--teal); }
@supports (-webkit-text-stroke: 2px currentColor) {
  .feature__words .out {
    color: transparent;
    -webkit-text-stroke: 2px var(--teal);
    paint-order: stroke fill;
  }
}
.feature__stores { margin-top: clamp(28px, 4vw, 44px); }

/* ====================================================================
   PARTNERS marquee
   ==================================================================== */
.marquee {
  overflow: hidden;
  padding-block: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img {
  height: clamp(44px, 5vw, 68px);
  width: auto;
  object-fit: contain;
  opacity: .95;
  transition: opacity .25s ease, transform .25s ease;
}
.marquee img:hover { opacity: 1; transform: translateY(-2px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ====================================================================
   FOOTER (teal)
   ==================================================================== */
.footer {
  background: var(--teal);
  color: #fff;
  padding: clamp(24px, 3vw, 48px) 0 clamp(28px, 4vw, 48px);
  margin-top: 0;
}
.footer__main {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.footer__logo img { height: clamp(50px, 6vw, 72px); width: auto; }
.footer__cols {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
  flex-wrap: wrap;
}
.fcol { text-align: center; }
.fcol h4 {
  font-family: var(--f-script);
  font-weight: 400;
  color: #fff;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  margin-bottom: 12px;
}
.fcol a {
  display: block;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: .95rem;
  margin-bottom: 9px;
  opacity: .96;
  transition: opacity .2s;
}
.fcol a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__dl {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--teal);
  font-family: var(--f-script); font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  padding: .5em 1.5em;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 22px rgba(8,60,60,.2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.footer__dl:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8,60,60,.28); }
.footer__social { text-align: center; margin-top: clamp(40px, 6vw, 72px); }
.footer__follow { font-family: var(--f-script); color: #fff; font-size: clamp(1.3rem, 1.9vw, 1.7rem); margin-bottom: 16px; }
.socials { display: flex; justify-content: center; gap: 16px; }
.socials a {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.socials a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(8,60,60,.25); }
.socials svg { width: 22px; height: 22px; fill: var(--teal); }
.footer__copy { text-align: center; margin-top: clamp(30px, 4vw, 48px); font-size: .85rem; opacity: .82; }
.footer__lang { text-align: center; margin-top: 8px; font-family: var(--f-body); font-size: .9rem; display: flex; gap: 10px; justify-content: center; align-items: center; }
.footer__lang a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s ease; }
.footer__lang a:hover, .footer__lang a[aria-current] { color: #fff; font-weight: 600; }
.footer__lang span { color: rgba(255,255,255,.4); }

/* ====================================================================
   Reveal-on-scroll
   ==================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
  .footer__cols { grid-template-columns: 1fr 1fr 1fr; }
  .fcol--brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  :root { --nav-h: 64px; }
  /* inline 2-row nav (matches Figma mobile): logo + Télécharger on top, links below */
  .nav { background: var(--teal); height: auto; }
  .nav__inner { flex-wrap: wrap; padding-block: 12px; gap: 8px 12px; }
  .nav__logo { order: 1; }
  .nav__logo img { height: clamp(44px, 11vw, 56px); }
  .nav__cta { order: 2; margin-left: auto; gap: 10px; }
  .nav__menu { order: 3; flex-basis: 100%; display: block; }
  .nav__links { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(8px, 3vw, 20px); margin: 0; }
  .nav__links a { font-size: clamp(1rem, 4.2vw, 1.3rem); }
  .nav__links a::after { display: none; }
  .nav__burger { display: none; }
  .nav__scrim { display: none; }
  .nav__download { display: inline-flex; font-size: clamp(1.05rem, 4.2vw, 1.3rem); padding: .42em 1.2em; }
  .nav__lang { font-size: .78rem; }
  .nav__lang a { padding: 3px 7px; }
  .nav.is-stuck { background: var(--teal); box-shadow: 0 4px 16px rgba(8,50,50,.2); }
  .nav.is-stuck .nav__links a { color: #fff; text-shadow: 0 1px 3px rgba(8,50,50,.3); }
  .nav.is-stuck .nav__logo .logo-white { display: block; }
  .nav.is-stuck .nav__logo .logo-teal { display: none; }
  .nav.is-stuck .nav__download { background: #fff; color: var(--teal-700); }
  .hero { margin-top: 0; padding-top: clamp(20px, 5vw, 40px); }

  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions .stores { justify-content: center; }
  .hero__phones { margin-top: 22px; }
  .hero::before { font-size: 70vw; opacity: .5; }

  .connect__grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .connect__h { order: 1; }
  .connect__visual { order: 2; max-width: min(460px, 100%); }
  .connect__cap--tr { right: 0; }
  .connect__cap--bl { left: 0; }

  .cards3 .slide-inner { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .comm-row { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; gap: 26px; }
  .footer__main { align-items: center; justify-content: space-between; gap: 18px 20px; }
  .footer__logo { order: 1; }
  .footer__dl { order: 2; }
  .footer__cols { order: 3; flex-basis: 100%; flex-direction: column; align-items: center; gap: 22px; }
  .feature__slide-inner { grid-template-columns: 1fr; text-align: center; }
  .feature__stores { justify-content: center; display: flex; }

  /* carousel arrows pinned near the centered card */
  .carousel__btn { top: auto; bottom: -6px; }
  .carousel__btn--prev { left: calc(50% - 74px); }
  .carousel__btn--next { right: calc(50% - 74px); }
  .carousel--single { padding-bottom: 66px; }

  .band-cta { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .band-cta__right { align-items: center; }
  .band-cta h3 { text-align: center; }
  .slider { margin-inline: auto; }

}

@media (min-width: 881px) {
  .nav__menu { display: contents; }
  .nav__scrim { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__inner { gap: 14px; }
  .band-cta { text-align: center; }
  .stores { gap: 12px; justify-content: center; }
  .store-badge { min-width: 0; padding: 9px 13px; gap: 9px; }
  .store-badge svg { width: 22px; height: 26px; }
  .store-badge .sb-big { font-size: 1rem; }
  .steps { font-size: clamp(1.05rem, 4.4vw, 1.45rem); line-height: 1.32; }
  .hero__title { font-size: clamp(2.7rem, 12.5vw, 4rem); }
  .steps__badge { width: clamp(18px, 3.6vw, 28px); height: clamp(18px, 3.6vw, 28px); }
  .stats { flex-direction: column; align-items: center; gap: clamp(16px, 4.5vw, 28px); }
  .stat__num { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .stat__label { font-size: 1.05rem; }
  .feature__words { font-size: clamp(1.7rem, 8.5vw, 2.8rem); }
  .feature__words span { overflow-wrap: anywhere; }
  .verif-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .verif-row__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: clamp(26px, 9vw, 44px); animation: marquee 16s linear infinite; }
  .verif--dup { display: block; }
  .verif { width: 50px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track,
  .photo-marquee__track,
  .creator-marquee__track,
  .verif-row__track,
  .slider__hint,
  .slider__thumb { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .001ms !important; }
}

/* ====================================================================
   LEGAL PAGES (privacy / terms)
   ==================================================================== */
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--teal);
  padding: 16px 0;
  box-shadow: 0 4px 18px rgba(20,48,46,.12);
}
.legal-nav__inner {
  max-width: 880px; margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-nav img { height: 30px; width: auto; display: block; }
.legal-nav__links { display: flex; align-items: center; gap: clamp(12px, 3vw, 26px); }
.legal-nav__links a { color: #fff; font-weight: 600; font-size: .95rem; }
.legal-nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-nav__lang { display: inline-flex; border-radius: var(--r-pill); overflow: hidden; border: 2px solid rgba(255,255,255,.7); font-weight: 600; font-size: .8rem; }
.legal-nav__lang a { padding: 4px 10px; color: rgba(255,255,255,.9); }
.legal-nav__lang a.is-active { background: #fff; color: var(--teal); }

.legal { background: var(--cream); }
.legal__doc {
  max-width: 820px; margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 40px) clamp(60px, 8vw, 100px);
}
.legal__doc h1 {
  font-family: var(--f-display); font-weight: 800; color: var(--teal);
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -.01em;
}
.legal__updated { color: var(--muted); margin: 8px 0 28px; font-size: .92rem; }
.legal__intro { font-size: 1.05rem; }
.legal__doc h2 {
  font-family: var(--f-display); font-weight: 700; color: var(--teal);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem); margin: 38px 0 12px; scroll-margin-top: 84px;
}
.legal__doc h3 { font-weight: 700; color: var(--ink); font-size: 1.02rem; margin: 22px 0 8px; }
.legal__doc p, .legal__doc li { color: var(--ink-soft); line-height: 1.75; margin-bottom: 12px; }
.legal__doc ul { padding-left: 22px; list-style: disc; margin: 0 0 16px; }
.legal__doc li { margin-bottom: 6px; }
.legal__doc a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal__doc strong { color: var(--ink); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--teal); font-weight: 600; }
.legal__back:hover { text-decoration: underline; }
.legal-foot { background: var(--teal); color: #fff; text-align: center; padding: 28px 20px; font-size: .88rem; }
.legal-foot a { color: #fff; text-decoration: underline; }
.legal-foot .script { font-family: var(--f-script); font-size: 1.6rem; display: block; margin-bottom: 6px; }
