/* Estilos partilhados pelas páginas legais estáticas (Política de Privacidade / Termos de Serviço).
   Ficheiro plano, sem dependências de build — usado directamente por public/*/index.html. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8fafd;
  color: #3c4657;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Header ---------- */

.site-header {
  width: 100%;
  background: #08173f;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: 83rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 0.938rem;
  line-height: 1.1rem;
  letter-spacing: -0.37px;
  font-weight: 800;
}

.brand__wordmark span.coral {
  color: #e77273;
}

.brand__wordmark span.white {
  color: #fff;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-coral {
  background: #e77273;
  color: #fff;
}

@media (max-width: 640px) {
  .site-header__actions .btn-outline {
    display: none;
  }
}

/* ---------- Main / legal layout ---------- */

.legal-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 4rem;
}

.legal-main__inner {
  width: 100%;
  max-width: 64rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 42rem;
}

.legal-header__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #e77273;
}

.legal-header h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 2.25rem;
  line-height: 2.75rem;
  font-weight: 800;
  color: #091123;
}

.legal-header p.subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #596475;
}

.legal-header p.updated-at {
  margin: 0;
  font-size: 0.813rem;
  color: #8f9aab;
}

@media (max-width: 700px) {
  .legal-header h1 {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
}

.legal-body {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.legal-toc {
  width: 16rem;
  flex-shrink: 0;
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background: #fff;
  border: 1px solid #dfe5ed;
  border-radius: 16px;
  padding: 1.25rem;
}

.legal-toc__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #8f9aab;
}

.legal-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-toc a {
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #596475;
}

.legal-toc a:hover {
  color: #e77273;
}

.legal-article {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #dfe5ed;
  border-radius: 20px;
  box-shadow: 0px 1px 2px rgba(13, 21, 40, 0.04), 0px 8px 24px rgba(13, 21, 40, 0.06);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 700px) {
  .legal-article {
    padding: 1.5rem;
  }
}

.legal-intro {
  margin: 0;
  font-size: 0.938rem;
  line-height: 1.6rem;
  color: #596475;
}

.legal-callout {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: #fff5f5;
  border: 1px solid #f3c6c6;
  border-left: 4px solid #e77273;
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
}

.legal-callout__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #091123;
}

.legal-callout p {
  margin: 0;
  font-size: 0.938rem;
  line-height: 1.55rem;
  color: #3c4657;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-margin-top: 6rem;
}

.legal-section h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #091123;
}

.legal-section-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.938rem;
  line-height: 1.6rem;
  color: #3c4657;
}

.legal-section-body p {
  margin: 0;
}

.legal-section-body ul {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: disc;
}

.link-coral {
  color: #e77273;
  text-decoration: none;
}

.link-coral:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legal-toc {
    display: none;
  }
  .legal-body {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  width: 100%;
  background: #08173f;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__inner {
  width: 100%;
  max-width: 80rem;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  padding: 3.5rem 1.5rem;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1rem;
  color: #fff;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 20rem;
  font-size: 0.938rem;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.937rem;
}

.footer-brand__logo img {
  width: 3.5rem;
}

.footer-brand__wordmark {
  font-weight: 800;
  letter-spacing: -0.37px;
  line-height: 1.253rem;
}

.footer-tagline {
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #e77273;
}

.footer-social img {
  width: 20px;
  height: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-width: 9rem;
}

.footer-col__title {
  font-weight: 600;
  letter-spacing: -0.28px;
  line-height: 1.25rem;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col__links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.25rem;
}

.footer-col__links a:hover {
  color: #fff;
}

.footer-contact {
  min-width: 13rem;
  gap: 0.718rem !important;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.25rem;
  list-style: none;
}

.footer-contact img {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-col__links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__bottom {
  align-self: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  padding: 1.25rem 1.25rem;
}
