/* Landing : ce que voit un visiteur sans compte. Memes couleurs que le site
   (style.css). Lisible sur telephone ; la demo et l'abonnement restent
   reserves au PC (desktop-only). */

body.on-landing { display: block; }
body.on-landing #mobile { display: none; }
.landing[hidden] { display: none; }

.landing { width: min(1120px, calc(100vw - 32px)); margin: 0 auto; padding: 0 0 32px; }
.landing a { color: inherit; }

/* Bandeau du haut */
.ld-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.ld-nav nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.ld-nav nav a { color: var(--muted); text-decoration: none; }
.ld-nav nav a:hover { color: var(--text); }

/* Accroche */
.ld-hero { text-align: center; padding: 56px 0 36px; }
.ld-rooms { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ld-hero h1 { margin: 0 0 18px; font-size: clamp(32px, 5vw, 54px); line-height: 1.1; letter-spacing: -0.03em; }
.ld-lead { margin: 0 auto 30px; max-width: 640px; color: var(--muted); font-size: 18px; }
.ld-cta { display: flex; justify-content: center; gap: 12px; }
.ld-cta.desktop-only { display: flex; }
.ld-big { padding: 13px 28px; font-size: 16px; text-decoration: none; }
.ld-mobile-note { margin: 0 auto; max-width: 420px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 15px; }

/* Capture du replayer : un clic ouvre la demo */
.ld-shot { margin: 0 0 72px; text-align: center; }
.ld-shot-link { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(79, 140, 255, .08); }
.ld-shot-link img { display: block; width: 100%; height: auto; transition: filter .2s; }
.ld-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 14px 26px; border-radius: 999px; background: var(--accent); color: #fff;
  font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s;
}
.ld-shot-link:hover img { filter: brightness(.7); }
.ld-shot-link:hover .ld-play, .ld-shot-link:focus-visible .ld-play { opacity: 1; }
.ld-caption { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

/* Atouts */
.ld-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 72px; }
.ld-features article { padding: 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.ld-features h2 { margin: 0 0 8px; font-size: 19px; }
.ld-features p { margin: 0; color: var(--muted); font-size: 15px; }

/* Comment ca marche */
.ld-steps { max-width: 720px; margin: 0 auto 72px; }
.ld-steps h2, .ld-faq h2 { margin: 0 0 20px; font-size: 28px; text-align: center; letter-spacing: -0.02em; }
.ld-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ld-steps li { position: relative; padding: 0 0 18px 52px; color: var(--muted); counter-increment: step; }
.ld-steps li strong { color: var(--text); }
.ld-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-weight: 700;
}
.ld-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

/* Prix */
.ld-price { display: flex; justify-content: center; margin: 0 0 72px; }
.ld-price-card {
  width: min(440px, 100%); padding: 32px; text-align: center;
  background: var(--card); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 60px rgba(79, 140, 255, .12);
}
.ld-price-card h2 { margin: 0 0 6px; font-size: 20px; }
.ld-amount { margin: 0 0 18px; color: var(--muted); }
.ld-amount strong { color: var(--text); font-size: 42px; letter-spacing: -0.02em; }
.ld-price-card ul { margin: 0 0 22px; padding: 0; list-style: none; text-align: left; }
.ld-price-card li { padding: 6px 0 6px 26px; position: relative; font-size: 15px; }
.ld-price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* Questions */
.ld-faq { max-width: 720px; margin: 0 auto 56px; }
.ld-faq details { border-bottom: 1px solid var(--line); }
.ld-faq summary { padding: 16px 0; cursor: pointer; font-weight: 600; }
.ld-faq summary::marker { color: var(--accent); }
.ld-faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

.ld-footer { text-align: center; color: var(--muted); font-size: 14px; }
.ld-footer p { margin: 0 0 6px; }

/* Fenetre de connexion */
.login-dlg { position: fixed; padding: 36px 32px; color: var(--text); }
.login-dlg::backdrop { background: rgba(5, 6, 16, 0.6); }

/* Demo : le bandeau du replayer propose de commencer */
body.demo .topbar .who { display: none; }

/* Telephone : une colonne, pas de demo ni d'abonnement (desktop-only) */
@media (max-width: 899px) {
  .ld-nav nav { gap: 14px; font-size: 13px; }
  .ld-hero { padding: 28px 0 24px; }
  .ld-hero h1 br { display: none; }
  .ld-lead { font-size: 16px; }
  .ld-cta.desktop-only { display: none; }
  .ld-shot { margin-bottom: 48px; }
  .ld-shot-link { border-radius: 10px; }
  .ld-features { grid-template-columns: 1fr; margin-bottom: 48px; }
  .ld-features article { padding: 20px; }
  .ld-steps, .ld-price { margin-bottom: 48px; }
  .ld-price-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .ld-nav nav a:nth-child(1) { display: none; }
}
