/* Annonce du logiciel GeneBase (/logiciel, 16/11/2026, refaite le même jour) : une page de vente sobre, des captures en
   grand dans un cadre de fenêtre, le thème du logiciel choisi en haut pour toute la page. */
.lg { --lg-nuit: #0F241B; --lg-nuit-2: #163428; --lg-or: #D9A43A; --lg-creme: #F5F0E8; --lg-encre: #1A1A1A; }
.lg h2 { font-family: var(--font-serif); font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.15; margin: 0 0 var(--space-4);
  color: var(--clr-text); letter-spacing: -.2px; }

/* ── Boutons ── */
.lg-bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s; font-family: inherit; }
.lg-bouton--or { background: var(--lg-or); color: #1A1406; }
.lg-bouton--or:hover { background: #E5B24B; color: #1A1406; }
.lg-bouton--clair { background: transparent; color: var(--lg-creme); border-color: rgba(245, 240, 232, .45); }
.lg-bouton--clair:hover { border-color: var(--lg-creme); color: #fff; }
.lg-bouton--vert { background: var(--clr-primary); color: #fff; }
.lg-bouton--vert:hover { filter: brightness(1.08); color: #fff; }
.lg-bouton--contour { background: transparent; color: var(--clr-text); border-color: var(--clr-border-strong); }
.lg-bouton--contour:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

/* ── En-tête ── */
.lg-hero { background: linear-gradient(180deg, var(--lg-nuit) 0%, var(--lg-nuit-2) 100%); color: var(--lg-creme);
  padding: calc(var(--nav-height, 70px) + 56px) 0 72px; overflow: hidden; }
.lg-hero__grille { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.lg-surtitre { margin: 0 0 18px; font-size: .82rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--lg-or); }
.lg-titre { font-family: var(--font-serif); font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; margin: 0 0 22px; color: #fff;
  letter-spacing: -.5px; }
.lg-chapeau { font-size: 1.12rem; line-height: 1.65; color: rgba(245, 240, 232, .82); margin: 0 0 30px; max-width: 560px; }
.lg-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.lg-faits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem;
  color: rgba(245, 240, 232, .7); }
.lg-faits li { position: relative; padding-left: 14px; }
.lg-faits li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--lg-or); }
.lg-hero__visuel { position: relative; padding: 0 0 40px 40px; }
.lg-hero__ecran { border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.lg-hero__ecran img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 860; }
.lg-hero__boite { position: absolute; left: -36px; bottom: -14px; width: 34%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }

/* ── Le choix du thème ── */
.lg-themes { position: sticky; top: var(--nav-height, 70px); z-index: 40; background: var(--clr-bg-elevated);
  border-bottom: 1px solid var(--clr-border); box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .35); }
.lg-themes__interieur { display: flex; align-items: center; gap: 18px; min-height: 58px; }
.lg-themes__titre { font-size: .82rem; font-weight: 600; letter-spacing: .3px; color: var(--clr-text-secondary); white-space: nowrap; }
.lg-themes__liste { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; min-width: 0; flex: 1 1 auto; }
.lg-themes__liste::-webkit-scrollbar { display: none; }
.lg-themes__courant { margin-left: auto; font-size: .88rem; font-weight: 600; color: var(--clr-text); white-space: nowrap; }
.lg-pastille { flex: none; position: relative; display: inline-flex; padding: 3px; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; }
.lg-pastille__rond { display: block; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ecran) 0 50%, var(--arbre) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 0 var(--accent); }
.lg-pastille__nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lg-pastille:hover .lg-pastille__rond { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px var(--accent); }
.lg-pastille.actif { border-color: var(--clr-primary); }
.lg-pastille:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 2px; }

/* ── Bande-annonce ── */
.lg-video { padding: 64px 0 0; }
.lg-video__lecteur { display: block; width: 100%; max-width: 1040px; margin: 0 auto; border-radius: 12px; background: #000;
  aspect-ratio: 16 / 9; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); }

/* ── Les chiffres ── */
.lg-chiffres { padding: 56px 0 8px; }
.lg-chiffres__liste { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border); }
.lg-chiffres__liste > div { padding: 26px 18px; text-align: center; }
.lg-chiffres__liste > div + div { border-left: 1px solid var(--clr-border); }
.lg-chiffres dt { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; color: var(--clr-primary); }
.lg-chiffres dd { margin: 10px 0 0; font-size: .9rem; line-height: 1.45; color: var(--clr-text-secondary); }
.lg-chiffres__note { margin: 12px 0 0; text-align: center; font-size: .8rem; color: var(--clr-text-muted); }

