:root {
  /* Color Palette */
  --primary-color: #231f20; /* Dark color */
  --secondary-color: #ffffff; /* White */
  --accent-color-teal: #92b4a6; /* Teal */
  --accent-color-coral: #eb7957; /* Coral */
  --accent-color-orange: #f6a24c; /* Orange */
  --heading-color: rgba(35, 31, 32, 1);

  /* Font Sizes */
  --font-size-base: 16px;
  --font-size-heading-1: 5rem; /* H1 */
  --font-size-heading-2: 4rem; /* H2 */
  --font-size-heading-3: 3rem; /* H3 */
  --font-size-heading-4: 2rem; /* H4 */
  --font-size-heading-5: 1.5625rem; /* H5 */
  --font-size-body: 1.5rem; /* Body Text */
  --font-size-small: 1.125rem;

  /* Font Families */
  --font-family-primary: "Outfit", sans-serif;
  --font-family-secondary: "Gabarito", sans-serif;

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 800;

  /* Spacing and Layout */
  --line-height-regular: 1.4;
  --line-height-heading: 1;
  --line-height-subheading: 1.2;
  --letter-spacing-tight: -0.1em;
  --letter-spacing-normal: 0em;
  --letter-spacing-medium: 0.05em;
  --letter-spacing-wide: 0.15em;

  /* Border Radius */
  --border-radius: 0.5rem;

  /* Other */
  --bs-link-color: inherit;
  --bs-link-hover-color: inherit;
  --content-width: 900px;

  --plyr-color-main: var(--accent-color-coral);
  --plyr-control-spacing: 20px;
}

::placeholder {
  font-size: var(--font-size-small);
  color: var(--primary-color);
  letter-spacing: var(--letter-spacing-wide);
  padding-left: 0;
}

::-webkit-input-placeholder {
  font-size: var(--font-size-small);
  color: var(--primary-color);
  letter-spacing: var(--letter-spacing-wide);
  padding-left: 0;
}

:-moz-placeholder {
  font-size: var(--font-size-small);
  color: var(--primary-color);
  letter-spacing: var(--letter-spacing-wide);
  padding-left: 0;
}

::-moz-placeholder {
  font-size: var(--font-size-small);
  color: var(--primary-color);
  letter-spacing: var(--letter-spacing-wide);
  padding-left: 0;
}

:-ms-input-placeholder {
  font-size: var(--font-size-small);
  color: var(--primary-color);
  letter-spacing: var(--letter-spacing-wide);
  padding-left: 0;
}

html.lenis,
html.lenis body {
  height: auto;
}

section.bg-black {
  color: white;
}

.section-image-full .featured-image img {
  width: 100%;
}


.gchoice label.gform-field-label {
  display: inline !important;
}

body section.bg-black {
  background-color: var(--primary-color)!important;
}

body .gform_wrapper.gravity-theme .gfield_error [aria-invalid="true"] {
  border-color: #c02b0a!important;
}

body .gform_wrapper.gravity-theme .gform_validation_errors {
  padding: 20px;
}

body .gform-icon.gform-icon--circle-error {
  display:none!important;
}

body .gform_wrapper.gravity-theme .gfield_label {
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
  letter-spacing:  2.7px;
  padding: 0;
}

body .gform_wrapper.gravity-theme .gfield_checkbox label, .gform_wrapper.gravity-theme .gfield_radio label {
  font-size: 18px;
  letter-spacing: normal;
  font-weight: 400;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.plyr--video.plyr--stopped .plyr__controls,
.plyr--video.plyr--paused .plyr__controls {
  opacity: 0;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-body);
  color: var(--primary-color);
  line-height: var(--line-height-regular);
  cursor: none;
}

body.fullscreen-active {
  cursor: default;
}

body.fullscreen-active #kenoa-cursor {
  display: none;
}

body.menu-active {
  overflow: hidden;
}

footer .social-icons i {
  font-size: 32px;
}

footer .social-icons i.fa-instagram {
  font-size: 48px;
}

#kenoa-cursor {
  position: fixed;
  z-index: 99999;
  width: 20px;
  height: 20px;
  pointer-events: none;
  mix-blend-mode: exclusion;
  top: 0;
  left: 0;
  visibility: hidden;
  transform-origin: top left;
}

