/* ──────────────────────────────────────────────────────────────────────────
   Kredy — feuille de style du site public (kredy.sn)
   Les valeurs viennent du design validé (aiDocs/design_handoff_kredy_landing).

   Pourquoi un second fichier plutôt que `styles/app.css` : la landing n'a
   besoin d'aucun écran de l'application, et l'application n'a besoin d'aucune
   section de la landing. Les jetons communs sont recopiés ici — une trentaine
   de lignes — plutôt que partagés par un `@import`, qui coûterait une requête
   de plus sur une 3G pour économiser un kilo-octet.

   Ce fichier vit dans `assets/landing/` : `PrecacheManifest` y voit le
   préfixe et l'exclut du cache hors ligne de l'application.
   ────────────────────────────────────────────────────────────────────────── */

/* ─── Polices ─────────────────────────────────────────────────────────────
   Les mêmes fichiers que l'application, déjà sous-ensemblés en latin. Aucun
   appel à Google Fonts : une landing qui attend un tiers pour afficher son
   titre perd les visiteurs qu'elle vient de gagner.                        */
@font-face {
    font-family: 'Bricolage Grotesque';
    src: url("../fonts/bricolage-grotesque-latin-k0HXNf5.woff2") format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
        U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url("../fonts/source-sans-3-latin-8PKsh_E.woff2") format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
        U+FEFF, U+FFFD;
}

/* ─── Jetons ──────────────────────────────────────────────────────────────
   Mêmes noms que dans `app.css` quand la valeur est la même. Les hex sont le
   repli sRGB pour les vieilles WebView Android ; les navigateurs récents
   reçoivent l'oklch exact du design.                                       */
:root {
    --ink: #140B05;
    --ink-2: #2C231C;
    --ink-3: #372E27;
    --ink-line: #453C34;
    --cream: #FCF4EB;
    --cream-dark: #F3ECE2;
    --surface: #FFFBF7;
    --amber: #A63C00;
    --amber-dark: #8A3200;
    --amber-brand: #D55C13;
    --olive: #5C6C14;
    --olive-text: #354000;
    --olive-pale: #C1E29F;
    --olive-chip: #33450A;
    --border: #E3DDD8;
    --border-2: #E5E0D9;
    --field: #DDD6D1;
    --field-strong: #C9C3BE;
    --handle: #D6D0CB;
    --text-1: #4F463D;
    --text-body: #554B42;
    --text-2: #5E534A;
    --text-3: #6C6158;
    --text-nav: #473E36;
    --chip-text: #362C24;
    --chip-on-ink: #3B322A;
    --on-ink-chip: #D5CBC3;
    --on-ink-1: #CFC5BC;
    --on-ink-2: #B8ABA2;
    --on-ink-3: #A89C92;
    --on-ink-label: #998D83;
    --nav-active-bg: #302017;
    --nav-active-text: #FFA659;
    --nav-outline: #443428;
    --sync: #9CD8EE;
    --sync-bg: rgb(60 160 200 / 16%);
    --dot-red: #F0908A;
    --dot-yellow: #E8C368;
    --dot-green: #96D8A0;
    --chrome: #EDE6DC;
    --chrome-line: #DCD5CC;

    --font-display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

    --shadow-card: 0 18px 44px rgb(20 11 5 / 10%);
    --shadow-desk: 0 26px 60px rgb(20 11 5 / 20%);
    --shadow-phone: 0 28px 60px rgb(20 11 5 / 28%);
    --shadow-fab: 0 6px 14px rgb(166 60 0 / 42%);
}

