/* =============================================================
   OVERALL GYM · APRESENTAÇÃO COTISTAS
   Estética: dark cinematográfico, varsity/collegiate atlético
   ============================================================= */

:root {
  --bg: #023163;
  --bg-2: #04284f;
  --bg-3: #0a3d72;
  --bg-deep: #01182f;
  --stroke: #01101f;
  --ink: #f8f5f7;
  --ink-2: #d3dcea;
  --ink-3: #aebcd0;
  --ink-4: #2c466e;

  --red: #d4233e;
  --red-deep: #a81b31;
  --red-soft: #ea3b52;

  --navy: #023163;
  --navy-2: #0a4180;
  --navy-3: #1858a8;

  --gold: #d4af37;

  --grid: rgba(255, 255, 255, 0.04);
  --grid-strong: rgba(255, 255, 255, 0.08);

  --shadow-1: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-red: 0 0 60px rgba(212, 35, 62, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==================== GRAIN OVERLAY ==================== */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==================== PROGRESS BAR ==================== */
.progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 90;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  transition: width 0.4s var(--ease);
  box-shadow: 0 0 12px rgba(212, 35, 62, 0.7);
}

/* ==================== SLIDE COUNTER ==================== */
.slide-counter {
  position: fixed;
  top: 28px;
  right: 36px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  z-index: 95;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.slide-counter .divider { color: var(--ink-3); }
.slide-counter #totalSlides { color: var(--ink-3); }

/* ==================== SIDE NAV ==================== */
.side-nav {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 95;
}
.side-nav .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}
.side-nav .dot:hover {
  background: var(--ink-2);
  transform: scale(1.3);
}
.side-nav .dot.active {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  transform: scale(1.4);
}
.side-nav .dot::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.side-nav .dot:hover::after { opacity: 1; }

/* ==================== KEYBOARD HINT ==================== */
.kbd-hint {
  position: fixed;
  bottom: 24px;
  right: 36px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  z-index: 95;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kbd {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--ink-4);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.03);
}

/* ==================== SLIDES BASE ==================== */
.slide {
  height: 100vh;
  width: 100%;
  padding: clamp(40px, 5.2vh, 76px) 8% clamp(28px, 3.6vh, 52px);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.5;
}

/* ==================== SECTION LABEL ==================== */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(16px, 2.6vh, 32px);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.18em;
  font-size: 14px;
}
.label-num {
  color: var(--red);
  font-size: 24px;
}
.label-divider {
  width: 48px;
  height: 1px;
  background: var(--ink-4);
}
.label-text { color: var(--ink-2); }

/* ==================== BIG HEADINGS ==================== */
.big-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 90px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: clamp(14px, 2.2vh, 30px);
  padding-top: 0.12em;
}
.big-heading span {
  display: block;
  overflow: visible;
  padding-bottom: 0.04em;
}
.big-heading .red { color: var(--red); }
.big-heading .outline {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}
/* headings menores em slides densos para o conteúdo caber em 100vh */
.slide-cost .big-heading,
.slide-scenarios .big-heading,
.slide-units .big-heading,
.slide-map .big-heading,
.slide-market .big-heading {
  font-size: clamp(30px, 3.9vw, 56px);
  margin-bottom: clamp(10px, 1.5vh, 22px);
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal,
.reveal-up,
.reveal-frame,
.reveal-grow,
.reveal-pop {
  opacity: 0;
  transition:
    opacity 0.8s var(--ease),
    transform 1s var(--ease),
    clip-path 1s var(--ease),
    filter 1s var(--ease);
}
.reveal-up { transform: translateY(60px); }
.reveal-frame { clip-path: inset(0 100% 0 0); transform: scale(1.05); }
.reveal-grow { transform: scaleX(0); transform-origin: left; }
.reveal-pop { transform: scale(0.82); filter: blur(8px); }

.slide.in-view .reveal,
.slide.in-view .reveal-up,
.slide.in-view .reveal-frame,
.slide.in-view .reveal-grow,
.slide.in-view .reveal-pop {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  filter: blur(0);
}

/* ==============================================================
   SLIDE 1 · CAPA
   ============================================================== */
.slide-cover {
  padding: 80px 8%;
  justify-content: center;
}

.cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.cover-bg-img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.1) saturate(0.7);
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-1%, -1%); }
}
.cover-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(1, 18, 40, 0.55) 0%, rgba(2, 49, 99, 0.94) 82%),
    linear-gradient(to bottom, rgba(2, 49, 99, 0.35), rgba(1, 24, 47, 0.96));
}
.cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-strong) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.3;
}

.cover-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cover-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.3em;
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  margin-bottom: clamp(24px, 5vh, 50px);
}
.cover-eyebrow .star {
  color: var(--red);
  font-size: 12px;
}

