section {
    width: 100%;
    height: auto;
    background: url('../images/background-mwp.png');
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 50px;
    box-shadow: 0 1px 3px 3px rgba(0,0,0,0.05);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    text-align: center;
    padding-bottom: 70px;
}

.contact-hero h1 {
    font-size: clamp(2.8em, 6vw, 5em);
    line-height: 1;
    color: #13212f;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.contact-hero .subtitle {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.9;
    color: #4b5563;
}


/* =========================================================
   REASSURANCE
========================================================= */

.contact-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.contact-points span {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 0.92em;
    backdrop-filter: blur(5px);
}


/* =========================================================
   FORMULAIRE
========================================================= */

.contact-form {
    background: rgba(255,255,255,0.58);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.05);
}


/* =========================================================
   HONEYPOT
========================================================= */

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}


/* =========================================================
   ALERTES
========================================================= */

.form-alert {
    margin-bottom: 30px;
    padding: 18px 22px;
    border-radius: 18px;
    font-size: 0.96em;
    line-height: 1.7;
}

.form-alert.error {
    background: rgba(220,38,38,0.08);
    color: #991b1b;
}

.form-alert.success {
    background: rgba(22,163,74,0.08);
    color: #166534;
}


/* =========================================================
   GRID
========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}


/* =========================================================
   GROUPES
========================================================= */

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.95em;
    font-weight: 700;
    color: #13212f;
}


/* =========================================================
   INPUTS
========================================================= */

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.75);
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 1em;
    color: #111827;
    transition: 0.2s;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(198,211,0,0.9);
    box-shadow: 0 0 0 4px rgba(198,211,0,0.12);
    background: rgba(255,255,255,0.95);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
    line-height: 1.8;
}


/* =========================================================
   TYPES DE PROJET
========================================================= */

.project-types {
    margin-bottom: 50px;
}

.project-types h2 {
    font-size: clamp(1.8em, 3vw, 2.6em);
    line-height: 1.1;
    color: #13212f;
    margin-bottom: 15px;
    text-align: left;
    letter-spacing: -1px;
}

.project-types .helper {
    text-align: left;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.8;
}


/* =========================================================
   TYPES GRID
========================================================= */

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}


/* =========================================================
   CARTES
========================================================= */

.type-card {
    position: relative;
    cursor: pointer;
}

.type-card input {
    position: absolute;
    opacity: 0;
}

.type-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    text-align: center;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 22px;
    padding: 18px;
    font-weight: 700;
    transition: 0.2s;
    color: #13212f;
}

.type-card:hover span {
    transform: translateY(-2px);
    border-color: rgba(198,211,0,0.4);
}

.type-card input:checked + span {
    background: rgba(198,211,0,0.18);
    border-color: rgba(198,211,0,0.7);
}


/* =========================================================
   MESSAGE
========================================================= */

.message-group {
    margin-bottom: 40px;
}


/* =========================================================
   SUBMIT
========================================================= */

.form-submit {
    text-align: center;
}

.form-submit button {
    border: none;
    background: #13212f;
    color: #fff;
    padding: 18px 34px;
    border-radius: 18px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.25s;
}

.form-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(19,33,47,0.16);
}

.form-submit .icon {
    transition: transform 0.2s;
}

.form-submit button:hover .icon {
    transform: translateX(5px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:900px) {

    .contact-form {
        padding: 35px;
    }

    .form-grid,
    .types-grid {
        grid-template-columns: 1fr;
    }

}

@media(max-width:600px) {

    section {
        padding: 100px 18px;
    }

    .contact-form {
        padding: 24px;
        border-radius: 24px;
    }

    .contact-points {
        flex-direction: column;
    }

    .form-submit button {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================================
   ALERTES FORMULAIRE
========================================================= */

.form-alert {
    margin-bottom: 35px;
    padding: 24px 26px;
    border-radius: 24px;
    text-align: left;
    backdrop-filter: blur(6px);
    border: 1px solid transparent;
}

.form-alert strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.form-alert p {
    margin: 0;
    line-height: 1.8;
}


/* SUCCESS */

.form-alert.success {
    background: rgba(22,163,74,0.08);
    border-color: rgba(22,163,74,0.15);
    color: #166534;
}


/* ERROR */

.form-alert.error {
    background: rgba(220,38,38,0.08);
    border-color: rgba(220,38,38,0.15);
    color: #991b1b;
}