/*DEBUT body*/
body {
    position: relative;
    width: 100%;
    font-family: "Century Gothic";
    margin: 0;
}

main {
    position: relative;
    width: 100%;
    min-height: calc(100vh + 105px);
    height: auto;
    background: url("../image/bg_soc.jpeg") no-repeat center center/cover;
    background-size: cover;
    z-index: -2;
    overflow: hidden;
    padding-bottom: 5%;
}
main > * {
    position: relative;
    z-index: 2;
}

main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7); 
    z-index: 1;
    pointer-events: none;
}
/*FIN body*/

#info {
    position: relative;
    /* background-color: blue; */
    display: flex;
    flex-direction: column;
    width: 80%;
}

h2 {
    position: relative;
    text-align: left;
    font-size: 1.7em;
    z-index: 1;
    font-weight: 400;
}

h2::before,
h2::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 24px;
    background: #bb4144;
    border-radius: 0px 16px 16px 0;
    vertical-align: middle;
    margin: 0 0 4px 12px;
}

h2::before {
    transform: scaleX(-1);
    margin: 0 12px 4px 0;
}



#contenu {
    position: relative;
    width: 80%;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    /* background-color: rgb(197, 106, 21); */
    display: flex;
    flex-direction: row;
    gap: 40px;
}

#text {
    position: relative;
    width: 100%;
    height: auto;
    /* background-color: aqua; */
    text-align: left;
    line-height: 1.4;
}

#bureau {
    position: relative;
    width: 100%;
    height: 100%;
    /* background-color: aquamarine;  */
    display: flex;
    flex-direction: row;
    gap: 40px;
}

#bureau img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 20px;
}

#bureau p{
    text-align: left;
    line-height: 1.2;
}

#saviese,
#lausanne {
    position: relative;
    width: 100%;
    height: 100%;
    /* background-color: rgb(179, 34, 166); */
    display: flex;
    flex-direction: row;
}

#bureau h3 {
    position: relative;
    width: 100%;
    text-align: left;
    font-size: 1.5em;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 1px;
}

/*DEBUT mini barre sous menu*/
#mini-barres {
    position: relative;
    width: 100%;
    height: 3px;
    /* Dégradé rouge (centre) vers blanc transparent (bords) */
    background: linear-gradient(
        to right,
        rgba(220,0,0,0.7) 50%,
        rgba(220,0,0,0.7) 50%,
        rgba(255,255,255,0.5) 90%,
        rgba(255,255,255,0.5) 90%,
        rgba(255,255,255,0) 100%
    );
    opacity: 0.85;
    border: none;
    z-index: 1000;
}



/*DEBUT formulaire*/


#formu {
    position: relative;
    width: 35%;
    height: auto;
    /* background-color: lightblue; */
    box-sizing: border-box;
    margin-bottom: 50px;

}

#formu div{
    position: relative;
    width: 100%;
} 


#formu input,
#formu textarea {
    width: 100%;
    padding: 10px 0 10px 0;
    text-indent: 10px; 
    margin-bottom: 10px;
    border: none;
    background-color: rgb(187, 65, 68, 0.50);
    color: black;
    resize: none;
}

.g-recaptcha{
    margin-bottom: 20px !important;
    padding: 10px !important;
}

.grecaptcha-badge {
    visibility: hidden;
}

#recaptcha-info a {
    text-decoration: none;
    color: rgb(187, 65, 68);
    font-weight: bold;
    margin-top: 0 !important;
}

#recaptcha-info p {
    margin-top: 0 !important;
    font-size: xx-small !important;
}



/* Corrige le placeholder en blanc */
#formu input::placeholder,
#formu textarea::placeholder {
    color: rgb(219, 219, 219);
    opacity: 1;
}

#formu input:focus,
#formu textarea:focus {
    outline: 2px solid #bb4144;
    caret-color: #bb4144;
}

/* Conteneur pour les 5 ronds */
form::after {
    content: "";
    position: fixed; 
    right: -2%; /* Distance du bord droit du text_defilant */
    top: 52%;
    transform: translateY(-100%);
    width: 12px;
    height: 80px;
    background: 
        radial-gradient(circle at center, #bb4144 30%, transparent 30%) 0 0/12px 12px,
        radial-gradient(circle at center, #c85659 30%, transparent 30%) 0 16px/12px 12px,
        radial-gradient(circle at center, #d56b6e 30%, transparent 30%) 0 32px/12px 12px,
        radial-gradient(circle at center, #e28083 30%, transparent 30%) 0 48px/12px 12px,
        radial-gradient(circle at center, #f0d5d7 30%, transparent 30%) 0 64px/12px 12px;
    background-repeat: no-repeat;
    z-index: 100;
    pointer-events: none;
}

#formu button {
    width: 50%;
    /* padding: 10px; */
    background-color: #bb4144;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    margin-bottom: 100px;
    /* margin-left: 10px; */
    
}

/*FIN formulaire*/

@media screen and (max-width: 1465px) {

     main {
        height: auto;
        min-height: calc(100vh + 105px);
    }

    #contenu {
        flex-direction: column;
        width: 90%;
    }

    #bureau {
        flex-direction: column;
        gap: 20px; 
    }

    #info {
        width: 100%;
    }

    #intro {
        height: 100px;
        width: 90%;
        margin-bottom: 0px !important;
    }

    #text p{
        margin-top: 0 ;
        margin-bottom: 0px;
        text-align: justify;
    }

    #formu {
        width: 100%;
    }

}
