/* ============================================================
   Growthappiness — Legal Pages Shared Styles
   Used by: mentions-legales.html, politique-cookies.html
   Design system: dark #0A0A0A · cream #F5F0E6 · yellow #FFB400 · pink #F6C2F4
   Fonts: Anton (display) + Geist (body)
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.ga-legal-hero {
  position: relative;
  background: var(--v3-ink, #0A0A0A);
  color: var(--v3-cream, #F5F0E6);
  padding: 120px 32px 80px;
  overflow: hidden;
  isolation: isolate;
}

.ga-legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(246, 194, 244, 0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 20% 80%, rgba(255, 180, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ga-legal-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ga-legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--v3-yellow, #FFB400);
  margin-bottom: 28px;
}

.ga-legal-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--v3-yellow, #FFB400);
  flex-shrink: 0;
}

.ga-legal-hero h1 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 100px);
  line-height: .9;
  letter-spacing: -.012em;
  text-transform: uppercase;
  color: var(--v3-cream, #F5F0E6);
  margin: 0 0 32px;
}

.ga-legal-hero h1 em {
  font-style: normal;
  color: var(--v3-pink, #F6C2F4);
}

.ga-legal-hero-sub {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.65);
  max-width: 520px;
  margin: 0;
}

.ga-legal-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
}

.ga-legal-hero-meta span {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.45);
}

.ga-legal-hero-meta strong {
  color: rgba(245, 240, 230, 0.8);
  font-weight: 500;
}

/* ── CONTENT BODY ───────────────────────────────────────────── */
.ga-legal-body {
  background: var(--v3-cream, #F5F0E6);
  color: var(--v3-ink, #0A0A0A);
}

.ga-legal-body-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

/* Table of contents */
.ga-legal-toc {
  background: #FFFFFF;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 64px;
}

.ga-legal-toc h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--v3-ink, #0A0A0A);
  margin: 0 0 20px;
}

.ga-legal-toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: decimal;
}

.ga-legal-toc li {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.ga-legal-toc a {
  color: var(--v3-ink, #0A0A0A);
  text-decoration: none;
  font-weight: 500;
  transition: color 220ms ease;
}

.ga-legal-toc a:hover {
  color: var(--v3-yellow-brand, #DCA100);
  text-decoration: underline;
}

/* Sections */
.ga-legal-section {
  padding: 52px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.10);
}

.ga-legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ga-legal-section h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -.008em;
  text-transform: uppercase;
  line-height: .95;
  color: var(--v3-ink, #0A0A0A);
  margin: 0 0 28px;
}

.ga-legal-section h2 em {
  font-style: normal;
  color: var(--v3-yellow-brand, #DCA100);
}

.ga-legal-section h3 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--v3-ink, #0A0A0A);
  margin: 36px 0 14px;
}

.ga-legal-section h3:first-child {
  margin-top: 0;
}

.ga-legal-section p {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: #2A2A2A;
  margin: 0 0 18px;
}

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

.ga-legal-section ul,
.ga-legal-section ol {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: #2A2A2A;
  margin: 0 0 18px;
  padding-left: 22px;
}

.ga-legal-section li {
  margin-bottom: 6px;
}

.ga-legal-section a {
  color: var(--v3-ink, #0A0A0A);
  font-weight: 600;
  text-underline-offset: 3px;
  transition: color 220ms ease;
}

.ga-legal-section a:hover {
  color: var(--v3-yellow-brand, #DCA100);
}

.ga-legal-section strong {
  font-weight: 600;
  color: var(--v3-ink, #0A0A0A);
}

/* Callout box */
.ga-legal-callout {
  background: var(--v3-ink, #0A0A0A);
  color: var(--v3-cream, #F5F0E6);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 28px 0;
}

.ga-legal-callout p {
  color: rgba(245, 240, 230, 0.85) !important;
  margin: 0;
}

.ga-legal-callout a {
  color: var(--v3-yellow, #FFB400) !important;
  font-weight: 600;
}

.ga-legal-callout a:hover {
  color: var(--v3-pink, #F6C2F4) !important;
}

/* Highlight strip */
.ga-legal-highlight {
  background: rgba(255, 180, 0, 0.10);
  border-left: 3px solid var(--v3-yellow, #FFB400);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #2A2A2A;
}

/* Contact card */
.ga-legal-contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 28px;
}

.ga-legal-contact-card .ga-legal-contact-label {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #888;
  display: block;
  margin-bottom: 4px;
}

.ga-legal-contact-card .ga-legal-contact-value {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--v3-ink, #0A0A0A);
}

/* Cookie type cards */
.ga-legal-cookie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.ga-legal-cookie-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
  padding: 24px;
}

.ga-legal-cookie-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.ga-legal-cookie-card-icon--essential { background: rgba(198, 244, 214, 0.4); }
.ga-legal-cookie-card-icon--analytics  { background: rgba(255, 180, 0, 0.15); }
.ga-legal-cookie-card-icon--marketing  { background: rgba(246, 194, 244, 0.3); }
.ga-legal-cookie-card-icon--perf       { background: rgba(199, 202, 255, 0.35); }

.ga-legal-cookie-card h4 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--v3-ink, #0A0A0A);
  margin: 0 0 8px;
}

.ga-legal-cookie-card p {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #555 !important;
  margin: 0 !important;
}

/* ── FOOTER OVERRIDE (already defined in accueil-v3.css, just ensure link is active) ── */
.v3-footer a[href="mentions-legales.html"],
.v3-footer a[href="politique-cookies.html"] {
  /* highlighted on respective pages via aria-current */
}

.v3-footer a[aria-current="page"] {
  color: var(--v3-yellow, #FFB400);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .ga-legal-hero {
    padding: 100px 20px 60px;
  }

  .ga-legal-body-inner {
    padding: 52px 20px 72px;
  }

  .ga-legal-toc {
    padding: 24px 22px;
  }

  .ga-legal-contact-card {
    flex-direction: column;
    gap: 16px;
    padding: 22px 20px;
  }

  .ga-legal-section {
    padding: 36px 0;
  }

  .ga-legal-callout {
    padding: 20px 20px;
  }
}
