/* Page d'accueil (maquette Figma « Landing · Bureau »).
   Fond clair net, titres en Bricolage Grotesque serrés, soleil réservé aux boutons d'action, bandes vert nuit
   pour l'enjeu, la sécurité et la demande de démonstration. Signature : la ligne qui relie un chiffre du rapport
   à sa cellule dans le fichier d'origine. */

.lp {
  --lp-papier: #FFFFFF;
  --lp-toile: #F2F3EE;
  --lp-doux: #F5F6F2;
  --lp-encre: #12201D;
  --lp-gris: #56635E;
  --lp-ligne: #E3E6DF;
  --lp-nuit: #0A2E27;
  --lp-foret: #0F4A40;
  --lp-surface-nuit: #173D35;
  --lp-ligne-nuit: #24504A;
  --lp-texte-nuit: #E2ECE8;
  --lp-gris-nuit: #A9BDB6;
  --lp-verifie: #0E6B4F;
  --lp-serie: #0A7F57;
  --lp-menthe: #8FE3BF;
  --lp-soleil: #F2B233;
  --lp-ok-bg: #DDF1E7; --lp-ok-fg: #0B5A41;
  --lp-att-bg: #FFF0CC; --lp-att-fg: #7A4E00;
  --lp-al-bg: #FBE3DD; --lp-al-fg: #8F2A15;
  --lp-ombre: 0 2px 6px rgba(10, 46, 39, .06), 0 24px 48px -12px rgba(10, 46, 39, .14);
  --lp-ressort: cubic-bezier(.16, 1, .3, 1);
  --lp-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --lp-texte: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lp-mono: "Geist Mono", ui-monospace, monospace;
  background: var(--lp-papier);
  color: var(--lp-encre);
  font-family: var(--lp-texte);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}
:where(.lp) *, :where(.lp) *::before, :where(.lp) *::after { box-sizing: border-box; }
:where(.lp) a { color: inherit; }
/* Remise à zéro (au-dessus de Bootstrap, au niveau d'une classe) : les classes déclarées plus bas gardent la main. */
.lp :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
.lp :where(ul, ol) { padding: 0; list-style: none; }

.lp-conteneur { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .lp-conteneur { padding: 0 32px; } }
@media (min-width: 1376px) { .lp-conteneur { padding: 0; } }

