@font-face {
  font-family: 'Eros';
  src: url('../fonts/Eros-Bold.woff2') format('woff2'),
    url('../fonts/Eros-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

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

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

@font-face {
  font-family: 'Hagrid';
  src: url('../fonts/Hagrid-Medium.woff2') format('woff2'),
    url('../fonts/Hagrid-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hagrid Text';
  src: url('../fonts/HagridText-Light.woff2') format('woff2'),
    url('../fonts/HagridText-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hagrid Text';
  src: url('../fonts/HagridText-Regular.woff2') format('woff2'),
    url('../fonts/HagridText-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bleu: #4241B2;
  --blanc: #F5EEE4;
  --beige: #D5B196;
  --jaune: #FDF281;
  --rouge: #E55148;
  --rose: #EFD4D8;

  --font-hagrid-text: 'Hagrid Text', sans-serif;
  --font-hagrid: 'Hagrid', sans-serif;
  --font-eros: 'Eros', serif;

  --container-max: 140rem;
  --container-padding: 8.6rem;

  --bg: #F5EEE4;
  --text: #4241B2;
  --link: currentColor;
  --border: #4241B2;
}

@media (max-width: 1024px) {
  :root {
    --container-padding: 24px;
  }
}

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

* {
  margin: 0;
}

html {
  font-size: 62.5%;
}

body {
  font-family: var(--font-hagrid-text);
  font-size: 2rem;
  line-height: 3rem;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  transition: background-color .3s ease, color .3s ease;
}

/* @media (max-width: 1024px) {
  body {
    font-size: 1.6rem;
    line-height: 2.6rem;
  }
} */

body.bg--base {
  --bg: #F5EEE4;
}

body.bg--blue {
  --bg: #4241B2;
}

body.bg--pink {
  --bg: #EFD4D8;
}

body.bg--beige {
  --bg: #D5B196;
}

body.bg--red {
  --bg: #E55148;
}

body.text--dark {
  --text: #4241B2;
  --border: #4241B2;
}

body.text--light {
  --text: #F5EEE4;
  --border: #F5EEE4;
}

body.text--yellow {
  --text: #FDF281;
  --border: #FDF281;
}

body.text--red {
  --text: #E55148;
  --border: #E55148;
}

a {
  color: var(--link);
  transition: color .3s ease;
  text-decoration: none;
}

.subtitle {
  font-family: var(--font-hagrid);
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 2.6rem;
  font-weight: normal;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  transition: color .6s ease;
}

.big-title {
  font-family: 'Eros', serif;
  font-size: 8.4rem;
  line-height: 8.4rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 3.4rem;
  transition: color .3s ease;
}

@media (max-width: 1024px) {
  .big-title {
    font-size: 6.4rem;
    line-height: 6.4rem;
  }
}

.layout {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.layout--centered {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-hagrid);
  font-size: 1.6rem;
  line-height: 2.6rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.4rem 2.2rem;
  border: 1px solid var(--border);
  border-radius: 5rem;
  cursor: pointer;
  transition:
    transform .4s ease,
    box-shadow .4s ease,
    border-color .3s ease,
    background-color .4s ease,
    color .4s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--text) 20%, transparent);
  background: var(--text);
  color: var(--bg);
}

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

.link {
  font-family: var(--font-hagrid);
  font-size: 1.6rem;
  line-height: 2.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 3px 5px;
  border-bottom: 1px solid var(--border);
  transition: border-color .3s ease;
}

/*-------------- ANIMATIONS --------------*/

html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity .75s ease,
    transform .75s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js .reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

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

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 2.4rem;
}

.site-nav {
  padding-top: 3rem;
}

.site-nav--left {
  justify-self: start;
}

.site-nav--right {
  justify-self: end;
}

.site-branding {
  justify-self: center;
}

.site-branding svg {
  fill: currentColor;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
}

.site-nav ul li {
  font-family: var(--font-hagrid);
  font-size: 1.4rem;
  line-height: 2.4rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color .3s ease;
}

.site-nav ul li:not(:last-child) {
  padding-right: 3.4rem;
}

/* On ne cache QUE si JS est actif (html.js) */
html.js .site-header .site-branding,
html.js .site-header .site-nav .menu>li {
  opacity: 0;
  transform: translateY(-10px);
}

html.js .site-header.is-animating .site-branding,
html.js .site-header.is-animating .site-nav .menu>li {
  transition: opacity .7s ease, transform .7s ease;
}

html.js .site-header.is-visible .site-branding,
html.js .site-header.is-visible .site-nav .menu>li {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {

  html.js .site-header .site-branding,
  html.js .site-header .site-nav .menu>li {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

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

/* Mobile-only hidden by default */
.site-nav__mobile-link,
.site-nav__mobile-btn {
  display: none;
}

/* <=1024 : on switch */
@media (max-width: 1024px) {

  /* cache uniquement les UL des menus desktop */
  .site-nav .menu {
    display: none;
  }

  /* affiche les actions mobiles */
  .site-nav__mobile-link,
  .site-nav__mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hagrid);
    font-size: 1.4rem;
    line-height: 2.4rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    border: 0;
    color: currentColor;
    cursor: pointer;
    text-decoration: none;
  }
}

/* ---------- FULLSCREEN MENU ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--text);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 2.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 8px, 0);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition: opacity .35s ease, transform .35s ease, visibility 0s;
}

.mobile-menu__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding-top: 5rem;
}

.mobile-menu__branding {
  grid-column: 2;
  justify-self: center;
}

.mobile-menu__close {
  grid-column: 3;
  justify-self: end;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: var(--font-hagrid);
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding-top: 2.4rem;
  cursor: pointer;
}

/* centre menu */
.mobile-menu__nav {
  flex: 1;
  display: grid;
  place-items: center;
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: grid;
  gap: 2.4rem;
}

.mobile-menu__list a {
  color: inherit;
  text-decoration: none;
  font-family: var(--font-eros);
  font-weight: bold;
  font-size: 3.4rem;
  /* 34px */
  line-height: 3.4rem;
  text-transform: uppercase;
}

/* Logo en blanc : ton SVG doit utiliser currentColor (fill/stroke) */
.mobile-menu .site-branding svg,
.mobile-menu__branding svg {
  color: #fff;
  /* si ton svg est en currentColor */
}

/* Empêche scroll body quand menu ouvert */
body.is-menu-open {
  overflow: hidden;
}


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

.site-footer {
  color: var(--text);
  padding-top: 21rem;
  padding-bottom: 12rem;
}

.footer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--jaune);
  transition: border-color .3s ease;
  border-color: var(--border);
}

.footer-top__text {
  font-family: var(--font-eros);
  /* font-size: 34.2rem; */
  font-size: 20vw;
  /* line-height: 24.6rem; */
  line-height: 14vw;
  font-weight: bold;
  margin: 0;
  transition: color .3s ease;
}

@media (max-width: 600px) {
  .footer-top__text {
    font-size: 13.8rem;
    line-height: 9.6rem;
  }
}

@media (max-width: 450px) {
  .footer-top__text {
    font-size: 28vw;
    line-height: 22vw;
  }
}

.footer-top__text span {
  display: block;
}

.footer-top__text .thin {
  font-weight: normal;
}

.footer__btn {
  display: inline-block;
  width: 12.8rem;
  color: currentColor;
}

@media (max-width: 1024px) {
  .footer__btn {
    width: 6.8rem;
  }
}

.footer__btn svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer-links {
  padding-top: 12rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
}

.footer-col__title {
  font-family: var(--font-hagrid);
  font-size: 1.6rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  transition: color .3s ease;
}

.footer-link {
  display: block;
  text-decoration: none;
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin-bottom: 0.4rem;
  transition: color .3s ease;
}

@media (max-width: 1100px) {
  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

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

.hero {
  margin-top: 13.8rem;
  margin-bottom: 17.4rem;
}

@media (max-width: 1024px) {
  .hero {
    margin-bottom: 0;
  }
}

.hero .subtitle {
  margin-bottom: 3.4rem;
}

.hero .big-title {
  max-width: 63rem;
  margin: 0 auto 3.4rem;
}

.hero__media {
  margin-top: 4.6rem;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about {
  color: var(--text);
  padding-top: 16rem;
  padding-bottom: 16rem;
}

@media (max-width: 1024px) {
  .about {
    padding-bottom: 0;
  }
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

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

.about__col {
  display: flex;
  align-items: center;
}

.about__col--text {
  justify-content: flex-start;
  text-align: center;
  max-width: 59rem;
  margin: auto;
}

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

.about__media {
  overflow: hidden;
  position: relative;
}

.about__img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  display: block;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}


.about__link {
  margin-top: 3.4rem;
  list-style: none;
  padding: 0;
}

.about__link li {
  margin-bottom: 1.6rem;
}

.trophee {
  color: var(--text);
  padding-top: 17.4rem;
  padding-bottom: 16.4rem;
}

.trophee__text,
.actualites__text {
  max-width: 80.5rem;
  margin: auto;
}

.trophee-marquee {
  color: var(--text);
  padding-bottom: 13.8rem;
}

.trophee-marquee__inner {
  overflow: hidden;
  width: 100%;
  padding: 34px 0 0;
  border-top: 1px solid var(--rouge);
  border-bottom: 1px solid var(--rouge);
  border-color: var(--border);
  transition: border-color .3s ease;
}

.trophee-marquee__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  will-change: transform;
}

.trophee-marquee__group {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.trophee-marquee__word {
  font-family: var(--font-eros);
  font-size: 22rem;
  text-transform: uppercase;
  line-height: 1;
}

.parallax {
  width: 100%;
}

.parallax__media {
  position: relative;
  height: 93rem;
  overflow: hidden;
}

.parallax__img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  display: block;

  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.partenaires {
  padding-top: 17.4rem;
  padding-bottom: 24rem;
}

.actualites {
  color: var(--text);
  padding-top: 17.4rem;
  padding-bottom: 17.4rem;
}

@media (max-width: 1024px) {
  .actualites {
    padding-bottom: 0;
  }
}

.actualites .btn {
  margin-top: 6.4rem;
}

.news-grid {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 4rem;
}

@media (max-width: 1024px) {
  .news-grid {
    gap: 2.4rem;
  }
}

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

.news-card {
  min-height: 70rem;
  text-align: left;
  border: 1px solid;
  border-color: var(--border);
  transition: border-color .3s ease;
}

.news-card__media {
  display: block;
  overflow: hidden;
}

.news-card__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card__body {
  display: grid;
  padding: 2.4rem 3rem 3rem;
}

.news-card__meta {
  font-family: var(--font-hagrid-text);
  font-size: 1.6rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-card__title {
  font-family: var(--font-eros);
  font-size: 3.4rem;
  line-height: 3.4rem;
  margin-bottom: 4rem;
}

.news-card__title a {
  color: inherit;
}

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

/*-------------- ABOUT --------------*/

.page-intro {
  padding-top: 15.4rem;
  padding-bottom: 18rem;
}

.page-intro__text {
  max-width: 116rem;
  margin: 0 auto 6.4rem;
}

.page-intro__media {
  overflow: hidden;
}

.page-intro__img,
.page-intro__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.goals {
  padding-top: 20rem;
  padding-bottom: 20rem;
}

.goals__head {
  margin-bottom: 12.4rem;
}

.goals__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goals__item {
  text-align: center;
  padding: 0 5rem;
}

.goals__item:not(:first-child) {
  border-left: 1px solid var(--border);
}

.goals__num {
  margin-bottom: 3rem;
}

.goals__title {
  font-family: var(--font-eros);
  font-size: 3.4rem;
  line-height: 3.4rem;
  margin-bottom: 2.4rem;
}

.goals__text {
  margin: auto;
  max-width: 42rem;
}

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

  .goals__item {
    padding: 6.4rem 0;
  }

  .goals__item:not(:first-child) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .goals__text {
    max-width: auto;
  }
}

.people-card {
  margin-top: 22.4rem;
  margin-bottom: 24rem;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4rem;
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.bureau-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2rem;
}

.people-item {
  text-align: center;
  border: 1px solid var(--border);
}

.people-item__media {
  overflow: hidden;
}

.people-item__img {
  width: 100%;
  height: auto;
  display: block;
  /* aspect-ratio: 3 / 4; */
  object-fit: cover;
}

.people-item__name {
  margin-top: 2.8rem;
  text-transform: uppercase;
  padding: 0 10px;
}

.people-item__firstname,
.people-item__lastname {
  font-family: var(--font-eros);
  font-size: 3.4rem;
  line-height: 3.4rem;
  display: block;
}

.people-item__firstname {
  font-weight: normal;
}

.people-item__lastname {
  font-weight: bold;
}

.people-item__dates,
.people-item__etablissement {
  font-size: 1.6rem;
  line-height: 2.6rem;
  text-transform: uppercase;
  margin-top: 1.6rem;
  padding: 0 10px;
}

.bureau-item__dates {
  text-transform: none;
}

.people-item__etablissement {
  margin-bottom: 2.8rem;
}

.people-item__email {
  display: inline-block;
  font-family: var(--font-hagrid);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1.6rem;
  margin-bottom: 2.8rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 1370px) {
  .bureau-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .people-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
  }
}

@media (max-width: 1024px) {

  .page-intro,
  .goals,
  .people-card {
    padding-bottom: 0;
  }
}

@media (max-width: 900px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .bureau-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/*-------------- TROPHEE --------------*/

.page-id-12 .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.hero-video {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-video__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .4);
}

.hero-video__content {
  position: relative;
  z-index: 2;
  padding-top: 14rem;
  padding-bottom: 12rem;
}

.hero-video__text {
  max-width: 92.5rem;
  margin: 0 auto;
}

@supports (height: 100svh) {
  .hero-video {
    min-height: 100svh;
  }
}

.trophee-info {
  padding-top: 17.4rem;
  padding-bottom: 17.4rem;
}

.trophee-info__text {
  max-width: 92.5rem;
  margin: 0 auto 3.4rem;
}

.trophee-info__media {
  margin-top: 4.8rem;
  overflow: hidden;
}

.trophee-info__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.trophee-docs {
  padding-top: 8.4rem;
}

.trophee-docs__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.trophee-docs__col {
  padding: 0;
}

@media (max-width: 900px) {
  .trophee-docs__inner {
    grid-template-columns: 1fr;
    gap: 10rem;
  }
}

.trophee-docs__col:nth-child(2) {
  margin-top: 32rem;
}

@media (max-width: 900px) {
  .trophee-docs__col:nth-child(2) {
    margin-top: 0;
  }
}

.trophee-docs__parallax {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.schools {
  padding-top: 17rem;
  padding-bottom: 17rem;
}

.schools__head {
  margin-bottom: 8rem;
}

/* LIST */
.schools__list {
  position: relative;
}

/* preview hover */
.schools-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity .2s ease;
  z-index: 50;
}

.schools-preview.is-visible {
  opacity: 1;
}

.schools-preview__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* row */
.school-row,
.job-row {
  border-top: 1px solid var(--border);
}

.school-row:last-child,
.job-row:last-child {
  border-bottom: 1px solid var(--border);
}

.school-row__main,
.job-row__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0;
}

.school-row__col--meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .school-row__col--meta {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.school-row__title,
.job-row__title {
  font-family: var(--font-eros);
  font-size: 3.4rem;
  line-height: 3.4rem;
  margin: 0;
}

.school-row__col--meta,
.job-row__col--meta {
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin: 0;
}

.school-row__finalist {
  justify-self: start;
  padding: .4rem 1.2rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 5rem;
  text-transform: lowercase;
}

.school-row__toggle,
.job-row__toggle {
  color: currentColor;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: transform .45s ease;
}

.school-row__toggle img {
  width: 1.8rem;
  height: auto;
  display: block;
}

.school-row.is-open .school-row__toggle,
.job-row.is-open .job-row__toggle {
  transform: rotate(180deg);
}

.school-row__panel {
  padding: 0 0 3rem 0;
}

.school-row__block {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.school-row__desc,
.job-row__text {
  max-width: 130rem;
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin: 1.4rem 0 5rem 0;
}

.school-row__grid {
  display: grid;
  grid-template-columns: 410px auto;
  gap: 3.4rem;
  margin-bottom: 4rem;
}

.school-row__label,
.job-row__label {
  font-family: var(--font-hagrid);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 1.4rem 0;
}

.school-row__text {
  font-size: 1.6rem;
  line-height: 2.6rem;
}

.school-row__link {
  margin-top: auto;
}

.schools__more {
  margin-top: 6rem;
  text-align: center;
}

.schools__btn {
  color: var(--text);
  background-color: transparent;
}

/* responsive */
@media (max-width: 900px) {

  .school-row__main,
  .job-row__main {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name action"
      "city action";
    gap: .8rem
  }

  .school-row__col--name {
    grid-area: name;
  }

  .school-row__col--city {
    grid-area: city;
  }

  .school-row__col--action {
    grid-area: action;
  }

  .school-row__grid {
    grid-template-columns: 1fr;
  }

  .schools-preview {
    display: none;
  }
}

.job-row__col--meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.job-row__actions {
  padding-bottom: 6rem;
}

.job-row__cat {
  justify-self: center;
}

@media (max-width: 900px) {
  .job-row__main {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title action"
      "meta  action";
    align-items: center;
    column-gap: 2rem;
    padding: 2.6rem 0;
  }

  .job-row__cat {
    justify-self: start;
  }

  .job-row__col--action {
    grid-area: action;

    align-self: center;
    justify-self: end;
  }

  .job-row__toggle {
    display: grid;
    place-items: center;
  }
}

.classic-text {
  padding-top: 17.4rem;
  padding-bottom: 17.4rem;
}

.classic-text p {
  max-width: 92.5rem;
  margin: auto;
}

/*-------------- SOCIAL CLUB --------------*/
.logos {
  padding-top: 17.4rem;
  padding-bottom: 17.4rem;
}

.logos__head {
  margin-bottom: 6rem;
}

.logos__text {
  max-width: 72rem;
  margin: 0 auto;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4rem 3rem;
  align-items: start;
}

.logo-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 1.6rem;
  justify-items: center;
  text-align: center;
}

.logo-card__media {
  width: 100%;
  display: grid;
  place-items: center;
}

.logo-card__img {
  max-width: 12rem;
  height: 12rem;
  display: block;
}

.logo-card__title {
  font-family: var(--font-hagrid);
  font-size: 1.8rem;
  line-height: 2.2rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 1200px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*-------------- PARTENAIRES --------------*/

.partner {
  padding-top: 17.4rem;
  padding-bottom: 17.4rem;
}

.partner__grid {
  margin-top: 8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7.4rem;
}

.partner-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.6rem;
}

.partner-card__icon {
  margin-bottom: 1.6rem;
}

.partner-card__title {
  font-family: var(--font-eros);
  font-size: 3.4rem;
  line-height: 3.4rem;
}

.partner__actions {
  margin-top: 8rem;
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  flex-wrap: wrap;
}

/* responsive */
@media (max-width: 900px) {
  .partner__grid {
    grid-template-columns: 1fr;
  }

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

/*-------------- SLIDER --------------*/

.carousel {
  padding-top: 17.4rem;
  padding-bottom: 17.4rem;
  color: var(--text);
}

.carousel__wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.4rem;
  margin-top: 8rem;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 2.4rem;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform .6s ease;
}

/* 6 colonnes */
.carousel-card {
  flex: 0 0 calc((100% - (2.4rem * 5)) / 6);
  position: relative;
  aspect-ratio: 215 / 715;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.carousel-card__bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
}

.carousel-card__overlay {
  position: absolute;
  inset: 0;
  /* noir 10% -> transparent 30% -> transparent 70% -> noir 90% */
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, .40) 10%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, .40) 90%);
}

