/* ═══════════════════════════════════════════
   LEGAL.CSS — CGV, Mentions légales, RGPD
   Outdoor Booking © Creatiic
═══════════════════════════════════════════ */

.legal-main {
  padding: 120px 24px 96px;
  background: var(--cream);
  min-height: 80vh;
}

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

/* ── HEADER ── */
.legal-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ddd8d0;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--night);
  margin-bottom: 12px;
  line-height: 1.1;
}

.legal-meta {
  font-size: .82rem;
  color: var(--bark);
  opacity: .65;
}

/* ── BODY ── */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── SECTIONS ── */
.legal-section {
  padding: 32px 0;
  border-bottom: 1px solid #e8e2d8;
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--night);
  margin-bottom: 14px;
  line-height: 1.2;
}

.legal-section p {
  font-size: .9rem;
  color: var(--bark);
  line-height: 1.75;
  margin-bottom: 12px;
}

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

.legal-section ul {
  list-style: none;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-section ul li {
  font-size: .9rem;
  color: var(--bark);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.legal-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--fern);
  font-size: .75rem;
}

.legal-section a {
  color: var(--fern);
  text-decoration: none;
  border-bottom: 1px solid rgba(74,124,84,.3);
  transition: border-color var(--transition), color var(--transition);
}

.legal-section a:hover {
  color: var(--moss);
  border-color: var(--moss);
}

.legal-section strong {
  color: var(--night);
  font-weight: 600;
}

/* ── TABLE ── */
.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border-radius: var(--radius-md);
  border: 1px solid #e8e2d8;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  background: white;
}

.legal-table thead tr { background: var(--night); }

.legal-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(240,244,240,.7);
}

.legal-table thead th:first-child { color: rgba(240,244,240,.4); }

.legal-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0ece6;
  color: var(--ink);
}

.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody td:first-child    { font-weight: 600; color: var(--night); }

/* ── CONTACT BOX ── */
.legal-contact-box {
  margin-top: 48px;
  padding: 24px 28px;
  background: white;
  border: 1.5px solid #e8e2d8;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-contact-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--night);
  margin-bottom: 10px;
}

.legal-contact-box p {
  font-size: .875rem;
  color: var(--bark);
  line-height: 1.7;
  margin: 0;
}

.legal-contact-box a {
  color: var(--fern);
  text-decoration: none;
  border-bottom: 1px solid rgba(74,124,84,.3);
}
