/* Imports des fonts */

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'CocoSharp';
    src: url('../fonts/Coco-Sharp-Light-trial.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'DMSerifDisplay';
    src: url('../fonts/DMSerifDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body{
    overflow-x: hidden;
	scroll-behavior: smooth;
}
body{
    font-family: 'Poppins', sans-serif;
    cursor:url('../img/design/cursor.png'), auto;
    color: var(--bleu);
}
ul{
    list-style: none;
}
/* ul > li{
    position: relative;
    margin-left: 1rem;
}
ul > li::before{
    position: absolute;
    content: "\002022";
    color: var(--orange);
    margin-left: -1rem;
} */
select{
	border-radius: 0;
}
a{
    text-decoration: none;
    color: var(--bleu);
    transition: .3s;
}
a:hover{
    color: var(--orange);
}
img{
    max-width: 100%;
}
p{
    line-height: 1.4;
}

/* Variables de couleurs */
:root {
    --bleu: #05356b;
    --orange: #F59C00;
    --creme: #FFF7EC;
    --blanc: #fff;
    --noir: #222222;
    --bleu-clair: #e6ebf0;
}

/* Global */

/* Boutons */
.btn{
    border-radius: 48px;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    transition: .3s;
    display: block;
    width: fit-content;
}
.btn--principal{
    border-radius:50px;
    color: var(--bleu);
	border: none;
	position: relative;
    z-index: 2;
    transition: .7s;
}
.btn--principal::before{
    transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    content: '';
    width: 50%;
    height: 2.5rem;
    width: 2.5rem;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px;
    background: var(--bleu-clair);
    z-index: -1;
}
.btn--principal:hover{
    color: var(--bleu);
}
.btn--principal:hover::before{
    background: var(--bleu-clair);
	width: 100%;
}
.btn--secondaire{
    border-radius:50px;
    color: var(--blanc);
	border: none;
	position: relative;
    z-index: 2;
    transition: .7s;
}
.btn--secondaire::before{
    transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    content: '';
    width: 50%;
    height: 2.5rem;
    width: 2.5rem;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px;
    background: #ffffff6e;
    z-index: -1;
}
.btn--secondaire:hover::before{
    background: #ffffff6e;
	width: 100%;
}
.btn--secondaire:hover{
    color: var(--bleu);
}
.btn--tertiaire{
    border-radius:50px;
    color: var(--orange);
	border: none;
	position: relative;
    z-index: 2;
    transition: .7s;
}
.btn--tertiaire::before{
    transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    content: '';
    width: 50%;
    height: 2.5rem;
    width: 2.5rem;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px;
    background: var(--creme);
    z-index: -1;
}
.btn--tertiaire:hover::before{
    background: var(--creme);
	width: 100%;
}
.btn--tertiaire:hover{
    color: var(--orange);
}
.btn--orange{
    border: 1px solid var(--orange);
    color: var(--orange);
}
.btn--orange:hover{
    background-color: var(--bleu);
}
/* Font size pour écrans 4K */
@media screen and ( min-width:2500px ) {
    *{
        font-size: 1.5rem;
    }
	h2{
		font-size: 2.25rem !important;
	}
	h2 > span{
		font-size: 2rem;
	}
	h3{
		font-size: 2rem !important;
	}
	h4{
		font-size: 1.6rem !important;
	}
	.btn{
		font-size: 1.25rem;
	}
	.accordion ul li, .liste ul li{
		font-size: 1.25rem;
	}
	.contact .rgpd > *, .contact .rgpd > * > a{
		font-size: 1.25rem !important;
	}
} 


/*********
* HEADER *
*********/

.header{
    width: 100vw;
    position: fixed;
    z-index: 5;
    margin-top: 0;
    top: 0;
    display: flex;
}
.header .menu{
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
    padding-bottom: 40vh;
}
.header .menu > a{
    text-align: center;
}
.header .menu__logo{
    width: 40%;
    padding: 1rem;
    object-fit: contain;
}
.header .menu__container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    width: 70%;
}
/* Enlever le checkbox */
.checkbox{
    display: none;
}

/* Responsive desktop */
@media screen and ( min-width:1170px ) {
    .header{
        width: 100vw;
        position: fixed;
        background-color: var(--bleu);
    }
    .header .menu__logo{
        height: 10rem;
        width: auto;
        transition: .3s height;
    }
    /* Barre de navigation */
    .header .menu{
        flex-direction: row;
        min-height: initial;
        justify-content: center;
        gap: 10%;
        padding-bottom: 0;
    }
    .header .menu__container{
        flex-direction: row;
        gap: 4rem;
        width: initial;
    }
    .header .menu__lien a{
        color: var(--blanc);
        font-weight: 200;
        position: relative;
    }
    .header .menu__lien a::before{
        transition: 300ms;
        position: absolute;
        background: #F59C00;
        content: "";
        left: 0;
        right: 0;
        top: 0;
        z-index: -1;
        bottom: 0;
        margin: auto;
        transition: 300ms;
        width: 0;
        height: 0;
    }
    .header .menu__lien a:hover::before{
        position: absolute;
        background: #F59C00;
        content: "";
        left: 0;
        right: 0;
        top: 0;
        z-index: -1;
        bottom: 0;
        margin: auto;
        width: 3.125rem;
        height: 3.125rem;
        border-radius: 18.75rem;
    }
    .header .menu__container > :not(:last-child) ::after{
        position: absolute;
        content: '';
        background-color: var(--orange);
        width: 1px;
        height: 1.2rem;
        bottom: 0;
        right: -2rem;
    }
}