.cover-logo {
  position: relative;
  display: block;
  width: min(680px, 82vw);
  margin: 0 auto;
  line-height: 0;
  animation: logoFloat 6s ease-in-out infinite;
  filter:
    drop-shadow(0 0 46px rgba(212, 35, 62, 0.32))
    drop-shadow(0 0 90px rgba(24, 88, 168, 0.30))
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
}
.cover-logo img {
  width: 100%;
  height: auto;
  display: block;
}
/* brilho que varre as letras (mascarado pela forma da logo) */
.cover-logo-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 62%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  -webkit-mask: url("../assets/logo/logo.png") center / contain no-repeat;
          mask: url("../assets/logo/logo.png") center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0;
}
.slide-cover.in-view .cover-logo-shine {
  animation: logoShine 5s ease-in-out 1.4s infinite;
}
@keyframes logoShine {
  0%   { background-position: 220% 0; opacity: 0; }
  8%   { opacity: 1; }
  45%  { background-position: -120% 0; opacity: 1; }
  55%, 100% { background-position: -120% 0; opacity: 0; }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes starPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.cover-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.35em;
  margin-top: clamp(20px, 4vh, 40px);
  color: var(--ink-2);
}
.cover-subtitle strong {
  color: var(--ink);
  font-weight: 400;
}

.cover-tagline {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.4em;
  margin-top: 18px;
  color: var(--ink-3);
}
.tag-accent { color: var(--red); }

.cover-meta {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  margin-top: clamp(28px, 5.5vh, 64px);
  padding: clamp(18px, 3vh, 32px) 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.meta-block { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--ink-3);
}
.meta-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.meta-divider {
  width: 1px;
  background: var(--ink-4);
}

.cover-scroll {
  margin-top: clamp(24px, 5vh, 56px);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--ink-3), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.4); transform-origin: top; }
}

/* HEX DECORATIONS */
.hex-decoration {
  position: absolute;
  width: 200px;
  height: 230px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.25;
  background:
    linear-gradient(135deg, transparent 49%, var(--ink) 49%, var(--ink) 51%, transparent 51%) 0 0 / 100% 100% no-repeat;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  border: 1px solid var(--ink);
  background: transparent;
  animation: hexFloat 8s ease-in-out infinite;
}
.hex-decoration::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--red);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transform: scale(0.7);
  opacity: 0.4;
}
.hex-1 { top: 10%; right: -50px; animation-delay: 0s; }
.hex-2 { bottom: 15%; left: -60px; animation-delay: 2s; opacity: 0.15; }
.hex-3 { top: 60%; right: 8%; transform: scale(0.6); animation-delay: 4s; opacity: 0.18; }
.hex-decoration.small { transform: scale(0.5); }
@keyframes hexFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(8deg); }
}

/* ==============================================================
   SLIDE 2 · VISÃO
   ============================================================== */
.slide-vision { padding-top: 110px; }
.vision-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 36px;
}
.lead strong { color: var(--ink); font-weight: 600; }
.lead-narrow {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 760px;
  margin-bottom: clamp(16px, 2.4vh, 32px);
}
.lead-narrow strong { color: var(--ink); }

.vision-bullets { display: flex; flex-direction: column; gap: 14px; }
.vbullet {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.025);
  border-left: 2px solid var(--red);
  transition: all 0.3s var(--ease);
}
.vbullet:hover {
  background: rgba(212, 35, 62, 0.08);
  transform: translateX(6px);
}
.vbullet-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--red);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.vbullet-text {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}

.vision-right { position: relative; }
.vision-img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.vision-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 1.5s var(--ease);
}
.vision-img-frame:hover img { transform: scale(1.05); }
.frame-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(1, 18, 40, 0.82);
  backdrop-filter: blur(8px);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.frame-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.floating-quote {
  position: absolute;
  bottom: -30px;
  right: -30px;
  padding: 24px 28px;
  background: var(--red);
  color: var(--ink);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  box-shadow: var(--shadow-2);
  max-width: 260px;
}
.quote-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  line-height: 0.5;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* ==============================================================
   SLIDE · PROJETO FLÁVIO GARCIA (credibilidade)
   ============================================================== */
.slide-flavio { padding-top: clamp(70px, 9vh, 120px); }
.flavio-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.flavio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.26em;
  font-size: 15px;
  color: var(--ink-2);
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: clamp(18px, 3vh, 32px);
}
.flavio-eyebrow .star { color: var(--red); font-size: 12px; }
.flavio-heading {
  font-size: clamp(34px, 4.6vw, 70px);
  margin-bottom: clamp(16px, 2.6vh, 30px);
}
.flavio-lead {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: clamp(18px, 2.6vh, 30px);
}
.flavio-lead strong { color: var(--ink); font-weight: 600; }
.flavio-credential {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 520px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.025);
  border-left: 3px solid var(--red);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.flavio-credential .fc-icon {
  color: var(--red);
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.3;
}