/* content */
.carousel-card__top,
.carousel-card__bottom {
  position: absolute;
  left: 0;
  right: 0;
  padding: 4rem 1.6rem;
  z-index: 2;
}

.carousel-card__top {
  top: 0;
}

.carousel-card__bottom {
  bottom: 0;
}

.carousel-card__logo {
  max-height: 8rem;
  height: auto;
  width: 100%;
}

.carousel-card__name {
  color: #ffffff;
  font-family: var(--font-eros);
  font-size: 3.4rem;
  line-height: 3.4rem;
  text-transform: uppercase;
}

.carousel-card__name span {
  display: block;
}

.carousel-card__firstname {
  font-weight: normal;
}

/* nav */
.carousel__nav {
  width: 5.6rem;
  height: 5.6rem;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  border: none;
  transition: transform .4s ease;
}

.carousel__nav--prev .carousel__btn-icon {
  transform: scaleX(-1);
}

.carousel__nav:hover {
  transform: translateY(-2px);
}

.carousel__icon {
  display: block;
  width: 22px;
  height: auto;
}

/* dots */
.carousel__dots {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.carousel__dot.is-active {
  background: var(--text);
}

/* responsive */
@media (max-width: 1200px) {
  .carousel-card {
    flex-basis: calc((100% - (2.4rem * 3)) / 4);
  }

  /* 4 colonnes */
}

@media (max-width: 900px) {
  .carousel-card {
    flex-basis: calc((100% - (2.4rem * 1)) / 2);
  }

  /* 2 colonnes */
}

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

  .carousel__nav {
    display: none;
  }

  .carousel-card {
    flex-basis: 80%;
  }
}

