:root {
    --dark-blue: #112d45;
    --red: #a31d24;
    --light-bg: #f5f3ef;
    --text-gray: #4a4a4a;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    /* On définit l'image de fond */
    background-image: url('background.png'); 
    
    /* On s'assure que l'image couvre tout l'écran proprement */
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Le fond reste fixe quand on scroll */
    
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main-container {
    display: flex;
    max-width: 1000px;
    width: 90%;
    gap: 40px;
    align-items: center;
}

/* --- CÔTÉ GAUCHE --- */
.content-left {
    flex: 1.2;
    color: var(--dark-blue);
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
    font-weight: 300;
}

.description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 500px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.check {
    background-color: var(--dark-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 0.8rem;
}

.logo-area {
    margin-top: 40px;
	position: relative;
}
.logo-img {
    max-width: 100%; /* Empêche le logo de déborder de sa colonne */
    height: auto;    /* Garde les proportions */
    display: block;
}

.red-icon {
    color: var(--red);
    font-size: 2rem;
}

.sub-logo {
    color: var(--red);
    font-weight: bold;
    font-size: 0.8rem;
    margin-left: 175px; /* Alignement approximatif */
}

.disclaimer {
    font-size: 0.75rem;
    margin-top: 30px;
    font-style: italic;
}

/* --- CÔTÉ DROIT (BOX) --- */
.login-box {
    flex: 0.8;
    background-color: var(--dark-blue);
    border-radius: 20px;
    padding: 60px 40px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.login-box h2 {
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.login-box p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-portal {
    display: block;
    background-color: var(--red);
    color: white;
    text-decoration: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 40px;
    transition: transform 0.2s;
}

.btn-portal:hover {
    transform: scale(1.03);
    background-color: #8c191f;
}

.contact-info {
    font-size: 0.75rem;
    line-height: 1.5;
}

.contact-info a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

/* Responsivité mobile */
@media (max-width: 800px) {
    .main-container {
        flex-direction: column;
        padding: 40px 20px;
    }
    .content-left {
        text-align: center;
    }
    .features-list li {
        justify-content: center;
    }
    .sub-logo {
        margin-left: 0;
    }
}