/* Shared design tokens for rediii.app (coming-soon page + legal/support pages) --
   same palette as the Rediii app itself (Settings.vue), kept here as a single
   shared stylesheet instead of duplicated in every page's <style> block. */
:root {
  --secondary-color: #1d2524;
  --secondary-light-color: #484848;
  --primary-color: #00D4A1;
  --primary-trans-color: #00D4A150;
  --primary-mid-color: #5ee9b5;
  --primary-dark-color: #005f5a;
  --primary-darker-color: #00423f;
  --primary-light-color: #a4f4cf;
  --primary-lighter-color: #BAF7DA;
  --grey-color: rgb(251, 251, 251);
  --grey-trans-color: #00000010;
  --grey-dark-color: rgb(230, 230, 230);
  --red-color: #ff2056;
  --danger-color: #f6339a;
}

/* Shared layout for the "document" pages: privacy, support, delete-account, terms.
   Each page's own <style> only needs page-specific rules (if any) on top of this. */
.doc-body {
  margin: 0;
  background: var(--grey-color);
  color: var(--secondary-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
.doc-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.doc-wrap a { color: var(--primary-dark-color); }
.doc-wrap h1 {
  color: var(--secondary-color);
  font-size: 1.9rem;
  margin-bottom: 4px;
}
.doc-wrap .updated {
  color: var(--secondary-light-color);
  font-size: 0.9rem;
  margin-bottom: 36px;
}
.doc-wrap h2 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 40px;
  margin-bottom: 10px;
  border-top: 1px solid var(--grey-dark-color);
  padding-top: 28px;
}
.doc-wrap h2:first-of-type { border-top: none; padding-top: 0; }
.doc-wrap p, .doc-wrap li { color: var(--secondary-color); }
.doc-wrap ul, .doc-wrap ol { padding-left: 20px; }
.doc-wrap .muted { color: var(--secondary-light-color); }
.doc-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.95rem;
}
.doc-wrap th, .doc-wrap td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--grey-dark-color);
  vertical-align: top;
}
.doc-wrap th { color: var(--secondary-color); font-weight: 600; }
.doc-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.doc-wrap .back {
  display: inline-block;
  margin-bottom: 0;
  font-size: 0.9rem;
}
.doc-lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.doc-wrap .contact-box {
  background: #fff;
  border: 1px solid var(--grey-dark-color);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0;
}
.doc-wrap .contact-box a { font-weight: 600; }
.doc-wrap .faq-q { font-weight: 600; margin-bottom: 4px; }
.doc-wrap .faq-item { margin-bottom: 20px; }
.doc-wrap .steps li { margin-bottom: 6px; }

/* ===========================================================================
   LANDING PAGE (page d'accueil marketing) -- mêmes tokens de couleur que
   ci-dessus (identiques à Settings.vue côté app) + mêmes fonts que l'app
   (voir rediii-frontend/src/assets/main.css) : ElmsSans pour le texte
   courant, GoogleSans pour les titres/CTA. Les pages légales (doc-wrap,
   au-dessus) ne sont pas affectées -- tout ce qui suit est scopé sous
   .landing / préfixé .lp-.
   ========================================================================= */

