:root {
  --orange: #f7931d;
  --orange-soft: #f7b866;
  --ink: #171717;
  --graphite: #303030;
  --text: #5f625f;
  --muted: #8a8d8a;
  --line: #e7e0d6;
  --paper: #f7f3ec;
  --paper-2: #fffaf2;
  --white: #ffffff;
  --dark: #222222;
  --shadow: 0 24px 70px rgba(28, 25, 22, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.investor-section {
  padding: 104px 0;
}

.soft-section {
  background:
    linear-gradient(90deg, rgba(247, 147, 29, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 147, 29, 0.08) 1px, transparent 1px),
    #fbf7f0;
  background-size: 72px 72px;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 70px;
  align-items: end;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(34px, 3.8vw, 56px);
}

h2 {
  font-size: clamp(26px, 2.8vw, 38px);
}

h3 {
  font-size: 19px;
}

.section-heading p,
.hero-copy > p,
.authority-copy p,
.form-copy p,
.final-cta p {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: 18px;
}

/* Header */
.investor-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  border-bottom: 1px solid rgba(48, 48, 48, 0.10);
  backdrop-filter: blur(16px);
}

.header-grid {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.investor-brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.investor-brand img {
  width: 128px;
  height: auto;
}

.investor-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.investor-nav a {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.investor-nav a:hover,
.investor-nav a:focus-visible {
  color: var(--orange);
}

.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(247, 147, 29, 0.42);
  border-radius: 4px;
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease;
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--orange);
  color: var(--white);
}

.investor-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(48, 48, 48, 0.16);
  border-radius: 6px;
  background: transparent;
}

.investor-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .investor-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .investor-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .investor-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.investor-hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.84) 0%, rgba(247, 243, 236, 0.72) 48%, rgba(247, 243, 236, 0.52) 100%),
    url("../assets/images/hero-casa-em-construcao.png") center center / cover no-repeat,
    var(--paper);
}

.investor-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 147, 29, 0.10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 147, 29, 0.08) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  opacity: 0.52;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: block;
  padding: 92px 0 74px;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy h1 {
  max-width: 620px;
  color: #151515;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.04;
}

.hero-copy > p {
  max-width: 590px;
  color: var(--graphite);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 34px;
}

.primary-link,
.secondary-link,
.section-cta,
.qualification-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.primary-link,
.qualification-form button {
  padding: 0 26px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--white);
}

.primary-link:hover,
.primary-link:focus-visible,
.qualification-form button:hover,
.qualification-form button:focus-visible {
  transform: translateY(-2px);
  background: #db7f0f;
  border-color: #db7f0f;
}

.secondary-link {
  gap: 14px;
  color: var(--ink);
}

.secondary-link::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  color: var(--orange);
}

.hero-note {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.investor-stats {
  padding: 54px 0 66px;
  background: #101212;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hero-metrics div {
  min-height: 154px;
  display: grid;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 147, 29, 0.10), transparent 48%),
    #15191b;
  opacity: 0;
  transform: translateY(22px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.hero-metrics.is-visible div {
  animation: statCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-metrics.is-visible div:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-metrics.is-visible div:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-metrics.is-visible div:nth-child(4) {
  animation-delay: 0.24s;
}

.hero-metrics span {
  display: block;
  max-width: 190px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-metrics strong {
  display: block;
  color: var(--orange-soft);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(27px, 2.8vw, 40px);
  line-height: 1.02;
}

/* Posicionamento */
.position-band {
  padding: 22px 0;
  background: var(--dark);
  color: var(--white);
}

.position-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
}

.position-band strong {
  color: var(--orange-soft);
}

/* Comparativo */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.comparison-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(28, 25, 22, 0.06);
}

.comparison-card.accent-card {
  border-color: rgba(247, 147, 29, 0.32);
  background: linear-gradient(135deg, #ffffff, #fff4e5);
}

.comparison-label {
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-card h3 {
  margin-top: 14px;
  max-width: 420px;
  font-size: 26px;
}

.comparison-card ul,
.authority-list,
.risk-grid,
.flow-card {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(48, 48, 48, 0.10);
  color: var(--graphite);
}

/* Etapas */
.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.step-card {
  min-height: 214px;
  padding: 24px;
  border: 1px solid rgba(48, 48, 48, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-card span {
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.step-card h3 {
  margin-top: 18px;
  font-size: 20px;
}

.step-card p {
  margin: 14px 0 0;
}

/* Vídeos */
.video-section {
  background: #ffffff;
}

.investor-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 320px));
  justify-content: center;
  gap: 22px;
  margin-top: 54px;
  align-items: stretch;
}

.investor-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(48, 48, 48, 0.10);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.investor-video-card:hover,
.investor-video-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 32px 84px rgba(28, 25, 22, 0.18);
  outline: 0;
}

.investor-video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  transform: scale(1.02);
  transition: opacity 0.28s ease, transform 0.42s ease;
  z-index: -2;
}

.investor-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 23, 23, 0.10), rgba(23, 23, 23, 0.74)),
    linear-gradient(90deg, rgba(23, 23, 23, 0.54), transparent 68%);
  z-index: -1;
}

