/* Live vitrine fixes loaded after the generated public bundle. */
html,
body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: #020711 !important;
}

html body .site-shell {
    min-height: 100vh !important;
    background: #020711 !important;
}

html body.peeryx-auth-body {
    min-height: 100vh !important;
    background: #020711 !important;
}

html body.peeryx-auth-body .auth-shell {
    padding-bottom: 48px !important;
}

html body .site-header .account-link-register,
html body .site-header button.account-link-register,
html body .site-header .desktop-account-logout button.account-link-register,
html body .mobile-nav .account-link-register,
html body .mobile-nav button.account-link-register,
html body .mobile-nav .mobile-account-logout button.account-link-register,
html body .mobile-demo-link,
html body .pxv93-home .pxv93-primary,
html body .footer-link-cta {
    background: linear-gradient(135deg, #0e71ff 0%, #19c8ff 100%) !important;
    border: 1px solid rgba(105, 229, 255, .48) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 14px 34px rgba(17, 113, 255, .34) !important;
}

html body .site-header .account-link-register:hover,
html body .site-header button.account-link-register:hover,
html body .site-header .desktop-account-logout button.account-link-register:hover,
html body .mobile-nav .account-link-register:hover,
html body .mobile-nav button.account-link-register:hover,
html body .mobile-nav .mobile-account-logout button.account-link-register:hover,
html body .mobile-demo-link:hover,
html body .pxv93-home .pxv93-primary:hover,
html body .footer-link-cta:hover {
    background: linear-gradient(135deg, #1767ff 0%, #35dcff 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-1px);
}

html body .site-header .desktop-account-logout,
html body .mobile-nav .mobile-account-logout {
    display: inline-flex !important;
}

html body .mobile-nav .mobile-account-logout {
    width: 100% !important;
}

html body .pxv93-home .pxv93-primary,
html body .footer-link-cta,
html body .mobile-demo-link,
html body .site-footer .footer-contact-block .footer-link-cta {
    border-radius: 8px !important;
    text-decoration: none !important;
}

html body .site-footer .footer-contact-block a.footer-link-cta,
html body .site-footer .footer-contact-block a.footer-link-cta:visited,
html body .site-footer .footer-contact-block a.footer-link-cta:active {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    background: linear-gradient(135deg, #0e71ff 0%, #19c8ff 100%) !important;
    border: 1px solid rgba(105, 229, 255, .48) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 14px 34px rgba(17, 113, 255, .34) !important;
    font-weight: 900 !important;
}

html body .site-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html body.peeryx-auth-body .site-footer {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
    padding-top: 34px !important;
    background: #05080e !important;
    border-top: 1px solid rgba(83, 204, 255, .14) !important;
    color: #b8c9dc !important;
}

html body.peeryx-auth-body .site-footer .container {
    width: min(100% - 48px, 1240px) !important;
    margin-inline: auto !important;
}

html body.peeryx-auth-body .site-footer .footer-grid.footer-grid-rich {
    display: grid !important;
    grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(160px, .8fr)) minmax(220px, .9fr) !important;
    gap: 44px !important;
    padding: 30px 0 0 !important;
    border-top: 1px solid rgba(83, 204, 255, .12) !important;
}

html body.peeryx-auth-body .site-footer .footer-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
}

html body.peeryx-auth-body .site-footer .brand-mark {
    display: inline-flex !important;
    width: 88px !important;
    min-width: 88px !important;
    height: auto !important;
}

html body.peeryx-auth-body .site-footer .brand-logo {
    display: block !important;
    width: 88px !important;
    height: auto !important;
    object-fit: contain !important;
}

html body.peeryx-auth-body .site-footer .brand-copy {
    display: none !important;
}

html body.peeryx-auth-body .site-footer h3 {
    margin: 0 0 16px !important;
    color: #dfefff !important;
    -webkit-text-fill-color: #dfefff !important;
    font-size: 12px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

html body.peeryx-auth-body .site-footer p,
html body.peeryx-auth-body .site-footer li,
html body.peeryx-auth-body .site-footer small,
html body.peeryx-auth-body .site-footer .footer-highlight {
    color: #8fa5c0 !important;
    -webkit-text-fill-color: #8fa5c0 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

html body.peeryx-auth-body .site-footer .footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    gap: 8px !important;
}

html body.peeryx-auth-body .site-footer a:not(.footer-link-cta) {
    color: #93abc7 !important;
    -webkit-text-fill-color: #93abc7 !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

html body.peeryx-auth-body .site-footer a:not(.footer-link-cta):hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body.peeryx-auth-body .site-footer .footer-contact-block {
    border: 1px solid rgba(83, 204, 255, .16) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    background: rgba(7, 17, 31, .72) !important;
}

@media (max-width: 900px) {
    html body.peeryx-auth-body .site-footer .footer-grid.footer-grid-rich {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    html body.peeryx-auth-body .site-footer .container {
        width: min(100% - 28px, 640px) !important;
    }
}

html body.page-home .site-footer,
html body[class^="page-"] .site-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html body .site-footer .footer-grid.footer-grid-rich {
    padding-bottom: 0 !important;
}

html body.page-home .site-footer .footer-grid.footer-grid-rich,
html body[class^="page-"] .site-footer .footer-grid.footer-grid-rich {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html body .site-footer .footer-legal-strip {
    display: none !important;
    border-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    justify-content: flex-end !important;
}

html body .site-footer .footer-legal-inline {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 16px !important;
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(83, 204, 255, .12) !important;
}

html body .site-footer .footer-legal-inline a {
    color: #8fa5c0 !important;
    -webkit-text-fill-color: #8fa5c0 !important;
    font-size: 12px !important;
    text-decoration: none !important;
}

html body .site-footer .footer-legal-inline a:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body .footer-partners {
    display: none !important;
}

/* Canonical footer: same visual footer on every public/auth page. */
html body .site-footer,
html body.page-home .site-footer,
html body[class^="page-"] .site-footer,
html body.peeryx-auth-body .site-footer {
    margin-top: 22px !important;
    margin-bottom: 0 !important;
    padding-top: 34px !important;
    padding-bottom: 0 !important;
    background: linear-gradient(180deg, #06111f, #020711) !important;
    border-top: 1px solid rgba(83, 204, 255, .13) !important;
    color: #b8c9dc !important;
}

html body .site-footer .container,
html body.peeryx-auth-body .site-footer .container {
    width: min(100% - 48px, 1240px) !important;
    max-width: 1240px !important;
    margin-inline: auto !important;
}

html body .site-footer .footer-grid.footer-grid-rich,
html body.page-home .site-footer .footer-grid.footer-grid-rich,
html body[class^="page-"] .site-footer .footer-grid.footer-grid-rich,
html body.peeryx-auth-body .site-footer .footer-grid.footer-grid-rich {
    display: grid !important;
    grid-template-columns: 1.4fr .7fr .7fr .98fr !important;
    gap: 48px !important;
    margin-bottom: 0 !important;
    padding: 28px 32px 0 !important;
    border-top: 1px solid rgba(83, 204, 255, .12) !important;
}

html body .site-footer .footer-brand,
html body.peeryx-auth-body .site-footer .footer-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
}

html body .site-footer .footer-brand-block,
html body.page-home .site-footer .footer-brand-block,
html body[class^="page-"] .site-footer .footer-brand-block,
html body.peeryx-auth-body .site-footer .footer-brand-block {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html body .site-footer .brand-mark,
html body.peeryx-auth-body .site-footer .brand-mark {
    display: inline-flex !important;
    width: 96px !important;
    min-width: 96px !important;
    height: auto !important;
    align-items: center !important;
}

html body .site-footer .brand-logo,
html body.peeryx-auth-body .site-footer .brand-logo {
    display: block !important;
    width: 96px !important;
    height: auto !important;
    object-fit: contain !important;
}

html body .site-footer .brand-copy,
html body.peeryx-auth-body .site-footer .brand-copy {
    display: none !important;
}

html body .site-footer h3,
html body.peeryx-auth-body .site-footer h3 {
    margin: 0 0 16px !important;
    color: #dfefff !important;
    -webkit-text-fill-color: #dfefff !important;
    font-size: 12px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

html body .site-footer p,
html body .site-footer li,
html body .site-footer small,
html body .site-footer .footer-highlight,
html body.peeryx-auth-body .site-footer p,
html body.peeryx-auth-body .site-footer li,
html body.peeryx-auth-body .site-footer small,
html body.peeryx-auth-body .site-footer .footer-highlight {
    color: #8fa5c0 !important;
    -webkit-text-fill-color: #8fa5c0 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

html body .site-footer .footer-highlight,
html body.page-home .site-footer .footer-highlight,
html body[class^="page-"] .site-footer .footer-highlight,
html body.peeryx-auth-body .site-footer .footer-highlight {
    display: none !important;
}

html body .site-footer .footer-brand-block small,
html body.page-home .site-footer .footer-brand-block small,
html body[class^="page-"] .site-footer .footer-brand-block small,
html body.peeryx-auth-body .site-footer .footer-brand-block small {
    display: block !important;
    margin-top: 14px !important;
}

html body .site-footer .footer-links,
html body.peeryx-auth-body .site-footer .footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    gap: 8px !important;
}

html body .site-footer a:not(.footer-link-cta),
html body.peeryx-auth-body .site-footer a:not(.footer-link-cta) {
    color: #93abc7 !important;
    -webkit-text-fill-color: #93abc7 !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

html body .site-footer a:not(.footer-link-cta):hover,
html body.peeryx-auth-body .site-footer a:not(.footer-link-cta):hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body .site-footer .footer-contact-block,
html body.peeryx-auth-body .site-footer .footer-contact-block {
    border: 1px solid rgba(99, 183, 255, .13) !important;
    border-radius: 22px !important;
    padding: 28px !important;
    background: rgba(9, 22, 38, .65) !important;
}

@media (max-width: 900px) {
    html body .site-footer .container,
    html body.peeryx-auth-body .site-footer .container {
        width: min(100% - 28px, 640px) !important;
    }

    html body .site-footer .footer-grid.footer-grid-rich,
    html body.page-home .site-footer .footer-grid.footer-grid-rich,
    html body[class^="page-"] .site-footer .footer-grid.footer-grid-rich,
    html body.peeryx-auth-body .site-footer .footer-grid.footer-grid-rich {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

/* A11y (axe color-contrast) : le texte des CTA primaires reste blanc partout,
   y compris hors du scope .pxv93-home (bandeaux d'actions secondaires). */
html body .pxv93-btn.pxv93-primary:not(#_):not(#_):not(#_),
html body .pxv93-actions .pxv93-primary:not(#_):not(#_):not(#_) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
