@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/JosefinSans-300.ttf") format("truetype");
}

@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/JosefinSans-400.ttf") format("truetype");
}

@font-face {
  font-family: "Josefin Sans Title";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/JosefinSans-700.ttf") format("truetype");
}

:root {
  --yellow: #fec107;
  --yellow-notice: #ffc000;
  --yellow-partner: #ffd75d;
  --black: #000;
  --muted: #00000099;
  --gray: #f5f5f5;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--black);
  background: #fff;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #c36;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.hero-who {
  margin: 1.6rem 0 0.6rem;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
}

.eligibilite {
  color: var(--black);
}

#pour-qui,
#notice,
#catalogue {
  scroll-margin-top: 16px;
}

.hero-cta {
  margin-top: 24px;
}

.parcours {
  background: var(--gray);
  padding: 18px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.parcours ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  counter-reset: etape;
  margin: 0 auto;
  padding: 0;
}

.parcours li {
  counter-increment: etape;
  text-align: center;
}

.parcours a {
  display: block;
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  line-height: 1.3;
}

.parcours a::before {
  content: counter(etape);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 14px;
}

.anchor {
  scroll-margin-top: 24px;
}

.object-caption,
.notice-lead {
  color: var(--muted);
  max-width: 500px;
  margin: 16px auto 0;
  line-height: 1.4;
  text-align: center;
}

.notice-lead {
  margin: 20px auto 0;
}

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.wrap {
  width: min(972px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  padding: 20px 0 10px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  width: 194px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  line-height: 15px;
}

.nav-contact {
  color: var(--black);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Josefin Sans", sans-serif;
  font-size: 15px;
  line-height: 15px;
  padding: 8px 10px 4px;
  border: 2px solid var(--yellow);
  border-radius: 50px;
  background: var(--yellow);
  color: var(--black);
}

.btn:hover {
  background: #fff;
  color: #000;
}

.btn-lg {
  padding: 15px 25px 10px;
}

.btn-notice {
  background: var(--yellow-notice);
  border-color: var(--yellow-notice);
  font-size: 22px;
  line-height: 44px;
  padding: 0 22px;
  flex-direction: row-reverse;
  text-transform: none;
}

.hero {
  padding: 48px 0 40px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: stretch;
  gap: 28px;
}

.hero-text {
  min-width: 0;
  container-type: inline-size;
}

.hero-title {
  width: auto;
  max-width: 100%;
  margin: 0;
  font-family: "Josefin Sans Title", "Josefin Sans", sans-serif;
  font-size: min(32px, 6.8cqi);
  font-weight: 700;
  line-height: 1.08;
  color: var(--black);
}

.hero-title span {
  display: table;
  padding: 0 0.06em;
  white-space: nowrap;
  color: var(--black);
  background: var(--yellow);
}

.hero-title span + span {
  margin-top: 0.08em;
}

.hero-copy {
  margin-top: 28px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.hero-copy p {
  margin: 0 0 1.4rem;
}

.hero-copy p:last-child {
  margin-bottom: 0;
}

.hero-copy strong {
  color: var(--black);
  font-weight: 400;
}

.hero-photo {
  position: relative;
  margin: 0;
  min-height: 240px;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.catalogue {
  padding: 88px 0 56px;
  text-align: center;
}

.catalogue .wrap {
  position: relative;
}

.fleche-catalogue {
  position: absolute;
  top: 50%;
  left: calc(50% + 168px);
  width: 65px;
  height: 117px;
  z-index: 3;
  transform: scaleX(-1) translateY(-50%);
}

.mark {
  position: relative;
  display: inline-block;
  line-height: 1.2;
  z-index: 0;
}

.mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.35em;
  background: var(--yellow);
  z-index: -1;
}

.heading {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1;
  margin: 0 0 20px;
  color: var(--black);
}

#titre-catalogue {
  font-size: clamp(22px, 4.2vw, 56px);
}

#titre-catalogue,
#titre-catalogue .mark {
  white-space: nowrap;
}

.catalogue-intro,
.catalogue-note {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 18px;
  line-height: 15px;
}

.catalogue-cta-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 56px 0 24px;
}

.object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  max-width: 773px;
  margin: 8px auto 0;
}

.object-grid a {
  display: block;
}

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

.object-grid a:nth-child(2),
.object-grid a:nth-child(3) {
  margin-top: 0;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .object-grid img,
  .partner-box img {
    animation: none;
  }
}