.exclusive-fs {
  position: relative;
  height: 100vh;
  min-height: 720px;
  /* optionnel */
  overflow: hidden;
}

/* viewport/track */
.exclusive-fs__viewport {
  position: relative;
  height: 100%;
}

.exclusive-fs__track {
  display: flex;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform .8s ease;
  will-change: transform;
}

.exclusive-fs__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

/* bg */
.exclusive-fs__bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

.exclusive-fs__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, .40) 10%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, .40) 90%);
}

/* contenu */
.exclusive-fs__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 6rem var(--container-padding);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.exclusive-fs__head {
  align-self: start;
}

.exclusive-fs__center {
  display: grid;
  place-items: center;
}

.exclusive-fs__logo {
  width: min(56rem, 72vw);
  max-width: 560px;
  height: auto;
  display: block;
}

.exclusive-fs__bottom {
  align-self: end;
  padding-bottom: 3rem;
}

.exclusive-fs__name {
  margin: 0;
  color: var(--blanc);
  font-family: var(--font-eros);
  font-weight: bold;
  font-size: 4.2rem;
  line-height: 4.2rem;
  text-transform: uppercase;
}

.exclusive-fs__firstname {
  font-weight: normal;
}

.exclusive-fs__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5.6rem;
  height: 5.6rem;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  z-index: 5;
  transition: transform .35s ease;
}

