/* ============================================================
   eduloop v2 — design system partagé
   Fond blanc, hiérarchie par la typo, vert utilisé avec parcimonie
   ============================================================ */
:root {
  --bg:          #FFFFFF;
  --bg-soft:     #F7FAF8;
  --bg-mint:     #EEF7F2;

  --text:        #0A1F1A;
  --text-2:      #3A4B45;
  --muted:       #7A8B85;
  --subtle:      #A2B0AA;

  --border:      #E7EFEA;
  --border-strong: #D5E0DB;

  --brand:       #0F5C42;
  --brand-h:     #0C4A36;
  --mint:        #B0E4CA;
  --mint-soft:   #E0F1E8;
  --deep-green:  #04342C;

  --radius:      14px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  --shadow-sm:   0 1px 2px rgba(10,31,26,0.04);
  --shadow:      0 4px 16px rgba(10,31,26,0.06), 0 1px 3px rgba(10,31,26,0.04);
  --shadow-lg:   0 20px 60px -20px rgba(10,31,26,0.18);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand {
  font-weight: 800; font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
}
.brand__dot {
  width: 10px; height: 10px;
  background: var(--brand); border-radius: 50%;
}
.site-nav { display: flex; gap: 4px; align-items: center; list-style: none; }
.site-nav a {
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px; border-radius: var(--radius-pill);
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); background: var(--bg-soft); }
.site-nav a.active { color: var(--text); font-weight: 600; }
.site-nav a.cta {
  background: var(--brand); color: #FFF;
  padding: 8px 18px; font-weight: 600; margin-left: 8px;
}
.site-nav a.cta:hover { background: var(--brand-h); color: #FFF; }

/* ============================================================
   HERO (variantes)
   ============================================================ */
.hero {
  padding: 96px 0 64px;
  background: var(--bg);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--brand); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15,92,66,0.12);
}
.hero__title {
  font-weight: 800;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 32px;
}
.hero__title em {
  font-style: normal; position: relative;
  display: inline-block; color: var(--text);
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: -0.05em; right: -0.05em;
  bottom: 0.08em; height: 0.32em;
  background: var(--mint);
  z-index: -1; border-radius: 4px;
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 620px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__sub + .hero__sub { margin-top: 14px; }

/* Hero compact (pour pages internes) */
.hero--compact { padding: 72px 0 48px; }
.hero--compact .hero__title { font-size: clamp(36px, 5vw, 64px); }

/* ============================================================
   Section commune
   ============================================================ */
.section { padding: 96px 0; }
.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--mint {
  background: var(--bg-mint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.section-title {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em; line-height: 1.1;
  color: var(--text);
}
.section-lead {
  margin-top: 20px;
  font-size: 17px; line-height: 1.65;
  color: var(--text-2); max-width: 640px;
}

/* ============================================================
   Cards générique (blanches, bordure fine)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.card__num {
  position: relative;
  display: inline-block;
  font-weight: 800; font-size: 44px;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 20px;
  padding: 0 6px;
  z-index: 1;
}
.card__num::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.05em;
  height: 0.35em;
  background: var(--mint);
  z-index: -1;
  border-radius: 3px;
}
.card__label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.card__title {
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--text); margin-bottom: 12px;
}
.card__text {
  font-size: 15px; line-height: 1.6;
  color: var(--text-2);
}
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--brand); margin-top: 16px;
}
.card__link::after { content: '→'; transition: transform 0.2s; }
.card__link:hover::after { transform: translateX(3px); }

/* ============================================================
   Highlight — LE bloc vert profond important
   ============================================================ */
.highlight {
  background: var(--deep-green);
  color: #FFF;
  border-radius: 28px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 48px;
  position: relative; overflow: hidden;
}
.highlight::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,228,202,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.highlight__icon {
  width: 96px; height: 96px;
  color: var(--mint); flex-shrink: 0;
  position: relative; z-index: 1;
}
.highlight__content { position: relative; z-index: 1; }
.highlight__title {
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 16px; color: #FFF;
}
.highlight__text {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
}

/* ============================================================
   Boutons — CTA primary + ghost vert
   ============================================================ */
.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand); color: #FFF;
  font-family: var(--font);
  font-size: 16px; font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  transition: background 0.15s, transform 0.05s;
  border: none; cursor: pointer;
}
.cta-primary:hover { background: var(--brand-h); color: #FFF; }
.cta-primary:active { transform: translateY(1px); }
.cta-primary::after { content: '→'; transition: transform 0.2s; }
.cta-primary:hover::after { transform: translateX(3px); }

.link-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint-soft);
  border: 1.5px solid var(--mint);
  color: var(--brand);
  font-family: var(--font);
  font-size: 15px; font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  transition: all 0.15s;
}
.link-ghost:hover {
  background: var(--mint);
  border-color: var(--brand);
  color: var(--brand-h);
  transform: translateY(-2px);
}
.link-ghost::after { content: '→'; transition: transform 0.2s; }
.link-ghost:hover::after { transform: translateX(3px); }

