/* ============================================
   MATALON ADVOCACIA — Design System
   ============================================ */

:root {
  /* Brand */
  --brand: #29b5d0;        /* claro: texto/realce sobre superfícies escuras */
  --brand-deep: #15788e;   /* WCAG AA (≥4.5:1) sobre branco e creme — eyebrows, links, botões */
  --brand-soft: #d6f1f6;

  /* Neutrals */
  --ink: #0f1419;
  --ink-soft: #2a3038;
  --muted: #5a6470;
  --line: #e5e1d8;
  --cream: #faf7f2;
  --paper: #ffffff;

  /* Type */
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 4px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   Accessibility
   ============================================ */
/* Skip to content */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: top .2s var(--ease);
}

.skip-link:focus { top: 12px; }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: 2px;
}

/* On dark surfaces, use the lighter brand for a legible ring */
.process :focus-visible,
.cta-final :focus-visible,
.site-footer :focus-visible,
.nav-cta:focus-visible {
  outline-color: var(--brand);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
  display: inline-block;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
  position: relative;
}

.nav-links a:hover { color: var(--brand-deep); }

.nav-cta {
  background: var(--brand-deep);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all .25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  animation: nav-cta-pulse 2s infinite;
}

.nav-cta:hover { background: var(--ink); color: var(--paper); }

@keyframes nav-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
  50% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, var(--brand-soft) 0%, transparent 65%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--brand-deep);
  font-weight: 400;
}

.hero-text .lead {
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.hero-meta-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--brand-deep);
  line-height: 1;
}

.hero-meta-label {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 200px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-soft);
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 20, 25, 0.55) 100%);
  pointer-events: none;
}

.hero-visual-caption {
  position: absolute;
  bottom: 1.8rem;
  left: 1.8rem;
  right: 1.8rem;
  color: var(--paper);
  z-index: 2;
}

.hero-visual-caption .name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.hero-visual-caption .role {
  font-size: 0.85rem;
  color: rgba(255,255,255,.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -10px rgba(26, 138, 163, .5);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-wa {
  background: #25d366;
  color: #fff;
}

.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.btn-arrow {
  transition: transform .25s var(--ease);
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================
   Sections
   ============================================ */
.section-head {
  max-width: 720px;
  margin-bottom: 4rem;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================
   "Como ajudamos" — services
   ============================================ */
.services {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.service {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
  position: relative;
}

.service:hover { background: var(--cream); }

.service-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--brand-deep);
  font-style: italic;
  margin-bottom: 1rem;
}

.service h3 { margin-bottom: 0.8rem; }

.service p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ============================================
   "Para quem é" — Who we help
   ============================================ */
.for-who {
  background: var(--cream);
}

.for-who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.who-card {
  background: var(--paper);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(15, 20, 25, .15);
}

.who-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--brand-deep);
}

.who-card h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: 0.5rem; font-size: 1.05rem; }
.who-card p { font-size: 0.93rem; color: var(--muted); }

/* ============================================
   Como funciona — process
   ============================================ */
.process {
  background: var(--ink);
  color: var(--cream);
}

.process h2 { color: var(--cream); }
.process .eyebrow { color: var(--brand); }
.process .lead { color: rgba(250, 247, 242, .75); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  counter-reset: step;
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}

.step h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--cream);
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.step p {
  color: rgba(250, 247, 242, .7);
  font-size: 0.95rem;
}

/* ============================================
   Sobre / Nossa história
   ============================================ */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-visual::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--brand-soft) 0%, transparent 65%);
  opacity: 0.7;
  pointer-events: none;
}

