/* Page Telecharger : en-tete sombre et centre, capture en perspective qui
   deborde sur la section suivante, liste des plateformes facon fiche de
   boutique, frise des etapes. S'appuie sur les variables de landing.css.
   Liens : « .lp a.classe » pour passer devant « .lp a:not(.lp-btn) { color: inherit } ». */

/* ---------- en-tete sombre ---------- */
.db-hero {
    position: relative;
    display: flow-root; /* la marge negative de la capture ne traverse pas l'en-tete */
    padding: 72px 24px 0;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(700px 360px at 50% 105%, rgb(20 184 166 / 30%), transparent 70%),
        radial-gradient(800px 420px at 50% -10%, rgb(11 94 215 / 45%), transparent 65%),
        #0a1224;
}
/* Trame fine : donne de la matiere au fond sans image. */
.db-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}
.db-hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.db-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 24px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgb(255 255 255 / 7%);
    border: 1px solid rgb(255 255 255 / 14%);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #cfe0ff;
}
.db-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgb(52 211 153 / 20%); }
.db-hero h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
.db-hero h1 span {
    background: linear-gradient(90deg, #7cb7ff, #5eead4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.db-lead { margin: 0 auto 28px; max-width: 600px; font-size: 18px; color: #b6c3d8; }
/* Message apres l'inscription : encadre distinct, 24 px au-dessus et en dessous. */
.db-welcome {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 560px;
    margin: -4px auto 24px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgb(110 231 183 / 35%);
    background: rgb(52 211 153 / 10%);
    color: #d1fae5;
    text-align: left;
    font-size: 15px;
    line-height: 1.5;
}
.db-welcome p { margin: 0; }
.db-welcome-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #34d399; color: #0a1224; }

.db-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; }
.db-badge {
    display: inline-block;
    line-height: 0;
    border-radius: 11px;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 22%), 0 18px 40px rgb(0 0 0 / 45%);
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.db-badge:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 1px rgb(255 255 255 / 40%), 0 22px 46px rgb(0 0 0 / 50%); }
.db-badge:focus-visible { outline: 3px solid #7cb7ff; outline-offset: 4px; }
.db-badge img { display: block; width: 240px; height: auto; }
.db-badge-sm { box-shadow: 0 8px 18px rgb(15 23 42 / 22%); }
.db-badge-sm:hover { box-shadow: 0 12px 24px rgb(15 23 42 / 28%); }
.db-badge-sm img { width: 164px; }

/* Installateur du site : bouton fantome, clairement second */
.lp a.db-alt {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    border-radius: 11px;
    border: 1px solid rgb(255 255 255 / 22%);
    background: rgb(255 255 255 / 5%);
    color: #e6edf8;
    font-size: 14px;
    font-weight: 600;
    transition: background 140ms ease, border-color 140ms ease;
}
.lp a.db-alt:hover { background: rgb(255 255 255 / 11%); border-color: rgb(255 255 255 / 40%); }
.db-alt svg { font-size: 17px; color: #7cb7ff; }
.db-alt small { color: #8fa0bb; font-weight: 500; }

/* Bouton principal (macOS, Android ou aucune detection) */
.lp a.db-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 26px 14px 16px;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
    text-align: left;
    box-shadow: 0 18px 40px rgb(0 0 0 / 40%);
    transition: transform 160ms ease;
}
.lp a.db-main:hover { transform: translateY(-2px); }
.db-main small { display: block; font-size: 12.5px; font-weight: 500; color: var(--faint); }
.db-main-glyph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: #0a1224; color: #fff; font-size: 21px; }

.db-device { margin: 20px 0 0; font-size: 13px; color: #8fa0bb; }
.lp .db-device a { color: #cfe0ff; font-weight: 600; }
.lp .db-device a:hover { color: #fff; text-decoration: underline; }
.db-perk { display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 0; font-size: 13.5px; font-weight: 600; color: #6ee7b7; }
.db-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    color: #a9b6cb;
}
.db-trust li { display: flex; align-items: center; gap: 7px; }
.db-trust svg { color: #5eead4; font-size: 16px; }

/* Capture inclinee qui sort de l'en-tete */
.db-stage { position: relative; z-index: 1; max-width: 1040px; margin: 56px auto -150px; perspective: 1800px; }
.db-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgb(255 255 255 / 18%);
    transform: rotateX(14deg);
    transform-origin: 50% 100%;
    box-shadow: 0 -10px 60px rgb(94 234 212 / 18%), 0 50px 90px rgb(2 6 23 / 55%);
}

/* ---------- sections claires ---------- */
.db-sec { padding: 80px 24px; }
.db-hero + .db-sec { padding-top: 220px; }
.db-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.db-eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.db-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; margin-bottom: 10px; }
.db-head p { margin: 0; color: var(--muted); font-size: 16px; }

/* Liste des plateformes */
.db-list { max-width: 920px; margin: 0 auto; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 24px 60px rgb(15 23 42 / 7%); }
.db-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 130px 200px;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    border-top: 1px solid var(--line);
    transition: background 140ms ease;
}
.db-row:first-child { border-top: 0; }
.db-row:hover { background: #fafcff; }
.db-row-mine { background: linear-gradient(90deg, rgb(11 94 215 / 6%), transparent 60%); box-shadow: inset 4px 0 0 var(--blue); }
.db-row-soon { opacity: .7; }
.db-row-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--plat-wash); color: var(--plat); font-size: 25px; }
.db-row-text h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 18px; }
.db-row-text h3 em { padding: 2px 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }
.db-row-text p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.db-row-version { margin: 0; font-size: 13px; font-weight: 600; color: var(--faint); line-height: 1.45; }
.db-row-action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.lp a.db-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 11px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: transform 140ms ease, background 140ms ease;
}
.lp a.db-btn:hover { transform: translateY(-1px); background: var(--blue); }
.lp a.db-row-file { font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.lp a.db-row-file:hover { color: var(--blue); }
.db-soon { font-size: 12.5px; color: var(--faint); }

.db-android { max-width: 920px; margin: 18px auto 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.db-android summary { display: flex; align-items: center; gap: 14px; padding: 16px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.db-android summary::-webkit-details-marker { display: none; }
.db-android summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--faint); }
.db-android[open] summary::after { content: "−"; }
.db-android summary .db-row-icon { width: 38px; height: 38px; font-size: 19px; border-radius: 10px; }
.db-android ol { display: grid; gap: 10px; margin: 0; padding: 0 28px 22px 92px; color: var(--muted); line-height: 1.6; }
.db-android p { padding: 0 28px 20px 70px; margin: 0; }
.db-android a { color: var(--blue); font-weight: 700; text-decoration: underline; }

/* Frise */
.db-sec-steps { background: var(--surface); }
.db-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: center;
}
.db-timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    opacity: .35;
}
.db-step {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d6e4f7;
    color: var(--blue);
    font-size: 24px;
    box-shadow: 0 10px 24px rgb(11 94 215 / 14%);
}
.db-timeline li:last-child .db-step { background: linear-gradient(135deg, var(--blue), var(--teal)); border-color: transparent; color: #fff; }
.db-timeline h3 { margin: 0 0 8px; font-size: 17px; }
.db-timeline h3 small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--blue); }
.db-timeline p { margin: 0 auto; max-width: 280px; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Appel final */
.db-final { padding: 72px 24px 88px; }
.db-final-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 36px 40px;
    border-radius: 22px;
    background:
        radial-gradient(400px 200px at 100% 0%, rgb(20 184 166 / 25%), transparent 70%),
        #0a1224;
    color: #fff;
}
.db-final-card h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 8px; }
.db-final-card p { margin: 0; color: #b6c3d8; }
.db-final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; flex-shrink: 0; }
.lp a.db-final-link { color: #fff; font-weight: 700; }
.lp a.db-final-link:hover { text-decoration: underline; }

/* ---------- petits ecrans ---------- */
@media (max-width: 860px) {
    .db-row { grid-template-columns: 48px minmax(0, 1fr); }
    .db-row-version { display: none; }
    .db-row-action { grid-column: 1 / -1; align-items: stretch; text-align: left; }
    .db-row-action .db-badge { align-self: flex-start; }
    .db-final-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .db-hero { padding: 44px 16px 0; }
    .db-lead { font-size: 16px; margin-bottom: 24px; }
    .db-welcome { margin-top: -4px; margin-bottom: 20px; font-size: 14.5px; }
    .db-stage { margin: 40px auto -70px; }
    .db-hero + .db-sec { padding-top: 120px; }
    .db-sec, .db-final { padding-left: 16px; padding-right: 16px; }
    .db-row { padding: 18px; }
    .db-timeline { grid-template-columns: 1fr; gap: 28px; }
    .db-timeline::before { display: none; }
    .db-final-card { padding: 26px 22px; }
    .db-android ol { padding: 0 20px 20px 40px; }
}

/* Desinstaller */
.db-uninstall-list { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px 20px; padding: 22px 26px; border: 1px solid #e9edf3; border-radius: 16px; background: #fff; }
.db-uninstall-list dt { font-weight: 800; }
.db-uninstall-list dd { margin: 0; color: #475569; }
.db-uninstall-note { max-width: 820px; margin: 14px auto 0; color: #64748b; font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 640px) { .db-uninstall-list { grid-template-columns: 1fr; gap: 4px; } .db-uninstall-list dd { margin-bottom: 10px; } }