@supports (color: oklch(0.5 0.1 60)) {
    :root {
        --ink: oklch(0.16 0.02 60);
        --ink-2: oklch(0.24 0.02 60);
        --ink-3: oklch(0.30 0.02 60);
        --ink-line: oklch(0.34 0.02 60);
        --cream: oklch(0.97 0.015 70);
        --cream-dark: oklch(0.94 0.014 70);
        --surface: oklch(0.99 0.008 70);
        --amber: oklch(0.50 0.17 42);
        --amber-dark: oklch(0.42 0.15 42);
        --amber-brand: oklch(0.62 0.17 45);
        --olive: oklch(0.50 0.11 120);
        --olive-text: oklch(0.35 0.10 120);
        --olive-pale: oklch(0.86 0.09 130);
        --olive-chip: oklch(0.33 0.09 120);
        --border: oklch(0.90 0.01 60);
        --border-2: oklch(0.91 0.01 60);
        --field: oklch(0.88 0.01 60);
        --field-strong: oklch(0.82 0.01 60);
        --handle: oklch(0.86 0.01 60);
        --text-1: oklch(0.38 0.02 60);
        --text-body: oklch(0.40 0.02 60);
        --text-2: oklch(0.45 0.02 60);
        --text-3: oklch(0.50 0.02 60);
        --text-nav: oklch(0.35 0.02 60);
        --chip-text: oklch(0.30 0.02 60);
        --chip-on-ink: oklch(0.28 0.02 60);
        --on-ink-chip: oklch(0.85 0.01 60);
        --on-ink-1: oklch(0.80 0.02 60);
        --on-ink-2: oklch(0.75 0.02 60);
        --on-ink-3: oklch(0.70 0.02 60);
        --on-ink-label: oklch(0.65 0.02 60);
        --nav-active-bg: oklch(0.26 0.03 50);
        --nav-active-text: oklch(0.80 0.14 60);
        --nav-outline: oklch(0.34 0.03 60);
        --sync: oklch(0.85 0.09 200);
        --sync-bg: oklch(0.60 0.16 200 / 16%);
        --dot-red: oklch(0.72 0.14 25);
        --dot-yellow: oklch(0.82 0.13 85);
        --dot-green: oklch(0.75 0.14 145);
        --chrome: oklch(0.91 0.01 70);
        --chrome-line: oklch(0.86 0.01 60);

        --shadow-card: 0 18px 44px oklch(0.16 0.02 60 / 10%);
        --shadow-desk: 0 26px 60px oklch(0.16 0.02 60 / 20%);
        --shadow-phone: 0 28px 60px oklch(0.16 0.02 60 / 28%);
        --shadow-fab: 0 6px 14px oklch(0.50 0.17 42 / 42%);
    }
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

h1,
h2,
p,
ul {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--amber);
    text-decoration: none;
}

a:hover {
    color: var(--amber-dark);
}

/* Le design ne définit pas d'anneau de focus : celui-ci reprend l'ambre de
   l'action, avec le décalage prévu par le handoff. */
a:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Les ancres passent sous la barre collante sans la contourner. */
[id] {
    scroll-margin-top: 72px;
}

.lp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 22px;
}

.lp-section {
    padding: 54px 0;
}

/* ─── Titres et blocs de texte ───────────────────────────────────────────── */
.lp-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 14px;
}

.lp-label--amber {
    letter-spacing: 0.1em;
    color: var(--amber-brand);
    margin-bottom: 18px;
}

.lp-h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 14px;
    text-wrap: pretty;
}

.lp-h2--small {
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.lp-h2--dark {
    color: var(--cream);
    max-width: 22rem;
    margin-bottom: 18px;
}

.lp-lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-1);
    margin-bottom: 30px;
    max-width: 34rem;
}

.lp-lead--tight {
    margin-bottom: 24px;
}

.lp-clarify {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-2);
    margin-top: 18px;
    max-width: 34rem;
}

.lp-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-bullets li {
    position: relative;
    padding-left: 17px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-1);
}

.lp-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber-brand);
}

.lp-bullets strong {
    color: var(--ink);
}

.lp-bullets--dark li {
    font-size: 15.5px;
    color: var(--on-ink-chip);
}

.lp-bullets--dark strong {
    color: #fff;
}

/* ─── Boutons ─────────────────────────────────────────────────────────────
   Le design ne prévoit pas d'état de survol : assombrissement discret, comme
   dans l'application.                                                      */
.lp-btn {
    display: block;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    border-radius: 14px;
    padding: 17px 24px;
    transition: filter 0.15s ease;
}

