/* Import Google Font */
#@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
    background-color: #202c4f;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.header {
    background-color: #133a6d;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.header img {
    width: 120px;
    height: auto;
}

/* Conteneur principal */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #202c4f;
    background-image: url('../../images/fond.svg');
    background-position: bottom;
    background-size: contain;
    padding: 20px;
    background-repeat: no-repeat;
    width: 100%;
}

/* Conteneurs alignés (Desktop et Tablette) */
#conteneur1, #conteneur3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 25%;
    padding-top:25px;
}

#conteneur2 {
    flex: 1;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    max-width: 490px;
    width: 490px;
    z-index: 100;
}

#conteneur1 img, #conteneur3 img {
    height: auto;
}

#conteneur2 p {
    text-align: left;
}

/* Formulaire */
.formulaire {
    background-color: #c4e2fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    color: #13386c;
    text-align: center;
}

.formulaire h2 {
    font-size: 18px;
    font-weight: bold;
    color: #13386c;
}

.formulaire h3 {
    font-size: 20px;
    font-weight: bold;
    color: #e52421;
    margin-bottom: 15px;
}

.formulaire label {
    font-size: 16px;
    font-weight: bold;
    color: #13386c;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

.formulaire input[type="checkbox"] {
    margin-right: 10px;
}

.formulaire .checkbox-label {
    font-size: 12px;
    font-weight: bold;
    color: #13386c;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10%;
}

.formulaire input[type="text"], .formulaire input[type="email"] {
    width: 80%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #13386c;
    border-radius: 6px;
    font-size: 14px;
}

/* Bouton de validation */
.formulaire button {
    background-color: #13386c;
    border-radius: 7px;
    padding: 12px 25px 14px;
    font-weight: bold;
    color: #fff;
    border: none;
    margin-top: 15px;
    cursor: pointer;
    width: 100%;
}

/* Texte final */
.formulaire .final-text {
    font-size: 14px;
    font-weight: bold;
    color: #13386c;
    margin-top: 20px;
    text-align: center;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    #conteneur1, #conteneur3 {
        width: 25%;
    }
    #conteneur2 {
        width: 490px;
        max-width: 490px;
        order: 0;
    }
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding:10px;
    }
    #conteneur2 {
        order: -1;
        width: 90%;
        font-size: 16px;
    }
    #conteneur1, #conteneur3 {
        width: 100%;
        position: relative;
    }
    .formulaire h2 {
    font-size: 16px;
    font-weight: bold;
    color: #13386c;
}

.formulaire h3 {
    font-size: 16px;
    font-weight: bold;
    color: #e52421;
    margin-bottom: 15px;
}

}