/* ===== PAGE PARTENARIAT PEEP-UNOSEL ===== */

.peep-wrap {
  padding-top: calc(var(--header-height) + 32px);
  padding-bottom: 4rem;
}

.peep-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.peep-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, var(--codex-accent), var(--codex-accent-secondary));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.peep-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.peep-hero p {
  font-size: 1.05rem;
  color: var(--codex-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* Contexte UNOSEL */
.peep-context {
  background: #fff;
  border: 1px solid var(--primary-border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.peep-context__icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.peep-context__text {
  font-size: 0.97rem;
  color: var(--codex-muted);
  line-height: 1.7;
  margin: 0;
}

.peep-context__text strong {
  color: var(--titles-color);
}

/* Logos partenaires */
.peep-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.25rem 0 2rem;
}

.peep-partner-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.peep-partner-logo img[src*="logo-peep"] {
  height: 60px;
}

/* Titre de section */
.peep-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--titles-color);
  margin-bottom: 1.25rem;
}

/* Grille des 3 avantages */
.peep-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.peep-offer-card {
  background: #fff;
  border: 1px solid var(--primary-border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.peep-offer-card__value {
  font-family: var(--codex-heading-font);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--codex-accent-strong);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Carte du code PEEP : style distinct */
.peep-offer-card--code .peep-offer-card__value {
  font-size: 2rem;
  letter-spacing: 0.06em;
  display: inline-block;
  border: 2px dashed var(--codex-accent);
  border-radius: var(--radius-md);
  padding: 0.2rem 0.9rem;
  background: rgba(96,165,250,0.06);
}

.peep-offer-card__label {
  font-size: 0.88rem;
  color: var(--codex-muted);
  font-weight: 500;
  line-height: 1.45;
}

/* Etapes */
.peep-steps {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.peep-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--primary-border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.peep-step__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, var(--codex-accent), var(--codex-accent-secondary));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.peep-step__body > strong {
  display: block;
  font-size: 1rem;
  color: var(--titles-color);
  margin-bottom: 0.2rem;
}

.peep-step__body p {
  font-size: 0.92rem;
  color: var(--codex-muted);
  line-height: 1.55;
  margin: 0;
}

/* Mentions légales */
.peep-legal {
  background: rgba(241,245,249,0.8);
  border: 1px solid var(--primary-border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: 0.84rem;
  color: var(--codex-muted);
  line-height: 1.65;
}

/* ===== ENCART DISCRET SUR LES PAGES SÉJOUR ===== */
.peep-sejour-mention {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.peep-sejour-mention__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(219,234,254,0.45);
  border: 1px solid rgba(96,165,250,0.28);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin: 1.25rem 0 0;
}

.peep-sejour-mention__logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
}

.peep-sejour-mention__text {
  font-size: 0.9rem;
  color: var(--primary-foreground-color);
  line-height: 1.5;
  margin: 0;
}

.peep-sejour-mention__text a {
  color: var(--codex-accent-strong);
  font-weight: 600;
  white-space: nowrap;
}

.peep-sejour-mention__text a:hover {
  color: var(--codex-accent);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1024px) {
  .peep-partner-logo img {
    height: 110px;
  }

  .peep-partner-logo img[src*="logo-peep"] {
    height: 80px;
  }
}

@media (max-width: 640px) {
  .peep-offer-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .peep-context {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
  }

  .peep-hero h1 {
    font-size: 1.55rem;
  }

  .peep-partner-logo {
    gap: 1.5rem;
  }

  .peep-sejour-mention__inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