#kenoa-cursor .kenoa-cursor-inner {
  position: relative;
  background-color: #fff;
  border-radius: 50%;
  height: 100%;
  width: 100%;
  /* top: 50%;
  left: 50%; */
  transform: translate(-50%, -50%);
}

a:not(.btn),
a:not(.btn):hover,
a:not(.btn):active,
a:not(.btn):focus,
a:not(.btn):visited {
  color: inherit;
  text-decoration: none;
}

a,
.btn,
[role="button"] {
  cursor: none !important;
}

img {
  max-width: 100%;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.35em;
  line-height: var(--line-height-heading);
  font-weight: 600;
}

h1,
h2 {
  font-family: var(--font-family-secondary);
}

h1 {
  font-size: var(--font-size-heading-1);
  font-weight: var(--font-weight-extra-bold);
  /* letter-spacing: var(--letter-spacing-tight); */
}

h2 {
  font-size: var(--font-size-heading-2);
  font-weight: var(--font-weight-extra-bold);
  /* letter-spacing: var(--letter-spacing-tight); */
}

h3 {
  font-size: var(--font-size-heading-3);
}

h4 {
  font-size: var(--font-size-heading-4);
}

h5,
.h5 {
  font-size: var(--font-size-heading-5);
}

h6,
.h6 {
  font-size: var(--font-size-body);
}

button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-body);
}

.has-primary-bg {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.has-primary-bg .heading .char {
  background-image: linear-gradient(
    to right,
    var(--secondary-color) 50%,
    rgba(255, 255, 255, 0) 50%
  );
}

.subheading {
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  font-weight: 500;
  line-height: var(--line-height-subheading);
}

.heading .char {
  background: linear-gradient(
    to right,
    var(--heading-color) 50%,
    rgba(255, 255, 255, 0) 50%
  );
  background-size: 200% 100%;
  background-position-x: 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  line-height: 1.05em;
}

.text {
  text-align: justify;
}

.info .maxbutton {
  margin-top: 0.5rem;
}

.row {
  --bs-gutter-x: 2rem;
}

.row.row-large {
  --bs-gutter-x: 4rem;
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000;
  opacity: 0.35;
}

img.rounded,
.video-wrapper .plyr--video {
  border-radius: 50px !important;
}

.site-header {
  color: var(--secondary-color);
  background: linear-gradient(to bottom, rgb(0 0 0 / 50%), rgb(0 0 0 / 0%));
  transition: background-color 0.3s ease;
}

body.no-hero .site-header,
body.page-template-page-tpl-contact .site-header,
body.page-template-page-tpl-nohero .site-header,
body.error404 .site-header{
  background-color: rgba(0, 0, 0, 0.7);
}

.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.7);
  font-size: var(--font-size-small);
}

body.menu-active .site-header {
  background-color: var(--secondary-color) !important;
}

.site-header .nav {
  margin-left: auto;
  align-items: center;
}

.site-header .nav .menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-right: calc(var(--bs-nav-link-padding-x) * 2);
}

.site-header .nav .menu-item:not(.wpml-ls-menu-item) {
  position: relative;
  letter-spacing: var(--letter-spacing-wide);
}

.site-header .nav .menu-item:not(.wpml-ls-menu-item)::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: url(../images/picto-4-w.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  top: -12px;
  right: var(--bs-nav-link-padding-x);
  visibility: hidden;
  transform: scale(0);
  transition: all 0.25s ease-in-out;
}

.site-header.scrolled .nav .menu-item:not(.wpml-ls-menu-item)::before {
  width: 16px;
  height: 16px;
  top: -6px;
}

.site-header .nav .menu-item:not(.wpml-ls-menu-item).menu-item-active::before,
.site-header .nav .menu-item:not(.wpml-ls-menu-item):hover::before,
.site-header .nav .menu-item:not(.wpml-ls-menu-item).current-menu-item::before {
  transform: scale(1);
  visibility: visible;
}

.site-header .nav .menu-item:not(.wpml-ls-menu-item) a {
  transition: all 0.25s linear;
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  background: 0 0;
  border: 0;
}


.site-header .navbar-brand img,
.site-header .navbar-brand svg {
  width: 180px;
  transition: width 0.3s ease;
}

.site-header .navbar-brand svg path,
.site-header .navbar-brand svg polygon {
  fill: var(--secondary-color) !important;
}

