/* ==========================================================================
   Flushr — vitrine (flushr.be)
   Tokens repris tels quels du `tailwind.config` de la maquette, puis écrits à
   la main : pas de framework, pas de CDN, une seule feuille de style.
   ========================================================================== */

:root {
  --ink: #0B1A33;
  --ink-soft: #1F2D49;
  --ink-muted: #5B6781;
  --ink-dim: #8B95A8;

  --paper: #FBFCFE;
  --paper-cool: #F4F7FB;
  --paper-tint: #EEF4FC;
  --canvas: #F7FAFE;

  --line: #E6ECF3;
  --line-strong: #D4DCE7;

  --flush-50: #EEF5FF;
  --flush-100: #DCEAFE;
  --flush-200: #BAD3FD;
  --flush-300: #8BB4FB;
  --flush-400: #5A91F7;
  --flush-500: #2F73F1;
  --flush: #1759E0;
  --flush-700: #1247B5;
  --flush-navy: #0B2358;

  --good-50: #E8F8EE;
  --good-500: #1FA258;
  --good-600: #16864A;
  --warn-500: #F5A524;
  --rose-500: #E5484D;

  --shadow-chip: 0 1px 0 rgba(11, 26, 51, .04), 0 1px 3px rgba(11, 26, 51, .06);
  --shadow-card: 0 1px 2px rgba(11, 26, 51, .04), 0 8px 24px -8px rgba(11, 26, 51, .08);
  --shadow-lift: 0 4px 12px -2px rgba(11, 26, 51, .08), 0 24px 48px -16px rgba(11, 26, 51, .18);
  --shadow-phone: 0 12px 36px -8px rgba(11, 26, 51, .18), 0 60px 120px -30px rgba(23, 89, 224, .25);
  --shadow-sheet: 0 -8px 32px -8px rgba(11, 26, 51, .10);

  --r-lg: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-4xl: 32px;
  --r-full: 999px;

  --max: 1200px;
  --pad: 24px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.bg-grid {
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(47, 115, 241, .10), transparent 60%),
    radial-gradient(800px 500px at 0% 30%, rgba(186, 211, 253, .40), transparent 60%),
    linear-gradient(180deg, #F7FAFE 0%, #FFFFFF 100%);
}

/* ── typo ────────────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--flush);
}
.eyebrow--light { color: var(--flush-200); }

.display {
  font-size: clamp(38px, 7vw, 68px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.03em;
}
.h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.025em;
}
.lead { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.accent { color: var(--flush); }

/* ── boutons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding-inline: 24px;
  border: 1px solid transparent; border-radius: var(--r-2xl);
  font-size: 14px; font-weight: 700;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding-inline: 16px; border-radius: var(--r-full); font-size: 13.5px; font-weight: 600; }

.btn--primary { background: var(--flush); color: #fff; box-shadow: var(--shadow-card); }
.btn--primary:hover { background: var(--flush-700); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-chip); }
.btn--ghost:hover { background: var(--paper-cool); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--flush-navy); }

.btn--soft { background: rgba(255, 255, 255, .7); color: var(--ink-soft); border-color: var(--line); }
.btn--soft:hover { background: #fff; border-color: var(--line-strong); color: var(--ink); }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--flush-50); }

.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }

.icon {
  width: 18px; height: 18px; flex: none;
  /* Le sprite reprend les tracés de l'app : contour, pas d'aplat. */
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 14px; height: 14px; }