.lp-btn:hover {
    filter: brightness(0.96);
}

.lp-btn--amber {
    background: var(--amber);
    color: #fff;
}

.lp-btn--amber:hover {
    color: #fff;
}

.lp-btn--olive {
    background: var(--olive);
    color: #fff;
}

.lp-btn--outline {
    border: 1.5px solid var(--field-strong);
    color: var(--ink);
    padding: 16px 24px;
}

.lp-btn--outline:hover {
    color: var(--ink);
}

.lp-btn--ghost {
    border: 1.5px solid var(--nav-outline);
    color: var(--olive-pale);
}

.lp-btn--sm {
    flex: 1;
    font-size: 13px;
    border-radius: 12px;
    padding: 13px 0;
}

.lp-btn--xl {
    display: inline-block;
    font-size: 16.5px;
    padding: 18px 26px;
}

/* ─── 1. Barre de navigation ─────────────────────────────────────────────── */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px;
    background: rgb(252 244 235 / 92%);
    border-bottom: 1px solid var(--border-2);
}

@supports (backdrop-filter: blur(10px)) {
    .lp-nav {
        backdrop-filter: blur(10px);
    }
}

@supports (color: oklch(0.5 0.1 60)) {
    .lp-nav {
        background: oklch(0.97 0.015 70 / 0.92);
    }
}

.lp-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.lp-nav__brand:hover {
    color: var(--ink);
}

.lp-nav__brand img {
    border-radius: 9px;
}

.lp-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 32px;
}

.lp-nav__links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-nav);
}

.lp-nav__links a:hover {
    color: var(--amber);
}

.lp-nav__cta {
    flex-shrink: 0;
    font-size: 14px;
    border-radius: 10px;
    padding: 10px 15px;
}

.lp-nav__cta-long {
    display: none;
}

/* ─── 2. Hero ────────────────────────────────────────────────────────────── */
.lp-hero {
    padding: 44px 0 56px;
}

.lp-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.lp-hero__copy {
    min-width: 0;
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(92 108 20 / 12%);
    color: var(--olive-chip);
    border-radius: 22px;
    padding: 7px 14px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 700;
}

@supports (color: oklch(0.5 0.1 60)) {
    .lp-pill {
        background: oklch(0.50 0.11 120 / 0.12);
    }
}

.lp-pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--olive);
}

.lp-hero__h1,
.lp-hero__h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 38px;
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: pretty;
}

.lp-hero__h1 {
    margin-bottom: 10px;
}

.lp-hero__h2 {
    color: var(--amber);
    margin-bottom: 20px;
}

.lp-hero__sub {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text-1);
    margin-bottom: 32px;
}

.lp-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.lp-reassure {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-2);
}

.lp-reassure__dot {
    color: var(--field-strong);
}

.lp-hero__visual {
    display: flex;
    justify-content: center;
}

/* ─── Maquette téléphone ─────────────────────────────────────────────────── */
.lp-phone {
    width: 300px;
    flex-shrink: 0;
    background: var(--ink);
    border-radius: 38px;
    padding: 10px;
    box-shadow: var(--shadow-phone);
    transform: scale(0.94);
    transform-origin: top center;
}

.lp-phone__screen {
    background: var(--cream);
    border-radius: 30px;
    overflow: hidden;
}

.lp-phone__status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-2);
}

.lp-phone__body {
    padding: 6px 18px 18px;
}

.lp-phone__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
}

.lp-phone__brand img {
    border-radius: 7px;
}

.lp-phone__actions {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.lp-phone__label,
.lp-desk__label,
.lp-pending__label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 8px;
}

/* Carte « total à recevoir », partagée par le téléphone et l'ordinateur. */
.lp-total {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 12px;
}

.lp-total__mark {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 4px;
    opacity: 0.5;
}

.lp-total__mark i {
    width: 3px;
    height: 22px;
    border-radius: 2px;
    background: var(--amber-brand);
}

.lp-total__mark i:last-child {
    background: #7E903E;
}

