/*
  Vértice Imóveis — Página Sobre
  Passo 2: CSS completo
  Stack: HTML semântico + Tailwind CDN + GSAP/Lenis no Passo 3
*/

:root {
  --vt-blue-950: #071f2d;
  --vt-blue-900: #0d3345;
  --vt-blue-800: #123e52;
  --vt-blue-700: #1d5066;
  --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-muted-2: #7c8b94;
  --vt-border: rgba(16, 47, 65, 0.12);
  --vt-shadow-sm: 0 12px 32px rgba(16, 47, 65, 0.08);
  --vt-shadow-md: 0 24px 70px rgba(16, 47, 65, 0.12);
  --vt-shadow-lg: 0 34px 100px rgba(16, 47, 65, 0.18);
  --vt-radius-sm: 14px;
  --vt-radius-md: 22px;
  --vt-radius-lg: 30px;
  --vt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vt-header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--vt-header-h) + 24px);
}

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

body.page-sobre::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 47, 65, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 47, 65, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

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

button {
  font: inherit;
}

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

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

.font-display,
.about-hero h1,
.about-intro h2,
.about-values h2,
.about-team h2,
.about-cta h2 {
  font-family: "Playfair Display", Georgia, serif;
}

/* Header */

.site-header {
  transition:
    box-shadow 0.32s var(--vt-ease),
    border-color 0.32s var(--vt-ease),
    background-color 0.32s var(--vt-ease),
    transform 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);
}

.brand-link img {
  filter: drop-shadow(0 8px 16px rgba(16, 47, 65, 0.04));
}

.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;
}

.header-cta {
  box-shadow: 0 8px 18px rgba(16, 47, 65, 0.04);
}

.header-cta:hover {
  box-shadow: 0 14px 28px rgba(116, 200, 75, 0.15);
}

.mobile-menu-button {
  transition:
    transform 0.28s var(--vt-ease),
    border-color 0.28s var(--vt-ease),
    background-color 0.28s var(--vt-ease);
}

.mobile-menu-button:hover {
  transform: translateY(-1px);
  border-color: rgba(116, 200, 75, 0.42);
}

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

/* Hero */

.about-hero {
  isolation: isolate;
  background: var(--vt-blue-950);
}

.about-hero__media img {
  transform: scale(1.04);
  filter: saturate(0.95) contrast(1.05);
}

.about-hero h1 {
  text-wrap: balance;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.about-hero p {
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

/* Intro */

.about-intro {
  position: relative;
}

.about-intro::before {
  content: "";
  position: absolute;
  inset: 2rem 1.25rem auto auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(116, 200, 75, 0.08);
  filter: blur(35px);
  pointer-events: none;
}

.section-kicker {
  color: var(--vt-green-700);
}

.about-intro h2,
.about-values h2,
.about-team h2 {
  text-wrap: balance;
}

.about-intro figure {
  position: relative;
}

.about-intro figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 62%, rgba(7, 31, 45, 0.18)),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.2), transparent 28%);
}

.about-intro figure img {
  transition: transform 1.2s var(--vt-ease), filter 1.2s var(--vt-ease);
  filter: saturate(0.96) contrast(1.03);
}

.about-intro figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1.05);
}

.about-intro__panel {
  position: absolute;
  right: -2.2rem;
  top: 50%;
  width: min(360px, calc(100% - 2rem));
  transform: translateY(-50%);
}

.about-intro__panel li {
  color: #40545f;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 650;
}

.about-icon {
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--vt-green-700);
  background: rgba(116, 200, 75, 0.08);
  border: 1px solid rgba(116, 200, 75, 0.17);
}

.about-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Values */

.about-values {
  position: relative;
}

.value-card {
  min-height: 252px;
  padding: 1.55rem 1.35rem;
  border: 1px solid rgba(16, 47, 65, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 250, 247, 0.92)),
    var(--vt-cream-50);
  box-shadow: 0 16px 42px rgba(16, 47, 65, 0.06);
  text-align: center;
  transition:
    transform 0.36s var(--vt-ease),
    box-shadow 0.36s var(--vt-ease),
    border-color 0.36s var(--vt-ease);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(116, 200, 75, 0.38);
  box-shadow: 0 26px 68px rgba(16, 47, 65, 0.11);
}

.value-card__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vt-green-700);
  border-radius: 22px;
  background: rgba(116, 200, 75, 0.08);
  border: 1px solid rgba(116, 200, 75, 0.18);
}

.value-card__icon svg {
  width: 2rem;
  height: 2rem;
}

.value-card h3 {
  color: var(--vt-blue-900);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 800;
}

