/* Import de la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* ===== Reset et global ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FE5555;
    padding: 15px 20px;
    position: relative;
    z-index: 100;
}

.navbar a.active {
    border-bottom: 3px solid white;
}

.navbar .logo img {
    max-width: 90px;
    height: auto;
}

.navbar a {
    font-weight: 700;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s ease, transform 0.2s;
    font-size: 1.1rem;
}

.navbar a:hover {
    background-color: #FE8888;
    transform: scale(1.1);
    border-radius: 5px;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: white;
    margin-left: auto;
}

/* ===== Section Contact ===== */
.contact-container {
    padding: 50px 20px;
    width: 100%;
    margin: 0 auto;
    flex: 1; /* pousse le footer en bas */
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.contact-container h1 {
    font-size: 2rem;
    color: #333;
    text-align: center;
}

/* ===== Formulaire ===== */
form.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1000px; /* limite sur très grands écrans */
    min-height: 400px;
}

form label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form textarea {
    resize: none;
    min-height: 200px; /* plus grand pour taper le message */
}

form button {
    background-color: #FE5555;
    color: white;
    font-size: 1.2rem;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background-color: #FE8888;
}

/* ===== Section téléphone ===== */
.contact-phone {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.contact-phone h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FE5555;
}

.contact-phone p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.phone-number a {
    font-size: 1.5rem;
    color: #FE5555;
    text-decoration: none;
    font-weight: bold;
}

.phone-number a:hover {
    color: #FE8888;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    background: #222;
    color: white;
    padding: 20px;
    margin-top: auto;
}

footer .socials {
    margin-top: 10px;
}

footer .socials a img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
    object-fit: contain;
}

footer .socials a:hover img {
    transform: scale(1.2);
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    form.contact-form {
        padding: 30px;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        position: absolute;
        top: -100vh;
        left: 0;
        width: 100%;
        background-color: #FE8888;
        text-align: center;
        transition: top 0.4s ease-in-out;
        z-index: 99;
    }

    .menu a {
        padding: 15px;
        display: block;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .menu-active {
        top: 100%;
    }

    .contact-container {
        padding: 30px 15px;
        gap: 20px;
    }

    form.contact-form {
        width: 90%;
        min-height: auto;
    }

    .contact-phone {
        width: 90%;
    }
}
