/* ==========================================================================
   LOOP — Tebex template, editorial theme (white, Switzer, thin lines, pills)
   Loaded after shared.css. Everything .lp-* lives here; shared.css keeps the
   basket / popup / form machinery and is restyled at the end of this file.
   ========================================================================== */

:root {
  --bg: #fff;
  --fg: #000;
  --muted: #545454;
  --gray: #6b6b6b; /* WCAG AA a 12 px : 5,3:1 sur blanc, 4,7:1 sur #f0f0f0 (#828282 tombait a 3,4) */
  --light: #b8b8b8;
  --line: #dedede;
  --line-2: #dedede;   /* contour des controles isoles */
  --line-hover: #cfcfcf; /* bordure au survol */
  --surface: #fafafa;
  --surface2: #f0f0f0;
  --dark: #111;
  --radius: 16px;
  --col: 1440px;
  --pad: 48px;
  --font: "Switzer", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 54px;

  /* Elevation : 5 niveaux, pas 26 ombres improvisees.
     1 pose · 2 flottant · 3 survol · 4 panneau · 5 media */
  --sh-1: 0 1px 2px rgba(0,0,0,.05);
  --sh-2: 0 10px 30px -14px rgba(0,0,0,.18);
  --sh-3: 0 24px 44px -24px rgba(0,0,0,.3);
  --sh-4: 0 30px 60px -40px rgba(0,0,0,.3);
  --sh-5: 0 40px 70px -40px rgba(0,0,0,.5);
}

/* Les jetons du stock pointent vers les variables de theme : declares sur body.lp
   (et non :root) sinon ils se figent sur les valeurs claires en theme sombre. */
body.lp {
  /* stock tokens follow the theme */
  --color-bg: var(--bg);
  --color-text: var(--fg);
  --color-text-secondary: var(--muted);
  --color-text-dark: #fff;
  --color-primary: var(--fg);
  --color-primary-hover: #222;
  --color-primary-text: #fff;
  --color-primary-text-hover: #fff;
  --color-brighter-bg: var(--surface);
  --color-secondary: var(--surface2);
  --color-secondary-hover: #e6e6e6;
  --color-secondary-text: var(--fg);
  --color-secondary-text-hover: var(--fg);
  --color-tertiary: transparent;
  --color-tertiary-hover: var(--surface2);
  --color-tertiary-text: var(--fg);
  --color-sale-banner-bg: var(--fg);
  --color-sale-banner-text: #fff;
  --widget-padding: 20px;
  --tebex-legal-footer-background-color: #0c0c0c;
  --tebex-legal-footer-border-color: #2b2b2b;
  --tebex-legal-footer-text-color: #8a8a8a;
  --tebex-legal-footer-logo-color: #8a8a8a;
}
@media (width <= 960px) { :root { --pad: 20px; } }

/* ---------- base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.lp {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: text;
}
body.lp .site.lp-site { display: block; gap: 0; min-height: calc(100vh - var(--tebex-footer-height)); font-size: 16px; }
/* Iteration 80 (pixel) : la remise a zero etait en « body.lp h1 » (specificite 0,1,1), plus forte que toute regle a une
   classe (« .v3-hero-title { margin: 22px 0 18px } ») : 14 marges voulues etaient annulees en silence, dont 0 px entre le
   titre du hero et son sous-titre. :where() la ramene a une specificite nulle : elle ne vaut plus que la ou rien d'autre
   ne fixe de marge. */
