/* ---------- Revendeurs ---------- */

.revendeurs_page {
    position: relative;
    width: 1024px;
    margin: 0;
    padding: 150px calc(50% - 512px);
    min-height: 60vh;
    background-color: #f0f8ff; /* Light blue background similar to image */
    font-family: 'montserrat', 'Noto Sans', sans-serif;
    color: var(--ilo-black);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.revendeurs_title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ilo-black);
}

.revendeurs_subtitle {
    text-align: center;
    margin: 0 auto 50px auto;
    max-width: 800px;
    line-height: 1.5;
    font-size: 1rem;
}

.partners_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 80px;
}

.partner_card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    height: 180px;
    transition: transform 0.2s;
    text-decoration: none; /* Added for <a> tags */
    color: inherit; /* Added for <a> tags */
    cursor: pointer;
}

.partner_card:hover {
    transform: translateY(-5px);
}

.partner_logo {
    max-width: 90%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.partner_name {
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    color: var(--ilo-black);
}

.contact_section {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.contact_title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ilo-black);
}

.contact_email {
    color: #20a09d;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .revendeurs_page {
        width: 100%;
        padding: 120px 20px 50px 20px;
        box-sizing: border-box;
    }
    .partners_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .partners_grid {
        grid-template-columns: 1fr;
    }
    .revendeurs_title {
        font-size: 1.5rem;
    }
}
