/*
Theme Name: Tandem
Text Domain: tandem
Template: blankslate
*/

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

html:focus-within {
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
}

input,
button,
textarea,
select {
  font: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: smooth;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: smooth !important;
    transition: none;
  }
}

body,
html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* FONT-FACES */

@font-face {
  font-family: "Roberte";
  src: url("assets/fonts/Roberte-Regular.woff2") format("woff2"),
    url("assets/fonts/Roberte-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* INIT */

:root {
  --primary: black;
  --bg: white;
  --third: rgba(248, 166, 240, 1);
  --secondary: rgba(139, 226, 191, 1);

  
  --fluid: 1.323vw;
  --mw: calc(100% - 16.66%);
  --ratio: 1.61;
  --spacer: 2rem;
  --radius: 2rem;
  --gradient: linear-gradient(
    90deg,
    var(--secondary),
    var(--third),
    var(--secondary)
  );
  --letter-spacing: -0.08em;

  --bodyfont: "Roboto", sans-serif;
  --body-m: 1.2rem;
  --body-s: 0.9rem;
}

html {
  font-size: clamp(14px, var(--fluid), 30px);
}

@media screen and (max-width: 991px) {
  html {
    font-size: clamp(14px, var(--fluid), 30px);
  }

  :root {
    --mw: 100%;
  }
}

body {
  color: var(--primary);
  font-family: var(--bodyfont);
  font-optical-sizing: auto;
  overflow-x: hidden;
  background: var(--bg);
  font-weight: 400;
  letter-spacing: var(--letter-spacing);
}

::selection {
  background-color: var(--secondary);
  color: var(--bg);
}

/* TYPE */

p {
  line-height: 1;
  margin-bottom: calc(var(--ratio) * 1rem);
  font-weight: 400;
}

a {
  color: var(--primary);
}

h1 {
  /* font-size: calc(2 * var(--ratio) * 1rem); */
  /*font-size: clamp(2.2rem, 8vw, 7rem);*/
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

h2 {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing);
}

h3 {
  line-height: 1.3;
  margin-bottom: calc(var(--ratio) * 1rem);
  font-weight: 300;
  font-size: calc(var(--ratio) * 1rem);
}

img {
  border-radius: var(--radius);
}

.subtitle {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing);
  display: flex;
  gap: 0.2rem;
}

.subtitle span {
  position: relative;
  color: var(--lightred);
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: flex-start;
  margin-right: 0.45rem;
  font-size: 0.5rem;
}

.subtitle span::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  z-index: -1;
  left: -0.32rem;
  /* top: -0.05rem; */
}

.text__col {
  columns: 2;
  padding-left: 12.5%;
  margin-top: 2.7rem;
}

@media screen and (max-width: 991px) {
  .text__col {
    columns: 1;
    padding-left: 0;
  }
  /*
    h2 {
        font-size: 2.8rem;
    } */
}

/* GLOBAL LAYOUT */

section:not(.hero) {
  padding: calc(var(--spacer) * 3) 1rem;
  height: auto;
  position: relative;
}

@media screen and (min-width: 1280px) {
  body {
    /*transform: scale(0.85);*/
  }

  section:not(.hero) {
    transform: scale(0.9);
    padding: calc(var(--spacer)) 1rem;
    transform-origin: top;
  }

  .hero {
    padding: 5rem 0 0rem!important;
  }

  .hero__block {
        transform: scale(0.7);
        transform-origin: top;
  }

  header {
    /*position: absolute!important;*/
  }

  section#intro, #services {
    margin-bottom: -6rem!important;
  }

  #services > ul > li {
    top: 10rem;
  }

  section.hero-pages {
    padding: 11rem 0 13rem!important;
    margin-bottom: -4rem;
  }

  div.track__grid {
    margin-top: 4rem;
  }


}

.ctn {
  max-width: var(--mw);
  margin: 0 auto;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.mb {
  margin-bottom: 4rem;
}

@media screen and (max-width: 991px) {
  .ctn {
    padding: 0 1rem;
  }

  .mb {
    margin-bottom: 4rem;
  }

  section:not(.hero) {
    padding: 2rem 1rem 4rem;
  }

  section {
    overflow-x:hidden;
  }
}

/* COMPONENTS */

.section__sub p {
  font-size: 2rem;
  font-weight: 300;
  text-indent: calc(var(--spacer) * 3);
  margin-bottom: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: var(--letter-spacing);
  display: block;
  flex: 1 1 75%;
}

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

button,
.btn,
.wp-block-button__link,
input.wpcf7-form-control.wpcf7-submit.has-spinner {
  text-decoration: none;
  border-radius: 20rem;
  border: 2px solid var(--primary);
  padding: 0.5rem calc(var(--spacer) / 1.5);
  font-weight: 500;
  letter-spacing: -0.11em;
  transition: all 0.25s ease-in-out;
  display: inline-block;
}

button:hover,
.btn:hover,
.wp-block-button__link:hover,
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
  background: var(--primary);
  color: var(--bg);
}

.leaf img {
  border-radius: 2rem 0;
}

.sm {
  padding: 0 4vw;
}

/* HEADER */

header {
  background: var(--bg);
  color: var(--primary);
  padding: calc(var(--spacer) / 2);
  position: absolute;
  width: 100%;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 9;
  top: 0;
  display: flex;
  display: flex;
  justify-content: center;
}


.header--hidden {
  transform: translateY(-100%);
}

.header--scrolled .header__logo svg {
  width: 6.9rem;
  transition: width 0.3s ease;
}

.header__nav {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  /*padding: 1rem 1.35rem;
    gap: 1rem;
    backdrop-filter: blur(5.647668361663818px);
    max-height: 3.16rem;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0s;
    transition: all .3s ease-in-out;*/
}

.lang-select {
    position: absolute;
    top: .5rem;
    z-index: 2;
    right: 1rem;
    display: flex;
    gap: 0.2rem;
}

.lang-select a {
    width: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
}


.lang-select a:hover p {
  color: var(--bg);
}

.lang-select a:hover svg {
  fill: var(--primary);
}

.lang-select a.active svg {
    fill: var(--primary);
}

.lang-select a.active p {
 color: var(--bg);
}

.lang-select svg {
  width: 2.4rem;
}

