/* Landing (public only) */

body.ps-public {
    overflow-x: hidden;
}

/* Layout landing : footer “collé” en bas de l'écran */
body.ps-public.ps-landing .bp2-landing-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.ps-public.ps-landing .bp2-landing-hero {
    flex: 1 1 auto;
}

body.ps-public.ps-landing .bp2-footer {
    margin-top: auto;
}

body.ps-public.ps-pricing .bp2-pricing-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.ps-public.ps-pricing .bp2-footer {
    margin-top: auto;
}

/* Landing page: masquer le header pour coller à la capture */
/* Header visible sur la page d'accueil (comme sur Tarifs) */

body.ps-public.ps-landing .ps-main {
    padding-top: 26px;
}

.bp2-landing-main {
    padding-top: 42px;
}

body.ps-public.ps-landing .bp2-landing-main {
    padding-top: 0;
}

body.ps-public.ps-landing .bp2-landing-divider {
    display: none;
}

.bp2-landing-hero {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 74vh;
    padding: 58px 0 18px;
}

.bp2-landing-hero-left {
    flex: 1;
    min-width: min(520px, 100%);
    max-width: 760px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.bp2-landing-hero-right {
    width: 560px;
    height: 560px;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -175px;
    top: -110px;
    z-index: 1;
    pointer-events: none;
}

.bp2-landing-graph-glow {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.35), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(76, 143, 255, 0.25), transparent 55%),
        radial-gradient(circle at 45% 80%, rgba(52, 179, 255, 0.18), transparent 60%);
    box-shadow: 0 0 80px rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(170, 120, 255, 0.14);
    backdrop-filter: blur(4px);
    transform: translateY(-10px);
    position: relative;
    z-index: 0;
}

.bp2-landing-graph-glow::before {
    content: "";
    position: absolute;
    inset: -28px;
    border-radius: 50%;
    border: 1px solid rgba(170, 120, 255, 0.22);
    background:
        conic-gradient(from 180deg, rgba(255, 255, 255, 0.10), rgba(139, 92, 246, 0.0) 60%, rgba(76, 143, 255, 0.12));
    filter: blur(0.2px);
    opacity: 0.55;
}

.bp2-landing-graph-glow::after {
    content: "";
    position: absolute;
    left: 16%;
    top: 18%;
    width: 190px;
    height: 190px;
    border-radius: 12px;
    border: 1px solid rgba(120, 170, 255, 0.18);
    transform: rotate(18deg);
    box-shadow: 0 0 0 1px rgba(170, 120, 255, 0.06) inset;
    opacity: 0.35;
}

.bp2-landing-logo {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 96px 0 0 0;
}

.bp2-landing-logo-eye {
    width: 320px;
    height: auto;
    display: block;
    opacity: 0.95;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
    transform: perspective(900px) rotateY(-14deg) rotateX(10deg);
}

.bp2-landing-logo-word {
    width: 340px;
    height: auto;
    margin-top: -6px;
    opacity: 0.85;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.35));
}

/* Effets "3D" autour de l'oeil */
.bp2-landing-logo::before,
.bp2-landing-logo::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.bp2-landing-logo::before {
    width: 460px;
    height: 460px;
    right: -90px;
    top: -8px;
    border-radius: 50%;
    border: 1px solid rgba(120, 170, 255, 0.20);
    background:
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.16), transparent 58%),
        radial-gradient(circle at 70% 60%, rgba(76, 143, 255, 0.12), transparent 55%);
    box-shadow: 0 0 90px rgba(76, 143, 255, 0.12);
    animation: bp2FloatRing 6.5s ease-in-out infinite;
}

.bp2-landing-logo::after {
    width: 320px;
    height: 320px;
    right: -40px;
    top: 44px;
    border-radius: 50%;
    border: 2px solid rgba(170, 120, 255, 0.12);
    background: conic-gradient(from 90deg, rgba(120, 170, 255, 0.16), rgba(139, 92, 246, 0.0) 55%, rgba(76, 143, 255, 0.18));
    filter: blur(0.2px);
    opacity: 0.55;
    animation: bp2Spin 14s linear infinite;
}

