/* ============================================================
   pro.lafede.immo — legales.css
   Styles partagés pour CGU, mentions légales, confidentialité.
   ============================================================ */

.legales-header {
  background: linear-gradient(135deg, #1A1A1A 0%, #209C9A 100%);
  padding: 60px 24px;
  text-align: center;
  color: #fff;
}
.legales-header h1 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.legales-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
}

.legales-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.8;
  color: #1A1A1A;
  background: #F0EDE5;
}
.legales-container .legales-wrap { background: #F0EDE5; }

.legales-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 24px;
}

.legales-update {
  background: rgba(32, 156, 154, 0.1);
  color: #209C9A;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 32px;
  display: inline-block;
  font-weight: 600;
}

.legales-card h2 {
  color: #1A1A1A;
  font-family: 'League Spartan', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #209C9A;
}
.legales-card h2:first-of-type { margin-top: 0; }
.legales-card h3 {
  color: #209C9A;
  font-family: 'League Spartan', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 12px;
}
.legales-card p { margin: 0 0 16px; color: #4A4744; }
.legales-card ul, .legales-card ol { margin: 16px 0; padding-left: 24px; color: #4A4744; }
.legales-card li { margin-bottom: 8px; }
.legales-card strong { color: #1A1A1A; }
.legales-card a { color: #209C9A; text-decoration: none; }
.legales-card a:hover { text-decoration: underline; }

.legales-highlight {
  background: rgba(32, 156, 154, 0.1);
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 4px solid #209C9A;
  margin: 20px 0;
}

.legales-info-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
}
.legales-info-box-title {
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legales-info-box-title svg { width: 24px; height: 24px; color: #209C9A; }
.legales-info-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 16px;
  font-size: 0.95rem;
  margin: 0;
}
.legales-info-grid dt { font-weight: 600; color: #1A1A1A; }
.legales-info-grid dd { color: #4A4744; margin: 0; }

.legales-table-wrap { overflow-x: auto; margin: 20px 0; }
.legales-table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.legales-table-wrap th, .legales-table-wrap td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.legales-table-wrap th { background: #f8f8f8; font-weight: 600; color: #1A1A1A; }
.legales-table-wrap tr:hover { background: #fafafa; }

.legales-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.legales-badge.green  { background: rgba(40, 167, 69, 0.1); color: #28A745; }
.legales-badge.blue   { background: rgba(23, 162, 184, 0.1); color: #17A2B8; }
.legales-badge.orange { background: rgba(253, 126, 20, 0.1); color: #FD7E14; }

@media (max-width: 768px) {
  .legales-card h2 { font-size: 1.15rem; }
  .legales-table-wrap table { font-size: 0.8rem; }
  .legales-table-wrap th, .legales-table-wrap td { padding: 8px 10px; }
  .legales-info-grid { grid-template-columns: 1fr; }
}
