/* =========================================================================
   Up Invest — styles.css
   Archetype: Editorial Dark, cool navy base + champagne gold accent.
   Brand colours sampled from the official mark: #00112B / #F5CD6E
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  --navy:      #00112B;
  --navy-2:    #04182F;
  --navy-3:    #0A2340;
  --navy-4:    #0F2C4C;

  --gold:      #F5CD6E;
  --gold-2:    #D9AC4A;
  --gold-soft: rgba(245, 205, 110, .14);

  --ice:       #EAF0F7;
  --ice-2:     #B4C3D4;
  --ice-3:     #7488A0;

  --line:      rgba(234, 240, 247, .12);
  --line-2:    rgba(234, 240, 247, .07);

  /* Uma família só, Montserrat, a mesma dos criativos de tráfego da marca.
     --display  títulos, pesos 700/800
     --sans     corpo de texto, pesos 300/400
     --mono     rótulos e dados, caixa alta com entreletra aberta */
  --display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:    "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --sec-y: clamp(84px, 12vw, 180px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ice);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ------------------------------------------------------------ typography */
.h2 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 5.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.032em;
  font-weight: 800;
}
/* Nos criativos o destaque é feito com cor, não com itálico. */
.h2 em, .hero-title em, .cta-title em {
  font-style: normal;
  color: var(--gold);
}

.h3 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 700;
}

.kicker {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.66;
  color: var(--ice-2);
  max-width: 60ch;
}

/* --------------------------------------------------------------- buttons */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ice);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1.02em 1.9em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .35s, color .35s, background-color .35s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 160% at 50% 120%, rgba(255,255,255,.28), transparent 62%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn-gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy);
  --btn-bd: var(--gold);
  font-weight: 600;
  box-shadow: 0 10px 34px -14px rgba(245, 205, 110, .68);
}
.btn-gold:hover { --btn-bg: #FFDA88; --btn-bd: #FFDA88; }

.btn-ghost:hover { --btn-bd: rgba(245,205,110,.5); color: var(--gold); }

.btn-sm { padding: .78em 1.35em; font-size: .8rem; }
.btn-lg { padding: 1.18em 2.4em; font-size: .95rem; }

/* ---------------------------------------------------------------- splash */
.splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  gap: 26px;
  justify-items: center;
  background: var(--navy);
  /* CSS safety net: hides itself even if JS never runs */
  animation: splashOut .7s var(--ease) 2.4s forwards;
}
.splash.is-done { animation: splashOut .7s var(--ease) forwards; }
@keyframes splashOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ------------------------------------------------------------ brand mark */
.mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: block;
}
.mark-md { width: 42px; height: 42px; }
.mark-lg { width: 72px; height: 72px; }

.splash-mark { display: grid; justify-items: center; gap: 13px; }
.splash-mark .mark { animation: splashIn .9s var(--ease-out) both; }
.splash-word {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--ice-3);
  animation: splashIn .9s var(--ease-out) .12s both;
}
@keyframes splashIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.splash-bar {
  width: 110px; height: 1px;
  background: var(--line);
  overflow: hidden;
}
.splash-bar i {
  display: block; height: 100%; width: 100%;
  background: var(--gold);
  transform-origin: left;
  animation: splashBar 2.1s var(--ease) both;
}
@keyframes splashBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* -------------------------------------------------------------- progress */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  z-index: 120;
  pointer-events: none;
}

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gut);
  transition: background-color .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(0, 17, 43, .86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-2);
  padding-block: 13px;
}
/* solid fallback where backdrop-filter is unsupported */
@supports not (backdrop-filter: blur(4px)) {
  .nav.is-stuck { background: rgba(0, 17, 43, .98); }
}
/* If main.js never booted, nothing adds .is-stuck on scroll, so the fixed bar
   would float transparently over the content. Keep it solid in that state. */
html:not(.js-anim) .nav {
  background: rgba(0, 17, 43, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-2);
}

.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-name {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-indent: .32em;
  color: var(--ice-2);
}