@font-face {
  font-family: "RediiiRegular";
  src: url("/Fonts/ElmsSans-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "RediiiMedium";
  src: url("/Fonts/ElmsSans-Medium.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "RediiiSemiBold";
  src: url("/Fonts/ElmsSans-SemiBold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "RediiiBold";
  src: url("/Fonts/GoogleSans-SemiBold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "RediiiBlack";
  src: url("/Fonts/GoogleSans-Bold.ttf") format("truetype");
  font-display: swap;
}

* { box-sizing: border-box; }

.landing {
  margin: 0;
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  background: var(--grey-color);
  color: var(--secondary-color);
  font-family: "RediiiRegular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
.landing h1, .landing h2, .landing h3 {
  font-family: "RediiiBlack", sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
}
.landing .lp-section-eyebrow {
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark-color);
}
.lp-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 251, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--grey-dark-color);
  padding-top: env(safe-area-inset-top, 0px);
}
@media (max-width: 719px) {
  .lp-nav {
    background: var(--grey-color);
    backdrop-filter: none;
  }
}
.lp-nav-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.lp-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.lp-nav-links a {
  font-family: "RediiiMedium", sans-serif;
  font-size: 0.92rem;
  color: var(--secondary-color);
  text-decoration: none;
  opacity: 0.8;
}
.lp-nav-links a:hover { opacity: 1; }

/* Burger (mobile uniquement) */
.lp-nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.lp-nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.lp-nav-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav-burger.is-open span:nth-child(2) { opacity: 0; }
.lp-nav-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 719px) {
  .lp-nav-burger { display: flex; }
  .lp-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--grey-color);
    border-bottom: 1px solid var(--grey-dark-color);
    padding: 8px 24px 16px;
    display: none;
  }
  .lp-nav-links.is-open { display: flex; }
  .lp-nav-links a { width: 100%; padding: 10px 0; opacity: 1; }
}

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.lp-btn--primary {
  background: var(--secondary-color);
  color: var(--grey-color);
}
.lp-btn--primary:hover { background: #0b1312; }
.lp-btn--outline {
  background: transparent;
  color: var(--secondary-color);
  border: 1.5px solid var(--grey-dark-color);
}
.lp-btn--outline:hover { border-color: var(--secondary-color); }

/* Badges de téléchargement (style "pilule noire" cohérent avec les CTA
   primaires de l'app -- voir Design system / triii-app.md : "CTA buttons:
   black filled for primary actions"). Icônes en SVG inline plutôt que les
   badges officiels Apple/Google (droits d'usage, et on garde le même style
   partout sur la page). */
.lp-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.lp-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary-color);
  color: var(--grey-color);
  padding: 11px 20px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid #000;
}
.lp-store-badge:hover { background: #0b1312; }
.lp-store-badge svg { width: 35px; height: 35px; flex-shrink: 0; }
.lp-store-badge .lp-store-icon { width: 20px; height: 24px; flex-shrink: 0; object-fit: contain; }
.lp-store-badge .lp-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.lp-store-badge .lp-store-text small {
  font-family: "RediiiRegular", sans-serif;
  font-size: 0.68rem;
  opacity: 0.75;
}
.lp-store-badge .lp-store-text strong {
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.98rem;
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  background: var(--secondary-color);
  color: var(--grey-color);
  padding: 72px 0 96px;
}
.lp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.lp-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(0, 66, 63, 0.88) 0%, rgba(0, 95, 84, 0.78) 55%, rgba(0, 66, 63, 0.9) 100%);
}
.lp-hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.lp-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}
.lp-hero-glow--1 { width: 420px; height: 420px; background: var(--primary-color); opacity: 0.3; top: -120px; left: -100px; }
.lp-hero-glow--2 { width: 300px; height: 300px; background: var(--primary-light-color); opacity: 0.18; bottom: -80px; right: -60px; }
.lp-hero-copy { position: relative; z-index: 2; max-width: 640px; }
.lp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-light-color);
  background: rgba(0, 212, 161, 0.14);
  border: 1px solid rgba(0, 212, 161, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}
.lp-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 18px;
}
.lp-hero h1 .lp-accent { color: var(--primary-color); }
.lp-hero-sub {
  font-family: "RediiiRegular", sans-serif;
  font-size: 1.08rem;
  color: rgba(251, 251, 251, 0.85);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.4;
}
.lp-hero-foot {
  margin-top: 16px;
  font-family: "RediiiMedium", sans-serif;
  font-size: 0.85rem;
  color: rgba(251, 251, 251, 0.55);
}

/* Mockup téléphone en pur CSS (pas de vraie capture d'écran disponible --
   à remplacer par une vraie capture de l'app dès que Mathieu en a une sous
   la main, voir le commentaire livré en fin de session). */