/* ---------- Typographie ---------- */
.lp-display { font-family: var(--lp-display); font-weight: 700; font-size: clamp(40px, 5.8vw, 80px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.lp-h2 { font-family: var(--lp-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.lp-h2-moyen { font-size: clamp(32px, 3.4vw, 44px); }
.lp h3 { font-family: var(--lp-display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.lp-surtitre { font-family: var(--lp-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-gris); }
.lp-chapo { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--lp-gris); max-width: 760px; text-wrap: pretty; }
.lp-chapo-gauche { font-size: 18px; line-height: 1.6; color: var(--lp-gris); max-width: 520px; text-wrap: pretty; }
.lp-vert { color: var(--lp-verifie); }
.lp-menthe { color: var(--lp-menthe); }
.lp-soleil { color: var(--lp-soleil); }
.lp-gris { color: var(--lp-gris); }

/* ---------- Boutons ---------- */
.lp-bouton { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--lp-ressort), box-shadow .2s, background-color .2s; }
.lp-bouton-grand { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.lp-bouton-soleil { background: var(--lp-soleil); color: var(--lp-nuit); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 20px -8px rgba(242, 178, 51, .7); }
.lp-bouton-soleil:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 14px 28px -10px rgba(242, 178, 51, .85); color: var(--lp-nuit); }
.lp-bouton-contour { background: var(--lp-papier); color: var(--lp-encre); border-color: var(--lp-ligne); }
.lp-bouton-contour:hover { border-color: var(--lp-encre); color: var(--lp-encre); }
.lp a:focus-visible, .lp button:focus-visible, .lp summary:focus-visible, .lp input:focus-visible { outline: 2px solid var(--lp-serie); outline-offset: 3px; border-radius: 8px; }
.lp-nuit a:focus-visible, .lp-nuit input:focus-visible { outline-color: var(--lp-menthe); }

/* ---------- Navigation ---------- */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.lp-nav.defile { border-bottom-color: var(--lp-ligne); box-shadow: 0 6px 24px -18px rgba(10,46,39,.4); }
.lp-nav-barre { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.lp-nav-liens { display: none; gap: 32px; }
.lp-nav-liens a, .lp-lien-nav { color: var(--lp-gris); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.lp-nav-liens a:hover, .lp-lien-nav:hover { color: var(--lp-encre); }
.lp-nav-actions { display: flex; align-items: center; gap: 18px; }
.lp .ir-logo { text-decoration: none; }
@media (min-width: 1000px) { .lp-nav-liens { display: flex; } }
@media (max-width: 520px) { .lp-lien-nav { display: none; } .lp-nav .lp-bouton { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
  .lp-bouton-grand { white-space: normal; text-align: center; } }

/* ---------- Ouverture ---------- */
.lp-heros { padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 8vw, 104px); background: linear-gradient(180deg, var(--lp-papier) 0%, var(--lp-toile) 100%); }
.lp-heros-texte { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-annonce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--lp-ok-bg); color: var(--lp-foret); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background-color .2s; }
.lp-annonce:hover { background: #CDEADB; color: var(--lp-foret); }
.lp-annonce-badge { padding: 3px 9px; border-radius: 999px; background: var(--lp-verifie); color: #fff; font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.lp-heros .lp-display { margin-top: 28px; max-width: 1220px; }
.lp-chapo { margin-top: 24px; }
.lp-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.lp-sous-boutons { margin-top: 18px; }
.lp-br { display: none; }
@media (min-width: 900px) { .lp-br { display: inline; } }

/* Scène « parcours d'un chiffre » */
.lp-scene { position: relative; margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 20px; }
.lp-panneau { position: relative; z-index: 1; background: var(--lp-papier); border: 1px solid var(--lp-ligne); border-radius: 20px; box-shadow: var(--lp-ombre); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.lp-panneau-entete { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lp-panneau-entete strong { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-etape { padding: 2px 8px; border-radius: 999px; background: var(--lp-doux); font-family: var(--lp-mono); font-size: 11px; color: var(--lp-gris); }
.lp-petit-mono { font-family: var(--lp-mono); font-size: 11px; color: var(--lp-gris); text-transform: uppercase; letter-spacing: .06em; }
.lp-feuille { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--lp-ligne); border-radius: 12px; overflow: hidden; font-size: 13px; }
.lp-feuille th { background: var(--lp-doux); font-family: var(--lp-mono); font-weight: 500; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--lp-gris); text-align: left; padding: 9px 10px; }
.lp-feuille td { padding: 9px 10px; border-top: 1px solid var(--lp-ligne); }
.lp-feuille td:first-child { font-family: var(--lp-mono); font-size: 12px; }
.lp-col-source { background: rgba(10, 127, 87, .07); color: var(--lp-ok-fg); font-weight: 600; }
.lp-feuille th.lp-col-source { background: rgba(10, 127, 87, .14); color: var(--lp-ok-fg); }
.lp-cellule-source { box-shadow: inset 0 0 0 2px var(--lp-serie); transition: box-shadow .4s var(--lp-ressort), background-color .4s; }
.lp-controle { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--lp-gris); }
.lp-point { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-serie); flex: none; }
.lp-point-menthe { background: var(--lp-menthe); }
.lp-pastille { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--lp-doux); color: var(--lp-gris); white-space: nowrap; }
.lp-ok { background: var(--lp-ok-bg); color: var(--lp-ok-fg); }
.lp-attention { background: var(--lp-att-bg); color: var(--lp-att-fg); }
.lp-alerte { background: var(--lp-al-bg); color: var(--lp-al-fg); }
.lp-soleil-fond { background: var(--lp-soleil); color: var(--lp-nuit); }
.lp-kpi { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lp-kpi-valeur { font-family: var(--lp-display); font-weight: 700; font-size: 72px; line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lp-hausse { color: var(--lp-ok-fg); font-weight: 600; font-size: 14px; }
.lp-courbe { width: 100%; height: 88px; display: block; }
.lp-courbe-trait { fill: none; stroke: var(--lp-serie); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lp-courbe-cible { stroke: #B9800F; stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.lp-avancement { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; }
.lp-piste { height: 8px; border-radius: 4px; background: var(--lp-doux); overflow: hidden; }
.lp-piste span { display: block; height: 100%; width: var(--v); border-radius: 4px; background: var(--lp-serie); transform-origin: left; }
.lp-formats { display: inline-flex; gap: 6px; }
.lp-formats span { padding: 2px 8px; border: 1px solid var(--lp-ligne); border-radius: 6px; font-family: var(--lp-mono); font-size: 10px; color: var(--lp-gris); text-transform: uppercase; }
.lp-rapport-titre { font-family: var(--lp-display); font-weight: 600; font-size: 19px; }
.lp-rapport-texte { font-size: 14px; line-height: 1.65; }
.lp-rapport-texte mark { background: none; color: var(--lp-ok-fg); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; padding: 0; }
.lp-ligne-texte { display: block; height: 8px; width: var(--w); border-radius: 4px; background: var(--lp-doux); margin-top: -6px; }
.lp-verifie { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--lp-gris); }
.lp-etiquette { justify-self: center; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--lp-nuit); color: var(--lp-texte-nuit); font-size: 13px; font-weight: 500; box-shadow: var(--lp-ombre); }
.lp-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; display: none; }
.lp-trace path { fill: none; stroke: var(--lp-serie); stroke-width: 2; stroke-linecap: round; }
.lp-trace circle { fill: var(--lp-papier); stroke: var(--lp-serie); stroke-width: 3; }

/* Bureau : panneaux disposés en escalier, la ligne relie le rapport au fichier en passant derrière l'indicateur */
@media (min-width: 1100px) {
  .lp-scene { display: block; height: 470px; }
  .lp-panneau { position: absolute; }
  .lp-panneau-fichier { left: 0; top: 70px; width: 30.5%; }
  .lp-panneau-indicateur { left: 35.5%; top: 0; width: 29%; }
  .lp-panneau-rapport { right: 0; top: 96px; width: 30.5%; }
  .lp-etiquette { position: absolute; left: 50%; top: 390px; transform: translateX(-50%); white-space: nowrap; }
  .lp-trace { display: block; }
}
@media (min-width: 700px) and (max-width: 1099.98px) {
  .lp-scene { grid-template-columns: 1fr 1fr; }
  .lp-panneau-rapport { grid-column: 1 / -1; }
}

/* ---------- Preuves ---------- */
.lp-preuves { background: var(--lp-toile); padding: 8px 0 clamp(72px, 9vw, 112px); }
.lp-defilement { overflow: hidden; border-block: 1px solid var(--lp-ligne); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-rail { display: flex; width: max-content; align-items: center; gap: 40px; animation: lp-defile 46s linear infinite; }
.lp-rail span { font-weight: 500; font-size: 15px; color: var(--lp-gris); white-space: nowrap; }
.lp-rail i { font-style: normal; color: var(--lp-serie); font-size: 12px; }
.lp-defilement:hover .lp-rail { animation-play-state: paused; }
@keyframes lp-defile { to { transform: translateX(-50%); } }
.lp-chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 0; margin-top: 48px; }
.lp-chiffre { display: flex; flex-direction: column; gap: 12px; padding: 4px 24px; border-left: 1px solid var(--lp-ligne); }
.lp-chiffre strong { font-family: var(--lp-display); font-weight: 700; font-size: clamp(48px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.lp-chiffre > span { color: var(--lp-gris); max-width: 260px; }
@media (min-width: 900px) { .lp-chiffres { grid-template-columns: repeat(4, 1fr); } .lp-chiffre:first-child { border-left: 0; padding-left: 0; } }

/* ---------- Sections ---------- */
.lp-section { padding: clamp(80px, 10vw, 128px) 0; }
.lp-toile { background: var(--lp-toile); }
.lp-nuit { background: var(--lp-nuit); color: var(--lp-texte-nuit); }
.lp-nuit .lp-h2, .lp-nuit .lp-display, .lp-nuit h3 { color: #fff; }
.lp-nuit .lp-chapo-gauche { color: var(--lp-gris-nuit); }
.lp-entete-double { display: grid; gap: 24px; align-items: end; margin-bottom: 56px; }
.lp-entete-double .lp-h2 { margin-top: 20px; max-width: 760px; }
@media (min-width: 1000px) { .lp-entete-double { grid-template-columns: 1fr auto; gap: 64px; } .lp-entete-double .lp-chapo-gauche { max-width: 440px; } }
.lp-entete-centre { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.lp-entete-centre .lp-h2 { max-width: 820px; }
.lp-entete-gauche { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.lp-entete-gauche .lp-h2 { max-width: 760px; }

/* ---------- L'enjeu : comparaison ---------- */
.lp-comparaison { position: relative; display: grid; grid-template-columns: 1fr; border: 1px solid var(--lp-ligne-nuit); border-radius: 24px; overflow: hidden; }
.lp-cote { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lp-sans { background: var(--lp-surface-nuit); }
.lp-avec { background: var(--lp-foret); }
.lp-poignee { display: none; }
.lp-curseur { display: none; }
@media (min-width: 900px) {
  .lp-comparaison { grid-template-columns: var(--pos) 2px 1fr; transition: grid-template-columns .05s linear; }
  .lp-poignee { display: block; position: relative; background: var(--lp-menthe); }
  .lp-poignee span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--lp-menthe); color: var(--lp-nuit); display: grid; place-items: center; font-weight: 700; box-shadow: 0 0 0 6px rgba(143, 227, 191, .18); }
  .lp-curseur { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
  .lp-comparaison:focus-within .lp-poignee span { box-shadow: 0 0 0 6px rgba(143, 227, 191, .45); }
}
.lp-fichiers { display: flex; flex-direction: column; gap: 10px; }
.lp-fichiers li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--lp-ligne-nuit); transform: rotate(var(--r)); max-width: 440px; }
.lp-fichiers li:nth-child(2) { max-width: 416px; } .lp-fichiers li:nth-child(3) { max-width: 392px; }
.lp-fichiers span { flex: 1; min-width: 0; font-family: var(--lp-mono); font-size: 13.5px; color: var(--lp-texte-nuit); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-fichiers b { padding: 3px 8px; border-radius: 6px; background: var(--lp-al-bg); color: var(--lp-al-fg); font-family: var(--lp-mono); font-size: 12px; font-weight: 500; white-space: nowrap; }
.lp-echeance { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--lp-gris-nuit); }
.lp-avec .lp-echeance { color: #fff; }
.lp-liste { display: flex; flex-direction: column; gap: 10px; }
.lp-liste li { position: relative; padding-left: 28px; color: var(--lp-gris-nuit); }
.lp-avec .lp-liste li { color: var(--lp-texte-nuit); }
.lp-liste-tiret li::before { content: "—"; position: absolute; left: 0; color: var(--lp-gris-nuit); }
.lp-liste-coche li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9.5l3 3 7-7' stroke='%238FE3BF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.lp-liste-claire li { color: var(--lp-encre); padding-top: 12px; border-top: 1px solid var(--lp-ligne); }
.lp-liste-claire li::before { top: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9.5l3 3 7-7' stroke='%230A7F57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.lp-mini-tableau { background: var(--lp-papier); border-radius: 14px; padding: 6px 18px; color: var(--lp-encre); }
.lp-mini-tableau div { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.lp-mini-tableau div + div { border-top: 1px solid var(--lp-ligne); }
.lp-mini-tableau span { flex: 1; color: var(--lp-gris); font-size: 14px; }
.lp-mini-tableau strong { font-family: var(--lp-display); font-weight: 600; font-size: 20px; font-variant-numeric: tabular-nums; }
.lp-mini-tableau em { font-style: normal; font-weight: 600; font-size: 13px; }
.lp-mini-tableau .lp-vert { color: var(--lp-verifie); }
.lp-rouge { color: var(--lp-al-fg); }

/* ---------- Méthode ---------- */
.lp-fil { height: 3px; border-radius: 2px; background: var(--lp-doux); margin: 64px 0 40px; overflow: hidden; }
.lp-fil span { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--lp-serie); transition: width 1s var(--lp-ressort); }
.lp-etapes { display: grid; gap: 40px; }
@media (min-width: 900px) { .lp-etapes { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.lp-etapes li { display: flex; flex-direction: column; gap: 14px; }
.lp-etapes h3 { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.lp-etapes p { color: var(--lp-gris); }
.lp-numero { width: 32px; height: 32px; border-radius: 50%; background: var(--lp-nuit); color: #fff; display: grid; place-items: center; font-family: var(--lp-texte); font-size: 14px; font-weight: 600; flex: none; }
.lp-ecran { background: var(--lp-toile); border-radius: 20px; padding: 20px; }
.lp-fenetre { background: var(--lp-papier); border: 1px solid var(--lp-ligne); border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(10,46,39,.2); padding: 6px 16px; }
.lp-ligne { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: 13.5px; }
.lp-ligne + .lp-ligne { border-top: 1px solid var(--lp-ligne); }
.lp-ligne > :first-child { flex: 1; min-width: 0; }
.lp-ligne strong { font-weight: 600; }

/* ---------- Garantie ---------- */
.lp-garantie { display: grid; gap: 48px; align-items: center; }
.lp-garantie .lp-h2 { margin: 20px 0 24px; }
@media (min-width: 1000px) { .lp-garantie { grid-template-columns: 1fr 640px; gap: 80px; } }
.lp-phrase { background: var(--lp-papier); border: 1px solid var(--lp-ligne); border-radius: 20px; box-shadow: var(--lp-ombre); padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; font-size: 20px; line-height: 1.6; }
.lp-phrase code { font-family: var(--lp-mono); font-size: .92em; color: var(--lp-att-fg); background: none; padding: 0; }
.lp-phrase strong { color: var(--lp-ok-fg); font-weight: 600; }
.lp-phrase .lp-verifie { font-size: 13px; color: var(--lp-ok-fg); }
.lp-remplacement { display: flex; justify-content: center; padding: 14px 0; }
.lp-remplacement span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--lp-nuit); color: #fff; font-size: 13px; font-weight: 500; }
.lp-remplacement b { color: var(--lp-menthe); }

/* ---------- Fonctionnalités ---------- */
.lp-grille { display: grid; gap: 16px; }
@media (min-width: 760px) { .lp-grille { grid-template-columns: repeat(2, 1fr); } .lp-tuile-large { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .lp-grille { grid-template-columns: repeat(3, 1fr); } .lp-tuile-large { grid-column: span 2; } }
.lp-tuile { background: var(--lp-toile); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.lp-visuel { padding: 28px 28px 0; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.lp-visuel .lp-fenetre { border-bottom: 0; border-radius: 14px 14px 0 0; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--lp-ressort); }
.lp-tuile:hover .lp-fenetre { transform: translateY(-6px); }
.lp-tuile h3 { padding: 24px 28px 8px; font-size: 21px; }
.lp-tuile > p { padding: 0 28px 28px; color: var(--lp-gris); }
.lp-criteres { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.lp-criteres div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--lp-ligne); border-radius: 12px; font-size: 13.5px; }
.lp-facteur { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--lp-doux); font-size: 13.5px; }
.lp-facteur span { flex: 1; }
.lp-facteur strong { font-family: var(--lp-display); font-size: 22px; color: var(--lp-att-fg); }
.lp-croise { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 12.5px; }
.lp-croise th { text-align: left; font-weight: 500; color: var(--lp-gris); padding: 0 6px; }
.lp-croise thead th { text-align: center; }
.lp-croise td { text-align: center; font-weight: 600; padding: 7px 0; border-radius: 8px; background: rgba(10, 127, 87, var(--v)); }
.lp-croise td.lp-masque { background: none; outline: 1px dashed var(--lp-ligne); outline-offset: -1px; color: var(--lp-gris); font-weight: 500; }
.lp-question { display: flex; justify-content: space-between; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--lp-doux); font-size: 13px; }
.lp-reponse { font-size: 14px; }
.lp-visuel .lp-pastille { align-self: flex-start; white-space: normal; }
.lp-rupture { width: 100%; height: auto; }
.lp-rupture-etiquette { position: absolute; }
.lp-visuel .lp-fenetre { position: relative; }
.lp-visuel .lp-rupture-etiquette { top: 14px; right: 18px; }
.lp-complements { display: grid; gap: 0; margin-top: 40px; }
.lp-complements li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--lp-ligne); }
.lp-complements strong { font-weight: 600; font-size: 15px; }
.lp-complements span { color: var(--lp-gris); font-size: 14.5px; }
@media (min-width: 900px) { .lp-complements { grid-template-columns: repeat(4, 1fr); } .lp-complements li { padding: 20px 24px 4px; } .lp-complements li:first-child { padding-left: 0; } }

/* ---------- Terrain ---------- */
.lp-terrain { padding: 0 0 clamp(64px, 8vw, 104px); }
.lp-photos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

/* ---------- Pour qui ---------- */
.lp-publics { display: grid; gap: 48px; }
@media (min-width: 900px) { .lp-publics { grid-template-columns: 1fr 1fr; gap: 64px; } }
.lp-publics > div { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 2px solid var(--lp-encre); }
.lp-publics h3 { font-size: 26px; }

/* ---------- Sécurité ---------- */
.lp-securite { display: grid; gap: 48px; }
.lp-securite .lp-h2 { margin: 20px 0 24px; }
@media (min-width: 1000px) { .lp-securite { grid-template-columns: 480px 1fr; gap: 96px; } }
.lp-garanties li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid var(--lp-ligne-nuit); }
.lp-garanties li:last-child { border-bottom: 1px solid var(--lp-ligne-nuit); }
.lp-garanties li > span { font-family: var(--lp-mono); font-size: 12.5px; color: var(--lp-menthe); padding-top: 4px; }
.lp-garanties h3 { font-size: 20px; }
.lp-garanties p { color: var(--lp-gris-nuit); margin-top: 6px; }

/* ---------- Questions ---------- */
.lp-faq-grille { display: grid; gap: 40px; }
.lp-faq-grille .lp-h2 { margin: 20px 0 16px; }
@media (min-width: 1000px) { .lp-faq-grille { grid-template-columns: 400px 1fr; gap: 96px; } }
.lp-faq-item { border-top: 1px solid var(--lp-ligne); }
.lp-faq-item:last-child { border-bottom: 1px solid var(--lp-ligne); }
.lp-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--lp-display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.lp-faq-plus::before, .lp-faq-plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 1px; background: var(--lp-gris); transition: transform .3s var(--lp-ressort); }
.lp-faq-plus::after { transform: rotate(90deg); }
.lp-faq-item[open] .lp-faq-plus::after { transform: rotate(0); }
.lp-faq-item p { padding: 0 40px 22px 0; color: var(--lp-gris); }

/* ---------- Démonstration ---------- */
.lp-final { padding: clamp(88px, 11vw, 144px) 0; }
.lp-demo { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .lp-demo { grid-template-columns: 1fr 520px; gap: 80px; } }
.lp-demo-texte { display: flex; flex-direction: column; gap: 24px; }
.lp-display-final { font-size: clamp(40px, 5vw, 68px); max-width: 680px; }
.lp-demo-direct { color: var(--lp-gris-nuit); }
.lp-demo-direct a { color: var(--lp-menthe); }
.lp-demo-carte { background: var(--lp-papier); color: var(--lp-encre); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); }
.lp-demo-note { font-size: 12.5px; color: var(--lp-gris); margin: 0; }
.lp-demo-merci { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 0; }
.lp-demo-merci h3 { color: var(--lp-encre); }
.lp-demo-coche { width: 56px; height: 56px; border-radius: 50%; background: var(--lp-ok-bg); color: var(--lp-ok-fg); display: grid; place-items: center; }
.lp-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied ---------- */
.lp-pied { background: var(--lp-nuit); color: var(--lp-gris-nuit); border-top: 1px solid var(--lp-ligne-nuit); font-size: 14px; }
.lp-pied-barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 32px; }
.lp-pied .ir-logo { color: #fff; }
.lp-pied .ir-logo em { color: var(--lp-menthe); }

/* ================= Mouvement =================
   Sans JavaScript, tout est visible. Avec JavaScript, les éléments apparaissent à l'entrée dans l'écran. */
@keyframes lp-monte { from { opacity: 0; transform: translateY(var(--dy, 24px)); filter: blur(var(--flou, 0)); } to { opacity: 1; transform: none; filter: none; } }
.js .lp-entree { animation: lp-monte .8s var(--lp-ressort) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); --dy: 16px; }
.js .lp-mot { display: inline-block; animation: lp-monte .9s var(--lp-ressort) both; animation-delay: calc(var(--i) * 70ms + 150ms); --dy: 28px; --flou: 10px; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--lp-ressort), transform .9s var(--lp-ressort); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].visible { opacity: 1; transform: none; }

/* Scène : panneaux en cascade, puis la ligne se dessine (JavaScript), puis l'étiquette */
.js .lp-panneau { animation: lp-monte .9s var(--lp-ressort) both; animation-delay: calc(1.1s + var(--n) * 200ms); --dy: 48px; }
.js .lp-piste span { animation: lp-remplit 1.1s var(--lp-ressort) both 1.9s; }
@keyframes lp-remplit { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .lp-courbe-trait { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lp-dessine 1.2s ease-out forwards 1.7s; }
@keyframes lp-dessine { to { stroke-dashoffset: 0; } }
.js .lp-scene .lp-cellule-source { box-shadow: inset 0 0 0 0 var(--lp-serie); }
.js .lp-scene.relie .lp-cellule-source { box-shadow: inset 0 0 0 2px var(--lp-serie); background: rgba(10, 127, 87, .16); }
.js .lp-etiquette { opacity: 0; translate: 0 12px; transition: opacity .6s var(--lp-ressort), translate .6s var(--lp-ressort); }
.js .lp-scene.relie .lp-etiquette { opacity: 1; translate: 0 0; }
.lp-trace circle { transform-box: fill-box; transform-origin: center; }
.js .lp-trace circle { transform: scale(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.js .lp-trace circle.allume { transform: scale(1); }

/* Ruptures : la chute se dessine quand la tuile apparaît */
.js .lp-rupture-chute { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease-out .4s; }
.js .visible .lp-rupture-chute { stroke-dashoffset: 0; }

/* Garantie : les repères deviennent les valeurs calculées */
.js [data-garantie] .lp-phrase-rapport { opacity: .25; transition: opacity .8s var(--lp-ressort) .5s; }
.js [data-garantie] .lp-remplacement span { transform: translateY(-8px); opacity: 0; transition: all .6s var(--lp-ressort) .25s; }
.js [data-garantie].visible .lp-phrase-rapport { opacity: 1; }
.js [data-garantie].visible .lp-remplacement span { transform: none; opacity: 1; }
.js [data-garantie] .lp-phrase-rapport strong { background: linear-gradient(transparent 62%, rgba(143, 227, 191, .55) 62%) no-repeat 0 0 / 0 100%; transition: background-size .7s var(--lp-ressort) 1.1s; }
.js [data-garantie].visible .lp-phrase-rapport strong { background-size: 100% 100%; }

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .js .lp [data-reveal], .js .lp-panneau, .js .lp-etiquette, .js .lp [data-garantie] .lp-phrase-rapport { opacity: 1; transform: none; translate: none; }
  .js .lp-trace circle { transform: scale(1); }
  .js .lp-courbe-trait, .js .lp-rupture-chute { stroke-dashoffset: 0; }
  .lp-rail { transform: none; }
}