/* Menu burger pour mobile et tablette */
@media screen and ( max-width:1170px ) {
    .checkbox{
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: 1rem;
        left: 1rem;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }
    /* Burger style */
    .burger{
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1;
    }
    .burger span{
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: var(--orange);
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
    }
    .burger span:first-child{
        transform-origin: 0% 0%;
    }
    .burger span:nth-last-child(1){
        transform-origin: 0% 100%;
    }
    /* Transformer le burger en croix */
    .header .checkbox:checked ~ .burger span{
        opacity: 1;
        transform: rotate(45deg) translate(-2.5px, -2.5px);
        background: var(--orange);
    }
    .header .checkbox:checked ~  .burger span:nth-last-child(2){
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }
    .header .checkbox:checked ~  .burger span:nth-last-child(1){
        transform: rotate(-45deg) translate(0, 0);
    }
    .header .menu{
        position: absolute;
        top: 0;
        left: 0;
        transform-origin: 0% 0%;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        width: 50%;
        background-color: var(--bleu);
    }
    .header .checkbox:checked ~ .menu{
        transform: none;
    }
    .header .menu__lien a{
        color: var(--blanc);
        font-weight: 200;
        position: relative;
    }
    .header .menu__container > :not(:last-child) ::after{
        position: absolute;
        content: '';
        background-color: #F59C00;
        width: 2rem;
        height: 1px;
        bottom: -.5rem;
        left: 0;
    }
}
/* Le menu prend 100% de la taille de l'écran sur téléphone */
@media screen and ( max-width:650px ) {
    .header .menu{
        width: 100%;
    }
}





/*********
* FOOTER *
*********/

/* Bouton back to top */
.back-to-top {
    display: none;
    position: fixed;
    bottom: -5rem; 
    right: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2;
    transition: bottom .8s ease; 
}

.footer{
    background-color: var(--bleu);
    padding: 3rem 12%;
    color: var(--blanc);
    font-weight: 200;
    padding-bottom: 22rem;
    position: relative;
    overflow: hidden;
}
.footer a{
    color: var(--blanc);
    font-weight: 200;
    display: block;
}
.footer .btn{
    margin: 1rem 0;
}
.footer__logo{
    width: 50%;
    max-width: 15rem;
    object-fit: contain;
}
.footer__texte{
    margin-bottom: .5rem;
}
.footer__lien-avocat{
    position: relative;
    width: fit-content;
}
.footer__lien-avocat::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
}
.footer a:hover{
    color: var(--orange);
}
.footer__lien-avocat:hover::after{
    background-color: var(--orange);
}
.menu-footer{
    margin: 2rem 0;
}
.footer__carte{
    position: absolute;
    bottom: 2rem;
    left: 12%;
    width: 76%;
    object-fit: contain;
}
.footer__barreau{
	margin: 1.5rem 0;
	font-size: .8rem;
}

/* Responsive tablette */
@media screen and ( min-width:750px ) {
    .footer{
        padding-bottom: 2rem;
    }
    .footer__carte{
        position: absolute;
        right: -5%;
        top: 50%;
        transform: translateY(-50%);
        width: 50%;
        left: inherit;
        bottom: inherit;
    }
    .footer__contenu{
        max-width: 50%;
    }
}

/* Responsive desktop */
@media screen and ( min-width:1170px ) {
    .footer{
        padding: 10rem 15% 10rem 15%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 5rem;
    }
    .footer__carte{
        top: 50%;
        width: 30%;
    }
    .footer__logo{
        margin-top: -1rem;
        width: 15%;
    }
    .footer__conteneur{
        display: flex;
        align-items: flex-end;
        gap: 4rem;
    }
    .footer__contenu{
        max-width: 50%;
    }
    .footer .contact img{
        margin-top: .5rem;
    }
    .menu-footer{
        display: block;
        position: absolute;
        bottom: 4rem;
    }
    .menu-footer__liens{
        display: flex;
        gap: 2rem;
    }
    .footer .btn{
        margin-top: 2rem;
        margin-bottom: 0;
    }
    .menu-footer__lien{
        position: relative;
    }
    .menu-footer__liens > :not(:last-child) ::after {
        position: absolute;
        content: "";
        background-color: rgb(245, 156, 0);
        width: 1px;
        height: 1.3rem;
        bottom: 0;
        right: -1rem;
    }
    /* Animation */
    .footer{
        position: relative;
        overflow: visible;
    }
    .footer::before{
        content: url(../img/design/trait-orange2.svg);
        position: absolute;
        top: -15rem;
        left: 0;
        opacity: 0;
        z-index: 1;
    }
}

/* Cacher le logo ReCaptcha */
.grecaptcha-badge{
	display:none;
}