@supports (color: oklch(0.5 0.1 60)) {
    .lp-total__mark i:last-child {
        background: oklch(0.62 0.11 120);
    }
}

.lp-total__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-ink-3);
    margin-bottom: 8px;
}

.lp-total__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--cream);
}

.lp-total__currency {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--amber-brand);
    margin-top: 2px;
}

.lp-chip {
    display: inline-block;
    margin-top: 14px;
    font-size: 11px;
    color: var(--on-ink-chip);
    background: var(--chip-on-ink);
    padding: 5px 10px;
    border-radius: 18px;
}

.lp-chip--olive {
    color: var(--olive-pale);
}

/* Ligne d'opération, quatre décors pour un seul motif. */
.lp-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.lp-line--last {
    border-bottom: 0;
}

.lp-line__left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lp-line__bar {
    width: 4px;
    height: 28px;
    border-radius: 2px;
    background: var(--ink);
    flex-shrink: 0;
}

.lp-line__bar--olive {
    background: var(--olive-text);
}

.lp-line__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.lp-line__meta {
    display: block;
    font-size: 11px;
    color: var(--text-3);
}

.lp-line__amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

.lp-line__amount--olive {
    color: var(--olive-text);
}

.lp-line__amount--olive-light {
    color: var(--olive-pale);
}

/* Barre d'onglets du téléphone. */
.lp-tabs {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 9px 18px 14px;
}

.lp-tabs__item {
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    color: #84786F;
}

@supports (color: oklch(0.5 0.1 60)) {
    .lp-tabs__item {
        color: oklch(0.58 0.02 60);
    }
}

.lp-tabs__item svg {
    width: 18px;
    height: 18px;
    display: block;
    margin: 0 auto 3px;
}

.lp-tabs__item.is-active {
    color: var(--amber);
}

.lp-tabs__item--note {
    font-weight: 800;
    color: var(--ink);
    transform: translateY(-13px);
}

.lp-tabs__disc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 3px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: var(--shadow-fab);
    color: #fff;
    font-size: 22px;
    font-style: normal;
}

/* ─── 3. Le calcul + remboursement partiel ───────────────────────────────── */
.lp-mechanic {
    padding: 0 0 48px;
}

.lp-mechanic__grid {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.lp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.lp-card--pad {
    padding: 20px;
}

.lp-card__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.02em;
    margin-bottom: 9px;
}

.lp-card__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-body);
}

.lp-sum {
    padding: 22px 24px;
}

.lp-sum__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    font-size: 15.5px;
    color: var(--text-1);
}

.lp-sum__row--rule {
    border-bottom: 2px solid var(--ink);
}

.lp-sum__row--total {
    padding: 16px 0 4px;
    font-weight: 700;
    color: var(--ink);
}

.lp-sum__amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    color: var(--ink);
}

.lp-sum__amount--olive {
    color: var(--olive-text);
}

.lp-sum__result {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -0.03em;
    color: var(--amber);
}

.lp-steps-amounts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 15.5px;
    color: var(--text-1);
}

.lp-amount__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: var(--ink);
}

.lp-amount__value--olive {
    color: var(--olive-text);
}

.lp-amount--ink {
    background: var(--ink);
    padding: 18px 20px;
    color: var(--on-ink-chip);
}

.lp-amount--ink .lp-amount__value {
    font-size: 24px;
    color: var(--cream);
}

.lp-amount__unit {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--amber-brand);
}

/* ─── 4. Le problème ─────────────────────────────────────────────────────── */
.lp-problem {
    padding: 54px 0;
    background: var(--cream-dark);
    border-top: 1px solid var(--border-2);
    border-bottom: 1px solid var(--border-2);
}

.lp-grid3 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-bridge {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--amber);
    margin-top: 30px;
    max-width: 24rem;
    text-wrap: pretty;
}

/* ─── 5. Enregistrez. Suivez. Relancez. ──────────────────────────────────── */
.lp-steps {
    gap: 16px;
    margin-bottom: 26px;
}

.lp-step {
    border-top: 2px solid var(--ink);
    padding-top: 16px;
}

