/* CUSTOMIZE THE GLOBAL STYLES
-------------------------------------------------- */

*, 
*::before,
*::after { 
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --deep:    #090f09;
    --forest:  #182318;
    --canopy:  #243d1e;
    --moss:    #4a7c3f;
    --sage:    #8aab7a;
    --bark:    #5c3d1e;
    --cream:   #ede8d8;
    --parch:   #d6ccb4;
    --amber:   #c48a3a;
    --muted:   #6b7c65;
    --light-bg:#eee8d5;
    --light-2: #e4ddc8;
}
html {
    -webkit-text-size-adjust: 100%;
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

body {
    background: var(--deep);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none; 
}
html, body {
    margin: 0;
    padding: 0;
    max-width: 100vw;
}
a {
    text-decoration: none;
    color: var(--cream);
    transition: all ease .5s;
}
a:hover {
    color: var(--sage);
}
main a {
    border-bottom: 1px solid var(--sage);
}
main a:hover {
    border-bottom: 1px solid var(--cream);
}
a,
a:focus,
a:hover,
a:active {
    outline: none;
}
figure {
	margin: 0;
}
img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

#progressBar {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 300;
  pointer-events: none;
}
#cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
#cursorFollower {
  position: fixed;
  width: 34px; height: 34px;
  border: 1px solid rgba(138,171,122,.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

/* FORMS
-------------------------------------------------- */

/* HEADER
-------------------------------------------------- */

a#top {
    position: absolute;
    margin-top: -1px;
}
.siteHeader {
    position: fixed;
    z-index: 10;
    top: 0; 
    left: 0;
    right: 0;
    bottom: auto;
    height: 120px;
    transition: all ease .5s;
}
.persistent .siteHeader {
    height: 100px;
    background-color: var(--deep);
}
.headerLogo {
    width: auto;
    max-width: 35vw;
    max-height: 100px;
    position: absolute;
    z-index: 3;
    top: 30px;
    left: 20px;
    transition: all ease .7s;
}
.persistent .headerLogo {
    max-height: 60px;
    max-width: 25vw;
    top: 10px;
}
@media (min-width: 700px) {
    .headerLogo {
        max-width: 20vw;
    }
    .persistent .headerLogo {
        max-width: 12vw;
    }
}
@media (min-width: 900px) {
    .headerLogo {
        max-width: 14vw;
    }
    .persistent .headerLogo {
        max-width: 8vw;
    }
}
.headerLogo a,
.headerLogo a:hover,
.headerLogo a:visited {
    line-height: 60px;
}
.persistent .headerLogo a,
.persistent .headerLogo a:hover,
.persistent .headerLogo a:visited {
    line-height: 40px;
}

/* Header Menu */
.mainNav {
    display: none;
    padding: 80px 40px;
    width: 100%;
    height: auto;
    max-height: 100vh;
    position: absolute;
    z-index: 4;
    background-color: var(--deep);
    transition: all ease .5s;
}
.mainNav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.mainNav ul li {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
}
.mainNav ul li a {
    display: block;
    position: relative;
    padding: 0 1em 0 .3em;
    line-height: 40px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--cream);
    transition: all ease .5s;
}
.mainNav ul li a:hover {
    color: #fff;
}
.mainNav ul li.menu-item-has-children a span.navArrow {
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-left: .35em;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s;
    opacity: .5;
    flex-shrink: 0;
}
.mainNav ul li.menu-item-has-children a:hover span.navArrow {
    transform: rotate(225deg) translateY(-2px);
    opacity: 1;
}

/* Sub Menu */
.mainNav ul li ul.sub-menu {
    background-color: var(--deep);
    padding: 20px;
}

/* Mobile Menu */
.mobileMenuTrigger,
.mobileMenuClose {
    position: fixed;
    z-index: 2;
    top: 30px;
    right: 40px;
    line-height: 60px;
    cursor: pointer;
    display: inline-block;
    transition: all ease .5s;
}
.persistent .mobileMenuTrigger {
    top: 0;
}
.mobileMenuClose {
    z-index: 6;
    top: 0;
}
.mobileMenuTrigger span,
.mobileMenuClose span {
    padding: 5px 10px;
    border: 1px solid var(--amber);
    transition: all ease .5s;
}
.mobileMenuTrigger:hover span,
.mobileMenuClose:hover span {
    background-color: var(--peach);
    color: #fff;
}
.mainNav ul li ul.sub-menu li a span.menuSub {
    display: none;
}