.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-links a {
  font-size: .84rem;
  color: var(--ice-2);
  position: relative;
  padding-block: 4px;
  transition: color .3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--ice); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--ice-3);
  transition: color .28s, background-color .28s;
}
.lang-btn:hover { color: var(--ice); }
.lang-btn.is-on { color: var(--navy); background: var(--gold); font-weight: 500; }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 12px; width: 16px; height: 1px;
  background: var(--ice);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav-burger.is-on span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.nav-burger.is-on span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- drawer */
.drawer {
  position: fixed;
  inset: 68px 0 auto 0;
  z-index: 99;
  display: grid;
  gap: 2px;
  padding: 20px var(--gut) 30px;
  background: rgba(0, 17, 43, .97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.022em;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
}
.drawer .drawer-cta {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 0;
  margin-top: 14px;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px var(--gut) clamp(56px, 8vh, 90px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  filter: saturate(.82) contrast(1.06) brightness(.86);
  transform: scale(1.08);
  animation: kenburns 26s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.4%, -1.2%, 0); }
}

.hero-tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,17,43,.86) 0%, rgba(0,17,43,.42) 34%, rgba(0,17,43,.80) 72%, var(--navy) 100%),
    linear-gradient(96deg, rgba(0,17,43,.90) 0%, rgba(0,17,43,.34) 58%, rgba(0,17,43,.10) 100%);
}

/* Radial gradients are already soft, so no blur() filter here. A large
   animated blur forces re-rasterisation every frame and stalls the
   compositor on mid-range machines. */
.hero-mesh {
  position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(42% 48% at 14% 78%, rgba(245,205,110,.22), transparent 70%),
    radial-gradient(50% 44% at 84% 22%, rgba(30,92,168,.32), transparent 72%);
  animation: meshDrift 22s var(--ease) infinite alternate;
  will-change: transform;
}
@keyframes meshDrift {
  from { transform: translate3d(-2%, 1%, 0) rotate(0deg); }
  to   { transform: translate3d(3%, -2%, 0) rotate(6deg); }
}

.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .30;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
}
.hero-kicker { margin-bottom: 1.9rem; }

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.3rem, 6.4vw, 5.5rem);
  line-height: 1.03;
  letter-spacing: -.036em;
  font-weight: 800;
  max-width: 17ch;
  text-wrap: balance;
  margin-bottom: 1.7rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  line-height: 1.62;
  color: var(--ice-2);
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.6rem; }

.hero-sig {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--gold);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 380px;
}

.hero-scroll {
  position: absolute;
  right: var(--gut);
  bottom: clamp(56px, 8vh, 90px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ice-3);
}
.hero-scroll i {
  display: block; width: 54px; height: 1px;
  background: var(--line);
  position: relative; overflow: hidden;
}
.hero-scroll i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform-origin: left;
  animation: scrollHint 2.3s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: scaleX(0); transform-origin: left; }
  45%  { transform: scaleX(1); transform-origin: left; }
  55%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* -------------------------------------------------------------- stat bar */
.bar {
  border-block: 1px solid var(--line);
  background: var(--navy-2);
}
.bar-in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.bar-item {
  padding: clamp(28px, 4vw, 46px) clamp(14px, 2vw, 30px) clamp(28px, 4vw, 46px) 0;
  border-right: 1px solid var(--line-2);
}
.bar-item:last-child { border-right: 0; }
.bar-n {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--gold);
  margin-bottom: .55rem;
  font-variant-numeric: tabular-nums;
}
.bar-l {
  display: block;
  font-size: .81rem;
  line-height: 1.45;
  color: var(--ice-3);
  max-width: 24ch;
}

/* -------------------------------------------------------------- sections */
.sec { padding-block: var(--sec-y); position: relative; }
.sec-head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 88px); }
.sec-head .h2 { margin-bottom: 1.7rem; }

.sec-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.sec-head-split .h2 { margin-bottom: 0; }
.sec-head-split .lead { padding-bottom: .5rem; }

/* --------------------------------------------------------------- 01 tese */
.sec-tese { background: var(--navy); }