.lp-step__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    line-height: 1;
    color: var(--amber);
    margin-bottom: 12px;
}

.lp-step__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17.5px;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.lp-answer {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--ink);
    border-radius: 20px;
    padding: 26px 22px;
}

.lp-answer__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-ink-3);
    margin-bottom: 10px;
}

.lp-answer__quote {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--cream);
}

.lp-answer__figure {
    border-top: 1px solid var(--ink-3);
    padding-top: 20px;
}

.lp-answer__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--cream);
}

.lp-answer__value span {
    font-size: 20px;
    font-weight: 600;
    color: var(--amber-brand);
}

.lp-answer__note {
    font-size: 14px;
    color: var(--on-ink-1);
    margin-top: 8px;
}

/* ─── 6. La relance ──────────────────────────────────────────────────────── */
.lp-relance {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.lp-relance__visual {
    display: flex;
    justify-content: center;
}

.lp-fiche {
    width: 340px;
    max-width: 100%;
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.lp-fiche__head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.lp-fiche__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
}

.lp-fiche__name {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.lp-fiche__phone {
    display: block;
    font-size: 13px;
    color: var(--text-3);
}

.lp-due {
    background: var(--ink);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.lp-due__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-ink-3);
    margin-bottom: 8px;
}

.lp-due__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--cream);
}

.lp-due__value span {
    font-size: 14px;
    font-weight: 600;
    color: var(--amber-brand);
}

.lp-fiche .lp-line {
    padding: 11px 0;
    border-color: var(--border-2);
}

.lp-fiche .lp-line__name {
    font-size: 14px;
}

.lp-fiche .lp-line__meta {
    font-size: 12px;
}

.lp-fiche .lp-line__amount {
    font-size: 16px;
}

.lp-fiche .lp-line--last {
    padding-bottom: 16px;
}

.lp-fiche__actions {
    display: flex;
    gap: 9px;
}

.lp-fiche__actions .lp-btn {
    flex: 1;
    font-size: 14.5px;
    border-radius: 13px;
    padding: 13px 0;
}

.lp-fiche__actions .lp-btn--outline {
    border-color: var(--handle);
}

.lp-fiche__whatsapp {
    flex: 1.5;
}

/* ─── 7. Hors connexion ──────────────────────────────────────────────────── */
.lp-offline {
    background: var(--ink);
    padding: 56px 0;
}

.lp-offline__grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.lp-offline__lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--on-ink-1);
    margin-bottom: 28px;
    max-width: 460px;
}

.lp-offline__visual {
    min-width: 0;
}

.lp-pending {
    background: var(--ink-2);
    border: 1px solid #3F3630;
    border-radius: 20px;
    overflow: hidden;
}

@supports (color: oklch(0.5 0.1 60)) {
    .lp-pending {
        border-color: oklch(0.32 0.02 60);
    }
}

.lp-pending__bar {
    background: var(--ink-3);
    color: var(--cream-dark);
    font-size: 12.5px;
    padding: 11px 18px;
    text-align: center;
}

.lp-pending__body {
    padding: 22px 20px;
}

.lp-pending__label {
    font-size: 11px;
    color: var(--on-ink-label);
    margin-bottom: 10px;
}

.lp-line--dark {
    padding: 12px 0;
    border-bottom: 1px solid var(--ink-line);
}

.lp-line--dark .lp-line__name {
    font-size: 15px;
    color: var(--cream);
}

.lp-line--dark .lp-line__meta {
    font-size: 12.5px;
    color: var(--on-ink-3);
}

.lp-line--dark .lp-line__amount {
    font-size: 17px;
    color: var(--cream);
}

.lp-pending__chip {
    display: inline-block;
    margin-top: 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sync);
    background: var(--sync-bg);
    padding: 6px 12px;
    border-radius: 20px;
}

.lp-pending__caption {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-left: 4px;
    font-size: 13px;
    color: var(--on-ink-2);
}

.lp-pending__caption i {
    width: 22px;
    height: 1px;
    flex-shrink: 0;
    background: var(--text-2);
}