.notice-partners {
  background: var(--gray);
  padding: 64px 0;
}

.partners-band {
  background: #fff;
  padding: 72px 0 96px;
}

.notice {
  text-align: center;
  max-width: 773px;
  margin: 0 auto;
}

.notice .heading {
  line-height: 1.25;
  margin-bottom: 0;
}

.notice-cta {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 48px 0 0;
}

.notice .btn {
  margin: 0;
}

.partners {
  text-align: center;
  position: relative;
  max-width: 773px;
  margin: 0 auto;
}

.partners .heading {
  margin-bottom: 64px;
}

.partners .mark::after {
  background: var(--yellow-partner);
  height: 0.25em;
  bottom: 0.1em;
}

.arrow-partners {
  position: absolute;
  left: calc(50% - 318px);
  bottom: 44px;
  width: 65px;
  height: 117px;
}

.fleche-deplacable {
  cursor: grab;
  touch-action: none;
}

.fleche-deplacable:active {
  cursor: grabbing;
}


.partner-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.partner-box {
  border: 1px solid #000;
  padding: 12px;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.partner-box img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
}

.contact {
  background: var(--gray);
  padding: 58px 0 52px;
}

.contact-block {
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: center;
}

.contact-block .heading {
  margin-bottom: 18px;
  font-size: clamp(24px, 3.6vw, 48px);
  white-space: nowrap;
}

.contact-block .mark {
  white-space: nowrap;
}

.contact-lead {
  color: var(--muted);
  line-height: 1.35;
  margin: 0 0 22px;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: left;
}

.contact-rdv,
.contact-place {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
  line-height: 1.35;
}

.contact-place {
  text-align: left;
}

.contact-rdv {
  font-weight: 400;
  color: var(--black);
}

.contact-rdv img,
.contact-place img {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  object-fit: contain;
  object-position: center;
  flex: 0 0 20px;
}

.contact-rdv img {
  transform: translateY(1px);
}

.contact-place img {
  transform: translateY(-1px);
}

.contact-block .btn {
  margin-bottom: 22px;
}

.contact-phone {
  margin: 0 0 22px;
  color: var(--muted);
}

.contact-phone a {
  color: var(--black);
}

.contact-itineraire {
  background: #fff;
  border-color: var(--yellow);
}

.contact-itineraire:hover {
  background: var(--yellow);
}

.map {
  width: min(1140px, 100%);
  margin: 0 auto;
}

.map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.support {
  background: var(--yellow);
  margin-top: 52px;
  padding: 24px 16px;
}

.support-inner {
  width: min(700px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 16px;
  align-items: center;
}

.support p {
  margin: 0;
}

.phenix img {
  width: 200px;
}

.credit {
  text-align: center;
  padding: 18px 16px 28px;
  font-size: 15px;
}

.credit a {
  color: #fec107;
  text-decoration: none;
  padding: 0 0.25rem;
  box-shadow: inset 0 0 0 0 #000;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

.credit a:hover {
  color: #fff;
  box-shadow: inset 153px 0 0 0 var(--yellow);
}

@media (max-width: 1024px) {
  .wrap {
    width: min(100% - 32px, 960px);
  }

  .object-grid,
  .partner-row {
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    flex-direction: column;
  }

  .logo img {
    width: 180px;
  }

  .nav {
    justify-content: center;
  }

  .btn {
    font-size: 12px;
    padding: 5px 15px;
  }

  .btn-lg {
    font-size: 12px;
    padding: 8px 16px 6px;
  }

  .btn-notice {
    font-size: 16px;
    line-height: 1.2;
    padding: 8px 16px;
  }

  .hero-grid,
  .object-grid,
  .partner-row,
  .support-inner {
    grid-template-columns: 1fr;
  }

  .hero-title {
    width: auto;
    margin: 8px 0 0;
  }

  .hero-copy {
    margin-top: 12px;
    line-height: 1.35;
  }

  .hero-photo {
    position: static;
    min-height: 0;
  }

  .hero-photo img {
    position: static;
    height: auto;
  }

  .arrow-partners,
  .fleche-catalogue {
    display: none;
  }

  .parcours ol {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .parcours a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }

  .parcours a::before {
    margin: 0;
  }

  .object-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 420px;
  }

  .partner-row {
    grid-template-columns: 1fr 1fr;
  }

  .map iframe {
    height: 240px;
  }

  .support-inner {
    text-align: center;
    justify-items: center;
  }
}
