/* theme de base*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* fond */
body {
    margin: 0;
    padding: 0;
    background-color: #0069e3;
    font-family: "Open Sans", sans-serif;
    overflow-y: auto;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.container {
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1rem;
}

.header {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
    width: 100%;
}

h1 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

form {
    width: 100%;
    max-width: 50rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input,
textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #3391f0;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

button:hover {
    text-decoration: none;
}

button:disabled {
    background-color: #93c5fd;
    cursor: not-allowed;
}

.send-icon {
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    form {
        padding: 1.25rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    form {
        padding: 1rem;
        margin: 0 0.5rem;
        border-radius: 0.375rem;
    }

    input,
    textarea {
        padding: 0.75rem;
        font-size: 16px;
        /* Évite le zoom sur iOS */
    }

    button {
        padding: 0.875rem;
    }

    .retour {
        width: 160px;
        height: 50px;
        font-size: 0.875rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0.25rem;
    }

    form {
        padding: 0.75rem;
        margin: 0 0.25rem;
    }

    h1 {
        font-size: 1.125rem;
    }
}

a {
    text-decoration: none;
}

.retour {
    background: linear-gradient(135deg, #3391F0, #0069e3);
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    min-height: 50px;
    margin-bottom: 2.5rem;
    border-radius: 12px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.retour:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.retour:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}