/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 10px 0 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.header-right {
    text-align: right;
    margin-bottom: 0;
}

.language-switch {
    margin-bottom: 3px;
}

.lang-link {
    color: #0066b3;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    margin-left: 10px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 6px 12px;
    display: inline-block;
    border-radius: 2px;
}

.lang-link:hover {
    background-color: #f0f0f0;
}

.lang-link.active {
    background-color: #ffffff;
}

.espace-client {
    font-size: 32px;
    font-weight: 300;
    color: #333;
    letter-spacing: 0.5px;
    margin-top: 25px;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.login-box {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background-color: rgba(41, 98, 148, 0.85);
    padding: 40px;
    border-radius: 3px;
    min-width: 350px;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 13px;
}

.btn-login {
    background-color: #ffffff;
    color: #296294;
    border: none;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.btn-login:hover {
    background-color: #f0f0f0;
}

.forgot-password {
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Brands Section */
.brands {
    background-color: #ffffff;
    padding: 50px 0;
}

.brands-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px;
}

.brand-item {
    flex: 0 0 auto;
}

.brand-item img {
    height: 99px;
    width: 184px;
}

.brand-item-mercier {
    flex: 0 0 auto;
}

.brand-item-mercier img {
    height: 99px;
    width: 212px;
}

.brand-item-unibeton {
    flex: 0 0 auto;
}

.brand-item-unibeton img {
    height: 99px;
    width: 146px;
}

/* Footer */
.footer {
    background-color: #e8e8e8;
    padding: 20px 0 20px;
}

.footer-contact {
    text-align: center;
    margin-bottom: 30px;
}

.contact-link {
    color: #0066b3;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    background-color: #c8102e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.contact-icon::after {
    content: ">";
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
}

.footer-line {
    border: none;
    border-top: 2px solid #c8102e;
    margin: 30px auto;
    max-width: 800px;
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-box {
        right: 5%;
        min-width: 300px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-right {
        text-align: center;
        margin-top: 15px;
    }

    .lang-link {
        margin: 0 10px;
    }

    .espace-client {
        font-size: 24px;
        margin-top: 10px;
    }

    .hero {
        height: 600px;
    }

    .login-box {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 20px auto;
        max-width: 400px;
    }

    .brands-grid {
        flex-direction: column;
        gap: 30px;
    }

    .brand-item img {
        height: 60px;
    }
}