.lp-phone-wrap { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center;}
.lp-phone {
  width: 280px;
  background: #0d1413;
  border-radius: 42px;
  padding: 14px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.lp-phone-screen {
  background: var(--grey-color);
  border-radius: 30px;
  overflow: hidden;
  padding: 18px 16px 16px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-phone-greeting {
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.95rem;
  color: var(--secondary-color);
}
.lp-phone-greeting span { opacity: 0.55; font-family: "RediiiRegular", sans-serif; display: block; font-size: 0.78rem; margin-top: 2px; }
.lp-phone-card {
  background: var(--secondary-color);
  border-radius: 22px;
  padding: 16px;
  color: #fff;
}
.lp-phone-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lp-phone-safe-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary-color);
  color: var(--secondary-color);
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 9999px;
}
.lp-phone-card-title { font-family: "RediiiSemiBold", sans-serif; font-size: 0.92rem; margin-bottom: 4px; }
.lp-phone-card-sub { font-family: "RediiiRegular", sans-serif; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.lp-phone-fatigue { display: flex; gap: 6px; }
.lp-phone-fatigue-pill {
  flex: 1;
  text-align: center;
  font-family: "RediiiMedium", sans-serif;
  font-size: 0.72rem;
  padding: 9px 4px;
  border-radius: 9999px;
  background: var(--grey-dark-color);
  color: var(--secondary-light-color);
}
.lp-phone-fatigue-pill--active {
  background: var(--primary-color);
  color: #fff;
  font-family: "RediiiSemiBold", sans-serif;
}
.lp-phone-week { display: flex; justify-content: space-between; padding: 2px 4px; }
.lp-phone-week-day { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lp-phone-week-day span { font-family: "RediiiMedium", sans-serif; font-size: 0.62rem; color: var(--secondary-light-color); }
.lp-phone-week-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-dark-color); }
.lp-phone-week-dot--done { background: var(--primary-color); }
.lp-phone-nav { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--grey-dark-color); }
.lp-phone-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-family: "RediiiMedium", sans-serif; font-size: 0.56rem; color: var(--secondary-light-color); }
.lp-phone-nav-item--active { color: var(--primary-dark-color); }
.lp-phone-nav-dot { width: 16px; height: 16px; border-radius: 6px; background: var(--grey-dark-color); }
.lp-phone-nav-item--active .lp-phone-nav-dot { background: var(--primary-color); }

/* ---------- Section générique ---------- */
.lp-section { padding: 88px 0; }
.lp-section--alt { background: #fff; }
.lp-section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.lp-section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 10px 0 14px; }
.lp-section-head p { font-family: "RediiiRegular", sans-serif; color: var(--secondary-light-color); font-size: 1.02rem; line-height: 1.55; margin: 0; }

/* ---------- Parcours (étapes, sans mockup) ---------- */
.lp-flow {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .lp-flow { flex-direction: row; align-items: flex-start; gap: 0; }
}
.lp-flow-step { flex: 1; }
.lp-flow-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "RediiiBlack", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.lp-flow-step h3 { font-family: "RediiiBlack", sans-serif; font-size: 1.1rem; margin-bottom: 8px; }
.lp-flow-step p { font-family: "RediiiRegular", sans-serif; font-size: 0.92rem; color: var(--secondary-light-color); line-height: 1.55; max-width: 300px; }

/* Sur smartphone, les 3 etapes restent empilees mais texte + badge
   centres (retour de Mathieu du 2026-11-13). */
@media (max-width: 759px) {
  .lp-flow-step { text-align: center; }
  .lp-flow-num { margin-left: auto; margin-right: auto; }
  .lp-flow-step p { margin-left: auto; margin-right: auto; }
}


/* ---------- Produit / fonctionnalités ---------- */
.lp-feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .lp-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .lp-feature-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-feature-card {
  background: #fff;
  border-radius: 24px;
  padding: 26px 24px;
  border: 1px solid var(--grey-dark-color);
}
.lp-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-trans-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary-dark-color);
}
.lp-feature-icon svg { width: 22px; height: 22px; }
.lp-feature-card h3 { font-family: "RediiiSemiBold", sans-serif; font-size: 1.04rem; margin-bottom: 8px; }
.lp-feature-card p { font-family: "RediiiRegular", sans-serif; font-size: 0.92rem; color: var(--secondary-light-color); margin: 0; line-height: 1.5; }

/* ---------- Avis utilisateurs ---------- */
.lp-testi-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .lp-testi-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 719px) {
  .lp-testi-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px -18px;
    padding: 36px 24px 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .lp-testi-grid::-webkit-scrollbar { display: none; }
  .lp-testi-grid .lp-testi-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}
.lp-testi-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 60px -24px rgba(13, 28, 26, 0.18);
  display: flex;
  flex-direction: column;
}
.lp-testi-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.lp-testi-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-darker-color);
  color: #fff;
  font-family: "RediiiBlack", sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}