.flavio-right { display: flex; justify-content: flex-end; }
.flavio-photo {
  position: relative;
  width: 100%;
  max-width: min(100%, 58vh);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-2);
}
.flavio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: brightness(0.96) contrast(1.05) saturate(1.02);
  transition: transform 1.5s var(--ease);
}
.flavio-photo:hover img { transform: scale(1.04); }
.flavio-photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 52%, rgba(1, 18, 40, 0.92)),
    linear-gradient(120deg, rgba(2, 49, 99, 0.22), transparent 42%);
}
.flavio-photo::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 4px;
  background: var(--red);
}
.flavio-name-tag {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fnt-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.fnt-role {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--red);
}

/* ==============================================================
   SLIDE 3 · MERCADO
   ============================================================== */
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: clamp(14px, 2.2vh, 32px) 0;
  position: relative;
  z-index: 2;
}
.market-card {
  position: relative;
  padding: clamp(16px, 2.4vh, 26px) 24px;
  background: var(--bg-2);
  border: 1px solid var(--ink-4);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  min-height: clamp(170px, 24vh, 230px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.market-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-red);
}
.market-card.highlight {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%);
  border-color: transparent;
}
.market-flag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.market-card.highlight .market-flag { color: rgba(255, 255, 255, 0.7); }

.market-number {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: clamp(8px, 1.4vh, 14px);
}
.market-card.highlight .market-number { color: #fff; }

.market-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.market-card.highlight .market-label { color: rgba(255, 255, 255, 0.9); }

.market-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.market-card.highlight .market-desc { color: rgba(255, 255, 255, 0.75); }

.region-block {
  margin-top: clamp(14px, 2.2vh, 28px);
  padding: clamp(16px, 2.4vh, 28px) 36px;
  border: 1px solid var(--ink-4);
  background:
    linear-gradient(135deg, rgba(24, 88, 168, 0.28), transparent 60%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
}
.region-tag {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: clamp(10px, 1.6vh, 18px);
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 35, 62, 0.1);
  border: 1px solid rgba(212, 35, 62, 0.3);
}
.region-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.region-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rs-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 38px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.rs-label {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ==============================================================
   SLIDE 4 & 5 · PROJETO 3D
   ============================================================== */
.render-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(168px, 24vh, 250px));
  gap: 12px;
  position: relative;
  z-index: 2;
}
.render-mosaic .render-tile-big {
  grid-column: span 1;
  grid-row: span 2;
  height: 100%;
}
.render-mosaic .render-tile:not(.render-tile-big) {
  height: 100%;
}

.mosaic-b {
  grid-template-rows: repeat(2, clamp(148px, 20.5vh, 225px));
}
.mosaic-b .render-tile-big {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.render-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.render-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.08);
  transition: transform 1.5s var(--ease), filter 0.5s var(--ease);
}
.render-tile:hover {
  border-color: var(--red);
  z-index: 5;
}
.render-tile:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.1);
}
.tile-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(1, 18, 40, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(8px);
  opacity: 0.95;
  transition: all 0.4s var(--ease);
}
.render-tile:hover .tile-caption {
  background: var(--red);
  transform: translateY(0);
}
.tile-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--red);
  transition: color 0.4s;
}
.render-tile:hover .tile-num { color: #fff; }
.tile-title {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--ink);
}
.tile-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 2px;
}
.render-tile:hover .tile-sub { color: rgba(255, 255, 255, 0.85); }

.slide-3d .big-heading { margin-bottom: 50px; }
.slide-3d-b { padding-top: 120px; }

/* ==============================================================
   SLIDE 6 · UNIDADES EXISTENTES
   ============================================================== */
.units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, clamp(138px, 19vh, 200px));
  gap: 10px;
  margin-top: clamp(12px, 1.8vh, 24px);
  position: relative;
  z-index: 2;
}
.unit-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s var(--ease);
}
.unit-card-big {
  grid-column: span 2;
  grid-row: span 2;
}
.unit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05) saturate(0.95);
  transition: all 1.2s var(--ease);
}
.unit-card:hover {
  border-color: var(--red);
  z-index: 4;
}
.unit-card:hover img {
  transform: scale(1.06);
  filter: brightness(1.05) contrast(1.1);
}
.unit-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: var(--red);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
}

/* ==============================================================
   SLIDE 7 · TERRENO
   ============================================================== */
.land-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.land-address {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: clamp(14px, 2.4vh, 24px);
  border-bottom: 1px solid var(--ink-4);
  margin-bottom: clamp(18px, 3vh, 32px);
}
.land-pin {
  font-size: 22px;
  color: var(--red);
  line-height: 1;
  margin-top: 4px;
  animation: pinPulse 2s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.land-street {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: 0.01em;
  color: var(--ink);
}
.land-city {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 6px;
}
.land-cep {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.land-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: clamp(16px, 3vh, 32px);
}
.lm-card {
  padding: clamp(14px, 2vh, 20px) 22px;
  background: var(--bg-2);
  border: 1px solid var(--ink-4);
  transition: all 0.3s var(--ease);
}
.lm-card:hover { border-color: var(--red); }
.lm-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 56px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.lm-value sup {
  font-size: 0.4em;
  color: var(--red);
  vertical-align: super;
  margin-left: 4px;
}
.lm-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-top: 8px;
  display: block;
}
.lm-sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 5px;
  display: block;
}

