/* ==========================================
   MY PRETTY FAMILY - Pages Légales
   ========================================== */

/* ==================== LEGAL HERO ==================== */
.legal-hero {
  padding: 140px 48px 60px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  text-align: center;
}

.legal-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6A8FB9;
  text-decoration: none;
  margin-bottom: 32px;
  transition: gap 0.2s;
}

.back-link:hover {
  gap: 12px;
}

.legal-title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 14px;
  color: #888;
}

/* ==================== LEGAL CONTENT ==================== */
.legal-content {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  padding: 60px;
}

.legal-intro {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #f0f0f0;
}

.legal-intro p {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
}

/* ==================== LEGAL SECTIONS ==================== */
.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.legal-section h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.legal-section a {
  color: #6A8FB9;
  text-decoration: none;
}

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

/* ==================== LEGAL INFO BLOCK ==================== */
.legal-info-block {
  background: #f8fafc;
  border-left: 3px solid #6A8FB9;
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0;
}

.legal-info-block p {
  margin-bottom: 8px;
  font-size: 14px;
}

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

/* ==================== LEGAL LIST ==================== */
.legal-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.legal-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #6A8FB9;
  border-radius: 50%;
}

.legal-list li strong {
  color: #1a1a1a;
}

/* ==================== RIGHTS GRID ==================== */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.right-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
}

.right-item i {
  font-size: 20px;
  color: #6A8FB9;
  flex-shrink: 0;
  margin-top: 2px;
}

.right-item strong {
  display: block;
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.right-item span {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .legal-hero {
    padding: 120px 24px 48px;
  }
  
  .legal-content {
    padding: 32px 24px;
  }
  
  .legal-section h2 {
    font-size: 20px;
  }
  
  .rights-grid {
    grid-template-columns: 1fr;
  }
}