/* ============================================
   SECTION GATEWAY — ALL PPITES
   ============================================ */

.gateway {
  background-color: var(--noir-pur);
  padding: 120px 0 0;
  overflow: hidden;
}

/* ----- TITRE CENTRÉ ----- */
.gateway__headline {
  max-width: var(--max-largeur);
  margin: 0 auto;
  padding: 0 48px 80px;
  text-align: center;
  position: relative;
}

.gateway__headline::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  margin: 48px auto 0;
}

.gateway__headline-titre {
  font-family: var(--font-titre);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--blanc-pur);
}

.gateway__headline-titre em {
  font-style: normal;
  color: var(--gris-moyen);
}

/* ----- LAYOUT SPLIT ----- */
.gateway__split {
  max-width: var(--max-largeur);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ----- CONTENU GAUCHE ----- */
.gateway__content {
  padding: 60px 0 100px;
}

.gateway__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-corps);
  font-size: var(--taille-xs);
  font-weight: var(--poids-semi);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gris-moyen);
  margin-bottom: var(--espace-2xl);
}

.gateway__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gris-moyen);
}

.gateway__sous-titre {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--blanc-pur);
  margin-bottom: 52px;
}

/* ----- LISTE ----- */
.gateway__liste {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gateway__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  cursor: default;
  transition: padding-left 350ms ease;
}

.gateway__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.gateway__item:hover {
  padding-left: 8px;
}

/* Numéro / check */
.gateway__item-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 350ms ease;
}

.gateway__item:hover .gateway__item-num {
  background-color: var(--blanc-pur);
  border-color: var(--blanc-pur);
}

.gateway__item-num svg {
  width: 12px;
  height: 12px;
  stroke: rgba(255, 255, 255, 0.4);
  transition: stroke 350ms ease;
}

.gateway__item:hover .gateway__item-num svg {
  stroke: var(--noir-pur);
}

/* Texte de l'item */
.gateway__item-texte {
  font-family: var(--font-corps);
  font-size: var(--taille-base);
  font-weight: var(--poids-light);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 6px;
  transition: color 350ms ease;
}

.gateway__item:hover .gateway__item-texte {
  color: var(--blanc-pur);
}

/* ----- IMAGE DROITE ----- */
.gateway__image-wrapper {
  position: relative;
  height: 620px;
}

/* Cadre décoratif derrière */
.gateway__image-deco {
  position: absolute;
  top: -24px;
  right: -24px;
  bottom: 24px;
  left: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.gateway__logo-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.gateway__logo-grand {
  width: 75%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* Badge flottant sur l'image */
.gateway__badge {
  position: absolute;
  bottom: 36px;
  left: -24px;
  z-index: 2;
  background-color: var(--blanc-pur);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gateway__badge-chiffre {
  font-family: var(--font-titre);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--noir-pur);
}

.gateway__badge-texte {
  font-family: var(--font-corps);
  font-size: var(--taille-xs);
  font-weight: var(--poids-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris-neutre);
}

/* ----- BANDE BAS ----- */
.gateway__footer {
  margin-top: 0;
  background-color: var(--anthracite);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gateway__footer-texte {
  font-family: var(--font-corps);
  font-size: var(--taille-sm);
  color: rgba(255, 255, 255, 0.45);
}

.gateway__footer-texte strong {
  color: var(--blanc-pur);
  font-weight: var(--poids-semi);
}

.gateway__footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--blanc-pur);
  color: var(--noir-pur);
  font-family: var(--font-corps);
  font-size: var(--taille-sm);
  font-weight: var(--poids-semi);
  padding: 14px 28px;
  border-radius: var(--rayon-full);
  letter-spacing: 0.02em;
  transition: all var(--transition-normale);
  flex-shrink: 0;
}

.gateway__footer-cta:hover {
  background-color: var(--gris-creme);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gateway__headline { padding: 0 32px 60px; }
  .gateway__split {
    grid-template-columns: 1fr;
    padding: 0 32px;
    gap: 60px;
  }
  .gateway__image-wrapper { height: 420px; }
  .gateway__badge { left: 0; }
  .gateway__footer { padding: 36px 32px; }
}

@media (max-width: 768px) {
  .gateway { padding-top: 80px; }
  .gateway__headline { padding: 0 20px 40px; }
  .gateway__split { padding: 0 20px; gap: 40px; }
  .gateway__content { padding: 0 0 0; }
  .gateway__image-wrapper { height: 260px; }
  .gateway__image-deco { display: none; }
  .gateway__badge {
    left: 0;
    bottom: -20px;
    border-radius: 12px;
    padding: 14px 18px;
  }
  .gateway__footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
    gap: 16px;
  }
  .gateway__footer-cta {
    align-self: stretch;
    justify-content: center;
  }
}
