/* ═══════════════════════════════════════════════════════
   Legal Pages · legal.css
   Estilos para Política de Privacidade, Termos de Uso e Política de Cookies
   Otimizado: Espaçamento reduzido para melhor fluxo de leitura
   ═══════════════════════════════════════════════════════ */

/* ── HERO SECTION ── */
.legal-hero {
  background: linear-gradient(135deg, rgba(74, 16, 35, 0.95), rgba(58, 12, 27, 0.95)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 400"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,.05)" stroke-width="1"/></pattern></defs><rect width="1440" height="400" fill="url(%23grid)"/></svg>');
  color: var(--white);
  padding: 80px var(--px) 56px;
  text-align: center;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ── CONTENT SECTION ── */
.legal-content {
  background: var(--white);
  padding: 48px var(--px);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--wine);
  margin-bottom: 10px;
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin: 14px 0 8px 0;
  line-height: 1.3;
}

.legal-section p {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 10px;
  max-width: 100%;
}

.legal-section p:last-of-type {
  margin-bottom: 0;
}

.legal-section p strong {
  font-weight: 600;
  color: var(--wine);
}

.legal-section p a {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-color: rgba(74, 16, 35, 0.3);
  text-underline-offset: 3px;
  transition: all var(--transition);
}

.legal-section p a:hover {
  color: var(--wine-deep);
  text-decoration-color: var(--wine-deep);
}

/* ── LISTS ── */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 10px 0;
}

.legal-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.7;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--wine);
  border-radius: 50%;
  flex-shrink: 0;
}

.legal-list li strong {
  font-weight: 600;
  color: var(--wine);
}

/* ── CONTACT CARD ── */
.legal-contact-card {
  background: var(--alt-section);
  border-left: 3px solid var(--wine);
  padding: 18px 16px;
  margin: 16px 0;
  border-radius: 4px;
}

.legal-contact-card p {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.legal-contact-card p:last-child {
  margin-bottom: 0;
}

.legal-contact-card strong {
  color: var(--wine);
  font-weight: 600;
}

.legal-contact-card a {
  color: var(--wine);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 16, 35, 0.3);
  transition: all var(--transition);
}

.legal-contact-card a:hover {
  border-bottom-color: var(--wine);
}

/* ── FOOTER SECTION ── */
.legal-footer-section {
  background: var(--wine-mist);
  padding: 20px 16px;
  border-radius: 6px;
  margin-top: 28px;
}

.legal-footer-section p {
  font-style: italic;
  color: var(--ink-soft);
}

/* ── TABLE OF CONTENTS (if needed) ── */
.legal-toc {
  background: var(--alt-section);
  border: 1px solid var(--nude-dark);
  border-radius: 6px;
  padding: 20px 18px;
  margin-bottom: 28px;
}

.legal-toc h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wine);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
}

.legal-toc li {
  margin-bottom: 6px;
}

.legal-toc li a {
  color: var(--wine);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.legal-toc li a:hover {
  text-decoration: underline;
  text-decoration-color: var(--wine);
  text-underline-offset: 3px;
}

/* ── FOOTER LINKS ── */
footer .footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 16px 0;
  flex-wrap: wrap;
}

footer .footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

footer .footer-links a:hover {
  color: var(--wine);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .legal-hero {
    padding: 56px var(--px) 40px;
    min-height: 240px;
  }

  .legal-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

  .legal-content {
    padding: 40px var(--px);
  }

  .legal-section {
    margin-bottom: 32px;
  }

  .legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .legal-section h3 {
    font-size: 1.05rem;
    margin-top: 16px;
  }
}

@media (max-width: 520px) {
  .legal-hero {
    padding: 40px var(--px) 32px;
    min-height: 200px;
  }

  .legal-hero h1 {
    font-size: 1.6rem;
  }

  .legal-subtitle {
    font-size: 0.8rem;
  }

  .legal-content {
    padding: 28px var(--px);
  }

  .legal-section {
    margin-bottom: 28px;
  }

  .legal-section h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .legal-section h3 {
    font-size: 1rem;
    margin-top: 14px;
  }

  .legal-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  .legal-list li {
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.95rem;
  }

  footer .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
