:root {
  --bg: #f3f6f2;
  --bg-deep: #0f2a21;
  --forest: #1a4d3a;
  --forest-soft: #2a6b52;
  --gold: #b8954a;
  --gold-bright: #c9a84c;
  --ink: #14201c;
  --muted: #5e6f66;
  --paper: #ffffff;
  --line: rgba(20, 32, 28, 0.1);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --parallax-x: 0px;
  --parallax-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 18% 20%, rgba(201, 168, 76, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 75%, rgba(26, 77, 58, 0.12), transparent 50%),
    linear-gradient(165deg, #f7faf6 0%, #eef3ec 48%, #e7eee6 100%);
}

.atmosphere-glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 30% 40%, rgba(201, 168, 76, 0.14), transparent 35%),
    radial-gradient(circle at 70% 30%, rgba(42, 107, 82, 0.1), transparent 40%);
  animation: drift 20s ease-in-out infinite alternate;
}

.atmosphere-veil {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.45'/%3E%3C/svg%3E");
  pointer-events: none;
}

.atmosphere-marks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--forest);
  transform: translate(var(--parallax-x), var(--parallax-y));
  transition: transform 0.4s var(--ease);
}

.float-a {
  animation: float-soft 11s ease-in-out infinite;
}

.float-b {
  animation: float-soft 14s ease-in-out infinite reverse;
}

.float-c {
  animation: float-soft 18s ease-in-out infinite;
}

@keyframes drift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-1.2%, 1.4%);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 242, 0.78);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.brand img,
.brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  flex-shrink: 0;
}

.brand-signal img,
.brand-signal .brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.5rem;
  box-shadow: 0 6px 16px rgba(26, 77, 58, 0.14);
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
}

nav > a:not(.btn):hover {
  color: var(--forest);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--forest);
  border-color: var(--forest);
  color: #f7faf6;
}

.btn-primary:hover {
  background: var(--forest-soft);
  border-color: var(--forest-soft);
  color: #f7faf6;
}

.btn-ghost {
  background: var(--bg);
  border-color: rgba(26, 77, 58, 0.35);
  color: var(--forest);
}

.btn-ghost:hover {
  background: #ffffff;
  border-color: var(--forest);
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: 0;
  display: block;
  padding: 1.25rem 0 2rem;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(243, 246, 242, 0.35) 55%, var(--bg) 100%),
    radial-gradient(ellipse 90% 70% at 70% 25%, rgba(201, 168, 76, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 60%, rgba(26, 77, 58, 0.12), transparent 50%);
  animation: plane-shift 16s ease-in-out infinite alternate;
}

@keyframes plane-shift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(36rem, 92vw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand-signal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.55rem, 3.8vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
}

.lead {
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.section {
  padding: 3.25rem 6vw;
  max-width: 720px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--forest);
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 38rem;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 38rem;
}

.steps {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
  counter-reset: passo;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.85rem;
  row-gap: 0.25rem;
  align-items: start;
  counter-increment: passo;
}

.steps li::before {
  content: counter(passo);
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--forest);
  color: #f7faf6;
  font-size: 0.85rem;
  font-weight: 700;
}

.steps strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 650;
}

.steps span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ignite {
  text-align: center;
  padding-bottom: 4.5rem;
  max-width: 1100px;
}

.ignite h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.ignite p {
  margin: 0 auto 1.5rem;
  max-width: 26rem;
}

.ignite .cta-row {
  justify-content: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 6vw 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 1rem 0 1.75rem;
  }

  .hero-copy {
    text-align: left;
  }

  .brand-signal {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  nav a:not(.btn) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