/* ── bandeau concours ────────────────────────────────────────────────────── */
.promo {
  display: block; background: var(--ink); color: #fff;
  transition: background-color .18s ease;
}
.promo:hover { background: var(--flush-navy); }
.promo__inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; padding-block: 10px;
  font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .9);
}
.promo strong { color: #fff; font-weight: 800; }
.promo__tag {
  display: inline-flex; align-items: center; height: 18px; padding-inline: 6px;
  border-radius: var(--r-full); background: var(--flush);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.promo__cta { color: var(--flush-200); display: inline-flex; align-items: center; gap: 4px; }

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 20px;
}
.nav__links { display: none; gap: 26px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__badge {
  display: inline-flex; align-items: center; height: 18px; padding-inline: 6px;
  border-radius: var(--r-full); background: var(--flush-50); border: 1px solid var(--flush-100);
  color: var(--flush); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.logo { height: 40px; width: auto; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { padding-block: 32px 64px; display: grid; gap: 40px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding-inline: 12px;
  border-radius: var(--r-full); background: var(--flush-50); border: 1px solid var(--flush-100);
  color: var(--flush); font-size: 12px; font-weight: 600;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good-500); }
.dot--pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.proof { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.proof__avatars { display: flex; }
.proof__avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--paper); margin-left: -8px;
}
.proof__avatars span:first-child { margin-left: 0; }
.proof__line { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.stars { display: inline-flex; gap: 1px; color: var(--warn-500); }

/* ── téléphone ───────────────────────────────────────────────────────────── */
.phone-wrap {
  position: relative; flex: none;
  width: calc(390px * var(--ps, 1));
  height: calc(820px * var(--ps, 1));
}
.phone {
  position: absolute; top: 0; left: 0;
  width: 390px; height: 820px;
  border-radius: 54px; background: #0B0F18; padding: 11px;
  box-shadow: var(--shadow-phone);
  transform: scale(var(--ps, 1));
  transform-origin: top left;
}
.phone__screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 44px; background: var(--paper);
  display: flex; flex-direction: column;
}
.phone__island {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 110px; height: 34px; border-radius: var(--r-full); background: #000; z-index: 3;
}
.phone__status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px 4px; font-size: 14px; font-weight: 600;
}
.phone__status-icons { display: flex; align-items: center; gap: 6px; color: var(--ink); }

.phone-scale { display: flex; justify-content: center; }
.phone-wrap--hero { --ps: .78; }
.phone-wrap--preview { --ps: .62; }

/* barre d'app dans le téléphone */
.appbar { padding: 8px 20px 12px; background: #fff; }
.appbar__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.appbar__tag { font-size: 10.5px; color: var(--ink-muted); padding-left: 8px; border-left: 1px solid var(--line); }
.appbar__menu, .appbar__filter {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--paper-cool); color: var(--ink-soft); border: 0;
}
.appbar__filter { background: #fff; border: 1px solid var(--line); }
.appbar__search {
  display: flex; align-items: center; gap: 8px; height: 36px; padding-inline: 12px;
  border-radius: var(--r-full); background: var(--paper-cool); border: 1px solid var(--line);
  color: var(--ink-dim); font-size: 11.5px; flex: 1;
}
.appbar__row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }

.phone__map { position: relative; flex: 1; overflow: hidden; }
.phone__map .map { position: absolute; inset: 0; }

.map-fab { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 2; }
.map-fab span {
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-card); color: var(--ink-soft);
}
.map-fab span:first-child { color: var(--flush); }

/* sheet « autour de vous » dans le téléphone */
.sheet {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  background: #fff; border-top: 1px solid var(--line);
  border-radius: var(--r-3xl) var(--r-3xl) 0 0;
  padding: 8px 0 16px; box-shadow: var(--shadow-sheet);
}
.sheet__grab { width: 40px; height: 6px; border-radius: 3px; background: var(--line-strong); margin: 0 auto 8px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding-inline: 20px; }
.sheet__title { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.sheet__sub { font-size: 10.5px; color: var(--ink-muted); }
.sheet__link {
  height: 28px; padding-inline: 12px; border-radius: var(--r-full);
  background: var(--flush-50); border: 1px solid var(--flush-100);
  color: var(--flush); font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center;
}
.sheet__cards { display: flex; gap: 8px; padding: 10px 20px 0; overflow: hidden; }

.minicard { width: 148px; flex: none; border: 1px solid var(--line); border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-chip); }
.minicard__img { position: relative; height: 88px; background: var(--paper-cool); }
.minicard__img img { width: 100%; height: 100%; object-fit: cover; }
.minicard__badge {
  position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: var(--r-full);
  background: var(--flush); color: #fff; font-size: 9.5px; font-weight: 600;
}
.minicard__body { padding: 8px; }
.minicard__name { font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.minicard__area { font-size: 9.5px; color: var(--ink-dim); }
.minicard__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; color: var(--flush); }
.minicard__rate { display: inline-flex; align-items: center; gap: 2px; font-size: 10px; font-weight: 700; color: var(--ink); }

