/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* On force ta police sur absolument tous les éléments */
    font-family: 'Molde SemiExpanded Regular', sans-serif;
    /* On réduit l'interlettrage de 6% par rapport à la taille du texte */
    letter-spacing: -0.06em;
}

@font-face {
    font-family: 'Molde SemiExpanded Regular';
    src: url('Molde-SemiExpanded-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #f5f5f5; /* Gris très clair */
    color: #000000;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* CONTENEUR PRINCIPAL */
.form-container {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    border: 2px solid #a8A8A8; /* Bordure forte, industrielle */
    padding: 30px 20px;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
    
    padding-bottom: 15px;
}

.form-header h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* GROUPES DE CHAMPS */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #333333;
}

/* INPUTS & TEXTAREA */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #000000;
    background-color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s ease;
    border-radius: 0; /* Pas d'arrondis pour le style industriel */
}

input:focus,
textarea:focus {
    outline: none;
    background-color: #f0f0f0;
    border-width: 2px;
    padding: 11px; /* Compensation pour la bordure plus épaisse */
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* FILE UPLOAD */
input[type="file"] {
    font-size: 0.9rem;
    padding: 10px 0;
}

.file-error {
    color: #d90000;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    font-weight: bold;
}

/* CHECKBOX */
.checkbox-group {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-bottom: 30px;
    background-color: #eeeeee;
    padding: 15px;
    border: 1px solid #a8A8A8;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #a8A8A8;
    background-color: #fff;
    margin-right: 15px;
    cursor: pointer;
    position: relative;
    border-radius: 0;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: 'X'; /* Croix industrielle au lieu d'un tick classique */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

/* BOUTON SUBMIT */
button[type="submit"] {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

button[type="submit"]:hover {
    background-color: #ffffff;
    color: #000000;
}

/* RESPONSIVE SMARTPHONE */
@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        border-width: 1px;
        box-shadow: 4px 4px 0px #a8A8A8;
        padding: 20px 15px;
    }
}
