/*
 * Landing TakeTheForce.
 * Organisation: 1. thème  2. base  3. navigation  4. boutons  5. hero  6. captures d'écran
 *               7. sections  8. cartes  9. étapes  10. calculateur 1RM  11. roadmap et actualités
 *               12. appel final et pied de page  13. animations  14. générateur de programme  15. mise en page  16. FAQ  17. confidentialité
 * Toutes les classes spécifiques sont préfixées `lp-` pour ne jamais entrer en conflit avec Bootstrap.
 */

/* ============================================================================================ 1. Thème */

[data-bs-theme="dark"] {
  --lp-bg: #0a0c10;
  --lp-bg-alt: #0e1117;
  --lp-surface: #141821;
  --lp-surface-2: #1a1f2b;
  --lp-border: rgba(255, 255, 255, .09);
  --lp-text: #eef0f5;
  --lp-muted: #9aa3b5;
  --lp-accent: #4fdad4;            /* turquoise clair: couleur de marque (comme la SPA) */
  --lp-accent-ink: #0a0c10;        /* texte posé sur l'accent */
  --lp-accent-text: #4fdad4;       /* accent utilisé comme couleur de texte */
  --lp-accent-2: #7c5cff;
  --lp-glow: rgba(79, 218, 212, .16);
  --lp-glow-2: rgba(124, 92, 255, .20);
  --lp-grid: rgba(255, 255, 255, .045);
  --lp-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7);
  --lp-gradient: linear-gradient(95deg, #4fdad4 0%, #38bdf8 55%, #7c5cff 100%);
  --lp-menu-bg: #05070b;           /* menu mobile: plus sombre et opaque que la page */
}

