@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* =========================================================
   RESET & BASE
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #171a19;
  background-color: #fafcfb;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

/* =========================================================
   LAYOUT CONTAINER
========================================================= */

.container {
  width: min(100% - 48px, 1024px);
  margin: 0 auto;
}

/* =========================================================
   BACKGROUND AMBIENT
========================================================= */

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.background-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
}

.background-orb-top {
  width: 560px;
  height: 560px;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(52, 211, 153, 0.13);
}

.background-orb-left {
  width: 420px;
  height: 420px;
  left: -260px;
  top: 42%;
  background: rgba(45, 212, 191, 0.08);
}

.background-orb-right {
  width: 480px;
  height: 480px;
  right: -300px;
  top: 30%;
  background: rgba(52, 211, 153, 0.08);
}

.background-grid {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: 
    linear-gradient(rgba(15, 118, 110, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 1) 1px, transparent 1px);
  background-size: 48px 48px;
}

.background-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 15%, rgba(250, 252, 251, 0.9) 82%);
}

/* =========================================================
   HEADER
========================================================= */

.header {
  position: relative;
  z-index: 10;
  padding-top: 36px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  text-decoration: none;
}

.logo {
  width: auto;
  height: 38px;
  user-select: none;
}

/* =========================================================
   STATUS BADGE
========================================================= */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 999px;
  background: rgba(236, 253, 245, 0.6);
  color: #047857;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* =========================================================
   HERO / MAIN CONTENT
========================================================= */

.main {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - 170px);
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.hero {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #68716d;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.035em;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.025);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 28px 0 0;
  color: #111413;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.065em;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: #66706c;
  font-size: clamp(19px, 3vw, 25px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-description {
  max-width: 600px;
  margin: 30px auto 0;
}

.hero-description-title {
  margin: 0;
  color: #303735;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.hero-description-text {
  margin: 10px 0 0;
  color: #7a837f;
  font-size: 14px;
  line-height: 1.75;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.hero-divider span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.45);
}

.hero-divider i {
  display: block;
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0));
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  position: relative;
  z-index: 10;
  padding-bottom: 34px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(229, 231, 235, 0.65);
  color: #9aa29e;
  font-size: 12px;
}

.copyright {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: #929b97;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #047857;
}

/* =========================================================
   PÁGINAS LEGAIS
========================================================= */

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.back-link {
  color: #69736f;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.back-link:hover {
  color: #047857;
}

.legal-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 70px 24px 100px;
}

.legal-content {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 52px 56px;
  border: 1px solid rgba(229, 231, 235, 0.75);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.legal-label {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 999px;
  background: rgba(236, 253, 245, 0.65);
  color: #047857;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin: 22px 0 0;
  color: #111413;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.legal-intro {
  margin: 20px 0 0;
  color: #68716d;
  font-size: 16px;
  line-height: 1.7;
}

.legal-section {
  margin-top: 44px;
}

.legal-section h2 {
  margin: 0;
  color: #202523;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal-section p {
  margin: 13px 0 0;
  color: #59625e;
  font-size: 14px;
  line-height: 1.8;
}

.legal-section ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: #59625e;
  font-size: 14px;
  line-height: 1.8;
}

.legal-section li {
  padding-left: 4px;
  margin-bottom: 5px;
}

.legal-section a {
  color: #047857;
  font-weight: 500;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-section strong {
  color: #202523;
}

.legal-updated {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(229, 231, 235, 0.7);
  color: #9aa29e;
  font-size: 11px;
}

.legal-footer {
  margin-top: auto;
}

/* =========================================================
   RESPONSIVIDADE (MOBILE & TABLET)
========================================================= */

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1024px);
  }

  .header {
    padding-top: 24px;
  }

  .logo {
    height: 32px;
  }

  .status-badge {
    padding: 7px 10px;
    font-size: 10px;
  }

  .main {
    min-height: calc(100vh - 145px);
    padding: 50px 16px;
  }

  .hero-tag {
    max-width: 100%;
    font-size: 10px;
    text-align: center;
  }

  .hero h1 {
    margin-top: 24px;
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 18px;
  }

  .hero-description {
    margin-top: 26px;
  }

  .hero-description-title {
    font-size: 14px;
  }

  .hero-description-text {
    font-size: 13px;
  }

  .footer {
    padding-bottom: 24px;
  }

  .footer-content {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  .footer-links {
    gap: 18px;
  }

  .legal-main {
    padding: 32px 16px 60px;
  }

  .legal-content {
    padding: 32px 20px;
    border-radius: 22px;
  }

  .legal-intro {
    font-size: 14px;
  }

  .legal-section {
    margin-top: 32px;
  }

  .legal-section h2 {
    font-size: 17px;
  }

  .legal-section p,
  .legal-section ul {
    font-size: 13px;
  }
}

/* =========================================================
   ACCESSIBILITY & ANIMATION OVERRIDES
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}