/* ============================================================================
   BULLE — Site public (refonte 2026)
   Page d'accueil (#welcome.lp) et éléments partagés des pages publiques.
   S'appuie sur les jetons de bulle.css (couleurs, rayons, ombres, mouvement).
   ========================================================================== */

.lp {
  --lp-max: 1180px;
  --lp-gutter: clamp(16px, 4.5vw, 40px);
  --lp-ink: #121117;
  min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--fond); color: var(--texte);
  overflow-x: clip;
}
.lp a { text-decoration: none; }
:where(.lp) h1, :where(.lp) h2, :where(.lp) h3, :where(.lp) p { margin: 0; }
.lp-main { flex: 1 0 auto; width: 100%; }
.lp-main > section { width: 100%; max-width: var(--lp-max); margin-inline: auto; padding-inline: var(--lp-gutter); }

/* Boutons propres au site */
.lp-btn-ghost { background: transparent; color: var(--texte); box-shadow: inset 0 0 0 1px var(--ligne-2); }
.lp-btn-ghost:hover { background: var(--surface-hover); }
.lp .btn svg { flex-shrink: 0; transition: transform var(--d-2) var(--ease-out); }
.lp .btn:hover svg { transform: translateX(2px); }

/* Sur-titres */
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--accent-ink);
}
.lp-gold { color: #E6B64A; }

/* Listes cochées */
.lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-list li { position: relative; padding-left: 28px; color: var(--texte-2); font-weight: 500; }
.lp-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B43F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------------
   En-tête
   ------------------------------------------------------------------------- */
.lp-top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--fond) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  padding-top: var(--sat);
  transition: border-color var(--d-2);
}
.lp-top-in {
  max-width: var(--lp-max); margin: 0 auto; padding: 0 var(--lp-gutter);
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--texte); font-family: var(--font-titre); font-weight: 750; font-size: 21px; letter-spacing: -.03em; }
.lp-brand svg { display: block; }
.lp-nav { display: flex; gap: 4px; }
.lp-nav a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--texte-2); font-weight: 550; font-size: 14.5px; transition: color var(--d-1), background-color var(--d-1); }
.lp-nav a:hover { color: var(--texte); background: var(--surface-hover); }
.lp-top-actions { margin-left: auto; display: flex; gap: 8px; }
.lp-top-actions .btn { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
.lp-burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: var(--r-md);
  background: transparent; color: var(--texte); align-items: center; justify-content: center;
}
.lp-burger:active { background: var(--surface-press); }
.lp-burger path { transition: transform var(--d-2) var(--ease-out); transform-origin: 12px 12px; }
.wl-open .lp-burger .b1 { transform: translateY(4px) rotate(45deg); }
.wl-open .lp-burger .b2 { transform: translateY(-4px) rotate(-45deg); }
.lp-drawer { display: none; }

