/* /download/ — mockups/pages/telecharger */

.d-spark { position: absolute; display: block; width: 56px; height: 56px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23ff6e61' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 26 17 33M13 6l9 17M33 4l1 17'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }

/* Hero */
.d-hero { padding-top: 36px; }
.d-hero h1.t-display { font-size: clamp(3rem, 7.6vw, 6.1rem); line-height: .92; }
.d-hero .lede { max-width: 25em; font-size: 1.22rem; line-height: 1.5; }
.d-hero .hero-live { padding-top: 150px; }
.d-hero .hero-art { max-height: 400px; object-position: bottom right; }
.d-spark--hero { top: 70px; left: 6%; transform: rotate(-12deg); }
.d-voice { position: absolute; top: 0; right: 2%; z-index: 2; width: min(66%, 400px); margin: 0; padding: 26px 30px 28px; border: 1px solid rgba(160,190,230,.34); border-radius: 22px; background: linear-gradient(160deg, rgba(34,37,45,.94), rgba(18,20,25,.94)); box-shadow: 0 30px 60px -24px rgba(0,0,0,.85); transform: rotate(-5deg); }
.d-voice::after { content: ""; position: absolute; left: 22%; bottom: -15px; width: 22px; height: 15px; border-left: 1px solid rgba(160,190,230,.34); background: #15171c; clip-path: polygon(0 0, 100% 0, 0 100%); }
.d-voice-row { display: flex; align-items: center; gap: 18px; }
.d-voice-mic { display: grid; flex: none; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--coral); color: #fff; box-shadow: 0 0 28px rgba(255,110,97,.45); }
.d-voice-mic svg { width: 34px; height: 34px; }
.d-voice .m-bars { flex: 1; height: 48px; }
.d-voice p { margin: 20px 0 0; color: #f0eee9; font-size: 1.25rem; line-height: 1.4; text-align: center; }

/* 01 — choose your version */
.d-choose .m-head { margin-bottom: var(--s-6); }
#telechargement.section > .container { display: block; }
.d-cards { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); gap: 26px; align-items: stretch; }
.d-card, #telechargement .d-card { display: flex; flex-direction: column; gap: 14px; max-width: none; margin: 0; padding: 30px 32px 28px; border: 1px solid var(--panel-line); border-radius: 18px; background: var(--panel); }
.d-card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; }
.d-card-head > div { flex: 1; min-width: 0; }
.d-card-head h3 { margin: 0; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.d-card-head p { margin: 4px 0 0; color: #dcd9d4; font-size: .9375rem; }
.d-os-icon { display: grid; flex: none; place-items: center; width: 40px; color: #fff; }
.d-os-icon svg { width: 44px; height: 44px; }
.d-os-icon--win svg { width: 50px; height: 50px; color: #1f8ff0; }
.d-pill { flex: none; align-self: flex-start; padding: 6px 12px; border: 1px solid rgba(255,110,97,.55); border-radius: 999px; background: rgba(255,110,97,.08); color: var(--coral-light); font-size: .8rem; font-weight: 600; }
.d-rows { display: grid; gap: 10px; }
.d-row { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(0,0,0,.18); }
.d-row-icon { display: grid; flex: none; place-items: center; width: 34px; color: #fff; }
.d-row-icon svg { width: 24px; height: 24px; }
.d-row-copy { display: grid; flex: 1; min-width: 0; gap: 2px; }
.d-row-copy strong { font-size: 1.1rem; font-weight: 600; }
.d-row-copy span { color: #cdc9c2; font-size: .875rem; }
.d-card .d-btn { flex: none; min-height: 48px; padding: 0 26px; border-radius: 9px; font-size: .9375rem; }
.d-card .d-btn svg { margin-right: 6px; }
.d-card .d-btn--ghost { border: 0; background: #2a2e36; color: #eceae6; box-shadow: none; }
.d-card .d-btn--ghost:hover { background: #343943; }
.d-rows--win { padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; }
.d-card .d-btn--big { width: 100%; min-height: 78px; justify-content: center; }
.d-btn--big span { display: grid; justify-items: center; font-size: 1.3rem; line-height: 1.15; }
.d-btn--big small { font-size: .75rem; font-weight: 500; opacity: .9; }
.d-card-foot { margin: 0; color: #c9c5be; font-size: .875rem; line-height: 1.5; }
.d-card-foot a { color: var(--coral-light); }
.d-card-warn { color: var(--muted); }
.d-sha { display: grid; gap: 4px; margin: auto 0 0; color: var(--muted); font-size: .72rem; }
.d-sha span { font: 600 .68rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.d-sha code { overflow-wrap: anywhere; color: #b9b5ae; font-size: .72rem; }

/* 02 — install */
.d-install-section { border-top: 1px solid var(--panel-line); }
.d-install { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 44px); align-items: center; }
.d-install .m-head { margin-bottom: var(--s-6); }
.d-install .m-title { max-width: none; font-size: clamp(2.2rem, 4vw, 3.1rem); }
.d-install .m-p { font-size: 1.125rem; }
.d-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.d-step { display: flex; align-items: center; gap: 22px; padding: 22px 24px; border: 1px solid var(--panel-line); border-radius: 16px; background: var(--panel); }
.d-step-num { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #2a2f39; color: #dfe4ee; font-weight: 700; }
.d-step-icon { display: grid; flex: none; place-items: center; width: 44px; color: #f2efea; }
.d-step-icon svg { width: 34px; height: 34px; }
.d-step h3 { margin: 0; font-size: 1.25rem; font-weight: 700; }
.d-step p { margin: 4px 0 0; color: #cdc9c2; font-size: .9375rem; line-height: 1.45; }

.d-laptop { position: relative; margin: 40px 0 0 20px; }
.d-laptop-screen { position: relative; margin: 0 6%; padding: 18px 18px 26px; border: 3px solid #c9ccd3; border-bottom: 0; border-radius: 18px 18px 0 0; background: #0b0c0f; box-shadow: 0 0 0 6px #17191e inset; }
.d-laptop-win { background: #15171c; }
.d-laptop-win .ui-win-bar { background: #1f2228; }
.d-ready { display: grid; justify-items: center; gap: 0; padding: 34px 20px 30px; text-align: center; }
.d-ready img { width: 64px; height: 64px; border-radius: 15px; }
.d-ready-title { margin: 16px 0 18px; font-size: 1.35rem; font-weight: 700; }
.d-ready-keys { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 0; color: #dcd9d4; font-size: .9375rem; }
.d-ready .ui-key { min-width: 34px; height: 32px; padding: 0 10px; border-bottom-width: 2px; border-radius: 7px; font-size: .9rem; }
.d-ready-sub { margin: 12px 0 0; color: #dcd9d4; font-size: .9375rem; }
.d-laptop-base { position: relative; height: 30px; margin: 0 -4%; border-radius: 2px 2px 22px 22px / 2px 2px 14px 14px; background: linear-gradient(180deg, #e3e5ea, #9a9ea8); box-shadow: 0 40px 60px -26px rgba(0,0,0,.9); }
.d-laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 7px; border-radius: 0 0 8px 8px; background: #8d919a; transform: translateX(-50%); }
.d-spark--top { top: -70px; right: 0; transform: rotate(8deg); }
.d-spark--side { right: -30px; bottom: 20px; transform: rotate(80deg) scale(.7); }

@media (max-width: 900px) {
  .d-hero .hero-live { margin-right: 0; padding-top: 120px; }
  .d-cards, .d-install { grid-template-columns: 1fr; }
  .d-laptop { margin: 24px 0 0; }
}
@media (max-width: 560px) {
  .d-voice { width: 78%; padding: 14px 16px; }
  .d-voice-mic { width: 46px; height: 46px; }
  .d-voice-mic svg { width: 24px; height: 24px; }
  .d-voice p { font-size: .875rem; }
  .d-spark--hero { display: none; }
  .d-card-head { flex-wrap: wrap; gap: 12px; }
  .d-card-head > div { flex-basis: calc(100% - 64px); }
  .d-pill { margin-left: 52px; }
  .d-row { flex-wrap: wrap; }
  .d-row .d-btn { width: 100%; justify-content: center; }
  .d-step { gap: 14px; padding: 16px; }
  .d-step-icon { display: none; }
  .d-laptop-screen { margin: 0 4%; padding: 10px 10px 14px; }
  .d-ready { padding: 20px 10px; }
  .d-spark--side { display: none; }
}
