:root {
  --forest-950: #06291f;
  --forest-900: #0a3b2d;
  --forest-800: #0f503c;
  --forest-700: #146549;
  --leaf: #9acb58;
  --cream: #f6f5ed;
  --white: #fffef8;
  --muted: #66776f;
  --line: rgba(14, 66, 49, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--forest-950);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--forest-950);
  background: var(--forest-950);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  background: var(--cream);
}

.page-shell::before {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 47%;
  background-image:
    linear-gradient(90deg, rgba(6, 41, 31, 0.08), rgba(6, 41, 31, 0.2)),
    linear-gradient(0deg, rgba(4, 31, 23, 0.56), transparent 58%),
    url("assets/conduz-campo-hero.png");
  background-position: center;
  background-size: cover;
  content: "";
  animation: image-reveal 1.2s cubic-bezier(0.2, 0.85, 0.35, 1) both;
}

.page-shell::after {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(47% - 1px);
  width: clamp(50px, 7vw, 120px);
  background: linear-gradient(90deg, var(--cream), rgba(246, 245, 237, 0));
  content: "";
  pointer-events: none;
}

.site-header,
.site-footer,
.hero {
  width: min(100% - 80px, 1600px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 136px;
}

.brand {
  display: block;
  width: max-content;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 180px;
  height: auto;
}

.system-status {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: var(--white);
  background: rgba(4, 31, 23, 0.27);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
}

.system-status__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7ef87;
  box-shadow: 0 0 0 4px rgba(199, 239, 135, 0.16);
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) 1fr;
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
  padding-block: 36px 56px;
}

.hero__content {
  max-width: 610px;
  animation: content-in 0.85s 0.14s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
  color: var(--forest-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 36px;
  height: 2px;
  background: var(--leaf);
}

h1 {
  max-width: 600px;
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(60px, 5.5vw, 94px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

h1 em {
  display: block;
  color: var(--forest-700);
  font-weight: 400;
}

.hero__description {
  max-width: 540px;
  margin: 32px 0 34px;
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.75;
}

.cta {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
  min-width: 250px;
  padding: 9px 9px 9px 25px;
  border: 1px solid var(--forest-800);
  border-radius: 6px;
  color: var(--white);
  background: var(--forest-800);
  box-shadow: 0 15px 28px rgba(10, 59, 45, 0.18);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.cta__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 4px;
  color: var(--forest-950);
  background: var(--leaf);
  transition: transform 180ms ease, background-color 180ms ease;
}

.cta__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cta:hover {
  background: var(--forest-900);
  box-shadow: 0 18px 36px rgba(10, 59, 45, 0.26);
  transform: translateY(-2px);
}

.cta:hover .cta__icon {
  background: #b4df72;
  transform: translateX(2px);
}

.cta:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 4px;
}

.hero__note {
  margin: 18px 0 0;
  color: #87958f;
  font-size: 11px;
  line-height: 1.5;
}

.field-note {
  align-self: end;
  max-width: 510px;
  margin: 0 0 6vh auto;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
  animation: content-in 0.9s 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.field-note__number {
  display: block;
  margin-bottom: 16px;
  color: var(--leaf);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.field-note p {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(30px, 2.6vw, 46px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-top: 1px solid var(--line);
  color: #7b8984;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__motto {
  color: rgba(255, 255, 255, 0.72);
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-reveal {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .page-shell::before {
    inset: 0;
    background-image:
      linear-gradient(90deg, rgba(4, 31, 23, 0.93), rgba(4, 31, 23, 0.56)),
      linear-gradient(0deg, rgba(4, 31, 23, 0.5), transparent 58%),
      url("assets/conduz-campo-hero.png");
  }

  .page-shell::after {
    display: none;
  }

  .site-header,
  .site-footer,
  .hero {
    width: min(100% - 48px, 820px);
  }

  .hero__content,
  h1,
  h1 em,
  .hero__description {
    color: var(--white);
  }

  .eyebrow {
    color: #bde27f;
    stroke: #bde27f;
  }

  .brand__logo {
    filter: brightness(0) invert(1);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__content {
    padding: 32px 0;
  }

  .hero__description {
    color: rgba(255, 255, 255, 0.78);
  }

  .hero__note {
    color: rgba(255, 255, 255, 0.58);
  }

  .field-note {
    display: none;
  }

  .site-footer {
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.58);
  }
}

@media (max-width: 600px) {
  .site-header,
  .site-footer,
  .hero {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 104px;
  }

  .brand__logo {
    width: 150px;
  }

  .system-status {
    gap: 8px;
    padding: 9px 11px;
    font-size: 0;
  }

  .system-status::after {
    font-size: 11px;
    content: "Online";
  }

  .hero {
    padding: 28px 0 54px;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(50px, 16vw, 70px);
  }

  .hero__description {
    margin: 26px 0 30px;
    font-size: 15px;
    line-height: 1.65;
  }

  .cta {
    width: 100%;
  }

  .site-footer {
    min-height: 66px;
  }

  .site-footer__motto {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
