/* =============================================
   KIZA — legal.css
   CGV & Politique de confidentialité
   ============================================= */

/* ── LAYOUT ── */
.legal-main {
  min-height: 100vh;
  padding-top: 88px;
  background: var(--bg, #F2F6FB);
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 52px 120px;
}

/* ── HEADER ── */
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border, rgba(44,95,138,0.12));
}

.legal-back {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #7A90A8);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--blue, #2C5F8A); }

.legal-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #7A90A8);
  background: rgba(44,95,138,0.07);
  padding: 4px 10px;
}

/* ── TITLE ── */
.legal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--navy, #152238);
  margin-bottom: 16px;
}
.legal-title em {
  font-style: italic;
  color: var(--blue, #2C5F8A);
}

.legal-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted, #7A90A8);
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--border, rgba(44,95,138,0.12));
}

/* ── SECTIONS ── */
.legal-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border, rgba(44,95,138,0.08));
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* H2 — titre de partie */
.legal-section > h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy, #152238);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue, #2C5F8A);
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-section > h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--blue, #2C5F8A);
  flex-shrink: 0;
}

/* H3 — sous-articles */
.legal-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue, #2C5F8A);
  margin-top: 32px;
  margin-bottom: 10px;
}

/* paragraphes */
.legal-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--slate, #3D5A7A);
  line-height: 1.85;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section p strong { color: var(--navy, #152238); font-weight: 600; }

/* listes */
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section ul li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--slate, #3D5A7A);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.legal-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue, #2C5F8A);
  font-size: 0.75rem;
  top: 4px;
}

/* liens */
.legal-section a {
  color: var(--blue, #2C5F8A);
  text-decoration: none;
  border-bottom: 1px solid rgba(44,95,138,0.3);
  transition: border-color 0.2s, color 0.2s;
  font-weight: 500;
}
.legal-section a:hover {
  border-color: var(--blue, #2C5F8A);
  color: var(--navy, #152238);
}

/* ── CONTACT BLOCK inside legal ── */
.legal-contact-block {
  background: rgba(44,95,138,0.05);
  border-left: 3px solid var(--blue, #2C5F8A);
  padding: 18px 24px;
  margin: 20px 0;
}
.legal-contact-block p { margin-bottom: 6px !important; }

/* ── FOOTER legal ── */
.footer-center { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.footer-legal { display: flex; align-items: center; gap: 8px; }
.footer-legal a {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: var(--blue); }
.footer-legal-sep { color: var(--muted); font-size: 0.6rem; }
.footer-right { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-credit {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.06em; color: var(--muted);
}
.footer-credit a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: var(--blue); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .legal-inner { padding: 40px 24px 80px; }
  .legal-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-center { align-items: flex-start; }
  .footer-right { align-items: flex-start; }
}