body.menu-active .site-header .navbar-brand svg path,
body.menu-active .site-header .navbar-brand svg polygon {
  fill: var(--primary-color) !important;
}

.site-header.scrolled .navbar-brand img,
.site-header.scrolled .navbar-brand svg {
  width: 100px;
}

/* .language-switcher {
  position: relative;
  --border-width: 4px;
  --padding-x: 20px;
}

.language-switcher ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  padding-top: calc(var(--border-width) + 5px);
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.35s linear;
}

.language-switcher:hover ul {
  max-height: 100px;
}

.language-switcher ul li {
  padding-left: calc(var(--padding-x) + var(--border-width));
  padding-right: calc(var(--padding-x) + var(--border-width));
}

.language-switcher span {
  display: block;
  padding: 7px var(--padding-x);
  border: var(--border-width) solid;
  border-radius: 30px;
} */

.language-switcher {
  position: relative;
  padding: 7px 20px;
  border: 4px solid;
  border-radius: 30px;
  display: inline-flex;
  gap: 15px;
  align-items: center;
  border-color: transparent;
}

.language-switcher > span {
  visibility: hidden;
}

.language-switcher:hover {
  border-color: transparent;
}

.wpml-ls-item.wpml-ls-current-language{
  order: 1 !important;
  opacity: 1;
}

.wpml-ls-item {
  order: 2 !important;
}

.language-switcher:hover > span {
  visibility: hidden;
}

.language-switcher ul {
  padding: 7px 20px;
  border: 4px solid;
  border-radius: 30px;
  position: absolute;
  list-style: none;
  margin: 0;
  display: flex;
  overflow: hidden;
  left: -4px;
  max-width: calc(100% + 8px);
  column-gap: 15px;
  transition: max-width 0.3s linear;
}

.language-switcher ul li {
  opacity: 0;
  transition: opacity 0.3s linear;
}

.language-switcher:hover ul {
  opacity: 1;
  max-width: 200%;
}

.language-switcher:hover ul li {
  opacity: 1;
}

/* .site-main {
  padding-bottom: 100px;
} */

body.no-hero .site-main,
body.page-template-page-tpl-contact .site-main,
body.page-template-page-tpl-nohero .site-main,
body.error404 .site-main {
  padding-top: 100px;
}

.section,
.section-content {
  position: relative;
}


.section:not(.section-hero, .section-image-full) {
  padding: 100px 0;
  margin: 0 auto;
}

.section.no-space {
  padding-top: 100px;
  padding-bottom: 0;
}

/* .section:not(.section-hero) .section-content {
  visibility: hidden;
} */

.section-hero {
  height: 100vh;
  height: 100svh;
  color: var(--secondary-color);
}

.section-hero .section-content {
  display: flex;
  height: 100%;
  align-items: center;
}

.section-hero .swiper,
.section-hero .swiper-wrapper,
.section-hero .swiper-slide {
  height: 100%;
}

.section-hero .swiper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.section-hero .swiper-slide img,
.section-hero .swiper-slide video,
.section-hero .swiper-slide iframe {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

.section-hero .hero-content {
  max-width: 760px;
}

.section-hero .text {
  text-align: justify;
}

.section-hero .heading {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  font-size: clamp(var(--font-size-heading-2), 11vh, calc(var(--font-size-heading-2) * 1.5));
}

.section-hero .heading .rolling-word .swiper-slide:not(.swiper-slide-active) {
  text-shadow: none;
}

.section:not(.section-hero) .heading {
  margin-bottom: 0.75em;
}

.section-hero .heading > * {
  vertical-align: middle;
}

.rolling-word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  height: 1.05em;
  transform: translateY(0.02em);
}

.rolling-word .swiper {
  position: relative;
  top: auto;
  display: inline-block;
  transition: width 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

.rolling-word .swiper .swiper-wrapper {
  flex-direction: column;
}

.rolling-word .swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.rolling-word .swiper .swiper-slide span {
  display: inline-block;
  white-space: preserve nowrap
}

.scrolldown {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px 0;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  visibility: hidden;
}

.scrolldown::after {
  content: "";
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto;
  background: url(../images/scroll.svg) no-repeat center;
  background-size: contain;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0); /* Starting position */
  }
  40% {
    transform: translateY(-10px); /* Upward movement */
  }
  60% {
    transform: translateY(-5px); /* Small bounce up */
  }
}