.exclusive-fs__nav--prev {
  left: var(--container-padding);
}

.exclusive-fs__nav--next {
  right: var(--container-padding);
}

.exclusive-fs__nav--prev .exclusive-fs__btn-icon {
  transform: scaleX(-1);
}

.exclusive-fs__nav:hover {
  transform: translateY(calc(-50% - 2px));
}

.exclusive-fs__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  z-index: 5;
}

.exclusive-fs__dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.exclusive-fs__dots button.is-active {
  background: var(--blanc);
}

/* responsive */
@media (max-width: 900px) {
  .exclusive-fs__content {
    padding: 5rem var(--container-padding);
  }

  .exclusive-fs__nav--prev {
    left: 2.4rem;
  }

  .exclusive-fs__nav--next {
    right: 2.4rem;
  }
}

@media (max-width: 560px) {
  .exclusive-fs {
    min-height: 600px;
  }

  .exclusive-fs__nav {
    display: none;
  }

  /* swipe only si tu veux */
  .exclusive-fs__name {
    font-size: 2.8rem;
    line-height: 2.8rem;
  }
}


/*-------------- CONTACT --------------*/

.page-id-20 .page-intro {
  padding-bottom: 5rem;
}

.cf-form {
  margin-top: 8rem;
}

.cf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem 6rem;
}