.tese-fig {
  margin: 0 0 clamp(48px, 7vw, 90px);
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--line-2);
}
.tese-fig img {
  width: 100%;
  aspect-ratio: 24 / 7;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out);
}
.tese-fig:hover img { transform: scale(1.06); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 56px);
}
.pillar { border-top: 1px solid var(--line); padding-top: 26px; }
.pillar-i {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.15rem;
}
.pillar h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.24;
  margin-bottom: .8rem;
  letter-spacing: -.02em;
}
.pillar p { font-size: .95rem; color: var(--ice-3); line-height: 1.68; }

/* ------------------------------------------------------------- 02 filtro */
.sec-filtro {
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 30%, var(--navy-2) 70%, var(--navy) 100%);
  overflow: hidden;
}

.rail-outer {
  margin-top: clamp(40px, 6vw, 72px);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-2) transparent;
  padding-bottom: 18px;
}
.rail-outer::-webkit-scrollbar { height: 3px; }
.rail-outer::-webkit-scrollbar-track { background: var(--line-2); }
.rail-outer::-webkit-scrollbar-thumb { background: var(--gold-2); }

.rail {
  display: flex;
  gap: clamp(16px, 2vw, 26px);
  padding-inline: var(--gut);
  width: max-content;
}

.cut {
  position: relative;
  flex: 0 0 clamp(268px, 30vw, 372px);
  min-height: clamp(360px, 42vw, 440px);
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: linear-gradient(165deg, var(--navy-3), var(--navy-2) 72%);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .6s var(--ease-out), border-color .5s;
}
.cut::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(245,205,110,.13), transparent 58%);
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.cut:hover { transform: translateY(-6px); border-color: rgba(245,205,110,.28); }
.cut:hover::before { opacity: 1; }

.cut-n {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: auto;
}
.cut-t {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.48rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.022em;
  margin: 2.4rem 0 1rem;
}
.cut-d { font-size: .92rem; line-height: 1.66; color: var(--ice-3); }
.cut-rule {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.cut:hover .cut-rule { transform: scaleX(1); }

.rail-hint {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ice-3);
}

/* ------------------------------------------------------------- 03 modelo */
.sec-modelo { background: var(--navy); }

.modelo-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.modelo-sticky { position: sticky; top: 118px; }
.modelo-sticky .h2 { margin-bottom: 1.6rem; }
.modelo-sticky .lead { margin-bottom: 2.4rem; }

.modelo-fig {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.modelo-fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(.86) contrast(1.05) brightness(.92);
}

.steps { display: grid; gap: 2px; }
.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: clamp(12px, 2vw, 26px);
  padding: clamp(24px, 3vw, 34px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::after {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.js-anim .step::after { transform: scaleX(0); }
.js-anim .step.is-visible::after { transform: scaleX(1); }

.step-n {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--gold-2);
  padding-top: .38rem;
}
.step h3 {
  font-family: var(--display);
  font-size: clamp(1.14rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.022em;
  margin-bottom: .65rem;
}
.step p { font-size: .95rem; color: var(--ice-3); line-height: 1.68; max-width: 56ch; }

/* -------------------------------------------------------- 04 oportunidade */
.sec-op {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 22%, var(--navy-2) 100%);
}

.op-card {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--navy-3);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.op-media { position: relative; overflow: hidden; min-height: 340px; }
.op-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
  transform: scale(1.02);
  transition: transform 1.5s var(--ease-out);
}
.op-card:hover .op-media img { transform: scale(1.07); }
.op-badge {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 500;
}

.op-body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; }
.op-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.032em;
  margin-bottom: .7rem;
}
.op-sub {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--gold-2);
  margin-bottom: 1.5rem;
}
.op-lead { font-size: .98rem; color: var(--ice-2); line-height: 1.66; margin-bottom: 2rem; }
.op-body .btn { align-self: flex-start; margin-top: auto; }