/* ─── 8. Sur tous vos écrans ─────────────────────────────────────────────── */
.lp-screens {
    padding: 54px 0;
    background: var(--cream-dark);
    border-bottom: 1px solid var(--border-2);
}

/* La maquette est dessinée à sa taille réelle (1120 px) puis réduite par
   `zoom`, comme dans le prototype : contrairement à `transform: scale()`,
   `zoom` participe à la mise en page, la hauteur du bloc suit donc toute
   seule, sans hauteur figée dans la feuille de style.
   L'échelle ne peut pas être calculée : `zoom` attend un nombre, et aucune
   expression CSS ne divise une largeur de fenêtre par une longueur. D'où
   l'escalier ci-dessous, dont chaque marche tient dans la largeur
   disponible — 0,32 en mobile et 0,88 en desktop sont les deux valeurs du
   design, les autres n'existent que pour ne jamais déborder. */
.lp-deskwrap {
    display: flex;
    justify-content: center;
}

.lp-desk {
    width: 1120px;
    border: 1px solid var(--chrome-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-desk);
    zoom: 0.24;
}

@media (min-width: 360px) {
    .lp-desk {
        zoom: 0.28;
    }
}

@media (min-width: 414px) {
    .lp-desk {
        zoom: 0.32;
    }
}

.lp-desk__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    background: var(--chrome);
    border-bottom: 1px solid var(--chrome-line);
}

.lp-desk__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lp-desk__dot--red {
    background: var(--dot-red);
}

.lp-desk__dot--yellow {
    background: var(--dot-yellow);
}

.lp-desk__dot--green {
    background: var(--dot-green);
}

.lp-desk__url {
    margin: 0 auto;
    background: var(--cream);
    border: 1px solid var(--field);
    border-radius: 14px;
    font-size: 11.5px;
    color: var(--text-2);
    padding: 3px 46px;
}

.lp-desk__app {
    display: flex;
    background: var(--cream);
}

.lp-side {
    display: flex;
    flex-direction: column;
    width: 248px;
    flex-shrink: 0;
    background: var(--ink);
    padding: 26px 18px;
}

.lp-side__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    padding: 0 6px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: var(--cream);
}

.lp-side__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--on-ink-2);
}

.lp-side__item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.lp-side__item.is-active {
    background: var(--nav-active-bg);
    color: var(--nav-active-text);
}

.lp-side__gap {
    flex: 1;
    min-height: 20px;
}

.lp-side__action {
    font-size: 15px;
    padding: 15px;
    margin-bottom: 8px;
}

.lp-desk__main {
    flex: 1;
    min-width: 0;
    padding: 38px 40px 44px;
}

.lp-desk__hello {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.lp-desk__top {
    display: flex;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 34px;
}

.lp-total--wide {
    flex: 1;
    border-radius: 22px;
    padding: 24px 22px;
    margin-bottom: 0;
}

.lp-total--wide .lp-total__mark {
    top: 20px;
    right: 20px;
    gap: 5px;
}

.lp-total--wide .lp-total__mark i {
    width: 4px;
    height: 26px;
}

.lp-total--wide .lp-total__label {
    font-size: 11.5px;
    margin-bottom: 12px;
}

.lp-total--wide .lp-total__value {
    font-size: 44px;
}

.lp-total--wide .lp-total__currency {
    font-size: 17px;
    margin-top: 4px;
}

.lp-total__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.lp-total__chips .lp-chip {
    margin-top: 0;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 20px;
}

.lp-desk__day {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-daycard {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
}

.lp-daycard__label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 10px;
}

.lp-daycard__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.lp-daycard__value--olive {
    color: var(--olive-text);
}

.lp-desk__listhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.lp-desk__label {
    font-size: 11px;
    margin-bottom: 0;
}

.lp-desk__all {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--amber);
}

.lp-line--desk {
    padding: 14px 0;
}

.lp-line--desk .lp-line__bar {
    width: 5px;
    height: 34px;
    border-radius: 3px;
}

.lp-line--desk .lp-line__left {
    gap: 12px;
}

