/* =====================================================================
   Akiba — page d'accueil publique (/bienvenue).
   Même identité que le mobile : teal d'Akiba, ambre des montants, Plus
   Jakarta Sans. Tout est scopé sous .lp pour ne pas toucher l'Admin Panel.
   ===================================================================== */

.lp {
    --lp-brand: #0F766E;
    --lp-brand-dark: #0A3D39;
    --lp-brand-deep: #072B28;
    --lp-brand-light: #E8F5F3;
    --lp-mint: #5EEAD4;
    --lp-accent: #F59E0B;
    --lp-accent-dark: #C2410C;
    --lp-ink: #0B1220;
    --lp-muted: #5B6B7F;
    --lp-line: #E7ECF1;
    --lp-surface: #F6F8FA;
    --lp-radius: 22px;
    --lp-shadow: 0 24px 60px -24px rgba(11, 18, 32, 0.28);

    font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--lp-ink);
    background: #fff;
    overflow-x: hidden;
}

html:has(.lp) {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

/* Sous le pied de page (écrans très hauts) : sa couleur, pas le gris de l'Admin Panel. */
body:has(.lp) {
    background: #072B28;
}

.lp *,
.lp *::before,
.lp *::after {
    box-sizing: border-box;
}

/* Remises à zéro sans poids (:where) : les classes des composants gardent la main sur marges et couleurs. */
:where(.lp) :where(h1, h2, h3, h4, p) {
    margin: 0;
}

:where(.lp) :where(a) {
    color: inherit;
    text-decoration: none;
}

.lp-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    vertical-align: -0.2em;
}

/* ─── BOUTONS ─────────────────────────────────────────────────────── */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    white-space: nowrap;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn-primary {
    background: var(--lp-brand);
    color: #fff !important;
    box-shadow: 0 10px 24px -10px rgba(15, 118, 110, 0.7);
}

.lp-btn-primary:hover {
    background: var(--lp-brand-dark);
}

.lp-btn-accent {
    background: var(--lp-accent);
    color: var(--lp-ink) !important;
    box-shadow: 0 14px 30px -12px rgba(245, 158, 11, 0.75);
}

.lp-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.lp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lp-btn-sm {
    padding: 11px 18px;
    font-size: 0.92rem;
    border-radius: 12px;
}

/* ─── EN-TÊTE ─────────────────────────────────────────────────────── */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 43, 40, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff !important;
}

.lp-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--lp-mint), var(--lp-brand));
    color: #fff;
    font-size: 1.25rem;
}

.lp-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.lp-links > a:not(.lp-btn) {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 150ms ease;
}

.lp-links > a:not(.lp-btn):hover {
    color: #fff;
}

.lp-langs {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.lp-langs a {
    padding: 5px 9px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.lp-langs a.is-active,
.lp-langs a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.lp-menu-toggle {
    display: none;
}

.lp-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.lp-burger span {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 200ms ease, opacity 200ms ease;
}

/* ─── HÉROS ───────────────────────────────────────────────────────── */
.lp-hero {
    position: relative;
    padding: 72px 0 110px;
    color: #fff;
    background:
        radial-gradient(1100px 520px at 85% 10%, rgba(94, 234, 212, 0.18), transparent 60%),
        linear-gradient(150deg, var(--lp-brand-deep) 0%, var(--lp-brand-dark) 45%, var(--lp-brand) 100%);
    overflow: hidden;
}

.lp-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    background: #fff;
    clip-path: ellipse(75% 100% at 50% 100%);
}

.lp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.lp-blob-1 {
    width: 420px;
    height: 420px;
    top: -160px;
    left: -140px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 70%);
}

.lp-blob-2 {
    width: 300px;
    height: 300px;
    bottom: 40px;
    right: 38%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.16), transparent 70%);
}

.lp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--lp-mint);
    font-weight: 700;
    font-size: 0.85rem;
}

.lp-hero h1 {
    margin-top: 22px;
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.4px;
}