.lang-select p {
  all: unset;
    position: absolute;
    font-size: .75rem;
    margin-left: 0.1rem;
}

@media screen and (min-width: 991px) {
  /*html[lang="fr-FR"] .header__nav {
        width: 33rem;
    }

    html[lang="fr-FR"] .scrolled.header__nav {
        width: 29rem;
    }


    .header__nav {
        width: 31rem;
    }

    .scrolled.header__nav {
        width: 28rem;
    }

    */
}

.header__nav__inner {
  display: flex;
  align-items: center;
  gap: calc(var(--spacer) * 2);
}

header .ctn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
  position: relative;
  max-width: none;
  padding: 0 2rem;
}

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 8rem 0;
}
.hero__block {
  min-height: 20em;
  position: relative;
  /*height: 100dvh;*/
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 83%;
  flex-direction: column;
  margin: 0 auto;
  margin-top: 6rem;
  font-size: var(--fluid);
}

.hero__block img {
  border-radius: 2em;
}

.hero__image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 100%;
  z-index: -1;
  position: relative;
  max-width: none;
  width: 100%;
  filter: grayscale(1);
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.hero__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
}

img.hero__pic {
  width: 17.7em;
}

img.hero__icon {
  position: absolute;
  bottom: 1.35em;
  right: -7.3em;
  transform: rotate(-5deg);
  width: 9.5em;
}

.hero__block svg {
  width: 100%;
}

span.logo__tag {
  font-weight: 400;
  font-size: 2rem;
  margin-left: calc(var(--spacer) / 2);
  letter-spacing: 0.1rem;
}

.hero__image {
  position: absolute;
  right: 0;
  top: 0;
  aspect-ratio: 1 / 1;
  width: clamp(30rem, 50vw, 40rem);
  z-index: -2;
  height: 100%;
}

.hero__comp {
  position: absolute;
  left: 0;
  bottom: 1rem;
}

.hero__comp.left {
  bottom: unset;
  left: unset;
  top: -4em;
  right: 6.5em;
}

.hero__comp.left img.hero__pic {
  width: 11em;
  width: 11em;
    aspect-ratio: 0.8;
    object-fit: cover;
}

.hero__comp.left img.hero__icon {
  bottom: unset;
  right: unset;
  top: 2em;
  right: -3em;
  width: 4em;
}

.hero__comp img:first-child {
  border-radius: 2em;
}

.hero__content {
  z-index: 2;
  color: var(--primary);
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: flex-end;
  text-transform: uppercase;
  text-align: right;
  transform: translateY(3rem) !important;
  letter-spacing: var(--letter-spacing);
}

.hero__content p {
  font-size: 1rem;
  line-height: 1;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 991px) {
  .desktop-break {
    display: none;
  }
}

@media (min-width: 991px) {
  .mobile-break {
    display: none;
  }
}

.hero__content strong {
  color: var(--lightred);
  padding: 0 0.4rem;
  position: relative;
  font-weight: 500;
}

.hero__content strong:before {
  content: "";
  border-radius: 2rem;
  position: absolute;
  width: 100%;
  left: 0;
  height: 85%;
  background: var(--red);
  z-index: -1;
  top: 9%;
}

@media screen and (max-width: 991px) {
  .hero__content {
    transform: translateY(-1vw) !important;
  }
  

  .header__nav {
    display: flex;
    background: transparent;
    box-shadow: 0px 9.036px 20.332px -6.777px rgba(24, 39, 75, 0);
    backdrop-filter: blur(0);
    max-height: 3.16rem;
    padding-left: 0;
  }

  .lang-select {
    top: var(--spacer);
    right: 6rem;
    position: fixed;
}
}

svg.hero__arrow {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  width: 1rem;
}

header a {
  color: var(--primary);
}

header img {
  width: 6rem;
}

header img:hover {
  opacity: 0.8;
}

header.wide {
  background: none;
  border-bottom: 1px solid #253d914a;
}

header.wide ul li a {
  color: var(--primary);
}

header.wide ul li a:hover {
  color: var(--secondary);
}

.breadcrumb {
  /* text-transform: uppercase; */
  /* font-weight: 300; */
  font-size: 0.9rem;
  display: flex;
  gap: 0.4rem;
  color: var(--secondary);
}

.breadcrumb svg {
  stroke: var(--primary);
  width: 1rem;
}

.breadcrumb span,
.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a {
  text-underline-offset: 6px;
  text-decoration-color: var(--secondary);
  text-decoration-thickness: 1px;
}

