@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

.gnav,
.pied {
  --gnav-h: 52px;
  --gnav-corps: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --gnav-titre: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --gnav-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  box-sizing: border-box;
}
.gnav *,
.pied * {
  box-sizing: border-box;
}

/* ------------------------------------------------------------ la barre */
.gnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--gnav-h);
  color: #f5f5f7;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 400 14px/1 var(--gnav-corps);
  letter-spacing: -0.01em;
}
.gnav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.gnav-marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}
.gnav-marque img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.gnav-liens {
  display: flex;
  gap: 26px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.gnav-liens a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: rgba(245, 245, 247, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.gnav-liens a:hover,
.gnav-liens a[aria-current] {
  color: #fff;
}
.gnav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.gnav-connexion {
  color: rgba(245, 245, 247, 0.72);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.gnav-connexion:hover {
  color: #fff;
}
.gnav-cta {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 15px;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--gnav-ease), background 0.25s;
}
.gnav-cta:hover {
  background: #0077ed;
  transform: scale(1.03);
}
.gnav-cta:active {
  transform: scale(0.99);
}
.gnav a:focus-visible,
.gnav button:focus-visible,
.pied a:focus-visible {
  outline: 2px solid #2997ff;
  outline-offset: 3px;
  border-radius: 6px;
}

.gnav-burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.gnav-burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--gnav-ease), top 0.35s var(--gnav-ease);
}
.gnav-burger span:first-child {
  top: 16px;
}
.gnav-burger span:last-child {
  top: 23px;
}
.gnav[data-ouvert] .gnav-burger span:first-child {
  top: 19.5px;
  transform: rotate(45deg);
}
.gnav[data-ouvert] .gnav-burger span:last-child {
  top: 19.5px;
  transform: rotate(-45deg);
}

.gnav-menu {
  position: fixed;
  inset: var(--gnav-h) 0 0 0;
  display: none;
  flex-direction: column;
  padding: 18px clamp(22px, 7vw, 40px) 40px;
  overflow: auto;
  background: #000;
}
.gnav[data-ouvert] .gnav-menu {
  display: flex;
  animation: gnav-menu 0.4s var(--gnav-ease) both;
}
@keyframes gnav-menu {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.gnav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  font: 600 30px/1.1 var(--gnav-titre);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.gnav-menu .gnav-menu-cta {
  justify-content: center;
  margin-top: 28px;
  padding: 0;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #0071e3;
  font: 500 17px/1 var(--gnav-corps);
  letter-spacing: -0.01em;
}
.gnav-menu .gnav-menu-doux {
  justify-content: center;
  margin-top: 12px;
  border: 0;
  color: rgba(245, 245, 247, 0.72);
  font: 400 16px/1 var(--gnav-corps);
}
html[data-menu-ouvert] {
  overflow: hidden;
}

@media (max-width: 1280px) {
  .gnav-liens {
    gap: 20px;
  }
}

@media (max-width: 1180px) {
  .gnav-in {
    gap: 18px;
  }
  .gnav-liens {
    gap: 16px;
  }
}

@media (max-width: 1100px) {
  .gnav-liens,
  .gnav-connexion {
    display: none;
  }
  .gnav-actions {
    margin-left: auto;
    gap: 10px;
  }
  .gnav-burger {
    display: inline-block;
  }
}

/* ------------------------------------------------------------ le pied */
.pied {
  position: relative;
  z-index: 2;
  background: #000;
  color: rgba(245, 245, 247, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font: 400 13px/1.55 var(--gnav-corps);
}
.pied-in {
  display: grid;
  gap: 44px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px clamp(20px, 4vw, 40px) 32px;
}
.pied-haut {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.pied-marque {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 30ch;
}
.pied-marque a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.pied-marque img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.pied-marque p {
  margin: 0;
}
.pied-col h3 {
  margin: 0 0 12px;
  color: #f5f5f7;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pied-col a {
  display: block;
  padding: 4px 0;
  color: rgba(245, 245, 247, 0.58);
  text-decoration: none;
  transition: color 0.2s;
}
.pied-col a:hover {
  color: #fff;
}
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pied-bas a {
  color: rgba(245, 245, 247, 0.58);
  text-decoration: none;
}
.pied-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.pied-bas a:hover {
  color: #fff;
}
@media (max-width: 900px) {
  .pied-haut {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pied-marque {
    grid-column: 1 / -1;
  }
}