.investor-video-card:hover video,
.investor-video-card:focus-visible video {
  opacity: 0.86;
  transform: scale(1.06);
}

.featured-video {
  min-height: 0;
}

.video-card-label {
  position: absolute;
  left: 24px;
  top: 24px;
  width: max-content;
  max-width: calc(100% - 48px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(247, 147, 29, 0.92);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.investor-video-card strong,
.investor-video-card small {
  position: absolute;
  left: 24px;
  right: 24px;
}

.investor-video-card strong {
  bottom: 78px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.08;
}

.investor-video-card small {
  bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
}

.investor-play {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange);
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

/* Cronograma */
.timeline-panel {
  margin-top: 54px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.timeline-bar {
  display: grid;
  grid-template-columns: 64fr 21fr 15fr;
  min-height: 74px;
  overflow: hidden;
  border-radius: 6px;
  background: #ece4d8;
}

.timeline-bar span {
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.timeline-panel.is-visible .timeline-bar span {
  transform: scaleX(1);
  opacity: 1;
}

.timeline-panel.is-visible .bar-sale {
  transition-delay: 0.18s;
}

.timeline-panel.is-visible .bar-payment {
  transition-delay: 0.34s;
}

.bar-build {
  background: var(--orange);
}

.bar-sale {
  background: #303030;
}

.bar-payment {
  background: #8d8171;
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.timeline-cards article {
  padding: 20px;
  border: 1px solid rgba(48, 48, 48, 0.10);
  border-radius: 8px;
  background: #fffaf2;
}

.timeline-cards span,
.simulator-results span,
.analysis-card > span,
.scenario-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline-cards strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 19px;
}

.timeline-cards p {
  margin: 8px 0 0;
}

.timeline-cards .total-card {
  border-color: rgba(247, 147, 29, 0.42);
  background: #fff2de;
}

/* Simulador */
.simulator-section {
  background: #242424;
  color: rgba(255, 255, 255, 0.76);
}

.simulator-section h2,
.simulator-section h3 {
  color: var(--white);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  align-items: start;
}

.simulator-section .section-heading {
  max-width: 780px;
}

.simulator-section .section-heading h2 {
  max-width: 680px;
  font-size: clamp(26px, 2.7vw, 38px);
}

.simulator-section .section-heading p {
  max-width: 660px;
  font-size: 17px;
}

.simulator-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(360px, 1fr);
  gap: 16px 28px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.simulator-card label,
.qualification-form label {
  display: grid;
  gap: 8px;
}

.simulator-card label {
  grid-column: 1;
}

.simulator-card label span,
.qualification-form label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.simulator-card input,
.qualification-form input,
.qualification-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0 14px;
  outline: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.simulator-card input:focus,
.qualification-form input:focus,
.qualification-form select:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.12);
}

.simulator-results {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 0;
  align-self: start;
}

.simulator-results article {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.simulator-results strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.16;
}

.featured-result {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(247, 147, 29, 0.94), rgba(247, 184, 102, 0.82)) !important;
}

.featured-result span,
.featured-result strong {
  color: var(--white);
}

.projection-visual {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.projection-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(247, 184, 102, 0.12) 48%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}

.projection-visual.is-animated::before {
  animation: graphScan 1.15s ease forwards;
}

.projection-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
  stroke-dasharray: 380;
  stroke-dashoffset: 380;
}

.projection-visual.is-animated .grid-line {
  animation: gridDraw 0.7s ease forwards;
}

.projection-visual.is-animated .grid-line:nth-of-type(2) {
  animation-delay: 0.08s;
}

.projection-visual.is-animated .grid-line:nth-of-type(3) {
  animation-delay: 0.16s;
}

#capital-area {
  fill: url(#capital-area-gradient);
  opacity: 0;
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: bottom center;
}

.projection-visual.is-animated #capital-area {
  animation: areaReveal 0.78s 0.22s ease forwards;
}

#capital-line {
  fill: none;
  stroke: var(--orange-soft);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(247, 147, 29, 0.28));
  transition: stroke-dashoffset 1s cubic-bezier(0.22, 1, 0.36, 1);
}