@media screen and (max-width: 991px) {
  header a {
    width: 8rem;
  }

  .hero .ctn {
  }

  .hero {
    min-height: 84dvh;
    
  }

  .hero__logo {
    flex-direction: column;
    align-items: center;
  }

  span.logo__tag {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* NAV */

nav {
  background: transparent;
  z-index: 10;
  position: relative;
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: var(--spacer);
  justify-content: center;
  position: relative;
  padding: 0;
}

nav .gooey-bg {
  position: absolute;
  width: 0;
  height: 2rem;
  background: var(--red);
  border-radius: 2rem;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  z-index: 0;
}

nav ul li {
  position: relative;
  list-style: none;
}

nav ul a {
  text-decoration: none;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  letter-spacing: var(--letter-spacing);
  padding: 0.1rem 0.3rem;
  position: relative;
  z-index: 2;
  transition: color 0.15s ease-in-out;
}

nav ul a:hover {
  color: var(--secondary);
}

.menu-item-11 {
  padding-left: 1rem;
}

.menu__button {
  height: 2rem;
  display: none;
  position: absolute;
  z-index: 9;
}

.menu__icon {
  font-weight: 400;
  font-size: var(--body-m);
  letter-spacing: var(--letter-spacing);
}

.menu__icon span {
  background: #ffffffc2;
  padding: 0.25rem 1rem;
  border-radius: 5rem;
  box-shadow: 0px 9.036px 20.332px -6.777px rgba(24, 39, 75, 0.04);
  backdrop-filter: blur(5.647668361663818px);
  -webkit-backdrop-filter: blur(5.647668361663818px);
  font-weight: 500;
  text-transform: uppercase;
}

.menu__icon svg {
  width: 1.3rem;
  background: var(--primary);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  padding: 0.25rem;
  fill: var(--bg);
  display: none;
  transform: translate(-1rem, 0rem);
}

.open .menu__icon span {
  display: none;
}

.open .menu__icon svg {
  display: block;
}

.menu__icon .line {
  stroke: var(--primary);
}

.menu__icon .cross {
  display: none;
}

.open .menu__icon .line {
  display: none;
}

.open .menu__icon .cross {
  display: block;
}

.open path.cross {
  stroke: white;
}

.nav__right {
  display: none;
}

.header__logo svg {
    width: 6.9rem;
    transform: translateY(-0.3rem);
}

.header__logo-small {
  display: none;
  width: 1.5rem !important;
  transform: translateY(0) !important;
}

.scrolled .header__logo-big {
  display: none;
  opacity: 0;
}

.scrolled .header__logo-small {
  display: block;
  opacity: 1;
}

.header__logo-small,
.header__logo-big {
  transition: opacity 0.3s ease-in-out;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover svg path {
  fill: var(--bg)!important;
}

.back-to-top svg {
    width: 1rem;
    /* height: 2rem; */
    aspect-ratio: 1;
    transform: rotate(-90deg) translate(0.04rem, 0.01rem);
    transform-origin: center;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

a.header__cta.btn {
  background: var(--primary);
  border-radius: 40px 0px;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 1rem 2rem;
  color: var(--secondary);
}

a.header__cta.btn:hover {
  color: var(--secondary);
  transition: all 0.25s ease;
}

@media screen and (max-width: 991px) {
  header {
    position: absolute;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--ratio) * 1.3rem) 1rem;
    
  }

  .header__cta {
    display: none;
  }

  .header__nav__left,
  .header__nav__right {
    display: none;
  }

  .menu__button {
    height: 1.5rem;
    display: block;
    cursor: pointer;
    position: relative;
  }

  .nav__right {
    position: absolute;
    z-index: 1;
    background: #ffffffc2;
    top: 1.3rem;
    align-content: center;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    right: 1rem;
    position: fixed;
    border-radius: 2rem;
    padding: 3rem 2rem 2rem;
    box-shadow: 0px 9.036px 20.332px -6.777px rgba(24, 39, 75, 0.04);
    backdrop-filter: blur(5.647668361663818px);
    -webkit-backdrop-filter: blur(5.647668361663818px);
    max-width: 70%;
    border: 1px solid var(--primary);
  }

  .nav__right.open {
    display: flex;
  }

  .nav__right ul {
    list-style-type: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .nav__right a {
        text-decoration: none;
        font-size: var(--body-m);
        font-weight: 500;
        letter-spacing: var(--letter-spacing);
        text-transform: uppercase;
    }

  header.wide .nav__right a {
    color: white;
  }

  .nav__right-infos a {
    text-decoration: underline;
    font-size: 1rem;
    line-height: 1.7;
  }

  .nav__right-infos {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .topbar {
    display: none;
  }
}

/* FOOTER */

.otgs-development-site-front-end {
  display: none !important;
}

footer {
  padding: 4rem 2rem 2rem;
  color: var(--bg);
  height: auto;
  border-radius: 4rem 4rem 0 0;
  overflow: hidden;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer .subtitle {
  color: var(--bg);
  margin-left: 0.4rem;
  margin-bottom: 4rem;
}

footer .subtitle span {
  color: var(--primary);
  z-index: 1;
}

footer .subtitle span::before {
  background: var(--bg);
}

footer section {
  height: auto !important;
}

.footer__logos {
  display: grid;
  gap: calc((var(--ratio) * 1rem));
  width: 100%;
  grid-column: 4;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  margin-top: 4rem;
}

.footer__logos a {
  aspect-ratio: 1;
  max-height: 10rem;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: grayscale(2) invert(1) contrast(6);
  mix-blend-mode: lighten;
}

.footer__logos img {
  width: 80%;
}

.footer__links > div:first-child {
  display: flex;
  justify-content: flex-start;
  font-size: 1.5rem;
  flex-wrap: wrap;
  z-index: 2;
  align-content: center;
  align-items: center;
  gap: calc(var(--spacer) * 2);
}

.footer__links > div:first-child > p:last-child a {
  text-decoration: underline;
}

.footer__links p,
.footer__links a {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 500;
}

.footer__links p {
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--letter-spacing);
  margin-bottom: 0;
}

.footer__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--primary);
  padding: var(--spacer) 0;
}

.footer__socials {
  display: flex;
  gap: calc(var(--spacer) / 2);
}

.footer__links a {
  letter-spacing: var(--letter-spacing);
  font-weight: 400;
  text-decoration: none;
}

.footer__socials svg {
  fill: var(--primary) !important;
  width: 2rem;
}

.footer_c {
  text-align: right;
  font-size: 0.7rem;
  color: #a5a5a5;
  font-weight: 400;
  margin-top: 2rem;
}

footer ul {
  list-style-type: none;
}

footer li {
  margin-bottom: calc(var(--spacer) / 3);
  position: relative;
  padding-left: 1.8rem;
}

.footer__cta {
  text-align: left;
  padding: 4rem 0;
  position: relative;
  background: var(--secondary);
  color: var(--bg);
  font-weight: 500;
  letter-spacing: -1.4vw;
  font-size: 23.8vw;
  white-space: nowrap;
  line-height: 0.7;
  margin-left: -1.8vw;
  pointer-events: none;
}

.footer__cta svg {
  margin-bottom: -1px;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  fill: var(--bg);
}

.footer__cta ul {
  list-style-type: none;
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer__cta h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.footer__cta li {
  min-height: 17rem;
  background: var(--red);
  width: calc(var(--mw) / 4 - 1.25rem);
  padding: 2.5rem 1rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  transition: all 0.25s ease;
}

.footer__cta .btn {
  background: var(--primary);
  display: inline-block;
}

.footer__cta .btn:hover {
  color: var(--secondary);
}

.footer__cta a {
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 100%;
}

.footer__cta h3 {
  padding: 0 1rem;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 500;
}

.footer__cta p {
  margin: 2rem 0 0;
  font-weight: 400;
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 4rem;
  text-align: center;
}

.footer__info li {
  list-style-type: none;
  margin-bottom: 0.5rem;
}

.footer__info li b {
  font-size: 1rem;
}

.footer__sm {
  text-align: center;
  font-size: 0.8rem;
}

.footer__sm ul {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  list-style-type: none;
  margin-top: 0.5rem;
}

.footer__sm svg {
  fill: var(--bg);
}

.footer__sm svg:hover {
  fill: var(--secondary);
  transform: scale(1.05);
}

#copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.84rem;
}

.footer__menu {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin-top: 2rem;
  font-size: 0.85rem;
  flex-direction: row;
  gap: 1rem;
}

@media screen and (max-width: 991px) {
  footer {
    padding: 4rem 1rem 2rem;
  }

  .footer__links > div {
    flex: 1 1 100%;
  }

  .footer__links > div:last-of-type {
    margin-bottom: 2rem;
  }

  .footer__cta {
  }

  .footer__logos {
    grid-template-columns: repeat(4, 1fr);
  }

    .footer__links > div:first-child {
      gap: .5rem;
  }

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


}

/* HOMEPAGE */

/* INTRO */

.intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, minmax(150px, auto));
  gap: 8px;
}

