
/* Couleur principale */
:root {
    --main-color: #ff0454;
    --main-color-hover: #d90045;
    --background-light: #fff6fa;
    --border-radius: 12px;
}

body {
    background: var(--background-light);
    font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

.wrapper {
    margin: 40px auto;
    width: 95%;
    max-width: 600px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 32px 24px 24px 24px;
}

h1, h4 {
    color: var(--main-color);
    font-weight: 700;
    letter-spacing: -1px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
    align-items: center;
}

label {
    font-weight: 500;
    margin-bottom: 6px;
}

input[type="text"] {
    border-radius: var(--border-radius);
    border: 1.5px solid #eee;
    padding: 12px;
    font-size: 1.1em;
    transition: border 0.2s;
}
input[type="text"]:focus {
    border: 1.5px solid var(--main-color);
    outline: none;
}

input[type="submit"] {
    width: 60%;
    max-width: 220px;
    min-width: 120px;
    margin-top: 8px;
    align-self: center;
    font-size: 1.1em;
    justify-content: center;
    display: flex;
}
input[type="submit"]:hover, button:hover, .button:hover {
    background: var(--main-color-hover);
    transform: translateY(-2px) scale(1.03);
}

textarea {
    border-radius: var(--border-radius);
    border: 1.5px solid #eee;
    padding: 12px;
    font-size: 1em;
    background: #fafbfc;
    margin-top: 8px;
}

#map {
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

@media (max-width: 600px) {
    .wrapper {
        padding: 16px 4vw;
    }
    h1 {
        font-size: 2em;
    }
}

/* Amélioration des messages d'erreur */
.wrapper h1 + p {
    color: #d90045;
    font-weight: 500;
    margin-top: 12px;
}

/* Larger than mobile screen */
@media (min-width: 40.0rem) { 
    .wrapper {
        width: 80%;
    }

    #map {
        height: 400px;
    }
 }

/* Larger than tablet screen */
@media (min-width: 80.0rem) { 
    .wrapper {
        width: 70%;
    }

    #map {
        height: 500px;
    }
 }

/* Larger than desktop screen */
@media (min-width: 120.0rem) {  }