/* section contact ****************************************************************************************/




/* --- PARTIE DROITE (Formulaire) --- */

section.bandeau.transparent {
    height: 100%;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 0px;

}

.container:hover {
    box-shadow: none;
    transform: scale(1);
}

.input-group-row {
    display: flex;
    gap: 40px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    margin-bottom: 10px;
    display: block;
}

.form-group input,
.form-group textarea {
    resize: none;
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 0;
    font-size: 16px;
    color: black;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;

    outline: none;
    box-shadow: none;
    transition: 0.3s ease-out;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: -2px -2px 8px #77B6D6, 2px 2px 8px #71C5B2;
    transition: 0.3s ease-out;
}

/* =========================
   CHECKBOX GROUP
   ========================= */

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 25px;
}

/* Cache la checkbox native */
.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label */
.checkbox-group label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #9e9e9e;
    transition: color 250ms cubic-bezier(.4, .0, .23, 1);
}

/* Texte */
.checkbox-group label p {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
}

/* Hover */
.checkbox-group label:hover {
    color: #fff;
}

/* Case */
.checkbox-group label>span {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    /* alignement avec le texte */
    background: transparent;
    border: solid rgba(255, 255, 255, 0.623) 0.2px;
    border-radius: 3px;
    transition: all 250ms cubic-bezier(.4, .0, .23, 1);
}

.checkbox-group label:hover>span {
    background: rgba(255, 255, 255, 0.1);
}

/* Checked */
.checkbox-group input[type="checkbox"]:checked+label>span {
    border: .5em solid #71C5B2;
    animation: shrink-bounce 200ms cubic-bezier(.4, .0, .23, 1);
}

/* Checkmark centré */
.checkbox-group input[type="checkbox"]:checked+label>span::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    top: 50%;
    left: 50%;
    border-right: 2px solid #212121;
    border-bottom: 2px solid #212121;
    transform: translate(-50%, -60%) rotate(45deg);
    transform-origin: center;
    animation: checkbox-check 125ms 250ms cubic-bezier(.4, .0, .23, 1) forwards;
}

/* =========================
   ANIMATIONS (identiques)
   ========================= */

@keyframes shrink-bounce {
    0% {
        transform: scale(1);
    }

    33% {
        transform: scale(.85);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkbox-check {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
    }
}

/* Bouton */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}