:root {
  /* Base */
  --paper: #eef0f2;
  --surface: #ffffff;

  /* Texto */
  --ink: #11161b;
  --ink-deep: #080c10;

  /* Secundário */
  --stone: #66717b;

  /* Bordas */
  --line: #d9dee2;

  /* Cor de ação */
  --accent: #174a73;
  --accent-hover: #0f3b5d;

  /* Tipografia */
  --serif: "Cormorant", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;

  /* Raio */
  --r-hero: 24px;
  --r-card: 16px;
  --r-input: 10px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-soft:
    0 1px 2px rgba(8, 12, 16, .04),
    0 6px 18px rgba(8, 12, 16, .06);

  --shadow-lift:
    0 4px 10px rgba(8, 12, 16, .08),
    0 16px 36px rgba(8, 12, 16, .12);

  /* Header */
  --header-h: 80px;
  --header-top: 18px;
  --header-max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(130% 90% at 50% -12%, rgba(255, 252, 246, 0.85) 0%, rgba(242, 236, 227, 0) 52%),
    radial-gradient(120% 70% at 50% 118%, rgba(221, 210, 194, 0.4) 0%, rgba(242, 236, 227, 0) 60%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grão de papel: ruído fino sobre a página toda (viewport-fixo, atrás do conteúdo). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.06;
  mix-blend-mode: multiply;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header (cápsula flutuante glass) ---------- */
.topbar {
  position: fixed;
  top: var(--header-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--header-max), calc(100% - 40px));
}
.topbar__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px 0 24px;
  border-radius: var(--r-pill);
  background: rgba(251, 248, 243, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.brand {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand img { height: 64px; width: auto; display: block; }
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.back {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  opacity: 0.8;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.back:hover { opacity: 1; background: rgba(26, 23, 20, 0.06); }

.topbar__cta {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background 0.25s ease;
}
.topbar__cta:hover { background: var(--ink-deep); }

/* Dropdown Destaques */
.dropdown { position: relative; }
.dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  transition: background 0.2s ease;
}
.dropdown__toggle:hover { background: rgba(26, 23, 20, 0.06); }
.dropdown__caret { transition: transform 0.25s ease; }
.dropdown__toggle[aria-expanded="true"] .dropdown__caret { transform: rotate(180deg); }

.dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 240px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px;
  border-radius: 18px;
  background: rgba(251, 248, 243, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown__menu[hidden] { display: none; }
.dropdown__link {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  transition: background 0.15s ease;
}
.dropdown__link:hover { background: rgba(26, 23, 20, 0.07); }
.dropdown__empty { padding: 10px 14px; color: var(--stone); font-size: 14px; }

@media (max-width: 560px) {
  .dropdown__toggle { display: none; }
  .brand { font-size: 21px; }
  .brand img { height: 52px; }
  .topbar__bar { padding: 0 10px 0 18px; }
}

main { padding-top: 0; }

/* ---------- Hero (conversão: mídia + copy) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-top) + var(--header-h) + 44px) 0 clamp(48px, 6vw, 88px);
}
/* Grade tipo planta baixa atrás de tudo, esmaecendo nas bordas */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(16, 26, 32, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 26, 32, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(125% 85% at 50% 32%, #000 48%, transparent 100%);
  mask-image: radial-gradient(125% 85% at 50% 32%, #000 48%, transparent 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

/* Mídia — poster placeholder; trocar o .hero__poster por <video> depois */
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-hero);
  overflow: hidden;
  background: var(--ink-deep);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hero__poster,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.hero__poster {
  background-image:
    radial-gradient(120% 90% at 30% 18%, rgba(255, 255, 255, 0.07), transparent 55%),
    linear-gradient(160deg, #1c262b 0%, #0b1216 100%);
}
.hero__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.hero__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(255, 255, 255, 0.22);
}

/* Copy */
.hero__copy { max-width: 34rem; }
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--stone);
  margin: 18px 0 0;
  max-width: 46ch;
}
.hero__trust {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.hero__trust svg { flex: none; color: var(--stone); }
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Seta de rolagem */
.hero__scroll {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: clamp(28px, 4vw, 52px) auto 0;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
  animation: heroBob 1.9s ease-in-out infinite;
}
.hero__scroll:hover { background: var(--ink-deep); box-shadow: var(--shadow-lift); }
.hero__scroll::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  z-index: -1;
  width: 55%;
  height: 200%;
  transform: rotate(20deg);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  animation: ctaShine 3.6s ease-in-out infinite;
}
@keyframes heroBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__copy { order: -1; max-width: none; }
  .hero__media { aspect-ratio: 16 / 10; }
}

/* ---------- Filtros (pills) ---------- */
.filters {
  margin: 0 0 44px;
  padding: 16px 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.filters__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: end;
}
.filters__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--stone);
}
.filters__field select,
.filters__field input {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filters__field input { cursor: text; min-width: 130px; }
.filters__field select:hover,
.filters__field input:hover { border-color: var(--stone); }
.filters__field select:focus,
.filters__field input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(26, 23, 20, 0.08);
}
.filters__clear {
  margin-left: auto;
  align-self: end;
  background: none;
  border: none;
  color: var(--ink);
  padding: 9px 4px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  transition: opacity 0.2s ease;
}
.filters__clear:hover { opacity: 0.6; }

/* ---------- Collections ---------- */
.collections { padding: 0 0 80px; }
.collection { margin-bottom: 88px; }
.collection__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.collection__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 28px;
}
/* Primeiro item em destaque (ritmo assimétrico) */
.collection__grid--featured > .card:first-child {
  grid-column: 1 / -1;
}
@media (min-width: 760px) {
  .collection__grid--featured > .card:first-child {
    grid-column: span 2;
    grid-row: span 1;
    flex-direction: row;
    align-items: stretch;
    min-height: 360px;
  }
  .collection__grid--featured > .card:first-child .card__media { width: 58%; }
  .collection__grid--featured > .card:first-child .card__frame {
    padding-top: 0;
    height: 100%;
  }
  .collection__grid--featured > .card:first-child .card__body {
    flex: 1;
    justify-content: center;
    padding: 40px 44px;
  }
  .collection__grid--featured > .card:first-child .card__title { font-size: 2.2rem; }
  .collection__grid--featured > .card:first-child .card__price { font-size: 2rem; }
}

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.card__media { overflow: hidden; background: var(--line); }
.card__frame {
  position: relative;
  width: 100%;
  padding-top: 72%;
  overflow: hidden;
}
.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .card__img { transform: scale(1.045); }
.card__img--placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 14px;
  background: var(--line);
}
.card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.12;
  margin: 0;
}
.card__location { color: var(--stone); font-size: 14px; }
.card__price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  margin-top: 8px;
}
.card__code {
  color: var(--stone);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.empty {
  color: var(--stone);
  padding: 64px 0;
  text-align: center;
  font-size: 17px;
}

/* ---------- Property detail ---------- */
.property { padding: calc(var(--header-top) + var(--header-h) + 24px) 0 96px; }
.detail-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--line);
  margin: 8px 0 40px;
}
.detail-hero__img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
}