/* ── stats ───────────────────────────────────────────────────────────────── */
.stats { padding-bottom: 48px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.stat { position: relative; border-radius: var(--r-3xl); padding: 20px; overflow: hidden; }
.stat--tint { background: var(--flush-50); border: 1px solid var(--flush-100); }
.stat--white { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-chip); }
.stat--cool { background: var(--paper-cool); border: 1px solid var(--line); }
.stat--ink { background: var(--ink); color: #fff; }
.stat__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stat__icon {
  width: 36px; height: 36px; border-radius: var(--r-2xl);
  display: grid; place-items: center; background: #fff; border: 1px solid var(--flush-200);
  color: var(--flush); box-shadow: var(--shadow-chip);
}
.stat--white .stat__icon { background: rgba(245, 165, 36, .1); border-color: rgba(245, 165, 36, .2); color: var(--warn-500); }
.stat--cool .stat__icon { border-color: var(--line); color: var(--ink-soft); }
.stat--ink .stat__icon { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .15); color: #fff; }
.stat__tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(23, 89, 224, .8); }
.stat--cool .stat__tag { color: var(--ink-dim); }
.stat--ink .stat__tag { color: rgba(255, 255, 255, .6); }
.stat__value { font-size: clamp(38px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat__value sup { font-size: 16px; font-weight: 700; color: var(--ink-dim); vertical-align: baseline; }
.stat--ink .stat__value em { font-style: normal; color: var(--flush-300); }
.stat__label { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.stat--ink .stat__label { color: rgba(255, 255, 255, .7); }
.stat__equips { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--ink-dim); }
.stat__equips i {
  width: 24px; height: 24px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
}
.stat__deco { position: absolute; right: -12px; bottom: -12px; opacity: .6; }

/* ── sections ────────────────────────────────────────────────────────────── */
.section { padding-block: 64px; }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head .h2 { margin-top: 12px; }
.section__head .lead { margin-top: 16px; }

/* ── cartes fonctionnalités ──────────────────────────────────────────────── */
.features { display: grid; gap: 16px; }
.feature-row { display: grid; gap: 16px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-3xl);
  padding: 24px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 20px;
}
.card__icon {
  width: 44px; height: 44px; border-radius: var(--r-2xl); display: grid; place-items: center;
  background: var(--flush-50); color: var(--flush);
}
.card__icon--accent { background: var(--flush); color: #fff; }
.card__icon--warn { color: var(--warn-500); }
.card__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.card__desc { font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); max-width: 420px; }
.card__body { margin-top: auto; }

/* démo carte + filtres */
.demo-map {
  position: relative; min-height: 300px; flex: 1;
  border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--line);
  background: #E6EAF0;
}
.demo-map .map { position: absolute; inset: 0; }
.demo-map__chip {
  position: absolute; top: 12px; height: 32px; padding-inline: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-full);
  box-shadow: var(--shadow-card); font-size: 11.5px; font-weight: 600;
}
.demo-map__chip--left { left: 12px; }
.demo-map__chip--right { right: 12px; padding-inline: 10px; }
.demo-map__count {
  min-width: 20px; height: 20px; padding-inline: 6px; border-radius: var(--r-full);
  background: var(--flush); color: #fff; font-size: 10.5px; font-weight: 700;
  display: inline-grid; place-items: center;
}
.demo-map__empty {
  position: absolute; inset-inline: 16px; bottom: 16px;
  display: none; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl);
  padding: 10px 14px; box-shadow: var(--shadow-card);
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.demo-map__empty.is-visible { display: flex; }
.demo-map__empty i {
  width: 28px; height: 28px; border-radius: 10px; flex: none;
  background: rgba(245, 165, 36, .15); color: var(--warn-500); display: grid; place-items: center;
}

.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); box-shadow: var(--shadow-card); overflow: hidden; }
.filters__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 10px; border-bottom: 1px solid var(--line);
}
.filters__title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: -.02em; }
.filters__count {
  min-width: 20px; height: 20px; padding-inline: 6px; border-radius: var(--r-full);
  background: var(--flush); color: #fff; font-size: 10.5px; font-weight: 700;
  display: inline-grid; place-items: center;
}
.filters__reset { background: none; border: 0; font-size: 11.5px; font-weight: 600; color: var(--ink-muted); }
.filters__reset:hover { color: var(--flush); }
.filters__group { padding: 12px 16px 0; }
.filters__label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dim); margin-bottom: 8px; }
.filters__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding-inline: 10px;
  border-radius: var(--r-full); border: 1px solid var(--line); background: var(--paper-cool);
  color: var(--ink-soft); font-size: 12px; font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { box-shadow: var(--shadow-chip); }