/* numbers grid */
.nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 22px;
}
.num {
  background: var(--navy);
  padding: clamp(24px, 3vw, 38px);
  transition: background-color .45s var(--ease);
}
.num:hover { background: var(--navy-3); }
.num-v {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin-bottom: .6rem;
}
.num-l { display: block; font-size: .82rem; color: var(--ice-3); line-height: 1.45; max-width: 26ch; }

.disc {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--ice-3);
  max-width: 78ch;
  padding-left: 14px;
  border-left: 2px solid var(--gold-soft);
  margin-bottom: clamp(48px, 7vw, 88px);
}

/* location */
.loc {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
}
.loc-fig { margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--line-2); }
.loc-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.loc-body .h3 { margin-bottom: 1rem; }
.loc-body > p { color: var(--ice-3); font-size: .96rem; margin-bottom: 1.9rem; }
.loc-list { display: grid; }
.loc-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line-2);
  font-size: .9rem;
  color: var(--ice-2);
}
.loc-list li:last-child { border-bottom: 1px solid var(--line-2); }
.loc-list b {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}

/* ------------------------------------------------------------ 05 processo */
.sec-proc { background: var(--navy); }
.proc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(44px, 6vw, 76px);
}
.proc-i { border-top: 1px solid var(--line); padding-top: 24px; position: relative; }
.proc-i::after {
  content: "";
  position: absolute;
  left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(1); transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.js-anim .proc-i::after { transform: scaleX(0); }
.js-anim .proc-i.is-visible::after { transform: scaleX(1); }
.proc-n {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--gold-2);
  margin-bottom: 1.1rem;
}
.proc-i h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -.018em;
  margin-bottom: .65rem;
}
.proc-i p { font-size: .88rem; color: var(--ice-3); line-height: 1.62; }

/* ----------------------------------------------------------------- 06 faq */
.sec-faq { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: start;
}
.faq-head { position: sticky; top: 118px; }
.faq-list { display: grid; }

.qa {
  border-top: 1px solid var(--line);
  padding: 0;
}
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 2.4vw, 28px) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -.015em;
  color: var(--ice);
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: 0 0 auto;
  width: 15px; height: 15px;
  margin-top: .38em;
  background:
    linear-gradient(var(--gold), var(--gold)) center/100% 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center/1px 100% no-repeat;
  transition: transform .45s var(--ease-out);
}
.qa[open] summary { color: var(--gold); }
.qa[open] summary::after { transform: rotate(135deg); }
.qa summary:hover { color: var(--gold); }
.qa p {
  padding: 0 clamp(30px, 5vw, 70px) clamp(24px, 3vw, 32px) 0;
  font-size: .95rem;
  color: var(--ice-3);
  line-height: 1.72;
  max-width: 68ch;
  animation: qaIn .5s var(--ease-out) both;
}
@keyframes qaIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------- cta */
.cta {
  position: relative;
  padding-block: clamp(100px, 15vw, 200px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.55) contrast(1.05) brightness(.5);
}
.cta-tint {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 68% at 50% 52%, rgba(0,17,43,.72), rgba(0,17,43,.95) 78%),
    linear-gradient(180deg, var(--navy) 0%, rgba(0,17,43,.55) 30%, rgba(0,17,43,.62) 70%, var(--navy) 100%);
}
.cta-in { display: grid; justify-items: center; }
.cta-in .kicker { margin-bottom: 1.6rem; }
.cta-title { margin-bottom: 1.6rem; }
.cta-in .lead { text-align: center; margin-bottom: 2.6rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------------------------------------------------------------- footer */
.foot {
  background: var(--navy);
  border-top: 1px solid var(--line);
  padding-block: clamp(52px, 7vw, 84px) 34px;
  font-size: .88rem;
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: clamp(38px, 5vw, 56px);
  border-bottom: 1px solid var(--line-2);
}
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.foot-tag {
  flex: 1 0 100%;
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ice-3);
  margin-top: .7rem;
}
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.foot-col a, .foot-col span { color: var(--ice-3); transition: color .3s; }
.foot-col a:hover { color: var(--gold); }

