* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: #f7f9fc;
    color: #253746;

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.contact-page {
    width: min(720px, calc(100% - 40px));

    margin: 0 auto;
    padding: 40px 0 60px;
}

.contact-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dce5ec;
    border-radius: 14px;

    box-shadow: 0 5px 20px rgba(30, 60, 80, 0.08);
}

/* EN-TÊTE */

.contact-header {
    padding: 28px 32px 24px;

    background: linear-gradient(
        135deg,
        #e7f2fa 0%,
        #f6fafd 100%
    );

    border-bottom: 1px solid #dce5ec;
}

.eyebrow {
    margin: 0 0 5px;

    color: #3184b8;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-header h1 {
    margin: 0;

    color: #173f5f;

    font-size: 30px;
    line-height: 1.2;
}

.contact-header > p:last-child {
    max-width: 550px;

    margin: 10px 0 0;

    color: #657784;

    font-size: 14px;
}

/* FORMULAIRE */

.contact-form {
    padding: 30px 32px 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;

    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 7px;

    color: #354d5e;

    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 12px 14px;

    background: #ffffff;

    border: 1px solid #cdd9e1;
    border-radius: 8px;

    color: #253746;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3184b8;

    box-shadow: 0 0 0 3px rgba(49, 132, 184, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa8b2;
}

/* BOUTON */

button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 180px;

    padding: 12px 20px;

    background: #176b9e;

    border: 0;
    border-radius: 8px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

button:hover {
    background: #0d5c8d;

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(23, 107, 158, 0.22);
}

button:active {
    transform: translateY(0);
}

/* MOBILE */

@media (max-width: 600px) {

    .contact-page {
        width: calc(100% - 20px);

        padding: 20px 0 40px;
    }

    .contact-header {
        padding: 22px 20px;
    }

    .contact-header h1 {
        font-size: 26px;
    }

    .contact-form {
        padding: 22px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    button {
        width: 100%;
    }
}