.chip[aria-pressed="true"][data-tone="good"] { background: var(--good-50); color: var(--good-600); border-color: rgba(31, 162, 88, .3); }
.chip[aria-pressed="true"][data-tone="flush"] { background: var(--flush-50); color: var(--flush); border-color: var(--flush-300); }
.chip[aria-pressed="true"][data-tone="rose"] { background: rgba(229, 72, 77, .1); color: var(--rose-500); border-color: rgba(229, 72, 77, .3); }
.chip[aria-pressed="true"][data-tone="navy"] { background: rgba(11, 35, 88, .1); color: var(--flush-navy); border-color: rgba(11, 35, 88, .25); }

.switchrow {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding-block: 8px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left;
}
.switchrow:last-of-type { border-bottom: 0; }
.switchrow__icon {
  width: 36px; height: 36px; border-radius: var(--r-lg); flex: none; display: grid; place-items: center;
  background: var(--paper-cool); border: 1px solid var(--line); color: var(--ink-soft);
  transition: background-color .15s ease, color .15s ease;
}
.switchrow[aria-pressed="true"] .switchrow__icon { background: var(--flush); border-color: var(--flush); color: #fff; }
.switchrow__text { flex: 1; min-width: 0; }
.switchrow__text b { display: block; font-size: 12.5px; font-weight: 600; }
.switchrow__text span { display: block; font-size: 11px; color: var(--ink-dim); }
.switchrow__toggle {
  width: 36px; height: 20px; border-radius: var(--r-full); background: var(--line);
  padding: 2px; flex: none; transition: background-color .15s ease;
}
.switchrow__toggle i { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); transition: transform .15s ease; }
.switchrow[aria-pressed="true"] .switchrow__toggle { background: var(--flush); }
.switchrow[aria-pressed="true"] .switchrow__toggle i { transform: translateX(16px); }

.filters__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 16px 12px; margin-top: 8px;
  border-top: 1px solid var(--line); background: rgba(244, 247, 251, .6);
}
.filters__result b { display: block; font-size: 14px; font-weight: 800; line-height: 1; }
.filters__result span { font-size: 11.5px; color: var(--ink-dim); }

/* minis des trois autres cartes */
.mini { background: var(--paper-cool); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 16px; }
.mini__score { display: flex; align-items: center; gap: 8px; }
.mini__score b { font-size: 28px; font-weight: 800; line-height: 1; }
.bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.bar span:first-child { width: 80px; font-size: 11px; font-weight: 500; color: var(--ink-soft); }
.bar__track { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar__fill { display: block; height: 100%; background: var(--flush); }
.bar b { font-size: 11px; font-weight: 600; }

.report { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 12px; }
.report + .report { margin-top: 8px; }
.report i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.report i[data-tone="rose"] { background: rgba(229, 72, 77, .1); color: var(--rose-500); }
.report i[data-tone="warn"] { background: rgba(245, 165, 36, .15); color: var(--warn-500); }
.report i[data-tone="good"] { background: var(--good-50); color: var(--good-600); }
.report b { flex: 1; font-size: 12.5px; font-weight: 600; }
.report span { font-size: 10.5px; color: var(--ink-dim); }

.addrow { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; }
.addrow__icon { width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--flush-50); color: var(--flush); display: grid; place-items: center; flex: none; }
.addrow__text { flex: 1; }
.addrow__text b { display: block; font-size: 13px; font-weight: 700; }
.addrow__text span { font-size: 11px; color: var(--ink-dim); }
.addrow__cta { height: 32px; padding-inline: 12px; border-radius: var(--r-full); background: var(--flush); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.addgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.addgrid div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px; text-align: center; color: var(--flush); }
.addgrid span { display: block; margin-top: 4px; font-size: 9.5px; font-weight: 600; color: var(--ink-soft); }

/* ── audience ────────────────────────────────────────────────────────────── */
.audience { background: var(--flush-navy); color: #fff; }
.audience__inner { display: grid; gap: 40px; padding-block: 72px; }
.audience .lead { color: rgba(220, 234, 254, .9); max-width: 460px; }
.audience__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.acard {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-2xl); padding: 16px; transition: background-color .18s ease;
}
.acard:hover { background: rgba(255, 255, 255, .1); }
.acard i {
  width: 40px; height: 40px; border-radius: var(--r-lg); display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); color: var(--flush-100);
}
.acard b { display: block; margin-top: 12px; font-size: 15px; font-weight: 700; }
.acard p { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: rgba(220, 234, 254, .8); }