.foot-legal { padding-block: clamp(30px, 4vw, 44px); border-bottom: 1px solid var(--line-2); }
.foot-legal h4 {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ice-3);
  margin-bottom: 1rem;
}
.foot-legal p {
  font-size: .74rem;
  line-height: 1.68;
  color: rgba(116, 136, 160, .82);
  max-width: 96ch;
}
.foot-built { margin-top: 1rem !important; }

.foot-bot {
  padding-top: 26px;
  font-size: .76rem;
  color: var(--ice-3);
}

/* ------------------------------------------------------------ wa floating */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #1FAF54;
  color: #fff;
  box-shadow: 0 12px 34px -10px rgba(31, 175, 84, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .5s var(--ease), transform .5s var(--ease-out), visibility .5s, background-color .3s;
}
.wa-float.is-on { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: #25C763; transform: translateY(-3px); }

/* --------------------------------------------------------------- reveals
   CONTENT-FIRST: the default state is VISIBLE. The hidden-then-reveal state
   only exists under .js-anim, which an inline <head> script adds and removes
   again if main.js never boots. If JS is disabled, fails to load or errors,
   the page still reads as a complete document.                              */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .95s var(--ease-out), transform .95s var(--ease-out);
}
.js-anim .reveal { opacity: 0; transform: translateY(30px); }
.js-anim .reveal.is-visible { opacity: 1; transform: none; }

/* DEFENSIVE (gotcha A.4.5): split-text elements must never stay invisible */
.js-anim .reveal[data-split] { opacity: 1; transform: none; }

/* Staggering inside grids */
.pillars .reveal:nth-child(2), .proc .reveal:nth-child(2) { transition-delay: .08s; }
.pillars .reveal:nth-child(3), .proc .reveal:nth-child(3) { transition-delay: .16s; }
.proc .reveal:nth-child(4) { transition-delay: .24s; }
.proc .reveal:nth-child(5) { transition-delay: .32s; }
.bar-item:nth-child(2) { transition-delay: .07s; }
.bar-item:nth-child(3) { transition-delay: .14s; }
.bar-item:nth-child(4) { transition-delay: .21s; }
.nums .reveal:nth-child(2) { transition-delay: .06s; }
.nums .reveal:nth-child(3) { transition-delay: .12s; }
.nums .reveal:nth-child(4) { transition-delay: .18s; }
.nums .reveal:nth-child(5) { transition-delay: .24s; }
.nums .reveal:nth-child(6) { transition-delay: .30s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .sec-head-split { grid-template-columns: 1fr; align-items: start; }
  .modelo-grid { grid-template-columns: 1fr; }
  .modelo-sticky { position: static; }
  .modelo-fig { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .op-card { grid-template-columns: 1fr; }
  .op-media { min-height: 260px; aspect-ratio: 16 / 9; }
  .loc { grid-template-columns: 1fr; }
  .proc { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .nums { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .bar-in { grid-template-columns: repeat(2, 1fr); }
  .bar-item { border-right: 0; border-bottom: 1px solid var(--line-2); padding-right: 18px; }
  .bar-item:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .bar-item:nth-child(3), .bar-item:nth-child(4) { border-bottom: 0; }
  .pillars { grid-template-columns: 1fr; gap: 34px; }
  .hero-scroll { display: none; }
  .hero { min-height: 96svh; padding-top: 118px; }
  .hero-title { max-width: none; }
}

@media (max-width: 620px) {
  :root { --sec-y: clamp(64px, 14vw, 96px); }
  .nav-name { display: none; }
  .nav-right .btn-sm { display: none; }
  .bar-in { grid-template-columns: 1fr; }
  .bar-item { border-right: 0 !important; border-bottom: 1px solid var(--line-2); }
  .bar-item:last-child { border-bottom: 0; }
  .bar-l { max-width: none; }
  .nums { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step-n { padding-top: 0; }
  .foot-top { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .cut { flex-basis: 78vw; min-height: 340px; }
  .loc-list li { flex-wrap: wrap; gap: 4px; }
}

/* Short laptop viewports: tighten the hero so the signature line and the
   scroll cue still land inside the first screen. */
@media (min-width: 861px) and (max-height: 720px) {
  .hero { padding-top: 112px; padding-bottom: 52px; }
  .hero-kicker { margin-bottom: 1.1rem; }
  .hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.1rem; }
  .hero-lead { margin-bottom: 1.6rem; font-size: 1.02rem; }
  .hero-actions { margin-bottom: 1.5rem; }
  .hero-sig { padding-top: 1.05rem; font-size: .98rem; }
  .hero-scroll { bottom: 52px; }
}

/* Only genuinely intrusive motion is gated. Micro-interactions stay on,
   because Windows ships reduced-motion ON in many configurations. */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; transform: scale(1.04); }
  .hero-mesh { animation: none; }
  .hero-scroll i::after { animation: none; transform: scaleX(1); }
}

/* Print: keep it readable */
@media print {
  .nav, .drawer, .wa-float, .splash, .progress, .hero-scroll { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =========================================================================
   Galeria de estilo de vida — imagens comerciais da galeria ampliada
   (Supabase, tabela gallery_amplified, empreendimento Novo Campeche II)
   ========================================================================= */
.sec-life { background: var(--navy-2); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.3vw, 16px);
  margin-top: clamp(30px, 4vw, 50px);
}

.mo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  background: var(--navy-3);
}
.mo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.94) contrast(1.03);
  transform: scale(1.01);
  transition: transform 1.3s var(--ease-out), filter .6s;
}
.mo:hover img { transform: scale(1.05); filter: saturate(1.04) contrast(1.05); }