[data-bs-theme="light"] {
  --lp-bg: #f6f7fa;
  --lp-bg-alt: #eceef3;
  --lp-surface: #ffffff;
  --lp-surface-2: #f1f3f7;
  --lp-border: rgba(10, 12, 16, .10);
  --lp-text: #0f1218;
  --lp-muted: #566074;
  --lp-accent: #34c3bd;
  --lp-accent-ink: #0a0c10;
  --lp-accent-text: #0a7471;       /* accent assez foncé pour être lisible sur fond clair */
  --lp-accent-2: #5b3df0;
  --lp-glow: rgba(52, 195, 189, .22);
  --lp-glow-2: rgba(91, 61, 240, .14);
  --lp-grid: rgba(10, 12, 16, .05);
  --lp-shadow: 0 30px 60px -28px rgba(20, 30, 60, .35);
  --lp-gradient: linear-gradient(95deg, #0a7471 0%, #0369a1 55%, #5b3df0 100%);
  --lp-menu-bg: #ffffff;
}

/* ============================================================================================= 2. Base */

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body.lp {
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lp a { color: var(--lp-accent-text); }
.lp ::selection { background: var(--lp-accent); color: var(--lp-accent-ink); }
.lp :focus-visible { outline: 2px solid var(--lp-accent-text); outline-offset: 3px; border-radius: 6px; }

.lp-skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 2000;
  background: var(--lp-accent); color: var(--lp-accent-ink) !important; padding: .6rem 1rem; border-radius: .5rem;
  font-weight: 700; text-decoration: none;
}
.lp-skip:focus { top: .75rem; }

.lp-eyebrow {
  display: inline-block; margin-bottom: .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lp-accent-text);
}
.lp-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.lp-section-alt { background: var(--lp-bg-alt); }
.lp-section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 1rem;
}
.lp-section-lead { color: var(--lp-muted); font-size: 1.125rem; max-width: 40rem; }
.lp-gradient-text {
  background: var(--lp-gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ====================================================================================== 3. Navigation */

.lp-nav {
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.lp-nav.is-scrolled, .lp-nav:has(.navbar-collapse.show) {
  background: color-mix(in srgb, var(--lp-bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--lp-border);
}
.lp-brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 900; letter-spacing: .08em; color: var(--lp-text) !important; text-decoration: none;
}
.lp-brand i { color: var(--lp-accent-text); font-size: 1.15em; }
.lp-nav .nav-link { color: var(--lp-muted); font-weight: 600; }
.lp-nav .nav-link:hover, .lp-nav .nav-link:focus-visible { color: var(--lp-text); }
/* Bouton du menu (téléphone): bordure et barres bien visibles dans les deux thèmes. Bootstrap fournit déjà une icône claire en thème
   sombre: ne pas l'inverser (elle devenait noire sur fond noir). Les couleurs sont celles du texte de la page, à pleine opacité. */
.lp-nav .navbar-toggler { border-color: var(--lp-toggler-border); border-width: 1.5px; color: var(--lp-text); }
[data-bs-theme="dark"] .lp-nav { --lp-toggler-border: rgba(255, 255, 255, .45); }
[data-bs-theme="light"] .lp-nav { --lp-toggler-border: rgba(10, 12, 16, .45); }
[data-bs-theme="dark"] .lp-nav .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23eef0f5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
[data-bs-theme="light"] .lp-nav .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f1218' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Même marge latérale que le contenu de la page (le conteneur Bootstrap la perd sur .navbar). */
.lp-nav .navbar { padding-left: .75rem; padding-right: .75rem; }
/* Le menu garde chaque entrée sur une ligne; il se replie sous 1200 px (six entrées ne tiennent pas dans 960 px). */
.lp-nav .nav-link, .lp-nav .lp-btn { white-space: nowrap; }
/* Mobile: le menu se déploie PAR-DESSUS la page (position absolue), avec un fond opaque et plus sombre. */
@media (max-width: 1199.98px) {
  .lp-nav .navbar-collapse {
    position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 4rem); overflow-y: auto;
    background: var(--lp-menu-bg); border-bottom: 1px solid var(--lp-border); box-shadow: var(--lp-shadow);
    padding: .5rem 1.25rem 1.5rem;
  }
  .lp-nav .navbar-nav { align-items: stretch; }
  .lp-nav .nav-link { padding: .8rem 0; }
}

.lp-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; padding: 0;
  background: transparent; border: 1px solid var(--lp-border); color: var(--lp-text);
  transition: background .2s, border-color .2s;
}
.lp-icon-btn:hover { background: var(--lp-surface); border-color: var(--lp-accent-text); }
[data-bs-theme="dark"] .lp-icon-light, [data-bs-theme="light"] .lp-icon-dark { display: none; }

.lp-nav .dropdown-menu {
  --bs-dropdown-bg: var(--lp-surface); --bs-dropdown-border-color: var(--lp-border);
  --bs-dropdown-link-color: var(--lp-text); --bs-dropdown-link-hover-bg: var(--lp-surface-2);
  --bs-dropdown-link-hover-color: var(--lp-text); --bs-dropdown-link-active-bg: var(--lp-accent);
  --bs-dropdown-link-active-color: var(--lp-accent-ink);
  border-radius: .9rem; box-shadow: var(--lp-shadow);
}

/* ============================================================================================ 4. Boutons */

.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none !important; line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }
.lp-btn-lg { padding: 1.05rem 2.1rem; font-size: 1.08rem; }
.lp .lp-btn-primary { background: var(--lp-accent); color: var(--lp-accent-ink); box-shadow: 0 8px 28px -8px var(--lp-glow); }
.lp .lp-btn-primary:hover { box-shadow: 0 12px 36px -6px var(--lp-accent); }
.lp .lp-btn-ghost { background: transparent; color: var(--lp-text); border-color: var(--lp-border); }
.lp .lp-btn-ghost:hover { border-color: var(--lp-accent-text); background: var(--lp-surface); }

/* ============================================================================================== 5. Hero */