.lp-testi-meta { min-width: 0; }
.lp-testi-name {
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.95rem;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-testi-flag {
  font-size: 1.05em;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(13, 28, 26, 0.08);
}
.lp-testi-date {
  font-family: "RediiiRegular", sans-serif;
  font-size: 0.74rem;
  color: var(--secondary-light-color);
  opacity: 0.8;
}
.lp-testi-stars { color: var(--primary-color); font-size: 0.95rem; margin-bottom: 10px; letter-spacing: 2px; }
.lp-testi-quote { font-family: "RediiiMedium", sans-serif; font-size: 0.95rem; color: var(--secondary-color); line-height: 1.5; margin: 0 0 16px; flex: 1; }
.lp-testi-tag {
  align-self: flex-start;
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--primary-darker-color);
  padding: 4px 12px;
  border-radius: 9999px;
}
.lp-testi-placeholder { }
.lp-testi-example {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: "RediiiRegular", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary-light-color);
  opacity: 0.55;
}

/* ---------- Pricing ---------- */
.lp-pricing-annual {
  max-width: 420px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-darker-color) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 32px;
}
.lp-pricing-annual-badge {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}
.lp-pricing-annual h3 { font-family: "RediiiSemiBold", sans-serif; font-size: 1rem; margin-bottom: 6px; }
.lp-pricing-annual-price { text-align: left; }
.lp-pricing-annual-price .amount { font-family: "RediiiBlack", sans-serif; font-size: 1.9rem; }
.lp-pricing-annual-price .period { font-family: "RediiiRegular", sans-serif; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); display: block; }

/* Listes à coche (icône Lucide "check"), réutilisées par l'annuel et les cartes à la course */
.lp-check-list { list-style: none; padding: 0; margin: 10px 0 0; font-family: "RediiiRegular", sans-serif; font-size: 0.88rem; }
.lp-check-list li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 7px; line-height: 1.35; }
.lp-check { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--primary-color); }
.lp-pricing-annual .lp-check-list { color: rgba(255, 255, 255, 0.78); }

.lp-pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 1120px;
  margin: 0 auto;
}
@media (min-width: 640px) { .lp-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .lp-pricing-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 719px) {
  .lp-pricing-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px -18px;
    padding: 36px 24px 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .lp-pricing-grid::-webkit-scrollbar { display: none; }
  .lp-pricing-grid .lp-pricing-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
}
.lp-pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 24px 60px -24px rgba(13, 28, 26, 0.18);
  display: flex;
  flex-direction: column;
}
.lp-pricing-card h4 { font-family: "RediiiSemiBold", sans-serif; font-size: 1rem; margin-bottom: 6px; }
.lp-pricing-card .lp-check-list { color: var(--secondary-light-color); margin-top: 18px; flex: 1; }
.lp-pricing-card-price { text-align: left; }
.lp-pricing-card .amount { font-family: "RediiiBlack", sans-serif; font-size: 1.9rem; color: var(--secondary-color); }
.lp-pricing-card .period { font-family: "RediiiRegular", sans-serif; font-size: 0.78rem; color: var(--secondary-light-color); display: block; }
.lp-pricing-note { text-align: center; font-family: "RediiiRegular", sans-serif; font-size: 0.85rem; color: var(--secondary-light-color); margin-top: 24px; }

/* ---------- FAQ ---------- */
.lp-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.lp-faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 4px 22px;
  box-shadow: 0 24px 60px -24px rgba(13, 28, 26, 0.18);
}
.lp-faq-item summary {
  cursor: pointer;
  font-family: "RediiiSemiBold", sans-serif;
  font-size: 0.98rem;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: "+";
  font-family: "RediiiRegular", sans-serif;
  font-size: 1.3rem;
  color: var(--secondary-light-color);
  flex-shrink: 0;
}
.lp-faq-item[open] summary::after { content: "–"; }
.lp-faq-item p {
  font-family: "RediiiRegular", sans-serif;
  font-size: 0.92rem;
  color: var(--secondary-light-color);
  line-height: 1.55;
  margin: 0 0 20px;
}
.lp-faq-item p a {
  color: var(--primary-darker-color);
  text-decoration: none;
  font-family: "RediiiSemiBold", sans-serif;
}
.lp-faq-item p a:hover { text-decoration: underline; }