@keyframes bp2FloatRing {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -14px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes bp2Spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bp2-landing-kicker {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(170, 120, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
}

.bp2-landing-title {
    margin: 0 0 14px;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.bp2-landing-subtitle {
    margin: 0 0 22px;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.6;
}

.bp2-landing-cta-row {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 26px;
    justify-content: center;
}

.bp2-landing-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 26px !important;
    min-height: 52px;
    text-decoration: none;
    background: #ffffff !important;
    color: #0a0a14 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 14px 34px rgba(74, 143, 255, 0.22) !important;
}

.bp2-landing-cta-primary .bp2-landing-magnifier {
    /* Override l’icône “loupe” blanche pour coller au bouton blanc */
    box-shadow: none;
}

body.ps-public .bp2-landing-cta-primary .bp2-landing-magnifier::before {
    border-color: rgba(0, 0, 0, 0.55) !important;
}

body.ps-public .bp2-landing-cta-primary .bp2-landing-magnifier::after {
    background: rgba(0, 0, 0, 0.55) !important;
}

.bp2-landing-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    min-height: 48px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(170, 120, 255, 0.22);
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
}

.bp2-landing-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 14px;
}

.bp2-metric-card {
    background: rgba(0, 0, 0, 0.0);
    border: 1px solid rgba(170, 120, 255, 0.12);
    border-radius: 18px;
    padding: 14px 16px 12px;
}

.bp2-metric-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

body.ps-public.ps-landing .bp2-metric-top {
    margin-bottom: 0;
}

.bp2-metric-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.bp2-metric-icon-green { background: rgba(87, 255, 154, 0.95); }
.bp2-metric-icon-blue { background: rgba(76, 143, 255, 0.95); }
.bp2-metric-icon-violet { background: rgba(139, 92, 246, 0.95); }

.bp2-metric-value {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.bp2-landing-divider {
    margin-top: 34px;
}

.bp2-landing-divider-box {
    border-radius: 22px;
    border: 1px solid rgba(170, 120, 255, 0.16);
    background: rgba(0, 0, 0, 0.20);
    padding: 18px 20px;
    max-width: 920px;
}

.bp2-landing-divider-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 900;
}

.bp2-landing-divider-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width: 900px) {
    body.ps-public.ps-landing .bp2-landing-main {
        min-height: auto;
        display: block;
    }

    .bp2-landing-hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 44px 0 24px;
    }

    .bp2-landing-hero-left {
        align-items: flex-start;
        text-align: left;
        max-width: 100%;
        width: 100%;
    }

    .bp2-landing-cta-row {
        justify-content: flex-start;
    }

    .bp2-landing-hero-right {
        /* Sur mobile : supprimer complètement la zone décorative (sinon ça crée un grand espace vide). */
        display: none;
    }

    .bp2-landing-graph-glow {
        display: none;
    }

    .bp2-landing-logo {
        inset: 0;
        padding: 52px 0 0 0;
        justify-content: flex-start;
    }
    .bp2-landing-logo-eye {
        width: 240px;
        transform: none;
    }
    .bp2-landing-logo-word {
        width: 260px;
        margin-top: 0;
        opacity: 0.75;
    }
    /* Option : cacher le(les) PNG de logo sur mobile */
    .bp2-landing-logo-eye,
    .bp2-landing-logo-word {
        display: none;
    }
    .bp2-landing-logo::before,
    .bp2-landing-logo::after {
        display: none; /* éviter un rendu trop chargé sur mobile */
    }
    .bp2-landing-title {
        font-size: 34px;
    }
    .bp2-landing-metrics {
        grid-template-columns: 1fr;
    }
}

/* Footer (public landing uniquement) */
.bp2-footer {
    margin-top: 14px;
    padding: 28px 0 14px;
    border-top: 1px solid rgba(170, 120, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
}

.bp2-footer-inner {
    width: min(calc(100% - 36px), 1120px);
    margin: 0 auto;
}

.bp2-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

/* Logo carré proportionné au texte SENTINEL + sous-titre du footer */
.bp2-footer-brand-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    overflow: hidden;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.bp2-footer-brand-title {
    font-size: 15px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 900;
}

.bp2-footer-brand-subtitle {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.5;
    max-width: 380px;
}

.bp2-footer-cols {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 18px;
}

.bp2-footer-col-title {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bp2-footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 650;
}

.bp2-footer-link:hover {
    color: rgba(255, 255, 255, 0.95);
}

.bp2-footer-bottom {
    width: min(calc(100% - 36px), 1120px);
    margin: 14px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(170, 120, 255, 0.08);
}

.bp2-footer-bottom-left {
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
}

@media (max-width: 900px) {
    .bp2-footer-cols {
        grid-template-columns: 1fr;
    }

    .bp2-footer-brand {
        margin-bottom: 14px;
    }

    .bp2-footer-bottom {
        margin-top: 16px;
        text-align: center;
    }
}

