/* ============================================================
   The Regular — site vitrine
   Palette reprise du thème de l'app mobile (apps/client/src/theme.ts)
   ============================================================ */

:root {
  --primary: #B5452F;
  --primary-dark: #8F3424;
  --bg: #FAF6F1;
  --card: #FFFFFF;
  --text: #241B16;
  --text-muted: #8A7E76;
  --border: #E8DFD7;
  --success: #2E7D4F;
  --success-bg: #E8F4EC;
  --dark: #241B16;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-brand: "Poppins", "Inter", system-ui, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(36, 27, 22, 0.08);
  --shadow-lg: 0 20px 60px rgba(36, 27, 22, 0.16);
}

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

html { scroll-behavior: smooth; }

/* Les cibles d'ancres s'arrêtent sous la barre de navigation sticky */
[id] { scroll-margin-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.container--narrow { width: min(780px, 100% - 2.5rem); }

.accent { color: var(--primary); }

/* ---------- Icônes (SVG en lignes, inspirées d'Ionicons — comme l'app) ---------- */

.ico {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(181, 69, 47, 0.35);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.92rem; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.3rem;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow);
}

.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.store-btn small { display: block; font-size: 0.68rem; opacity: 0.75; line-height: 1.2; }
.store-btn strong { font-size: 1.05rem; line-height: 1.2; }

.store-btn--light { background: #fff; color: var(--dark); }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.brand__logo { width: 38px; height: 38px; }

.brand__name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }

.nav__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav__link:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.badge .ico { width: 1.05rem; height: 1.05rem; color: var(--primary); }

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero__subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Téléphone (maquette) ---------- */

.hero__visual { position: relative; display: flex; justify-content: center; }

.hero__blob {
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(circle at 60% 40%, rgba(181, 69, 47, 0.14), transparent 65%);
  z-index: -1;
}

.phone {
  width: 290px;
  background: var(--dark);
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.5deg);
}

.phone--pro { transform: rotate(-2.5deg); }

.phone__notch {
  width: 110px;
  height: 22px;
  background: var(--dark);
  border-radius: 0 0 14px 14px;
  margin: 0 auto -22px;
  position: relative;
  z-index: 2;
}

.phone__screen {
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}

.phone__screen--dark { background: #2B211B; }

.phone__appbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 2.2rem 1.2rem 0.9rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.phone__appbar--dark { color: #FAF6F1; }

.phone__tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 0.6rem 0.4rem 1.1rem;
}

.phone__tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 1rem;
  color: var(--text-muted);
}

.phone__tabbar .ico { width: 21px; height: 21px; }

.phone__tabbar small { font-size: 0.6rem; font-weight: 600; }

.phone__tabbar .active { color: var(--primary); }

.phone__tabbar--dark { background: #1F1814; border-top-color: #3A2D24; }
.phone__tabbar--dark span { color: #8A7E76; }
.phone__tabbar--dark .active { color: #E89A86; }

/* Carte de fidélité dans la maquette — reproduit LoyaltyCardView de l'app :
   nom établissement → nom carte → rangée de tampons → « x/y tampons · carte n°z »,
   pastille note (haut droite) et pastille statut ouvert/fermé (bas droite). */

.lcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 0.6rem 0.9rem;
  padding: 0.9rem 1rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}

.lcard__est { font-size: 0.72rem; font-weight: 600; opacity: 0.78; }

.lcard__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.lstamps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 178px;
  margin: 0.15rem 0;
}

.lstamp {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
}

.lstamp--on { background: var(--primary); }
.lstamp--on .ico { width: 15px; height: 15px; stroke-width: 3; }

/* Récompense de palier : icône flottante au-dessus du tampon (contenu) */
.lstamp--reward::after {
  content: "🎁";
  position: absolute;
  top: -9px;
  right: -7px;
  font-size: 15px;
  line-height: 1;
}

@keyframes stampPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(1); }
}

.lstamp--pop { animation: stampPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s backwards; }

.lcard__progress { font-size: 0.76rem; font-weight: 600; opacity: 0.85; }