.lp-lead {
    margin-top: 22px;
    max-width: 560px;
    font-size: 1.12rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.lp-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.lp-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.lp-hero-points .lp-icon {
    color: var(--lp-mint);
}

.lp-hero-visual {
    position: relative;
    height: 600px;
}

/* Cadre de téléphone : les captures réelles de l'application, à l'échelle. */
.lp-phone {
    position: relative;
    width: 270px;
    border-radius: 36px;
    /* Marge haute : la place de l'encoche, comme la barre d'état d'un vrai téléphone. */
    padding: 30px 9px 9px;
    background: #0B1220;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.lp-phone::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 64px;
    height: 12px;
    transform: translateX(-50%);
    border-radius: 12px;
    background: #1E293B;
    z-index: 2;
}

.lp-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px 6px 28px 28px;
}

.lp-phone-front {
    position: absolute;
    right: 70px;
    top: 0;
    z-index: 2;
    animation: lp-float 7s ease-in-out infinite;
}

.lp-phone-back {
    position: absolute;
    right: -10px;
    top: 70px;
    width: 230px;
    opacity: 0.9;
    transform: rotate(7deg);
}

.lp-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: #fff;
    color: var(--lp-ink);
    font-weight: 700;
    font-size: 0.86rem;
    box-shadow: var(--lp-shadow);
    max-width: 230px;
}

.lp-float-1 {
    top: 90px;
    left: -10px;
    animation: lp-float 6s ease-in-out infinite 1s;
}

.lp-float-2 {
    bottom: 70px;
    left: 30px;
    animation: lp-float 8s ease-in-out infinite 0.4s;
}

.lp-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.15rem;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ─── CONTEXTE ET CHIFFRES ────────────────────────────────────────── */
.lp-context {
    padding: 8px 0 56px;
}

.lp-context-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: var(--lp-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.lp-stat {
    padding: 26px 22px;
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    text-align: center;
}

.lp-stat strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--lp-brand);
}

.lp-stat span {
    display: block;
    margin-top: 6px;
    font-weight: 600;
    color: var(--lp-muted);
}

/* ─── SECTIONS ────────────────────────────────────────────────────── */
.lp-section {
    padding: 96px 0;
}

.lp-section-tint {
    background: linear-gradient(180deg, var(--lp-surface), #fff);
}

.lp-heading {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.lp-kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--lp-brand-light);
    color: var(--lp-brand);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.lp-heading h2,
.lp-showcase-copy h2 {
    margin-top: 16px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.lp-heading p {
    margin-top: 16px;
    color: var(--lp-muted);
    font-size: 1.06rem;
    line-height: 1.65;
}

.lp-heading.is-light .lp-kicker {
    background: rgba(94, 234, 212, 0.14);
    color: var(--lp-mint);
}

.lp-heading.is-light h2 {
    color: #fff;
}

/* ─── FONCTIONNALITÉS ─────────────────────────────────────────────── */
.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lp-feature {
    padding: 30px 28px;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.lp-feature:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--lp-shadow);
}

.lp-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.6rem;
}

.lp-feature h3 {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 800;
}

.lp-feature p {
    margin-top: 10px;
    color: var(--lp-muted);
    line-height: 1.6;
}

.is-teal { background: #E8F5F3; color: #0F766E; }
.is-amber { background: #FFF4E0; color: #C2410C; }
.is-blue { background: #E0F2FE; color: #0369A1; }
.is-green { background: #DCFCE7; color: #15803D; }
.is-violet { background: #EDE9FE; color: #6D28D9; }
.is-rose { background: #FFE4E6; color: #BE123C; }

/* ─── ÉTAPES ──────────────────────────────────────────────────────── */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.lp-step {
    position: relative;
    padding: 34px 24px 28px;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    text-align: center;
}

/* Fil pointillé entre les étapes (écrans larges seulement). */
.lp-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 62px;
    right: -22px;
    width: 22px;
    border-top: 2px dashed var(--lp-mint);
}

.lp-step-number {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--lp-brand-light);
}

.lp-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-dark));
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 16px 30px -14px rgba(15, 118, 110, 0.8);
}

.lp-step h3 {
    margin-top: 20px;
    font-size: 1.15rem;
    font-weight: 800;
}

.lp-step p {
    margin-top: 10px;
    color: var(--lp-muted);
    line-height: 1.6;
    font-size: 0.96rem;
}

/* ─── VITRINE PAR PROFIL ──────────────────────────────────────────── */
.lp-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.lp-showcase + .lp-showcase {
    margin-top: 110px;
}

.lp-showcase.is-reversed .lp-showcase-visual {
    order: 2;
}

.lp-showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 560px;
}