/* ============================================================
   Bandeau archive (saison terminée)
   ============================================================ */
.archive-banner {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: var(--text-2);
  text-align: center;
}
.archive-banner strong { color: var(--text); font-weight: 600; }
.archive-banner a {
  color: var(--brand); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.archive-banner a:hover { color: var(--brand-h); }

/* ============================================================
   NOTIFICATION FORM — multi-topics
   ============================================================ */
.notif {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 640px; margin: 0 auto;
  position: relative;
}
.notif::before {
  content: '';
  position: absolute;
  top: 0; left: 48px; right: 48px;
  height: 3px; background: var(--brand);
  border-radius: 0 0 3px 3px;
}
.notif__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.notif__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand); border-radius: 50%;
}
.notif__title {
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em; line-height: 1.15;
  color: var(--text); margin-bottom: 12px;
}
.notif__desc {
  font-size: 15px; line-height: 1.6;
  color: var(--text-2); margin-bottom: 28px;
}

.notif__topics {
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.topic-check {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.15s;
}
.topic-check:hover { border-color: var(--border-strong); background: var(--bg-soft); }
.topic-check:has(input:checked) {
  background: var(--mint-soft);
  border-color: var(--brand);
}
.topic-check input {
  margin-top: 2px;
  width: 18px; height: 18px;
  accent-color: var(--brand);
  flex-shrink: 0; cursor: pointer;
}
.topic-check__body { flex: 1; }
.topic-check__title {
  font-size: 15px; font-weight: 700;
  color: var(--text); display: block;
  margin-bottom: 2px;
}
.topic-check__desc {
  font-size: 13px; color: var(--muted);
  line-height: 1.5; display: block;
}

.notif__row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.notif__input {
  flex: 1 1 220px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px; color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.notif__input::placeholder { color: var(--subtle); }
.notif__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--mint-soft);
}
.notif__button {
  padding: 14px 26px;
  background: var(--brand); color: #FFF;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s, transform 0.05s;
}
.notif__button:hover { background: var(--brand-h); }
.notif__button:active { transform: translateY(1px); }
.notif__button::after { content: '→'; transition: transform 0.2s; }
.notif__button:hover::after { transform: translateX(3px); }

.notif__consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--muted);
  line-height: 1.5; cursor: pointer;
}
.notif__consent input {
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0; cursor: pointer;
}
.notif__consent a { color: var(--brand); text-decoration: underline; }

.notif__hp { position: absolute; left: -9999px; }

/* Flash messages retour signup */
.notif-flash {
  max-width: 640px; margin: 0 auto 24px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
}
.notif-flash--ok {
  background: var(--mint-soft);
  color: var(--brand);
  border: 1px solid var(--mint);
}
.notif-flash--err {
  background: #FDECEC;
  color: #B33A3A;
  border: 1px solid rgba(179,58,58,0.3);
}

/* ============================================================
   FAQ (aide)
   ============================================================ */
.faq-block { margin-bottom: 32px; }
.faq-block__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.faq-block__tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
  background: var(--mint-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.faq-block__title {
  font-weight: 700; font-size: 20px;
  color: var(--text);
  letter-spacing: -0.015em;
}
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--brand); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  gap: 16px;
}
.faq-q svg {
  width: 20px; height: 20px;
  color: var(--muted);
  transition: transform 0.2s, color 0.15s;
  flex-shrink: 0;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--brand); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  padding: 0 22px;
  font-size: 14px; line-height: 1.65;
  color: var(--text-2);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 22px; }
.faq-a a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   Book filter (vendre)
   ============================================================ */
