/* ============================================================
   Catamaran
   ============================================================ */
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-Thin.ttf') format('truetype');
  font-weight: 100; /* Thin */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-ExtraLight.ttf') format('truetype');
  font-weight: 200; /* ExtraLight */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-Light.ttf') format('truetype');
  font-weight: 300; /* Light */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-Regular.ttf') format('truetype');
  font-weight: 400; /* Regular */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-Medium.ttf') format('truetype');
  font-weight: 500; /* Medium */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-SemiBold.ttf') format('truetype');
  font-weight: 600; /* SemiBold */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-Bold.ttf') format('truetype');
  font-weight: 700; /* Bold */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-ExtraBold.ttf') format('truetype');
  font-weight: 800; /* ExtraBold */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../../fonts/Catamaran/Catamaran-Black.ttf') format('truetype');
  font-weight: 900; /* Black */
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Cinzel
   ============================================================ */
@font-face {
  font-family: 'Cinzel';
  src: url('../../fonts/Cinzel/Cinzel-Regular.ttf') format('truetype');
  font-weight: 400; /* Regular */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('../../fonts/Cinzel/Cinzel-Medium.ttf') format('truetype');
  font-weight: 500; /* Medium */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('../../fonts/Cinzel/Cinzel-SemiBold.ttf') format('truetype');
  font-weight: 600; /* SemiBold */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('../../fonts/Cinzel/Cinzel-Bold.ttf') format('truetype');
  font-weight: 700; /* Bold */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('../../fonts/Cinzel/Cinzel-ExtraBold.ttf') format('truetype');
  font-weight: 800; /* ExtraBold */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('../../fonts/Cinzel/Cinzel-Black.ttf') format('truetype');
  font-weight: 900; /* Black */
  font-style: normal;
  font-display: swap;
}

* {
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    letter-spacing: .12em;
    font-family: Cinzel;
    font-weight: 400;
    text-transform: uppercase;
    color: #737272;
    line-height: 1.03em;
}

h1 {
    font-size: 75px;
    line-height: 90px;
}

@media screen and (max-width: 550px) {
    h1 {
        font-size: 70px;
    }
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 25px;
    line-height: 1.3em;
}

ul {
    list-style: disc;
}

ul li {
    margin-left: 25px;
}

ul li p {
    margin-left: 3px;
}

bspk[blocname="heros"] * {
    color: #fff;
}

bspk[blocname="infos"] {
  
  & p {
    color: #ababab;
  }

  & h4 {
    color: #ababab;
    font-size: 23px;
    
  }
}

#miniHeader {
  transform: translateY(-100px);
  transition: transform 3s ease-in-out;
}

#miniHeader:not(.is-hidden) {
  transition: transform 3s ease-in-out;
  transform: translateY(0);
}

/* ============================================================
   Heros carousel
   ============================================================ */
#heros {
    position: relative;
    overflow: hidden;
}

#heros > bspk[blocname^="hero"] {
    display: flex !important;
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

#heros > bspk[blocname^="hero"].is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

#heros > bspk[blocname^="hero"] > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease-out, transform .8s ease-out;
}

#heros > bspk.is-active > * {
    opacity: 1;
    transform: translateY(0);
}

#heros > bspk.is-active > *:nth-child(1) { transition-delay: .35s; }
#heros > bspk.is-active > *:nth-child(2) { transition-delay: .55s; }
#heros > bspk.is-active > *:nth-child(3) { transition-delay: .75s; }
#heros > bspk.is-active > *:nth-child(n+4) { transition-delay: .95s; }

#heros > bspk.is-leaving > * {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity .5s ease-in, transform .5s ease-in;
}

.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color .3s, transform .3s;
}

.carousel-dot:hover { transform: scale(1.25); }
.carousel-dot.is-active { background: #fff; }

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    z-index: 10;
    transition: background-color .3s;
}

.carousel-arrow:hover { background: rgba(0, 0, 0, .65); }
.carousel-arrow-prev { left: 24px; }
.carousel-arrow-next { right: 24px; }

@media (min-width: 1280px) {
    .carousel-arrow { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    #heros > bspk[blocname^="hero"],
    #heros > bspk[blocname^="hero"] > * {
        transition-duration: .2s !important;
        transform: none !important;
    }
}

.partenaires-containers:not(:last-child) {
    border-bottom: 1px solid #ebebeb;
}

a {
    transition: all .300s;
    color: grey;

    &:hover {
        color: #b1af6a;
    }
}

bspk[blocname="Infos-1"], bspk[blocname="Infos-2"], bspk[blocname="Mentions"] {
    & a {
        color: #fff;

        &:hover {
           color:#b1af6a; 
        }
    }
}

#scroll-top {
  transition: opacity .3s;
}
#scroll-top.is-hidden {
  opacity: 0;
  pointer-events: none;
}


/* context menu du dev panel */
#contextMenu {
    color: black !important;
    font-family: Catamaran, serif;

    & ul {
        list-style: none;
    }
    & ul * {
        margin-left: 0;
    }
}

#devPannel {
    & ul {
        list-style: none;
    }
    & ul * {
        margin-left: 5px;
    }
}

/* ============================================================
   Cookie consent modal
   ============================================================ */
.cc-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: Catamaran, sans-serif;
}
.cc-overlay[hidden] { display: none !important; }
body.cc-open { overflow: hidden; }

.cc-modal {
    background: #fff;
    border-radius: 4px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    overflow: hidden;
}
.cc-modal[hidden] { display: none !important; }
.cc-modal-large { max-width: 1000px; }

.cc-header {
    padding: 22px 28px;
    border-bottom: 1px solid #e5e5e5;
}
.cc-header h2 {
    margin: 0;
    color: #2bb6ec;
    font-family: Catamaran, sans-serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
}

.cc-body {
    padding: 22px 28px;
    color: #6b6b6b;
    font-size: 15px;
    line-height: 1.55;
    overflow-y: auto;
}
.cc-body p { margin: 0 0 14px; }
.cc-body p:last-child { margin-bottom: 0; }

.cc-row {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid #f0f0f0;
}
.cc-row:first-of-type { border-top: 0; padding-top: 4px; }
.cc-row-text h3 {
    margin: 0 0 6px;
    color: #2bb6ec;
    font-family: Catamaran, sans-serif;
    font-weight: 700;
    font-size: 17px;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
}
.cc-row-text p { margin: 0; }

.cc-switch {
    position: relative;
    flex: 0 0 auto;
    width: 50px;
    height: 26px;
    display: inline-block;
    margin-top: 2px;
}
.cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cc-slider {
    position: absolute;
    inset: 0;
    background: #cfcfcf;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s;
}
.cc-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.cc-switch input:checked + .cc-slider { background: #2bb6ec; }
.cc-switch input:checked + .cc-slider::before { transform: translateX(24px); }
.cc-switch-locked .cc-slider { cursor: not-allowed; }

.cc-footer {
    padding: 18px 28px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.cc-btn {
    border: 0;
    color: #fff;
    padding: 10px 22px;
    font-family: Catamaran, sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: filter .2s;
}
.cc-btn:hover { filter: brightness(1.08); }
.cc-btn-essential { background: #6e7173; }
.cc-btn-choose    { background: #2bb6ec; }
.cc-btn-all       { background: #2faa3b; }

@media (max-width: 550px) {
    .cc-header, .cc-body, .cc-footer { padding-left: 18px; padding-right: 18px; }
    .cc-footer { justify-content: stretch; }
    .cc-btn { flex: 1 1 auto; }
}

