/* =========================================================
   aCRO-EC — Landing page
   Design moderne, thème sombre, couleurs de marque rouge + jaune
   ========================================================= */

:root {
  /* Couleurs de marque (communes aux deux thèmes) */
  --red:        #ED1846;
  --red-soft:   #ff3a64;
  --red-deep:   #b80f33;
  --yellow:     #F4B821;
  --yellow-soft:#ffd45e;

  --radius:     22px;
  --radius-sm:  14px;
  --maxw:       1180px;
  --ease:       cubic-bezier(.22,.61,.36,1);

  /* Dégradé signature rouge → jaune (fil conducteur de la marque) */
  --grad: linear-gradient(100deg, var(--red) 30%, #f4791f 70%, var(--yellow));

  /* Teintes d'ambiance par défaut (la slide active les surcharge) */
  --amb-1: 237, 24, 70;     /* rouge */
  --amb-2: 244, 184, 33;    /* jaune */
  --amb-x1: 78%;  --amb-y1: 28%;
  --amb-x2: 16%;  --amb-y2: 82%;
}

/* ===== Thème SOMBRE (premium, défaut) ===== */
:root, :root[data-theme="dark"] {
  --bg:         #0c0d12;
  --bg-2:       #14151c;
  --surface:    #1a1c25;
  --surface-2:  #222431;
  --border:     rgba(255,255,255,.10);
  --border-2:   rgba(255,255,255,.16);

  --text:       #f4f5f8;
  --text-dim:   #aeb2c2;
  --text-faint: #767b8e;

  --shadow:     0 30px 80px -20px rgba(0,0,0,.7);
  --shadow-red: 0 24px 70px -16px rgba(237,24,70,.55);

  /* voile appliqué par-dessus l'ambiance colorée (RGB du --bg) */
  --veil:       12, 13, 18;
  --amb-opacity: .55;
  --veil-core:  .55;   /* opacité du voile au centre (multi/download) */
  --header-bg:  rgba(12,13,18,.72);
  --dot:        rgba(255,255,255,.28);
  --dot-hover:  rgba(255,255,255,.6);
}

/* ===== Thème CLAIR (blanc cassé + vague jaune/rouge plus présente) ===== */
:root[data-theme="light"] {
  --bg:         #fbf7f4;
  --bg-2:       #f4eee9;
  --surface:    #ffffff;
  --surface-2:  #f3ece6;
  --border:     rgba(20,16,14,.10);
  --border-2:   rgba(20,16,14,.16);

  --text:       #1a1410;
  --text-dim:   #5c5650;
  --text-faint: #8a847d;

  --shadow:     0 30px 70px -24px rgba(120,30,40,.30);
  --shadow-red: 0 24px 60px -16px rgba(237,24,70,.40);

  --veil:       251, 247, 244;   /* RGB du --bg clair */
  --amb-opacity: .26;            /* halos plus discrets en clair pour préserver la lisibilité */
  --veil-core:  .78;             /* voile central plus dense en clair (contenu lisible) */
  --header-bg:  rgba(251,247,244,.82);
  --dot:        rgba(26,20,16,.30);
  --dot-hover:  rgba(26,20,16,.6);
}

/* transition douce lors du changement de thème */
.theme-anim, .theme-anim * {
  transition: background-color .5s var(--ease), color .5s var(--ease),
              border-color .5s var(--ease), box-shadow .5s var(--ease) !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--red); color: #fff; }

/* =========================================================
   Fond d'ambiance coloré, évolue selon la slide active
   ========================================================= */
.ambient {
  position: fixed; inset: 0;
  z-index: -1;
  background: var(--bg);
  overflow: hidden;
}
.ambient__blob {
  position: absolute;
  width: 75vmax; height: 75vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: var(--amb-opacity, .55);
  will-change: transform, background, left, top;
  transition:
    background 1.1s var(--ease),
    left 1.4s var(--ease),
    top 1.4s var(--ease),
    opacity 1.1s var(--ease);
}
.ambient__blob--1 {
  left: var(--amb-x1); top: var(--amb-y1);
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(var(--amb-1), .9), rgba(var(--amb-1), 0) 62%);
}
.ambient__blob--2 {
  left: var(--amb-x2); top: var(--amb-y2);
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(var(--amb-2), .7), rgba(var(--amb-2), 0) 62%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(-50%,-50%) scale(1); }
  to   { transform: translate(-42%,-58%) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .ambient__blob { animation: none; transition: background 1.1s var(--ease), opacity 1.1s var(--ease); }
}