.intro__grid > div {
  position: relative;
}

.intro__grid p {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing);
  margin-bottom: 0;
  font-weight: 500;
}

.intro__trace {
  right: 8rem;
  position: absolute;
  width: 55rem;
  top: 21rem;
  z-index: -1;
}

.intro__icon {
  all: unset;
  position: absolute;
}

.div1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

@media screen and (min-width:991px) {
  .div1 h2 {
    padding-right: 25%;
} 
}

.div2 {
  grid-column: 1;
  grid-row: 3;
}

.div3 {
  grid-column: 3;
  grid-row: 1 / 4;
}

.div3 .intro__icon {
  left: -4.1rem;
  bottom: -2rem;
  width: 12rem;
}

.div3 img:last-child {
  border-radius: var(--radius);
  aspect-ratio: 0.772047;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.div4 {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacer);
}

.div5 {
  grid-column: 1;
  grid-row: 4;
}

.div5 .intro__icon {
  right: 3rem;
  top: -4.4rem;
  width: 8rem;
}

.div5 img:last-child {
  width: 17rem;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.div6 {
  grid-column: 2;
  grid-row: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--spacer);
}

.div5,
.div6 {
  margin-top: 13.2rem;
}

.div7 {
  grid-column: 1 / 4;
  grid-row: 5;
}

.div7 img {
  margin-top: 1rem;
}

.div7 > div img:nth-of-type(1) {
  width: 100%;
}

.div7 .intro__icon {
  right: 3rem;
  bottom: -1.4rem;
  width: 15rem;
}

.div7 > div {
  max-width: 47.4rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.div7 p {
  padding: var(--spacer);
  padding-top: 1.7rem;
}

@media (max-width: 991px) {
  .intro__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .intro__trace {
    display: none;
  }

  .intro__grid > div {
    grid-column: 1 !important;
    grid-row: auto !important;
    margin-top: 0;
    padding: 0;
  }

  .intro__grid > div img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
  }

  .intro__grid > div .intro__icon {
    aspect-ratio: unset;
    right: -2.1rem;
    bottom: 2rem;
    width: 12rem;
    left: unset;
    top: unset;
    }


      .intro__grid > .div7 .intro__icon {
        right: -4.1rem;
        bottom: 12rem;
        width: 14rem;
        left: unset;
        top: unset;
    }

  .intro__grid > div p {
    padding: calc(var(--spacer)/2) var(--spacer) var(--spacer);
    /*padding-right: 50%;*/
  }

  .div4 {
    justify-content: flex-start;
  }

  .div7 > div {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .div5 img:last-child {
    width: 100%;
  }
}

@media screen and (min-width:991px) {
  .div7 p {
    width: 39%;
  }

  .div6 p {
    width: 70%;
  }
}

.intro__icon {
    animation-timeline: view(block 0% 0%);
    animation-name: grow;
    animation-fill-mode: both;
    animation-duration: 1s;
    animation-timing-function: linear;
}

@supports not (animation-timeline: view()) {
    .intro__icon {
        animation: none !important;
    }
}


@keyframes grow {
    from {
        transform: translateY(80%);
    }

    to {
        transform: translateY(-50%);
    }
}

/* PRESENTATION */

#presentation {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  height: auto;
  padding: 10rem 2rem 6rem;
  flex-wrap: wrap;
}

/*
#presentation p {
    font-size: 2rem;
    font-weight: 300;
    text-indent: calc(var(--spacer)* 3);
    margin-bottom: 0;
    line-height: 1;
    font-weight: 400;
    letter-spacing: var(--letter-spacing);
    display: block;
    flex: 1 1 75%;
}*/

#presentation .subtitle {
  flex: 1 1 20%;
}

#presentation ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  gap: calc((var(--ratio) * 1rem));
  width: 100%;
}

#presentation ul li {
  display: flex;
  flex-direction: column;
  gap: calc(var(--ratio) * 1rem);
}

#presentation ul h3 {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1rem;
  padding-right: 60%;
  line-height: 1;
}

#presentation ul img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  height: 100%;
  pointer-events: none;
}

@media screen and (max-width: 991px) {
  #presentation {
    padding: 6rem 1rem 4rem;
    z-index: 1;
    flex-direction: column;
  }

  /*
    #presentation p {
        font-size: 1.3rem;
        padding-left: 0;
        font-weight: 300;
        text-indent: 0;
        margin-bottom: 0;
    } */
}


/* PROJECTS */

#projects .section__heading span {
  color: var(--lightyellow);
}

#projects .section__heading span::before {
  background: var(--yellow);
}