#capital-points circle {
  fill: var(--white);
  stroke: var(--orange);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pointIn 0.42s ease forwards, pointPulse 1.8s ease-in-out infinite;
}

.compliance-note {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.5;
}

.compliance-note.compact {
  color: var(--muted);
}

/* Análises */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.analysis-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(28, 25, 22, 0.06);
}

.analysis-card h3 {
  margin-top: 12px;
}

.data-badge {
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2de;
  color: var(--orange) !important;
}

.mini-stacked {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-stacked span {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding-left: 14px;
  overflow: hidden;
  border-radius: 6px;
  background: #f0e8dd;
  color: var(--ink);
  font-weight: 800;
}

.mini-stacked span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: rgba(247, 147, 29, 0.34);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.analysis-card.is-visible .mini-stacked span::before {
  transform: scaleX(1);
}

.mini-stacked span {
  z-index: 0;
}

.mini-stacked span::after {
  content: "";
  position: relative;
}

.process-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.process-stack div {
  position: relative;
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  padding: 0 14px;
  border: 1px solid rgba(48, 48, 48, 0.08);
  border-radius: 6px;
  background: #f4eee5;
}

.process-stack div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: linear-gradient(90deg, rgba(247, 147, 29, 0.34), rgba(247, 184, 102, 0.12));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.analysis-card.is-visible .process-stack div::before {
  transform: scaleX(1);
}

.process-stack span,
.process-stack strong {
  position: relative;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  z-index: 1;
}

.wide-analysis {
  grid-column: span 1;
}

.capital-bars {
  height: 230px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  align-items: end;
  margin-top: 28px;
}

.capital-bars span {
  min-height: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--orange-soft), var(--orange));
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  transform: scaleY(0);
  transform-origin: bottom center;
}

.analysis-card.is-visible .capital-bars span {
  animation: barRise 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.scenario-grid div {
  padding: 18px;
  border: 1px solid rgba(48, 48, 48, 0.10);
  border-radius: 8px;
  background: #fffaf2;
}

.scenario-grid .scenario-active {
  border-color: rgba(247, 147, 29, 0.44);
  background: #fff2de;
}

.scenario-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 25px;
}

.scenario-grid p {
  margin: 10px 0 0;
  font-size: 14px;
}

/* Autoridade */
.dark-section {
  background: #242424;
}

.dark-section h2 {
  color: var(--white);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.72);
}

.authority-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 62px;
  align-items: start;
}

.authority-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 0;
}

.authority-list span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

/* Modal de vídeos */
.investor-video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.investor-video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.investor-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(12px);
}

.investor-video-content {
  position: relative;
  width: min(960px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #111111;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.42);
}

.investor-video-content video {
  width: 100%;
  max-height: min(78vh, 720px);
  background: #111111;
}

.investor-video-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

/* MCMV e riscos */
.mcmv-section {
  background: #fffaf2;
}

.mcmv-grid,
.transparency-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
}

.flow-card {
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding: 28px;
  border: 1px solid rgba(247, 147, 29, 0.26);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.flow-card span {
  position: relative;
  padding: 14px 44px 14px 16px;
  border: 1px solid rgba(48, 48, 48, 0.10);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
}

.flow-card span::after {
  content: "\2192";
  position: absolute;
  right: 16px;
  color: var(--orange);
}

.flow-card span:last-child::after {
  content: "";
}

.transparency-section {
  background: var(--paper);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 0;
}

.risk-grid span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--graphite);
  font-weight: 800;
}

/* Perfil */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.profile-card {
  min-height: 112px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(28, 25, 22, 0.05);
}

.section-cta {
  width: max-content;
  max-width: 100%;
  margin-top: 34px;
  padding: 0 24px;
  border: 1px solid rgba(247, 147, 29, 0.28);
  color: var(--orange);
}

