/* ------------------------------------------------------------------
   Site vitrine Karat — mise en page inspirée des grandes plateformes
   e-commerce : héro vidéo, étapes, fonctionnalités en onglets, thèmes,
   preuve réelle, livraison. Toutes les images sont de vraies captures.
   ------------------------------------------------------------------ */

/* Cadres réutilisables pour les captures */
.lp-browser { border-radius: 14px; overflow: hidden; background: #111; border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(212, 175, 55, .06); }
.lp-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #161616; border-bottom: 1px solid #262626; }
.lp-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.lp-bar i:nth-child(1) { background: #ff5f57; } .lp-bar i:nth-child(2) { background: #febc2e; } .lp-bar i:nth-child(3) { background: #28c840; }
.lp-bar span { margin-left: 12px; flex: 1; height: 20px; border-radius: 10px; background: #0d0d0d; color: var(--text-mute); font-size: .72rem; display: flex; align-items: center; padding-left: 12px; overflow: hidden; white-space: nowrap; }
.lp-browser img { display: block; width: 100%; height: auto; }
.lp-phone { position: relative; width: 100%; max-width: 270px; margin: 0 auto; padding: 9px; border-radius: 40px; background: #0a0a0a; box-shadow: 0 0 0 2px #2e2e2e, 0 0 0 5px #141414, 0 40px 80px -30px rgba(0, 0, 0, .8); }
.lp-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 32px; }

/* Héro */
.lp-hero { position: relative; padding: 150px 0 70px; overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; background: radial-gradient(50% 50% at 70% 40%, rgba(212, 175, 55, .22), transparent 70%); pointer-events: none; }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-family: var(--serif); font-size: clamp(2.3rem, 3.6vw, 3.4rem); line-height: 1.02; margin: 14px 0 22px; }
.lp-lead { color: var(--text-dim); font-size: 1.12rem; line-height: 1.65; max-width: 540px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 14px; }
.lp-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-trust li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--text-dim); background: var(--bg-soft); }
.lp-video { border-radius: 18px; overflow: hidden; border: 1px solid rgba(212, 175, 55, .25); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(212, 175, 55, .35); background: #0b0b0b; aspect-ratio: 16 / 10; }
.lp-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-caption { margin-top: 12px; text-align: center; font-size: .78rem; color: var(--text-mute); }

/* Étapes */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.lp-step { text-align: center; }
.lp-step .lp-phone { max-width: 210px; margin-bottom: 22px; }
.lp-num { display: inline-block; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-step h3 { font-family: var(--serif); font-size: 1.45rem; margin: 4px 0 8px; }
.lp-step p { color: var(--text-dim); font-size: .95rem; line-height: 1.55; }

/* Fonctionnalités en onglets */
.lp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.lp-tab { border: 1px solid var(--line); background: var(--bg-soft); color: var(--text-dim); font: inherit; font-size: .95rem; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.lp-tab:hover { color: var(--text); border-color: rgba(212, 175, 55, .45); }
.lp-tab.on { background: var(--gold-grad); color: #141414; border-color: transparent; font-weight: 600; }
.lp-panel { display: none; grid-template-columns: .8fr 1.5fr; gap: 48px; align-items: center; }
.lp-panel.on { display: grid; animation: lpFade .45s var(--ease); }
@keyframes lpFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lp-panel h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 18px; }
.lp-panel ul, .lp-checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.lp-panel li, .lp-checks li { position: relative; padding-left: 28px; color: var(--text-dim); line-height: 1.5; }
.lp-panel li::before, .lp-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* Thèmes */
.lp-themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.lp-theme { margin: 0; text-align: center; }
.lp-theme .lp-phone { max-width: 190px; padding: 7px; border-radius: 30px; }
.lp-theme .lp-phone img { border-radius: 24px; }
.lp-theme figcaption { margin-top: 14px; display: grid; gap: 2px; }
.lp-theme figcaption b { font-family: var(--serif); font-size: 1.2rem; }
.lp-theme figcaption span { font-size: .82rem; color: var(--text-mute); }

/* Blocs texte + image */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lp-split h2 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 10px 0 16px; }
.lp-split p { color: var(--text-dim); line-height: 1.65; margin-bottom: 22px; }
.lp-split-media .lp-phone { max-width: 290px; }
.lp-livreur { background: radial-gradient(60% 70% at 80% 50%, rgba(31, 184, 116, .14), transparent 70%); }
.lp-green { color: #3fd690 !important; }
.lp-livreur .lp-checks li::before { color: #3fd690; }

/* Responsive */
@media (max-width: 1100px) {
  .lp-themes { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
}
@media (max-width: 900px) {
  .lp-hero { padding: 120px 0 50px; }
  .lp-hero-grid, .lp-panel.on, .lp-split { grid-template-columns: 1fr; gap: 34px; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .lp-livreur .lp-split-media { order: -1; }
  .lp-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .lp-tab { flex: none; }
}
@media (max-width: 560px) {
  .lp-steps { grid-template-columns: 1fr; }
  .lp-themes { grid-template-columns: repeat(2, 1fr); }
  .lp-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .lp-panel.on { animation: none; } }
.lp-nowrap { white-space: nowrap; } @media (max-width: 560px) { .lp-nowrap { white-space: normal; } }