/* ===== Scroll snap container ===== */
.snap {
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.snap::-webkit-scrollbar { display: none; }

/* Mode audit : permet une capture pleine page fidèle */
.audit, .audit body { height: auto; overflow: visible; }
.audit .snap { height: auto; min-height: 0; overflow: visible; scroll-snap-type: none; }
.audit .slide { min-height: 760px; }
.audit .dots, .audit .scroll-hint { display: none; }

.slide {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 10vh, 8rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 7vh, 5rem);
  overflow: hidden;
}
.slide__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.brand__logo { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: .4rem; }
.nav__social {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--text-dim);
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.nav__social:hover { color: var(--text); background: var(--surface-2); transform: translateY(-2px); }

/* Bouton bascule de thème */
.theme-toggle {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-2px); }
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
:root[data-theme="light"] .theme-toggle__sun { display: block; }
:root[data-theme="light"] .theme-toggle__moon { display: none; }

/* Logos qui basculent selon le thème (blanc en sombre, rouge en clair) */
.brand__logo--light { display: none; }
.brand__logo--dark  { display: block; }
:root[data-theme="light"] .brand__logo--light { display: block; }
:root[data-theme="light"] .brand__logo--dark  { display: none; }
.nav__cta {
  margin-left: .5rem;
  padding: .6rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 24px -6px rgba(237,24,70,.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); background: var(--red-soft); box-shadow: 0 12px 30px -6px rgba(237,24,70,.75); }

/* =========================================================
   Pagination dots + progress
   ========================================================= */
.dots {
  position: fixed;
  right: clamp(.75rem, 2vw, 1.6rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dots__dot {
  position: relative;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--dot);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.dots__dot::after {
  content: attr(data-label);
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: .25rem .55rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dots__dot:hover { background: var(--dot-hover); }
.dots__dot:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.dots__dot.active { background: var(--red); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(237,24,70,.2); }

.progress {
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 3px;
  z-index: 60;
  background: transparent;
}
.progress__bar {
  display: block; height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transition: width .15s linear;
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: .05s;
}
.reveal[data-delay="1"] { transition-delay: .2s; }
.reveal[data-delay="2"] { transition-delay: .35s; }
.is-visible .reveal,
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html, .snap { scroll-behavior: auto; }
}

/* =========================================================
   Typographie commune
   ========================================================= */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
  padding-left: 1.6rem;
  position: relative;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1.1rem; height: 2px; transform: translateY(-50%);
  background: var(--red); border-radius: 2px;
}
/* Mot-clé en dégradé signature rouge → jaune */
.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-light { color: var(--yellow); }

h1, h2 { line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }

.badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red-soft);
  background: rgba(237,24,70,.12);
  border: 1px solid rgba(237,24,70,.3);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.badge--light { color: var(--yellow); background: rgba(244,184,33,.12); border-color: rgba(244,184,33,.35); }

/* =========================================================
   Boutons stores
   ========================================================= */
.store-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.store-buttons--center { justify-content: center; }

.store-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .7rem 1.3rem;
  border-radius: 14px;
  background: #fff; color: #0c0d12;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.8);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -18px rgba(0,0,0,.9); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: .66rem; opacity: .7; font-weight: 500; }