.cf-form input,
.cf-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: .6rem 0 1.2rem;
  color: var(--text);
  font-family: var(--font-hagrid-text);
  font-size: 2rem;
  line-height: 3rem;
  outline: none;
  margin-bottom: 2.6rem;
}

.cf-form input::placeholder,
.cf-form textarea::placeholder {
  font-family: var(--font-hagrid-text);
  font-size: 2rem;
  line-height: 3rem;
  color: currentColor;
  opacity: 1;
  transition: opacity .3s ease, font-size .3s ease, line-height .3s ease;

}

.cf-form input:focus::placeholder,
.cf-form textarea:focus::placeholder {
  opacity: .7;
  font-size: 1.4rem;
  line-height: 2rem;
}

.cf-form input.btn {
  font-family: var(--font-hagrid);
  font-size: 1.6rem;
  line-height: 2.6rem;
  padding: 1.4rem 2.2rem;
  border: 1px solid var(--border);
}

.cf-actions {
  margin-top: 6rem;
  display: flex;
  justify-content: center;
}

.wpcf7 p {
  margin: 0;
}

.wpcf7-not-valid-tip {
  margin-top: .6rem;
  font-size: 1.3rem
}

.wpcf7-form-control-wrap.website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media(max-width:900px) {
  .cf-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/*-------------- ACTUALITÉS --------------*/

.news-archive,
.jobs {
  padding-top: 15.4rem;
  padding-bottom: 17.4rem;
}

.news-filters__inner,
.jobs-filters__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 6rem;
}

