/* ============================================================
   LEGAL PAGES — Terms & Privacy — Smart Expos
   ============================================================ */

/* ── Hero ── */
.sl-hero {
  position: relative;
  height: 340px;
  background: linear-gradient(135deg, #05101f 0%, #0a2540 60%, #0d1f38 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.sl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212,175,55,0.05) 0%, transparent 60%);
}

.sl-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.sl-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.sl-hero__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #d4af37;
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 50px;
  padding: 5px 18px;
  margin-bottom: 18px;
}

.sl-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin: 0 0 12px;
}

.sl-hero__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.50);
  margin: 0;
}

/* ── Body ── */
.sl-body {
  background: #f7f8fa;
  padding: 60px 0 80px;
}

.sl-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Table des matières ── */
.sl-toc {
  background: #fff;
  border: 1px solid rgba(212,175,55,0.20);
  border-left: 4px solid #d4af37;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.sl-toc__title {
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d4af37;
  margin: 0 0 16px;
}

.sl-toc__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sl-toc__list li a {
  font-size: 0.92rem;
  color: #0a2540;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sl-toc__list li a:hover {
  color: #d4af37;
}

/* ── Content ── */
.sl-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sl-section {
  background: #fff;
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
  scroll-margin-top: 90px;
}

.sl-section__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a2540;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212,175,55,0.20);
  position: relative;
}

.sl-section__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #d4af37;
  border-radius: 2px;
}

.sl-section p {
  font-size: 0.93rem;
  line-height: 1.80;
  color: #444;
  margin: 0 0 12px;
}

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

.sl-section ul, .sl-section ol {
  padding-left: 22px;
  margin: 10px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sl-section ul li, .sl-section ol li {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.65;
}

.sl-section a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sl-section a:hover { color: #a67c3d; }

.sl-section strong { color: #0a2540; }

/* ── Contact list ── */
.sl-contact-list {
  list-style: none !important;
  padding-left: 0 !important;
}

.sl-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sl-contact-list li i {
  width: 20px;
  color: #d4af37;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Boutons retour ── */
.sl-back {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.sl-back__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, #d4af37, #f0c030);
  color: #0a1828;
  box-shadow: 0 6px 20px rgba(212,175,55,0.30);
}

.sl-back__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.45);
}

.sl-back__btn--outline {
  background: transparent;
  color: #0a2540;
  border: 2px solid rgba(212,175,55,0.40);
  box-shadow: none;
}

.sl-back__btn--outline:hover {
  background: rgba(212,175,55,0.08);
  border-color: #d4af37;
  box-shadow: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .sl-hero { height: 260px; }
  .sl-section { padding: 22px 20px; }
  .sl-toc { padding: 20px; }
  .sl-back { flex-direction: column; }
  .sl-back__btn { justify-content: center; }
}
