/* ============================================================
   LEGAL.CSS — dentikOo
   Pages : CGV · Mentions légales · Confidentialité
   Couleurs : #07070f (fond footer) · #0b5fa5 (bleu primaire)
   Police : Poppins uniquement
   ============================================================ */

/* ─── PAGE WRAPPER ─── */
.legal-page {
  background: #fafbff;
  min-height: 100vh;
  padding: 80px 0 100px;
}

/* ─── HEADER ─── */
.legal-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
  padding-bottom: 48px;
  border-bottom: 1px solid #ebebeb;
  position: relative;
}

/* Trait bleu centré sous le header */
.legal-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: #0b5fa5;
  border-radius: 2px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0b5fa5;
  background: rgba(11, 95, 165, 0.07);
  border: 1px solid rgba(11, 95, 165, 0.15);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.legal-badge i {
  font-size: 12px;
}

.legal-header h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -1.2px;
  color: #07070f;
  line-height: 1.15;
  margin-bottom: 18px;
}

.legal-meta {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.legal-meta i {
  font-size: 12px;
  color: #0b5fa5;
}
.meta-sep {
  color: #d1d5db;
}

/* ─── BODY LAYOUT ─── */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ─── SECTION ─── */
.legal-section {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.legal-section:last-child {
  border-bottom: none;
}

/* Numéro section */
.legal-section-num {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(11, 95, 165, 0.3);
  min-width: 28px;
  padding-top: 5px;
  user-select: none;
  flex-shrink: 0;
}

/* Contenu */
.legal-section-content {
  flex: 1;
  min-width: 0;
}

.legal-section-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #07070f;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.legal-section-content p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #4b5563;
  line-height: 1.85;
  margin-bottom: 12px;
}
.legal-section-content p:last-child {
  margin-bottom: 0;
}

.legal-section-content strong {
  font-weight: 600;
  color: #1f2937;
}

/* ─── LISTE ─── */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-list li {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #4b5563;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.legal-list li i {
  color: #0b5fa5;
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ─── HIGHLIGHT BOX ─── */
.legal-highlight {
  background: rgba(11, 95, 165, 0.04);
  border-left: 3px solid #0b5fa5;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.legal-highlight > i {
  color: #0b5fa5;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.legal-highlight p {
  font-size: 13.5px !important;
  color: #374151 !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

/* ─── INFO BLOCK (tableau de données) ─── */
.legal-info-block {
  background: white;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0;
}
.lib-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 18px;
  border-bottom: 1px solid #f5f5f5;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
}
.lib-row:last-child {
  border-bottom: none;
}
.lib-label {
  font-weight: 600;
  color: #07070f;
  min-width: 170px;
  flex-shrink: 0;
  font-size: 13px;
}
.lib-row span:last-child {
  color: #6b7280;
  font-weight: 300;
  line-height: 1.6;
}

/* ─── CONTACT GRID ─── */
.legal-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.lc-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 12px 18px;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: #374151;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  flex: 1;
  min-width: 200px;
}
.lc-item:hover {
  border-color: rgba(11, 95, 165, 0.25);
  box-shadow: 0 3px 14px rgba(11, 95, 165, 0.07);
}
.lc-item i {
  color: #0b5fa5;
  font-size: 14px;
  flex-shrink: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
  .legal-page {
    padding: 50px 0 70px;
  }
  .legal-header h1 {
    font-size: 28px;
  }
  .legal-header {
    margin-bottom: 44px;
  }

  .legal-section {
    flex-direction: column;
    gap: 10px;
    padding: 30px 0;
  }
  .legal-section-num {
    padding-top: 0;
  }

  .lib-row {
    flex-direction: column;
    gap: 4px;
  }
  .lib-label {
    min-width: unset;
  }

  .legal-contact-grid {
    flex-direction: column;
  }
  .lc-item {
    min-width: unset;
  }
}