/* ---------- Bandeau final de téléchargement ---------- */
.lp-final {
  background: radial-gradient(120% 140% at 85% 100%, var(--primary-darker-color) 0%, var(--secondary-color) 60%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.lp-final h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.lp-final p { font-family: "RediiiRegular", sans-serif; color: rgba(255, 255, 255, 0.68); max-width: 440px; margin: 0 auto 30px; }
.lp-final .lp-store-row { justify-content: center; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--secondary-color); color: rgba(251, 251, 251, 0.6); padding: 40px 0; }
.lp-footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-family: "RediiiRegular", sans-serif; font-size: 0.85rem; }
.lp-footer-links a { color: rgba(251, 251, 251, 0.6); text-decoration: none; }
.lp-footer-links a:hover { color: #fff; }

/* ---------- "Produit" : 3 rangées empilées, alternant mockup/texte ---------- */
.lp-feature-rows { display: flex; flex-direction: column; }
.lp-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--grey-dark-color);
}
.lp-feature-row:last-child { border-bottom: none; padding-bottom: 8px; }
.lp-feature-row .lp-phone-wrap--small,
.lp-feature-row .lp-carousel-copy {
  flex: 1 1 320px;
}
.lp-phone-wrap--small { display: flex; justify-content: center; }
@media (min-width: 860px) {
  .lp-feature-row .lp-phone-wrap--small { order: 1; }
  .lp-feature-row .lp-carousel-copy { order: 2; }
  .lp-feature-row--reverse .lp-phone-wrap--small { order: 2; }
  .lp-feature-row--reverse .lp-carousel-copy { order: 1; }
  .lp-feature-row { gap: 64px; }
}
.lp-phone-wrap--small .lp-phone { width: 240px; }
.lp-phone-wrap--small .lp-phone-screen { min-height: 380px; }
.lp-screenshot {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.28));
}
.lp-phone-wrap--video {
  position: relative;
}
.lp-feature-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 270px;
  max-width: 100%;
  border-radius: 14px;
  border: 4px solid #fff;
  box-shadow: 0 24px 48px -16px rgba(13, 28, 26, 0.45);
  z-index: 2;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  background: #fff;
}
@media (min-width: 860px) {
  .lp-feature-video { width: 260px; }
}
/* Animations pilotées par JS sur les vrais evenements video (timeupdate),
   pas une boucle CSS independante -- sinon le bounce derive par rapport
   au chargement/lecture reelle de la video (retour de Mathieu du 2026-11-13). */
.lp-feature-video.lp-video-enter { animation: lpVideoEnter 0.6s ease-out; }
.lp-feature-video.lp-video-exit { animation: lpVideoExit 0.5s ease-in forwards; }
@keyframes lpVideoEnter {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  30%  { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
  50%  { transform: translate(-50%, -50%) scale(0.95); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes lpVideoExit {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  30%  { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
  60% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}
.lp-carousel-copy h3 { font-family: "RediiiBlack", sans-serif; font-size: 1.5rem; margin: 10px 0 14px; }
.lp-carousel-copy p { font-family: "RediiiRegular", sans-serif; font-size: 1rem; color: var(--secondary-light-color); line-height: 1.6; max-width: 440px; }
.lp-phone-card--light { background: var(--grey-dark-color); color: var(--secondary-color); }
.lp-phone-card--light .lp-phone-card-title { color: var(--secondary-color); }
.lp-phone-card--light .lp-phone-card-sub { color: var(--secondary-light-color); }
.lp-phone-safe-badge--dark { background: var(--secondary-color); color: #fff; }

/* ---------- Language switch (EN / FR flags, nav) ---------- */
.lp-lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 4px;
}
.lp-lang-link {
  display: inline-flex;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.4;
  box-shadow: 0 0 0 1px rgba(13, 28, 26, 0.1);
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
}
.lp-lang-link .fi {
  width: 100%;
  height: 100%;
  border-radius: 3px;
}
.lp-lang-link:hover { opacity: 0.75; }
.lp-lang-link.is-active {
  opacity: 1;
  box-shadow: 0 0 0 1.5px var(--primary-color);
}
@media (max-width: 719px) {
  /* Centre vraiment le switch de langue entre le logo et le burger,
     peu importe leurs largeurs respectives (retour de Mathieu du
     2026-11-13 : avec le flex space-between seul, le switch n'était
     pas visuellement centre car logo et burger n'ont pas la meme
     largeur). */
  .lp-lang-switch {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
}