.section-team .wrapper-section,
.section-text-picto .wrapper-section {
  max-width: 1920px;
  margin: auto;
}

.section-text-picto .picto {
  position: absolute;
  right: 0;
  width: 40%;
  top: 50%;
  bottom: 0;
  transform: translateY(-50%);
  overflow: hidden;
  z-index: -1;
}

.section-text-picto.picto-bottom-left .picto,
.section-text-picto.picto-bottom-right .picto {
  bottom: 0;
  top: auto;
  transform: none;
  width: 20%;
  max-width: 380px;
  position: relative;
  display: flex;
}

.section-text-picto.picto-bottom-left.picto-absolute .picto,
.section-text-picto.picto-bottom-right.picto-absolute .picto {
  position: absolute;
}

.section-text-picto.picto-bottom-left.picto-absolute .picto {
  left: 0;
  right: auto;
}

.section-text-picto.picto-bottom-right.picto-absolute .picto {
  left: auto;
  right: 0;
}

.section-text-picto.picto-bottom-right .picto {
  margin-left: auto;
}

.section-text-picto .picto img:first-child {
  transform: translateX(24%);
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

.section-text-picto.picto-bottom-left .picto img:first-child {
  transform: translateX(-30%);
}

.section-text-picto.picto-bottom-right .picto img:first-child {
  transform: translateX(30%);
}

.links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.link,
.btn {
  font-size: var(--font-size-heading-5);
  font-weight: 500;
  text-decoration: none !important;
  line-height: 1;
  letter-spacing: var(--letter-spacing-medium);
  text-align: left;
  position: relative;
  transition: all 0.25s linear;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.link.reverse,
.btn.reverse {
  flex-direction: row-reverse;
}

.btn {
  border: 4px solid var(--primary-color);
  border-radius: 30px;
  padding: 0.5em 0.75em;
}

.btn.dark {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-primary {
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-bg: var(--secondary-color);
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-btn-disabled-bg: var(--primary-color);
  --bs-btn-disabled-border-color: var(--primary-color);
  color: var(--secondary-color);
}

.btn-secondary {
  --bs-btn-bg: var(--secondary-color);
  --bs-btn-hover-bg: var(--primary-color);
  --bs-btn-active-bg: var(--secondary-color);
  --bs-btn-disabled-bg: var(--secondary-color);
  --bs-btn-hover-color: var(--secondary-color);
  color: black;
}

.link::before,
.btn::before {
  content: "";
  width: 22px;
  height: 22px;
  display: inline-block;
  background: url(../images/picto-4.png) no-repeat center;
  background-size: contain;
  transition: all 0.25s linear;
}


.link:hover::before,
.btn:hover::before {
  transform: rotate(90deg);
}

.link.dark::before,
.btn.dark::before,
.has-primary-bg .link::before,
.has-primary-bg .btn::before  {
  background-image: url(../images/picto-4-w.svg);
}

.btn-primary::before {
  background-image: url(../images/picto-4-w.svg);
}

.btn-primary:hover:before {
  background-image: url(../images/picto-4.svg);
}

.btn-secondary:hover:before {
  background-image: url(../images/picto-4-w.svg);
}

.link::before {
  left: 0;
}

.btn::before {
  left: 16px;
}

.swiper-carousel {
  opacity: 0;
}

.swiper-carousel.swiper-initialized {
  opacity: 1;
}

.section-carousel .swiper,
.section-carousel_custom .swiper,
.section-carousel-articles .swiper {
  padding-bottom: 60px;
  --swiper-pagination-bottom: 15px;
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-color: var(--accent-color-coral);
  --swiper-pagination-bullet-inactive-color: var(--primary-color);
}

.has-primary-bg.section-carousel .swiper,
.has-primary-bg.section-carousel_custom .swiper,
.has-primary-bg.section-carousel-articles .swiper {
  --swiper-pagination-bullet-inactive-color: var(--secondary-color);
}

.card-item {
  overflow: hidden;
  position: relative;
}

.card-item .img-wrapper {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
}

.card-item .img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--accent-color-orange);
  opacity: 0.15;
  z-index: 1;
  transition: opacity 0.2s linear;
}

.card-item img {
  aspect-ratio: 300 / 390;
  object-fit: cover;
  object-position: top 0% left 5%;
  transition: all 0.35s ease-in-out;
  width: 100%;
}

.card-item:hover img {
  object-position: top 50% left 50%;
}

.card-item.text-over-image .item-text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  z-index: 2;
  text-align: center;
  color: var(--secondary-color);
}

