html {
  // width: 100%;
  // height: 100%;
}
body {
  padding: 0 !important;
  min-height: 100vh;
  leading-trim: both;
  text-edge: cap;
  // max-width: 100vw;
  > .global {
    min-height: 100vh;
  }
  // @screen xl {
  //   padding-bottom: 49px !important;
  // }
}

a {
  color: inherit;
  transition: all 0.3s ease;
}

em,
i {
  font-style: italic;
}
#main,
#main-content,
.main-content {
  padding-top: 80px;
  @screen md {
    padding-top: 80px;

    &.pleinelargeur {
      padding-top: 120px;
      padding-bottom: 120px;
    }
  }
}

// #main {
//   padding-bottom: 80px;
// }

.v2 {
  @apply relative body-text text-black;

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .main {
    @screen md {
      min-height: calc(100vh - 130px);
    }
  }
}

.link-gold {
  a {
    @apply text-gold relative;
    background-image: linear-gradient(#caa165, #caa165);
    background-size: 0% 1px; /* démarre à 0 */
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.3s ease-in-out;
    &:hover {
      background-size: 100% 1px; /* s’étend sur toute la largeur du texte */
    }
  }
}

.body-text {
  @apply font-body text-sm lg:text-[17px] leading-[160%] lg:leading-[160%] font-light lg:font-normal;
}
.heading-text {
  @apply font-heading font-normal uppercase leading-loose tracking-widest;
}

.heading-section {
  @apply leading-10 tracking-widest text-center text-xl md:text-3xl xl:text-[45px] font-heading font-medium uppercase;
}

.new-section-title {
  @apply heading-text text-center text-[19px] md:text-[23px] uppercase mb-6 md:mb-14 leading-[170%] md:leading-normal md:tracking-widest;
}

.single-post .new-section-title {
  &.text-left {
    text-align: left !important;
  }
  &.md:text-center {
    @screen md {
      text-align: center !important;
    }
  }
}

.page-title {
  @apply heading-text text-center text-base md:text-[32px] tracking-[3px] relative z-10;
  &--strong {
    @apply text-[26px] md:text-[67px] leading-10 lowercase flex flex-col gap-0;
  }
}
.layer {
  @apply absolute top-0 left-0 w-full h-full;
}
.flexible p:not(:last-child) {
  margin-bottom: 30px;
}

.text-balance {
  text-wrap: balance;
}
.text-pretty {
  text-wrap: pretty;
}
.flexible {
  .content {
    ul {
      list-style: '・';
      margin: 0 0 30px 20px;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
  }
}

.abs_center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.bg-full {
  @apply absolute w-full h-full top-0 left-0 z-0;
}

.section-container {
  @apply container relative mx-auto py-14 md:py-24 md:pb-28;
}

.btn {
  @apply text-center font-heading font-medium uppercase;
}

a.sensor {
  &:before {
    content:'';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
  }
}