.section__heading {
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.section__heading p {
  color: #222221;
  text-align: center;
  font-size: 4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -5.6px;
}

#projects {
  height: auto;
  padding: 4rem 0 8rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff4a;
  backdrop-filter: blur(5.647668361663818px);
  -webkit-backdrop-filter: blur(5.647668361663818px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  z-index: 1000;
}

.modal-container {
  border: none;
  padding: 6rem 2rem;
  max-width: calc(100% - 8rem);
  background: white;
  box-shadow: 0px 9.036px 20.332px -6.777px rgba(24, 39, 75, 0.04);
  margin: 0 auto;
  text-align: left;
  backdrop-filter: blur(5.647668361663818px);
  -webkit-backdrop-filter: blur(5.647668361663818px);
  border-radius: 4rem;
  top: 4rem;
  position: absolute;
}

body.modal-open {
  overflow: hidden;
}

.modal-content {
  position: relative;
}

/* 🔹 Affichage de la modale */
.project-modal.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.project-modal.active .modal-overlay {
  opacity: 1;
  pointer-events: all;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

.modal-gallery a {
  height: 15rem;
  background: lightgray;
  border-radius: 1rem;
}

.modal-gallery a:nth-child(1),
.modal-gallery a:nth-child(2),
.modal-gallery a:nth-child(3),
.modal-gallery a:nth-child(4) {
  grid-row: 1;
  grid-column: span 1;
}

.modal-gallery a:nth-child(3) {
  grid-row: 2;
  grid-column: span 1;
}

.modal-gallery a:nth-child(4) {
  grid-row: 2;
  grid-column: span 1;
}

.close-modal {
  position: absolute;
  top: 3rem;
  right: 3rem;
  background: var(--primary);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--bg);
  padding: 0.6rem;
  border-radius: 100%;
  z-index: 2;
}

.close-modal svg {
  width: 2rem;
  stroke: white;
}

.projects__row .projects__heading {
  font-size: 3rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: calc(var(--letter-spacing) * 3);
  padding-right: 4rem;
}

.projects__row h3 {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #5c5c5c;
  letter-spacing: var(--letter-spacing);
}

.projects__row p {
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: calc(var(--letter-spacing) * 2);
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.projects__row a {
  text-transform: uppercase;
  text-decoration-thickness: 0.08rem;
  text-underline-offset: 0.2rem;
}

#projects ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* gap: calc((var(--ratio)* 0.5rem)); */
  flex-direction: column;
  text-align: center;
  margin-top: 5rem;
  max-width: 80%;
  margin: 4rem auto 0;
}

#projects ul li {
  position: relative;
  padding: 1rem 0;
  border-radius: 20rem;
  transition: all 0.25s ease;
}

#projects ul li:nth-child(4n + 1):hover {
  background: var(--green);
}

#projects ul li:nth-child(4n + 1):hover h3 {
  color: var(--lightgreen);
}

#projects ul li:nth-child(4n + 2):hover {
  background: var(--purple);
}

#projects ul li:nth-child(4n + 2):hover h3 {
  color: var(--lightpurple);
}

#projects ul li:nth-child(4n + 3):hover {
  background: var(--red);
}

#projects ul li:nth-child(4n + 3):hover h3 {
  color: var(--lightred);
}

#projects ul li:nth-child(4n + 4):hover {
  background: var(--yellow);
}

#projects ul li:nth-child(4n + 4):hover h3 {
  color: var(--lightyellow);
}

#projects ul li h3 {
  color: var(--primary);
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  font-size: 3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(var(--letter-spacing) * 3.5);
}

#projects ul li a {
  text-decoration: none;
}

#projects ul li img,
.projects__more {
  width: calc(50vw - (var(--ratio) * 0.25rem));
  object-fit: cover;
  height: 100%;
}

li.projects__more {
  display: flex;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  padding-right: calc(var(--ratio) * 1rem);
}

li.projects__more a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
}

@media screen and (max-width: 991px) {
  #projects {
    padding-top: 0;
  }

  .section__heading p {
    font-size: 2.8rem;
    letter-spacing: -2.6px;
  }

  #projects ul li h3 {
    font-size: 2rem;
  }
}

/* SERVICES */

#services {
  padding-top: 0;
  max-width: var(--mw);
  margin: 0 auto;
}

#services .section__heading span {
  color: var(--lightpurple);
}

#services .section__heading span::before {
  background: var(--purple);
}

#services > ul {
  margin-top: 5rem;
}

#services > ul > li {
  /*min-height: 35rem;*/
  display: flex;
  justify-content: center;
  border-radius: var(--radius);
  position: sticky;
  top: 8rem;
  margin-bottom: 6rem;
  border: 2px solid var(--primary);
  background: var(--bg);
}

#services > ul > li:last-child {
  margin-bottom: 0;
}

#services ul li > div {
  flex: 1 1 50%;
  box-sizing: border-box;
}

.services__content {
  padding: var(--spacer);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacer);
  
}

.services__content h2 {
  margin: 0;
}

.services__content p {
  margin: 0;
}

.services__content > div:last-child {
  padding-right: var(--spacer);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacer);
}

.services__counter {
  transform: rotate(-3.5deg);
  font-family: "Roberte";
  font-weight: bold;
  font-size: 3rem;
}

.services__icon {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    
    top: calc(50% - 3rem);
    width: 12rem !important;
}

.services__practical ul {
  display: flex;
  justify-content: flex-start;
  gap: var(--spacer);
}

.services__practical ul li {
  list-style-type: none;
}

.services__ctas {
  display: flex;
  gap: calc(var(--spacer) / 2.25);
}

.services__ctas a {
  text-decoration: none;
  border-radius: 20rem;
  border: 2px solid var(--primary);
  padding: 0.5rem calc(var(--spacer) / 1.5);
  font-weight: 500;
  letter-spacing: -0.11em;
  transition: all .25s ease-in-out;
  font-size: var(--body-s);
}

.services__ctas a:hover {
  color:var(--bg);
  background: var(--primary);
}

div.services__img {
  width: 50%;
}

.services__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius) 1.9rem 1.9rem var(--radius);
}

#services li h3 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: calc(var(--letter-spacing) / 2);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

#services li p {
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: var(--letter-spacing);
}

@media screen and (max-width: 991px) {
  #services {
    overflow: visible;
  }
  
  #services ul li h3 {
    padding-right: 60%;
  }

  #services > ul > li {
    flex-direction: column;
    top: 3rem;
  }

  .services__img img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 1.7rem 1.7rem;

  }
  div.services__img {
    width: 100%;
  }
    .services__icon {
        position: absolute;
        right: -1rem;
        left: unset;
        top: -3rem;
        width: auto!important;
        transform: none;
        align-self: auto;
    }

    .services__icon img {
    width: 11rem;
    }

    .services__content > div:last-child {
      padding-right: 0;
    }


}

/* COOP */

section#coop {
  padding: calc(var(--spacer) / 2);
}

.coop__icon {
  background-image: url(assets/img/coop__icon--1.png);
  width: 13.7rem;
  display: inline-block;
  height: 3.8rem;
  background-size: cover;
  margin-left: 1rem;
}

