html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
    text-decoration: none;
}
*, *::after, *::before {
    box-sizing: border-box;
    font-family: Merienda;
    transition-duration: 300ms;
}

strong {
    font-weight: 700;
}

.header {
    height: 80px;
    display: flex;
    justify-content: center;
}

.nav-header {
    max-width: calc(100vw - max(60px, 5vw));
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-menu {
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-origin: center;
    transition-duration: 800ms;
    cursor: pointer;
}

.header-menu:hover {
    rotate: 180deg;
}
.header-menu.active:hover {
    rotate: 360deg;
}

.img-menu.img-menu-top {
    transform-origin: center left;
    transform: rotate(0);
}
.img-menu.img-menu-bottom {
    transition-duration: 300ms;
    transform-origin: center right;
    transform: rotate(0);
}

.header-menu.active .img-menu.img-menu-top {
    transform: translate(7px,0px) rotate(45deg);
}

.header-menu.active .img-menu.img-menu-bottom {
    transform: translate(-7px,-23px) rotate(-45deg);
}

.hero-section {
    margin-bottom: 20vh;
    position: relative;
    height: fit-content;
    display: flex;
    justify-content: center;
    background-size: cover;
    background-position: 64% center;
}

.hero-section .block-title {
    margin-top: min(10vh, 100px);
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h1 {
    color: #000;
    font-family: Merienda;
    font-size: clamp(30px, min(12vw, 12vh), 70px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.sub-title {
    margin: max(3vh, 13px) 0;
    color: #000;
    text-align: center;
    font-family: Merienda;
    font-size: clamp(20px, min(3vw, 6vh), 40px);
    font-weight: 400;
    line-height: 1.3;
    -webkit-text-stroke: 1px #ffffffc9;
}

.hero-section .block-split {
    width: 100%;
    position: absolute;
    bottom: -3px;
}

.hero-section .block-split .image-split {
    width: 100%;
}

.mentions-section {
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-h2 {
    margin: 50px 0 0 0;
    width: calc(100% - 60px);
    min-height: 90px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.h2 {
    color: #000;
    font-size: clamp(15px, 4vw, 30px);
    font-weight: 700;
}

.block-h2 hr {
    width: 70%;
    height: 4px;
    background-color: #D9D9D9;
    border: none;
}

.block-text {
    margin-top: 5vh;
    max-width: calc(100% - max(10%, 30px));
    color: #000;
    font-family: Miriam Libre;
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 400;
    line-height: 1.5;
}

.footer {
    padding: 20px 0 10px 0;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #D9D9D9;
}

.cookie-banner {
    position: fixed;
    left: 5vw;
    bottom: 10vh;
    width: 350px;
    height: 250px;
    background-color: #fffcf8;
    text-align: center;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.138);
    border-radius: 10px;
    display: none; /* La bannière sera affichée via JavaScript */
}

.cookie-banner .stape1,
.cookie-banner .stape2 {
    display: none;
}


.cookie-banner .active {
    display: block;
}

.block-cookies {
    height: 100%;
    width: 100%;
    position: relative;
}

.all-btn {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1px 0 0 0;
    display: flex;
    justify-content: space-between;
    background-color: #e9e9e9;
    border-radius: 0 0 10px 10px;
}

.block-logo-cookies {
    margin: 20px 0 30px;
}

.block-cookies .text-container {
    margin: 0;
    padding: 10px 15px 0 15px;
    font-size: 16px;
}

.text-container .block-text {
    max-width: none;
    font-size: 15px;
}

.cookie-banner {
    animation-name: cookies;
    animation-fill-mode: forwards;
    animation-delay: 2s;
    animation-duration: 1200ms;
    translate: calc(-350px - 5vw) 0;
    opacity: 0;
}

@keyframes cookies {
    0% {
        opacity: 0;
        translate: calc(-350px - 5vw) 0;
    }
    100% {
        opacity: 100;
        translate: 0 0;
    }
}


.cookie-banner button {
    padding: 10px 5px;
    min-width: calc((100% / 3) - 1px);
    border: none;
    cursor: pointer;
    background-color: #ffffffa7;
}

.cookie-banner button.accept-cookies {
    background-color: #FFFAF0;
    font-weight: 700;
    border-radius: 0 0 10px 0;
}

.decline-cookies {
    border-radius: 0 0 0 10px;
}

.nav-menu {
    height: calc(100vh - 80px);
    display: none;
}

.nav-menu.active {
    display: block;
}

.nav-menu .list-menu {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    color: #000;
}

.nav-menu .elem-menu {
    height: 25%;
    display: flex;
    align-items: center;
}

.nav-menu .elem-menu:hover .link-menu {
    color: #000000;
}

.nav-menu .link-menu {
    display: block;
    color: #747474;
    font-size: clamp(15px, min(5vw, 11vh), 70px);
}

.stape2 .block-text {
    margin-top: 10px;
}

.switch input
{
  display: none;
}

.switch 
{
  display: block;
  width: 60px;
  height: 30px;
  margin: 4px;
  position: relative;
}

.slider
{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 30px;
  box-shadow: 0 0 0 2px #777, 0 0 4px #777;
  cursor: pointer;
  border: 4px solid transparent;
  overflow: hidden;
  transition: 0.2s;
}

.slider:before
{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #777;
  border-radius: 30px;
  transform: translateX(-55px);
  transition: 0.2s;
}

input:checked + .slider:before
{
  transform: translateX(3px);
  background-color: limeGreen;
}

input:checked + .slider
{
  box-shadow: 0 0 0 2px limeGreen, 0 0 8px limeGreen;
}

.block-tracking {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-tracking .block-image img {
    width: 70px;
}

.text-name {
    width: fit-content;
    height: fit-content;
    font-family: Miriam Libre;
}


@media (max-width: 920px) {
    .block-text {
        max-width: none;
        min-width: none;
        width: calc(100% - 60px);
    }
    .text-container .block-text {
        font-size: 15px;
        width: 100%;
    }
    
    .sub-title {
        font-size: clamp(25px, min(6vw, 6vh), 40px);
        font-weight: 700;
        max-width: calc(100% - 60px);
    }
}

.contactClick span{
    color: rgb(0, 162, 255);
    font-weight: 600;
    cursor: pointer;
}

.contactClick a, .contactClick.active span{
    display: none;
}

.contactClick.active a{
    display: inline;
}