.book-filter { max-width: 520px; margin: 0 0 32px; }
.book-filter label {
  display: block; margin-bottom: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
}
.book-filter select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit; font-size: 15px;
  color: var(--text); background: var(--bg);
  cursor: pointer;
}
.book-filter select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--mint-soft);
}
.book-count {
  font-size: 14px; color: var(--muted);
  margin-bottom: 12px;
}
.book-count strong { color: var(--brand); font-weight: 700; }
.book-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 480px; overflow-y: auto;
}
.book-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.book-table thead th {
  position: sticky; top: 0;
  background: var(--bg-soft);
  padding: 12px 16px; text-align: left;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.book-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.book-table tbody tr:hover td { background: var(--bg-soft); }
.book-table tbody tr:last-child td { border-bottom: none; }
.book-empty {
  padding: 40px 20px; text-align: center;
  color: var(--muted); font-size: 14px;
}

/* ============================================================
   KPI BAND — chiffres bilan
   ============================================================ */
.kpi-band {
  padding: 40px 0 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .kpi-row { grid-template-columns: 1fr; gap: 24px; }
}
.kpi {
  padding: 20px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.kpi:last-child { border-right: none; }
@media (max-width: 720px) {
  .kpi { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .kpi:last-child { border-bottom: none; }
}
.kpi__value {
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 10px;
}
.kpi__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.4;
}
.kpi__sublabel {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   HERO CTA (bouton dans le hero)
   ============================================================ */
.hero__cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__cta-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 3px;
  background: var(--brand);
  border-radius: 0 0 3px 3px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-2);
  margin: 14px 0 6px;
}
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--mint-soft);
}
.contact-form textarea { min-height: 140px; resize: vertical; font-family: inherit; line-height: 1.55; }
.contact-form__actions {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-top: 20px;
}
.contact-form__fallback {
  font-size: 13px;
  color: var(--muted);
}
.contact-form__fallback a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   HELPER TEXT (au-dessus des sélecteurs)
   ============================================================ */
.helper-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
  font-weight: 500;
}
.helper-text::before {
  content: '→';
  color: var(--brand);
  font-weight: 700;
}

/* ============================================================
   LEGAL PAGES (mentions, protection données, 404)
   ============================================================ */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-grid .card--wide { grid-column: 1 / -1; }
.legal-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}
.legal-card__body ul { margin: 10px 0 4px 20px; }
.legal-card__body li { margin-bottom: 6px; }
.legal-card__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-card__body a:hover { color: var(--brand-h); }
.legal-card__body strong { color: var(--text); font-weight: 600; }
.legal-updated {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-top: 24px;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-hero {
  padding: 120px 0 80px;
  text-align: center;
}
.error-hero__code {
  font-weight: 800;
  font-size: clamp(96px, 18vw, 200px);
  color: var(--brand);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 24px;
}
.error-hero__title {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--text);
}
.error-hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  color: var(--text-2);
}
.site-footer__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.site-footer__contact {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.site-footer__contact-text {
  font-size: 15px; font-weight: 500; color: var(--text);
}
.site-footer__nav {
  display: flex; gap: 4px; list-style: none; flex-wrap: wrap;
}
.site-footer__nav a {
  font-size: 14px; color: var(--text-2);
  padding: 8px 14px; border-radius: var(--radius-pill);
  transition: background 0.15s;
}
.site-footer__nav a:hover { background: var(--bg); color: var(--text); }
.site-footer__legal {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.site-footer__legal-links {
  display: flex; gap: 20px; list-style: none;
}
.site-footer__legal-links a { transition: color 0.15s; }
.site-footer__legal-links a:hover { color: var(--brand); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.05s; }
.reveal.d2 { transition-delay: 0.15s; }
.reveal.d3 { transition-delay: 0.28s; }

.hero > .container > * {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero__eyebrow { animation-delay: 0.1s; }
.hero__title { animation-delay: 0.2s; }
.hero__sub:nth-of-type(1) { animation-delay: 0.35s; }
.hero__sub:nth-of-type(2) { animation-delay: 0.5s; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 860px) {
  .site-header-inner { padding: 12px 20px; }
  .site-nav a { padding: 6px 10px; font-size: 13px; }
  .site-nav a.cta { padding: 8px 14px; }

  .hero { padding: 64px 0 48px; }
  .hero__title { font-size: 40px; }
  .section { padding: 64px 0; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px 24px; }

  .highlight {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 24px; text-align: center;
  }
  .highlight__icon { width: 64px; height: 64px; margin: 0 auto; }

  .notif { padding: 32px 24px; }
  .notif::before { left: 32px; right: 32px; }

  .site-footer__row { flex-direction: column; align-items: flex-start; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; text-align: left; }
}