.coop__icon:last-of-type {
  background-image: url(assets/img/coop__icon--2.png);
  width: 4rem;
  display: inline-block;
  height: 3.8rem;
  background-size: cover;
  margin-left: 1rem;
  position: absolute;
}

#coop ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  list-style-type: none;
  margin-top: 6rem;
}

#coop ul h3 {
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0;
}

#coop ul > li {
  display: flex;
  flex-direction: column;
  gap: var(--spacer);
  text-align: center;
  position: relative;
  /*background-image: url('assets/img/coop01.png');*/
  align-items: center;
  justify-content: center;
}

#coop ul > li:nth-child(1) div {
  padding-top: 1rem;
}

#coop ul > li:nth-child(2) div {
  padding-top: 1rem;
}

#coop ul > li:nth-child(2) img {
  margin-left: 0.9rem;
}

#coop ul > li:nth-child(3) div {
  padding-top: 1rem;
}

#coop ul > li:nth-child(3) img {
  margin-left: 0.8rem;
}

#coop ul > li:nth-child(4) div {
  padding-top: 0;
}

#coop ul > li > div {
  transform: rotate(-5deg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: calc(var(--spacer) * 2);
  position: absolute;
  
}

#coop ul > li::after {
  content: "";
  background-image: url(assets/img/coop01.png);
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

#coop ul > li img {
  position: relative;
  top: 0;
  object-fit: contain;
  width: 18rem;
  transform: scale(1.25);
  height: 100%;
}

#coop ul > li p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.coop__img {
  position: relative;
  max-width: calc(100% - 16.66%);
  margin: 6rem auto 0;
}


.coop__img img {
  width: 100%;

} 

img.coop__illu {
  position: absolute;
  top: -2rem;
  right: -6rem;
  width: 17.5rem;
}

@media screen and (max-width: 991px) {
  section#coop {
    overflow: hidden;
  }
  
  #coop ul {
    /*grid-template-columns: 1fr;*/
    gap: 2rem;
  }

  #coop ul > li > div {
    padding: 8rem;
    padding-top: 02rem;
  }

     img.coop__illu {
        position: absolute;
        left: -5rem;
        /* right: -4rem; */
        width: 11.5rem;
        top: -6rem;
    }

  .coop__img {
    max-width: 100%;
  } 

  .coop__icon:last-of-type {
    right: 0;
    bottom: -5rem;
  }
}

@media screen and (min-width: 991px) {

#coop ul > li:nth-child(3) div {
  padding: 5rem;
  padding-top: 1rem;
}
}
/* ITINERAIRES */

.itineraires__intro {
  max-width: calc(100% / 3);
}

.itineraires__intro p {
  font-size: var(--body-m);
}

.itineraires__trace {
  position: absolute;
  top: -7.1rem;
  right: -4rem;
  width: 60rem;
}

.itineraires__cta {
  margin-top: var(--spacer);
  display: flex;
  align-items: center;
  justify-content: center;
}
.itineraires__cta .btn {
  font-size: 1.6rem;
  font-weight: 500;
}

.embla {
  margin: var(--spacer) auto;
  --slide-height: 19rem;
  --slide-spacing: 1rem;
  --slide-size: calc(100% / 3);
  padding: 0 var(--spacer);
  position: relative;
}

.embla__viewport {
  overflow: visible;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(var(--slide-spacing) * -1);
}

.embla__slide {
  flex: 0 0 var(--slide-size);
  aspect-ratio: 3.3 / 4;
  min-width: 0;
  background: var(--primary);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 2rem;
  margin-right: 1rem;
  text-decoration: none;
  padding: var(--spacer);
  background-repeat: no-repeat;
  background-size: cover;
}

.card__content {
  background: var(--bg);
  border-radius: calc(var(--radius) / 1.8);
  padding: 1rem;
  text-align: left;
}

.card__content ul {
  list-style-type: none;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.card__content p {
  margin: 0;
  font-size: 0.9rem;
}

.card__content h3 {
    text-transform: uppercase;
    font-size: var(--body-m);
    font-weight: 500;
    margin-bottom: 0.3rem;
}


.card__content li {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--primary);
  border-radius: 10rem;
  text-transform: uppercase;
}

.embla__slide img {
  height: 8.75rem;
  padding: 1rem;
}

.embla__link {
  background: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  padding: 2rem;
  width: 100%;
  border-radius: 0 0 1.4rem 1.4rem;
}
.embla__controls {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: space-between;
  gap: 1.2rem;
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.embla__buttons {
  /*display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    align-items: center; */
}
.embla__button {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--bg);
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  width: 3rem;
  height: 3rem;
  z-index: 1;
  border-radius: 50%;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
}

.embla__button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.embla__button__svg {
  width: 35%;
  height: 35%;
}
@media screen and (max-width: 991px) {
  .embla__slide {
    flex: 0 0 100%;
  }

  .itineraires__intro {
    max-width: 100%;
  }
}

/* CONTACT */

section#contact {
  display: flex;
  justify-content: space-between;
}

#contact > div:first-child {
  flex: calc(1 / 3) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#contact p {
  font-size: var(--body-m);
  margin-bottom: 0;
}

#contact > div:last-child {
  flex: calc(7 / 12) 0;
  position: relative;
}

.contact__infos h3 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: calc(var(--letter-spacing) / 2);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.contact__img {
  aspect-ratio: 2.32;
  object-fit: cover;
}

.contact__infos p {
    line-height: 1.1;
}

.contact__icon {
  width: 8rem;
  position: absolute;
  left: -3rem;
  top: -4rem;
}

@media screen and (max-width: 991px) {
  section#contact {
    flex-direction: column;
    gap: var(--spacer);
  }

  #contact > div:first-child {
    flex: calc(1 / 3) 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacer);
  }

  .contact__icon {
    left: unset;
    right: -3rem;
  }

  .itineraires__trace {
    top: -2.1rem;
  }
}

/* TRACKS */

section.hero-pages {
  min-height: 50dvh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 13.5rem 0;
  background-image: url("assets/img/itineraires.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  justify-content: center;
}

img.hero-pages__icon {
  position: absolute;
  top: -1.4rem;
  right: -1.9rem;
  width: 5rem;
  border-radius: 0;
}

.hero__title {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing);
  font-weight: 500;
  position: relative;
}