.value-card p {
  margin-top: 0.75rem;
  color: var(--vt-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  font-weight: 500;
}

/* Team */

.about-team {
  position: relative;
}

.team-card {
  overflow: hidden;
  border: 1px solid rgba(16, 47, 65, 0.1);
  border-radius: 22px;
  background: white;
  box-shadow: 0 16px 42px rgba(16, 47, 65, 0.07);
  transition:
    transform 0.36s var(--vt-ease),
    box-shadow 0.36s var(--vt-ease),
    border-color 0.36s var(--vt-ease);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(116, 200, 75, 0.38);
  box-shadow: 0 26px 68px rgba(16, 47, 65, 0.12);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  background: var(--vt-cream-150);
  filter: saturate(0.98) contrast(1.02);
  transition: transform 0.9s var(--vt-ease);
}

.team-card:hover img {
  transform: scale(1.035);
}

.team-card > div {
  padding: 1.15rem 1.2rem 1.25rem;
}

.team-card h3 {
  color: var(--vt-blue-900);
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
}

.team-card p {
  margin-top: 0.25rem;
  color: var(--vt-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 500;
}

.team-card__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.team-card__social span {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 47, 65, 0.12);
  color: var(--vt-blue-900);
  font-size: 0.76rem;
  font-weight: 800;
  transition:
    background-color 0.28s var(--vt-ease),
    color 0.28s var(--vt-ease),
    border-color 0.28s var(--vt-ease),
    transform 0.28s var(--vt-ease);
}

.team-card__social span:hover {
  color: white;
  background: var(--vt-green-600);
  border-color: var(--vt-green-600);
  transform: translateY(-2px);
}

/* Numbers */

.about-numbers article {
  position: relative;
  min-height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.about-numbers article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 50%;
  width: 1px;
  height: 70%;
  background: var(--vt-cream-300);
  transform: translateY(-50%);
}

.about-numbers strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--vt-green-700);
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.about-numbers span {
  display: block;
  max-width: 190px;
  margin-top: 0.8rem;
  color: var(--vt-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 600;
}

/* CTA */

.about-cta > div {
  isolation: isolate;
}

.about-cta h2 {
  text-wrap: balance;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.about-cta img {
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.08);
}

/* Footer */

.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
}

.site-footer > div {
  position: relative;
}

.site-footer h3 {
  color: #7a8992;
}

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

/* Initial animation safety */

[data-animate] {
  opacity: 1;
}

html:not(.is-ready) [data-animate] {
  visibility: visible;
}

/* Responsive */

@media (max-width: 1180px) {
  .about-intro__panel {
    right: 1rem;
    width: min(340px, calc(100% - 2rem));
  }
}

@media (max-width: 1023px) {
  :root {
    --vt-header-h: 72px;
  }

  .about-intro__panel {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 1rem;
    transform: none;
  }

  .about-numbers article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    height: 68px;
  }

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

  .about-hero {
    padding-top: 68px;
  }

  .about-hero__media {
    top: 68px;
    height: 520px;
  }

  .about-hero > div:last-child {
    min-height: 520px;
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }

  .about-hero h1 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .about-hero p {
    font-size: 1rem;
  }

  .about-intro,
  .about-values,
  .about-team {
    padding-top: 3.3rem;
    padding-bottom: 3.3rem;
  }

  .about-intro h2,
  .about-values h2,
  .about-team h2 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .value-card {
    min-height: auto;
    text-align: left;
  }

  .value-card__icon {
    margin-left: 0;
  }

  .about-numbers strong {
    font-size: 2.65rem;
  }

  .about-cta h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

@media (max-width: 420px) {
  .about-intro__panel {
    padding: 1.25rem;
  }

  .about-intro__panel li {
    font-size: 0.88rem;
  }

  .about-icon {
    width: 2.35rem;
    height: 2.35rem;
    flex-basis: 2.35rem;
    border-radius: 14px;
  }

  .team-card > div {
    padding: 1rem;
  }
}

@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;
  }

  .about-hero__media img,
  .about-cta img,
  .about-intro figure img,
  .team-card img {
    transform: none !important;
  }
}



/* Ajustes finais: hero full cover e textos brancos */
.about-hero__media {
  bottom: 0 !important;
  height: auto !important;
}

.about-hero [data-animate="hero-copy"] p.mt-6,
.about-hero p.mt-6,
.about-cta p {
  color: #fff !important;
}


/* Correção final: leitura do hero da página Sobre */
.about-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 31, 45, 0.92), rgba(7, 31, 45, 0.64) 46%, rgba(7, 31, 45, 0.28)),
    linear-gradient(0deg, rgba(7, 31, 45, 0.32), transparent 54%);
  pointer-events: none;
}

.about-hero [data-animate="hero-copy"] p.mb-4,
.about-hero p.mb-4 {
  color: #fff !important;
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.36);
}