.lp-showcase-glow {
    position: absolute;
    inset: 40px 30px;
    border-radius: 40% 60% 55% 45%;
    background: linear-gradient(135deg, var(--lp-brand-light), #FFF4E0);
}

.lp-showcase-visual .lp-phone {
    z-index: 2;
}

.lp-showcase-visual .lp-phone-side {
    position: absolute;
    z-index: 1;
    width: 210px;
    left: 4%;
    bottom: 0;
    transform: rotate(-8deg);
    opacity: 0.95;
}

.lp-showcase.is-reversed .lp-phone-side {
    left: auto;
    right: 4%;
    transform: rotate(8deg);
}

.lp-showcase-copy p {
    margin-top: 18px;
    color: var(--lp-muted);
    font-size: 1.06rem;
    line-height: 1.7;
}

.lp-checks {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.lp-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.lp-checks .lp-icon {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 10px;
    background: var(--lp-brand-light);
    color: var(--lp-brand);
}

/* ─── SÉCURITÉ ────────────────────────────────────────────────────── */
.lp-security {
    background:
        radial-gradient(700px 360px at 10% 0%, rgba(94, 234, 212, 0.12), transparent 60%),
        linear-gradient(160deg, var(--lp-brand-deep), var(--lp-brand-dark));
    color: #fff;
}

.lp-security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.lp-security-item {
    padding: 30px 26px;
    border-radius: var(--lp-radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(94, 234, 212, 0.14);
    color: var(--lp-mint);
    font-size: 1.5rem;
}

.lp-security-item h3 {
    margin-top: 18px;
    font-size: 1.12rem;
    font-weight: 800;
}

.lp-security-item p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.lp-faq-wrap {
    max-width: 860px;
}

.lp-faq {
    display: grid;
    gap: 14px;
}

.lp-faq details {
    border-radius: 18px;
    border: 1px solid var(--lp-line);
    background: #fff;
    transition: box-shadow 200ms ease;
}

.lp-faq details[open] {
    box-shadow: var(--lp-shadow);
    border-color: transparent;
}

.lp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--lp-brand-light);
    color: var(--lp-brand);
    transition: transform 200ms ease;
}

.lp-faq details[open] .lp-faq-chevron {
    transform: rotate(180deg);
}

.lp-faq details p {
    padding: 0 26px 24px;
    color: var(--lp-muted);
    line-height: 1.7;
}

/* ─── APPEL À L'ACTION ────────────────────────────────────────────── */
.lp-cta-wrap {
    padding: 0 0 96px;
}

.lp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 52px 56px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(245, 158, 11, 0.28), transparent 60%),
        linear-gradient(135deg, var(--lp-brand-dark), var(--lp-brand));
    box-shadow: 0 30px 70px -30px rgba(15, 118, 110, 0.8);
}

.lp-cta h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.6px;
}

