/* ===== LANDING PAGE ===== */

.landing {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Permet de prendre au moins la hauteur de l'écran, mais peut s'étendre */
  overflow: visible; /* Permet le scroll */
}

.grid-debug {
    position: absolute;
    inset: 0;
    z-index: 999;
    pointer-events: none;

    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;

    padding: 2rem 1%;
    box-sizing: border-box;
}

.grid-debug span {
    background: rgba(255, 0, 0, .15);
    border: 1px solid rgba(255, 0, 0, .5);
}

.landing__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.landing__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* ===== GRID ===== */

.landing__content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;

  width: 100%;
  height: 100%;

  padding: 2rem 5%;
  box-sizing: border-box;
}

/* ===== LOGO ===== */

.landing__logo {
  grid-column: 1 / 9;
  align-self: start;
}

.logo {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  font-size: 2.5rem;
  color: white;
  text-decoration: none;
}

/* ===== MENU ===== */

.landing__menu {
  grid-column: 9 / 13;
  justify-self: end;
  align-self: start;
}

.menu {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__link {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.menu__link:hover {
  opacity: 0.7;
}