/* Composants de la page Téléchargements, limités au contenu support. */
.lh-page .lh-download-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 32px;padding:0;scroll-margin-top:150px}
.lh-page .lh-download-overview>p{color:var(--muted);font-size:12px;flex:none}
.lh-page .lh-download-overview strong{color:var(--ink)}
.lh-page .lh-download-overview nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 18px}
.lh-page .lh-download-overview nav a{font-size:12px;color:var(--muted);text-underline-offset:4px}
.lh-page .lh-download-overview nav a:hover{color:var(--red);text-decoration:underline}
.lh-page .lh-download-equipment{display:flex;align-items:center;gap:20px;padding:22px 24px;border:1px solid var(--line);border-left:3px solid var(--red);border-radius:var(--lh-radius);background:var(--surface);margin-bottom:36px}
.lh-page .lh-download-equipment-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:10px;color:var(--red);background:var(--tint)}
.lh-page .lh-download-equipment>div{flex:1;min-width:0}
.lh-page .lh-download-equipment h2{font-size:16px;letter-spacing:-.02em}
.lh-page .lh-download-equipment p{color:var(--muted);font-size:12px;margin-top:6px}
.lh-page .lh-download-equipment .lh-button{flex:none}
.lh-page .lh-download-group{scroll-margin-top:150px;margin-bottom:36px}
.lh-page .lh-download-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;align-items:stretch}
.lh-page .lh-download-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--lh-radius);background:var(--surface);transition:border-color .18s}
.lh-page .lh-download-card:hover,.lh-page .lh-download-card:focus-within{border-color:var(--red)}
.lh-page .lh-download-card-body{padding:24px 24px 22px}
.lh-page .lh-download-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.lh-page .lh-download-logo{display:grid;place-items:center;flex:none;width:68px;height:68px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff}
.lh-page .lh-download-logo img{display:block;width:48px;height:48px;object-fit:contain}
.lh-page .lh-download-availability{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:3px 9px;white-space:nowrap}
.lh-page .lh-download-card h3{font-size:18px;font-weight:700;letter-spacing:-.025em}
.lh-page .lh-download-card-body>p{color:var(--muted);font-size:13px;margin-top:8px;min-height:42px}
.lh-page .lh-download-choice{margin-top:auto;border-top:1px solid var(--line);padding-top:0}
.lh-page .lh-download-platform-label{padding:14px 16px 0;color:var(--muted);font-size:11px;font-weight:650}
.lh-page .lh-download-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 16px 16px}
.lh-page .lh-download-platform{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:12px;font-weight:550;background:var(--bg)}
.lh-page .lh-download-platform:hover{border-color:var(--red);color:var(--red);background:var(--tint)}
.lh-page .lh-download-platform img{flex:none;object-fit:contain;background:#fff;border-radius:4px;padding:2px;box-sizing:content-box}
.lh-page .lh-download-note{padding-top:4px;color:var(--muted);font-size:12px}
.lh-page .lh-dl-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:50px;align-items:center;padding:54px 56px;margin:8px 0 28px;border-radius:22px;color:#fff;background:radial-gradient(ellipse at 100% 0,#4b202d 0,transparent 58%),#151820;overflow:hidden;position:relative}
.lh-page .lh-dl-hero::before{content:"";position:absolute;left:0;top:45px;bottom:45px;width:4px;border-radius:0 4px 4px 0;background:#ef4352}
.lh-page .lh-dl-kicker{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#f2b9bf}
.lh-page .lh-dl-kicker>span{width:7px;height:7px;border-radius:50%;background:#f34a5a;box-shadow:0 0 0 5px #f34a5a18}
.lh-page .lh-dl-hero h1{font-size:clamp(34px,4.6vw,66px);font-weight:780;line-height:1.04;letter-spacing:-.055em;margin:24px 0 22px;color:#fff}
.lh-page .lh-dl-hero h1 em{font-style:normal;color:#ff6976}
.lh-page .lh-dl-intro{font-size:14px;line-height:1.85;color:#cbd0dd;max-width:440px}
.lh-page .lh-dl-explore{display:inline-flex;align-items:center;gap:24px;margin-top:26px;padding:13px 18px;border-radius:8px;background:#e32d40;color:#fff;font-weight:700;font-size:13px;min-height:46px;transition:background .18s}
.lh-page .lh-dl-explore:hover{background:#c91c30;color:#fff}
.lh-page .lh-dl-explore>span{font-size:22px;line-height:1}
.lh-page .lh-dl-stats{display:flex;flex-wrap:wrap;gap:22px;margin-top:30px;color:#aeb5c5;font-size:11px}
.lh-page .lh-dl-stats>span+span{border-left:1px solid #ffffff26;padding-left:22px}
.lh-page .lh-dl-stats strong{color:#fff;font-size:17px;margin-right:4px;font-weight:750}
.lh-page .lh-dl-hero-visual{min-width:0;padding:12px}
.lh-page .lh-dl-logo-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;transform:rotate(-5deg)}
.lh-page .lh-dl-logo-wall>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:134px;padding:18px 8px;border:1px solid #ffffff4d;border-radius:18px;background:#fff;color:#262b37;box-shadow:0 14px 34px #0003;transition:transform .2s}
.lh-page .lh-dl-logo-wall>a:nth-child(3n+2){transform:translateY(16px)}
.lh-page .lh-dl-logo-wall>a:hover{transform:translateY(-5px) rotate(5deg)}
.lh-page .lh-dl-logo-wall img{width:60px;height:60px;object-fit:contain}
.lh-page .lh-dl-logo-wall span{font-size:10px;font-weight:650;text-align:center}
.lh-page .lh-dl-hero-visual>p{margin-top:38px;text-align:center;font-size:11px;letter-spacing:.03em;color:#bfc4d1}
.lh-page .lh-dl-color-0{--dl-color:#226f9c;--dl-soft:color-mix(in srgb,var(--dl-color) 9%,var(--surface))}
.lh-page .lh-dl-color-1{--dl-color:#7952b2;--dl-soft:color-mix(in srgb,var(--dl-color) 9%,var(--surface))}
.lh-page .lh-dl-color-2{--dl-color:#d92531;--dl-soft:color-mix(in srgb,var(--dl-color) 9%,var(--surface))}
.lh-page .lh-dl-color-3{--dl-color:#21816a;--dl-soft:color-mix(in srgb,var(--dl-color) 9%,var(--surface))}
.lh-page .lh-dl-category{display:flex;flex-direction:column;gap:12px;min-width:0;padding:22px;background:var(--surface);border:1px solid var(--line);border-bottom:3px solid var(--dl-color);border-radius:12px;transition:transform .18s,box-shadow .18s}
.lh-page .lh-dl-category:hover{transform:translateY(-4px);box-shadow:0 10px 25px #0000000d}
.lh-page .lh-dl-category-top{display:flex;justify-content:space-between;color:var(--dl-color);font-size:12px;font-weight:750}
.lh-page .lh-dl-category-top>span:last-child{font-size:21px;font-weight:400;line-height:1}
.lh-page .lh-dl-category>strong{font-size:16px;line-height:1.35;letter-spacing:-.02em}
.lh-page .lh-dl-category-count{font-size:11px;color:var(--muted)}
.lh-page .lh-download-group{margin-top:44px;margin-bottom:44px}
.lh-page .lh-download-group>.lh-section-heading{justify-content:flex-start;gap:18px;margin-bottom:22px}
.lh-page .lh-download-group>.lh-section-heading .lh-counter{margin-left:auto}
.lh-page .lh-dl-group-number{font-size:52px;line-height:1;font-weight:750;letter-spacing:-.07em;color:var(--dl-color);opacity:.55}
.lh-page .lh-download-group .lh-eyebrow{color:var(--dl-color)}
.lh-page .lh-download-group .lh-section-heading h2{font-size:27px}
.lh-page .lh-download-card{border-radius:16px;box-shadow:0 5px 18px #00000004;transition:transform .18s,box-shadow .18s,border-color .18s}
.lh-page .lh-download-card:hover,.lh-page .lh-download-card:focus-within{transform:translateY(-4px);border-color:var(--dl-color);box-shadow:0 14px 30px #0000000e}
.lh-page .lh-download-card-body{border-top:3px solid var(--dl-color);background:linear-gradient(145deg,var(--dl-soft),var(--surface) 75%)}
.lh-page .lh-download-logo{width:76px;height:76px;border-radius:18px;box-shadow:0 5px 12px #00000008}
.lh-page .lh-download-logo img{width:52px;height:52px}
.lh-page .lh-download-card h3{font-size:21px}
.lh-page .lh-download-choice{background:var(--surface);padding-top:0}
.lh-page .lh-download-platform{border-radius:8px;font-weight:650}
.lh-page .lh-download-platform:hover{background:var(--dl-soft);border-color:var(--dl-color);color:var(--ink)}
.lh-page .lh-download-platform img{width:23px;height:23px}
.lh-page .lh-download-equipment{border-radius:14px}
@media(max-width:900px){
 .lh-page .lh-download-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .lh-page .lh-download-overview nav{justify-content:flex-start}
 .lh-page .lh-download-equipment{flex-wrap:wrap}
 .lh-page .lh-download-equipment .lh-button{margin-left:64px}
 .lh-page .lh-dl-hero{padding:34px 30px;gap:30px;grid-template-columns:1.1fr 1fr}
 .lh-page .lh-dl-logo-wall{gap:8px}
 .lh-page .lh-dl-logo-wall>a{min-height:98px;padding:14px 6px;border-radius:12px;gap:8px}
 .lh-page .lh-dl-logo-wall img{width:42px;height:42px}
}
@media(max-width:560px){
 .lh-page .lh-download-equipment{padding:18px;gap:14px}
 .lh-page .lh-download-equipment-icon{width:36px;height:36px}
 .lh-page .lh-download-equipment .lh-button{margin:0;width:100%}
 .lh-page .lh-download-card-body{padding:20px}
 .lh-page .lh-download-group{margin-bottom:28px}
 .lh-page .lh-dl-hero{grid-template-columns:minmax(0,1fr);padding:30px 24px;gap:22px;border-radius:16px}
 .lh-page .lh-dl-hero h1{font-size:43px;margin-top:20px}
 .lh-page .lh-dl-hero-visual{padding:0 8px 14px}
 .lh-page .lh-dl-logo-wall{grid-template-columns:repeat(3,minmax(0,1fr));transform:rotate(-3deg)}
 .lh-page .lh-dl-logo-wall>a{min-height:84px}
 .lh-page .lh-dl-logo-wall img{width:36px;height:36px}
 .lh-page .lh-dl-hero-visual>p{display:none}
 .lh-page .lh-dl-category{padding:16px;gap:10px}
 .lh-page .lh-dl-category>strong{font-size:14px}
 .lh-page .lh-dl-category-count{font-size:10px}
 .lh-page .lh-dl-group-number{font-size:39px}
 .lh-page .lh-download-group .lh-section-heading h2{font-size:22px}
 .lh-page .lh-download-group>.lh-section-heading{gap:12px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.lh-page .lh-dl-logo-wall>a,.lh-page .lh-dl-category,.lh-page .lh-download-card{transition:none;transform:none}}

/* Adaptation du HTML/CSS fourni : bouton, systèmes :target, puis fiche :target. */
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-download-card{position:relative;overflow:hidden}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-download-card-body{border-radius:16px 16px 0 0}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-download-card:has(.is-active),:is(.lh-page,.catalogue-grid[data-lh-downloads]) [data-lh-downloads]:not([data-cp-enhanced]) .lh-download-card:has(:target){z-index:30;transform:none;transition:box-shadow .18s,border-color .18s}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-widget{position:relative;height:72px;flex:none;border-radius:0 0 16px 16px}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-widget>.lh-cp-download.site-action{position:absolute;top:50%;left:50%;display:block;width:min(230px,calc(100% - 56px));max-width:calc(100% - 24px)!important;box-sizing:border-box;height:var(--action-height);margin:0;padding:0!important;transform:translate(-50%,-50%);overflow:hidden;text-align:center;letter-spacing:.04em;box-shadow:inset 0 -1px 0 #0001,0 2px 8px #0001;transition:background-color .15s,border-color .15s}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-button-label,:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-button-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transition:top .3s cubic-bezier(.67,.13,.1,.81),opacity .3s cubic-bezier(.67,.13,.1,.81)}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-button-hint{top:-100%;bottom:100%;opacity:0}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-download:is(:hover,:focus-visible) .lh-cp-button-label{top:100%;bottom:-100%;opacity:0}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-download:is(:hover,:focus-visible) .lh-cp-button-hint{top:0;bottom:0;opacity:1}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-platforms{position:absolute;bottom:10px;left:8px;right:8px;display:grid;grid-template-columns:repeat(var(--cp-columns),minmax(0,1fr));gap:8px;width:auto;max-width:calc(100% - 16px);padding:32px 10px 10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 12px 32px #0003;visibility:hidden;opacity:0;pointer-events:none;overflow:hidden;transform:scale(.9);transform-origin:bottom center;transition:visibility .3s cubic-bezier(.67,.13,.1,.81),opacity .3s cubic-bezier(.67,.13,.1,.81),transform .3s cubic-bezier(.67,.13,.1,.81)}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-platforms.is-active,:is(.lh-page,.catalogue-grid[data-lh-downloads]) [data-lh-downloads]:not([data-cp-enhanced]) .lh-cp-platforms:target{visibility:visible;opacity:1;pointer-events:auto;transform:scale(1)}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-platforms .lh-cp-os{border:0;background:transparent;position:relative;top:calc(var(--cp-rows) * 110px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:100px;padding:12px 4px;border-radius:10px;color:var(--red);font-size:11px;font-weight:650;transition:top .5s cubic-bezier(.67,.13,.1,.81),background-color .2s}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-platforms .lh-cp-os:nth-of-type(3n+2),:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-platforms .lh-cp-os:nth-of-type(3n+1){transition-delay:.1s}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-platforms.is-active .lh-cp-os,:is(.lh-page,.catalogue-grid[data-lh-downloads]) [data-lh-downloads]:not([data-cp-enhanced]) .lh-cp-platforms:target .lh-cp-os{top:0}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-platforms .lh-cp-os:hover{background:var(--tint);box-shadow:inset 0 0 0 1px var(--red)}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-os img{width:44px;height:44px;object-fit:contain;padding:4px;border-radius:8px;background:#fff}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-close,:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-back{position:absolute;z-index:1;top:8px;display:grid;place-items:center;width:28px;height:28px;border-radius:6px;color:var(--muted);font-size:24px;line-height:1;text-decoration:none}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-close{right:8px}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) .lh-cp-back{left:8px}
:is(.lh-page,.catalogue-grid[data-lh-downloads]) :is(.lh-cp-close,.lh-cp-back):hover{background:var(--tint);color:var(--red)}
@media(prefers-reduced-motion:reduce){:is(.lh-page,.catalogue-grid[data-lh-downloads]) :is(.lh-cp-download.site-action,.lh-cp-button-label,.lh-cp-button-hint,.lh-cp-platforms,.lh-cp-os){transition:none!important}}

body.ls-app .lh-download-card-body h3{margin-bottom:4px}
body.ls-app .lh-download-card-body>p{margin-top:0;margin-bottom:6px}
body.ls-app .download-system-icons{display:flex;align-items:center;gap:6px}
body.ls-app .download-system-icons .software-os-icon{width:16px;height:16px;object-fit:contain}
body.ls-app .lh-cp-platforms .lh-cp-os img{width:18px;height:18px;padding:2px}

body.ls-app .lh-download-card{display:flex;flex-direction:column}
body.ls-app .lh-download-card>.download-system-icons{margin-top:auto;padding:0 16px 6px}
body.ls-app .lh-download-card>.download-system-icons+.lh-download-choice{margin-top:0}