:where(body.lp) :where(h1, h2, h3, h4, p) { margin: 0; }
body.lp a { color: inherit; text-decoration: none; }
body.lp img { max-width: 100%; display: block; }
body.lp ::selection { background: #000; color: #fff; }
body.lp button { font-family: inherit; }

.lp-container { width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 var(--pad); }
.lp-block { padding: 96px 0; }
.lp-block-tight { padding: 48px 0; }
.lp-block + .lp-block { padding-top: 0; }

/* typography */
.lp-title { font-size: 72px; line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; margin-bottom: 40px; }
.lp-title-sm { font-size: 40px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; }
.lp-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 24px; }
.lp-label { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--gray); }
.lp-muted { color: var(--muted); }
.t-i { font-style: italic; font-weight: 500; }
.t-h { font-weight: 700; }
.t-m { font-weight: 500; color: var(--muted); }
.t-p { display: inline-block; background: var(--fg); color: #fff; border-radius: 999px; padding: 0.02em 0.34em 0.1em; font-style: normal; font-weight: 600; line-height: 1.05; vertical-align: baseline; }
.lp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.lp-section-head .lp-title { margin: 0; }

/* buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.05;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.lp-btn:active { transform: scale(.98); }
.lp-btn-dark { background: linear-gradient(180deg, #232323, #000); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.25), 0 10px 24px -12px rgba(0,0,0,.5); }
.lp-btn-dark:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.25), 0 14px 28px -12px rgba(0,0,0,.55); }
.lp-btn-light { background: #fff; color: var(--fg); border-color: var(--line-2); box-shadow: var(--sh-1); }
.lp-btn-light:hover { border-color: #bdbdbd; }
.lp-btn[disabled], .lp-btn:disabled, .lp-btn[disabled] { opacity: .45; cursor: not-allowed; }
.lp-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.lp-link-arrow i { font-size: 14px; transition: transform .2s; }
.lp-link-arrow:hover i { transform: translateX(3px); }
.lp-icon-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: #fff; color: var(--fg); cursor: pointer; transition: all .2s; font-size: 14px; }
.lp-icon-btn:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.lp-icon-btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--fg); border-color: var(--line); }

/* pills / tags / badges */
.lp-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.lp-badge { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: -0.01em; background: var(--fg); color: #fff; }
.lp-badge-outline { background: #fff; color: var(--fg); border: 1px solid var(--line); }

/* stock buttons (package actions, basket, forms) follow the theme */
body.lp .btn-primary, body.lp .btn-secondary, body.lp .btn-tertiary {
  height: 46px; line-height: 44px; padding: 0 20px; border-radius: 999px;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--fg); box-shadow: var(--sh-1);
}
body.lp .btn-primary { background: linear-gradient(180deg, #232323, #000); color: #fff; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.25), 0 10px 24px -12px rgba(0,0,0,.5); }
body.lp .btn-primary:hover, body.lp .btn-primary:focus { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 28px -12px rgba(0,0,0,.55); }
body.lp .btn-secondary:hover, body.lp .btn-tertiary:hover { border-color: #bdbdbd; background: #fff; }
body.lp .btn-glyph:not(.lp-btn) { background-image: none; }

/* ---------- announcement ---------- */

/* ---------- floating nav ---------- */
.lp-nav {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  max-width: calc(100% - 32px);
  padding: 6px 6px 6px 12px;
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--sh-2);
  transition: box-shadow .2s;
}
.lp-nav.is-open { box-shadow: var(--sh-2); }
@keyframes lp-dotwave { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-3px); opacity: 1; } }
.lp-lang { position: relative; }
.lp-lang .language-dropdown { position: absolute; top: calc(100% + 10px); right: 0; min-width: 170px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2); display: none; z-index: 70; }
.lp-lang.is-open .language-dropdown { display: block; }
.lp-lang .language-option { display: block; padding: 9px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.lp-lang .language-option:hover { background: var(--surface2); }
@media (width <= 960px) {
  .lp-nav { left: 16px; right: 16px; transform: none; max-width: none; justify-content: space-between; }
              }

/* ---------- hero ---------- */
.lp-reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.lp-reels:has(> .lp-reel:only-child) { grid-template-columns: 1fr; }
.lp-reels > .lp-reel:only-child { height: min(560px, 56vw); }
.lp-reel { position: relative; display: block; overflow: hidden; border-radius: 24px; background: #111; height: min(560px, 58vh); box-shadow: var(--sh-5); color: #fff; }
.lp-reel:nth-child(2) { transform: translateY(28px); }
.lp-reel img, .lp-reel video, .lp-reel iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.lp-lightbox { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.88); }
.lp-lightbox-inner { width: min(1120px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--sh-5); }
.lp-lightbox iframe { width: 100%; height: 100%; border: 0; }
.lp-lightbox-close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.45); color: #fff; font-size: 20px; line-height: 1.05; cursor: pointer; }
.lp-lightbox-close:hover { background: #fff; color: #000; }
.lp-reel-meta { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.lp-reel-meta strong { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.lp-reel-meta span { font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #000; text-shadow: none; }

/* ---------- marquee ---------- */
.lp-marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.lp-marquee::before, .lp-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.lp-marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.lp-marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.lp-marquee-track { display: flex; gap: 48px; width: max-content; animation: lp-marquee 40s linear infinite; padding: 0 8px; }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
.lp-marquee-item { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.lp-marquee-item .lp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.lp-marquee-item .t-m { font-weight: 500; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ---------- panel + features ---------- */
.lp-feature { border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 24px; background: #fff; transition: transform .2s, box-shadow .2s; }
.lp-feature:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--line-hover); }
.lp-feature h4 { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.02em; font-weight: 600; }
.lp-feature p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- product cards ---------- */
.lp-grid { display: grid; gap: 16px; }
.lp-grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-card { position: relative; display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,.08); border-radius: 24px; background: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--line-hover); }
.lp-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface2); }
.lp-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.lp-card:hover .lp-card-img { transform: scale(1.04); }
.lp-card-img-default { display: grid; place-items: center; color: var(--light); font-size: 40px; }
.lp-card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 2; }
.lp-badges-inline { position: static; margin-bottom: 16px; }
.lp-card-countdown, .lp-countdown { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: #000; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-countdown { position: static; display: inline-block; margin: 8px 0 16px; border: 1px solid var(--line-2); }
.lp-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 16px; flex: 1; }
.lp-card-title { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-card-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lp-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.lp-card-price { display: flex; flex-direction: column; line-height: 1.05; }
.lp-price-old { font-size: 12px; color: var(--gray); text-decoration: line-through; }
.lp-price-now, .lp-price-now strong { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-price-free { font-weight: 600; }

/* compact actions inside cards (markup from package-actions.twig, logic from main.js) */
.lp-actions-box.is-compact { display: flex; align-items: center; gap: 8px; }
.lp-actions-box.is-compact .lp-btn { height: 38px; padding: 0 16px; font-size: 14px; }
.lp-actions-box.is-compact .lp-qty { --btn-size: 34px; height: 38px; }
.lp-actions-box .quantity-field { border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--fg); }
.lp-actions-box .quantity-field .adjust { border: 0; background: transparent; width: 30px; height: 100%; line-height: 1.05; padding: 0; font-size: 16px; color: var(--fg); box-shadow: none; }
.lp-actions-box .quantity-field .open-basket { font-size: 14px; font-weight: 700; padding: 0 4px; background: transparent; border: 0; color: var(--fg); cursor: pointer; }
.lp-actions-box .quantity-field input[type=number] { background: transparent; border: 0; color: var(--fg); }
.lp-actions-box.updating { opacity: .6; pointer-events: none; }

/* skeleton */
.lp-card-skeleton { pointer-events: none; }
.lp-card-skeleton .lp-card-media { background: linear-gradient(90deg, #f3f3f3, #e9e9e9, #f3f3f3); background-size: 200% 100%; animation: lp-shimmer 1.4s infinite; }
.lp-skel { height: 12px; border-radius: 8px; background: #ececec; animation: lp-shimmer 1.4s infinite; }
.lp-skel-title { width: 70%; height: 16px; }
.lp-skel-text { width: 45%; }
.lp-skel-price { width: 30%; height: 20px; margin-top: 16px; }
@keyframes lp-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.lp-empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* ---------- categories row ---------- */
.lp-cats { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-cat { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 600; transition: all .2s; }
.lp-cat:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.lp-cat img, .lp-cat .lp-cat-icon { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--surface2); display: grid; place-items: center; color: var(--gray); font-size: 14px; flex: none; }
.lp-cat:hover .lp-cat-icon { background: #222; color: #fff; }
.lp-cat span.lp-label { margin-left: 2px; }
.lp-cat:hover .lp-label { color: #bbb; }

/* ---------- FAQ ---------- */

/* ---------- reviews marquee ---------- */
.lp-review { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; white-space: nowrap; }
.lp-review strong { font-weight: 700; }
.lp-review .lp-muted { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; }
.lp-review .lp-stars { color: var(--fg); font-size: 12px; letter-spacing: 1px; }

/* ---------- CTA card ---------- */

/* ---------- page head / toolbar ---------- */
.lp-page-head { padding: 112px 0 24px; }
.lp-breadcrumb { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; font-size: 14px; font-weight: 600; color: var(--gray); }
.lp-breadcrumb a:hover { color: var(--fg); }
.lp-breadcrumb i { font-size: 12px; }
.lp-breadcrumb span { color: var(--fg); }
.lp-page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lp-page-head .lp-title { margin-bottom: 0; }
.lp-page-desc { margin-top: 16px; max-width: 640px; color: var(--muted); font-size: 16px; }
.lp-count { font-size: 14px; font-weight: 600; color: var(--gray); padding-bottom: 12px; }
.lp-count strong { color: var(--fg); font-size: 16px; }
.lp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; transition: all .2s; }
.lp-chip:hover, .lp-chip.is-active { background: var(--fg); color: #fff; border-color: var(--fg); }
.lp-sort { display: inline-flex; align-items: center; gap: 12px; padding: 0 16px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; color: var(--gray); margin-left: auto; }
.lp-sort select { align-self: stretch; background: transparent; border: 0; color: var(--fg); font: inherit; font-weight: 600; outline: none; cursor: pointer; }
.lp-empty-state { text-align: center; padding: 72px 20px; border: 1px dashed var(--line-2); border-radius: 24px; color: var(--muted); }
.lp-empty-state i { font-size: 32px; margin-bottom: 12px; color: var(--light); }
.lp-empty-state p { margin: 0 0 16px; }

/* ---------- package page ---------- */
body.lp .store-product-full.lp-product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 40px; align-items: start; padding: 0; border: 0; background: none; }
.lp-product-gallery { min-width: 0; }
.lp-product-single { overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #111; aspect-ratio: 16 / 9; display: grid; place-items: center; box-shadow: var(--sh-5); }
.lp-product-single img { width: 100%; height: 100%; object-fit: cover; }
.lp-product-single.lp-card-img-default { background: var(--surface2); box-shadow: none; font-size: 56px; }
body.lp .media-slider { display: flex; flex-direction: column; gap: 12px; }
body.lp .media-slider .slider { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #111; aspect-ratio: 16 / 10; box-shadow: var(--sh-5); }
body.lp .media-slider .slide-image, body.lp .media-slider .slide-frame { width: 100%; height: 100%; object-fit: cover; }
body.lp .media-slider .thumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; overflow-x: auto; }
body.lp .media-slider .thumb { flex: none; width: 96px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
body.lp .media-slider .thumb.active, body.lp .media-slider .thumb:hover { opacity: 1; border-color: var(--fg); }
body.lp .media-slider .thumb img { width: 100%; height: 100%; object-fit: cover; }
body.lp .media-slider .open-lightbox { align-self: flex-start; }
.lp-buybox { position: sticky; top: 90px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--sh-4); }
.lp-product-title { font-size: clamp(24px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; margin-bottom: 12px; }
.lp-buybox .lp-card-tags { margin: 8px 0 24px; font-size: 14px; }
.lp-buybox .lp-actions-box { display: flex; flex-wrap: wrap; gap: 12px; }
/* Iteration 39 (defauts pixel) : shared.css donne `flex: 0 1 240px` aux boutons .wide ; sous 480 px le conteneur passe
   en colonne et ces 240 px devenaient la HAUTEUR du bouton (bloc blanc de 240 px a 375 px), et au-dessus il restait
   coince a 240 px de large malgre width:100%. flex-basis auto rend la main a width:100%. */
.lp-buybox .lp-actions-box .wide { flex: 0 0 auto; width: 100%; }
.lp-buybox .lp-actions-box .half { flex: 1 1 calc(50% - 5px); }
.lp-price-line { display: flex; align-items: baseline; gap: 12px; width: 100%; margin: 0 0 8px; }
.lp-price-line .lp-price-now, .lp-price-line .lp-price-now strong { font-size: 40px; letter-spacing: -0.05em; }
.lp-price-line .lp-price-old { font-size: 16px; }
.lp-price-line .lp-badge { align-self: center; }
.lp-buybox-list { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.lp-buybox-list li { display: flex; gap: 12px; align-items: flex-start; }
.lp-buybox-list i { width: 18px; color: var(--fg); margin-top: 3px; font-size: 14px; }
.lp-buybox-foot { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.lp-link-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.lp-link-btn:hover { color: var(--fg); }
.lp-product-desc { grid-column: 1; padding-top: 16px; }
.lp-product-desc .lp-title-sm { margin-bottom: 16px; }
.lp-prose { color: #333; font-size: 16px; line-height: 1.55; max-width: 600px; }
.lp-prose img { border-radius: 16px; }
.lp-prose h1, .lp-prose h2, .lp-prose h3 { margin: 24px 0 12px; letter-spacing: -0.03em; }
/* Iteration 80 : la marge haute des titres revient (remise a zero en :where) ; pas au-dessus du premier bloc. */
.lp-prose > :first-child { margin-top: 0; }
.lp-prose ul, .lp-prose ol { padding-left: 20px; }
.lp-prose a { text-decoration: underline; }
.lp-related { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */

/* ---------- popups / basket / forms (shared.css machinery) ---------- */
body.lp .popup-content, body.lp .store-form { font-family: var(--font); }
body.lp .popup-content { border-radius: 24px; border: 1px solid var(--line); background: #fff; color: var(--fg); box-shadow: var(--sh-4); }
body.lp .popup .basket, body.lp .basket-title, body.lp .popup h2, body.lp .popup h3, body.lp .popup h4 { color: var(--fg); letter-spacing: -0.03em; }
body.lp .basket-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--fg); }
body.lp .basket-checkout .checkout { width: 100%; height: 52px; line-height: 50px; font-size: 16px; }
body.lp input[type=text], body.lp input[type=email], body.lp input[type=password], body.lp input[type=number], body.lp input[type=search], body.lp select, body.lp textarea {
  font-family: var(--font); border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--fg);
}
body.lp input:focus, body.lp select:focus, body.lp textarea:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
body.lp .toast { border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--fg); font-family: var(--font); }
body.lp .store-form, body.lp .store-product-options { max-width: 560px; margin: 120px auto 60px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--fg); }
body.lp .site-content { display: block; padding: 100px var(--pad) 0; max-width: var(--col); margin: 0 auto; }
body.lp .store-sidebar { display: none; }
body.lp .widget { border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--fg); }
body.lp .popup::before { background: rgba(0,0,0,.35); }

/* ---------- specificity fixes against shared.css / body.lp a ---------- */
body.lp a.lp-btn-dark, body.lp .lp-btn-dark, body.lp a.lp-btn-dark:hover { color: #fff; }
body.lp a.lp-reel, body.lp a.lp-reel:hover { color: #fff; }
body.lp .store-product .product-title, body.lp .store-product h1, body.lp .store-product h2, body.lp .store-product .price, body.lp .store-product .descr, body.lp .store-product .lp-prose { color: var(--fg); }
body.lp .store-product .discount, body.lp .store-product .lp-price-old { color: var(--gray); }
body.lp .store-product .product-title.lp-product-title { font-size: clamp(24px, 3vw, 40px); font-weight: 500; }

/* ==========================================================================
   DARK THEME — same editorial layout, monochrome (Appearance > Theme, or ?theme=dark|light)
   ========================================================================== */
body.lp.theme-dark {
  --bg: #0c0c0c;
  --fg: #fff;
  --muted: #a3a3a3;
  --gray: #8a8a8a;
  --light: #5a5a5a;
  --line: #262626;
  --line-2: #333;
  --line-hover: #3a3a3a;
  --surface: #131313;
  --surface2: #1d1d1d;
  --dark: #050505;
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 10px 30px -14px rgba(0,0,0,.8);
  --sh-3: 0 24px 44px -24px rgba(0,0,0,.8);
  --sh-4: 0 30px 60px -40px rgba(0,0,0,.9);
  --sh-5: 0 40px 70px -40px rgba(0,0,0,.9);
  --color-text-dark: #000;
  --color-primary: #fff;
  --color-primary-hover: #e6e6e6;
  --color-primary-text: #000;
  --color-primary-text-hover: #000;
  --color-secondary-hover: #2a2a2a;
  --color-tertiary-hover: var(--surface2);
  --color-sale-banner-bg: #fff;
  --color-sale-banner-text: #000;
  --tebex-legal-footer-background-color: #050505;
  --tebex-legal-footer-border-color: #1f1f1f;
}
body.lp.theme-dark ::selection { background: #fff; color: #000; }
.theme-dark .t-p { background: #fff; color: #000; }
body.lp.theme-dark .lp-btn-dark, body.lp.theme-dark a.lp-btn-dark, body.lp.theme-dark a.lp-btn-dark:hover, body.lp.theme-dark .lp-btn-dark:hover { background: #fff; color: #000; box-shadow: 0 10px 24px -12px rgba(255,255,255,.35); }
.theme-dark .lp-btn-dark:hover { box-shadow: 0 14px 28px -12px rgba(255,255,255,.45); }
.theme-dark .lp-btn-light { background: transparent; color: #fff; box-shadow: none; }
.theme-dark .lp-btn-light:hover { border-color: #666; }
.theme-dark .lp-icon-btn { background: transparent; color: #fff; }
.theme-dark .lp-icon-btn:hover { background: #fff; color: #000; border-color: #fff; }
.theme-dark .lp-tag { background: transparent; color: var(--muted); }
.theme-dark .lp-badge { background: #fff; color: #000; }
.theme-dark .lp-badge-outline { background: rgba(0,0,0,.6); color: #fff; border-color: #444; }
body.lp.theme-dark .btn-primary { background: #fff; color: #000; border-color: transparent; box-shadow: 0 10px 24px -12px rgba(255,255,255,.35); }
body.lp.theme-dark .btn-primary:hover, body.lp.theme-dark .btn-primary:focus { color: #000; box-shadow: 0 14px 28px -12px rgba(255,255,255,.45); }
body.lp.theme-dark .btn-secondary, body.lp.theme-dark .btn-tertiary { background: transparent; color: #fff; border-color: var(--line-2); box-shadow: none; }
body.lp.theme-dark .btn-secondary:hover, body.lp.theme-dark .btn-tertiary:hover { background: transparent; border-color: #666; }
.theme-dark .lp-nav { background: rgba(18,18,18,.94); border-color: var(--line); }
.theme-dark .lp-lang .language-dropdown { background: #141414; border-color: var(--line); }

.theme-dark .lp-reel { background: #161616; }
.theme-dark .lp-marquee::before { background: linear-gradient(90deg, var(--bg), rgba(12,12,12,0)); }
.theme-dark .lp-marquee::after { background: linear-gradient(270deg, var(--bg), rgba(12,12,12,0)); }
.theme-dark .lp-marquee-item .lp-dot { background: #fff; }
.theme-dark .lp-feature, .theme-dark .lp-card, .theme-dark .lp-buybox, .theme-dark .lp-review { background: #151515; border-color: rgba(255,255,255,.08); }
.theme-dark .lp-feature:hover, .theme-dark .lp-card:hover { border-color: var(--line-hover); }
.theme-dark .lp-card-media { background: #1a1a1a; }
.theme-dark .lp-card-img-default { color: #3a3a3a; }
.theme-dark .lp-card-countdown { background: rgba(0,0,0,.75); color: #fff; }
.theme-dark .lp-card-skeleton .lp-card-media { background: linear-gradient(90deg, #171717, #222, #171717); background-size: 200% 100%; }
.theme-dark .lp-skel { background: #222; }
.theme-dark .lp-actions-box .quantity-field { background: transparent; border-color: var(--line-2); }
.theme-dark .lp-cat { background: transparent; }
.theme-dark .lp-cat:hover { background: #fff; color: #000; border-color: #fff; }
.theme-dark .lp-cat .lp-cat-icon { background: #262626; color: #aaa; }
.theme-dark .lp-cat:hover .lp-cat-icon { background: #e6e6e6; color: #000; }
.theme-dark .lp-cat:hover .lp-label { color: #555; }
.theme-dark .lp-chip { background: transparent; }
.theme-dark .lp-chip:hover, .theme-dark .lp-chip.is-active { background: #fff; color: #000; border-color: #fff; }
.theme-dark .lp-sort { background: transparent; }
.theme-dark .lp-sort select option { background: #141414; }
.theme-dark .lp-product-single { border-color: var(--line); }
.theme-dark .lp-product-single.lp-card-img-default { background: #1a1a1a; }
.theme-dark .lp-buybox-list i { color: #fff; }
.theme-dark .lp-prose { color: #d0d0d0; }
body.lp.theme-dark .media-slider .slider { border-color: var(--line); }
body.lp.theme-dark .media-slider .thumb.active, body.lp.theme-dark .media-slider .thumb:hover { border-color: #fff; }
body.lp.theme-dark .popup-content, body.lp.theme-dark .basket-item, body.lp.theme-dark .toast, body.lp.theme-dark .store-form, body.lp.theme-dark .store-product-options, body.lp.theme-dark .widget { background: #141414; border-color: var(--line); color: #fff; }
body.lp.theme-dark input[type=text], body.lp.theme-dark input[type=email], body.lp.theme-dark input[type=password], body.lp.theme-dark input[type=number], body.lp.theme-dark input[type=search], body.lp.theme-dark select, body.lp.theme-dark textarea { background: #0c0c0c; border-color: var(--line-2); color: #fff; }
body.lp.theme-dark input:focus, body.lp.theme-dark select:focus, body.lp.theme-dark textarea:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
body.lp.theme-dark .popup::before { background: rgba(0,0,0,.7); }

/* ---------- motion ---------- */
/* Iteration 87 : masquage reserve a .lp-js (pose en tete si JS tourne). Filet : si loop.js n a pas pris la main (lp-reveal-on) en 3 s, tout s affiche. */
.lp-js .lp-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease var(--lp-delay, 0ms), transform .6s cubic-bezier(.16,1,.3,1) var(--lp-delay, 0ms); }
.lp-js .lp-reveal.in { opacity: 1; transform: none; }
.lp-js:not(.lp-reveal-on) .lp-reveal { animation: lp-reveal-failsafe .4s ease 3s forwards; }
@keyframes lp-reveal-failsafe { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .lp-js .lp-reveal, .lp-js:not(.lp-reveal-on) .lp-reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .lp-marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (width <= 1200px) {
  .lp-grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-title { font-size: 56px; }
}
@media (width <= 960px) {
                .lp-reels { gap: 8px; }
  .lp-reel { height: min(360px, 50vh); border-radius: 16px; }
  .lp-reel:nth-child(2) { transform: translateY(12px); }
  .lp-title { font-size: 40px; margin-bottom: 28px; }
  .lp-title-sm { font-size: 32px; }
  .lp-section-head { flex-direction: column; align-items: flex-start; }
        body.lp .store-product-full.lp-product { grid-template-columns: 1fr; }
  .lp-buybox { position: static; }
  .lp-block { padding: 64px 0; }
      .lp-page-head { padding-top: 96px; }
}
@media (width <= 720px) {
  .lp-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lp-card-body { padding: 12px 16px 16px; }
  .lp-card-footer { flex-direction: column; align-items: stretch; }
  .lp-actions-box.is-compact .lp-btn { width: 100%; }
  }
@media (width <= 480px) {
  .lp-grid-cards { grid-template-columns: 1fr; }
  .lp-reels { grid-template-columns: 1fr 1fr; }
  .lp-reel:nth-child(3) { display: none; }
}

/* ---------- journal des mises a jour ---------- */

/* ---------- avis par produit ---------- */
.lp-pkg-reviews { display: grid; gap: 12px; margin-bottom: 28px; }
.lp-pkg-review { margin: 0; padding: 16px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.lp-pkg-review p { margin: 8px 0 12px; font-size: 16px; line-height: 1.55; }
.lp-pkg-review cite { font-style: normal; font-weight: 600; font-size: 14px; }
.theme-dark .lp-pkg-review { background: #141414; border-color: var(--line); }

/* ---------- bundles en cartes ---------- */
.lp-bundle-grid { margin-top: 16px; }

/* ---------- fiche produit : video + prerequis ---------- */
.lp-video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.theme-dark .lp-video { border-color: var(--line); }

/* ---------- recherche instantanee ---------- */
.lp-search { display: inline-flex; align-items: center; gap: 12px; padding: 0 16px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; color: var(--gray); margin-left: auto; }
.lp-search i { font-size: 12px; }
.lp-search input { align-self: stretch; width: 190px; max-width: 42vw; background: transparent; border: 0; color: var(--fg); font: inherit; font-weight: 600; outline: none; }
.lp-search input::placeholder { color: var(--light); font-weight: 500; }
.lp-search input::-webkit-search-cancel-button { filter: grayscale(1); cursor: pointer; }
.lp-search:focus-within { border-color: var(--fg); }
.lp-search + .lp-sort { margin-left: 0; }
.lp-no-result { padding: 48px 0 8px; font-size: 16px; color: var(--muted); }
.theme-dark .lp-search { background: transparent; }

/* ---------- logo detoure ---------- */
/* La marque est creme/doree : sur blanc elle disparait, on l'encre en noir en theme clair. */

/* ---------- accessibilite clavier ---------- */
.lp-skip { position: fixed; top: -100px; left: 16px; z-index: 10000; padding: 12px 16px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; transition: top .15s; }
.lp-skip:focus { top: 16px; }
body.lp :focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
body.lp .lp-sort select:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }
body.lp a.lp-skip { color: var(--bg); }
body.lp a.lp-skip:focus-visible { outline-color: var(--bg); outline-offset: -6px; }

/* ---------- cibles tactiles (mesure iframe 390 px, 2026-09-16) ---------- */
@media (width <= 720px) {
      .lp-breadcrumb a { display: inline-flex; align-items: center; min-height: 30px; }
  .lp-link-btn { min-height: 36px; }
  .lp-card-title a { display: block; }
}

/* ============================================================
   Passe UI/UX du 2026-09-20 — cibles tactiles, rythme, chiffres
   Reference : WCAG 2.5.5 (Target Size), Apple HIG 44pt, Material 48dp
   ============================================================ */

/* 1. Cibles tactiles : 44 px partout, y compris au-dessus de 720 px.
      Mesure du 20/09 : 35 des 56 elements interactifs etaient sous la cible,
      dont le bouton d'achat des cartes a 30x38. */
.lp-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 2. Extrait de carte : 16 px sur mobile, pour la lisibilite et contre l'auto-zoom iOS.
      La taille de base est posee avec le reste de la carte. */
@media (max-width: 767px) {
  .lp-card-excerpt { font-size: 16px; }
}

/* 3. Prix en chiffres tabulaires : les montants s'alignent en colonne
      et ne sautillent plus au changement de devise ou de remise. */
.lp-card-price, .lp-price {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
/* 4. Avis defilants : un bouton de pause. Le survol ne pause que pour une souris ;
      WCAG 2.2.2 demande un mecanisme atteignable au clavier et au doigt. */
.lp-marquee-track.is-paused { animation-play-state: paused; }



/* ---------- lp-vente (2026-09-25) : prix barres, formules, editions, bundles ---------- */
.lp-per-month { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--gray); letter-spacing: 0; }
.lp-badge-save { background: var(--fg); color: var(--bg); }
.lp-price-line .lp-price-old { margin-right: 8px; font-size: 14px; }
.lp-price-line .lp-per-month { font-size: 13px; }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.lp-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.lp-plan:hover { border-color: var(--line-hover); transform: translateY(-2px); }
.lp-plan.is-featured { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.lp-plan-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.lp-plan-name { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.lp-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 6px; }
.lp-plan-price small { font-size: 12px; color: var(--gray); }
.lp-plan-price .lp-price-now strong { font-size: 32px; }
.lp-plan-price .lp-price-old { font-size: 14px; }
.lp-plan-note { font-size: 13px; font-weight: 600; color: var(--muted); }
.lp-plan-desc { font-size: 14px; line-height: 1.5; color: var(--gray); flex: 1; }
.lp-plan .lp-btn { margin-top: auto; align-self: flex-start; }
.lp-upsell { display: grid; gap: 12px; margin-top: 16px; }
.lp-editions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.lp-edition { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; font-size: 13px; }
.lp-edition strong { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-edition.is-active { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
a.lp-edition:hover { border-color: var(--line-hover); }
.lp-upsell-bundle { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 14px; color: inherit; text-decoration: none; }
.lp-upsell-bundle:hover { border-style: solid; border-color: var(--line-hover); }
.lp-upsell-bundle strong { font-size: 15px; font-weight: 600; }
.lp-upsell-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-upsell-price .lp-badge { padding: 4px 10px; }
@media (max-width: 720px) { .lp-plan { padding: 22px; } .lp-plan-price .lp-price-now strong { font-size: 28px; } }

html.lp-halloween body.lp { --hw: #e8892b; --hw-fonce: #c96a14; --hw-texte: #a8510f; }
html.lp-halloween body.lp.theme-dark { --hw-texte: #f6b871; }
html.lp-halloween body.lp ::selection { background: #f6b871; color: #1a0d02; }
html.lp-halloween body.lp .lp-btn-dark, html.lp-halloween body.lp a.lp-btn-dark, html.lp-halloween body.lp.theme-dark .lp-btn-dark, html.lp-halloween body.lp.theme-dark a.lp-btn-dark { background: linear-gradient(180deg, #f09a3e, var(--hw-fonce)); color: #1a0d02; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 2px rgba(0,0,0,.25), 0 10px 24px -12px rgba(201,106,20,.7); }
html.lp-halloween body.lp .lp-btn-dark:hover, html.lp-halloween body.lp a.lp-btn-dark:hover, html.lp-halloween body.lp.theme-dark .lp-btn-dark:hover, html.lp-halloween body.lp.theme-dark a.lp-btn-dark:hover { background: linear-gradient(180deg, #f6b871, var(--hw)); color: #1a0d02; }
html.lp-halloween body.lp .lp-kicker, html.lp-halloween body.lp .lp-stars { color: var(--hw-texte); }