.land-h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: clamp(12px, 2vh, 22px);
  padding-left: 14px;
  position: relative;
}
.land-h3.small { font-size: 19px; }
.land-h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--red);
}

.rent-timeline {
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 1.2vh, 12px);
}
.rent-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(8px, 1.4vh, 14px) 18px;
  background: var(--bg-2);
  border-left: 2px solid var(--ink-4);
  transition: all 0.3s var(--ease);
}
.rent-step:hover {
  border-left-color: var(--red);
  background: var(--bg-3);
}
.rent-step-marker {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--ink-4);
  border-radius: 50%;
}
.rent-step-marker.carencia {
  background: rgba(212, 35, 62, 0.1);
  border-color: var(--red);
}
.rent-step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--red);
  letter-spacing: 0.05em;
}
.rent-step-body { display: flex; flex-direction: column; gap: 2px; }
.rent-step-when {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}
.rent-step-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.rent-step-value small {
  font-size: 0.5em;
  color: var(--ink-3);
  font-weight: 400;
  font-family: 'Manrope', sans-serif;
}
.rent-carencia {
  color: var(--red) !important;
  text-shadow: 0 0 12px rgba(212, 35, 62, 0.4);
}
.rent-step-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 3px;
  line-height: 1.4;
}

.land-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
}
.land-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
}
.land-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(1, 18, 40, 0.85));
}

.land-perks { display: flex; flex-direction: column; gap: 10px; }
.perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--red);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.perk-icon { color: var(--red); flex-shrink: 0; font-size: 16px; line-height: 1.2; }

/* ==============================================================
   SLIDE 8 · CUSTO
   ============================================================== */
.cost-year-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: clamp(16px, 2.6vh, 36px);
  position: relative;
  z-index: 2;
}
/* layout de ano único (custo médio do ANO 01) */
.cost-year-tabs.single {
  display: flex;
  justify-content: center;
}
.cost-year-tabs.single .cyt-card {
  width: 100%;
  max-width: 640px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
}
.cost-year-tabs.single .cyt-card:hover {
  transform: none;
}
.cost-year-tabs.single .cyt-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0;
}
.cost-year-tabs.single .cyt-sub {
  text-align: left;
}
.cost-year-tabs.single .cyt-total {
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 60px);
  text-align: right;
}
.cost-year-tabs.single .cyt-body {
  text-align: right;
}
.cyt-card {
  position: relative;
  padding: clamp(16px, 2.4vh, 26px) 24px;
  background: var(--bg-2);
  border: 1px solid var(--ink-4);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition: all 0.4s var(--ease);
}
.cyt-card.active {
  background: linear-gradient(135deg, rgba(212, 35, 62, 0.15), var(--bg-2));
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.cyt-card.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
}
.cyt-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.cyt-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.cost-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(10px, 1.6vh, 18px);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cost-hint-dot {
  color: var(--red);
  font-size: 10px;
  animation: costHintPulse 1.8s var(--ease) infinite;
}
@keyframes costHintPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.cyt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(12px, 1.8vh, 22px);
}
.cyt-tag {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--red);
}
.cyt-sub {
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: right;
}
.cyt-total {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 3.6vw, 48px);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: clamp(4px, 0.8vh, 10px);
}
.cyt-foot {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-2);
}

.cost-breakdown {
  padding: clamp(16px, 2.4vh, 30px) 36px;
  background: var(--bg-2);
  border: 1px solid var(--ink-4);
}
.cb-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: clamp(8px, 1.4vh, 18px);
  padding-bottom: clamp(8px, 1.2vh, 14px);
  border-bottom: 1px solid var(--ink-4);
}
.cb-table {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(6, auto);
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
}
.cb-row {
  display: grid;
  grid-template-columns: 1.6fr 2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: clamp(3px, 0.7vh, 8px) 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s var(--ease);
}
.cb-row:not(.cb-head):hover { background: rgba(212, 35, 62, 0.05); }
.cb-head { display: none; }
.cb-bar-col, .cb-val-col { text-align: right; }
.cb-name {
  font-size: 13.5px;
  color: var(--ink);
}
.cb-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.cb-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  border-radius: 3px;
  transition: width 1.6s var(--ease);
}
.cb-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  color: var(--ink);
  text-align: right;
  font-weight: 600;
}
.cb-note {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: clamp(8px, 1.2vh, 16px);
  font-style: italic;
}

/* ==============================================================
   SLIDE 9 · CENÁRIOS
   ============================================================== */