.jobs-filters__inner {
  margin-bottom: 6rem;
}

.news-filter,
.jobs-filter {
  color: var(--text);
  font-family: var(--font-hagrid);
  font-size: 1.6rem;
  line-height: 2.6rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: border-color .3s ease;
  background-color: transparent;
  border: none;
  padding: 0;
}



.news-filter.is-active,
.jobs-filter.is-active {
  border-bottom: 1px solid var(--border);
}

.news-archive .news-card__body {
  padding: 2.4rem 0rem 3rem;
}

/* Full bleed */
.news-archive .news-grid-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* PAS de gap */
.news-archive .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 68rem;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.news-archive .news-card {
  padding: 4rem;
  border: 0 !important;
}

/* lignes verticales (2 traits pour 3 colonnes) */
.news-archive .news-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    /* verticales */
    linear-gradient(to right,
      transparent calc(33.333% - .5px),
      var(--border) calc(33.333% - .5px),
      var(--border) calc(33.333% + .5px),
      transparent calc(33.333% + .5px)),
    linear-gradient(to right,
      transparent calc(66.666% - .5px),
      var(--border) calc(66.666% - .5px),
      var(--border) calc(66.666% + .5px),
      transparent calc(66.666% + .5px)),
    /* horizontales répétées */
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent calc(68rem - .5px),
      var(--border) calc(68rem - .5px),
      var(--border) calc(68rem + .5px),
      transparent calc(68rem + .5px));
}


