/* Accueil : « Comment ça marche », trois tutoriels vidéo (19/11/2026). Jetons --of-* de offres.css. */
.lt-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1180px) { .lt-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; } }
.lt-carte { min-width: 0; background: var(--of-surface); border: 1px solid var(--of-line); border-radius: var(--of-radius); box-shadow: var(--of-shadow); overflow: hidden; display: flex; flex-direction: column; }
.lt-vignette { position: relative; display: block; aspect-ratio: 16 / 9; background: #0F1116; overflow: hidden; }
.lt-vignette img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.lt-vignette:hover img, .lt-vignette:focus-visible img { transform: scale(1.04); }
.lt-vignette:focus-visible { outline: 3px solid var(--of-accent-dark); outline-offset: -3px; }
.lt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--of-accent-dark); color: var(--of-white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.lt-play svg { margin-left: 3px; }
.lt-vignette:hover .lt-play { transform: scale(1.08); }
.lt-duree { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(15, 17, 22, .85); color: #fff; font-size: .8rem; font-weight: 700; }
.lt-corps { padding: 18px 20px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 6px; align-items: start; }
.lt-num { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--of-accent-bg); color: var(--of-secondary-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lt-carte__titre { margin: 2px 0 0; font-size: 1.1rem; line-height: 1.3; color: var(--of-ink); }
.lt-carte__texte { margin: 0; color: var(--of-mute); font-size: .95rem; line-height: 1.5; }

/* Lien vidéo du haut de page */
.lt-hero-video { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 4px; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--of-secondary-dark); text-decoration: underline; text-underline-offset: 4px; }
.lt-hero-video:hover { color: var(--of-ink); }
.lt-hero-video:focus-visible { outline: 3px solid var(--of-accent-dark); outline-offset: 3px; border-radius: 6px; }
.lt-hero-video__play { width: 32px; height: 32px; border-radius: 50%; background: var(--of-accent-dark); color: var(--of-white); display: inline-flex; align-items: center; justify-content: center; }
.lt-hero-video__play svg { margin-left: 2px; }
.lt-hero-video__duree { font-weight: 500; color: var(--of-mute); }

/* Fenêtre de lecture */
.lt-fenetre { margin: auto; width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 18px; background: #0F1116; color: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lt-fenetre::backdrop { background: rgba(15, 17, 22, .72); }
.lt-fenetre__tete { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; }
.offres .lt-fenetre .lt-fenetre__titre, .lt-fenetre__titre { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 1.1rem !important; line-height: 1.3; letter-spacing: 0; color: #fff; overflow-wrap: anywhere; }
.lt-fenetre__fermer { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lt-fenetre__fermer:hover { background: rgba(255, 255, 255, .2); }
.lt-fenetre__fermer:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lt-fenetre__scene { aspect-ratio: 16 / 9; background: #000; }
.lt-fenetre__scene video { width: 100%; height: 100%; display: block; }
.lt-fenetre__pied { display: flex; justify-content: flex-end; padding: 12px 16px 16px; }

@media (max-width: 900px) { .lt-grille { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .lt-vignette img, .lt-play { transition: none; } .lt-vignette:hover img, .lt-vignette:hover .lt-play { transform: none; } }

/* Section « Ebook Mécanique du solide » (19/11/2026) */
.lt-ebook__carte { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; padding: 36px; background: var(--of-surface);
  border: 1px solid var(--of-line); border-radius: var(--of-radius); box-shadow: var(--of-shadow); }
.lt-ebook__texte h2 { margin: 10px 0 12px; }
.lt-ebook__texte p { margin: 0 0 16px; color: var(--of-mute); line-height: 1.6; }
.lt-ebook__liste { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.lt-ebook__liste li { position: relative; padding-left: 28px; color: var(--of-ink); line-height: 1.45; }
.lt-ebook__liste li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--of-accent-bg);
  box-shadow: inset 0 0 0 5px var(--of-accent-bg), inset 0 0 0 9px var(--of-accent-dark); }
.lt-ebook__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.offres a.lt-ebook__lien, .lt-ebook__lien { font-weight: 700; color: var(--of-secondary-dark); text-decoration: underline; text-underline-offset: 4px; }
.offres a.lt-ebook__lien:hover, .lt-ebook__lien:hover { color: var(--of-ink); }
.lt-ebook__vignette { border-radius: calc(var(--of-radius) - 4px); }
.lt-ebook__vignette .lt-play { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
@media (max-width: 900px) { .lt-ebook__carte { grid-template-columns: 1fr; padding: 22px; gap: 24px; } .lt-ebook__vignette { order: -1; } }
