/* ===========================================================
   UPEC_EmploiDuTemps - page Mentions légales
   Structure et mise en page reprises du site Miller Development
   (en-tête centré, encadré d'intro, sections à filet, grille
   d'informations libellé / valeur). Couleurs et polices de ce
   site-ci, via les tokens de styles.css : le tout suit le thème.
   =========================================================== */

.page-header {
  text-align: center;
  padding: 56px clamp(16px, 4vw, 48px) 40px;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 600;
  color: var(--ink);
}

.page-header p {
  margin: 0;
  font-size: clamp(15px, 2.5vw, 19px);
  color: var(--ink-soft);
}

.page-header__back {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.page-header__back:hover {
  text-decoration: underline;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px clamp(16px, 4vw, 48px) 72px;
}

.legal-intro {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.legal-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.legal-section {
  margin-bottom: 44px;
}

.legal-section:last-of-type {
  margin-bottom: 32px;
}

.legal-section h2 {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 600;
  color: var(--ink);
}

.legal-section p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.info-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.info-item .label {
  min-width: 190px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--ink);
}

.info-item .value {
  color: var(--ink-soft);
  line-height: 1.6;
}

.info-item .value a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.info-item .value a:hover {
  text-decoration: underline;
}

.legal-update {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.legal-update p {
  margin: 0;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .legal-content {
    padding-top: 40px;
  }

  .info-item {
    flex-direction: column;
    gap: 6px;
  }

  .info-item .label {
    min-width: 0;
  }
}
