/* Import fonts : Dosis (texte) */
@font-face {
    font-family: 'Dosis';
    src: url('../fonts/Dosis/Dosis-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Dosis';
    src: url('../fonts/Dosis/Dosis-SemiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Dosis';
    src: url('../fonts/Dosis/Dosis-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Dosis';
    src: url('../fonts/Dosis/Dosis-ExtraLight.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
/* Import fonts : Philosopher (titre) */
@font-face {
    font-family: 'Philosopher';
    src: url('../fonts/Philosopher/Philosopher-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Philosopher';
    src: url('../fonts/Philosopher/Philosopher-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}


/*** Règles css de base ***/

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    font-family: 'Dosis', sans-serif;
    font-size: 18px;
}
ul{
    list-style: none;
}
select{
	border-radius: 0;
}
a{
    text-decoration: none;
    color: black;
}
a:hover{
    color: var(--primaire);
}
img{
    max-width: 100%;
    max-height: 60vh;
    object-fit: cover;
}

/* Variables de couleurs */
:root {
    --primaire: #601A24;
    --secondaire: #CEB481;
    --tertiaire: #926F3A;
    --blanc: #fff;
    --noir: #000000;
}


/* Global */
.btn {
    display: block;
    width: fit-content;
    padding: .625rem .875rem;
    text-decoration: none;
    transition: .3s;
    margin-top: 1rem;
}
.btn--principal{
    border: 1px solid var(--primaire);
    overflow: hidden;
    color: var(--primaire);
    position: relative;
}
.btn--principal:hover {
    background-color: var(--primaire);
    color: var(--blanc);
    padding-right: 2rem;
}
.btn--principal::after {
    content: "→";
	color: var(--blanc);
    position: absolute;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    right: .5rem;
    top: 50%;
    transform: translate(-100%, -50%); 
}
.btn--principal:hover::after {
    opacity: 1;
    transform: translate(0, -50%); 
}
.btn--secondaire{
    border: 1px solid var(--secondaire);
    color: var(--secondaire);
}
.btn--secondaire:hover{
    background-color: var(--secondaire);
    color: var(--primaire);
}
section{
    padding: 4rem 10%;
}
/* Titres */
h1, h2, h3{
    font-family: 'Philosopher', sans-serif;
}
h1, h1.titre{
    font-size: 2.5rem;
}
h2, h2.titre{
    font-size: 1.875rem;
}
h3, h3.sous-titre{
    font-size: 1.5rem;
}
.titre{
    color: var(--primaire);
    text-align: center;
    position: relative;
    margin-bottom: 2.5rem;
}
.titre::after{
    position: absolute;
    content: '';
    background-color: var(--secondaire);
    width: 5.75rem;
    height: 2px;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
}
[id]{
    scroll-margin-top: 100px;
}
/* Reponsive tablettes */
@media screen and ( min-width:750px ) {
    h1.titre, h1{
        font-size: 2.75rem;
    }
    h2, h2.titre{
        font-size: 2rem;
    }
    h3, h3.sous-titre{
        font-size: 1.5rem;
    }
}
/* Reponsive desktop */
@media screen and ( min-width:1280px ) {
    section{
        padding: 5rem 15%;
    }
    h1.titre, h1{
        font-size: 3rem;
    }
    h2, h2.titre{
        font-size: 2.25rem;
    }
    h3, h3.sous-titre{
        font-size: 1.5rem;
    }
}




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

.header{
    width: 100vw;
    position: fixed;
    z-index: 5;
    margin-top: 0;
    top: 0;
}
.header .menu{
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}
.header .menu__logo{
    height: 15vh;
    padding: .5rem;
	object-fit: contain;
}
.header .menu__container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    width: 70%;
}
.header .btn a{
	color: var(--primaire);
}
.header .btn:hover a{
	color: var(--blanc);
}
.checkbox{
    display: none;
}
.header .reseaux-sociaux{
    display: flex;
    gap: .5rem;
}
.menu__container .current-menu-item a{
	position: relative;
	color: var(--primaire);
}

@keyframes fade_in_show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media screen and ( min-width:1280px ) {
    .header{
        height: auto;
        width: 100vw;
        position: fixed;
        background-color: var(--blanc);
    }
    .header .menu{
        flex-direction: row;
        min-height: 100%;
        justify-content: center;
    }
    .header .menu__container{
        flex-direction: row;
        gap: 3rem;
        width: initial;
        align-items: center;
    }
    .menu__lien-container{
        position: relative;
    }
    .menu__lien{
        position: relative;
    }
    .header .menu__logo{
        margin-right: 3rem;
    }
    .header .btn{
        margin-top: 0;
    }
    .menu__container .current-menu-item:not(.btn)  a::after{
        position: absolute;
        content: '';
        background-color: var(--secondaire);
        width: 3rem;
        height: 2px;
        bottom: -.5rem;
        left: 50%;
        transform: translateX(-50%);
        transition: all .3s;
    }
}


/* Menu burger pour mobile et tablette */
@media screen and ( max-width:1279px ) {
    .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: 1.5rem;
        left: 1.5rem;
        z-index: 1;
    }
    .burger span{
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: var(--noir);
        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%;
    }
    /* Transform burger into a crossmark */
    .header .checkbox:checked ~ .burger span{
        opacity: 1;
        transform: rotate(45deg) translate(-2.5px, -2.5px);
        background: var(--noir);
    }
    .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;
        background-color: var(--blanc);
        transform-origin: 0% 0%;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        width: 50%
    }
    .header .checkbox:checked ~ .menu{
        transform: none;
    }
    .header .menu .btn{
        margin-top: 1rem;
    }
    .panier-woocommerce{
        margin-top: 1rem;
    }
}
@media screen and ( max-width:650px ) {
    .header .menu{
        width: 100%;
    }
}
@media screen and (min-width: 1280px) and (max-width: 1500px) {
	.header .menu__logo{
		height: 7vh;
		width: 10rem;
		margin-right: 0;
	}


}


/* Flèche back-to-up */
.back-to-up {
    opacity: 0;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    text-align: center;
    border-radius: 5px;
    z-index: 3;
    transition: opacity .5s ease-in-out;
}
@media screen and ( max-width:650px ) {
    .back-to-up > img{
        width: 2.5rem;
        right: 1rem;
    }
}

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

.footer{
    background-color: var(--primaire);
    display: flex;
    color: var(--blanc);
    justify-content: space-around;
    padding: 5rem 10%;
    flex-direction: column;
    gap: 3rem;
    margin-top: 5rem;
}
.footer a:not(.btn){
    color: var(--blanc);
}
.footer a:not(.btn):hover{
    color: var(--secondaire);
}
.footer .footer__titre{
    color: var(--secondaire);
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: .5rem;
}
.footer p, .footer li{
    margin-bottom: .25rem;
    font-weight: 100;
}
.footer > div:first-child{
    text-align: center;
}
.footer .reseaux-sociaux{
    display: flex;
    gap: .5rem;
}
.footer .btn{
    margin-top: 1rem;
}
.footer .btn a{
	color: var(--secondaire);
}
.footer .btn:hover a{
	color: var(--primaire);
}
.footer__contact div:first-child{
    margin-bottom: 2rem;
}
.footer__logo{
    width: 200px;
    margin-bottom: 1.5rem;
}
.footer__localisations{
    color: var(--secondaire);
}
.footer__rgpd{
    text-align: center;
}
/* Responsive tablettes */
@media screen and ( min-width:750px ) {
    .footer{
        flex-direction: row;
        flex-wrap: wrap;
    }
}



/* Page par défaut */
.defaut{
	margin-top: 15vh;
}
.defaut h1{
	margin-bottom: 4rem;
}
.defaut h2{
	color: var(--tertiaire);
	margin-top: 3rem;
	margin-bottom: 1.5rem;
	font-size: 2rem;
}
.defaut p{
	margin-bottom: .5rem;
}
.defaut a{
	border-bottom: solid 1px var(--secondaire);
}
.defaut ul {
    margin-bottom: 1rem;
}
.defaut ul li {
    position: relative;
    margin-left: 1.5rem;
    margin-bottom: 0.25rem;
}
.defaut ul li::before {
    content: '';
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    left: 0;
    border-radius: 50%;
    background-color: var(--primaire);
    color: var(--primaire);
    margin-left: -1rem;
    margin-top: 0.5rem;
}

/* Notifications panier*/
.panier-woocommerce{position: relative;}
.panier-woocommerce .cart-count {background-color: #601A24;color: white;font-family:'Dosis', sans-serif;border-radius: 50%;font-size: 12px;padding: 3px 6px;position: absolute;top: -5px;right: -10px;}
@media screen and ( max-width:1979px ) {
    .panier-woocommerce{width:30px;}
}
/* popup */
#pum-1176{background-color: rgba(255, 255, 255, 0.5);}
.pum-close.popmake-close{display:none;}