.alp-ra-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 540px;
  overflow: hidden;
  gap: 2px;
  background: #12271D;
}
.alp-ra-item {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  background-color: #12271D;
  transition: flex-grow 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-width: 60px;
}
.alp-ra-item.is-active {
  flex-grow: 5;
  cursor: default;
}
.alp-ra-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.alp-ra-item.is-active::before {
  opacity: 0;
}
.alp-ra-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.55);
  transition: filter 0.7s ease, opacity 0.5s ease;
  z-index: 1;
  opacity: 0;
}
.alp-ra-item.is-active .alp-ra-bg {
  filter: grayscale(0%) brightness(0.75);
  opacity: 1;
}
.alp-ra-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.alp-ra-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.alp-ra-name {
  margin: 0;
  font-family: 'General Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #EDF0EA;
  text-align: right;
}
.alp-ra-number {
  font-family: 'Martian Mono', ui-monospace, monospace;
  font-size: 0.8rem;
  color: #B4C2B2;
}
.alp-ra-eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Martian Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B4C2B2;
}
.alp-ra-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ED1E24;
  flex: none;
}
.alp-ra-claim {
  margin: 0;
  font-family: 'General Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #EDF0EA;
  max-width: 26rem;
}
.alp-ra-text, .alp-ra-terrain {
  margin: 0;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #B4C2B2;
  max-width: 26rem;
}
.alp-ra-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #EDF0EA;
  text-decoration: none;
  transition: color 0.3s ease;
}
.alp-ra-cta:hover {
  color: #ED1E24;
}

/* Contenu masque hors tuile active, panneau toujours lisible sur fond uni */
.alp-ra-item:not(.is-active) .alp-ra-eyebrow,
.alp-ra-item:not(.is-active) .alp-ra-claim,
.alp-ra-item:not(.is-active) .alp-ra-text,
.alp-ra-item:not(.is-active) .alp-ra-terrain,
.alp-ra-item:not(.is-active) .alp-ra-cta {
  display: none;
}
.alp-ra-item:focus-visible {
  outline: 2px solid #ED1E24;
  outline-offset: -2px;
}

@media (max-width: 767px) {
  .alp-ra-container {
    flex-direction: column;
    height: auto !important;
  }
  .alp-ra-item {
    min-height: 72px;
  }
  /* Tuile active : zone image en haut, texte dessous */
  .alp-ra-item.is-active {
    --alp-ra-img-h: 300px;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding-top: var(--alp-ra-img-h);
  }
  .alp-ra-item.is-active::before {
    inset: 0 0 auto 0;
    height: var(--alp-ra-img-h);
    opacity: 1;
  }
}