.news-archive .news-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* lignes horizontales répétées */
  background:
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent calc(68rem - .5px),
      var(--border) calc(68rem - .5px),
      var(--border) calc(68rem + .5px),
      transparent calc(68rem + .5px));
}

.news-archive .news-card {
  border-top: 1px solid var(--border);
}

.news-archive .news-card:nth-child(-n + 3) {
  border-top: 0;
}

@media (max-width: 900px) {
  .news-archive .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* une seule ligne verticale au milieu */
  .news-archive .news-grid::before {
    background:
      linear-gradient(to right,
        transparent calc(50% - .5px),
        var(--border) calc(50% - .5px),
        var(--border) calc(50% + .5px),
        transparent calc(50% + .5px));
  }

  .news-archive .news-card {
    border-top: 1px solid var(--border);
  }

  .news-archive .news-card:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 560px) {
  .news-archive .news-grid {
    grid-template-columns: 1fr;
  }

  .news-archive .news-grid::before {
    background: none;
  }

  .news-archive .news-card {
    border-top: 1px solid var(--border);
  }

  .news-archive .news-card:first-child {
    border-top: 0;
  }
}

.news-results.is-loading {
  opacity: .6;
  pointer-events: none;
}

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

.post-single {
  padding-top: 34rem;
  padding-bottom: 17.4rem;
}

@media (max-width: 1024px) {
  .post-single {
    padding-top: 15.4rem;
    padding-bottom: 0;
  }
}

.post-single__inner {
  padding-bottom: 13rem;
}

@media (max-width: 1024px) {
  .post-single__inner {
    padding-bottom: 7rem;
  }
}

.post-single__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.4rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .post-single__head {
    grid-template-columns: 1fr;
  }
}

.post-single__meta {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  font-family: var(--font-hagrid-text);
  font-size: 1.6rem;
  line-height: 2.6rem;
  font-weight: normal;
}

.post-single__title {
  font-size: 7.4rem;
  line-height: 7.4rem;
  text-transform: none;
}

.post-single__media {
  width: 100%;
  height: 72rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 1024px) {
  .post-single__media {
    height: 48rem;
  }
}

.post-single__right {
  margin-top: 7.2rem;
}

@media (max-width: 1024px) {
  .post-single__right {
    margin-top: 3.2rem;
  }
}

.post-single__share {
  margin-top: 10.2rem;
}

@media (max-width: 1024px) {
  .post-single__share {
    margin-top: 6.2rem;
  }
}

.share-icon:not(:last-child) {
  padding-right: 1.4rem;
}

.post-single__nav {
  margin-top: 7.5rem;
}

.post-single__nav-inner {
  display: flex;
  justify-content: space-between;
}

.post-nav-link {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.post-single__nav-item--prev .post-nav-link__icon {
  transform: scaleX(-1);
}

.post-nav-link__label {
  font-family: var(--font-hagrid);
  font-size: 1.6rem;
  line-height: 2.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}