:root {
  --bg: #081913;
  --bg-soft: #0f2d22;
  --surface: rgba(9, 24, 19, 0.66);
  --surface-strong: rgba(9, 24, 19, 0.82);
  --line: rgba(205, 255, 181, 0.18);
  --text: #f5f4ec;
  --muted: #cee0d2;
  --accent: #b8ff63;
  --accent-deep: #4cae63;
  --warning: #f4bb62;
  --shadow: 0 24px 60px rgba(1, 8, 6, 0.38);
  --flight-height: calc(100vw * 2.0223);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(circle at top, rgba(150, 214, 172, 0.1), transparent 30%),
    linear-gradient(180deg, #081913 0%, #0d251c 28%, #0e291f 52%, #112f23 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

.page-shell {
  position: relative;
  min-height: max(100vh, var(--flight-height));
}

.background-stack {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sky-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(177, 230, 179, 0.08), transparent 18%),
    radial-gradient(circle at 50% 10%, rgba(255, 230, 159, 0.08), transparent 24%);
}

.farm-flight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--flight-height);
  transform: translate3d(0, 0, 0);
  background-image:
    linear-gradient(180deg, rgba(7, 18, 14, 0.1), rgba(7, 18, 14, 0.28)),
    url("Fundo_drone.png");
  background-size: 100% auto;
  background-position: center top;
  filter: saturate(1.02) contrast(1.01);
  opacity: 0.98;
  will-change: transform;
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(4, 13, 10, 0.2) 100%),
    linear-gradient(90deg, rgba(4, 12, 10, 0.68), transparent 16%, transparent 84%, rgba(4, 12, 10, 0.68));
}

.drone-hud {
  position: absolute;
  top: 8vh;
  width: 22vw;
  height: 22vw;
  max-width: 240px;
  max-height: 240px;
  border: 1px solid rgba(184, 255, 99, 0.15);
  border-radius: 50%;
  opacity: 0.6;
}

.drone-hud::before,
.drone-hud::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(184, 255, 99, 0.11);
  border-radius: 50%;
}

.drone-hud-left {
  left: -6vw;
}

.drone-hud-right {
  right: -6vw;
}

.hero,
.storyboard {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: auto;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 11.5rem clamp(1.2rem, 4vw, 4rem) 1.25rem;
}

.story-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-chip {
  position: fixed;
  top: 1.2rem;
  left: clamp(1rem, 2.8vw, 2rem);
  z-index: 3;
  display: grid;
  gap: 0.45rem;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  display: block;
  height: clamp(50px, 7.2vw, 76px);
  width: auto;
  max-width: min(46vw, 460px);
  border-radius: 14px;
}

.brand-slogan {
  margin: 0;
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-contact {
  color: var(--accent);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-contact:hover,
.brand-contact:focus-visible {
  color: #ddff9a;
}

.hero-copy {
  max-width: 620px;
  justify-self: center;
  text-align: center;
}

.eyebrow,
.story-tag {
  margin: 0 0 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.78rem;
}

.hero h1,
.story-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(1.2rem, 2.9vw, 2.2rem);
  max-width: 18ch;
  color: #ffffff;
}

.lead,
.story-card p {
  line-height: 1.7;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.05rem);
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 54ch;
}

.storyboard {
  display: grid;
  justify-items: center;
  gap: min(16vh, 8rem);
  min-height: calc(var(--flight-height) - 32rem);
  align-content: start;
  padding: 0 clamp(1.2rem, 4vw, 4rem) 12vh;
}

.story-card {
  width: min(100%, 640px);
  padding: 1.6rem 1.4rem 1.7rem;
  border: 1px solid rgba(205, 255, 181, 0.14);
  border-radius: 1.7rem;
  background: linear-gradient(180deg, rgba(10, 29, 22, 0.75), rgba(10, 24, 20, 0.53));
  box-shadow: var(--shadow);
}

.story-card h2 {
  font-size: clamp(1.05rem, 2.1vw, 1.65rem);
}

.story-card p {
  margin: 1rem 0 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 1.4rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #ddff9a 100%);
  color: #0c241a;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 16px 34px rgba(184, 255, 99, 0.18);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(184, 255, 99, 0.24);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .brand-chip {
    top: 0.9rem;
  }

  .farm-flight {
    width: 100%;
    height: var(--flight-height);
    background-size: 100% auto;
  }

  .hero {
    padding-top: 9rem;
  }

  .hero-metrics {
    max-width: 560px;
  }

  .story-card,
  .story-card-wide,
  .story-card-cta {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 3.5rem;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .brand-logo {
    max-width: 62vw;
  }

  .brand-slogan {
    max-width: 32ch;
  }

  .storyboard {
    gap: 2.75rem;
    padding-bottom: 5rem;
  }

  .story-card {
    padding: 1.3rem 1.15rem 1.4rem;
    border-radius: 1.25rem;
  }
}

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

  .farm-flight,
  .cta-button {
    transition: none;
  }
}
