/* ===================== Version téléphone (écrans de moins de 900 px) =====================
   Même DA que la version ordinateur : Erode pour les titres, Roboto Mono pour le texte,
   vert sapin / ivoire / sauge, blocs arrondis, filets fins, boutons en pilule. */
.lrm { display: none; }

@media (max-width: 899px) {
  #scene, #lr-nav, .lr-fond-plein { display: none !important; }
  html, body { background: #fff; }
  .lrm { display: block; overflow: hidden; color: #2a352f; --g: 20px; }
}

/* Ancres : le contenu s'arrête sous l'en-tête fixe */
.lrm section, .lrm footer { scroll-margin-top: 78px; }

/* ---------- Typographie ---------- */
.lrm-h1 { margin: 0; font: 400 clamp(44px, 12.4vw, 64px)/0.9 "Erode", serif; letter-spacing: -0.5px; color: #fff; }
.lrm-h2 { margin: 0 0 18px; font: 400 clamp(32px, 9vw, 46px)/1 "Erode", serif; letter-spacing: -0.4px; color: #2a352f; }
.lrm-h2 strong { display: block; font-weight: 700; }
.lrm-h2--grand { font-size: clamp(36px, 10vw, 50px); }
.lrm-h2--centre { text-align: center; }
.lrm-gris { color: rgba(42,53,47,0.33); }
.lrm-surtitre { margin: 0 0 10px; font: 400 12px/1.6 "Roboto Mono", monospace; text-transform: uppercase; letter-spacing: .3px; color: #2a352f; }
.lrm-texte { margin: 0 0 22px; font: 400 14px/1.65 "Roboto Mono", monospace; letter-spacing: -0.4px; color: #2a352f; }
.lrm-note { margin: 14px 0 0; font: 400 12px/1.5 "Roboto Mono", monospace; color: #5e7568; }
.lrm-clair { color: #f5f5f5 !important; }
.lrm-centre { display: flex; justify-content: center; }
.lrm-centre-txt { text-align: center; }
.lrm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Boutons (pilules de la maquette) ---------- */
.lrm-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 60px; overflow: hidden;
  font: 700 15px/1 "Roboto Mono", monospace; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: transform .2s cubic-bezier(0.22, 1, 0.36, 1), background-color .25s, color .25s; }
.lrm-btn:active { transform: scale(.97); }
.lrm-btn--sapin { background: #2a352f; color: #fbf5f4; box-shadow: inset 3px 4px 5px rgba(0,0,0,0.25), 3px 5px 11px rgba(0,0,0,0.22); }
.lrm-btn--sapin:active { background: #b2bb8d; color: #222a26; }
.lrm-btn--verre { background: rgba(255,255,255,0.55); color: #222a26; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.78), inset 2px 3px 6px rgba(0,0,0,0.07), 3px 5px 11px rgba(0,0,0,0.2); }
.lrm-btn--verre:active, .lrm-btn--blanc:active { background: #2a352f; color: #fbf5f4; }
.lrm-btn--blanc { background: #fff; color: #222a26; box-shadow: 3px 5px 11px rgba(0,0,0,0.22); }
.lrm-btn--ligne { color: #fbf5f4; box-shadow: inset 0 0 0 1px rgba(251,245,244,0.55); }
.lrm-btn--ligne:active { background: #fbf5f4; color: #222a26; }
.lrm-btn--contour { color: #b2bb8d; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), inset 3px 4px 5px rgba(0,0,0,0.25); }
.lrm-btn--contour:active { background: #b2bb8d; color: #222a26; }
.lrm-btn--petit { height: 38px; padding: 0 16px; font-size: 12.5px; }
.lrm-btn--plein { display: flex; width: 100%; }
.lrm-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête et menu ---------- */
.lrm-entete { position: fixed; z-index: 60; top: 10px; left: 10px; right: 10px; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; border-radius: 60px;
  background: rgba(64,74,67,0.55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); transition: background-color .3s; }
.lrm-entete.lrm-defile { background: rgba(42,53,47,0.82); }
.lrm-logo { display: block; margin-right: auto; }
.lrm-logo img { display: block; height: 26px; width: auto; }
.lrm-burger { position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lrm-burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: #fbf5f4; transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1), top .35s; }
.lrm-burger span:first-child { top: 16px; } .lrm-burger span:last-child { top: 24px; }
.lrm-menu-ouvert .lrm-burger span:first-child { top: 20px; transform: rotate(45deg); }
.lrm-menu-ouvert .lrm-burger span:last-child { top: 20px; transform: rotate(-45deg); }
.lrm-menu { position: fixed; z-index: 55; inset: 0; display: flex; flex-direction: column; padding: 100px 28px 34px; background: linear-gradient(180deg, #2a352f 0%, #3d3a2e 60%, #503c2c 100%);
  opacity: 0; transform: translateY(-12px); transition: opacity .35s ease, transform .45s cubic-bezier(0.22, 1, 0.36, 1); }
.lrm-menu[hidden] { display: none; }
.lrm-menu.lrm-visible { opacity: 1; transform: none; }
.lrm-menu ul { list-style: none; margin: 0; padding: 0; }
.lrm-menu li { border-bottom: 1px solid rgba(255,255,255,0.12); }
.lrm-menu li a { display: block; padding: 16px 0; font: 400 34px/1.1 "Erode", serif; color: #fbf5f4; }
.lrm-menu li a.lrm-actif { color: #b2bb8d; }
.lrm-menu-btns { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.lrm-menu-btns .lrm-btn { width: 100%; }
.lrm-menu-pied { margin: 18px 0 0; text-align: center; font: 500 12px/1 "Roboto Mono", monospace; text-transform: uppercase; color: rgba(251,245,244,0.6); }
html.lrm-bloque, html.lrm-bloque body { overflow: hidden; }

/* ---------- 01 · Accroche ---------- */
.lrm-accroche { position: relative; overflow: hidden; padding: 108px var(--g) 0; color: #fff; }
.lrm-accroche-fond { position: absolute; inset: 0; overflow: hidden; }
.lrm-accroche-fond > div { position: absolute; inset: 0; transform: scaleY(-1); }
.lrm-accroche-fond img { position: absolute; left: 0; top: -74.69%; width: 100%; height: 196.88%; max-width: none; }
.lrm-accroche-embleme { position: absolute; left: 50%; top: 210px; width: 120%; max-width: none; transform: translateX(-50%); opacity: .14; mix-blend-mode: soft-light; pointer-events: none; }
.lrm-accroche-texte { position: relative; }
.lrm-accroche .lrm-surtitre { font-size: 11px; margin-bottom: 14px; }
.lrm-accroche .lrm-h1 { margin-bottom: 22px; }
.lrm-accroche .lrm-texte { font-size: 13.5px; max-width: 420px; }
.lrm-accroche-tel { position: relative; display: block; width: min(86%, 420px); height: auto; margin: 26px -6px 0 auto; }

/* ---------- 02 · Chiffres ---------- */
.lrm-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 34px var(--g) 30px; }
.lrm-chiffres div { padding: 0 8px; border-left: 1px solid rgba(42,53,47,0.18); }
.lrm-chiffres div:first-child { border-left: 0; padding-left: 0; }
.lrm-chiffres strong { display: block; font: 400 clamp(30px, 8.4vw, 40px)/1 "Erode", serif; color: #2a352f; white-space: nowrap; }
.lrm-chiffres span { display: block; margin-top: 8px; font: 400 11px/1.4 "Roboto Mono", monospace; letter-spacing: -0.3px; color: #2a352f; }

/* ---------- Sections et cartes ---------- */
.lrm-section { padding: 52px var(--g); }
.lrm-carte { margin: 0 12px; padding: 44px 20px 40px; border-radius: 26px; }
.lrm-carte--ivoire { background: #fbf5f4; }
.lrm-carte--sapin { background: #2a352f; color: #fbf5f4; }

/* ---------- 03 · Fonctionnalités ---------- */
.lrm-carrousel { position: relative; margin: 8px calc(-1 * var(--g)) 26px; }
.lrm-car-piste { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 18% 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lrm-car-piste::-webkit-scrollbar { display: none; }
.lrm-car-piste figure { flex: 0 0 64%; margin: 0; scroll-snap-align: center; transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), opacity .45s; transform: scale(.9); opacity: .55; }
.lrm-car-piste figure.lrm-on { transform: none; opacity: 1; }
.lrm-car-piste img { display: block; width: 100%; height: auto; border-radius: 34px; box-shadow: 0 14px 30px rgba(0,0,0,0.25); }
.lrm-car-piste figcaption { margin-top: 12px; text-align: center; font: 400 12px/1 "Roboto Mono", monospace; color: #5e7568; text-transform: uppercase; }
.lrm-points { display: flex; justify-content: center; gap: 8px; }
.lrm-points button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(42,53,47,0.25); cursor: pointer; transition: width .35s cubic-bezier(0.22, 1, 0.36, 1), background .3s; }
.lrm-points button.lrm-on { width: 24px; background: #2a352f; }
.lrm-coches { list-style: none; margin: 0; padding: 0; }
.lrm-coches li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid rgba(42,53,47,0.14); font: 400 13.5px/1.4 "Roboto Mono", monospace; letter-spacing: -0.4px; }
.lrm-coches li::before { content: "✓"; position: absolute; left: 2px; top: 9px; color: #5e7568; }

/* ---------- 04 · Avantages ---------- */
.lrm-av { position: relative; padding-top: 30px; padding-bottom: 34px; overflow: hidden; }
.lrm-av-tel-zone { position: relative; height: 380px; margin: 0 -20px; overflow: hidden; }
.lrm-av-tel-zone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(180deg, rgba(251,245,244,0), #fbf5f4); pointer-events: none; }
.lrm-av-tel { position: absolute; top: 0; left: 50%; width: 260px; height: 484px; margin-left: -130px; }
.lrm-av-tel-int { position: absolute; left: -56.9px; top: 0; width: 550px; height: 715px; transform: scale(0.6771); transform-origin: 0 0; }
.lrm-av-tel-int .lrm-av-tel-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.lrm-pastille { position: absolute; left: 330px; top: 118px; width: 214px; height: 214px; transform: scale(.78); transform-origin: 0 0; pointer-events: none; }
.lrm-pastille .lrm-pastille-int { position: absolute; left: 0; top: 0; width: 214.453px; height: 214.453px; }
.lrm-av-piste { display: flex; gap: 12px; margin: 6px -20px 16px; padding: 8px 20px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lrm-av-piste::-webkit-scrollbar { display: none; }
.lrm-av-para { flex: 0 0 82%; box-sizing: border-box; padding: 22px 20px; border-radius: 24px; scroll-snap-align: center; cursor: pointer;
  background: rgba(255,255,255,0); transition: background .4s, box-shadow .4s; }
.lrm-av-para.lrm-on { background: #fff; box-shadow: 2px 4px 11px rgba(0,0,0,0.18); }
.lrm-av-para h3 { margin: 0 0 12px; font: 500 24px/1.02 "Erode", serif; letter-spacing: -1px; color: #2a352f; }
.lrm-av-para p { margin: 0; font: 400 13.5px/1.55 "Roboto Mono", monospace; letter-spacing: -0.6px; color: #2a352f; }
.lrm-points--sapin { margin-bottom: 24px; }

/* ---------- 05 · Rôles ---------- */
.lrm-roles { list-style: none; margin: 10px 0 0; padding: 0; }
.lrm-roles li { display: grid; grid-template-columns: 46px 1fr; column-gap: 6px; padding: 22px 0; border-top: 1px solid rgba(42,53,47,0.15); }
.lrm-roles li:last-child { border-bottom: 1px solid rgba(42,53,47,0.15); }
.lrm-roles-num { grid-row: span 2; font: 400 26px/1 "Erode", serif; color: rgba(42,53,47,0.4); }
.lrm-roles h3 { margin: 0 0 8px; font: 500 22px/1.1 "Erode", serif; letter-spacing: -0.6px; }
.lrm-roles p { margin: 0; font: 400 13px/1.6 "Roboto Mono", monospace; letter-spacing: -0.4px; }

/* ---------- 06 · 3 étapes ---------- */
.lrm-etapes { position: relative; overflow: hidden; }
.lrm-etapes::before { display: none; content: ""; position: absolute; left: -210px; top: 90px; width: 330px; height: 330px; border-radius: 50%; border: 1px solid rgba(178,187,141,0.35); pointer-events: none; }
.lrm-etapes .lrm-h2 strong { color: #fbf5f4; }
.lrm-etapes-liste { position: relative; list-style: none; margin: 22px 0 26px; padding: 0 0 0 4px; }
.lrm-etapes-liste::before { content: ""; position: absolute; left: 30px; top: 18px; bottom: 18px; width: 1px; background: rgba(178,187,141,0.35); }
.lrm-etape { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 14px 0; cursor: pointer; }
.lrm-etape-num { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #2a352f; box-shadow: inset 0 0 0 1px rgba(178,187,141,0.45);
  font: 400 22px/1 "Erode", serif; color: #5e7568; transition: background .45s, color .45s, transform .45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.lrm-etape h3 { margin: 4px 0 6px; font: 400 22px/1.1 "Erode", serif; color: #5e7568; transition: color .45s; }
.lrm-etape p { margin: 0; font: 400 13px/1.55 "Roboto Mono", monospace; letter-spacing: -0.4px; color: #5e7568; transition: color .45s; }
.lrm-etape.lrm-on .lrm-etape-num { background: #b2bb8d; color: #222a26; transform: scale(1.08); }
.lrm-etape.lrm-on h3, .lrm-etape.lrm-on p { color: #fbf5f4; }

/* ---------- 07 · Formules ---------- */
.lrm-formules { text-align: left; }
.lrm-periode { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 26px; }
.lrm-periode-choix { position: relative; display: inline-flex; padding: 2px; border-radius: 30px; background: #fbf5f4; box-shadow: inset 0 0 0 1px rgba(42,53,47,0.08); }
.lrm-periode-choix button { position: relative; z-index: 1; height: 30px; padding: 0 16px; border: 0; background: none; font: 400 14px/1 "Roboto Mono", monospace; color: #2a352f; cursor: pointer; transition: color .35s; }
.lrm-periode-choix button[aria-pressed="true"] { color: #fbf5f4; }
.lrm-periode-pastille { position: absolute; z-index: 0; top: 2px; bottom: 2px; left: 2px; border-radius: 30px; background: #2a352f; transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), width .45s cubic-bezier(0.22, 1, 0.36, 1); }
.lrm-periode-bonus { font: 500 13px/1 "Roboto Mono", monospace; color: #5e7568; }
.lrm-offres { display: flex; flex-direction: column; gap: 16px; }
.lrm-offre { position: relative; padding: 28px 22px 26px; border-radius: 26px; background: #fbf5f4; box-shadow: 0 4px 2px rgba(0,0,0,0.12); }
.lrm-offre--reco { background: linear-gradient(180deg, rgba(178,187,141,0.84) 0%, rgba(251,245,244,0.84) 42%, rgba(251,245,244,0.84) 100%); }
.lrm-reco { display: inline-block; margin-bottom: 12px; padding: 3px 14px 4px; border-radius: 30px; background: #2a352f; color: #fbf5f4; font: 400 13px/1.4 "Roboto Mono", monospace; }
.lrm-offre h3 { margin: 0; font: 400 34px/1.1 "Erode", serif; color: #000; }
.lrm-offre-sous { margin: 10px 0 20px; font: 400 14px/1.5 "Roboto Mono", monospace; }
.lrm-prix { display: flex; align-items: flex-end; gap: 4px; margin: 2px 0 0; font-family: "Erode", serif; color: #000; }
.lrm-prix strong { font-size: 72px; line-height: .95; font-weight: 600; transition: opacity .2s, transform .2s; }
.lrm-prix sup { align-self: flex-start; margin-top: 6px; font-size: 32px; line-height: 1; font-weight: 600; vertical-align: baseline; position: static; }
.lrm-prix span { margin: 0 0 8px 8px; font-size: 32px; }
.lrm-change .lrm-prix strong, .lrm-change .lrm-prix span { opacity: 0; transform: translateY(6px); }
.lrm-soit { height: 0; margin: 0 0 18px; overflow: hidden; font: 400 12.5px/18px "Roboto Mono", monospace; color: #5e7568; transition: height .35s ease, margin .35s; }
.lrm-annuel .lrm-soit { height: 18px; margin: 4px 0 16px; }
.lrm-inclus { list-style: none; margin: 22px 0 0; padding: 0; }
.lrm-inclus li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font: 400 14px/1.4 "Roboto Mono", monospace; letter-spacing: -0.6px; color: #2a352f; }
.lrm-inclus img { flex: none; display: block; }

/* ---------- 08 · Comparatif ---------- */
.lrm-tableau-zone { margin: 8px calc(-1 * var(--g)) 0; padding: 0 var(--g); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lrm-tableau { border-collapse: separate; border-spacing: 0; min-width: 560px; font: 400 13px/1.4 "Roboto Mono", monospace; color: #2a352f; letter-spacing: -0.4px; }
.lrm-tableau th, .lrm-tableau td { padding: 14px 12px; border-bottom: 1px solid #2a352f; text-align: center; vertical-align: middle; }
.lrm-tableau thead th { font: 400 22px/1 "Erode", serif; padding: 16px 12px; border-top: 1px solid #2a352f; }
.lrm-tableau thead th:first-child { border-top: 0; }
.lrm-tableau tbody th { position: sticky; left: 0; z-index: 1; width: 108px; text-align: left; font: 400 14px/1.3 "Roboto Mono", monospace; background: #fff; border-left: 1px solid #2a352f; border-right: 1px solid #2a352f; }
.lrm-tableau td { border-right: 1px solid #2a352f; }
.lrm-tableau thead th:last-child { border-right: 1px solid #2a352f; }
.lrm-tableau thead th.lrm-nous { border-left: 1px solid #2a352f; border-right: 1px solid #2a352f; border-radius: 22px 0 0 0; }
.lrm-tableau thead th:last-child { border-radius: 0 22px 0 0; }
.lrm-tableau .lrm-nous { background: #fbf5f4; }
.lrm-tableau b { font-weight: 600; }
.lrm-glisser { margin: 10px 0 26px; font: 400 11px/1 "Roboto Mono", monospace; color: #5e7568; text-transform: uppercase; }

/* ---------- 09 · FAQ ---------- */
.lrm-faq { background: linear-gradient(180deg, #fdfbfa 0%, #fdfbfa 40%, #d9eef4 76%, #d1d6bb 100%); }
.lrm-qr { margin: 6px 0 26px; }
.lrm-qr div { padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,0.25); }
.lrm-qr dt { margin: 0 0 8px; font: 500 20px/1.25 "Erode", serif; color: #000; }
.lrm-qr dd { margin: 0; font: 400 13.5px/1.6 "Roboto Mono", monospace; color: #000; }
.lrm-slogan { margin: 18px 0 0; text-align: center; font: 500 13px/1.4 "Roboto Mono", monospace; text-transform: uppercase; color: #2a352f; }

/* ---------- 10 · Parrainage ---------- */
.lrm-parrainage { padding-bottom: 0; }
.lrm-par-zone { position: relative; margin: 34px auto 0; width: 100%; max-width: 536px; overflow: visible; }
.lrm-par-echelle { position: relative; width: 536px; height: 566px; transform-origin: 0 0; }
.lrm-par-tel { position: absolute; left: 0; top: 0; width: 536px; height: 566px; filter: drop-shadow(0 4px 10.4px rgba(0,0,0,0.45)); }

/* ---------- 11 · Appel final + pied de page ---------- */
.lrm-pied { position: relative; overflow: hidden; padding: 64px var(--g) 28px; color: #fbf5f4;
  background: linear-gradient(180deg, rgb(42, 53, 47) 8%, rgb(80, 60, 44) 34%, rgb(178, 187, 141) 68%, rgb(192, 227, 237) 92%); }
.lrm-pied-embleme { position: absolute; left: 50%; top: 52%; width: 150%; max-width: none; transform: translateX(-50%); opacity: .16; pointer-events: none; }
.lrm-pied .lrm-h2 { position: relative; font-size: clamp(30px, 8.4vw, 40px); }
.lrm-pied .lrm-texte { position: relative; font-size: 13px; }
.lrm-filet { position: relative; height: 0; margin: 40px 0 32px; border: 0; border-top: 1px solid rgba(255,255,255,0.3); }
.lrm-pied-logo { position: relative; display: block; width: 190px; height: auto; }
.lrm-pied-txt { position: relative; margin: 18px 0 30px; font: 400 13px/1.7 "Roboto Mono", monospace; letter-spacing: -0.5px; }
.lrm-pied-cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lrm-pied-cols p { margin: 0 0 12px; font: 600 12.5px/1.4 "Roboto Mono", monospace; text-transform: uppercase; color: #fbf5f4; }
.lrm-pied-cols a, .lrm-pied-cols span { display: block; width: fit-content; margin-bottom: 8px; font: 400 12.5px/1.5 "Roboto Mono", monospace; letter-spacing: -0.5px; color: #fff; }
.lrm-copy { position: relative; margin: 0; font: 400 12px/1.4 "Roboto Mono", monospace; color: #fff; }

/* ---------- Apparitions au défilement ---------- */
.lr-anim .lrm [data-mrev] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(0.22, 1, 0.36, 1), transform .7s cubic-bezier(0.22, 1, 0.36, 1); }
.lr-anim .lrm [data-mrev].lrm-vu { opacity: 1; transform: none; }

@media (min-width: 600px) and (max-width: 899px) {
  .lrm { --g: 40px; }
  .lrm-carte { margin: 0 24px; padding: 54px 40px 48px; }
  .lrm-offres { display: grid; grid-template-columns: 1fr 1fr; }
  .lrm-offre--reco { order: -1; grid-column: span 2; }
  .lrm-car-piste figure { flex-basis: 44%; }
  .lrm-av-para { flex-basis: 60%; }
  .lrm-glisser { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .lrm *, .lrm *::before, .lrm *::after { transition-duration: .01s !important; }
}