.lcard__rating,
.lcard__status {
  position: absolute;
  right: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.lcard__rating { top: 0.6rem; }
.lcard__status { bottom: 0.6rem; }
.lcard__status i { width: 7px; height: 7px; border-radius: 50%; background: #34C759; }
.lcard__status--closed i { background: #FF3B30; }

/* Carte aux couleurs de l'établissement (personnalisation du design) */
.lcard--green { background: #244A3C; border-color: transparent; color: #F1EDE6; }
.lcard--green .lstamp { border-color: #E8C37E; color: #244A3C; }
.lcard--green .lstamp--on { background: #E8C37E; }

/* ---------- Maquette interactive : corps, écrans, onglets cliquables ---------- */

.phone__body { flex: 1; overflow: hidden; position: relative; }

/* Masque les écrans inactifs ; plus spécifique que .pv{display:flex} pour
   l'emporter quel que soit l'ordre des règles. */
.screen:not(.is-active) { display: none; }
/* Écran scrollable à l'intérieur du téléphone (liste longue) — scrollbar masquée. */
.screen { height: 100%; overflow-y: auto; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.is-active { animation: screenIn 0.28s ease; }

@keyframes screenIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.phone__tabbar .tab {
  flex: 1;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  padding: 0;
}

.phone__tabbar .tab.is-active { color: var(--primary); }
.phone__tabbar .tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* Onglets de la barre sombre (téléphone pro) */
.phone__tabbar--dark .tab { color: #8A7E76; }
.phone__tabbar--dark .tab.is-active { color: #E89A86; }

/* Aperçus génériques (Découvrir / Profil) */
.pv { padding: 0.7rem 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; }

.pv__search {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.pv__chips { display: flex; gap: 6px; flex-wrap: wrap; }

.pv__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.66rem;
  font-weight: 600;
}

.pv__chip .ico { width: 11px; height: 11px; }
.pv__chip--on { background: var(--primary); color: #fff; }

.pv__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
}

.pv__av {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
}

.pv__rowtext { flex: 1; min-width: 0; }
.pv__rowtext strong { display: block; font-size: 0.82rem; }
.pv__rowtext small { color: var(--text-muted); font-size: 0.68rem; }

.pv__star {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
}

/* Mon QR */
.pv--qr { align-items: center; text-align: center; justify-content: center; gap: 0.7rem; }
.pv__qrhint { font-size: 0.78rem; font-weight: 600; }
.pv__qr { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.pv__qr svg { width: 130px; height: 130px; display: block; }

.pv__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.pv__count i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.pv__qrnote { font-size: 0.68rem; color: var(--text-muted); max-width: 15rem; }

/* Profil */
.pv__pcard { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0.7rem 0.8rem; }
.pv__lbl { display: block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.pv__name { display: block; font-size: 0.95rem; font-family: var(--font-display); }
.pv__phone { font-size: 0.7rem; color: var(--text-muted); }

.pv__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pv__stats > div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0.6rem 0.3rem; text-align: center; }
.pv__stats strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); }
.pv__stats span { font-size: 0.6rem; color: var(--text-muted); }

.pv__btn { background: var(--primary); color: #fff; text-align: center; font-size: 0.76rem; font-weight: 600; padding: 0.6rem; border-radius: 999px; }

.pv__menu { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.pv__menu span { display: flex; align-items: center; gap: 8px; padding: 0.6rem 0.7rem; font-size: 0.76rem; border-bottom: 1px solid var(--border); }
.pv__menu span:last-child { border-bottom: 0; }
.pv__menu .ico { width: 16px; height: 16px; color: var(--text-muted); }
.pv__menu--danger { color: #C0392B; font-weight: 600; }

/* Scanner (maquette pro) */

.scanner { padding: 1rem 1.4rem; text-align: center; }

.scanner__frame {
  position: relative;
  aspect-ratio: 1;
  margin: 0 auto 0.8rem;
  max-width: 190px;
  display: grid;
  place-items: center;
}

.scanner__frame > i {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3.5px solid #E89A86;
}

.scanner__frame > i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.scanner__frame > i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.scanner__frame > i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.scanner__frame > i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }

.scanner__line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #E89A86, transparent);
  animation: scanline 2.4s ease-in-out infinite;
}

@keyframes scanline {
  0%, 100% { top: 15%; }
  50% { top: 82%; }
}

.scanner__qr {
  display: grid;
  grid-template-columns: repeat(5, 14px);
  gap: 5px;
}

.scanner__qr span { width: 14px; height: 14px; background: #4D3B2F; border-radius: 3px; }
.scanner__qr span:nth-child(3n) { background: #6B5546; }
.scanner__qr span:nth-child(7n) { background: #3A2D24; }

.scanner p { color: #B9AB9F; font-size: 0.82rem; }

.scan-result {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--success-bg);
  border-radius: var(--radius);
  margin: 0.8rem 1rem;
  padding: 0.8rem 1rem;
}

.scan-result__check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.scan-result__check .ico { width: 19px; height: 19px; stroke-width: 2.4; }

.scan-result strong { display: block; font-size: 0.9rem; color: var(--text); }
.scan-result small { color: var(--success); font-size: 0.75rem; font-weight: 600; }

/* ---------- Aperçus pro (téléphone sombre : Ma carte / Activité / Établissement) ---------- */

.pvp { padding: 0.7rem 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; color: #FAF6F1; }

/* Ma carte — aperçu de la carte + éditeur */
.pvp__lcard { background: #244A3C; border-radius: 16px; padding: 0.8rem 0.9rem; display: flex; flex-direction: column; gap: 0.45rem; }
.pvp__lest { font-size: 0.7rem; font-weight: 600; color: #E8C37E; }
.pvp__lname { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #F1EDE6; }
.pvp__lcard .lstamp { border-color: #E8C37E; color: #244A3C; }
.pvp__lcard .lstamp--on { background: #E8C37E; }
.pvp__lprog { font-size: 0.72rem; color: #CDBBA0; }

.pvp__editrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: #33271F;
  border: 1px solid #43342A;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.74rem;
  color: #C9BDB2;
}
.pvp__editrow strong { color: #FAF6F1; font-size: 0.74rem; font-weight: 600; }
.pvp__swatches { display: flex; gap: 6px; }
.pvp__swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid transparent; }
.pvp__swatches i.on { border-color: #fff; }
.pvp__save { background: var(--primary); color: #fff; text-align: center; font-size: 0.76rem; font-weight: 600; padding: 0.55rem; border-radius: 999px; }

/* Activité — KPIs, tendance 14 jours, derniers passages */
.pvp__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pvp__kpis > div { background: #33271F; border: 1px solid #43342A; border-radius: 12px; padding: 0.6rem 0.4rem; text-align: center; }
.pvp__kpis strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: #E89A86; }
.pvp__kpis span { font-size: 0.58rem; color: #B9AB9F; }

.pvp__panel { background: #33271F; border: 1px solid #43342A; border-radius: 12px; padding: 0.65rem 0.7rem; }
.pvp__ptitle {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B9AB9F;
  margin-bottom: 0.5rem;
}
.pvp__bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.pvp__bars i { flex: 1; background: linear-gradient(180deg, #E89A86, #B5452F); border-radius: 3px 3px 0 0; min-height: 4px; }

.pvp__act { display: flex; align-items: center; gap: 7px; font-size: 0.72rem; color: #E4D9CE; padding: 0.28rem 0; }
.pvp__act small { margin-left: auto; color: #8A7E76; font-size: 0.62rem; }
.pvp__dot { width: 7px; height: 7px; border-radius: 50%; background: #6FCF97; flex-shrink: 0; }

/* Établissement — fiche + menu de réglages */
.pvp__est { display: flex; align-items: center; gap: 0.6rem; background: #33271F; border: 1px solid #43342A; border-radius: 12px; padding: 0.6rem 0.7rem; }
.pvp__estav { width: 40px; height: 40px; border-radius: 11px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.82rem; flex-shrink: 0; }
.pvp__est strong { display: block; font-size: 0.84rem; color: #FAF6F1; }
.pvp__est small { font-size: 0.66rem; color: #B9AB9F; }

.pvp__pmenu { background: #33271F; border: 1px solid #43342A; border-radius: 12px; overflow: hidden; }
.pvp__pmenu span { display: flex; align-items: center; gap: 9px; padding: 0.6rem 0.75rem; font-size: 0.74rem; color: #E4D9CE; border-bottom: 1px solid #43342A; }
.pvp__pmenu span:last-child { border-bottom: 0; }
.pvp__pmenu .ico { width: 16px; height: 16px; color: #E89A86; }
.pvp__switch { border: 1.5px solid #5A4638; color: #E4D9CE; text-align: center; font-size: 0.74rem; font-weight: 600; padding: 0.55rem; border-radius: 999px; }

/* ---------- Bandeau chiffres ---------- */

.strip { background: var(--primary); color: #fff; }

.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: 1.8rem;
}

.strip__item { text-align: center; }

.strip__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.strip__item span { font-size: 0.85rem; opacity: 0.85; }

/* ---------- Sections génériques ---------- */

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section--tinted { background: #fff; }

.section--dark { background: var(--dark); color: #FAF6F1; }

.section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(2.2rem, 5vw, 3.5rem);
}

.section__head p { color: var(--text-muted); margin-top: 0.8rem; }

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
}

.eyebrow--light { color: #E89A86; }

/* ---------- Étapes ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem 1.8rem;
  box-shadow: var(--shadow);
}

.step__num {
  position: absolute;
  top: -16px;
  left: 1.8rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
}

.step__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(181, 69, 47, 0.10);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.step__icon .ico { width: 27px; height: 27px; }

.step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Avantages ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(181, 69, 47, 0.09);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  transition: background 0.2s ease;
}

.feature__icon .ico { width: 27px; height: 27px; }

.feature:hover .feature__icon { background: rgba(181, 69, 47, 0.16); }

.feature h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }

.feature p { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Pour les pros ---------- */

.pro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
}

.pro__lead { color: var(--text-muted); margin: 1rem 0 1.5rem; font-size: 1.05rem; }

.checklist { list-style: none; margin-bottom: 2rem; }

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.95rem;
  font-size: 0.97rem;
  color: var(--text-muted);
}

.checklist li strong { color: var(--text); }

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.pro__note { margin-top: 1rem; font-size: 0.88rem; color: var(--text-muted); }

.pro__visual { display: flex; justify-content: center; }

/* ---------- Sécurité ---------- */

.section__head--light p { color: #B9AB9F; }

.security__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.security__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.security__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(232, 154, 134, 0.14);
  color: #E89A86;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.security__icon .ico { width: 24px; height: 24px; }

.security__item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #E89A86; }

.security__item p { font-size: 0.9rem; color: #C9BDB2; }

/* ---------- FAQ ---------- */

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- CTA final ---------- */

.cta {
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.cta__inner { text-align: center; }

.cta__logo { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; box-shadow: var(--shadow-lg); }

.cta h2 { margin-bottom: 0.6rem; }

.cta p { opacity: 0.9; margin-bottom: 1.8rem; }

.cta .hero__cta { justify-content: center; }

/* ---------- Footer ---------- */

.footer { background: var(--dark); color: #C9BDB2; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-block: 3rem 2rem;
}

.footer__brand .brand { color: #FAF6F1; margin-bottom: 0.6rem; }

.footer__brand p { font-size: 0.9rem; font-style: italic; }

.footer__col h4 {
  color: #FAF6F1;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.footer__col a {
  display: block;
  color: #C9BDB2;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  transition: color 0.15s ease;
}

.footer__col a:hover { color: #E89A86; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.2rem;
  font-size: 0.82rem;
  color: #8A7E76;
}

/* ---------- Animations d'apparition ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lstamp--pop, .scanner__line, .screen.is-active, .pv__count i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__visual { margin-top: 1rem; }

  .steps, .features { grid-template-columns: 1fr 1fr; }
  .security__grid { grid-template-columns: 1fr 1fr; }

  .pro { grid-template-columns: 1fr; }
  .pro__visual { order: 2; }

  .strip__inner { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    inset: 61px 0 auto;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1.4rem;
    gap: 1rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 40;
  }

  .nav.is-open { transform: none; }

  .nav-toggle { display: flex; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .steps, .features { grid-template-columns: 1fr; }
  .security__grid { grid-template-columns: 1fr; }

  .phone { width: 260px; }
  .phone__screen { height: 520px; }
}