.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: clamp(12px, 1.8vh, 26px) 0;
  position: relative;
  z-index: 2;
}
.scenario-card {
  position: relative;
  padding: clamp(16px, 2.3vh, 30px) clamp(22px, 2.6vw, 36px);
  border: 1px solid var(--ink-4);
  background: var(--bg-2);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.scenario-pess {
  border-top: 4px solid var(--ink-3);
}
.scenario-otim {
  border-top: 4px solid var(--red);
  background: linear-gradient(180deg, rgba(212, 35, 62, 0.06), var(--bg-2) 35%);
}
.scenario-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: var(--shadow-2);
}
.sc-spark {
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212, 35, 62, 0.25), transparent 60%);
  pointer-events: none;
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sc-header { margin-bottom: clamp(12px, 1.8vh, 22px); }
.sc-badge {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  padding: 4px 10px;
  border: 1px solid var(--ink-4);
  margin-bottom: clamp(6px, 1vh, 12px);
}
.scenario-otim .sc-badge {
  color: var(--red);
  border-color: var(--red);
}
.sc-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.1vw, 46px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 6px;
}
.scenario-otim .sc-title { color: var(--red); }
.sc-tag {
  font-size: 14.5px;
  color: var(--ink-2);
}

.sc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: clamp(5px, 0.9vh, 10px) 0;
}
.sc-row.big { padding: clamp(8px, 1.2vh, 14px) 0; }
.sc-row.big.highlight {
  background: rgba(212, 35, 62, 0.08);
  margin: 0 -14px;
  padding: clamp(8px, 1.2vh, 14px) 14px;
  border-radius: 4px;
}
.sc-row-label {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.sc-row.big .sc-row-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.sc-row.big.highlight .sc-row-label {
  color: var(--red);
}
.sc-row-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}
.sc-row.big .sc-row-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.sc-row.big.highlight .sc-row-value { color: var(--red); }

.sc-divider {
  height: 1px;
  background: var(--ink-4);
  margin: clamp(8px, 1.3vh, 14px) 0;
}

.sc-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: clamp(8px, 1.3vh, 14px);
  padding-top: clamp(10px, 1.6vh, 18px);
  border-top: 2px solid var(--ink-4);
}
.scenario-otim .sc-footer { border-top-color: var(--red); }
.sc-foot-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.sc-foot-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.scenario-otim .sc-foot-value {
  color: var(--red);
  text-shadow: 0 0 20px rgba(212, 35, 62, 0.4);
}

.scenario-compare {
  margin-top: clamp(12px, 2vh, 26px);
  padding: clamp(12px, 1.7vh, 20px) 32px;
  background: var(--bg-2);
  border: 1px solid var(--ink-4);
  position: relative;
  z-index: 2;
}
.sc-bar-wrap {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
}
.sc-bar-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}
.sc-bar {
  height: 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.sc-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ink-4), var(--ink-3));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--ink);
  transition: width 1.8s var(--ease);
}
.sc-bar-fill.big {
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  box-shadow: 0 0 30px rgba(212, 35, 62, 0.4);
}
.slide.in-view .sc-bar-fill { width: var(--w); }
.sc-compare-caption {
  text-align: center;
  margin-top: clamp(8px, 1.2vh, 14px);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}

/* ==============================================================
   SLIDE 10 · FLUXO DE CAIXA
   ============================================================== */
.flow-stack {
  display: flex;
  gap: 30px;
  margin: clamp(12px, 2vh, 28px) 0;
  padding: clamp(14px, 1.8vh, 22px) 30px;
  background: var(--bg-2);
  border: 1px solid var(--ink-4);
  position: relative;
  z-index: 2;
}
.flow-stat { flex: 1; }
.fs-label {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.fs-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 36px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fs-value.big {
  color: var(--red);
  font-size: clamp(30px, 3vw, 44px);
}
.fs-value strong {
  color: var(--red);
  font-weight: 400;
}

.flow-h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.15em;
  color: var(--ink);
  margin-bottom: clamp(14px, 2.2vh, 28px);
  position: relative;
  padding-left: 14px;
}
.flow-h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px; bottom: 6px;
  width: 4px;
  background: var(--red);
}

.flow-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: clamp(18px, 2.8vh, 38px);
  z-index: 2;
}
.ft-line {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--ink-4));
  z-index: 0;
}
.ft-step { position: relative; padding-top: clamp(22px, 2.8vh, 30px); z-index: 1; }
.ft-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(212, 35, 62, 0.55), inset 0 0 0 4px var(--bg);
}
.ft-dot.last { background: var(--ink-3); box-shadow: inset 0 0 0 4px var(--bg); }
.ft-content {
  text-align: center;
  padding: clamp(11px, 1.6vh, 16px) 14px;
  background: var(--bg-2);
  border: 1px solid var(--ink-4);
  transition: all 0.3s var(--ease);
}
.ft-step:hover .ft-content {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}
.ft-when {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 8px;
}
.ft-value {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink);
  letter-spacing: 0.01em;
}