.store-btn strong { font-size: 1.02rem; font-weight: 700; }
.store-btn--light { background: var(--surface); color: var(--text); border-color: var(--border-2); backdrop-filter: blur(6px); }
.store-btn--light small { opacity: .65; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn--primary {
  background: var(--red); color: #fff;
  box-shadow: 0 14px 34px -10px rgba(237,24,70,.7);
}
.btn--primary:hover { transform: translateY(-3px); background: var(--red-soft); box-shadow: 0 20px 44px -10px rgba(237,24,70,.85); }
.btn--primary svg { transition: transform .25s var(--ease); }
.btn--primary:hover svg { transform: translate(2px,-2px); }

/* =========================================================
   Phone mockup (CSS frame)
   ========================================================= */
.phone {
  position: relative;
  width: clamp(240px, 26vw, 310px);
  aspect-ratio: 1290 / 2796;
  background: #05060a;
  border-radius: 44px;
  padding: 11px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.06),
    var(--shadow);
  flex-shrink: 0;
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 26px;
  background: #05060a;
  border-radius: 999px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
  display: block;
}
.phone__screen--cover { object-fit: cover; object-position: center; }

.phone--hero {
  width: clamp(260px, 30vw, 340px);
  transform: rotate(2deg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: rotate(2deg) translateY(0); }
  50%     { transform: rotate(2deg) translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .phone--hero { animation: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero__bg {
  position: absolute; inset: 0;
  /* voile sombre pour garder le texte lisible par-dessus l'ambiance colorée */
  background:
    linear-gradient(100deg, rgba(var(--veil),.92) 30%, rgba(var(--veil),.45) 70%, rgba(var(--veil),.2));
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero__title {
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  margin-bottom: 1.4rem;
}
.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-dim);
  max-width: 34rem;
}
.hero__lead strong { color: var(--text); }
.hero__meta { margin-top: 1rem; font-size: .85rem; color: var(--text-faint); letter-spacing: .03em; }

.hero__phone { position: relative; display: grid; place-items: center; }
.hero__glow {
  position: absolute; width: 120%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(237,24,70,.4), transparent 62%);
  filter: blur(20px);
  z-index: 0;
}
.hero__phone .phone { z-index: 2; }

/* ---- Splash animé dans le mockup (reproduit l'intro de l'app) ---- */
.splash {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  background:
    radial-gradient(120% 90% at 50% 35%, #f3294f 0%, var(--red) 45%, var(--red-deep) 100%);
  overflow: hidden;
  text-align: center;
  padding: 2rem 1.4rem;
}
.splash::before {            /* halo lumineux qui pulse derrière le logo */
  content: ""; position: absolute;
  width: 150%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 60%);
  animation: splashPulse 4s ease-in-out infinite;
}
.splash__logo {
  position: relative;
  width: 72%;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.25));
  animation: splashLogo 1.2s var(--ease) both;
}
.splash__tagline {
  position: relative;
  color: var(--yellow-soft);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(.72rem, 1.1vw, .9rem);
  line-height: 1.35;
  letter-spacing: .01em;
  animation: splashFade 1.2s var(--ease) .35s both;
}
.splash__by {
  position: absolute;
  bottom: 6%; left: 50%; transform: translateX(-50%);
  display: inline-block;
  font-size: .62rem; font-weight: 700; letter-spacing: .12em;
  color: var(--red-deep);
  background: #fff;
  padding: .3rem .7rem; border-radius: 999px;
  animation: splashFade 1.2s var(--ease) .6s both;
}
@keyframes splashLogo {
  0%   { opacity: 0; transform: scale(.7); }
  60%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes splashFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes splashPulse {
  0%,100% { transform: scale(.85); opacity: .55; }
  50%     { transform: scale(1.05); opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .splash__logo, .splash__tagline, .splash__by { animation: none; opacity: 1; transform: none; }
  .splash::before { animation: none; }
}

.scroll-hint {
  position: absolute;
  bottom: clamp(1.2rem, 4vh, 2.5rem); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-faint);
  z-index: 3;
}
.scroll-hint svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =========================================================
   FEATURE slides
   ========================================================= */
/* Voile dégradé : assombrit le côté texte, laisse l'ambiance transparaître côté mockup */
.feature { background:
  linear-gradient(90deg, rgba(var(--veil),.9) 35%, rgba(var(--veil),.35) 75%, rgba(var(--veil),.15));
}
.feature .feature__inner--reverse { } /* le sens du voile suit l'ordre via le sélecteur ci-dessous */
#categories, #favoris { background:
  linear-gradient(270deg, rgba(var(--veil),.9) 35%, rgba(var(--veil),.35) 75%, rgba(var(--veil),.15));
}
.feature__inner {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) 1.1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.feature__inner--reverse { grid-template-columns: 1.1fr minmax(260px, .9fr); }
.feature__inner .phone { justify-self: center; }
.feature__inner h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); margin-bottom: 1.1rem; }
.feature__text p { color: var(--text-dim); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 32rem; }
.feature__text strong { color: var(--text); }