/* ── Les chapitres ── */
.lg-chapitre { padding: 88px 0; }
.lg-chapitre + .lg-chapitre { border-top: 1px solid var(--clr-border); }
.lg-chapitre__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 64px; align-items: center; }
.lg-chapitre--inverse .lg-chapitre__texte { order: 2; }
.lg-numero { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: .8rem; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--clr-text-secondary); }
.lg-numero span { color: var(--lg-or); font-variant-numeric: tabular-nums; }
.lg-numero span::after { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--lg-or); margin-left: 12px; vertical-align: middle; }
.lg-chapitre__chapeau { font-size: 1.06rem; line-height: 1.7; color: var(--clr-text-secondary); margin: 0 0 22px; }
.lg-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lg-points li { position: relative; padding-left: 26px; line-height: 1.55; color: var(--clr-text); font-size: .96rem; }
.lg-points li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--lg-or);
  border-bottom: 2px solid var(--lg-or); transform: rotate(-45deg); }
.lg-chapitre__image { margin: 0; }
.lg-fenetre { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #1E1F22;
  box-shadow: 0 28px 60px -26px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .25s, box-shadow .25s; }
.lg-fenetre:hover { transform: translateY(-3px); box-shadow: 0 36px 70px -26px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .12); }
.lg-fenetre img { display: block; width: 100%; height: auto; }
.lg-secondaires { display: grid; gap: 28px; margin-top: 44px; align-items: start; }
.lg-secondaires--1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
.lg-secondaires--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg-secondaires--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lg-secondaires figure { margin: 0; }
.lg-secondaires figcaption { margin-top: 12px; font-size: .88rem; line-height: 1.5; color: var(--clr-text-secondary); }

/* ── Imprimer ── */
.lg-imprimer__tete { max-width: 760px; margin-bottom: 40px; }
.lg-arbres { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 20px; }
.lg-arbre { margin: 0; }
.lg-arbre a { display: block; cursor: zoom-in; background: #fff; border-radius: 3px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45),
  0 0 0 1px rgba(0, 0, 0, .06); transition: transform .2s; }
.lg-arbre a:hover { transform: translateY(-3px) rotate(-.4deg); }
.lg-arbre img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1131; object-fit: contain; border-radius: 3px; }
.lg-arbre figcaption { margin-top: 10px; font-size: .85rem; font-weight: 600; color: var(--clr-text); text-align: center; }
.lg-imprimer__note { margin: 22px 0 0; font-size: .82rem; color: var(--clr-text-muted); text-align: center; }