.lp-hero { position: relative; overflow: hidden; padding: clamp(7.5rem, 15vw, 10.5rem) 0 clamp(4rem, 8vw, 6rem); }
.lp-hero::before {  /* lueurs colorées */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 50% at 78% 18%, var(--lp-glow), transparent 70%),
    radial-gradient(45% 45% at 8% 85%, var(--lp-glow-2), transparent 70%);
}
.lp-hero::after {   /* grille qui s'estompe vers les bords */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--lp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--lp-grid) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
}
.lp-hero > .container { position: relative; z-index: 1; }

.lp-hero-title {
  font-size: clamp(2.6rem, 5.8vw, 5.2rem); font-weight: 900; line-height: 1; letter-spacing: -.045em;
  margin-bottom: 1.4rem;
}
.lp-hero-title span { display: block; }
.lp-hero-lead { color: var(--lp-muted); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34rem; margin-bottom: 2rem; }
.lp-hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 2.2rem 0 0; color: var(--lp-muted); font-size: .92rem; }
.lp-hero-points i { color: var(--lp-accent-text); margin-right: .4rem; }

/* ============================================================================ 6. Captures d'écran réelles */

/* Trois captures de l'application dans des cadres de téléphone: celle du centre est la principale. */
.lp-phones { position: relative; display: flex; justify-content: center; align-items: center; padding: 1.5rem 0; }
.lp-phone {
  width: min(270px, 66vw); padding: 10px; border-radius: 42px;
  background: linear-gradient(160deg, var(--lp-surface-2), var(--lp-surface));
  border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow), 0 0 80px -20px var(--lp-glow);
}
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 32px; background: var(--lp-bg); }
.lp-phone-main { position: relative; z-index: 2; animation: lp-float 7s ease-in-out infinite; }
.lp-phone-side { position: absolute; z-index: 1; width: min(215px, 48vw); top: 9%; }
.lp-phone-left { left: 0; transform: rotate(-8deg); }
.lp-phone-right { right: 0; transform: rotate(8deg); }
@media (max-width: 991.98px) { .lp-phone-side { display: none; } }  /* sur mobile: la capture principale seule */
/* ============================================================================================ 7. Sections */

/* Conteneurs étroits (actualités, page de l'outil 1RM) et hero réduit. */
.lp-narrow { max-width: 52rem; }
.lp-narrow-sm { max-width: 46rem; }
.lp-hero-compact { padding-bottom: 3rem; }

/* En-tête de section (sur-titre, titre, chapeau). */
.lp-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.lp-head.text-center .lp-section-lead { margin-inline: auto; }

/* =============================================================================================== 8. Cartes */

.lp-card {
  position: relative; height: 100%; padding: 1.7rem; border-radius: 1.4rem;
  background: var(--lp-surface); border: 1px solid var(--lp-border);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.lp-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--lp-accent-text) 55%, var(--lp-border)); box-shadow: var(--lp-shadow); }
.lp-card-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.2rem; border-radius: .9rem;
  background: color-mix(in srgb, var(--lp-accent) 18%, transparent); color: var(--lp-accent-text); font-size: 1.35rem;
}
.lp-card h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .55rem; }
.lp-card p { color: var(--lp-muted); margin: 0; }

/* ============================================================================================= 9. Étapes */

