/* ── RESET & TOKENS ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-deep: #0A1E2C;
  --blue-dark: #14334A;
  --blue-mid: #2A6E9E;
  --blue-light: #5BAED6;
  --blue-pale: #A8D4EC;
  --green: #3DBFA0;
  --off-white: #F4F6F8;
  --warm-white: #FAFBFC;
  --gray: #8EA3B3;
  --gray-light: #E2EAF0;

  --serif: 'DM Serif Display', Georgia, serif;
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'Barlow', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--warm-white);
  color: var(--blue-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 72px;
  background: rgba(10, 30, 44, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(91, 174, 214, 0.1);
  transition: background 0.3s;
}

.nav-logo svg {
  width: 160px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue-light);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--blue-light);
  color: var(--blue-deep);
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--blue-pale);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--blue-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

/* Background grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 174, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 174, 214, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 174, 214, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  padding: 80px 64px 80px 80px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--blue-light);
  display: inline-block;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 5.5vw, 84px);
  color: #FFFFFF;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--blue-light);
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
  border: 1px solid rgba(91, 174, 214, 0.3);
  color: var(--blue-light);
  background: rgba(91, 174, 214, 0.06);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--blue-light);
  color: var(--blue-deep);
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(91, 174, 214, 0.25);
}

.btn-ghost {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(142, 163, 179, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--blue-light);
  border-color: var(--blue-light);
}

/* Hero image */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 80px 80px 0;
  animation: fadeUp 1.1s 0.2s ease both;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.4));
  animation: float 6s ease-in-out infinite;
}

/* floating accent elements */
.hero-accent-card {
  position: absolute;
  background: rgba(20, 51, 74, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(91, 174, 214, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
}

.hero-accent-card.card-1 {
  bottom: 60px;
  left: -20px;
  animation: fadeUp 1.2s 0.5s ease both;
}

.hero-accent-card.card-2 {
  top: 60px;
  right: -10px;
  animation: fadeUp 1.2s 0.7s ease both;
}

.acc-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.acc-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--off-white);
  line-height: 1;
}

.acc-unit {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue-light);
  margin-top: 2px;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeUp 1.4s 1s ease both;
}

.scroll-hint span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue-dark);
  border-top: 1px solid rgba(91, 174, 214, 0.12);
  border-bottom: 1px solid rgba(91, 174, 214, 0.12);
  padding: 32px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(91, 174, 214, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
}

/* ── SECTION COMMON ── */
.section-wrap {
  padding: 120px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue-light);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 60px);
  color: var(--blue-dark);
  letter-spacing: -1px;
  line-height: 1.05;
}

.section-title em {
  font-style: italic;
  color: var(--blue-mid);
}

.section-lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  max-width: 560px;
  margin-top: 20px;
}

/* ── PRODUTO ── */
#produto {
  background: var(--warm-white);
}

.produto-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 72px;
}

.produto-img-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.pimg-main {
  grid-column: span 2;
  background: var(--gray-light);
  border-radius: 20px;
  overflow: hidden;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pimg-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 174, 214, 0.06) 0%, transparent 60%);
  border-radius: 20px;
  pointer-events: none;
}

.pimg-main img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(42, 110, 158, 0.18));
  transition: transform 0.5s ease;
}

.pimg-main:hover img {
  transform: scale(1.04) translateY(-4px);
}

.pimg-thumb {
  background: var(--gray-light);
  border-radius: 14px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s;
}

.pimg-thumb:hover {
  transform: translateY(-4px);
}

.pimg-thumb img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.pimg-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
  text-align: center;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-light);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.feature-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-item:first-child {
  padding-top: 0;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.feature-text p {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
}

/* ── COMO FUNCIONA ── */
#como-funciona {
  background: var(--blue-deep);
  position: relative;
  overflow: hidden;
}

#como-funciona::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 174, 214, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 174, 214, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

#como-funciona .section-title {
  color: #fff;
}

#como-funciona .section-lead {
  color: var(--gray);
}

.steps-container {
  position: relative;
  margin-top: 72px;
  z-index: 1;
}

/* connecting line */
.steps-line {
  position: absolute;
  top: 52px;
  left: calc(50px + 64px);
  right: calc(50px + 64px);
  height: 2px;
  background: linear-gradient(to right, var(--blue-mid), var(--blue-light), var(--green));
  z-index: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s, transform 0.6s;
}

.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--blue-dark);
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--blue-light);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  transition: background 0.3s, transform 0.3s;
}

.step-card:hover .step-num {
  background: var(--blue-mid);
  transform: scale(1.1);
}

.step-img {
  width: 100%;
  max-width: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(91, 174, 214, 0.12);
  padding: 20px;
  margin-bottom: 24px;
  transition: border-color 0.3s, background 0.3s;
}

.step-card:hover .step-img {
  border-color: rgba(91, 174, 214, 0.35);
  background: rgba(91, 174, 214, 0.06);
}

.step-img img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  display: block;
}

.step-title {
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.1;
}

.step-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  max-width: 220px;
}

/* ── WALL SHOWCASE ── */
.wall-section {
  background: var(--blue-dark);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.wall-section img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
}

.wall-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 30, 44, 0.9) 0%, rgba(10, 30, 44, 0.3) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.wall-text {
  max-width: 480px;
}

.wall-text .section-eyebrow {
  margin-bottom: 20px;
}

.wall-text h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 60px);
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.wall-text h2 em {
  font-style: italic;
  color: var(--blue-light);
}

.wall-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
}

/* ── FOOTER ── */
footer {
  background: var(--blue-deep);
  border-top: 1px solid rgba(91, 174, 214, 0.1);
  padding: 56px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo svg {
  width: 140px;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  text-align: right;
  line-height: 1.8;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

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

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav {
    padding: 0 32px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 32px 60px;
  }

  .hero-visual {
    padding: 40px 32px;
    justify-content: center;
  }

  .hero-img-wrap {
    max-width: 380px;
  }

  .hero-accent-card.card-2 {
    display: none;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px;
    gap: 0;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid rgba(91, 174, 214, 0.12);
  }

  .section-wrap {
    padding: 80px 32px;
  }

  .produto-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .steps-line {
    display: none;
  }

  .wall-overlay {
    padding: 0 32px;
  }

  footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 40px 32px;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 0;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-badges {
    gap: 8px;
  }

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

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

  .produto-img-stack {
    grid-template-columns: 1fr;
  }

  .pimg-main {
    grid-column: span 1;
  }
}