@media (max-width: 880px) {
  .lp-nav, .lp-top-actions { display: none; }
  .lp-burger { display: inline-flex; }
  .lp-top-in { height: 58px; }
  .lp-drawer {
    /* absolu (et non fixe) : le flou de l'en-tête crée un bloc conteneur */
    position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 58px - var(--sat)); z-index: 49;
    display: flex; flex-direction: column; gap: 2px; padding: 12px var(--lp-gutter) calc(24px + var(--sab));
    background: var(--fond); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity var(--d-2) var(--ease-out), transform var(--d-2) var(--ease-out), visibility 0s linear var(--d-2);
  }
  .lp-drawer > a {
    padding: 16px 4px; font-family: var(--font-titre); font-size: 26px; font-weight: 700; letter-spacing: -.025em;
    color: var(--texte); border-bottom: 1px solid var(--hairline);
  }
  .lp-drawer-cta { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
  .wl-open .lp-drawer { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .wl-open.lp-top { background: var(--fond); }
}

/* ---------------------------------------------------------------------------
   Héros
   ------------------------------------------------------------------------- */
.lp-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px;
  padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px);
}
.lp-hero-copy > * { animation: lp-rise .7s var(--ease-out) both; }
.lp-hero-copy > :nth-child(2) { animation-delay: .04s; }
.lp-hero-copy > :nth-child(3) { animation-delay: .08s; }
.lp-hero-copy > :nth-child(4) { animation-delay: .12s; }
.lp-hero-copy > :nth-child(n+5) { animation-delay: .16s; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.lp-mark {
  width: 64px; height: 64px; margin-bottom: 26px; border-radius: 50%; position: relative;
  filter: drop-shadow(0 14px 24px rgba(91, 67, 240, .35));
}
.lp-mark svg { display: block; }
.lp-hero .lp-eyebrow { margin-bottom: 14px; }
.lp-title {
  font-family: var(--font-titre); font-weight: 800; font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1; letter-spacing: -.035em; color: var(--texte); text-wrap: balance;
}
.lp-title span {
  display: block;
  background: linear-gradient(100deg, var(--violet) 10%, var(--accent-2) 60%, color-mix(in srgb, var(--accent-2) 50%, #FFB347) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-lede { margin-top: 22px; max-width: 520px; font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.55; color: var(--texte-2); font-weight: 450; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lp-cta .btn-big { width: auto; min-height: 52px; padding: 0 22px; font-size: 16px; }
.lp-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--texte-3); font-size: 14px; font-weight: 550; }
.lp-trust li { display: inline-flex; align-items: center; gap: 6px; }
.lp-trust svg { color: var(--vert); }

/* Visuel : téléphone */
.lp-hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; animation: lp-rise .9s .1s var(--ease-out) both; }
.lp-hero-visual::before {
  content: ''; position: absolute; inset: 8% 6%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--violet) 26%, transparent), transparent),
              radial-gradient(closest-side at 70% 70%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent);
  filter: blur(30px);
}
.lp-phone {
  position: relative; z-index: 1; width: 300px; height: 610px; padding: 10px; border-radius: 48px;
  background: #0D0C11; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 50px 100px -30px rgba(20, 14, 50, .55), 0 18px 36px -18px rgba(20, 14, 50, .4);
  transform: rotate(-2deg);
}
.lp-phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 20px; background: #0D0C11; z-index: 3; }
.lp-phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden; display: flex; flex-direction: column;
  background: #F6F6F3; color: #17161B; font-size: 12.5px;
}
:root[data-theme="dark"] .lp-phone-screen { background: #0E0E11; color: #EDEDF1; }
.lp-ph-head { display: flex; align-items: center; gap: 9px; padding: 50px 14px 10px; border-bottom: 1px solid color-mix(in srgb, currentColor 9%, transparent); }
.lp-ph-head span { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.lp-ph-head b { font-weight: 700; font-size: 13px; }
.lp-ph-head em { font-style: normal; color: #1F9D55; font-size: 11px; font-weight: 600; }
.lp-ph-call { flex: 0 0 auto !important; width: 30px; height: 30px; border-radius: 10px; background: rgba(23, 138, 80, .13); }
.lp-ph-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px; overflow: hidden; }
.lp-day { align-self: center; font-size: 10.5px; font-weight: 600; color: #86848E; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, currentColor 6%, transparent); margin-bottom: 4px; }
.lp-b { max-width: 78%; padding: 8px 12px; border-radius: 18px; line-height: 1.35; font-weight: 500; }
.lp-b.in { align-self: flex-start; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); border-bottom-left-radius: 6px; }
:root[data-theme="dark"] .lp-b.in { background: #1D1D22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.lp-b.out { align-self: flex-end; background: #5B43F0; color: #fff; border-bottom-right-radius: 6px; }
.lp-reacts { display: flex; gap: 4px; align-self: flex-end; margin-top: -2px; }
.lp-reacts span { font-size: 11px; font-weight: 650; padding: 2px 7px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); color: #55535D; }
:root[data-theme="dark"] .lp-reacts span { background: #1D1D22; color: #A8A7B2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.lp-poll { align-self: flex-start; width: 80%; padding: 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); display: grid; gap: 6px; }
:root[data-theme="dark"] .lp-poll { background: #1D1D22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.lp-poll b { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #5B43F0; font-weight: 700; }
.lp-opt { position: relative; display: flex; justify-content: space-between; padding: 6px 9px; border-radius: 9px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(127, 127, 140, .22); font-weight: 600; }
.lp-opt span { position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgba(91, 67, 240, .12); }
.lp-opt.on { box-shadow: inset 0 0 0 1.5px #5B43F0; }
.lp-opt i, .lp-opt em { position: relative; font-style: normal; }
.lp-opt em { color: #86848E; font-weight: 650; }
.lp-voice { display: flex; align-items: center; gap: 8px; min-width: 62%; }
.lp-voice > i { width: 24px; height: 24px; border-radius: 50%; background: #5B43F0; flex-shrink: 0; position: relative; }
.lp-voice > i::after { content: ''; position: absolute; left: 9px; top: 7px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.lp-voice em { font-style: normal; font-size: 10.5px; color: #86848E; font-weight: 600; }
.lp-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 20px; }
.lp-wave s { flex: 1; height: 30%; border-radius: 2px; background: color-mix(in srgb, #5B43F0 60%, transparent); animation: lp-wave 1.4s ease-in-out infinite; }
.lp-wave s:nth-child(3n) { height: 80%; animation-delay: -.3s; } .lp-wave s:nth-child(3n+1) { height: 55%; animation-delay: -.7s; } .lp-wave s:nth-child(4n) { height: 95%; animation-delay: -1s; }
@keyframes lp-wave { 50% { transform: scaleY(.45); } }
.lp-ph-input { margin: 0 10px 8px; display: flex; align-items: center; justify-content: space-between; padding: 5px 5px 5px 14px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); color: #86848E; font-weight: 500; }
:root[data-theme="dark"] .lp-ph-input { background: #16161A; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.lp-ph-input i { width: 28px; height: 28px; border-radius: 50%; background: #5B43F0; color: #fff; display: grid; place-items: center; }
.lp-ph-tabs { display: flex; justify-content: space-around; padding: 9px 18px 18px; border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent); }
.lp-ph-tabs i { width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, currentColor 16%, transparent); }
.lp-ph-tabs i.on { background: currentColor; }

/* Avatars d'illustration (pastilles neutres, pas de personnes inventées) */
.lp-ava { display: inline-block; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.a1 { background: linear-gradient(135deg, #7DE2D1, #2BB6C4); }
.a2 { background: linear-gradient(135deg, #FFC37D, #FF7A59); }
.a3 { background: linear-gradient(135deg, #B9A6FF, #5B43F0); }
.a4 { background: linear-gradient(135deg, #FFB3D0, #F0568F); }

/* Bulles flottantes */
.lp-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: var(--panneau); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--e-3);
  font-size: 13px; animation: lp-float 6s ease-in-out infinite;
}
.lp-float b { display: flex; flex-direction: column; font-weight: 700; line-height: 1.2; }
.lp-float em { font-style: normal; font-weight: 500; color: var(--texte-3); font-size: 12px; }
.lp-float-stories { left: -8px; top: 34%; }
.lp-float-stories .lp-ring { margin-right: -14px; }
.lp-float-stories b { margin-left: 18px; }
.lp-float-call { right: 0; bottom: 16%; animation-delay: -3s; }
.lp-call-dot { width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--vert) 15%, transparent); position: relative; }
.lp-call-dot::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 0 color-mix(in srgb, var(--vert) 50%, transparent); animation: lp-pulse 1.8s infinite; }
@keyframes lp-pulse { 70% { box-shadow: 0 0 0 9px transparent; } }
@keyframes lp-float { 50% { transform: translateY(-8px); } }

/* Cercles de stories : seule utilisation du dégradé irisé */
.lp-ring { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: var(--iris); flex-shrink: 0; }
.lp-ring i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2.5px solid var(--panneau); font-style: normal; }
.lp-ring.seen { background: var(--ligne-2); }
.lp-ring.add { background: var(--ligne-2); }
.lp-ring.add i { background: var(--panneau-2); color: var(--texte-2); font-weight: 700; font-size: 20px; }

/* ---------------------------------------------------------------------------
   Bande de valeurs
   ------------------------------------------------------------------------- */
.lp-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-block: 8px 24px; }
.lp-strip > div { padding: 20px 24px 4px 0; border-top: 1px solid var(--ligne-2); display: grid; gap: 4px; }
.lp-strip > div + div { padding-left: 24px; border-left: 0; }
.lp-strip b { font-family: var(--font-titre); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.lp-strip span { color: var(--texte-2); }

/* ---------------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------------- */
.lp-sec { padding-block: clamp(56px, 9vw, 112px) 0; }
.lp-sec-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.lp-sec-head h2, .lp-social-copy h2, .lp-plus-copy h2, .lp-final h2 {
  margin-top: 10px; font-family: var(--font-titre); font-weight: 750; font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05; letter-spacing: -.032em; text-wrap: balance;
}
.lp-sec-head > p:last-child { margin-top: 14px; color: var(--texte-2); font-size: clamp(15.5px, 1.4vw, 17.5px); max-width: 560px; }

/* Grille de fonctionnalités */
.lp-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-card {
  background: var(--panneau); border: 1px solid var(--ligne); border-radius: var(--r-xl); padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color var(--d-2), transform var(--d-2) var(--ease-out), box-shadow var(--d-2);
}
.lp-card:hover { border-color: var(--ligne-2); box-shadow: var(--e-2); }
.lp-card h3 { font-family: var(--font-titre); font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.lp-card p { color: var(--texte-2); font-size: 15px; line-height: 1.5; }
.lp-ic { width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.lp-card-xl { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: clamp(24px, 3.4vw, 40px); align-items: center; }
.lp-card-xl h3 { font-size: clamp(22px, 2.4vw, 28px); }
.lp-card-copy { display: flex; flex-direction: column; gap: 10px; }
.lp-card-copy .lp-list { margin-top: 10px; }
.lp-card-demo { display: grid; gap: 12px; padding: 22px; border-radius: var(--r-lg); background: var(--fond); border: 1px solid var(--hairline); }
.lp-mini-msg { display: flex; gap: 12px; padding: 12px; border-radius: var(--r-md); background: var(--panneau); box-shadow: var(--e-1), inset 0 0 0 1px var(--hairline); }
.lp-mini-msg:first-child { box-shadow: inset 3px 0 0 var(--violet), var(--e-1); }
.lp-mini-msg b { font-size: 12px; font-weight: 650; color: var(--texte-3); }
.lp-mini-msg p { font-weight: 550; margin-top: 2px; }
.lp-reacts.sm { margin-top: 8px; justify-content: flex-start; }

/* Social */
.lp-social { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lp-social-copy > p:not(.lp-eyebrow) { margin-top: 14px; color: var(--texte-2); font-size: clamp(15.5px, 1.4vw, 17.5px); }
.lp-social-copy .lp-list { margin-top: 22px; }
.lp-social-demo { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: var(--panneau); border: 1px solid var(--ligne); box-shadow: var(--e-2); }
.lp-stories-row { display: flex; gap: 12px; }
.lp-stories-row .lp-ring { width: 58px; height: 58px; padding: 2.5px; }
.lp-post { border-radius: var(--r-lg); border: 1px solid var(--hairline); overflow: hidden; }
.lp-post header { display: flex; gap: 10px; align-items: center; padding: 12px; }
.lp-post header span { display: flex; flex-direction: column; line-height: 1.25; }
.lp-post header em { font-style: normal; font-size: 12px; color: var(--texte-3); }
.lp-post-media { aspect-ratio: 16 / 10; background: linear-gradient(160deg, #FFC37D 0%, #FF7A59 45%, #5B43F0 100%); position: relative; }
.lp-post-media span { position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(18, 14, 40, .35)); }
.lp-post footer { display: flex; gap: 18px; padding: 12px; color: var(--texte-2); font-weight: 600; font-size: 13.5px; }

/* Bulle+ : panneau d'encre, accent or */
.lp-plus-in {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: var(--lp-ink); color: #F2F1F5;
  position: relative; overflow: hidden; isolation: isolate;
}
.lp-plus-in::before {
  content: ''; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 182, 74, .22), transparent);
}
.lp-plus-copy h2 { color: #fff; }
.lp-plus-copy .btn-big { width: auto; padding: 0 26px; }
.lp-plus-copy > p:not(.lp-eyebrow) { margin: 14px 0 26px; color: #B6B4C0; font-size: 16.5px; max-width: 420px; }
.lp-plus-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-plus-list li { padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 6px; }
.lp-plus-list b { font-family: var(--font-titre); font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: #fff; }
.lp-plus-list span { color: #A9A7B4; font-size: 14.5px; line-height: 1.45; }

/* Installation */
.lp-devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-device { position: relative; padding: 24px; border-radius: var(--r-xl); background: var(--panneau); border: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 12px; }
.lp-device h3 { font-family: var(--font-titre); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.lp-device ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--texte-2); }
.lp-device p { color: var(--texte-2); }
.lp-device .btn { align-self: flex-start; margin-top: auto; }
.lp-device-tag { display: none; position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 650; padding: 3px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); }
.lp-device.is-device { border-color: color-mix(in srgb, var(--violet) 45%, var(--ligne)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 10%, transparent); }
.lp-device.is-device .lp-device-tag { display: inline-block; }
.lp-install-cta { margin-top: 22px; display: grid; justify-items: start; gap: 10px; }
.lp-note { color: var(--texte-3); font-size: 14px; }

/* Dernier appel */
.lp-final { text-align: center; padding-block: clamp(72px, 10vw, 128px) clamp(56px, 8vw, 96px) !important; display: grid; justify-items: center; }
.lp-final-mark { margin-bottom: 18px; filter: drop-shadow(0 12px 20px rgba(91, 67, 240, .3)); }
.lp-final > p { margin-top: 12px; color: var(--texte-2); font-size: 17px; }
.lp-final .lp-cta { justify-content: center; width: 100%; max-width: 440px; }

/* Pied de page */
.lp-foot { border-top: 1px solid var(--ligne); background: var(--panneau-2); padding: 48px var(--lp-gutter) calc(28px + var(--sab)); }
.lp-foot-in { max-width: var(--lp-max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.lp-foot-about p { margin-top: 12px; color: var(--texte-2); max-width: 320px; font-size: 14.5px; }
.lp-foot nav { display: flex; flex-direction: column; gap: 10px; }
.lp-foot nav b { font-size: 13px; font-weight: 650; color: var(--texte); margin-bottom: 4px; }
.lp-foot nav a { color: var(--texte-2); font-size: 14.5px; font-weight: 500; }
.lp-foot nav a:hover { color: var(--texte); }
.lp-foot-bottom { max-width: var(--lp-max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 12px; color: var(--texte-3); font-size: 13.5px; }

/* Apparition au défilement (déclenchée par app.js) */
.wl-anim .wl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.wl-anim .wl-reveal.wl-inview { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-plus-in { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .lp-hero { grid-template-columns: 1fr; gap: 24px; }
  .lp-hero-visual { min-height: 0; padding: 12px 0 0; }
  .lp-social { grid-template-columns: 1fr; }
  .lp-card-xl { grid-template-columns: 1fr; }
  .lp-devices { grid-template-columns: 1fr; }
  .lp-foot-in { grid-template-columns: 1fr 1fr 1fr; }
  .lp-foot-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lp-hero { padding-top: 28px; }
  .lp-mark { width: 52px; height: 52px; margin-bottom: 20px; }
  .lp-mark svg { width: 52px; height: 52px; }
  .lp-title { font-size: clamp(38px, 11vw, 48px); }
  .lp-cta { flex-direction: column; }
  .lp-cta .btn, .lp-cta .btn-big { width: 100%; }
  .lp-top { background: color-mix(in srgb, var(--fond) 94%, transparent); }
  /* Téléphone : recadré, posé en bas de l'écran comme une capture */
  .lp-hero-visual { height: 470px; overflow: hidden; align-items: start; margin-inline: calc(-1 * var(--lp-gutter)); padding-top: 24px;
    -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .lp-phone { transform: none; width: 280px; height: 570px; }
  .lp-float { font-size: 12px; padding: 8px 12px 8px 8px; }
  .lp-float-stories { left: 10px; top: 44px; }
  .lp-float-stories .lp-ring { width: 32px; height: 32px; }
  .lp-float-call { right: 10px; bottom: auto; top: 260px; }
  .lp-call-dot { width: 28px; height: 28px; } .lp-call-dot::after { inset: 9px; }
  .lp-strip { grid-template-columns: 1fr; padding-top: 0; }
  .lp-strip > div, .lp-strip > div + div { padding: 16px 0; }
  .lp-bento { grid-template-columns: 1fr; gap: 10px; }
  .lp-card { padding: 20px; border-radius: var(--r-lg); }
  .lp-card-demo { padding: 14px; }
  .lp-plus-in { border-radius: 22px; margin-inline: calc(-1 * var(--lp-gutter) + 8px); }
  .lp-plus-list { grid-template-columns: 1fr; }
  .lp-plus-list li { padding: 16px; }
  .lp-plus-copy .btn { width: 100%; }
  .lp-social-demo { padding: 14px; }
  .lp-stories-row .lp-ring { width: 52px; height: 52px; }
  .lp-install-cta .btn { width: 100%; }
  .lp-foot-in { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .lp-foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .wl-anim .wl-reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================================
   Connexion / inscription (#auth)
   Ordinateur : panneau de marque à gauche, formulaire à droite.
   Téléphone : plein écran, sans carte, champs larges.
   ========================================================================== */
.auth {
  min-height: 100dvh; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  place-items: stretch; background: var(--fond); overflow: visible;
}
.auth-blobs { display: none; }
.auth-aside {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  margin: 12px; padding: 36px 40px; border-radius: 24px;
  background: #121117; color: #F2F1F5;
}
.auth-aside::before {
  content: ''; position: absolute; z-index: -1; inset: auto -20% -30% auto; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(91, 67, 240, .55), transparent);
  filter: blur(10px);
}
.auth-aside::after {
  content: ''; position: absolute; z-index: -1; left: -120px; top: 30%; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 86, 143, .28), transparent);
}
.auth-aside-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-titre); font-weight: 750; font-size: 21px; letter-spacing: -.03em; }
.auth-aside-title { margin: 0; font-family: var(--font-titre); font-weight: 750; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.035em; color: #fff; max-width: 520px; }
.auth-aside-title span { display: block; color: #A99BFF; }
.auth-aside ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; color: #C3C1CC; font-weight: 500; }
.auth-aside li { display: flex; align-items: center; gap: 10px; }
.auth-aside li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #A99BFF; flex-shrink: 0; }
.auth-aside-bubbles { position: relative; height: 120px; }
.auth-aside-bubbles i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); animation: lp-float 7s ease-in-out infinite; }
.auth-aside-bubbles i:nth-child(1) { width: 96px; height: 96px; left: 0; bottom: 0; }
.auth-aside-bubbles i:nth-child(2) { width: 48px; height: 48px; left: 120px; bottom: 50px; animation-delay: -2s; }
.auth-aside-bubbles i:nth-child(3) { width: 22px; height: 22px; left: 190px; bottom: 10px; background: #FFD43B; border: 0; animation-delay: -4s; }

.auth-card {
  align-self: center; justify-self: center; width: 100%; max-width: 420px; margin: 0; padding: 40px 24px;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  animation: lp-rise .5s var(--ease-out) both;
}
.auth-back {
  display: inline-flex; align-items: center; gap: 4px; margin: 0 0 28px -8px; padding: 6px 10px 6px 6px;
  border-radius: var(--r-sm); color: var(--texte-2); font-weight: 550; font-size: 14px; text-decoration: none;
}
.auth-back:hover { background: var(--surface-hover); color: var(--texte); }
.auth-head { text-align: left; margin-bottom: 26px; }
.auth-logo { display: block; margin-bottom: 18px; }
.auth-logo svg { display: block; }
.auth-title { margin: 0 0 8px; font-family: var(--font-titre); font-size: clamp(28px, 3vw, 34px); font-weight: 750; letter-spacing: -.035em; line-height: 1.1; }
.auth-head .auth-sub { color: var(--texte-2); font-size: 15.5px; }

.auth .tabs { padding: 4px; gap: 4px; margin-bottom: 22px; border-radius: var(--r-md); background: color-mix(in srgb, var(--texte) 6%, transparent); }
.auth .tab { min-height: 40px; border-radius: var(--r-sm); font-weight: 600; font-size: 14.5px; color: var(--texte-2); }
.auth .tab.active { background: var(--panneau); color: var(--texte); box-shadow: var(--e-1), inset 0 0 0 1px var(--hairline); }

.auth-form { gap: 16px; }
.field label { font-weight: 600; font-size: 13.5px; color: var(--texte); letter-spacing: 0; }
.field-box {
  min-height: 50px; padding: 0 14px; gap: 10px; border: 1px solid var(--ligne-2); border-radius: var(--r-md);
  background: var(--panneau); box-shadow: var(--e-1);
}
.field-box:hover { border-color: color-mix(in srgb, var(--texte) 26%, transparent); }
.field-box:focus-within { border-color: var(--violet); background: var(--panneau); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 18%, transparent); }
.field-box input, .auth-form .field-box input, .auth-form .field-box input:focus { font-weight: 500; font-size: 16px; min-height: 46px; box-shadow: none; border: 0; }
.field-box input::placeholder { font-weight: 450; }
.field-eye:hover { background: var(--surface-hover); color: var(--texte); }
.auth-row { margin-top: -4px; }
.link-btn { color: var(--accent-ink); font-weight: 600; }
.auth-submit { margin-top: 4px; }
.auth-switch { color: var(--texte-2); }
.get-app { border-top-color: var(--hairline); }
.auth-promo { text-align: left; margin-top: 20px; }
.auth-promo a { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 6px 0; color: #A87708; font-weight: 600; background: none; }
:root[data-theme="dark"] .auth-promo a { color: #E6B64A; }
.auth-promo a:hover { background: none; box-shadow: none; text-decoration: underline; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-card { align-self: start; max-width: 480px; padding: calc(12px + var(--sat)) 20px calc(28px + var(--sab)); }
  .auth-back { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .auth-card, .auth-aside-bubbles i { animation: none !important; } }
.auth .field-msg { margin: 0; min-height: 0; font-size: 13px; font-weight: 500; }
.auth .field { gap: 6px; }
.lp-main > section { scroll-margin-top: 72px; }

/* Pages de compte autonomes (mot de passe oublié, réinitialisation, vérification) :
   une seule colonne, formulaire centré */
.auth:not(:has(.auth-aside)) { grid-template-columns: minmax(0, 1fr); }
.auth:not(:has(.auth-aside)) .auth-card { max-width: 440px; }
.auth-logo .brand-dot {
  display: block; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 34% 33%, #fff 0 14.5%, transparent 15.5%),
              radial-gradient(circle at 66% 70%, #FFD43B 0 5.8%, transparent 6.8%), #5B43F0;
}
.auth-logo .brand-dot + span { display: none; }
.auth-done { align-items: flex-start; text-align: left; gap: 14px; }
.auth-done .done-ic { border-radius: var(--r-md); }
.auth-info { border-radius: var(--r-md); }
.form-error:not(:empty) { border-radius: var(--r-md); }
.auth-switch .link-btn { text-decoration: none; }
@media (min-width: 901px) {
  .auth:not(:has(.auth-aside)) .auth-card {
    padding: 40px; background: var(--panneau); border: 1px solid var(--ligne); border-radius: var(--r-xl); box-shadow: var(--e-2);
  }
}

/* ============================================================================
   Pages publiques secondaires : en-tête et pied de page partagés (.pub-*)
   ========================================================================== */
:root { --pub-gutter: clamp(16px, 4.5vw, 40px); }
body:has(.pub-top) { margin: 0; background: var(--fond); color: var(--texte); }
.pub-top {
  position: sticky; top: 0; z-index: 50; padding-top: var(--sat);
  background: color-mix(in srgb, var(--fond) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.pub-top-in { max-width: 1180px; margin: 0 auto; padding: 0 var(--pub-gutter); height: 60px; display: flex; align-items: center; gap: 24px; }
.pub-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--texte); text-decoration: none; font-family: var(--font-titre); font-weight: 750; font-size: 20px; letter-spacing: -.03em; }
.pub-brand svg { display: block; }
.pub-nav { display: flex; gap: 2px; min-width: 0; }
.pub-nav a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--texte-2); text-decoration: none; font-weight: 550; font-size: 14.5px; white-space: nowrap; }
.pub-nav a:hover { background: var(--surface-hover); color: var(--texte); }
.pub-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pub-actions .btn { min-height: 38px; padding: 0 14px; font-size: 14.5px; text-decoration: none; }
.pub-icon-btn { width: 38px; height: 38px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--texte-2); display: grid; place-items: center; cursor: pointer; }
.pub-icon-btn:hover { background: var(--surface-hover); color: var(--texte); }
.pub-foot { margin-top: clamp(64px, 9vw, 112px); border-top: 1px solid var(--ligne); background: var(--panneau-2); padding: 32px var(--pub-gutter) calc(28px + var(--sab)); }
.pub-foot-in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.pub-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; flex: 1; }
.pub-foot nav a { color: var(--texte-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.pub-foot nav a:hover { color: var(--texte); }
.pub-foot p { margin: 0; color: var(--texte-3); font-size: 13.5px; }
@media (max-width: 820px) {
  .pub-nav { display: none; }
  .pub-top-in { height: 56px; }
  .pub-foot-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) { .pub-top { background: color-mix(in srgb, var(--fond) 96%, transparent); } }
@media (max-width: 380px) { .pub-actions .btn-soft { display: none; } }

/* Sélecteur de langue (V5 §16) */
.lang-pick-box { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.lang-pick-box .lang-pick-ic { font-size: 15px; line-height: 1; }
.lang-pick { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--texte, #17161B); background: var(--panneau, #fff); border: 1px solid var(--hairline, rgba(0,0,0,.12)); border-radius: 999px; padding: 6px 30px 6px 12px; min-height: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.lang-pick:focus-visible { outline: 2px solid var(--violet, #5B43F0); outline-offset: 2px; }
.lang-pick-fixed { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; }
.auth-lang { display: flex; justify-content: center; margin: 14px 0 0; }

/* =====================================================================
   Téléphone 3D interactif (V5 §21) — uniquement transform / opacity
   (composités par le GPU) pour rester fluide sur mobile.
   ===================================================================== */
.lp3d { animation: none; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lp3d-stage { position: relative; display: grid; place-items: center; perspective: 1400px; perspective-origin: 50% 40%; width: 100%; min-height: 630px; }
.lp3d-phone { --rx: 0deg; --ry: 0deg; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); will-change: transform; transition: transform .5s cubic-bezier(.2,.8,.2,1);
  animation: lp3d-in 1.3s cubic-bezier(.16,1,.3,1) both; }
.lp3d.tilting .lp3d-phone { transition: transform .12s linear; }
.lp3d.idle .lp3d-phone { animation: lp3d-in 1.3s cubic-bezier(.16,1,.3,1) both, lp3d-sway 9s 1.3s ease-in-out infinite; }
@keyframes lp3d-in { from { opacity: 0; transform: translateY(60px) rotateX(18deg) rotateY(-32deg) scale(.9); } }
@keyframes lp3d-sway { 0%, 100% { transform: rotateX(4deg) rotateY(-10deg); } 50% { transform: rotateX(-2deg) rotateY(8deg); } }
/* tranche du téléphone (profondeur) : ombres empilées, sans couche 3D au-dessus de l'écran */
.lp3d-phone { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 1px 1px 0 #24222c, 2px 2px 0 #1d1b24, 3px 3px 0 #17151d, 4px 4px 0 #121017, 0 50px 100px -30px rgba(20,14,50,.55), 0 18px 36px -18px rgba(20,14,50,.4); }
.lp3d-glare { position: absolute; inset: 10px; border-radius: 38px; pointer-events: none; z-index: 4; transform: translateZ(1px);
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 68%, rgba(255,255,255,.06) 100%);
  background-size: 200% 200%; background-position: var(--gx, 50%) var(--gy, 50%); mix-blend-mode: screen; }
.lp3d-screen { transform: translateZ(1px); }
.lp3d-float { transform: translateZ(var(--z, 40px)) translate(var(--px, 0), var(--py, 0)); transition: transform .3s ease-out; }
.lp3d-float-game { left: 6%; bottom: 8%; animation-delay: -1.5s; }
.lp3d-float-game .e { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--violet) 14%, transparent); font-size: 18px; }

.lp3d-status { position: absolute; top: 0; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 8px 26px 0; font-size: 12px; z-index: 2; }
.lp3d-status span { display: flex; gap: 2px; align-items: flex-end; }
.lp3d-status i { width: 3px; border-radius: 1px; background: currentColor; } .lp3d-status i:nth-child(1) { height: 5px; } .lp3d-status i:nth-child(2) { height: 8px; } .lp3d-status i:nth-child(3) { height: 11px; }
.lp3d-view { position: absolute; inset: 46px 0 58px; display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateX(14%) scale(.98); pointer-events: none; transition: opacity .55s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.lp3d-view.on { opacity: 1; transform: none; }
.lp3d-view.out { opacity: 0; transform: translateX(-14%) scale(.98); }
.lp3d-view .pop { opacity: 0; transform: translateY(10px) scale(.96); }
.lp3d-view.on .pop { animation: lp3d-pop .45s cubic-bezier(.2,.9,.3,1.2) forwards; }
.lp3d-view.on .pop:nth-child(2) { animation-delay: .15s; } .lp3d-view.on .pop:nth-child(3) { animation-delay: .45s; } .lp3d-view.on .pop:nth-child(4) { animation-delay: .8s; }
.lp3d-view.on .pop:nth-child(5) { animation-delay: 1.05s; } .lp3d-view.on .pop:nth-child(6) { animation-delay: 1.4s; } .lp3d-view.on .pop:nth-child(7) { animation-delay: 1.8s; }
@keyframes lp3d-pop { to { opacity: 1; transform: none; } }
.lp3d-view .lp-ph-head { padding-top: 6px; }
.lp3d-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px 10px; }
.lp3d-top b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.lp3d-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, currentColor 8%, transparent); font-size: 14px; }
.lp3d-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; display: flex; justify-content: space-around; align-items: center; padding-bottom: 10px; border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent); background: inherit; z-index: 2; }
.lp3d-tabs i { font-style: normal; font-size: 17px; width: 40px; height: 32px; display: grid; place-items: center; border-radius: 12px; filter: grayscale(1); opacity: .55; transition: all .3s; }
.lp3d-tabs i.on { filter: none; opacity: 1; background: color-mix(in srgb, #5B43F0 14%, transparent); }
/* Messages */
.lp3d-notes { display: flex; gap: 10px; padding: 18px 12px 10px; overflow: hidden; }
.lp3d-note { position: relative; display: grid; justify-items: center; gap: 4px; width: 58px; flex: none; }
.lp3d-note .lp-ava { width: 50px; height: 50px; }
.lp3d-note em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #86848E; }
.lp3d-note .bub { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); max-width: 74px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 9.5px; font-weight: 600; padding: 3px 7px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); z-index: 1; }
:root[data-theme="dark"] .lp3d-note .bub { background: #26262C; }
.lp3d-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.lp3d-row .lp-ava { width: 42px; height: 42px; position: relative; }
.lp-ava.on::after { content: ''; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #1F9D55; border: 2px solid #F6F6F3; }
:root[data-theme="dark"] .lp-ava.on::after { border-color: #0E0E11; }
.lp3d-row > span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.lp3d-row b { font-size: 13px; } .lp3d-row em { font-style: normal; font-size: 11.5px; color: #86848E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp3d-row.unread em { color: inherit; font-weight: 600; }
.lp3d-row .sn { color: #E5484D; font-weight: 700; }
.lp3d-row small { font-size: 10px; color: #86848E; align-self: flex-start; margin-top: 4px; }
.lp3d-row s { text-decoration: none; min-width: 18px; height: 18px; border-radius: 9px; background: #5B43F0; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.lp3d-row .fl { font-style: normal; font-size: 10px; font-weight: 700; color: #E8590C; }
.lp-ava.grp { border-radius: 14px; }
.lp3d-typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
:root[data-theme="dark"] .lp3d-typing { background: #1D1D22; }
.lp3d-typing i { width: 6px; height: 6px; border-radius: 50%; background: #86848E; animation: lp3d-dot 1.2s infinite; } .lp3d-typing i:nth-child(2) { animation-delay: .15s; } .lp3d-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lp3d-dot { 30% { transform: translateY(-4px); opacity: .5; } }
/* Story */
.lp3d-story { inset: 0 0 0 0 !important; background: #0D0C11; color: #fff; z-index: 3; }
.lp3d-bars { display: flex; gap: 4px; padding: 52px 14px 8px; }
.lp3d-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.lp3d-bars i.done { background: #fff; }
.lp3d-bars i.run::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.lp3d-story.on .lp3d-bars i.run::after { animation: lp3d-bar 4.2s linear forwards; }
@keyframes lp3d-bar { to { transform: scaleX(1); } }
.lp3d-sthead { display: flex; align-items: center; gap: 8px; padding: 0 14px 10px; font-size: 12px; }
.lp3d-sthead .lp-ava { width: 28px; height: 28px; } .lp3d-sthead em { font-style: normal; opacity: .7; flex: 1; }
.lp3d-sthead .aud { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #30A46C; }
.lp3d-stimg { position: relative; flex: 1; margin: 0 8px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #FF9A62 0%, #FF5E7E 45%, #8A4DFF 100%); }
.lp3d-stimg .sun { position: absolute; left: 50%; top: 34%; width: 90px; height: 90px; margin-left: -45px; border-radius: 50%; background: #FFE7A3; box-shadow: 0 0 60px 20px rgba(255,231,163,.5); }
.lp3d-story.on .sun { animation: lp3d-sun 4.2s ease-out forwards; }
@keyframes lp3d-sun { from { transform: translateY(-14px); } to { transform: translateY(18px); } }
.lp3d-stimg .hill { position: absolute; bottom: 0; border-radius: 50% 50% 0 0; }
.lp3d-stimg .h1 { left: -20%; width: 90%; height: 34%; background: #3B2A7A; } .lp3d-stimg .h2 { right: -25%; width: 95%; height: 26%; background: #241B52; }
.lp3d-stimg .cap { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; font-size: 13px; padding: 5px 10px; border-radius: 10px; background: rgba(0,0,0,.45); }
.lp3d-streply { display: flex; align-items: center; gap: 8px; padding: 12px 12px 26px; }
.lp3d-streply span { flex: 1; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; padding: 8px 12px; font-size: 11.5px; opacity: .85; }
.lp3d-streply i { font-style: normal; font-size: 18px; }
/* Salon */
.lp3d-srv { display: flex; align-items: center; gap: 10px; margin: 6px 12px 10px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, #5B43F0, #8A4DFF); color: #fff; }
.lp3d-srv .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.2); font-size: 18px; }
.lp3d-srv span:last-child { display: flex; flex-direction: column; } .lp3d-srv b { font-size: 13px; } .lp3d-srv em { font-style: normal; font-size: 10.5px; opacity: .85; }
.lp3d-cat { padding: 8px 16px 4px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #86848E; }
.lp3d-ch { display: flex; align-items: center; justify-content: space-between; margin: 1px 10px; padding: 7px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: #6C6A75; }
:root[data-theme="dark"] .lp3d-ch { color: #A8A7B2; }
.lp3d-ch.on { background: color-mix(in srgb, #5B43F0 12%, transparent); color: inherit; }
.lp3d-ch s { text-decoration: none; font-size: 10px; padding: 1px 6px; border-radius: 99px; background: #E5484D; color: #fff; }
.lp3d-vc { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 34px; font-size: 12px; }
.lp3d-vc .lp-ava { width: 22px; height: 22px; } .lp3d-vc em { font-style: normal; font-size: 10px; color: #86848E; margin-left: auto; }
.lp-ava.talk { box-shadow: 0 0 0 2px #1F9D55; animation: lp3d-talk 1.6s ease-in-out infinite; }
@keyframes lp3d-talk { 50% { box-shadow: 0 0 0 3px rgba(31,157,85,.35); } }
/* Fil */
.lp3d-strow { display: flex; gap: 8px; padding: 0 12px 10px; }
.lp3d-strow .lp-ring { width: 48px; height: 48px; }
.lp3d-post { margin: 0 10px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; }
:root[data-theme="dark"] .lp3d-post { background: #1D1D22; }
.lp3d-post header { display: flex; gap: 8px; align-items: center; padding: 10px 12px 6px; }
.lp3d-post header .lp-ava { width: 30px; height: 30px; } .lp3d-post header span { display: flex; flex-direction: column; line-height: 1.2; }
.lp3d-post header b { font-size: 12.5px; } .lp3d-post header em { font-style: normal; font-size: 10px; color: #86848E; }
.lp3d-post p { margin: 0; padding: 0 12px 8px; font-size: 12px; } .lp3d-post u { text-decoration: none; color: #5B43F0; font-weight: 700; }
.lp3d-post .media { height: 190px; background: radial-gradient(circle at 30% 20%, #FFD43B 0 8%, transparent 9%), radial-gradient(circle at 70% 30%, #FF5E7E 0 10%, transparent 11%), linear-gradient(160deg, #241B52, #5B43F0 60%, #8A4DFF); position: relative; }
.lp3d-post .media span { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: repeating-linear-gradient(90deg, rgba(0,0,0,.45) 0 10px, rgba(0,0,0,.3) 10px 22px); clip-path: polygon(0 40%, 8% 20%, 16% 45%, 25% 15%, 34% 40%, 45% 10%, 55% 35%, 66% 18%, 76% 42%, 88% 20%, 100% 38%, 100% 100%, 0 100%); }
.lp3d-post footer { display: flex; gap: 14px; padding: 8px 12px 10px; font-size: 11.5px; font-weight: 700; color: #6C6A75; }
.lp3d-post .sv { margin-left: auto; }
.lp3d-view.on .lk { animation: lp3d-like .6s 1.2s cubic-bezier(.2,.9,.3,1.6) both; display: inline-block; }
@keyframes lp3d-like { 40% { transform: scale(1.35); } }
/* Notifications */
.lp3d-nt { display: flex; align-items: center; gap: 10px; margin: 3px 10px; padding: 9px 10px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); font-size: 11.5px; line-height: 1.35; }
:root[data-theme="dark"] .lp3d-nt { background: #1D1D22; }
.lp3d-nt .lp-ava, .lp3d-nt .em { width: 32px; height: 32px; flex: none; }
.lp3d-nt .em { font-style: normal; display: grid; place-items: center; font-size: 18px; border-radius: 50%; background: color-mix(in srgb, #E8590C 15%, transparent); }
.lp3d-nt span { flex: 1; } .lp3d-nt small { font-size: 9.5px; color: #86848E; }
.lp3d-nt.fl { background: linear-gradient(90deg, color-mix(in srgb, #E8590C 12%, #fff), #fff); }
:root[data-theme="dark"] .lp3d-nt.fl { background: linear-gradient(90deg, #3a2318, #1D1D22); }
/* Profil */
.lp3d-prof .ban { height: 90px; margin: -2px 0 0; background: linear-gradient(120deg, #8A4DFF, #FF5E7E 60%, #FFB86B); }
.lp3d-prof .who { display: grid; justify-items: center; gap: 2px; margin-top: -34px; text-align: center; }
.lp-ava.big { width: 68px; height: 68px; border: 4px solid #F6F6F3; } :root[data-theme="dark"] .lp-ava.big { border-color: #0E0E11; }
.lp3d-prof .who b { font-size: 16px; } .lp3d-prof .star { color: #F5B700; }
.lp3d-prof .who em { font-style: normal; font-size: 11px; color: #86848E; }
.lp3d-prof .stats { display: flex; justify-content: space-around; padding: 12px 8px 8px; font-size: 10px; color: #86848E; text-align: center; }
.lp3d-prof .stats span { display: flex; flex-direction: column; } .lp3d-prof .stats b { font-size: 14px; color: currentColor; color: var(--texte, inherit); }
.lp3d-prof .acts { display: flex; gap: 8px; padding: 0 14px 10px; }
.lp3d-prof .acts span { flex: 1; text-align: center; padding: 7px; border-radius: 12px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, currentColor 8%, transparent); }
.lp3d-prof .acts .pri { background: #5B43F0; color: #fff; }
.lp3d-prof .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 0 2px; }
.lp3d-prof .grid i { aspect-ratio: 1; }
.g1 { background: linear-gradient(135deg, #FFB86B, #FF5E7E); } .g2 { background: linear-gradient(135deg, #7DE2D1, #2BB6C4); } .g3 { background: linear-gradient(135deg, #B9A6FF, #5B43F0); }
.g4 { background: linear-gradient(135deg, #FFD43B, #F08C00); } .g5 { background: linear-gradient(135deg, #FFB3D0, #F0568F); } .g6 { background: linear-gradient(135deg, #2a2833, #5B43F0); }
/* Commandes sous le téléphone */
.lp3d-ctl { display: grid; justify-items: center; gap: 10px; position: relative; z-index: 2; }
.lp3d-cap { margin: 0; font-weight: 700; font-size: 15px; min-height: 1.4em; }
.lp3d-dots { display: flex; gap: 8px; }
.lp3d-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: var(--ligne-2, rgba(127,127,140,.35)); cursor: pointer; transition: width .3s, background .3s; }
.lp3d-dots button[aria-selected="true"] { width: 26px; background: var(--violet, #5B43F0); }
.lp3d-dots button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .lp3d-phone, .lp3d.idle .lp3d-phone { animation: none !important; transform: none !important; }
  .lp3d-view { transition: opacity .3s; transform: none !important; }
  .lp3d-view .pop { opacity: 1; transform: none; animation: none !important; }
}
@media (max-width: 640px) {
  .lp3d-stage { min-height: 0; }
  .lp-hero-visual.lp3d { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-top: 8px; }
  .lp3d-phone { width: 270px; height: 550px; }
  .lp3d-float-game { display: none; }
  .lp3d.idle .lp3d-phone { animation: lp3d-in 1.3s cubic-bezier(.16,1,.3,1) both, lp3d-sway-s 10s 1.3s ease-in-out infinite; }
  @keyframes lp3d-sway-s { 0%, 100% { transform: rotateY(-6deg) rotateX(2deg); } 50% { transform: rotateY(6deg) rotateX(-1deg); } }
}
/* Téléphone 3D : correctifs de mise en page */
.lp3d-row .fl { flex: none; display: inline-block; width: auto; align-self: flex-start; margin-top: 4px; }
/* Cartes flottantes : hors de l'écran du téléphone (elles ne cachent plus son contenu) */
.lp3d .lp-float-stories { left: calc(50% - 345px); right: auto; top: 12%; }
.lp3d .lp-float-call { right: calc(50% - 345px); left: auto; bottom: 24%; }
.lp3d .lp3d-float-game { left: calc(50% - 335px); right: auto; bottom: 10%; }
@media (max-width: 1180px) { .lp3d .lp3d-float { display: none; } }
.lp3d-row > .fl { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; }
.lp3d-prof .stats b { color: inherit; }
:root[data-theme="dark"] .lp3d-prof .stats { color: #A8A7B2; } :root[data-theme="dark"] .lp3d-prof .stats b { color: #EDEDF1; }