.lp-step { position: relative; padding-top: .5rem; }
.lp-step-num {
  display: block; margin-bottom: .6rem; font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 900; line-height: 1; letter-spacing: -.05em;
  background: var(--lp-gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;  /* plein, sans contour: le contour déformait le 3 */
}
.lp-step h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.lp-step p { color: var(--lp-muted); margin: 0; max-width: 22rem; }
@media (min-width: 768px) {
  .lp-step:not(:last-child)::after {  /* trait pointillé entre les étapes */
    content: ""; position: absolute; top: 2.6rem; left: 6.5rem; right: -1.5rem; border-top: 2px dashed var(--lp-border);
  }
}

/* ================================================================================== 10. Calculateur 1RM */

.lp-calc { padding: clamp(1.4rem, 3vw, 2.2rem); }
.lp-calc:hover { transform: none; }
.lp-calc .form-label { font-size: .85rem; font-weight: 700; color: var(--lp-muted); }
.lp-calc .form-control {
  background: var(--lp-bg); border: 1px solid var(--lp-border); color: var(--lp-text);
  border-radius: .9rem; padding: .8rem 1rem; font-size: 1.15rem; font-weight: 700;
}
.lp-calc .form-control:focus { border-color: var(--lp-accent-text); box-shadow: 0 0 0 .25rem var(--lp-glow); }
.lp-calc-result { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--lp-border); min-height: 6rem; }
.lp-calc-empty { color: var(--lp-muted); margin: 0; }
.lp-calc-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-muted); }
.lp-calc-value { font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
.lp-calc-value small { font-size: 1rem; font-weight: 600; color: var(--lp-muted); letter-spacing: 0; }
.lp-calc-formula { color: var(--lp-muted); font-size: .88rem; }
.lp-load-title { margin: 1.4rem 0 .6rem; }
.lp-load-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.lp-load-list li { display: grid; grid-template-columns: 3.2rem 1fr 4rem; align-items: center; gap: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-load-pct { color: var(--lp-muted); font-size: .88rem; }
.lp-load-bar { height: .55rem; border-radius: 999px; background: var(--lp-surface-2); overflow: hidden; }
.lp-load-bar i { display: block; height: 100%; border-radius: inherit; background: var(--lp-gradient); transition: width .35s ease; }
.lp-load-val { text-align: right; }

/* ========================================================================== 11. Roadmap et actualités */

.lp-timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; position: relative; }
.lp-timeline::before { content: ""; position: absolute; left: .45rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--lp-border); }
.lp-timeline li { position: relative; padding: 0 0 1.8rem 1.2rem; }
.lp-timeline li:last-child { padding-bottom: 0; }
.lp-timeline li::before {  /* point de la frise: plein = terminé, creux = à venir */
  content: ""; position: absolute; left: -1.5rem; top: .35rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--lp-bg-alt); border: 2px solid var(--lp-muted);
}
.lp-timeline li.is-done::before { background: var(--lp-accent); border-color: var(--lp-accent); box-shadow: 0 0 0 5px var(--lp-glow); }
.lp-timeline h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 .3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.lp-timeline p { color: var(--lp-muted); margin: 0; }
.lp-status { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: var(--lp-surface-2); color: var(--lp-muted); }
.lp-status.is-done { background: var(--lp-accent); color: var(--lp-accent-ink); }
.lp-note {
  padding: 1rem 1.2rem; border-radius: 1rem; border: 1px solid var(--lp-border); background: var(--lp-surface);
  color: var(--lp-muted); font-size: .95rem;
}
.lp-note i { color: var(--lp-accent-text); margin-right: .5rem; }

.lp-news { list-style: none; margin: 0; padding: 0; }
.lp-news li { display: flex; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--lp-border); }
.lp-news li:last-child { border-bottom: 0; }
.lp-news time { flex: 0 0 8.5rem; font-weight: 800; color: var(--lp-accent-text); text-transform: capitalize; }
.lp-news p { margin: 0; color: var(--lp-muted); }
@media (max-width: 575.98px) { .lp-news li { flex-direction: column; gap: .2rem; } .lp-news time { flex-basis: auto; } }

/* ================================================================== 12. Appel final et pied de page */

.lp-cta {
  position: relative; overflow: hidden; text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 1.5rem; border-radius: 2rem;
  background:
    radial-gradient(60% 90% at 50% 0%, var(--lp-glow), transparent 70%),
    radial-gradient(40% 70% at 100% 100%, var(--lp-glow-2), transparent 70%),
    var(--lp-surface);
  border: 1px solid var(--lp-border);
}
.lp-cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 1rem; }
.lp-cta p { color: var(--lp-muted); font-size: 1.1rem; max-width: 32rem; margin: 0 auto 2rem; }