@media (min-width: 1000px) {
  .mobileMenuTrigger,
  .mobileMenuClose {
    display: none;
  }
  .mainNav {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      padding: 20px;
      margin-top: 30px;
      max-height: none;
      background-color: transparent;
      transition: all ease .5s;
  }
  .persistent .mainNav {
      margin-top: 15px;
  }
  .mainNav ul li {
      display: inline-block;
  }
  .mainNav ul li ul.sub-menu {
      display: none;
      position: absolute;
      top: 99%;
      left: 0;
      min-width: 26vw;
      height: auto;
      border: 1px solid rgba(255,255,255,.25);
      opacity: 0;
      pointer-events: none;
      transform: translateX(-30%) translateY(-4px);
      transition: opacity .22s ease, transform .5s ease;
  }
  .mainNav ul li:hover > ul.sub-menu {
      display: block;
      opacity: 1;
      pointer-events: auto;
      transform: translateX(-30%) translateY(0);
  }
    .mainNav ul li ul.sub-menu li {
      display: block;
  }
    .mainNav ul li ul.sub-menu li a {
      line-height: 1.5em;
      letter-spacing: normal;
      text-transform: none;
      padding: 0 0 1em 0;
      color: var(--parch);
      transition: all ease .5s;
  }
    .mainNav ul li ul.sub-menu li a span.menuSub {
      font-style: italic;
      font-weight: 300;
      color: var(--sage);
      display: block;
      transition: all ease .5s;
  }
  .mainNav ul li ul.sub-menu li a:hover,
  .mainNav ul li ul.sub-menu li a:hover span.menuSub {
      color: #fff;
  }
  /* Link Menu Contact */
    li.contactLinkMenu a {
        margin-left: .75rem;
        padding: 0 1.3rem !important;
        border: 1px solid rgba(196,138,58,.45);
        background-color: rgba(0,0,0,.4);
        color: var(--amber) !important;
        transition: background .3s, border-color .3s !important;
    }
    li.contactLinkMenu a:hover {
        background-color: rgba(196,138,58,.1) !important;
        border-color: var(--amber) !important;
        color: var(--amber) !important;
    }
}


/* FOOTER
-------------------------------------------------- */

.siteFooter {
    height: 0;
}
/* subFooter */
.subFooter {
    display: flex;
    background-color: var(--deep);
    color: var(--cream);
}
/* Bottom Nav */
.bottomNav {
    font-size: .9rem;
    padding: 0 100px 0 40px;
    line-height: 40px;
    height: 40px;
}
.bottomNav nav {
    display: inline-block;
    padding-right: 20px;
}
.bottomNav nav li {
    display: inline-block;
}
.bottomNav nav li a {
    margin-right: 10px;
    border-bottom: 1px solid rgba(255,255,255,.25);
}
.bottomNav nav li a:hover {
    border-bottom: 1px solid var(--cream);
    color: #fff;
}
.bottomNav nav li:last-child a {
    margin-right: 0;
}
@media (max-width: 800px) {
    .bottomNav nav {
        display: none;
    }
}

/* Copyright */
.refDYD,
.copyright {
    font-size: .7rem;
}

/* PAGE
-------------------------------------------------- */

/* PARALLAX SECTION BASE  */
.prlSection {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  display: flex;
  align-items: center;
}

.prlBg,
.prlMid,
.prlDeco {
  position: absolute;
  inset: -20% 0;
  width: 100%;
  will-change: transform;
}

.prlBg {
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.prlMid {
  z-index: 1;
  pointer-events: none;
}

.prlDeco {
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.prlContent {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 10rem 3rem 6rem;
}

/* Lists Hack */
ul.wp-block-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
ul.wp-block-list li {
    padding-left: 1.7em;
    padding-bottom: 0.8em;
    line-height: 1.4em;
    text-indent: -1.6em;
}
ul.wp-block-list li li {
    padding-bottom: 0.25em;
}
ul.wp-block-list li:before {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    content: "\f00c";
    color: var(--muted);
    padding-right: 0.5em;
    font-size: 1.2em;
    position: relative;
}
ul.wp-block-list  li li:before {
    color: var(--parch);
    font-size: 1em;
}
ol.wp-block-list {
  list-style: none;
  counter-reset: my-counter;
  padding: 0;
}

ol.wp-block-list li {
  counter-increment: my-counter;
  margin-bottom: 10px;
}

ol.wp-block-list li::before {
  content: counter(my-counter) "-";
  font-weight: bold;
  color: var(--color-muted);
  margin-right: 10px;
  text-align: right;
  display: inline-block;
}

/* Albums tweaks */
.wp-block-image,
.wp-block-media-text__media {
    /*overflow: hidden;*/
    position: relative;
}
.wp-block-image a,
.wp-block-media-text__media a {
    border: 1px solid var(--cream);
}
.wp-block-image a .overAlbumImg,
.wp-block-media-text__media a .overAlbumImg {
    position: absolute;
    z-index: 1;
    text-align: center;
    left: 40%;
    top: 40%;
    right: 40%;
    bottom: 40%;
    opacity: 0;
    background-color: rgba(36,61,30,0.5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: all ease .5s;
}
.wp-block-image a:hover .overAlbumImg,
.wp-block-media-text__media a:hover .overAlbumImg {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}
.wp-block-image a .overAlbumImg span,
.wp-block-media-text__media a .overAlbumImg span {
    position: absolute;
    bottom: 50%;
    right: 50%;
    opacity: 0;
    transition: all ease .75s;
}
.wp-block-image a .overAlbumImg span i,
.wp-block-media-text__media a .overAlbumImg span i {
    color: var(--cream);
}
.wp-block-image a:hover .overAlbumImg span,
.wp-block-media-text__media a:hover .overAlbumImg span {
    opacity: 1;
}

/* Blocks additional styles */
.blurryBox {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,.5);
}

/* HOME PAGE
-------------------------------------------------- */

/* SINGLE
-------------------------------------------------- */

/* ARCHIVES
-------------------------------------------------- */

/* ANIMATIONS ENTREE
-------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

/* État initial éléments hero (gérés par heroTl) */
#hero .heroEyebrow,
#hero .heroHeadline,
#hero .heroDesc {
  opacity: 0;
}