.about-visual::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(41, 181, 208, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-visual-year {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-weight: 300;
  font-style: italic;
  color: var(--brand-deep);
  line-height: 0.9;
  letter-spacing: -0.04em;
  z-index: 2;
}

.about-visual-year-label {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
  z-index: 2;
}

.about-visual-quote {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink-soft);
  z-index: 2;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.about-visual-quote::before {
  content: "“";
  display: block;
  font-size: 4rem;
  line-height: 0.6;
  margin-bottom: 0.5rem;
  color: var(--brand-deep);
  font-style: normal;
}

.about-visual-signature {
  position: relative;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.2rem;
  letter-spacing: 0.04em;
  z-index: 2;
}

.about-visual-signature strong {
  color: var(--ink);
  font-weight: 600;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text h2 em { font-style: italic; color: var(--brand-deep); font-weight: 400; }
.about-text p { margin-bottom: 1.2rem; color: var(--ink-soft); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--brand-deep);
  line-height: 1;
  font-style: italic;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.3;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.faq-list {
  margin-top: 3rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color .2s var(--ease);
}

.faq-q:hover { color: var(--brand-deep); }

.faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform .3s var(--ease);
}

.faq-q-icon::before,
.faq-q-icon::after {
  content: "";
  position: absolute;
  background: var(--brand-deep);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-q-icon::before { width: 14px; height: 1.5px; }
.faq-q-icon::after { width: 1.5px; height: 14px; transition: transform .3s var(--ease); }

.faq-item.open .faq-q-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}

.faq-a p {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  transition: padding .35s var(--ease);
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { padding: 0 0 1.5rem; }

/* ============================================
   CTA Final
   ============================================ */
.cta-final {
  background:
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.1), transparent 40%);
}

.cta-final .container { position: relative; }

.cta-final h2 {
  color: var(--paper);
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.cta-final h2 em { font-style: italic; }

.cta-final p {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-final .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.cta-final .btn-primary:hover {
  background: var(--ink);
  color: var(--paper);
}

.cta-final .btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,.5);
}

.cta-final .btn-secondary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 242, .75);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1.2rem;
  display: block;
}

.footer-brand .logo img {
  height: 42px;
  width: auto;
}

.footer-brand p {
  color: rgba(250, 247, 242, .6);
  max-width: 280px;
  font-size: 0.9rem;
}

.footer h3 {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-list a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, .1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, .5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(250, 247, 242, .6);
  border-bottom: 1px solid transparent;
  transition: all .2s var(--ease);
  padding-bottom: 1px;
}

.footer-bottom-links a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.footer-bottom a:hover { color: var(--brand); }

/* ============================================
   Floating WhatsApp
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, .55);
  z-index: 90;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: wa-pulse 2.4s infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  animation: none;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.wa-float-label {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all .25s var(--ease);
  pointer-events: none;
}

.wa-float:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px -4px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .5); }
  50% { box-shadow: 0 8px 24px -4px rgba(37, 211, 102, .55), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============================================
   Cookie banner (LGPD)
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 100px;
  max-width: 460px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,.25);
  border: 1px solid var(--line);
  padding: 1.5rem;
  z-index: 95;
  transform: translateY(120%);
  transition: transform .4s var(--ease);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cookie-banner p a {
  color: var(--brand-deep);
  border-bottom: 1px solid currentColor;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-actions button {
  min-height: 44px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .2s var(--ease);
}

.cookie-accept {
  background: var(--ink);
  color: var(--cream);
}
.cookie-accept:hover { background: var(--brand-deep); }

.cookie-reject {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.cookie-reject:hover { border-color: var(--ink); }

/* ============================================
   Legal pages (privacy + terms)
   ============================================ */
.legal-page {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-page .container-narrow {
  background: var(--paper);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.legal-page h1 { margin-bottom: 0.8rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; }

.legal-page h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  color: var(--brand-deep);
}

.legal-page h3 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 1.5rem 0 0.6rem;
  letter-spacing: 0;
}

.legal-page p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-page ul, .legal-page ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--ink-soft);
}

.legal-page li { margin-bottom: 0.5rem; line-height: 1.65; }

.legal-page a { color: var(--brand-deep); border-bottom: 1px solid currentColor; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-back:hover { color: var(--brand-deep); }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  animation: fadeUp .8s var(--ease) forwards;
}

.hero-text > * { animation: fadeUp .9s var(--ease) backwards; }
.hero-text > *:nth-child(1) { animation-delay: .05s; }
.hero-text > *:nth-child(2) { animation-delay: .15s; }
.hero-text > *:nth-child(3) { animation-delay: .25s; }
.hero-text > *:nth-child(4) { animation-delay: .35s; }
.hero-text > *:nth-child(5) { animation-delay: .45s; }

.hero-visual {
  animation: fadeUp 1s var(--ease) .3s backwards;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    align-items: flex-start;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 100px;
    max-width: none;
  }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .about-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}
