/* input(62,1): run-time error CSS1019: Unexpected token, found '@' */
/* Layout général */
.login-split {
    display: flex;
    min-height: 100vh;
}

/* Colonne visuelle gauche avec effet "Ken Burns" */
.login-visual {
    flex: 1 1 55%;
    position: relative;
    overflow: hidden;
}

    .login-visual::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('/Content/showcase/img/bg-featuredapp1.webp?v=64_zwN6oDRYdoUjVG4eS4huBNq0');
        background-size: cover;
        background-position: center;
        transform: scale(1.08) translate3d(0,0,0);
        will-change: transform;
        animation: kenburns 30s ease-in-out infinite alternate;
    }

.login-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
}

.login-visual-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 56px;
    color: #fff;
    max-width: 815px;
    height: 100%;
}

/* Animation Ken Burns */
@keyframes kenburns {
    0% {
        transform: scale(1.08) translate3d(-1.5%, -1.5%, 0);
    }

    50% {
        transform: scale(1.12) translate3d(1%, 0.5%, 0);
    }

    100% {
        transform: scale(1.15) translate3d(2%, 2%, 0);
    }
}

@@media (prefers-reduced-motion: reduce) {
    .login-visual::before {
        animation: none;
        transform: none;
    }
}

.lv-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0 0 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.testimonial {
    background: rgba(0,0,0,.25);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 0 0 16px;
}

    .testimonial blockquote {
        margin: 0 0 16px;
        font-size: 16px;
        line-height: 1.5;
    }

    .testimonial figcaption {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        opacity: .95;
    }

    .testimonial .avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.85);
        color: #111;
        font-weight: 700;
    }

.trust-note {
    margin-top: 18px;
    opacity: .9;
    font-size: 14px;
}

/* Étoiles */
.stars {
    display: inline-block;
    margin-top: 4px;
    font-size: 16px;
}

.star {
    color: rgba(255,255,255,.5);
}

    .star.filled {
        color: #FFD700;
    }

/* Colonne formulaire */
.login-form {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #fff;
    min-height: 100vh;
}

.login-panel {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: #222;
}

/* Logo texte + baseline + séparateur */
.login-logo-text {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.5rem;
    color: #3a3f51;
    text-decoration: none;
    display: inline-block;
}

.login-logo-baseline {
    font-size: 14px;
    color: #555;
    margin-top: 8px;
}

.login-separator {
    width: 60px;
    height: 3px;
    background-color: #3a3f51;
    margin: 16px auto 25px auto;
    border-radius: 2px;
}

/* Panel body compact */
.login-panel .panel-body {
    padding: 0 15px 48px 15px;
}

/* Espacements internes */
.form-group {
    margin-bottom: 24px;
}

h4.text-center.pv {
    margin-bottom: 32px;
}

.btn {
    margin-top: 16px;
}

hr {
    margin-top: 40px;
    margin-bottom: 28px;
}

/* Boutons & champs */
.form-control.input-lg {
    height: 48px;
    border-radius: 12px;
}

.btn.btn-lg {
    border-radius: 12px;
}

.btn-primary {
    background-color: #3a3f51;
    border-color: #3a3f51;
}

    .btn-primary:hover {
        filter: brightness(1.05);
    }

.btn-default {
    background: transparent;
    color: #222;
    border: 1px solid rgba(0,0,0,.15);
}

    .btn-default:hover {
        background: rgba(0,0,0,.04);
    }

/* Responsive */
@media (max-width: 767px) {
    .login-split {
        display: block;
    }

    .login-visual {
        display: none;
    }
    /* ✅ cache le côté gauche en mobile */
    .login-form {
        padding: 20px 16px;
        min-height: auto;
    }

    .login-panel {
        max-width: none;
    }
}


.login-title {
    font-size: 22px !important;
    margin-bottom: 20px !important;
}
/* Encart application (ordinateur : QR code). */
.login-app {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background: #F9FAFB;
}

.login-app-title {
    margin: 0;
    color: #1F2937;
}

.login-app-text {
    margin: 6px 0 14px;
    font-size: 14px;
    color: #6B7280;
}

/* Ordinateur : même encart avec un QR code à scanner. */
.login-app-qr {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
}

.login-app-qr .login-app-text {
    margin-bottom: 0;
}

.login-app-code {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    padding: 6px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #FFFFFF;
}

    .login-app-code svg {
        display: block;
        width: 100%;
        height: 100%;
    }




/* Note et utilisateurs sous le texte de l'encart application. */
.login-app-proof {
    margin: -6px 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

    .login-app-proof span {
        color: #3A3F51;
    }

.login-app-qr .login-app-proof {
    margin: 6px 0 0;
}

.login-app-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

/* Téléphone ou tablette : un seul bouton « Télécharger Viniou » en haut, vers le store de l'appareil. */
.login-app-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border-radius: 14px;
    background: #000000;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

    .login-app-cta:hover, .login-app-cta:focus {
        color: #FFFFFF;
        text-decoration: none;
        filter: brightness(1.15);
    }

    .login-app-cta svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
        flex: none;
    }

/* « Déjà un compte ? Connectez-vous » sous le bouton, avant le formulaire. */
.login-app-or {
    margin: 28px 0 8px;
}

/* Animation du bouton « Télécharger Viniou » : reflet qui balaie le bouton toutes les 4 s
   et halo qui pulse doucement autour. Coupée si le téléphone demande moins d'animations. */
.login-app-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: login-cta-pulse 2.4s ease-out infinite;
}

    .login-app-cta::after {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 45%;
        height: 100%;
        background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .28) 50%, transparent 100%);
        transform: skewX(-20deg);
        animation: login-cta-shine 4s ease-in-out infinite;
        pointer-events: none;
    }

    .login-app-cta:active {
        transform: scale(.98);
    }

@keyframes login-cta-shine {
    0%, 55% { left: -60%; }
    85%, 100% { left: 130%; }
}

@keyframes login-cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, .35); }
    70% { box-shadow: 0 0 0 12px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .login-app-cta, .login-app-cta::after { animation: none; }
}

