/* legal.css — estilo compartilhado das páginas legais (suporte, termos, privacidade, reembolso) */
:root {
  --rose-deep: #b8667a;
  --rose: #d48b9f;
  --rose-light: #f4d6dd;
  --rose-blush: #faeaef;
  --cream: #fbf4ec;
  --cream-dark: #f0e4d2;
  --gold: #c19a5b;
  --gold-dark: #8b6b3a;
  --burgundy: #6b2c39;
  --text: #3a2530;
  --muted: #7a5a5a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, system-ui, Arial, sans-serif;
  background: linear-gradient(180deg, var(--rose-blush) 0%, var(--cream) 100%);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
.legal-header {
  background: linear-gradient(180deg, #fff5e0 0%, var(--rose-blush) 100%);
  border-bottom: 1px solid #c19a5b33;
  padding: 1.5rem 1rem 1rem;
}
.legal-header-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.legal-brand {
  font-family: 'Cormorant Garamond', 'Dancing Script', Georgia, serif;
  font-size: 1.6rem;
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 600;
}
.legal-brand:hover { color: var(--rose-deep); }
.legal-back {
  color: var(--gold-dark);
  text-decoration: none;
  font-size: 0.92rem;
}
.legal-back:hover { text-decoration: underline; }

main.legal {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
main.legal h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--burgundy);
  font-size: 2.2rem;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
main.legal .subtitle {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 2rem;
  font-size: 0.98rem;
}
main.legal h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--burgundy);
  font-size: 1.5rem;
  margin: 2.4rem 0 0.6rem;
  border-bottom: 1px solid var(--rose-light);
  padding-bottom: 0.3rem;
}
main.legal h3 {
  color: var(--rose-deep);
  font-size: 1.1rem;
  margin: 1.6rem 0 0.4rem;
}
main.legal p { margin: 0.6rem 0; }
main.legal a { color: var(--burgundy); text-decoration: underline; }
main.legal a:hover { color: var(--rose-deep); }
main.legal ul, main.legal ol { padding-left: 1.4rem; }
main.legal li { margin: 0.25rem 0; }
main.legal strong { color: var(--burgundy); }

.callout {
  background: #fff5e0;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.1rem;
  border-radius: 6px;
  margin: 1.2rem 0;
  font-size: 0.96rem;
}
.callout.lgpd {
  background: var(--rose-blush);
  border-left-color: var(--rose-deep);
}

/* Tabela de dados (privacidade) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid var(--rose-light);
  border-radius: 8px;
  overflow: hidden;
}
.data-table th {
  background: var(--rose-blush);
  color: var(--burgundy);
  text-align: left;
  padding: 0.7rem 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--rose-light);
}
.data-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid #f0e4d2;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.table-wrapper { overflow-x: auto; }

/* FAQ accordion */
.faq details {
  background: #fff;
  border: 1px solid var(--rose-light);
  border-radius: 8px;
  padding: 0;
  margin: 0.55rem 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq details[open] { box-shadow: 0 4px 14px rgba(184, 102, 122, 0.12); }
.faq summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 600;
  color: var(--burgundy);
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { background: var(--rose-blush); }
.faq .faq-body {
  padding: 0 1.1rem 1.1rem;
  color: var(--text);
}
.faq .faq-body p:first-child { margin-top: 0; }
.faq .faq-body p:last-child { margin-bottom: 0; }

.contact-card {
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.contact-card h2 {
  margin-top: 0;
  border: none;
  padding: 0;
}
.contact-card .email-link {
  display: inline-block;
  background: var(--burgundy);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.6rem;
  font-size: 1rem;
}
.contact-card .email-link:hover { background: var(--rose-deep); color: #fff; }
.contact-card .response-time {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}

footer.legal-footer {
  background: var(--burgundy);
  color: #fdf3f6;
  padding: 1.6rem 1rem;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.6;
}
footer.legal-footer a { color: #fdf3f6; text-decoration: underline; margin: 0 0.4rem; }
footer.legal-footer a:hover { color: var(--rose-light); }
footer.legal-footer .links { margin-top: 0.4rem; }
footer.legal-footer .company {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 0.4rem;
}

@media (max-width: 600px) {
  main.legal { padding: 1.5rem 1rem 3rem; }
  main.legal h1 { font-size: 1.7rem; }
  main.legal h2 { font-size: 1.25rem; }
  .legal-header-inner { flex-direction: column; align-items: flex-start; }
}
