/* ============================================================
   EASYNETS — legal.css
   Styles pour les pages légales
============================================================ */

.legal-page {
  padding: 64px 0 96px;
  min-height: calc(100vh - 68px);
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 12px;
}

.legal-date {
  font-size: 14px;
  color: var(--gray-400);
}

/* Content */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-100);
}
.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
}
.legal-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
  margin: 20px 0 10px;
}

.legal-section p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-section a:hover { color: var(--accent-h); }

/* Lists */
.legal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  margin: 12px 0;
}
.legal-list li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.legal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.legal-list--ordered {
  counter-reset: item;
}
.legal-list--ordered li::before {
  counter-increment: item;
  content: counter(item) '.';
  font-weight: 700;
}

.legal-list li strong {
  color: var(--gray-800);
}

/* Note */
.legal-note {
  font-size: 13px !important;
  color: var(--gray-400) !important;
  font-style: italic;
  background: var(--gray-50);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--gray-200);
  margin-top: 12px;
}

/* Highlight section (rétractation) */
.legal-section--highlight {
  background: #fef9ec;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 32px;
  margin: 8px 0;
}
.legal-section--highlight h2 { color: #92400e; }
.legal-section--highlight p { color: #78350f; }

/* CGV offers */
.cgv-offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.cgv-offer {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
}
.cgv-offer h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}
.cgv-offer .legal-list li {
  font-size: 13px;
}

/* Placeholder */
.placeholder {
  background: #fef3c7;
  color: #92400e;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
}

/* Back button */
.legal-back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

/* Responsive */
@media (max-width: 768px) {
  .cgv-offers {
    grid-template-columns: 1fr;
  }
  .legal-section--highlight {
    padding: 24px 20px;
  }
}
