/* Páginas legais — Paula Dazini Nutricionista */
:root {
  --legal-ink: #282017;
  --legal-muted: #6c5d4a;
  --legal-paper: #fcf8f0;
  --legal-line: #dfcaa7;
  --legal-gold: #b68949;
  --legal-deep: #1a120a;
  --legal-sans: "Jost", "Segoe UI", sans-serif;
  --legal-serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--legal-ink);
  background: var(--legal-paper);
  font-family: var(--legal-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: #fff;
  background: var(--legal-deep);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.legal-hero {
  min-height: 315px;
  padding: 28px max(24px, calc((100vw - 1120px) / 2)) 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f7ecdc;
  background:
    radial-gradient(circle at 82% 28%, rgba(201,160,97,.3), transparent 22%),
    radial-gradient(circle at 70% 115%, rgba(155,104,50,.22), transparent 36%),
    var(--legal-deep);
}

.legal-back {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(247,236,220,.83);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-back:hover { color: #fff; }

.legal-hero__eyebrow {
  margin: 0 0 8px;
  color: #d9b476;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 740px;
  margin: 0;
  font-family: var(--legal-serif);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .92;
}

.legal-content {
  width: min(100% - 40px, 800px);
  margin: -38px auto 0;
  padding: clamp(32px, 6vw, 66px);
  position: relative;
  background: #fffdf9;
  border: 1px solid rgba(182,137,73,.26);
  box-shadow: 0 22px 65px rgba(47,29,9,.12);
}

.legal-intro {
  margin: 0 0 42px;
  color: var(--legal-muted);
  font-size: 1.08rem;
}

.legal-content section + section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--legal-line);
}

.legal-content h2 {
  margin: 0 0 12px;
  color: #4a3219;
  font-family: var(--legal-serif);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.legal-content p { margin: 0; }
.legal-content p + p { margin-top: 14px; }

.legal-content ul {
  margin: 16px 0 0;
  padding-left: 1.15rem;
}

.legal-content li + li { margin-top: 8px; }

.legal-contact {
  margin-top: 14px !important;
  padding: 18px 20px;
  color: #4a3219;
  background: #f6eddf;
  border-left: 3px solid var(--legal-gold);
}

.legal-contact a {
  color: #7a5527;
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-date {
  margin-top: 42px !important;
  color: var(--legal-muted);
  font-size: .78rem;
}

.legal-footer {
  width: min(100% - 40px, 800px);
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--legal-muted);
  font-size: .76rem;
}

.legal-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-footer a { text-underline-offset: 3px; }
.legal-footer a:hover { color: #4a3219; }

@media (max-width: 560px) {
  .legal-hero { min-height: 280px; padding-inline: 20px; padding-bottom: 52px; }
  .legal-content { width: min(100% - 28px, 800px); padding: 29px 22px; }
  .legal-intro { margin-bottom: 32px; font-size: 1rem; }
  .legal-content section + section { margin-top: 30px; padding-top: 30px; }
  .legal-footer { width: min(100% - 28px, 800px); flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
