/* Styles de base du socle — à adapter par projet */
body {
    font-size: 15px;
}

.brand-link {
    background-color: #f7f7f8 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.75rem;
}

.inventeo-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 46px;
    object-fit: contain;
    object-position: center;
}

.inventeo-logo-login {
    max-height: 72px;
    margin: 0 auto;
}

.nav-sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.login-page {
    background: #f4f6f9;
}

.login-box {
    width: 400px;
}

.login-box.login-box-wide {
    width: 680px;
    max-width: calc(100vw - 1.5rem);
}

/* Vitrine publique */
.vitrine {
    background: #f5f6f8;
    color: #1b1740;
}

.vitrine-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e6e8ef;
}

.vitrine-nav .navbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.vitrine-logo {
    height: 42px;
    width: auto;
    display: block;
}

.vitrine .nav-link {
    color: #1b1740;
    font-weight: 600;
}

.vitrine .nav-link:hover {
    color: #3d4fbf;
}

.btn-inv {
    background: #1b1740;
    border: 1px solid #1b1740;
    color: #fff;
    font-weight: 600;
}

.btn-inv:hover {
    background: #312b63;
    border-color: #312b63;
    color: #fff;
}

.btn-inv-outline {
    background: #fff;
    border: 1px solid #1b1740;
    color: #1b1740;
    font-weight: 600;
}

.btn-inv-outline:hover {
    background: #1b1740;
    color: #fff;
}

.vitrine-hero {
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(900px 320px at 90% -10%, rgba(61, 79, 191, 0.12), transparent 60%),
        #f5f6f8;
}

.vitrine-kicker {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    color: #3d4fbf;
    margin-bottom: 0.75rem;
}

.vitrine h1,
.vitrine h2 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.vitrine h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.vitrine h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    margin-bottom: 1rem;
}

.vitrine .lead {
    font-size: 1.15rem;
    color: #3c3a55;
}

.vitrine-section {
    padding: 4rem 0;
    background: #fff;
}

.vitrine-section-alt {
    background: #f5f6f8;
}

.vitrine-intro {
    max-width: 40rem;
    color: #3c3a55;
    margin-bottom: 1.5rem;
}

.vitrine-card {
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 14px;
    padding: 1.15rem 1.15rem 0.4rem;
    height: 100%;
}

.vitrine-section-alt .vitrine-card {
    background: #fff;
}

.vitrine-card i {
    font-size: 1.35rem;
    color: #3d4fbf;
}

.vitrine-card h3 {
    font-size: 1.05rem;
    margin: 0.55rem 0 0.35rem;
}

.vitrine-card p {
    color: #3c3a55;
}

.vitrine-sheet {
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(27, 23, 64, 0.08);
    padding: 1.1rem 1.2rem 0.9rem;
}

.vitrine-sheet-top,
.vitrine-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.vitrine-sheet-top {
    align-items: center;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.vitrine-pill {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3d4fbf;
    background: #eef0fb;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.vitrine-line {
    border-top: 1px solid #e6e8ef;
    padding: 0.75rem 0;
}

.vitrine-line small,
.vitrine-move {
    display: block;
    color: #6b6880;
}

.vitrine-line strong {
    display: block;
}

.vitrine-line .is-low {
    color: #9a3412;
}

.vitrine-move {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
}

.vitrine-api {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e6e8ef;
    border-radius: 16px;
    background: #fff;
}

.vitrine-api li {
    padding: 0.9rem 1.1rem;
    border-top: 1px solid #e6e8ef;
    color: #3c3a55;
}

.vitrine-api li:first-child {
    border-top: 0;
}

.vitrine-api span {
    display: block;
    font-weight: 700;
    color: #1b1740;
}

.vitrine code {
    color: #1b1740;
    background: #eef0fb;
    border-radius: 6px;
    padding: 0.05rem 0.35rem;
}

.vitrine-band {
    background: #1b1740;
    color: #fff;
    padding: 4rem 0;
}

.vitrine-band p {
    color: #d9d7e8;
    max-width: 36rem;
}

.vitrine-footer {
    padding: 1.2rem 0;
    color: #6b6880;
    font-size: 0.92rem;
}

.vitrine-use p:last-child {
    margin-bottom: 0.8rem;
}

.vitrine-billing {
    margin-bottom: 1.5rem;
}

.vitrine-switch {
    display: inline-flex;
    border: 1px solid #d9dce8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.vitrine-cycle {
    position: relative;
    appearance: none;
    display: block;
    min-width: 7.5rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #5c5872;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    padding: 0.72rem 1.15rem;
    cursor: pointer;
}

.vitrine-cycle + .vitrine-cycle {
    border-left: 1px solid #d9dce8;
}

.vitrine-cycle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vitrine-cycle.is-on,
.vitrine-switch label.vitrine-cycle:has(input:checked) {
    background: #1b1740;
    color: #fff;
    box-shadow: none;
}

.vitrine-cycle:focus-visible {
    outline: 2px solid #3d4fbf;
    outline-offset: -2px;
}

.vitrine-plan:has(input:checked) {
    border: 2px solid #1b1740;
    box-shadow: 0 16px 36px rgba(27, 23, 64, 0.08);
}

.vitrine-plan {
    position: relative;
    height: 100%;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 16px;
    padding: 1.25rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
}

.vitrine-plan.is-recommended {
    border: 2px solid #1b1740;
    box-shadow: 0 16px 36px rgba(27, 23, 64, 0.08);
}

.vitrine-reco {
    position: absolute;
    top: -0.7rem;
    left: 1rem;
    margin: 0;
    background: #1b1740;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
}

.vitrine-plan h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.vitrine-amount {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.vitrine-amount strong {
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.vitrine-equiv,
.vitrine-plus {
    color: #6b6880;
    min-height: 1.4rem;
}

.vitrine-plan ul {
    padding-left: 1.1rem;
    margin: 0.4rem 0 1.1rem;
    color: #3c3a55;
    flex: 1 1 auto;
}

.vitrine-plan li + li {
    margin-top: 0.28rem;
}

.vitrine-options {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f5f6f8;
    color: #3c3a55;
}

.vitrine-licence {
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 12px;
    overflow: hidden;
}

.vitrine-licence th,
.vitrine-licence td {
    vertical-align: middle;
}

.inventeo-install {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1029;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 0.7rem 1rem;
    background: #1b1740;
    color: #fff;
}

.inventeo-install[hidden],
.inventeo-install .btn[hidden],
.inventeo-install-hint[hidden] {
    display: none !important;
}

.inventeo-install-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    font-size: 0.95rem;
}

.inventeo-install-hint {
    font-weight: 400;
    opacity: 0.92;
}

.inventeo-install-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.inventeo-install-close {
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 0.35rem;
}

body.inventeo-install-on {
    padding-bottom: 4.75rem;
}
