#page-contact {
    box-sizing: border-box;

    .contact-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 2.5rem 3rem 3rem;
        box-sizing: border-box;

        /* ── Accroche ── */
        .text-aproche {
            margin: 0 auto 2rem;
            width: 40%;
            text-align: center;

            p {
                font-family: 'Cormorant Garamond', serif;
                font-size: 1.8rem;
                font-weight: 400;
                font-style: italic;
                line-height: 1.3;
                color: rgba(92, 28, 28, 0.85);
            }
        }

        /* ── Bloc formulaire ── */
        .contact {
            width: 40%;
            margin: 0 auto;
            box-sizing: border-box;

            /* Label "Contact" */
            > p:first-of-type {
                font-family: 'Montserrat', sans-serif;
                font-size: 0.6rem;
                font-weight: 700;
                letter-spacing: 0.35em;
                text-transform: uppercase;
                color: #9a7060;
                margin-bottom: 0.3rem;
            }

            .contact-info {
                margin-bottom: 1.5rem;
                padding-bottom: 1.5rem;
                border-bottom: 1px solid rgba(92, 28, 28, 0.12);

                .contact-email {
                    font-family: 'Cormorant Garamond', serif;
                    font-size: 1.3rem;
                    color: #5c1c1c;
                    text-decoration: none;
                    transition: color 0.2s ease;

                    &:hover { color: #c07640; }
                }
            }

            /* ── Formulaire ── */
            form {
                display: flex;
                flex-direction: column;
                gap: 0.7rem;

                /* Labels */
                label, .form-label {
                    font-family: 'Montserrat', sans-serif;
                    font-size: 0.58rem;
                    font-weight: 600;
                    letter-spacing: 0.18em;
                    text-transform: uppercase;
                    color: #9a7060;
                    margin-bottom: 0.2rem;
                    display: block;
                }

                /* Champs */
                input, textarea,
                input.form-control, textarea.form-control {
                    box-sizing: border-box;
                    width: 100%;
                    padding: 0.45rem 0.75rem;
                    border: 1px solid rgba(92, 28, 28, 0.15);
                    background-color: #fdf9f7;
                    font-family: 'Montserrat', sans-serif;
                    font-size: 0.8rem;
                    color: #160803;
                    outline: none;
                    border-radius: 0;
                    box-shadow: none;
                    transition: border-color 0.2s ease, background-color 0.2s ease;
                    margin-bottom: 0;

                    &:focus {
                        border-color: #c07640;
                        background-color: #fff;
                        box-shadow: none;
                    }
                }

                input::placeholder, textarea::placeholder {
                    color: rgba(92, 28, 28, 0.25);
                    font-size: 0.78rem;
                }

                textarea {
                    resize: none;
                    min-height: 80px;
                }

                /* Flash messages */
                .flash-success {
                    font-family: 'Montserrat', sans-serif;
                    font-size: 0.72rem;
                    letter-spacing: 0.08em;
                    text-align: center;
                    padding: 0.6rem 1rem;
                    border: 1px solid rgba(92, 28, 28, 0.35);
                    color: #5c1c1c;
                }
                .flash-error   { padding: 0.5rem; border: 1px solid red;    color: red;    font-size: 0.78rem; }
                .flash-warning { padding: 0.5rem; border: 1px solid orange; color: #8a5a00; font-size: 0.78rem; }

                .form-columns {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 1.5rem;
                }

                .form-col {
                    display: flex;
                    flex-direction: column;
                    gap: 0.7rem;
                }

                /* Bouton */
                button {
                    align-self: flex-end;
                    background-color: #c07640;
                    border: none;
                    padding: 0.7rem 2rem;
                    font-family: 'Montserrat', sans-serif;
                    font-size: 0.65rem;
                    font-weight: 700;
                    letter-spacing: 0.2em;
                    text-transform: uppercase;
                    cursor: pointer;
                    color: #fff;
                    border-radius: 0;
                    transition: background-color 0.3s ease, transform 0.2s ease;

                    &:hover {
                        background-color: #5c1c1c;
                        transform: translateY(-2px);
                    }
                }
            }
        }
    }
}

/* ── Responsive ── */
@media screen and (max-width: 1350px) {
    #page-contact .contact-container {
        .text-aproche { width: 60%; }
        .contact { width: 60%; }
    }
}

@media screen and (max-width: 900px) {
    #page-contact .contact-container {
        padding: 2rem 2rem 3rem;
        .text-aproche { width: 80%; p { font-size: 1.5rem; } }
        .contact { width: 80%; }
    }
}

@media screen and (max-width: 756px) {
    #page-contact .contact-container {
        padding: 1.5rem 1.5rem 3rem;
        .text-aproche { width: 95%; }
        .contact {
            width: 95%;
            form .form-columns { grid-template-columns: 1fr; gap: 0.7rem; }
            form button { width: 100%; }
        }
    }
}

@media screen and (max-width: 485px) {
    #page-contact .contact-container {
        padding: 1rem;
        .text-aproche { width: 100%; }
        .contact { width: 100%; }
    }
}