.lp-line--desk .lp-line__name {
    font-size: 15px;
}

.lp-line--desk .lp-line__meta {
    font-size: 12.5px;
}

.lp-line--desk .lp-line__amount {
    font-size: 17px;
    letter-spacing: -0.02em;
}

.lp-screens__notes {
    margin-top: 22px;
}

/* ─── 9. Questions ───────────────────────────────────────────────────────── */
.lp-faq {
    display: flex;
    flex-direction: column;
}

.lp-faq__item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.lp-faq__q {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16.5px;
    letter-spacing: -0.02em;
    margin-bottom: 7px;
}

.lp-faq__a {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-body);
}

/* ─── 10. CTA final ──────────────────────────────────────────────────────── */
.lp-final {
    padding: 56px 0;
    background: var(--cream-dark);
    border-top: 1px solid var(--border-2);
}

.lp-final__inner {
    text-align: center;
    max-width: 34rem;
}

.lp-final__inner img {
    margin: 0 auto 26px;
}

.lp-final__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    text-wrap: pretty;
}

.lp-final__sub {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-1);
    margin-bottom: 30px;
}

.lp-final__reassure {
    font-size: 13.5px;
    color: var(--text-2);
    margin-top: 18px;
}

/* ─── 11. Pied de page ───────────────────────────────────────────────────── */
.lp-footer {
    padding: 32px 0 26px;
    background: var(--cream);
    border-top: 1px solid var(--border-2);
}

.lp-footer__top {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-2);
}

.lp-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.lp-footer__brand img {
    border-radius: 8px;
}

.lp-footer__baseline {
    font-size: 14px;
    color: var(--text-2);
}

.lp-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.lp-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--field);
    background: var(--surface);
    color: var(--chip-text);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lp-social:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.lp-footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.lp-footer__links a {
    font-size: 14px;
    color: var(--text-body);
}

.lp-footer__links a:hover {
    color: var(--amber);
}

.lp-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
    font-size: 12.5px;
    color: var(--text-3);
}