.lp-footer { padding: 3rem 0 2.5rem; border-top: 1px solid var(--lp-border); color: var(--lp-muted); font-size: .92rem; }
.lp-footer a { color: var(--lp-muted); text-decoration: none; }
.lp-footer a:hover { color: var(--lp-text); text-decoration: underline; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }

/* ============================================================================================ 13. Animations */

@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Contenu visible par défaut; masqué puis révélé seulement si le JavaScript tourne (classe posée par theme.js). */
.lp-js .lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.lp-js .lp-reveal.is-visible { opacity: 1; transform: none; }
.lp-reveal[data-delay="1"] { transition-delay: .1s; }
.lp-reveal[data-delay="2"] { transition-delay: .2s; }
.lp-reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-phone-main, .lp-btn, .lp-card { animation: none !important; transition: none !important; }
  .lp-js .lp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ================================================================================ 14. Générateur de programme */

.lp-chips { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.lp-chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px;
  background: var(--lp-surface); border: 1px solid var(--lp-border); font-size: .88rem; font-weight: 600; color: var(--lp-text);
}
.lp-chip i { color: var(--lp-accent-text); }

/* Une séance: bandeau (numéro, titre, durée) puis une ligne par exercice. */
.lp-session { padding: 0; overflow: hidden; }
.lp-session:hover { transform: none; }
.lp-session-head {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--lp-border);
  background: linear-gradient(95deg, color-mix(in srgb, var(--lp-accent) 14%, transparent), transparent 70%);
}
.lp-session-num {
  flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .95rem;
  background: var(--lp-gradient); color: var(--lp-accent-ink); font-size: 1.3rem; font-weight: 900;
}
.lp-session-heading { min-width: 0; }
.lp-session-title { font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; margin: 0; overflow-wrap: anywhere; }
.lp-session-meta { margin: .15rem 0 0; font-size: .85rem; font-weight: 600; color: var(--lp-muted); }
.lp-ex-list { list-style: none; margin: 0; padding: .3rem 0; }
.lp-ex { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .85rem 1.4rem; }
.lp-ex + .lp-ex { border-top: 1px solid var(--lp-border); }
.lp-ex-idx { color: var(--lp-muted); font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-ex-main { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; min-width: 0; }
.lp-ex-name { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.lp-ex-muscle {
  padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: color-mix(in srgb, var(--lp-accent) 14%, transparent); color: var(--lp-accent-text);
}
.lp-ex-scheme { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-ex-sets { font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; }
.lp-ex-rest { font-size: .8rem; color: var(--lp-muted); }
.lp-ex-empty { margin: 0; padding: 1.2rem 1.4rem; color: var(--lp-muted); }

/* Séries par muscle: libellé, jauge, valeur (même jauge que le calculateur 1RM). */
.lp-volume:hover, .lp-tips:hover { transform: none; }
.lp-volume-title { font-size: 1.15rem; font-weight: 800; margin-bottom: .25rem; }
.lp-volume-hint { font-size: .88rem; color: var(--lp-muted); margin-bottom: 1.6rem; }
.lp-volume-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.lp-volume-list li { display: grid; grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr) 5.2rem; align-items: center; gap: .9rem; }
.lp-volume-label { font-weight: 700; overflow-wrap: anywhere; }
.lp-volume-count { text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; }
.lp-volume-count small { font-weight: 600; color: var(--lp-muted); }
.lp-volume .lp-load-bar { height: .7rem; }
.lp-tips-list { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .55rem; color: var(--lp-muted); }
.lp-tips-list li::marker { color: var(--lp-accent-text); }
@media (max-width: 575.98px) {
  .lp-session-head, .lp-ex { padding-inline: 1rem; }
  .lp-volume-list li { grid-template-columns: minmax(0, 1fr) 4.4rem; row-gap: .35rem; }
  .lp-volume-list .lp-load-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ============================================================================ 15. Retours à la ligne et largeurs */

/* Titres et chapeaux: lignes équilibrées, jamais un « ? » ou un mot seul sur la dernière ligne. */
.lp-section-title, .lp-hero h1, .lp-card h3, .lp-session-title, .lp-step h3 { text-wrap: balance; }
.lp-section-lead, .lp-card p, .lp-note { text-wrap: pretty; }
.lp-btn { max-width: 100%; text-align: center; }

/* Les `.row.g-5` ont une gouttière de 3rem: sur mobile leurs marges négatives dépassent du conteneur (défilement horizontal). */
@media (max-width: 991.98px) {
  .lp .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* Générateur: sur petit écran le schéma (séries, repos) passe sous le nom, pour ne couper ni le nom ni le muscle. */
@media (max-width: 419.98px) {
  .lp-ex { grid-template-columns: 1.4rem minmax(0, 1fr); row-gap: .45rem; }
  .lp-ex-scheme { grid-column: 2; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: .8rem; }
  .lp-ex-sets { font-size: 1.1rem; }
}
.lp-ex-muscle { white-space: nowrap; }

/* Réglages rapides du matériel: chaque lien reste d'un bloc (« À la maison » ne se coupe pas). */
.lp-presets { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }
.lp-presets a { white-space: nowrap; }

/* Mots longs: lignes sans mot isolé; césure automatique seulement en allemand (« Krafttrainingsprogramm »). Ailleurs elle
   couperait le nom de la marque (« Ta-keForce »). */
.lp p, .lp li, .lp label, .lp legend { overflow-wrap: break-word; text-wrap: pretty; }
html:lang(de) .lp p, html:lang(de) .lp li, html:lang(de) .lp label, html:lang(de) .lp legend { hyphens: auto; }
html:lang(de) .lp-nav, html:lang(de) .lp-nav *, html:lang(de) .lp-btn, html:lang(de) .lp-chip { hyphens: manual; }

/* Très petit écran (320 px): le logo et le bouton de menu doivent tenir sur la même ligne. */
@media (max-width: 359.98px) {
  .lp-nav .navbar { flex-wrap: nowrap; }
  .lp-brand { font-size: .92rem; letter-spacing: .03em; }
}

/* Les téléphones décoratifs de la section d'en-tête ne doivent jamais créer de défilement horizontal. */
.lp-hero { overflow-x: clip; }

/* ====================================================================================== 16. Questions fréquentes */

.lp-faq { display: flex; flex-direction: column; gap: .75rem; }
.lp-faq-item { border: 1px solid var(--lp-border); border-radius: 1rem; background: var(--lp-surface); transition: border-color .2s; }
.lp-faq-item[open] { border-color: color-mix(in srgb, var(--lp-accent-text) 55%, var(--lp-border)); }
.lp-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary h2 { margin: 0; font-size: 1.05rem; font-weight: 700; text-wrap: balance; }
.lp-faq-item summary::after {
  content: ""; flex: none; width: .6rem; height: .6rem; border-right: 2px solid var(--lp-accent-text); border-bottom: 2px solid var(--lp-accent-text);
  transform: rotate(45deg); transition: transform .2s;
}
.lp-faq-item[open] summary::after { transform: rotate(-135deg); }
.lp-faq-answer { padding: 0 1.25rem 1.1rem; color: var(--lp-muted); }
.lp-faq-answer p { margin: 0 0 .6rem; text-wrap: pretty; }
.lp-faq-answer p:last-child { margin-bottom: 0; }

/* =========================================================================================== 17. Confidentialité */

.lp-toc { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.lp-privacy-card:hover { transform: none; }
.lp-privacy-facts { display: grid; grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr); gap: .5rem 1rem; margin: 0; }
.lp-privacy-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-muted); padding-top: .15rem; }
.lp-privacy-facts dd { margin: 0; text-wrap: pretty; }
@media (max-width: 575.98px) {
  .lp-privacy-facts { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .lp-privacy-facts dd { margin-bottom: .6rem; }
}
