/* === LEGAL PAGES — La Petite Fée === */

:root {
  --violet-dark: #0A2E1C;
  --violet-mid: #15432D;
  --violet-light: #2E8B57;
  --gold: #D4A574;
  --gold-light: #E8C9A0;
  --cream: #F8FDF8;
  --cream-dark: #EBF3EB;
  --txt-dark: #1E2D24;
  --txt-light: #4A6B55;
  --txt-muted: #7A9B85;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--txt-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; }

a { color: var(--violet-light); text-decoration: underline; text-underline-offset: 3px; transition: color .3s ease; }
a:hover { color: var(--gold); }

/* --- NAV --- */
.nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10, 46, 28, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  padding: 0.9rem 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--gold);
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.82rem;
  font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--violet-dark) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--gold-light); color: var(--violet-dark) !important; }

@media (max-width: 900px) {
  .nav-links li:not(.nav-links-cta) { display: none; }
}

/* --- HERO --- */
.legal-hero {
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet-mid) 100%);
  padding: 9rem 1.5rem 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.legal-hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.legal-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}
.legal-hero-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.gold-line-wide {
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto 0;
}

/* --- ARTICLE --- */
.legal-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.legal-article p,
.legal-article li {
  font-size: 0.95rem;
  color: var(--txt-dark);
  margin-bottom: 1rem;
}
.legal-article h2 {
  font-size: 1.5rem;
  color: var(--violet-dark);
  margin: 2.8rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212,165,116,0.3);
}
.legal-article h2:first-of-type { margin-top: 0; }
.legal-article h3 {
  font-size: 1.15rem;
  color: var(--violet-mid);
  margin: 1.8rem 0 0.6rem;
}
.legal-article ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-article li { margin-bottom: 0.4rem; }
.legal-article strong { color: var(--violet-dark); }
.legal-article .update-date {
  font-size: 0.82rem;
  color: var(--txt-muted);
  font-style: italic;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(122,155,133,0.2);
}
.legal-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.88rem;
}
.legal-article table th,
.legal-article table td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(122,155,133,0.25);
  vertical-align: top;
}
.legal-article table th {
  background: var(--cream-dark);
  color: var(--violet-dark);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.legal-article table a { word-break: break-all; }
.legal-article .note {
  background: rgba(212,165,116,0.08);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--txt-light);
  border-radius: 3px;
}

/* --- FOOTER --- */
.footer {
  background: var(--violet-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.footer-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
.footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.85rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color .3s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .legal-hero { padding: 7rem 1.5rem 3rem; }
  .legal-article { padding: 2.5rem 1.2rem 4rem; }
  .legal-article h2 { font-size: 1.3rem; }
}
