/*
  Vértice Imóveis — Páginas legais
  Política de Privacidade, Política de Cookies e Termos de Uso
*/

:root {
  --vt-blue-950: #071f2d;
  --vt-blue-900: #0d3345;
  --vt-blue-800: #123e52;
  --vt-green-600: #74c84b;
  --vt-green-700: #59a93b;
  --vt-cream-50: #fbfaf7;
  --vt-cream-100: #f8f5ef;
  --vt-cream-150: #f4efe7;
  --vt-cream-200: #ece4d7;
  --vt-cream-300: #ddd4c8;
  --vt-text: #102f41;
  --vt-muted: #5f717c;
  --vt-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 96px;
}

body.page-legal {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(116, 200, 75, 0.08), transparent 31vw),
    radial-gradient(circle at 88% 14%, rgba(13, 51, 69, 0.07), transparent 34vw),
    linear-gradient(180deg, var(--vt-cream-50), var(--vt-cream-100) 35%, var(--vt-cream-50));
  color: var(--vt-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(116, 200, 75, 0.42);
  outline-offset: 4px;
}

::selection {
  background: var(--vt-green-600);
  color: white;
}

.site-header {
  transition:
    box-shadow 0.32s var(--vt-ease),
    border-color 0.32s var(--vt-ease),
    background-color 0.32s var(--vt-ease);
}

.site-header.is-scrolled {
  border-color: rgba(16, 47, 65, 0.1);
  background: rgba(251, 250, 247, 0.98);
  box-shadow: 0 16px 45px rgba(16, 47, 65, 0.08);
}

.nav-link {
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--vt-green-600);
  transform: translateX(-50%);
  transition: width 0.28s var(--vt-ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 22px;
}

.mobile-nav {
  box-shadow: 0 26px 50px rgba(16, 47, 65, 0.08);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: var(--vt-blue-950);
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(116, 200, 75, 0.26), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(7, 31, 45, 0.98), rgba(13, 51, 69, 0.92));
}

.legal-hero__inner {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.legal-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  max-width: 880px;
  color: white;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.legal-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 500;
}

.legal-shell {
  display: grid;
  gap: 2rem;
  grid-template-columns: 320px minmax(0, 1fr);
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  border: 1px solid rgba(16, 47, 65, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.25rem;
  box-shadow: 0 16px 42px rgba(16, 47, 65, 0.07);
}

.legal-sidebar h2 {
  color: var(--vt-blue-900);
  font-size: 0.85rem;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.legal-sidebar nav {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.legal-sidebar a {
  border-radius: 12px;
  padding: 0.78rem 0.9rem;
  color: #536672;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.24s var(--vt-ease),
    color 0.24s var(--vt-ease),
    transform 0.24s var(--vt-ease);
}

.legal-sidebar a:hover,
.legal-sidebar a.is-active {
  color: var(--vt-blue-900);
  background: rgba(116, 200, 75, 0.09);
  transform: translateX(3px);
}

.legal-content {
  border: 1px solid rgba(16, 47, 65, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(1.3rem, 4vw, 3rem);
  box-shadow: 0 22px 68px rgba(16, 47, 65, 0.08);
}

.legal-content .last-updated {
  display: inline-flex;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(116, 200, 75, 0.18);
  border-radius: 999px;
  background: rgba(116, 200, 75, 0.08);
  padding: 0.58rem 0.95rem;
  color: var(--vt-green-700);
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 800;
}

.legal-content section {
  padding: 1.75rem 0;
  border-top: 1px solid var(--vt-cream-200);
}

.legal-content section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--vt-blue-900);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.legal-content h3 {
  margin-top: 1.35rem;
  color: var(--vt-blue-900);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 800;
}

.legal-content p,
.legal-content li {
  color: #4d606b;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 500;
}

.legal-content p {
  margin-top: 1rem;
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.05rem;
  padding-left: 1.2rem;
}

.legal-content li::marker {
  color: var(--vt-green-700);
  font-weight: 800;
}

.legal-note {
  margin-top: 1.4rem;
  border: 1px solid rgba(13, 51, 69, 0.12);
  border-radius: 18px;
  background: var(--vt-cream-100);
  padding: 1.1rem;
}

.legal-note strong {
  color: var(--vt-blue-900);
}

.legal-cta {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--vt-blue-900);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 24px 60px rgba(13, 51, 69, 0.22);
}

.legal-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(116, 200, 75, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.legal-cta > * {
  position: relative;
}

.legal-cta h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: white;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.legal-cta p {
  max-width: 720px;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.site-footer {
  position: relative;
}



.site-footer a {
  text-decoration: none;
}

[data-animate] {
  opacity: 1;
}

@media (max-width: 1023px) {
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: relative;
    top: auto;
  }

  .legal-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .legal-hero {
    padding-top: 68px;
  }

  .legal-hero::before {
    inset-top: 68px;
  }

  .legal-hero__inner {
    min-height: 390px;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .brand-link img {
    height: 2.55rem;
  }

  .site-header__inner {
    height: 68px;
  }

  .legal-sidebar nav {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
