@import url('https://fonts.googleapis.com/css2?family=BBH+Bogle&family=Dancing+Script:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Satisfy&display=swap');

.contact {

    padding: 80px 20px;
    text-align: center;
    background: #f8f9fa;

}

.contact-title {

    font-size: 36px;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
    color: #0F4C75;

}

.contact-intro {

    max-width: 600px;
    margin: auto;
    margin-bottom: 50px;
    color: #555;
    font-family: "Poppins", sans-serif;

}

/* container */

.contact-container {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: auto;

}

/* cards */

.contact-card {

    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    cursor: pointer;

    /* CENTRAGE */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.icon {
    font-size: 40px;
    /* plus besoin de width/height fixes */
    margin-bottom: 15px;
}



.contact-card:hover {

    transform: translateY(-5px);

}

.contact-card h3 {

    margin-top: 10px;
    font-family: "Poppins", sans-serif;

}

.contact-card a {

    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
    font-family: "Poppins", sans-serif;

}

/* icones */

.phone {

    color: #007bff;

}

.whatsapp {

    color: #25D366;

}

.email {

    color: #e63946;

}

.location {

    color: #f4a261;

}

/* partenariat */

.partnership {

    margin-top: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

}

.partnership h3 {

    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
    color: #0F4C75;

}
.partnership p{

    font-family: "Poppins", sans-serif;

}

.partnership-buttons {

    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;

}

/* boutons */

.btn-contact {

    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #000;
    border-radius: 6px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: 0.3s;
    font-family: "Poppins", sans-serif;

}

.btn-contact:hover {

    background: black;
    color: white;
    font-family: "Poppins", sans-serif;

}
/* RESPONSIVE CONTACT */
@media (max-width: 992px) {
    .contact {
        padding: 60px 15px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-intro {
        font-size: 16px;
        max-width: 90%;
    }

    .contact-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .icon {
        font-size: 35px;
        width: 180px;
        height: 80px;
    }

    .contact-card h3 {
        font-size: 18px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .btn-contact {
        padding: 9px 18px;
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .contact {
        padding: 50px 10px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-intro {
        font-size: 15px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .icon {
        font-size: 35px; /* un peu plus petit sur tablette */
        margin-bottom: 12px;
    }
    .contact-card {
        padding: 20px; 
    }
    .contact-card h3 {
        font-size: 17px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .btn-contact {
        padding: 8px 16px;
        font-size: 13px;
        justify-content: center;
    }

    .partnership-buttons {
        flex-direction: column;
        gap: 15px;
    }
}
@media (max-width: 480px) {
    .contact-title {
        font-size: 24px;
    }

    .contact-intro {
        font-size: 14px;
    }

    .icon {
        font-size: 30px; /* encore plus petit sur mobile */
        margin-bottom: 10px;
    }
    .contact-card {
        padding: 15px;
    }


    .contact-card h3 {
        font-size: 16px;
    }

    .contact-card p {
        font-size: 13px;
    }

    .btn-contact {
        padding: 7px 14px;
        font-size: 12px;
    }
}