/* ── aperçu ──────────────────────────────────────────────────────────────── */
.preview__frame {
  border-radius: 40px; background: var(--paper-cool); border: 1px solid var(--line);
  padding: 24px; overflow: hidden;
}
.preview__row { display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* écran « fiche » du téléphone */
.detail__hero { position: relative; height: 230px; margin: 12px 12px 0; border-radius: 24px; overflow: hidden; }
.detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.detail__actions { position: absolute; inset: 12px 12px auto; display: flex; justify-content: space-between; }
.detail__actions span { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; box-shadow: var(--shadow-card); }
.detail__actions span[data-fav] { background: var(--rose-500); color: #fff; }
.detail__body { padding: 16px 20px; }
.detail__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.detail__addr { font-size: 11.5px; color: var(--ink-muted); }
.detail__open { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 2px 6px; border-radius: var(--r-full); background: var(--good-50); color: var(--good-600); font-size: 10.5px; font-weight: 600; }
.detail__go { padding: 6px 10px; border-radius: var(--r-2xl); background: var(--flush); color: #fff; text-align: center; min-width: 88px; }
.detail__go b { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11px; }
.detail__go span { font-size: 9.5px; opacity: .9; }
.detail__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--r-full); font-size: 10.5px; font-weight: 600; background: var(--flush-50); color: var(--flush); border: 1px solid var(--flush-100); }
.tag--good { background: var(--good-50); color: var(--good-600); border-color: rgba(31, 162, 88, .2); }
.detail__rate { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.detail__rate b { font-size: 20px; font-weight: 800; line-height: 1; }
.detail__equips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; margin-top: 12px; }
.detail__equips div { text-align: center; }
.detail__equips i { width: 36px; height: 36px; margin: 0 auto; border-radius: var(--r-2xl); background: var(--flush-50); color: var(--flush); display: grid; place-items: center; }
.detail__equips span { display: block; margin-top: 4px; font-size: 9px; font-weight: 600; color: var(--ink-soft); }

/* écran « liste » du téléphone */
.listscreen { background: var(--paper); flex: 1; display: flex; flex-direction: column; }
.listscreen__head { padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.listscreen__head-row { display: flex; align-items: center; justify-content: space-between; }
.listscreen__head-row b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.listscreen__head-row span { font-size: 11px; color: var(--ink-muted); }
.listrow { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-chip); }
.listrow + .listrow { margin-top: 10px; }
.listrow__img { width: 80px; flex: none; background: var(--paper-cool); }
.listrow__img img { width: 100%; height: 100%; object-fit: cover; }
.listrow__body { flex: 1; min-width: 0; padding: 10px; }
.listrow__name { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listrow__addr { font-size: 10px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listrow__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.listrow__open { padding: 2px 6px; border-radius: var(--r-full); background: var(--good-50); color: var(--good-600); font-size: 9.5px; font-weight: 600; }
.listrow__rate { display: inline-flex; align-items: center; gap: 2px; font-size: 10px; font-weight: 600; color: var(--ink-soft); }

/* ── CTA final ───────────────────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  border-radius: 36px; background: var(--flush); color: #fff; padding: 40px;
}
.cta .h2 { max-width: 640px; }
.cta p { margin-top: 16px; max-width: 520px; font-size: 15.5px; line-height: 1.65; color: rgba(220, 234, 254, .9); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta__logo { position: absolute; right: 0; bottom: 0; opacity: .2; width: 220px; pointer-events: none; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.footer { padding-block: 40px 64px; }
.footer__inner {
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-dim); }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.footer__links a:hover { color: var(--ink); }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .stats__grid { gap: 16px; }
}

@media (min-width: 768px) {
  .hero { grid-template-columns: 7fr 5fr; padding-block: 48px 96px; }
  .section { padding-block: 96px; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .feature-row { grid-template-columns: repeat(3, 1fr); }
  .features__duo { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
  .audience__inner { grid-template-columns: 5fr 7fr; padding-block: 112px; }
  .audience__grid { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 32px; }
  .cta { padding: 64px; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .preview__frame { padding: 48px; }
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
}

/* Les maquettes de téléphone sont figées à 390 px : seule l'échelle change. */
@media (min-width: 1024px) { .phone-wrap--hero { --ps: 1; } }
@media (max-width: 420px)  { .phone-wrap--hero { --ps: .62; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ── téléphones de la section « aperçu » ─────────────────────────────────── */
@media (min-width: 768px) {
  .phone-wrap--preview { --ps: .58; }
  .phone-wrap--preview.is-tall { --ps: .64; }
}
@media (min-width: 1024px) {
  .phone-wrap--preview { --ps: .66; }
  .phone-wrap--preview.is-tall { --ps: .72; }
}
