/*
    Description : Cette page présente le CSS de la page information.
    Auteur      : Louisa Perelli
    Date        : 16.01.2026
*/

/* ============================= */
/* information.html */
/* ============================= */
.information a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 20px;
    padding: 10px 20px;
    background-color: #432355;
    border-radius: 5px;
    display: flex;
}

.information {
    color: rgb(79, 18, 79);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* BACKGROUND WATERMARK */
.body-information:before {
    content: "alisa_agres";
    position: fixed;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12vw;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    pointer-events: none;
}

/* HEADER */
header {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

/* MAIN */
main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.intro {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}

/* CONTACT SECTION */
.contact-section {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.coordonnees,
.demande {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    flex: 1 1 46%;
    min-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Coordonnées */
.coordonnees h3,
.demande h3 {
    margin-bottom: 15px;
}

.coordonnees .info {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.coordonnees .social a {
    margin-right: 10px;
    text-decoration: none;
    color: #6c308f;
    transition: transform 0.3s ease;
}

.coordonnees .social a:hover {
    transform: scale(1.1);
}

/* Images */
.coordonnees .images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.coordonnees .images img {
    width: 100%;
    max-width: 180px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.coordonnees .images img:hover {
    transform: scale(1.05);
}

/* Formulaire */
.demande form label {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
}

.demande form input,
.demande form select,
.demande form textarea {
    width: 100%;
    padding: 8px 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.9rem;
}

.demande form textarea {
    height: 100px;
    resize: none;
}

.demande form button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.demande form button:hover {
    background-color: #6c308f;
}

/* FOOTER */
footer {
    background: #f9f9f9;
    padding: 30px 20px;
    margin-top: 220px;
    position: relative;
    z-index: 1;
}

footer .footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

footer .footer-content .social a {
    margin: 0 5px;
    text-decoration: none;
    color: #6c308f;
}

/* SECTION INFORMATION */
.info-section {
    max-width: 1200px;
    margin: 50px auto 80px auto;
    padding: 0 20px;
    text-align: center;
}

/* Titre de la section */
.info-titre {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 30px;
}

.info-titre {
    font-size: 4rem;
    font-weight: bold;
    color: #000000;
    margin: 0;

}

/* Boxes container */
.info-boxes {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* Chaque box */
.info-box {
    background-color: #fff;
    flex: 1 1 48%;
    /* deux boxes larges côte à côte */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: left;
    /* texte à l’intérieur aligné à gauche */
}

.info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2f352b;
}

.info-box p {
    font-size: 1rem;
    color: #555;
}

/* Effet zoom au survol */
.info-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(154, 85, 172, 0.15);
}

/* ----------------------------- */
/* TABLETTE : max-width 1200px */
/* ----------------------------- */
@media screen and (max-width: 1200px) {

    /* MAIN */
    main {
        padding: 20px;
    }

    .intro {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* CONTACT SECTION */
    .contact-section {
        flex-direction: column;
        gap: 25px;
    }

    .coordonnees,
    .demande {
        flex: 1 1 100%;
        min-width: auto;
        padding: 20px;
    }

    /* Images */
    .coordonnees .images {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .coordonnees .images img {
        max-width: 140px;
    }

    /* Formulaire */
    .demande form input,
    .demande form select,
    .demande form textarea {
        font-size: 0.9rem;
    }

    .demande form button {
        width: 100%;
        padding: 12px 0;
    }

    /* INFO SECTION */
    .info-titre {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .info-boxes {
        flex-direction: column;
        gap: 20px;
    }

    .info-box {
        flex: 1 1 100%;
        padding: 20px;
    }

    .info-box h3 {
        font-size: 1.3rem;
    }

    .info-box p {
        font-size: 0.95rem;
    }
}


/* ----------------------------- */
/* MOBILE : max-width 430px */
/* ----------------------------- */
@media screen and (max-width: 430px) {

    /* MAIN */
    main {
        padding: 15px;
    }

    .intro {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    /* CONTACT SECTION */
    .contact-section {
        flex-direction: column;
        gap: 20px;
    }

    .coordonnees,
    .demande {
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    /* Images */
    .coordonnees .images img {
        max-width: 100px;
    }

    /* Formulaire */
    .demande form label {
        font-size: 0.85rem;
    }

    .demande form input,
    .demande form select,
    .demande form textarea {
        font-size: 0.85rem;
        padding: 6px 8px;
    }

    .demande form button {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    /* INFO SECTION */
    .info-titre {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .info-boxes {
        flex-direction: column;
        gap: 15px;
    }

    .info-box {
        padding: 15px;
    }

    .info-box h3 {
        font-size: 1.2rem;
    }

    .info-box p {
        font-size: 0.9rem;
    }

    /* Watermark */
    .body-information:before {
        font-size: 20vw; /* ajustement pour petit écran */
    }
}
