/* ============================================================
   Legal pages — Musicaricando Flauta Doce
   Tema: Roboto + Roboto Slab · azul royal + amarelo mostarda
   ============================================================ */

:root {
  --mfd-blue: #004AAD;
  --mfd-blue-2: #385199;
  --mfd-blue-light: #EEF3F6;
  --mfd-yellow: #FFC935;
  --mfd-yellow-soft: #FFFDE5;
  --mfd-coral: #FF6F6F;
  --mfd-text: #2B3340;
  --mfd-text-soft: #545C6B;
  --mfd-border: #D9E2EC;
  --mfd-bg: #FFFFFF;
  --ease: cubic-bezier(.4,0,.2,1);
}

*, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--mfd-bg);
  color: var(--mfd-text);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--mfd-blue);
  text-decoration: none;
  transition: color .25s ease;
}
a:hover { color: var(--mfd-blue-2); text-decoration: underline; }
::selection { background: var(--mfd-yellow); color: var(--mfd-blue); }

/* NAV */
nav.legal-nav {
  background: var(--mfd-blue);
  padding: 18px clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(0, 74, 173, .15);
}
nav.legal-nav .brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
nav.legal-nav .brand-link img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);  /* logo branco contra fundo azul */
}
nav.legal-nav .toplinks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
nav.legal-nav .toplinks a {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all .25s ease;
}
nav.legal-nav .toplinks a:hover {
  background: var(--mfd-yellow);
  color: var(--mfd-blue);
  text-decoration: none;
}

/* HERO */
header.lh {
  background: linear-gradient(135deg, var(--mfd-blue) 0%, var(--mfd-blue-2) 100%);
  color: white;
  padding: 64px clamp(20px, 5vw, 64px) 56px;
}
header.lh .lh-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
header.lh .eyebrow {
  display: inline-block;
  background: var(--mfd-yellow);
  color: var(--mfd-blue);
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
header.lh h1 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: white;
}
header.lh .subt {
  margin-top: 20px;
  max-width: 720px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
}
header.lh .updated {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  font-weight: 500;
}

/* MAIN CONTENT */
main.lc {
  flex: 1;
  background: var(--mfd-bg);
  padding: 56px clamp(20px, 5vw, 64px) 80px;
}
main.lc .lc-inner {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
main.lc section {
  background: white;
  border: 1px solid var(--mfd-border);
  border-radius: 12px;
  padding: 32px clamp(20px, 4vw, 40px);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 74, 173, .04);
  transition: box-shadow .3s ease;
}
main.lc section:hover {
  box-shadow: 0 4px 18px rgba(0, 74, 173, .08);
}
main.lc h2 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  color: var(--mfd-blue);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
main.lc h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mfd-yellow);
  color: var(--mfd-blue);
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
  font-weight: 700;
  flex: 0 0 auto;
}
main.lc h2 .text { flex: 1; }
main.lc .lead {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--mfd-blue-2);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 18px;
  padding-left: 52px;
}
main.lc p {
  margin-bottom: 14px;
  color: var(--mfd-text-soft);
  font-size: 15.5px;
  padding-left: 52px;
}
main.lc p strong { color: var(--mfd-blue); font-weight: 600; }
main.lc .callout {
  background: var(--mfd-yellow-soft);
  border-left: 4px solid var(--mfd-yellow);
  border-radius: 6px;
  padding: 22px 28px;
  margin: 24px 0 12px 52px;
  font-size: 15.5px;
  color: var(--mfd-text);
}
main.lc .callout strong {
  display: block;
  color: var(--mfd-blue);
  font-family: 'Roboto Slab', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* FOOTER */
footer.lf {
  background: var(--mfd-blue);
  color: rgba(255, 255, 255, .85);
  padding: 40px clamp(20px, 5vw, 64px) 32px;
}
footer.lf .lfg {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
footer.lf .back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--mfd-yellow);
  color: var(--mfd-blue);
  border: 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease;
}
footer.lf .back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 201, 53, .35);
  text-decoration: none;
  color: var(--mfd-blue);
}
footer.lf .copy {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
}
footer.lf .copy a { color: var(--mfd-yellow); font-weight: 500; }

/* MOBILE */
@media (max-width: 760px) {
  nav.legal-nav { padding: 14px 18px; }
  nav.legal-nav .brand-link img { height: 36px; }
  nav.legal-nav .toplinks a { padding: 6px 12px; font-size: 12px; }
  header.lh { padding: 44px 20px 36px; }
  main.lc { padding: 32px 16px 56px; }
  main.lc section { padding: 22px 18px; }
  main.lc h2 { flex-direction: row; gap: 12px; align-items: flex-start; }
  main.lc h2 .num { width: 30px; height: 30px; font-size: 12px; }
  main.lc .lead, main.lc p { padding-left: 0; }
  main.lc .callout { margin-left: 0; padding: 18px 20px; }
  footer.lf .lfg { flex-direction: column; text-align: center; }
}