.detail {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; gap: 36px; }
}

.detail__code {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--stone);
  margin: 0 0 10px;
}
.detail__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.detail__price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 6px;
}
.detail__price-rule {
  width: 64px;
  height: 1px;
  background: var(--ink);
  margin: 0 0 28px;
}
.detail__description {
  white-space: pre-line;
  max-width: 62ch;
  color: #3a352e;
  margin: 0 0 32px;
}

.detail__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
}
.detail__specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.detail__spec-key { color: var(--stone); font-size: 14px; }
.detail__spec-val {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  text-align: right;
}

/* Galeria empilhada estilo revista */
.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
.gallery-stack__item {
  width: 100%;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--line);
}
.gallery-stack__item img,
.gallery-stack__item video {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--ink-deep); }

/* Brilho transversal (shine) nos CTAs */
.btn::after,
.topbar__cta::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  z-index: -1;
  width: 55%;
  height: 200%;
  transform: rotate(20deg);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  animation: ctaShine 3.6s ease-in-out infinite;
}
.topbar__cta { position: relative; isolation: isolate; overflow: hidden; }

@keyframes ctaShine {
  0% { left: -75%; }
  55%, 100% { left: 140%; }
}

/* ---------- Prova social (coverflow) ---------- */
.cases {
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.cases__head {
  max-width: 640px;
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.cases__eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}
.cases__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.cases__sub {
  color: var(--stone);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  margin: 0;
}

.coverflow {
  --card-w: min(72vw, 280px);
  --side-shift: 60%;
  --cf-dur: 0.3s;
  --cf-dur-slow: 0.55s;
  --cf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: clamp(24px, 4vw, 40px);
}

/* palco: recorta as laterais que "espiam" nas bordas */
.stage {
  position: relative;
  height: calc(var(--card-w) * 4 / 3);
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  transform: translateX(-50%);
  cursor: pointer;
  will-change: transform, opacity, filter;
  transition:
    transform var(--cf-dur-slow) var(--cf-ease),
    opacity var(--cf-dur-slow) var(--cf-ease),
    filter var(--cf-dur-slow) var(--cf-ease);
}

.cf-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow var(--cf-dur) var(--cf-ease),
    border-color var(--cf-dur) var(--cf-ease);
}
.slide.is-center .cf-card {
  box-shadow: var(--shadow-lift);
  border-color: var(--stone);
}