.card-item.text-over-image.custom .item-text {
  align-items: start;
}

.card-item.text-over-image.custom .item-text .text {
  margin-top: 1.5rem;
}

.card-item:not(.text-over-image) .item-text {
  padding-top: 1.5em;
  line-height: var(--line-height-subheading);
  font-size: var(--font-size-small);
}

.card-item:not(.text-over-image) .item-text h6 {
  font-weight: 700;
  font-size: var(--font-size-small);
}

.card-item.text-over-image .item-text .text {
  text-align: center;
}

.card-item .item-text h4 {
  margin-bottom: 0;
}

.card-item .item-text h4 + * {
  margin-bottom: 0.5em;
}

.card-item a {
  display: block;
  position: relative;
}

.card-item.text-over-image a::after {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  background: url(../images/plus.svg) no-repeat center;
  background-size: contain;
  margin-left: auto;
  margin-right: auto;
}

.card-item.text-over-image.custom a::after {
  bottom: 50%;
  transform: translateY(50%);
}

.card-item[even],
.section-list-cards .list-cards.list-cards-3-columns > *:nth-child(3n + 2) {
  margin-top: 70px;
}

.section-cta {
  color: var(--secondary-color);
  --heading-color: rgba(255, 255, 255, 1);
}

.section-cta .section-content {
  padding: 60px 0 90px;
}

.section-cta .section-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  bottom: 0;
  left: 0;
  background: var(--primary-color);
  z-index: -1;
  border-top-right-radius: 60px;
  border-bottom-right-radius: 60px;
}

.section-cta.has-orange-bg .section-content::before {
  background: var(--accent-color-orange);
}

.section-cta.layout-reverse .section-content::before {
  left: 12%;
  right: 0;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.section-cta .picto {
  position: absolute;
  width: 25%;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.section-cta.layout-reverse .picto {
  left: 0;
  right: auto;
}

.section-cta .picto img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center left;
  transform: translateX(calc(0.15 * 25vw));
}

.section-cta.layout-reverse .picto img {
  transform: translateX(calc(0.15 * 25vw * -1)) rotateY(180deg);
}

.section-text-image-equal img {
  height: 100%;
  object-fit: cover;
}

.section-visual-stories img {
  aspect-ratio: 282 / 405;
  object-fit: cover;
  border-radius: 50px;
}

.section-visual-stories .d-flex {
  gap: 36px;
}

.section-visual-stories p {
  width: 90%;
  margin: 0 auto;
}

.section-media img,
.section-media video,
.section-media iframe {
  width: 100%;
}

.section-media iframe {
  border: none;
  height: 80vmin;
}

.section-gallery .featured-image img {
  width: 100%;
}

.section-gallery ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: calc(10% / 2);
  flex-wrap: wrap;
  margin: 0 auto;
}