.section-cta:hover,
.section-cta:focus-visible {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* Formulário */
.form-section {
  background:
    linear-gradient(135deg, rgba(247, 147, 29, 0.09), transparent 38%),
    #242424;
  color: rgba(255, 255, 255, 0.72);
}

.form-section h2 {
  color: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(460px, 1fr);
  gap: 62px;
  align-items: start;
}

.qualification-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.qualification-form .full-field,
.qualification-form button,
.form-success {
  grid-column: 1 / -1;
}

.qualification-form select option {
  color: var(--ink);
}

.qualification-form button {
  margin-top: 10px;
}

.form-success {
  display: none;
  padding: 20px;
  border: 1px solid rgba(247, 147, 29, 0.32);
  border-radius: 8px;
  background: rgba(247, 147, 29, 0.12);
}

.form-success.is-visible {
  display: block;
}

.form-success strong {
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
}

.form-success p {
  margin: 8px 0 14px;
}

.form-success a {
  color: var(--orange-soft);
  font-weight: 800;
}

/* FAQ */
.faq-section {
  background: #fffaf2;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(520px, 1fr);
  gap: 70px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.faq-item button::after {
  content: "+";
  color: var(--orange);
  font-size: 24px;
  line-height: 1;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 20px 20px;
}

.faq-item.is-open p {
  display: block;
}

/* CTA final e rodapé */
.final-cta {
  padding: 106px 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.94), rgba(255, 250, 242, 0.64)),
    url("../assets/images/01-casa-moderna.jpg") center center / cover no-repeat;
}

.final-cta .investor-container {
  max-width: 760px;
  margin-left: max(24px, calc((100vw - var(--container)) / 2));
}

.final-cta .primary-link {
  margin-top: 32px;
}

.investor-footer {
  padding: 38px 0;
  background: #242424;
  color: rgba(255, 255, 255, 0.70);
}

.footer-grid {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-grid img {
  width: 150px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--orange-soft);
  font-weight: 800;
}

/* Animações */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes barRise {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes pointIn {
  from {
    opacity: 0;
    transform: scale(0.45);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pointPulse {
  0%,
  100% {
    stroke-width: 3;
  }

  50% {
    stroke-width: 5;
  }
}

@keyframes gridDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes areaReveal {
  from {
    opacity: 0;
    transform: scaleY(0);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes graphScan {
  to {
    transform: translateX(120%);
  }
}

@keyframes statCardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1120px) {
  .investor-nav {
    gap: 20px;
  }

  .header-action {
    display: none;
  }

  .hero-grid,
  .simulator-grid,
  .authority-grid,
  .mcmv-grid,
  .transparency-grid,
  .form-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .investor-video-grid {
    grid-template-columns: repeat(3, minmax(190px, 300px));
  }

  .featured-video {
    grid-column: auto;
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .investor-container {
    width: min(100% - 34px, 680px);
  }

  .investor-section {
    padding: 76px 0;
  }

  .header-grid {
    min-height: 76px;
  }

  .investor-brand img {
    width: 122px;
  }

  .investor-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .investor-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 0;
    background: rgba(247, 243, 236, 0.98);
    border-bottom: 1px solid rgba(48, 48, 48, 0.12);
    box-shadow: 0 20px 30px rgba(28, 25, 22, 0.12);
    transition: max-height 0.28s ease;
  }

  .nav-open .investor-nav {
    max-height: 420px;
  }

  .investor-nav a {
    padding: 16px 24px;
    border-top: 1px solid rgba(48, 48, 48, 0.08);
    font-size: 16px;
  }

  .investor-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(247, 243, 236, 0.88) 0%, rgba(247, 243, 236, 0.78) 100%),
      url("../assets/images/hero-casa-em-construcao.png") center top / cover no-repeat;
  }

  .hero-grid {
    gap: 42px;
    padding: 72px 0 58px;
  }

  .hero-copy > p {
    font-size: 18px;
  }

  .hero-metrics,
  .comparison-grid,
  .timeline-cards,
  .analytics-grid,
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .investor-video-grid {
    grid-template-columns: minmax(0, 330px);
    justify-content: center;
  }

  .featured-video {
    min-height: 0;
  }

  .simulator-card {
    grid-template-columns: 1fr;
  }

  .simulator-card label,
  .simulator-results,
  .projection-visual,
  .compliance-note {
    grid-column: 1;
    grid-row: auto;
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .simulator-grid,
  .form-grid,
  .faq-grid {
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .investor-container {
    width: min(100% - 28px, 520px);
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-actions,
  .comparison-grid,
  .scenario-grid,
  .simulator-results,
  .qualification-form,
  .hero-metrics,
  .steps-track,
  .timeline-cards,
  .analytics-grid,
  .authority-list,
  .investor-video-grid,
  .risk-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    justify-items: start;
  }

  .primary-link,
  .section-cta,
  .qualification-form button {
    width: 100%;
  }

  .timeline-panel,
  .simulator-card,
  .qualification-form {
    padding: 22px;
  }

  .investor-video-card,
  .featured-video {
    min-height: 0;
  }

  .timeline-bar {
    grid-template-columns: 1fr;
  }

  .capital-bars {
    height: 190px;
    gap: 6px;
  }

  .capital-bars span {
    font-size: 10px;
  }

  .final-cta .investor-container {
    margin-left: auto;
  }
}