/* A primeira ocupa duas colunas e duas linhas: é a cena mais forte. */
.mo-lead { grid-column: span 2; grid-row: span 2; }
.mo-lead img { aspect-ratio: auto; min-height: 100%; }

.mo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--ice-2);
  background: linear-gradient(180deg, transparent, rgba(0, 17, 43, .9));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease-out);
}
.mo:hover figcaption, .mo:focus-within figcaption { opacity: 1; transform: none; }
.mo-lead figcaption { font-size: .88rem; padding-bottom: 18px; }

/* Sem hover (toque), a legenda fica sempre visível. */
@media (hover: none) {
  .mo figcaption { opacity: 1; transform: none; }
}

.life-note {
  margin-top: clamp(20px, 2.6vw, 30px);
  font-size: .78rem;
  line-height: 1.6;
  color: var(--ice-3);
  max-width: 78ch;
  padding-left: 14px;
  border-left: 2px solid var(--gold-soft);
}

@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mo-lead { grid-column: span 2; grid-row: auto; }
  .mo-lead img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr; }
  .mo-lead { grid-column: span 1; }
}

/* =========================================================================
   Ficha da unidade (substitui a antiga .gal)
   Planta à esquerda, dados à direita. Sem render de ambiente: quem mostra
   ambiente agora é a galeria humanizada mais abaixo.
   ========================================================================= */
.unit {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.unit-plan {
  margin: 0;
  position: relative;
  background: var(--navy-3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 30px) clamp(38px, 4.4vw, 52px);
}
.unit-plan img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.unit-plan figcaption {
  position: absolute;
  left: clamp(18px, 2.4vw, 30px);
  bottom: clamp(12px, 1.6vw, 18px);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ice-3);
}

.unit-spec {
  background: linear-gradient(165deg, var(--navy-3), var(--navy-2) 78%);
  padding: clamp(26px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.unit-spec h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.1vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -.024em;
  line-height: 1.14;
  margin-bottom: 1.4rem;
}
.unit-spec dl { display: grid; margin: 0; }
.unit-spec div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line-2);
}
.unit-spec div:last-child { border-bottom: 1px solid var(--line-2); }
.unit-spec dt { font-size: .88rem; color: var(--ice-3); margin: 0; }
.unit-spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--gold);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .unit { grid-template-columns: 1fr; }
  .unit-plan img { max-height: 320px; }
}
