/* =========================================================
   Pages légales (mentions, confidentialité, CGU)
   Style minimaliste — fond blanc, une colonne centrée
   ========================================================= */

.page-legal { background: var(--blanc); }

/* ---------- HEADER (titre simple, pas de hero) ---------- */
.legal-header {
  padding: 140px 0 24px;
  background: var(--blanc);
}

/* Largeur alignée sur le reste du site (--container: 1200px) */

.legal-header .overline {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 14px;
}

.legal-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  color: var(--bleu-levinergy);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.legal-header .legal-intro {
  font-size: 15px;
  color: var(--graphite);
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}

.legal-header .legal-meta {
  margin-top: 18px;
  font-size: 12px;
  color: var(--graphite);
  letter-spacing: 0.04em;
}

/* ---------- CORPS (une colonne, fond blanc) ---------- */
.legal-body {
  background: var(--blanc);
  padding: 24px 0 96px;
}

/* .legal-body .container hérite de --container: 1200px du style global */

/* ---------- SECTIONS (texte plain, pas de cartes) ---------- */
.legal-section {
  margin: 0 0 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.legal-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--bleu-levinergy);
  margin: 0 0 14px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--bleu-haze);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite);
  margin: 22px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal-section p,
.legal-section li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--encre);
  margin: 0 0 12px;
  font-weight: 400;
}

.legal-section ul {
  padding-left: 20px;
  margin: 0 0 14px;
}

.legal-section li { margin-bottom: 6px; }

.legal-section strong {
  color: var(--bleu-levinergy);
  font-weight: 700;
}

.legal-section a {
  color: var(--bleu-levinergy);
  text-decoration: underline;
  font-weight: 500;
}
.legal-section a:hover { color: var(--encre); }

/* ---------- BLOC INFO CLÉS (SIREN, etc.) ---------- */
.legal-keyblock {
  margin: 14px 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.legal-keyblock dl {
  margin: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6px 18px;
}

.legal-keyblock dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
  align-self: baseline;
  padding: 4px 0;
}

.legal-keyblock dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--encre);
  font-weight: 500;
  padding: 4px 0;
}

/* ---------- LISTE CONTACT (sans icônes pour rester sobre) ---------- */
.legal-contact {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
}

.legal-contact li {
  margin: 0 0 4px !important;
  font-size: 14.5px;
}

.legal-contact li i {
  color: var(--bleu-levinergy);
  margin-right: 8px;
  font-size: 12px;
  width: 16px;
}

/* ---------- ENCADRÉ ALERTE (vigilance / usurpation) ---------- */
.legal-alert {
  display: flex;
  gap: 18px;
  background: #FFF7E8;
  border: 1px solid #F0C97A;
  border-left: 3px solid #D9881C;
  padding: 22px 26px;
  margin: 32px 0 8px;
}

.legal-alert-icon {
  font-size: 20px;
  color: #B36C00;
  flex-shrink: 0;
  line-height: 1.2;
  padding-top: 2px;
}

.legal-alert-body { flex: 1; min-width: 0; }

.legal-alert h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #6B4200;
  margin: 0 0 10px;
  border: 0;
  padding: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-alert p {
  color: #5A3700;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 10px;
}

.legal-alert strong { color: #4A2D00; }

.legal-alert-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.legal-alert-cta i { font-size: 12px; }

@media (max-width: 600px) {
  .legal-alert { flex-direction: column; gap: 12px; padding: 20px; }
  .legal-alert-icon { padding-top: 0; }
}

/* ---------- BOUTON RETOUR ---------- */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid var(--pierre);
  border-radius: 999px;
  color: var(--bleu-levinergy);
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  transition: all 0.2s;
}

.legal-back:hover {
  background: var(--bleu-haze);
  border-color: var(--bleu-levinergy);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .legal-header { padding: 120px 0 16px; }
  .legal-body { padding: 16px 0 64px; }
  .legal-keyblock dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-keyblock dt { padding-bottom: 0; margin-top: 8px; }
  .legal-keyblock dt:first-child { margin-top: 0; }
  .legal-keyblock dd { padding-top: 0; }
}