/* ── L'IA ── */
.lg-ia { background: linear-gradient(180deg, var(--lg-nuit) 0%, var(--lg-nuit-2) 100%); color: var(--lg-creme); padding: 84px 0; }
.lg-ia__interieur { max-width: 820px; }
.lg-ia h2 { color: #fff; }
.lg-ia p { font-size: 1.06rem; line-height: 1.7; color: rgba(245, 240, 232, .82); margin: 0; }
.lg-numero--clair { color: rgba(245, 240, 232, .7); }

/* ── Notre promesse ── */
.lg-promesse { padding: 88px 0; }
.lg-promesse__grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.lg-promesse__points { display: grid; gap: 28px; }
.lg-promesse__points div { padding-left: 22px; border-left: 2px solid var(--lg-or); }
.lg-promesse__points h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--clr-text); }
.lg-promesse__points p { margin: 0; color: var(--clr-text-secondary); line-height: 1.65; }
@media (max-width: 900px) { .lg-promesse__grille { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ── Le mot de Quentin ── */
.lg-mot { padding: 96px 0; background: var(--clr-bg-secondary); }
.lg-mot__interieur { max-width: 760px; }
.lg-mot__texte p { font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.75; color: var(--clr-text); margin: 0 0 20px; }
.lg-mot__signature { margin: 30px 0 0; font-family: var(--font-serif); font-size: 1.6rem; color: var(--clr-primary); }
.lg-mot__signature span { display: block; margin-top: 4px; font-family: var(--font-sans, inherit); font-size: .88rem; color: var(--clr-text-muted); }

/* ── Les licences ── */
.lg-licences { padding: 88px 0; }
.lg-entete { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.lg-entete .lg-numero { justify-content: center; }
.lg-entete .lg-numero span { display: none; }
.lg-licences__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.lg-licence { background: var(--clr-bg-elevated); border: 1px solid var(--clr-border); border-radius: 12px; padding: 28px 24px 26px; text-align: center; }
.lg-licence--phare { border-color: var(--lg-or); box-shadow: 0 0 0 1px var(--lg-or); }
.lg-licence img { width: 100%; max-width: 210px; height: auto; }
.lg-licence h3 { font-family: var(--font-serif); font-size: 1.5rem; margin: 14px 0 6px; color: var(--clr-text); }
.lg-licence p { margin: 0; color: var(--clr-text-secondary); font-size: .94rem; }
.lg-licence .lg-licence__prix { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--clr-border); font-size: .85rem;
  font-weight: 600; color: var(--clr-text); }
.lg-inclus { list-style: none; padding: 0; margin: 40px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; }
.lg-inclus li { padding: 16px 18px; border-left: 2px solid var(--lg-or); color: var(--clr-text-secondary); font-size: .92rem; line-height: 1.5; }
.lg-inclus strong { display: block; color: var(--clr-text); font-size: 1rem; }
.lg-licences__bouton { text-align: center; margin: 40px 0 0; }

/* ── Questions ── */
.lg-faq-section { padding: 88px 0; }
.lg-faq { max-width: 820px; }
.lg-faq details { border-bottom: 1px solid var(--clr-border); padding: 20px 4px; }
.lg-faq details:first-of-type { border-top: 1px solid var(--clr-border); }
.lg-faq summary { font-weight: 600; font-size: 1.05rem; cursor: pointer; color: var(--clr-text); list-style: none; position: relative; padding-right: 30px; }
.lg-faq summary::-webkit-details-marker { display: none; }
.lg-faq summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; font-weight: 400; color: var(--lg-or); }
.lg-faq details[open] summary::after { content: '−'; }
.lg-faq p { margin: 12px 0 0; color: var(--clr-text-secondary); line-height: 1.7; }

/* ── Être prévenu, les idées ── */
.lg-contact { padding: 88px 0 96px; background: var(--clr-bg-secondary); }
.lg-contact__grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.lg-contact__texte p { color: var(--clr-text-secondary); line-height: 1.7; font-size: 1.04rem; }
.lg-contact__formulaire { background: var(--clr-bg-elevated); border: 1px solid var(--clr-border); border-radius: 12px; padding: 28px; }
.lg-prevenir { margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--clr-border); }
.lg-prevenu { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--clr-border); color: var(--clr-text); font-weight: 600; }
.lg-lien { background: none; border: 0; padding: 0; font: inherit; font-weight: 400; color: var(--clr-primary); text-decoration: underline; cursor: pointer; }
.lg-formulaire { display: grid; gap: 12px; }
.lg-formulaire__titre { font-weight: 600; color: var(--clr-text); }
.lg-formulaire .lg-bouton { justify-self: start; }
.lg-mes-idees { margin-top: 24px; }
.lg-mes-idees h3 { font-size: .95rem; margin: 0 0 10px; color: var(--clr-text); }
.lg-mes-idees p { margin: 0 0 8px; padding: 10px 12px; border-radius: 8px; background: var(--clr-bg-secondary); color: var(--clr-text-secondary);
  white-space: pre-line; font-size: .92rem; }
.lg-mes-idees p span { display: block; font-size: .75rem; color: var(--clr-text-muted); margin-bottom: 2px; }
.lg-connexion { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.lg-connexion__note { margin: 14px 0 0; font-size: .85rem; color: var(--clr-text-muted); }

/* ── L'image agrandie ── */
.lg-agrandie { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lg-agrandie::backdrop { background: rgba(8, 12, 10, .86); }
.lg-agrandie img { display: block; max-width: 96vw; max-height: 94vh; border-radius: 8px; }
.lg-agrandie__fermer { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: #111; font-size: 16px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }

/* ── Écrans plus petits ── */
@media (max-width: 1100px) {
  .lg-arbres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg-chiffres__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-chiffres__liste > div:nth-child(4) { border-left: 0; }
  .lg-chiffres__liste > div:nth-child(n+4) { border-top: 1px solid var(--clr-border); }
  .lg-inclus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lg-hero__grille, .lg-chapitre__grille, .lg-contact__grille { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lg-chapitre--inverse .lg-chapitre__texte { order: 0; }
  .lg-hero__visuel { padding: 0 0 30px 26px; }
  .lg-chapitre { padding: 64px 0; }
  .lg-secondaires--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-arbres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-licences__liste { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .lg-themes__courant { display: none; }
}
@media (max-width: 600px) {
  .lg-hero { padding-top: calc(var(--nav-height, 70px) + 32px); }
  .lg-hero__boite { left: -16px; width: 38%; }
  .lg-themes__titre { display: none; }
  .lg-secondaires--2, .lg-secondaires--4 { grid-template-columns: minmax(0, 1fr); }
  .lg-arbres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .lg-chiffres__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-chiffres__liste > div { border-left: 0 !important; border-top: 1px solid var(--clr-border); }
  .lg-chiffres__liste > div:first-child { grid-column: 1 / -1; border-top: 0; }
  .lg-inclus { grid-template-columns: minmax(0, 1fr); }
  .lg-contact__formulaire { padding: 20px; }
  .lg-agrandie__fermer { top: 6px; right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .lg-fenetre, .lg-arbre a { transition: none; } }