.hero__title h1 {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing);
  font-weight: 500;
  text-align: center;
}

.tracks__intro {
  text-align: center;
}

.tracks__intro p {
  font-size: var(--body-m);
}

@media screen and (min-width: 991px) {
  .tracks__intro {
    max-width: 50%;
    margin: 0 auto;
  }
}

@media screen and (max-width:991px) {
  img.hero-pages__icon {
    top: -1.4rem;
    right: -1.4rem;
    width: 3.5rem;
  }

  section.hero-pages {
    padding: 10rem 0 6rem;
    min-height: unset;
  }

  .track__grid {
    margin-top: var(--spacer)!important;
  }
}

.track {
  background: var(--bg);
  border-radius: var(--radius);
  text-align: left;
  min-height: 40rem;
  /* display: flex; */
  align-content: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 2px solid var(--primary);
  position: relative;
  padding-bottom: calc(var(--spacer) * 2);
  overflow: hidden;
}

.track:first-child img {
  aspect-ratio: 1.45;
}

.single-itineraires .track {
 min-height: auto;
 padding-bottom: 0;
border: 0;
}

.single-itineraires .track img {
 height: 100%;
 border-radius: 0;

}


.track img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  border-radius: 0 0 var(--radius) var(--radius);
}

.track__buttons {
  position: absolute;
  bottom: 1rem;
}

.track .btn {
  align-self: flex-start;
  font-size: var(--body-s);
}

.track__grid {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.track__grid > :nth-child(10n + 1) {
  grid-column: span 7;
}

.track__grid > :nth-child(10n + 2) {
  grid-column: span 5;
}

.track__grid > :nth-child(10n + 3),
.track__grid > :nth-child(10n + 4),
.track__grid > :nth-child(10n + 5) {
  grid-column: span 4;
}

.track__grid > :nth-child(10n + 6) {
  grid-column: span 5;
}

.track__grid > :nth-child(10n + 7) {
  grid-column: span 7;
}

.track__grid > :nth-child(10n + 8),
.track__grid > :nth-child(10n + 9),
.track__grid > :nth-child(10n + 10) {
  grid-column: span 4;
}

@media (max-width: 991px) {
  .track__grid {
    grid-template-columns: 1fr;
  }

  .track__grid > * {
    grid-column: 1 / -1 !important;
  }
}

.track ul, .track__tags {
  list-style-type: none;
  display: flex;
  gap: 0.5rem;
}

.single-itineraires .track__tags {
  justify-content: center;
  margin-bottom: calc(var(--spacer)/2);
}

.single-itineraires section.hero-pages {
    padding-bottom: 0 !important;
    min-height: auto;
    background-image: none;
    margin-bottom: 0;
}

.track p {
  margin: 0;
  font-size: var(--body-s);
}

.track li, .track__tags li {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--primary);
  border-radius: 10rem;
  text-transform: uppercase;
}

.track__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}


.track__content h3 {
    text-transform: uppercase;
    font-size: var(--body-m);
    font-weight: 500;
    margin-bottom: -.2rem;
}


/* ABOUT */

#about {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  height: auto;
  gap: 1rem;
  padding-bottom: 8rem;
}

#about > div:first-child {
  padding: 2rem;
  background: #e6e6e6;
  border-radius: 4rem;
  aspect-ratio: 1.1;
}

#about .subtitle span {
  color: var(--bg);
  z-index: 2;
}

#about .subtitle span::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  z-index: -1;
  left: -0.32rem;
  /* top: -0.05rem; */
}

@keyframes gradient-loop {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#about > div {
  flex: 1 1 calc(50% - 2rem);
  margin-bottom: var(--spacer);
}

#about .ctn {
  display: flex;
}

#about div:last-child {
  align-items: center;
}

#about h3 {
  font-family: Parkinsans;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(var(--letter-spacing) * 2);
}

#about p {
  color: #5c5c5c;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  /* 150% */
  letter-spacing: var(--letter-spacing);
}

#about img {
  border-radius: 4rem;
  aspect-ratio: 1.1;
  object-fit: cover;
}

@media screen and (min-width: 991px) {
  #about .ctn {
    display: flex;
  }

  #about div:has(p) {
    padding-right: calc(var(--spacer) * 2);
    padding-left: calc(var(--spacer) * 1);
  }
}

@media screen and (max-width: 991px) {
  #about {
    overflow: hidden;
    padding-bottom: 3rem;
    flex-direction: column-reverse;
  }

  #about > div:first-child {
    aspect-ratio: auto;
  }

  #about img {
    aspect-ratio: 1;
  }
}

/* STRENGHTS */

/* LISTING */

.page-template-page-db .hero {
  min-height: 0rem;
  padding: 4rem 0rem 2rem;
}

.cards__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.cards__list > a {
  width: 13.5rem;
  min-height: 18.35rem;
  padding: 1.25rem;
  border-radius: 0.5rem;
  position: relative;
  color: white;
  font-size: 0.8rem;
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.cards__list > a:hover {
  transform: scale(1.04);
}

.cards__list > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
  position: absolute;
  border-radius: 0.5rem;
}

.card:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(0, 0, 0, 0.55)),
    to(rgba(0, 0, 0, 0))
  );
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.55) 0,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: -1;
}

.card__info svg {
  position: absolute;
  top: -0.75rem;
  right: -1rem;
  width: 2.5rem;
  transform: rotate(12deg);
}

.card__info {
  font-size: 0.9rem;
}

.card__tag {
  background-color: var(--secondary);
  padding: 0.25rem 0.5rem 0.25rem 0.4rem;
  border-radius: 2rem;
  font-size: 0.75rem;
}

.card__name {
  font-weight: 700;
  font-size: 1.6rem;
  position: relative;
  line-height: 1;
}

.card__name sup {
  font-size: 1em;
  position: absolute;
  right: -1.25rem;
  font-family: monospace;
  bottom: 0.25rem;
}

.listing__filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.listing__select {
  position: relative;
}

.listing__filters select {
  font-weight: 500;
  padding: 0.65rem 1.3rem;
  border-radius: 2rem;
  border: 1px solid lightgray;
  color: var(--primary);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  width: 100%;
}