.payback-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(18px, 2.6vh, 30px) 36px;
  background: linear-gradient(135deg, rgba(212, 35, 62, 0.08), var(--bg-2) 70%);
  border: 1px solid var(--red);
  border-left-width: 4px;
  position: relative;
  z-index: 2;
}
.payback-pretitle {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 12px;
}
.payback-range {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.payback-low, .payback-high {
  font-size: clamp(36px, 4.2vw, 62px);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.payback-dash {
  font-size: clamp(24px, 2.8vw, 42px);
  color: var(--red);
}
.payback-unit {
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--ink-3);
  letter-spacing: 0.2em;
  margin-left: 10px;
}

.payback-meter { padding: 12px 0; }
.pm-track {
  position: relative;
  height: 28px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  overflow: visible;
}
.pm-fill {
  position: absolute;
  left: 34%;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(212, 35, 62, 0.45);
  transition: width 1.8s var(--ease);
}
.slide.in-view .pm-fill { width: calc(70% - 34%); }
.pm-marker {
  position: absolute;
  top: -28px;
  transform: translateX(-50%);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.pm-marker::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 1px;
  height: 14px;
  background: var(--red);
  transform: translateX(-50%);
}
.pm-low { left: 34%; }
.pm-high { left: 70%; }
.pm-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

/* ==============================================================
   SLIDE 11 · RESUMO
   ============================================================== */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}
.summary-card {
  padding: 28px 28px;
  background: var(--bg-2);
  border: 1px solid var(--ink-4);
  border-top: 3px solid var(--red);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.summary-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 35, 62, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.summary-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.summary-card:hover::before { opacity: 1; }
.summary-card .sc-icon {
  font-size: 28px;
  color: var(--red);
  margin-bottom: 18px;
  display: inline-block;
  transition: transform 0.4s;
}
.summary-card:hover .sc-icon { transform: rotate(45deg); }
.summary-card h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.summary-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ==============================================================
   SLIDE 12 · GRATIDÃO
   ============================================================== */
.slide-thanks {
  background: radial-gradient(ellipse at center, var(--bg-3) 0%, var(--bg) 58%, var(--bg-deep) 100%);
  text-align: center;
  align-items: center;
}
.thanks-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 35, 62, 0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(24, 88, 168, 0.28), transparent 42%);
  pointer-events: none;
}
.thanks-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.thanks-eyebrow {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  font-size: 20px;
  color: var(--red);
}
.thanks-eyebrow .star {
  animation: starPulse 2s ease-in-out infinite;
}
.thanks-eyebrow span:nth-child(2) { animation-delay: 0.2s; }
.thanks-eyebrow span:nth-child(3) { animation-delay: 0.4s; }

.thanks-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 50px;
  padding-top: 0.1em;
  color: var(--ink);
  text-shadow:
    -3px -3px 0 var(--stroke),
     3px -3px 0 var(--stroke),
    -3px  3px 0 var(--stroke),
     3px  3px 0 var(--stroke),
     0 0 120px rgba(212, 35, 62, 0.5);
}
.thanks-title .red,
.thanks-title span {
  background: linear-gradient(180deg, var(--ink) 0%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 30px rgba(212, 35, 62, 0.4));
}
.thanks-message {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 760px;
  margin: 0 auto 60px;
}
.thanks-message strong { color: var(--red); }

.thanks-signature {
  margin-bottom: 50px;
}
.ts-line {
  width: 80px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 24px;
}
.ts-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.3em;
  color: var(--ink);
  margin-bottom: 6px;
}
.ts-loc {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}

.thanks-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 32px;
  border: 2px solid var(--red);
  background: rgba(212, 35, 62, 0.08);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
}
.thanks-cta:hover {
  background: var(--red);
  box-shadow: var(--shadow-red);
  transform: translateY(-4px);
}
.cta-arrow {
  font-size: 22px;
  color: var(--red);
  transition: all 0.3s var(--ease);
}
.thanks-cta:hover .cta-arrow {
  color: var(--ink);
  transform: translateX(6px);
}
.thanks-cta:hover .cta-arrow-back {
  transform: translateX(-6px);
}

/* ==============================================================
   LIGHTBOX
   ============================================================== */
/* imagens ampliáveis */
.render-tile, .unit-card, .vision-img-frame, .land-img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(1, 12, 26, 0.86);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 92vw;
  max-height: 90vh;
  transform: scale(0.88) translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease-bounce), opacity 0.4s var(--ease);
}
.lightbox.open .lightbox-figure { transform: scale(1) translateY(0); opacity: 1; }

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 70px rgba(212, 35, 62, 0.18);
}
.lightbox-caption {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--ink-2);
  text-transform: uppercase;
  min-height: 1em;
}

.lightbox-close {
  position: fixed;
  top: 26px;
  right: 30px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 35, 62, 0.14);
  border: 1px solid var(--red);
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 201;
  transition: all 0.35s var(--ease);
}
.lightbox-close:hover {
  background: var(--red);
  transform: rotate(90deg) scale(1.08);
  box-shadow: var(--shadow-red);
}