/* ─── Tablette : les grilles de trois passent par deux ───────────────────── */
@media (min-width: 640px) {
    .lp-grid3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* ─── Desktop ────────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
    .lp-container {
        padding: 0 48px;
    }

    .lp-section {
        padding: 88px 0;
    }

    .lp-nav {
        padding: 16px 48px;
    }

    .lp-nav__cta {
        font-size: 15px;
        border-radius: 12px;
        padding: 12px 20px;
    }

    .lp-label {
        margin-bottom: 14px;
    }

    .lp-h2 {
        font-size: 40px;
        max-width: 22rem;
        margin-bottom: 18px;
    }

    .lp-h2--small {
        font-size: 26px;
        max-width: none;
        margin-bottom: 20px;
    }

    .lp-lead {
        font-size: 18px;
        margin-bottom: 44px;
    }

    .lp-lead--tight {
        margin-bottom: 24px;
    }

    .lp-clarify {
        font-size: 15.5px;
        margin-top: 22px;
    }

    .lp-btn {
        font-size: 17px;
        padding: 18px 30px;
    }

    .lp-btn--outline {
        padding: 17px 26px;
    }

    .lp-btn--sm {
        font-size: 13px;
        padding: 13px 0;
    }

    .lp-btn--xl {
        font-size: 18px;
        padding: 19px 36px;
    }

    .lp-hero {
        padding: 84px 0 96px;
    }

    .lp-hero__h1,
    .lp-hero__h2 {
        font-size: 58px;
    }

    .lp-hero__h2 {
        margin-bottom: 26px;
    }

    .lp-hero__sub {
        font-size: 19px;
        max-width: 30rem;
    }

    /* Les deux boutons passent à la ligne plutôt que de couper leur libellé :
       entre 1024 et 1280, la colonne du hero est trop étroite pour les tenir
       côte à côte, et « Essayer Kredy / gratuitement » sur deux lignes se lit
       moins bien qu'un bouton dessous. */
    .lp-hero__cta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .lp-hero__cta .lp-btn {
        flex: 0 0 auto;
    }

    .lp-reassure {
        font-size: 14.5px;
    }

    .lp-phone {
        transform: none;
    }

    .lp-mechanic {
        padding: 10px 0 78px;
    }

    .lp-mechanic__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }

    .lp-card--pad {
        padding: 26px;
    }

    .lp-card__title {
        font-size: 18px;
    }

    .lp-card__text {
        font-size: 15.5px;
    }

    .lp-problem,
    .lp-screens {
        padding: 88px 0;
    }

    .lp-grid3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .lp-bridge {
        font-size: 30px;
        margin-top: 44px;
    }

    .lp-steps {
        gap: 22px;
        margin-bottom: 34px;
    }

    .lp-step {
        padding-top: 20px;
    }

    .lp-step__num {
        font-size: 30px;
    }

    .lp-step__title {
        font-size: 19px;
    }

    .lp-answer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        border-radius: 22px;
        padding: 38px 40px;
    }

    .lp-answer__quote {
        font-size: 34px;
    }

    .lp-answer__figure {
        border-top: 0;
        padding-top: 0;
        text-align: right;
        flex-shrink: 0;
    }

    .lp-relance {
        display: grid;
        grid-template-columns: 1fr 0.85fr;
        gap: 56px;
        align-items: center;
    }

    .lp-bullets li {
        font-size: 15px;
    }

    .lp-offline {
        padding: 92px 0;
    }

    .lp-offline__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: center;
    }

    .lp-desk {
        zoom: 0.58;
    }

    .lp-screens__notes {
        gap: 26px;
        margin-top: 36px;
    }

    .lp-faq {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 44px;
    }

    .lp-faq__item {
        padding: 20px 0;
    }

    .lp-faq__q {
        font-size: 17.5px;
    }

    .lp-faq__a {
        font-size: 15.5px;
    }

    .lp-final {
        padding: 92px 0;
    }

    .lp-final__title {
        font-size: 44px;
    }

    .lp-final__sub {
        font-size: 18px;
    }

    .lp-final__reassure {
        font-size: 14.5px;
    }

    .lp-footer {
        padding: 44px 0 34px;
    }

    .lp-footer__top {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 32px;
        padding-bottom: 28px;
    }

    .lp-footer__links {
        display: flex;
        gap: 26px;
    }

    .lp-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        padding-top: 20px;
        font-size: 13px;
    }
}

/* ─── La barre ne montre ses ancres qu'à partir de 1024 px ──────────────────
   Entre 769 et 1023, les afficher les fait passer à la ligne et écrase le
   mot-symbole. « Se connecter » et le bouton restent, eux : ce sont les deux
   seules destinations qui comptent. */
@media (max-width: 1023px) {
    .lp-nav__links {
        gap: 0;
        margin-right: 0;
    }

    .lp-nav__links a:not(.lp-nav__login) {
        display: none;
    }

    .lp-nav__login {
        font-size: 13.5px;
    }
}

/* Les très petits écrans (320 px) : le téléphone rentre encore. */
@media (max-width: 359px) {
    .lp-phone {
        transform: scale(0.85);
    }
}

/* Les deux dernières marches de la maquette d'ordinateur. */
@media (min-width: 1024px) {
    .lp-desk {
        zoom: 0.76;
    }
}

@media (min-width: 1200px) {
    .lp-desk {
        zoom: 0.88;
    }
}

/* ─── Grand écran : le hero passe à deux colonnes ────────────────────────────
   Pas avant : à 900 px, un H1 de 58 px dans une colonne de 380 px descend sur
   six lignes et le téléphone se colle au texte. Le design ne décrit que deux
   modes ; celui-ci est la marche intermédiaire que demande le handoff. */
@media (min-width: 1024px) {
    .lp-hero__inner {
        display: grid;
        grid-template-columns: 1.08fr 0.92fr;
        gap: 56px;
        align-items: center;
    }

    .lp-nav__cta-long {
        display: inline;
    }

    .lp-nav__cta-short {
        display: none;
    }
}