.section-gallery .gallery {
  padding-top: 70px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-gallery .gallery ul li {
  width: 30%;
}

.section-gallery .gallery ul li:nth-child(3n + 2) {
  padding-top: 70px;
}

.section-gallery .gallery .gallery-text * + h6,
.section-gallery .gallery .gallery-text * + h5,
.section-gallery .gallery .gallery-text * + h4,
.section-gallery .gallery .gallery-text * + h3,
.section-gallery .gallery .gallery-text * + h2 {
  margin-top: 1.5em;
}

.section-gallery ul li img {
  aspect-ratio: 1 / 1;
  border-radius: 50px;
  object-fit: cover;
  display: block;
  width: 100%;
}

.section-text .section-content p + h6 {
  margin-top: 1.5em;
}

.section-team .section-content,
.section-team .list li .d-flex {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-team .list li {
  position: relative;
}

.section-team .list li:nth-child(odd) .picto {
  right: 0;
}

.section-team .list li:nth-child(odd) .picto img {
  transform: translateX(5%);
}

.section-team .list li:nth-child(even) .picto {
  left: 0;
}

.section-team .list li:nth-child(even) .picto img {
  transform: translateX(-5%);
}

.section-team .avatar {
  width: 40%;
}

.section-team .info {
  width: 60%;
}

.section-team .contact-info {
  letter-spacing: var(--letter-spacing-wide);
}

.section-team .contact-info img {
  width: 30px;
}

.section-team .picto {
  position: absolute;
  bottom: 0;
  width: 20%;
  max-width: 280px;
  overflow: hidden;
}

.section-team .picto img {
  width: 100%;
}

.form {
  max-width: 400px;
  letter-spacing: var(--letter-spacing-wide);
  font-size: var(--font-size-small);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea,
body .gform_wrapper.gravity-theme .gfield_error [aria-invalid="true"] {
  border: none;
  border-bottom: 2px solid;
  background: none;
  display: block;
  width: 100% !important;
  outline: none !important;
  margin-bottom: 2em !important;
  padding-left: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.form .term-check {
  letter-spacing: var(--letter-spacing-normal);
  margin-top: 1em;
}

.form [type="submit"] {
  margin-top: 1em;
}

@keyframes marquee {
  0% {
    transform: translate3d(-25%, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-block {
  width: 100%;
  overflow: hidden;
}

.marquee-block-inner {
  animation: marquee 7s linear infinite;
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  will-change: transform;
}

.marquee-block-text {
  align-items: center;
  display: flex;
  gap: 8rem;
  padding-right: calc(8rem - 15px);
  font-size: 12rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  font-family: var(--font-family-secondary);
}

.marquee-block-text:after {
  content: "";
  width: 30px;
  height: 30px;
  background: var(--accent-color-coral);
  border-radius: 50%;
}

.marquee-swipers {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.marquee-swiper {
  width: 100%;
  overflow: hidden;
}

.marquee-swiper .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

.marquee-swiper .swiper-slide {
  width: 245px;
}

.marquee-swiper .item-wrapper {
  flex: 0 0 auto;
  width: 100%;
  height: 145px;
  /* background: rgb(35 31 32 / 25%); */
  /* border-radius: 5px; */
  overflow: hidden;
  /* padding: 30px; */
}

.marquee-swiper .item-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.section-cta-double .cta-wrapper {
  background-color: var(--primary-color);
  border-radius: 15px;
  padding: 80px 20px;
  max-width: 650px;
  margin: 0 auto;
}

.section-cta-double .cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: fit-content;
  margin: 0 auto;
}

.section-cta-double .cta-dots {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: auto auto;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transform: translateY(36%);
}

.section-cta-double .cta-dots span:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.section-cta-double .dot {
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

.accordion {
  --bs-accordion-active-color: #fff;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: var(--primary-color);
  --bs-accordion-border-color: var(--primary-color);
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

.responsive-accordion-container .ra-content-block.converted-to-accordion {
  margin-bottom: 15px;
}

.site-footer {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 7.5% 0 2%;
}

.site-footer .text a {
  text-decoration: underline;
  transition: all 0.25s linear;
}

.site-footer .text a:hover {
  text-decoration-color: var(--accent-color-coral);
  text-decoration-thickness: 5px;
}

.site-footer .site-footer-logo img {
  width: 210px;
}

.site-footer .social-icons img {
  width: 45px;
}

.site-footer .cpr {
  font-size: var(--font-size-small);
}

.item-nav-links {
  display: flex;
  padding: 3vw 0;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  justify-content: space-between;
}

.item-nav-links a{
  text-align: left;
  display: flex;
  align-items: center;
  max-width: 50%;
  width: auto;
  gap: 5px;
  line-height: 1.1;
}

.item-nav-icon svg {
  width: 18px;
  height: 32px;
  stroke: var(--primary-color);
  transition: all .25s ease-in-out;
}

.item-nav-link-prev:hover .item-nav-icon svg {
  transform: translateX(-5px);
}

.item-nav-link-prev {
  margin-left: 0;
  margin-right: auto;
}

.item-nav-link-next {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

.item-nav-link-next:hover .item-nav-icon svg {
  transform: translateX(5px);
}


/**************** RESPONSIVE **************/
/*****************************************/

@media screen and (max-width: 1399px) {
  :root {
    /* Font Sizes */
    --font-size-heading-1: 4rem; /* H1 */
    --font-size-heading-2: 3rem; /* H2 */
    --font-size-heading-3: 2rem; /* H3 */
    --font-size-heading-4: 1.5rem; /* H4 */
    --font-size-heading-5: 1.125rem; /* H5 */
    --font-size-body: 1.125rem; /* Body Text */
    --font-size-small: 1rem;
  }
}

@media screen and (max-width: 1199px) {
  :root {
    --content-width: 100%;
  }
  .section-hero .heading {
    font-size: var(--font-size-heading-2);
  }
}

@media screen and (max-width: 991px) {
  :root {
    /* Font Sizes */
    --font-size-heading-2: 2.75rem; /* H2 */
  }
  .container {
    max-width: none;
    padding-left: 30px;
    padding-right: 30px;
  }
  .nav {
    --bs-nav-link-padding-x: 0.5rem;
  }
  
  .section-team .picto {
    position: static;
    padding-left: 30px;
    width: 30%;
    max-width: 280px;
    overflow: hidden;
  }
}

@media screen and (max-width: 767px) {
  body.menu-active::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    opacity: 0.75;
    z-index: 1;
  }

  .site-header .nav {
    position: fixed;
    top: 115px;
    right: -100%;
    z-index: 10;
    background: var(--secondary-color);
    color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    font-size: var(--font-size-heading-4);
    transition: opacity 0.3s ease, top 0.3s ease;
    overflow: hidden;
    opacity: 0;
    width: 100%;
    padding: 50px 0;
  }

  body.menu-active .site-header .nav {
    opacity: 1;
    right: 0;
  }

  .site-header.scrolled .nav {
    top: 72px;
  }

  .site-header .nav .menu {
    margin-right: 0;
    flex-direction: column;
    align-items: center;
  }

  .language-switcher {
    margin-top: 30px;
    border: none;
  }

  .language-switcher span {
    display: none;
  }

  .language-switcher ul {
    position: relative;
    max-height: none;
    padding: 0;
    display: flex;
    gap: 15px;
    opacity: 1;
    border: none;
  }

  .language-switcher ul li {
    opacity: 1;
  }

  .section-text-picto .picto,
  .section-cta .picto {
    display: none;
  }

  .section-contact .form {
    margin-left: auto;
  }

  .section-list-cards .list-cards.list-cards-3-columns > *:nth-child(3n + 2) {
    margin-top: 0;
  }
  .section-list-cards .list-cards.list-cards-3-columns > *:nth-child(2n + 2) {
    margin-top: 70px;
  }
  .marquee-block-text {
    font-size: 5rem;
    gap: 2.5rem;
    padding-right: 2.5rem;
  }
  .marquee-block-text::after {
    width: 20px;
    height: 20px;
  }
  .section-cta-double .cta-dots {
    gap: 15px;
  }
  .section-cta-double .dot {
    width: 15px;
    height: 15px;
  }
  .section-gallery ul {
    gap: 5%;
  }
  .section-gallery .gallery ul li {
    width: 47.5%;
  }
  .section-gallery .gallery ul li:nth-child(3n + 2) {
    padding-top: 0;
  }
  .section-gallery .gallery ul li:nth-child(2n + 2) {
    padding-top: 40px;
  }
}

@media screen and (max-width: 575px) {
  :root {
    --font-size-heading-2: 2.5rem;
    scroll-padding: 72px;
  }
  .section:not(.section-hero) {
    padding: 70px 0;
  }
  .section-team .avatar {
    width: 100%;
  }
  .section-team .info {
    width: 100%;
  }
  .section-team .picto {
    display: none;
  }
  .section-list-cards .list-cards.list-cards-3-columns > *:nth-child(2n + 2) {
    margin-top: 0;
  }
  .section-cta-double .cta-wrapper {
    padding: 50px 10px;
  }
  .section-cta-double .cta-buttons {
    flex-direction: column;
    gap: 30px;
  }
  .section-cta-double .cta-buttons .btn {
    width: 100%;
  }
  .section-cta-double .cta-dots {
    transform: translateY(0);
  }
}

@media screen and (max-width: 479px) {
  .card-item[even] {
    margin-top: 0;
  }
}

@media screen and (max-width: 419px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Hide custom cursor on devices with coarse (finger) pointers */
@media (pointer: coarse) {
  #kenoa-cursor {
    display: none; /* Hide cursor for touch input */
  }
}