.lp-cta p {
    margin-top: 12px;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

/* ─── PIED DE PAGE ────────────────────────────────────────────────── */
.lp-footer {
    background: var(--lp-brand-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.lp-footer-grid p {
    margin-top: 16px;
    max-width: 380px;
    line-height: 1.6;
}

.lp-footer h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.lp-footer-grid > div:not(:first-child) a {
    display: block;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.7);
    transition: color 150ms ease;
}

.lp-footer-grid > div:not(:first-child) a:hover {
    color: var(--lp-mint);
}

.lp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 22px;
    padding-bottom: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
}

/* ─── ADAPTATION AUX ÉCRANS ───────────────────────────────────────── */
@media (max-width: 1080px) {
    .lp-links {
        gap: 18px;
    }

    .lp-features,
    .lp-security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 900px) {
    /* Menu repliable : la case à cocher ouvre le panneau sous l'en-tête. */
    .lp-burger {
        display: flex;
    }

    .lp-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 24px 24px;
        background: var(--lp-brand-deep);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
    }

    .lp-links > a:not(.lp-btn) {
        padding: 12px 0;
    }

    .lp-langs {
        align-self: flex-start;
        margin: 8px 0 12px;
    }

    .lp-links .lp-btn {
        justify-content: center;
    }

    .lp-menu-toggle:checked ~ .lp-links {
        display: flex;
    }

    .lp-menu-toggle:checked ~ .lp-burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .lp-menu-toggle:checked ~ .lp-burger span:nth-child(2) {
        opacity: 0;
    }

    .lp-menu-toggle:checked ~ .lp-burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .lp-hero {
        padding: 48px 0 90px;
    }

    .lp-hero-grid,
    .lp-showcase {
        grid-template-columns: 1fr;
    }

    .lp-hero-visual {
        height: 520px;
        max-width: 440px;
        width: 100%;
        margin: 0 auto;
    }

    .lp-phone-front {
        right: 50%;
        transform: translateX(50%);
        animation: none;
    }

    .lp-phone-back {
        right: 0;
    }

    .lp-showcase.is-reversed .lp-showcase-visual {
        order: 0;
    }

    .lp-showcase {
        gap: 36px;
    }

    .lp-showcase + .lp-showcase {
        margin-top: 80px;
    }

    .lp-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .lp-container {
        padding: 0 16px;
    }

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

    .lp-features,
    .lp-security-grid,
    .lp-steps {
        grid-template-columns: 1fr;
    }

    .lp-phone {
        width: 230px;
    }

    .lp-phone-back {
        width: 190px;
    }

    .lp-hero-visual {
        height: 470px;
    }

    .lp-float {
        font-size: 0.8rem;
        max-width: 190px;
    }

    .lp-float-1 {
        left: 0;
        top: 40px;
    }

    .lp-float-2 {
        left: 0;
        bottom: 30px;
    }

    .lp-showcase-visual {
        min-height: 480px;
    }

    .lp-showcase-visual .lp-phone-side {
        width: 160px;
    }

    .lp-actions .lp-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp *,
    .lp *::before,
    .lp *::after {
        animation: none !important;
        transition: none !important;
    }

    html:has(.lp) {
        scroll-behavior: auto;
    }
}

/* ─── Boutons des boutiques d'applications (Google Play, App Store) ─── */
.lp-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

/* Bandeau : les boutiques d'abord, puis « Se connecter » et « Découvrir » en dessous. */
.lp-hero-copy .lp-stores + .lp-actions {
    margin-top: 18px;
}

.lp-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 168px;
    padding: 9px 18px 9px 14px;
    border-radius: 14px;
    background: #0B1220;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff !important;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.lp-store:hover {
    background: #000;
    transform: translateY(-1px);
}

.lp-store svg {
    width: 26px;
    height: 26px;
    flex: none;
}

.lp-store span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.lp-store small {
    font-size: 11px;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.lp-store strong {
    font-size: 18px;
    font-weight: 700;
}

.lp-cta .lp-stores {
    margin-top: 16px;
}

/* ─── Page de politique de confidentialité ─── */
.lp-links-static {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Pages sans menu (confidentialité, contact) : langues et retour restent dans la barre sur téléphone, au lieu du panneau
   déroulant du menu de l'accueil, qui s'ouvrait par-dessus le titre. */
@media (max-width: 900px) {
    .lp-links.lp-links-static {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 0;
        background: none;
        border: 0;
    }
}

@media (max-width: 420px) {
    .lp-links.lp-links-static .lp-btn-sm {
        padding: 9px 12px;
        font-size: 0.85rem;
    }
}

.lp-legal {
    background: #fff;
    padding: 56px 0 72px;
}

.lp-legal-body {
    max-width: 820px;
    color: var(--lp-ink);
    line-height: 1.65;
    font-size: 16px;
}

.lp-legal-body h1 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    margin: 0 0 8px;
}

.lp-legal-updated {
    color: var(--lp-muted);
    font-size: 14px;
    margin: 0 0 24px;
}

.lp-legal-intro {
    font-size: 17px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--lp-brand-light);
}

.lp-legal-body h2 {
    font-size: 20px;
    margin: 34px 0 10px;
    color: var(--lp-brand-dark);
}

