/* *** ************************** */
/* *** Global *** */
/* *** ************************ */


/* Temporaire */
.otgs-development-site-front-end {
  display: none;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 767px) {
  html {
    hyphens: auto;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3 {
  margin-block-start: 0;
  margin-block-end: 0;
}

p {
  margin-top: 0;
}

a {
  text-decoration: none;
}

.content-blocs {
  padding-top: 75px;
}

@media (min-width: 1280px) {
  .content-blocs {
    padding-top: 120px;
  }
}

input,
textarea,
button,
select,
a,
.cta-toggle {
  -webkit-tap-highlight-color: transparent;
}

/* *** ************************** */
/* *** Typography *** */
/* *** ************************ */
.h2-sm,
.txt-footer,
.navigation-header,
.h2-xs,
.txt-28 {
  font-size: 28px;
}

.h2-md {
  font-size: 32px;
  line-height: 1.25;
}

.h2-inter {
  font-size: 40px;
}

.h2-lg {
  font-size: 60px;
  line-height: 110%;
}

.txt-md {
  font-size: 22px;
}

.txt-sm,
.txt-20 {
  font-size: 20px;
}

.txt-s-mobile {
  font-size: 16px;
}

.txt-xs {
  font-size: 14px;
}

.lh-6 {
  line-height: 1.6;
}

@media(max-width: 1279px) {
  h1 {
    font-size: 36px;
  }

  .txt-footer,
  .navigation-header {
    font-size: 18px;
  }

  .h2-xs {
    font-size: 20px;
  }

  .h2-sm {
    font-size: 24px;
  }

  .h2-inter {
    font-size: 26px;
  }

  .h2-md {
    font-size: 22px;
  }

  .h2-lg {
    font-size: 36px;
  }

  .txt-md,
  .txt-sm {
    font-size: 16px;
  }

  .txt-s-mobile {
    font-size: 14px;
  }

}

.font-sackers {
  font-family: var(--wp--preset--font-family--sackers-gothic-std);
  letter-spacing: -0.08em;
}

.font-instrument {
  font-family: var(--wp--preset--font-family--instrument-sans);
}

.font-instrument-serif {
  font-family: var(--wp--preset--font-family--instrument-serif);
  letter-spacing: 0;
}

/* *** ************************** */
/* *** Classes réutilisables *** */
/* *** ************************ */
.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.bg-white,
.color-white {
  background-color: #fff;
}

.txt-white {
  color: var(--wp--preset--color--custom-light);
}

.txt-grey {
  color: var(--wp--preset--color--custom-grey);
}

.bg-dark {
  background-color: var(--wp--preset--color--custom-dark)
}

.bg-grey {
  background-color: #0f0f0f;
}

.color-black {
  background-color: #000;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.row-reverse {
  flex-direction: row-reverse;
}

.flex-col {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.self-start {
  align-self: flex-start;
}

.self-center {
  align-self: flex-center;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.gap-20 {
  gap: 20px;
}

.gap-24 {
  gap: 24px;
}

.gap-32 {
  gap: 32px;
}

.gap-48 {
  gap: 48px;
}

.gap-80 {
  gap: 80px !important;
}

.row-gap-32 {
  row-gap: 32px;
}

.row-gap-24 {
  row-gap: 24px;
}

.mt-auto {
  margin-top: auto;
}

.mt-2r {
  margin-top: 2rem;
}

.m-0 {
  margin: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2r {
  margin-bottom: 2rem;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-1r {
  margin-bottom: 1rem;
}

.link-underline a {
  text-decoration: underline;
}

.lh-1 {
  line-height: 1;
}

.h-full {
  height: 100%;
}

.uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

@media (max-width: 1279px) {
  .text-mobile-center {
    text-align: center;
  }

  .justify-center-mobile {
    justify-content: center;
  }
}

.border-none {
  border: none;
}


.credit-txt {
  color: var(--wp--preset--color--custom-grey);
  font-size: 12px;
  margin-top: 1rem;
}

.relative {
  position: relative;
}

.cursor-pointer {
  cursor: pointer;
}

.box-border {
  box-sizing: border-box;
}

.w-50 {
  width: 50%;
}

@media (max-width: 1279px) {
  /* .flex-desktop {
    display: flex;
    gap: 20px;
    flex-direction: column;
  } */
}


@media (min-width: 1280px) {
  .flex-desktop {
    display: flex;
    gap: 10px;
  }

  .grid-desktop {
    display: grid;
  }

  .w-50-desktop {
    width: 50%;
  }

  .w-1-3-desktop {
    width: 33.333333%;
  }

  .w-2-3-desktop {
    width: 66.666667%;
  }

  .sticky {
    position: sticky;
    top: 120px;
    height: fit-content;
  }

  .admin-bar .sticky {
    top: 152px;
  }

  .hidden-desktop {
    display: none !important;
  }
}

@media (max-width: 1279px) {
  .credit-txt {
    color: var(--wp--preset--color--custom-grey);
    font-size: 10px;
  }

  .hidden-mobile {
    display: none !important;
  }

  .basis-auto-mobile {
    flex-basis: auto !important;
  }
}

.scale-on-hover {
  overflow: hidden !important;
}

@media (min-width: 1280px) {
  .scale-on-hover:hover img {
    transform: scale(1.1);
  }

  .scale-on-hover img {
    transition: all .1s linear 0.05s !important;
    transform: scale(1);
  }
}

@media (max-width: 1279px) {
  .scale-on-hover img {
    transition: all .1s linear 0.05s !important;
    transform: scale(1);
  }

  .scale-on-hover img.is-scaled {
    transform: scale(1.1);
  }
}


/* *** ************************** */
/* *** invert color animation *** */
/* *** ************************ */
.bg-scrolled {
  transition: background-color .5s ease;
}

.invert.scrolled-background {
  animation: colorChange 2s forwards;
  color: #fff;
}

.invert.scrolled-background a:not(.button) {
  color: #fff;
}

@keyframes colorChange {
  0% {
    background-color: white;
    /* Couleur de fond initiale */
  }

  50% {
    background-color: rgba(0, 0, 0, 0.9);
    /* Couleur intermédiaire */
  }

  100% {
    background-color: #000000;
    /* Couleur de fond finale */
  }
}

.invert.scrolled-background svg {
  filter: invert(1);
}

/* *** ************************** */
/* *** Layout *** */
/* *** ************************ */
.layout-pad-small-x,
.layout-pad-x,
.layout-pad-big-x {
  margin-left: 16px;
  margin-right: 16px;
}

.layout-pad-small-y {
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 0;
  margin-bottom: 0;
}

.layout-pad-med-y,
.layout-pad-y-single {
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 0;
  margin-bottom: 0;
}

.layout-pad-y,
.layout-pad-inter-y,
.layout-pad-md-y {
  padding-top: 64px;
  padding-bottom: 64px;
  margin-top: 0;
  margin-bottom: 0;
}

.pt-small,
.pt-medium,
.pt-medium-xx {
  padding-top: 32px;
}

.mb-medium-xx {
  margin-bottom: 32px;
}

.pb-medium-xx,
.pb-small {
  padding-bottom: 32px;
}

.pt-small-xx {
  padding-top: 24px;
}

.pb-small-xx {
  padding-bottom: 24px;
}

.pt-big {
  padding-top: 64px;
}

.pb-big {
  padding-bottom: 64px;
}

.pb-xxl {
  padding-bottom: 120px;
}

@media (min-width: 1280px) {

  .layout-pad-x,
  .layout-pad-x-desktop {
    margin-left: 32px;
    margin-right: 32px;
  }

  .layout-pad-small-x {
    margin-left: 32px;
    margin-right: 32px;
  }

  .layout-pad-x,
  .layout-pad-x-desktop {
    margin-left: 64px;
    margin-right: 64px;
  }

  .layout-pad-big-x {
    margin-left: 175px !important;
    margin-right: 175px !important;
  }

  .layout-pad-small-y {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .layout-pad-med-y {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .layout-pad-md-y {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .layout-pad-inter-y {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .layout-pad-y,
  .layout-pad-y-single {
    padding-top: 140px;
    padding-bottom: 140px;
  }

  .pt-small {
    padding-top: 64px;
  }

  .pb-small {
    padding-bottom: 64px;
  }

  .pt-small-xx {
    padding-top: 42px;
  }

  .pb-small-xx {
    padding-bottom: 42px;
  }

  .pt-medium-xx {
    padding-top: 56px;
  }

  .mb-medium-xx {
    margin-bottom: 56px;
  }

  .pb-medium-xx {
    padding-bottom: 56px;
  }

  .pt-medium {
    padding-top: 80px;
  }

  .pt-big {
    padding-top: 140px;
  }

  .pb-big {
    padding-bottom: 140px;
  }
}

/* *** ************************** */
/* *** Override media query blocks gutenberg *** */
/* *** ************************ */
@media (max-width: 1279px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 100% !important;
  }

  .wp-block-columns {
    flex-wrap: wrap !important;
  }
}

.wp-block-column.is-vertically-aligned-center {
  width: auto !important
}

/* *** ************************** */
/* *** buttons *** */
/* *** ************************ */
.button {
  padding: 0 16px;
  /* transition: .5s; */
  display: inline-flex;
  text-decoration: none;
  font-size: 14px;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: background-color 0.4s ease-in-out;
  height: 48px;
  line-height: 48px;
  box-sizing: border-box;
  cursor: pointer;
}

.button--xs {
  height: 40px;
  line-height: 40px;
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.4s ease-in-out;
}

.button:hover .text-wrapper {
  transform: translateY(-100%);
}

.button-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
}

.button:hover svg,
.invert.scrolled-background .button-light:hover svg {
  filter: invert(1);
}

.invert.scrolled-background .button-dark:hover svg {
  filter: invert(0)
}

.invert.scrolled-background .button-light svg {
  filter: invert(0);
}

.button-dark {
  background: var(--wp--preset--color--custom-dark);
  border: 1px solid var(--wp--preset--color--custom-dark);
  color: var(--wp--preset--color--custom-light);
}

.button-dark .cta-icon path {
  fill: var(--wp--preset--color--custom-light);
}

.button-dark:hover {
  background: transparent;
  color: var(--wp--preset--color--custom-dark);
}

.button-light,
.invert .button-dark {
  background: var(--wp--preset--color--custom-light);
  border: 1px solid var(--wp--preset--color--custom-dark);
  color: var(--wp--preset--color--custom-dark);
}

.button-light:hover {
  background: var(--wp--preset--color--custom-dark);
  color: var(--wp--preset--color--custom-light);
  border: 1px solid var(--wp--preset--color--custom-dark);
}

.button-light:hover,
.invert .button-dark:hover {
  background: var(--wp--preset--color--custom-dark);
  color: var(--wp--preset--color--custom-light);
  border: 1px solid var(--wp--preset--color--custom-light);
}

/* ***********
Grid Layout
*********** */
.grid {
  display: grid;
}

@media (max-width: 1279px) {
  .grid-3-desktop {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 24px;
  }
}

@media (min-width: 1280px) {
  .grid-3-desktop {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 40px;
  }
}

/* ******
Pagination
************ */
.pagination-custom {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.pagination-custom .page-numbers {
  color: var(--wp--preset--color--custom-dark);
  display: flex;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: justify;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 22.4px */
  border-radius: 50%;
}

.pagination-custom .current {
  color: var(--wp--preset--color--custom-light);
  background-color: var(--wp--preset--color--custom-dark);
  ;
}

.pagination-custom .next,
.pagination-custom .prev {
  width: auto;
}