.listing__select::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 24px;
  /* Ajustez la taille selon vos besoins */
  height: 24px;
  /* Ajustez la taille selon vos besoins */
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NCIgaGVpZ2h0PSI0NCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNCQUNFMUQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==");
  background-size: contain;
  background-repeat: no-repeat;
  color: var(--primary);
  /* Appliquer la couleur */
}

.listing__filters select {
  font-weight: 500;
  padding: 0.65rem 2rem 0.65rem 1.3rem;
  border-radius: 2rem;
  border: 1px solid lightgray;
  color: var(--primary);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: none;
  position: relative;
}

.listing__filters span {
  font-weight: 600;
  color: var(--secondary);
}

.listing__filters form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 1rem;
  padding: 2rem;
  margin-top: 2rem;
}

.pagination a {
  text-decoration: none;
  position: relative;
}

.pagination {
  position: relative;
}

.pagination .prev-arrow {
  color: var(--secondary);
  font-weight: 900;
  position: absolute;
  top: -2px;
  left: -1.5rem;
}

.pagination .next-arrow {
  color: var(--secondary);
  font-weight: 900;
  position: absolute;
  top: -2px;
  right: -1.5rem;
}

@media screen and (max-width: 991px) {
  .cards__list {
    justify-content: center;
  }

  .listing__filters {
    flex-direction: column;
  }

  .listing__filters form {
    flex-direction: column;
    width: 100%;
  }
}

/* SINGLE ANIMALS */

.fiche {
  margin-top: 2rem;
}

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

.fiche h1 {
  line-height: 1.1;
  font-size: clamp(3rem, 8vw, 4rem);
  position: relative;
  display: inline-block;
}

.fiche h1 sup {
  font-size: 1.2em;
  position: absolute;
  right: -0.7em;
  font-family: monospace;
  bottom: -0.1em;
  color: var(--secondary);
}

.fiche__left {
  width: 50%;
}

.fiche__left ul {
  list-style-type: none;
  display: flex;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  gap: 0.5rem 0.5rem;
}

/* ul.fiche__attributes li {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}*/

.fiche__attributes li {
  border: 1px solid var(--secondary);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  font-weight: 200;
  font-size: 0.8rem;
}

/*
 ul.fiche__attributes li strong {
    font-size: 0.7em;
    text-transform: uppercase;
    color: white;
    background: var(--secondary);
    padding: 0.2em 0.7em;
    border-radius: 1rem;
}*/

ul.fiche__icons {
  gap: 1.5rem;
}

.fiche__icons li {
  position: relative;
}

.fiche__icons img {
  position: absolute;
  width: 1rem;
  bottom: -0.25rem;
  right: -0.4rem;
}

.fiche__right {
  width: 40%;
  position: sticky;
  top: 2rem;
}

.fiche__right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fiche__image {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.fiche__thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border-radius: 1rem;
}

.fiche__thumbnails .fiche__image {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.1s ease-in-out;
  opacity: 0.65;
  border-radius: 0.65rem;
}

.fiche__thumbnails .fiche__image:hover {
  transform: scale(1.1);
  opacity: 1;
}

.hidden {
  display: none;
  /* Cacher les éléments qui ne sont pas visibles au départ */
}

.fiche__right img {
  width: 100%;
  height: 29rem;
  object-fit: cover;
  border-radius: 2rem;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 4rem;
  height: 4rem;
  background: none;
  color: var(--secondary);
}

.prev {
  left: -3.25rem;
}

.next {
  right: -3.25rem;
}

img.visible {
  /* display:block!important; */
}

@media screen and (max-width: 991px) {
  .fiche__left {
    width: 100%;
  }

  .fiche__right {
    width: 100%;
  }
}

/* MODULES */

.hero__anim {
  width: 100%;
  background: var(--bg);
}

.hero__anim img {
  width: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

a.hero__more {
  font-size: 0.8rem;
  text-align: center;
  display: flex;
  justify-content: center;
  display: inline-block;
  margin: 0 auto;
  margin: 1rem auto 0;
  text-decoration: none;
  letter-spacing: var(--letter-spacing);
  font-weight: 400;
  color: #5d5d5c;
}

/* GUTENBERG COMPONENTS */

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

h2.wp-block-heading {
  font-size: 2rem;
}

.wp-block-details {
  box-sizing: border-box;
  border-bottom: 1px solid var(--primary);
  padding: 1.5rem 0;
}

h2.wp-block-heading.bigstroke {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  margin: 4rem 0;
}

h2.wp-block-heading.bigstroke::before {
  content: attr(data-text);
  position: absolute;
  top: -3rem;
  left: -50vw;
  right: 0;
  bottom: 0;
  font-size: 20vw;
  color: var(--bg);
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* overflow: hidden; */
  width: 210vw;
  /* left: 0; */
  -webkit-text-stroke: 2px #b3d8b8;
  text-stroke: 2px #b3d8b8;
  z-index: -1;
  paint-order: stroke fill;
}

@media screen and (max-width: 991px) {
  h2.wp-block-heading.bigstroke::before {
    content: "";
    display: none;
  }

  h2.wp-block-heading.bigstroke {
    margin: 1rem 0;
  }

  .wp-block-image .alignright {
    float: right;
    margin: 0;
  }
}

/* CONTACT */

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
  border-radius: 2rem;
  border: none;
  width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-weight: 200;
  /* box-shadow: 0rem 0rem 2rem #00000012; */
  cursor: auto;
  border: 1px solid lightgrey;
}

textarea.wpcf7-form-control.wpcf7-textarea {
  border-radius: 1.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: 1px solid lightgrey;
  cursor: auto;
}

/* COMITE */

.comite {
  padding: 4rem 0;
}

.comite ul {
  margin-top: 7rem;
  columns: 2;
}

/* ANIMATIONS */

.fade {
  opacity: 1;
  transform: translateY(0);
}

.animate {
  opacity: 0;
  transform: translateY(20px) skewY(3deg);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.fade-in {
  opacity: 1;
  transform: translateY(0) skewY(0deg);
}

.fade-in-up-delay {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up:nth-child(n) {
  animation-delay: calc(0.15s * var(--i));
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WP ADMIN */

#wpadminbar {
  top: unset !important;
  bottom: 0 !important;
}

html {
  margin-top: 0 !important;
}