.lp-legal-body ul {
    padding-left: 22px;
    margin: 8px 0;
}

.lp-legal-body li {
    margin: 6px 0;
}

/* Lien vers l'éditeur (ICDataS) dans la dernière ligne du pied de page. */
.lp-footer-bottom a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-footer-bottom a:hover {
    color: var(--lp-mint);
}

/* ─── Page de contact (/contact) ─────────────────────────────── */
.lp-contact-head {
    max-width: 720px;
    margin-bottom: 32px;
}

.lp-contact-head h1 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    margin: 0 0 12px;
}

.lp-contact-head p {
    color: var(--lp-muted);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

.lp-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.lp-contact-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 32px;
}

.lp-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.lp-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.lp-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-optional {
    font-weight: 500;
    color: var(--lp-muted);
}

.lp-field input,
.lp-field select,
.lp-field textarea {
    width: 100%;
    font: inherit;
    font-size: 16px;
    color: var(--lp-ink);
    background: var(--lp-surface);
    border: 1.5px solid var(--lp-line);
    border-radius: 14px;
    padding: 13px 15px;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.lp-field textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--lp-brand);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.lp-field.has-error input,
.lp-field.has-error textarea {
    border-color: #DC2626;
    background: #FEF2F2;
}

.lp-field-error {
    font-size: 13px;
    font-weight: 600;
    color: #B91C1C;
}

.lp-contact-alert {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #FEF3C7;
    color: #78350F;
    font-weight: 600;
    line-height: 1.5;
}

.lp-contact-note {
    margin: 0;
    font-size: 13.5px;
    color: var(--lp-muted);
    line-height: 1.55;
}

.lp-contact-note a {
    color: var(--lp-brand);
    font-weight: 600;
}

.lp-contact-submit {
    align-self: flex-start;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.lp-contact-submit svg {
    width: 18px;
    height: 18px;
}

/* Champ piège : hors écran (et non display:none, que certains robots repèrent). */
.lp-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lp-contact-done {
    text-align: center;
    padding: 24px 8px;
}

.lp-contact-done-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--lp-brand-light);
    color: var(--lp-brand);
}

.lp-contact-done-icon svg {
    width: 32px;
    height: 32px;
}

.lp-contact-done h2 {
    margin: 18px 0 8px;
    font-size: 24px;
}

.lp-contact-done p {
    color: var(--lp-muted);
    line-height: 1.6;
    margin: 0 auto 24px;
    max-width: 440px;
}

.lp-contact-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp-contact-info {
    background: var(--lp-brand-light);
    border-radius: var(--lp-radius);
    padding: 24px;
}

.lp-contact-info h2 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--lp-brand-dark);
}

.lp-contact-info p {
    margin: 0 0 12px;
    color: var(--lp-muted);
    line-height: 1.55;
    font-size: 15px;
}

.lp-contact-info a {
    color: var(--lp-brand);
    font-weight: 700;
    word-break: break-all;
}

@media (max-width: 900px) {
    .lp-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .lp-form-row {
        grid-template-columns: 1fr;
    }

    .lp-contact-card {
        padding: 22px 18px;
    }

    .lp-contact-submit {
        align-self: stretch;
        justify-content: center;
    }
}

/* ─── Suppression de compte (/suppression-compte) ─────────────── */
.lp-deletion-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    margin-bottom: 28px;
}

.lp-deletion-info ul {
    margin: 0 0 12px;
    padding-left: 20px;
    color: var(--lp-muted);
    font-size: 15px;
    line-height: 1.55;
}

.lp-deletion-info li + li {
    margin-top: 6px;
}

.lp-deletion-info .lp-contact-info > :last-child {
    margin-bottom: 0;
}

.lp-deletion-form {
    max-width: 760px;
}

.lp-deletion-form-title {
    margin: 0 0 18px;
    font-size: 22px;
}

.lp-check label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}

.lp-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 1px;
    padding: 0;
    border-radius: 4px;
    accent-color: var(--lp-brand);
}

.lp-deletion-form .lp-field textarea {
    min-height: 90px;
}

@media (max-width: 900px) {
    .lp-deletion-info {
        grid-template-columns: 1fr;
    }
}
