/* ════════════════════════════════════════════════════════════
   Teatch.io — Pages légales (mentions, confidentialité, CGU, cookies)
   ════════════════════════════════════════════════════════════ */

/* ── Utilitaires liens ── */
.ml-link { color: var(--primary); }
.ml-link-bold { color: var(--primary); font-weight: 600; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

/* ── Hero ── */
.ml-hero {
  background: linear-gradient(135deg, #1A1033 0%, #2d1f5e 100%);
  padding: 140px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ml-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(122, 93, 182, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.ml-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(122, 93, 182, 0.25);
  border: 1px solid rgba(122, 93, 182, 0.4);
  color: #c4b0e8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.ml-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.ml-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

/* ── Contenu ── */
.ml-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.ml-section { margin-bottom: 56px; }
.ml-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ml-section-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
.ml-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.ml-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--navy-light);
  margin-bottom: 14px;
}
.ml-section p:last-child { margin-bottom: 0; }
.ml-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 10px;
}

/* ── Info box ── */
.ml-info-box {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
  margin-top: 16px;
}
.ml-info-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.ml-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.ml-info-row:first-child { padding-top: 0; }
.ml-info-label {
  font-weight: 600;
  color: var(--navy);
  min-width: 200px;
}
.ml-info-value { color: var(--navy-light); }

/* ── Types de cookies ── */
.ml-cookie-type {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.ml-cookie-type-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ml-cookie-type-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.ml-cookie-type-badge--always { background: rgba(34, 197, 94, 0.15); color: #16a34a; }
.ml-cookie-type-badge--stats { background: rgba(59, 130, 246, 0.15); color: #2563eb; }
.ml-cookie-type-badge--marketing { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.ml-cookie-type h3 { font-size: 15px; font-weight: 700; color: var(--navy); }
.ml-cookie-type p { font-size: 14px; color: var(--navy-light); line-height: 1.65; margin: 0; }

/* ── Tableau cookies ── */
.ml-cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}
.ml-cookies-table th {
  background: var(--muted);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.ml-cookies-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--navy-light);
}
.ml-cookies-table tr:last-child td { border-bottom: none; }

/* ── Droits ── */
.ml-rights-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.ml-rights-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--navy-light);
  line-height: 1.65;
}
.ml-rights-item::before {
  content: '›';
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ── Liste cookies navigateurs ── */
.ml-cookie-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.ml-cookie-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--muted);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--navy-light);
  line-height: 1.6;
}
.ml-cookie-browser {
  font-weight: 700;
  color: var(--navy);
  min-width: 80px;
}

/* ── Lois ── */
.ml-law-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.ml-law-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--navy-light);
  line-height: 1.65;
}
.ml-law-item::before {
  content: '›';
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ── Placeholder todo ── */
.ml-todo {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Lexique ── */
.ml-lexique {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}
.ml-lex-item dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 4px;
}
.ml-lex-item dd {
  font-size: 14px;
  color: var(--navy-light);
  line-height: 1.65;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

/* ── Mise à jour ── */
.ml-update {
  text-align: center;
  font-size: 13px;
  color: var(--muted-foreground);
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .ml-info-row { flex-direction: column; gap: 4px; }
  .ml-info-label { min-width: unset; }
}