/* mídia placeholder (trocar por <video>/poster real) */
.cf-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--paper), #d7dde2);
}
.cf-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(23, 74, 115, 0.28), transparent 62%);
}

/* botão play (indica vídeo) */
.cf-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-soft);
  transition: transform var(--cf-dur) var(--cf-ease), background var(--cf-dur) var(--cf-ease);
}
.slide.is-center:hover .cf-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

/* nome + tags sobre a imagem */
.cf-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(8, 12, 16, 0.82) 0%,
    rgba(8, 12, 16, 0.15) 45%,
    transparent 75%
  );
}
.cf-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: #fff;
}
.cf-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cf-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
}
.cf-tag--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.85);
}

/* setas prev/next */
.cf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition:
    background var(--cf-dur) var(--cf-ease),
    border-color var(--cf-dur) var(--cf-ease),
    opacity var(--cf-dur) var(--cf-ease);
}
.cf-arrow:hover {
  background: var(--ink);
  border-color: transparent;
  color: var(--paper);
}
.cf-arrow:active {
  transform: translateY(-50%) scale(0.94);
}
.cf-arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}
.cf-arrow--prev { left: 8px; }
.cf-arrow--next { right: 8px; }

@media (min-width: 768px) {
  .coverflow { --card-w: 300px; --side-shift: 66%; }
  .cf-name { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  .coverflow { --card-w: 340px; --side-shift: 72%; }
}

/* ---------- Captação de leads (formulário) ---------- */
.lead {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
}
.lead__inner {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .lead__inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 5vw, 80px);
  }
}

.lead__aside { max-width: 440px; }
.lead__eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}
.lead__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.lead__sub {
  color: var(--stone);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  margin: 0 0 24px;
}
.lead__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.lead__perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
}
.lead__perks svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

/* Cartão do formulário */
.lead__form {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 3vw, 40px);
}

.lead__progress {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--line);
  overflow: hidden;
  margin-bottom: clamp(22px, 3vw, 32px);
}
.lead__progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ink);
  border-radius: inherit;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-step {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
  animation: leadStepIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lead-step[hidden] { display: none; }
@keyframes leadStepIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.lead-step__legend {
  display: block;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lead-step__count {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}

/* Campos */
.lead-field { margin-bottom: 20px; }
.lead-field:last-child { margin-bottom: 0; }
.lead-field__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.lead-field__input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lead-field__input::placeholder { color: var(--stone); }
.lead-field__input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(23, 74, 115, 0.12);
}
.lead-field.is-error .lead-field__input {
  border-color: #b4402f;
  box-shadow: 0 0 0 3px rgba(180, 64, 47, 0.12);
}
.lead-field__error {
  min-height: 1.1em;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #b4402f;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lead-field.is-error .lead-field__error { opacity: 1; transform: none; }

/* Opções (chips) */
.lead-choice__set {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lead-chip { position: relative; }
.lead-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.lead-chip__face {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.lead-chip__face:hover { border-color: var(--stone); transform: translateY(-1px); }
.lead-chip input:checked + .lead-chip__face {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.lead-chip input:focus-visible + .lead-chip__face {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 74, 115, 0.18);
}

/* Navegação */
.lead__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 34px);
}
.lead__next { border: none; }
.lead__back {
  background: none;
  border: 0;
  padding: 6px 4px;
  color: var(--stone);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}
.lead__back:hover { color: var(--ink); }
.lead__back[hidden] { display: none; }

/* Estado de sucesso */
.lead__done {
  text-align: center;
  padding: clamp(16px, 3vw, 32px) 0;
  animation: leadStepIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lead__done-ring {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
}
.lead__done-ring svg { width: 30px; height: 30px; }
.lead__done-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.lead__done-sub { color: var(--stone); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  color: var(--stone);
  padding: 56px 0 40px;
  margin-top: 64px;
  font-size: 14px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px 40px;
}
.footer__brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.footer__creci {
  margin: 0;
  color: var(--stone);
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.footer__social a:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.footer__bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer__disclaimer {
  margin: 0;
  max-width: 62ch;
  line-height: 1.6;
  color: var(--stone);
}
.footer__copy { margin: 0; white-space: nowrap; }
@media (max-width: 560px) {
  .footer__bottom { flex-direction: column; }
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
