.hero {
    background: var(--degrade-color);

    width: 100%;
    height: 300px;
    min-height: 0;
    justify-content: center;
}

.hero::before {
    display:none;
}

.hero h1,
.hero h2 {
    color: #A96F84;
}

.infos-rdv {
    width: 35%;
    height: auto;
    max-height: 700px;
    background: var(--degrade-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: var(--space-xl);
    border: 0.5px solid var(--fourth-color);
    border-radius: var(--bd-rad-md);
    box-shadow: 2px 2px 5px var(--fourth-color);
    text-align: left;
}

.description-infos {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.description-infos p { 
    width: 100%; 
    margin: 0; 
    display: block; 
    text-align: justify;
}

#section-prise-rdv {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-xl) 0px;
}

#form-reservation {
    height: auto;
    background: var(--degrade-color);

    padding: var(--space-xl);

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid var(--fourth-color);
    border-radius: var(--bd-rad-md);
    box-shadow: 2px 2px 5px var(--fourth-color);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

input {
    background-color: var(--primary-color);
    border: 0.5px solid var(--fourth-color);
    border-radius: var(--bd-rad-md);
    padding-left: var(--space-sm);
}

select {
    background-color: var(--primary-color);
    border: 0.5px solid var(--fourth-color);
    border-radius: var(--bd-rad-md);
    max-width: 100%; 
    text-overflow: ellipsis;
}

textarea {
    background-color: var(--primary-color);
    border: 0.5px solid var(--fourth-color);
    border-radius: var(--bd-rad-md);
}

#form-reservation p {

    padding-bottom: var(--space-md);
    font-size: 1.5rem;
    font-weight: var(--weight-smb);
}

.champ-form.error {
    margin-bottom: var(--space-md);
}

.champ-form.prestations {
    flex-direction: column;
}

#id_consentement {
    appearance: none;
    -webkit-appearance: none;

    width: 22px;
    height: 22px;

    flex-shrink: 0;

    background-color: var(--primary-color);
    border: 2px solid var(--fourth-color);
    border-radius: 4px;

    cursor: pointer;
    position: relative;
}

#id_consentement:checked {
    background-color: var(--fourth-color);
}

#id_consentement:checked::after {
    content: "✓";
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    font-size: 16px;
    font-weight: bold;
}

.champ-consentement {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    justify-content: center;
}

.champ-consentement label {
    cursor: pointer;
    width: 80%;
}

.container {
    width: 95%;

    margin-bottom: var(--space-xl);
}

.card.icone {
    width: 600px;
}

.btn.btn-reservation {
    width: 60%;
}

/* #region Responsive mobile */
    @media screen and (max-width: 850px) {
        #section-prise-rdv {
            flex-direction: column;
            align-items: center;
        }

        .infos-rdv {
            width: 90%;
        }
    
        .description-infos p {
            width: 90%;
        }

        #form-reservation {
            width: 90%;
            align-items: center;
        }

        .champ-form.prestations {
            height: auto;
            padding-bottom: var(--space-md);
            flex-direction: column  ;
        }

        .part-form-reservation.prestations {
            margin-right: 0px;
            align-items: center;
        }
    
        .champ-consentement {
            width: 100%;
        }
    
        .champ-consentement label {
            width: 90%;
        }

        .btn.btn-reservation {
            width: 60%;
        }

        .card.icone {
            width: 90%;
        }
    }
/* #endregion */

/* #region Responsive Tablet */
    @media screen and (min-width: 440px) and (max-width: 850px) {
        .part-form-reservation {
            flex-direction: row;
        }

        #section-prise-rdv {
            gap: var(--space-xl);
        }
    }
/* #endregion */

/* #region Responsive Tablet Horizontal */
    @media screen and (min-width: 851px) and (max-width: 1200px) {
        #form-reservation {
            width: 50%;
        }

        #section-prise-rdv {
            justify-content: center;
            gap: var(--space-xl);
            padding: var(--space-xl) 0px;
        }

        .infos-rdv {
            margin-left: var(--space-xl);
        }

        .part-form-reservation {
            flex-direction: column;
            align-items: flex-end;
            margin-right: 100px;
        }

        .part-form-reservation.prestations {
            align-items: center;
            margin-right: 0;
        }

        .champ-form.prestations {
            flex-direction: column;
        }

        .part-form-reservation.commentaires {
            align-items: center;
            margin-right: 0;
        }

        .champ-consentement {
            gap: var(--space-xl);
        }

        .btn.btn-reservation {
            width: 60%;
        }

        #heure {
            width: 80px;
        }
    }
/* #endregion */