.check-list { list-style: none; margin-top: 1.6rem; display: grid; gap: .85rem; }
.check-list li {
  position: relative; padding-left: 2.1rem;
  color: var(--text); font-weight: 500;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(237,24,70,.15);
  border: 1px solid rgba(237,24,70,.4);
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: 8px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--red-soft);
  border-bottom: 2px solid var(--red-soft);
  transform: rotate(-45deg);
}

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.chip svg { color: var(--red-soft); flex-shrink: 0; }
.chip:hover { transform: translateY(-2px); border-color: rgba(237,24,70,.5); background: var(--surface-2); }
.chip:hover svg { color: var(--yellow); }

/* =========================================================
   MULTI-ECRANS / WebApp
   ========================================================= */
.multi { background: transparent; }
.multi__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 50%, rgba(var(--veil),var(--veil-core)), rgba(var(--veil),.92) 80%);
}
.multi__inner { position: relative; z-index: 2; text-align: center; }
.multi__head { max-width: 40rem; margin: 0 auto 2.6rem; }
.multi__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.multi__lead { color: var(--text-dim); margin-bottom: 1.6rem; }
.multi__lead strong { color: var(--text); }

.devices {
  position: relative;
  display: grid; place-items: center;
  margin-top: 1rem;
}
.browser {
  width: min(760px, 88vw);
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.browser:hover { transform: translateY(-6px); box-shadow: 0 40px 90px -20px rgba(0,0,0,.8); }
.browser__bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem .9rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.browser__dot { width: 11px; height: 11px; border-radius: 50%; background: #43465a; }
.browser__dot:nth-child(1) { background: #ff5f57; }
.browser__dot:nth-child(2) { background: #febc2e; }
.browser__dot:nth-child(3) { background: #28c840; }
.browser__url {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 auto;
  font-size: .8rem; color: var(--text-dim);
  background: var(--bg-2);
  padding: .3rem 1rem; border-radius: 999px;
  border: 1px solid var(--border);
}
.browser__body { position: relative; background: #0c0d12; line-height: 0; }
.browser__screen { width: 100%; height: auto; display: block; }

.phone--float {
  position: absolute;
  right: clamp(-8px, -1vw, 0px);
  bottom: -7%;
  width: clamp(120px, 16vw, 188px);
  transform: rotate(-4deg);
  z-index: 3;
  /* iPhone plus petit → cadre et coins plus fins, plus réalistes */
  border-radius: 26px;
  padding: 7px;
  box-shadow: -10px 30px 70px -18px rgba(0,0,0,.85), 0 0 0 2px rgba(255,255,255,.06);
}
.phone--float .phone__screen { border-radius: 19px; }
.phone--float .phone__notch { top: 11px; height: 15px; width: 34%; }

/* =========================================================
   DOWNLOAD / Footer
   ========================================================= */
.download { background:
  radial-gradient(75% 70% at 50% 45%, rgba(var(--veil),var(--veil-core)), rgba(var(--veil),.94) 80%);
}
.download__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 2.5rem; text-align: center;
}
.download__card {
  max-width: 38rem;
  display: flex; flex-direction: column; align-items: center;
}
.download__logo { height: 40px; width: auto; margin-bottom: 1.6rem; }

/* Icône d'app (comble l'espace entre le lien web et le footer) */
.download__appicon {
  display: grid; place-items: center;
  margin: clamp(1.5rem, 5vh, 3rem) auto;
}
.download__appicon img {
  width: clamp(72px, 12vw, 92px); height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 50px -12px rgba(237,24,70,.55), 0 0 0 1px rgba(255,255,255,.06);
  animation: floaty 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .download__appicon img { animation: none; }
}
.download__card h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1rem; }
.download__card > p { color: var(--text-dim); margin-bottom: .5rem; max-width: 32rem; }
.webapp-link {
  margin-top: 1.4rem; font-weight: 600; color: var(--yellow);
  border-bottom: 1px solid transparent; transition: border-color .25s var(--ease);
}
.webapp-link:hover { border-bottom-color: var(--yellow); }

.footer {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
  width: min(100%, 40rem);
}
.footer__social { display: flex; gap: .5rem; }
.footer__social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; color: var(--text-dim);
  background: var(--surface); border: 1px solid var(--border);
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover { color: #fff; background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.footer__legal { font-size: .82rem; color: var(--text-faint); }
.footer__legal a { color: var(--text-dim); border-bottom: 1px solid transparent; }
.footer__legal a:hover { color: var(--text); border-bottom-color: var(--text-dim); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .dots { display: none; }
  .snap { scroll-snap-type: none; }            /* scroll naturel sur mobile */
  .slide { min-height: auto; padding-top: 6.5rem; padding-bottom: 4rem; }
  .hero { min-height: 100dvh; }
  /* la dernière slide remplit l'écran : contenu en haut, footer collé en bas */
  .download { min-height: 100dvh; }
  .download__inner {
    min-height: calc(100dvh - 10.5rem);
    justify-content: space-between;
  }

  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero__inner .eyebrow { padding-left: 0; }
  .hero__inner .eyebrow::before { display: none; }
  .hero__lead { margin-inline: auto; }
  .store-buttons { justify-content: center; }
  .hero__phone { order: -1; }
  .phone--hero { width: clamp(220px, 60vw, 280px); }
  .scroll-hint { display: none; }

  .feature__inner,
  .feature__inner--reverse { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .feature__inner .phone { order: -1; }
  .feature__text p { margin-inline: auto; }
  .check-list { display: inline-grid; text-align: left; }
  .chips { justify-content: center; }

  .phone--float { width: clamp(96px, 30vw, 140px); right: -4px; bottom: -10%; }
}

@media (max-width: 560px) {
  .nav__social { width: 36px; height: 36px; }
  .nav__cta { padding: .5rem 1rem; font-size: .85rem; }
  .brand__logo { height: 26px; }
  .store-btn { padding: .65rem 1rem; }
  .phone--float { display: none; }   /* on garde juste le navigateur, plus lisible */
}

/* =========================================================
   Pages légales (mentions, confidentialité) + 404
   ========================================================= */
.legal-page, .error-page { overflow-y: auto; height: auto; }

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(7rem, 14vh, 9rem) clamp(1.25rem, 5vw, 2rem) 5rem;
}
.legal__inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -.02em;
  margin: .4rem 0 .25rem;
}
.legal__updated { color: var(--text-faint); font-size: .9rem; margin-bottom: 2.4rem; }
.legal section { margin-bottom: 2.2rem; }
.legal h2 {
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: .6rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red);
}
.legal p { color: var(--text-dim); margin-bottom: .7rem; }
.legal strong { color: var(--text); }
.legal a { color: var(--red-soft); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.legal a:hover { border-bottom-color: var(--red-soft); }
.legal__list { margin: .4rem 0 .8rem 1.2rem; color: var(--text-dim); }
.legal__list li { margin-bottom: .4rem; }
.legal__back { margin-top: 2.5rem; }

/* 404 */
.error {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center;
  padding: 6rem 1.5rem 4rem; text-align: center;
}
.error__inner { max-width: 34rem; }
.error__logo { height: 38px; width: auto; margin: 0 auto 2rem; }
.error__code {
  font-size: clamp(4.5rem, 16vw, 8rem);
  font-weight: 800; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--red), var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .5rem;
}
.error h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 1rem; }
.error__lead { color: var(--text-dim); margin-bottom: 2rem; }

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--red); }