/* ==============================================================
   RESPONSIVENESS
   ============================================================== */
@media (max-width: 1100px) {
  /* scroll natural em telas médias (laptops pequenos / janela reduzida):
     evita que o conteúdo seja cortado pela altura travada */
  html { scroll-snap-type: none; }
  html, body { overflow-x: hidden; max-width: 100%; }
  .slide {
    height: auto;
    min-height: 100vh;
    overflow: hidden;
    justify-content: center;
    padding: 84px 6% 60px;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .market-card { min-height: 0; }
  .vision-grid, .land-grid { grid-template-columns: 1fr; gap: 40px; }
  .flavio-grid { grid-template-columns: 1fr; gap: 36px; }
  .flavio-right { justify-content: center; }
  .flavio-photo { max-width: 440px; }
  .flavio-lead, .flavio-credential { max-width: none; }
  .render-mosaic, .mosaic-b {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .render-mosaic .render-tile-big,
  .mosaic-b .render-tile-big { grid-column: 1 / 3; grid-row: auto; }
  .render-tile { aspect-ratio: 16 / 10; height: auto; }
  .scenario-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .units-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .unit-card { aspect-ratio: 16 / 10; }
  .unit-card-big { grid-column: 1 / 3; grid-row: auto; }
  .cost-year-tabs { grid-template-columns: 1fr; }
  .flow-timeline { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-line { display: none; }
  .payback-block { grid-template-columns: 1fr; }
  .region-stats { grid-template-columns: 1fr 1fr; }
}
/* ---------- MOBILE / TELAS PEQUENAS ---------- */
@media (max-width: 768px) {
  /* scroll natural: slides crescem e rolam, sem snap rígido nem corte */
  html { scroll-snap-type: none; }
  html, body { overflow-x: hidden; max-width: 100%; }
  .slide {
    height: auto;
    min-height: 100vh;
    overflow: hidden;
    justify-content: center;
    padding: 88px 6% 56px;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .slide::before { background-size: 56px 56px; }

  /* GRATIDÃO — título e conteúdo cabem na largura do celular */
  .thanks-title { font-size: clamp(40px, 13vw, 82px); }
  .thanks-content { max-width: 100%; }
  .thanks-message { font-size: clamp(15px, 4vw, 18px); }
  .thanks-cta { padding: 16px 22px; font-size: 14px; letter-spacing: 0.12em; }

  /* HUD */
  .side-nav { display: none; }
  .kbd-hint { display: none; }
  .slide-counter { top: 14px; right: 14px; font-size: 18px; }

  /* tipografia (vw cresce/encolhe demais em telas estreitas) */
  .big-heading { font-size: clamp(36px, 11vw, 60px); }
  .slide-cost .big-heading,
  .slide-scenarios .big-heading,
  .slide-units .big-heading,
  .slide-market .big-heading { font-size: clamp(32px, 9.5vw, 50px); }

  /* CAPA */
  .slide-cover { padding: 100px 6% 60px; }
  .cover-logo { width: min(440px, 86vw); }
  .cover-eyebrow { margin-bottom: 28px; font-size: 11px; letter-spacing: 0.2em; }
  .cover-subtitle { margin-top: 30px; font-size: clamp(16px, 4.6vw, 22px); letter-spacing: 0.18em; }
  .cover-tagline { letter-spacing: 0.2em; font-size: 12px; }
  .cover-meta { flex-direction: column; gap: 16px; padding: 22px 26px; margin-top: 36px; }
  .meta-divider { width: 100%; height: 1px; }
  .cover-scroll { margin-top: 34px; }

  /* VISÃO */
  .vision-grid { grid-template-columns: 1fr; gap: 30px; }
  .floating-quote { position: static; margin-top: 18px; max-width: none; }

  /* PROJETO FLÁVIO GARCIA */
  .slide-flavio { padding-top: 96px; }
  .flavio-grid { grid-template-columns: 1fr; gap: 26px; }
  .flavio-heading { font-size: clamp(32px, 9vw, 50px); }
  .flavio-lead { font-size: clamp(16px, 4.4vw, 19px); }
  .flavio-photo { max-width: 320px; }

  /* MERCADO */
  .market-grid { grid-template-columns: 1fr; gap: 12px; }
  .market-card { min-height: 0; }
  .region-stats { grid-template-columns: 1fr 1fr; gap: 18px; }

  /* RENDERS 3D — empilha com proporção fixa */
  .render-mosaic, .mosaic-b {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }
  .render-mosaic .render-tile-big,
  .mosaic-b .render-tile-big { grid-column: auto; grid-row: auto; }
  .render-tile { aspect-ratio: 16 / 10; height: auto; }

  /* UNIDADES */
  .units-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .unit-card { aspect-ratio: 16 / 10; }
  .unit-card-big { grid-column: auto; grid-row: auto; }

  /* TERRENO */
  .land-grid { grid-template-columns: 1fr; gap: 32px; }
  .land-metrics { grid-template-columns: 1fr 1fr; }

  /* CUSTO — tabela vira lista única nome + valor (barra escondida) */
  .cost-year-tabs { grid-template-columns: 1fr; gap: 12px; }
  .cb-table { display: flex; flex-direction: column; }
  .cb-row { grid-template-columns: 1fr auto; gap: 14px; }
  .cb-bar { display: none; }

  /* CENÁRIOS */
  .scenario-grid { grid-template-columns: 1fr; gap: 16px; }

  /* FLUXO DE CAIXA */
  .flow-stack { flex-direction: column; gap: 16px; }
  .flow-timeline { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .ft-line { display: none; }
  .payback-block { grid-template-columns: 1fr; gap: 24px; }

  /* RESUMO */
  .summary-grid { grid-template-columns: 1fr; gap: 12px; }

  /* LIGHTBOX */
  .lightbox { padding: 7vh 4vw; }
  .lightbox-close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 28px; }
  .lightbox-img { max-height: 74vh; }
}

@media (max-width: 440px) {
  .region-stats { grid-template-columns: 1fr; }
  .land-metrics { grid-template-columns: 1fr; }
  .flow-timeline { grid-template-columns: 1fr; }
  .sc-bar-fill { font-size: 13px; padding-right: 9px; }
}

/* ==================== SLIDE · PRESENÇA NACIONAL (MAPA) ==================== */
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 440px);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.map-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 26px;
}
.br-map {
  width: 100%;
  max-height: 62vh;
  overflow: hidden;
}
.br-states path {
  fill: rgba(255, 255, 255, 0.035);
  stroke: var(--navy-3);
  stroke-width: 0.6;
  stroke-linejoin: round;
}
.br-states path.has {
  fill: rgba(212, 35, 62, 0.13);
  stroke: rgba(234, 59, 82, 0.55);
}

.map-links line {
  stroke: var(--red);
  stroke-width: 0.7;
  stroke-dasharray: 2.5 3;
  opacity: 0.4;
}
.map-links .link-new {
  stroke: var(--gold);
  opacity: 0.6;
}

.map-pins .pin-halo { fill: var(--red); opacity: 0.14; }
.map-pins .pin-dot {
  fill: var(--red);
  stroke: var(--bg-deep);
  stroke-width: 0.7;
}
.map-pins .pin-dot-hub { stroke-width: 1; }
.map-pins .pin-badge {
  fill: var(--bg-deep);
  stroke: var(--red);
  stroke-width: 0.7;
}
.map-pins .pin-badge-txt {
  fill: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 4.6px;
  font-weight: 600;
  text-anchor: middle;
}

.pin-new .pin-dot { fill: var(--gold); stroke: var(--bg-deep); }
.pin-new .pin-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0;
  animation: pinPulse 2.6s var(--ease) infinite;
}
@keyframes pinPulse {
  0%   { r: 3.5; opacity: 0.85; }
  70%  { r: 12;  opacity: 0; }
  100% { r: 12;  opacity: 0; }
}

.map-legend {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.1em;
  font-size: 13px;
  color: var(--ink-3);
}
.map-legend .ml-item { display: flex; align-items: center; gap: 8px; }
.map-legend .ml-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.map-legend .ml-dot.new { background: var(--gold); }

/* lado direito: stats + lista */
.map-side { display: flex; flex-direction: column; }
.map-stats {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  margin-bottom: clamp(18px, 2.8vh, 30px);
  padding-bottom: clamp(16px, 2.4vh, 24px);
  border-bottom: 1px solid var(--ink-4);
}
.ms-stat { display: flex; flex-direction: column; }
.ms-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1;
  color: var(--red);
}
.ms-lbl {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.1em;
  font-size: 12px;
  line-height: 1.2;
  color: var(--ink-3);
  margin-top: 7px;
}

.unit-list { list-style: none; display: flex; flex-direction: column; }
.ul-state {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(9px, 1.4vh, 15px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.unit-list .ul-state:last-child { border-bottom: none; }
.uls-uf {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--ink);
  width: 32px;
  flex: none;
  padding-top: 1px;
}
.ul-state.new .uls-uf { color: var(--gold); }
.uls-cities { display: flex; flex-direction: column; gap: 6px; }
.ulc {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(13px, 1vw, 15px);
  color: var(--ink-2);
}
.ulc-pin {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  box-shadow: 0 0 0 3px rgba(212, 35, 62, 0.16);
}
.ulc-sub { font-style: normal; color: var(--ink-3); }
.ulc.new { color: var(--ink); }
.ulc.new .ulc-pin { background: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); }
.ulc-new {
  font-style: normal;
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.86em;
  margin-left: 4px;
}

@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; gap: 20px; }
  .map-stage { padding-bottom: 30px; }
  .br-map { max-height: 46vh; }
  .map-stats { justify-content: center; text-align: center; }
  .map-stats .ms-stat { align-items: center; }
}
