/* Tokens visuais e base global do projeto. */
:root {
  --color-ink: #162019;
  --color-muted: #647066;
  --color-cream: #f5efe4;
  --color-white: #ffffff;
  --color-line: #ded4c4;
  --color-green: #174d34;
  --color-green-mid: #236b49;
  --color-green-soft: #e8f1ea;
  --color-gold: #bf8d3a;
  --color-dark: #101813;
  --shadow-soft: 0 22px 70px rgba(27, 34, 28, 0.14);
  --shadow-card: 0 18px 42px rgba(26, 36, 29, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--color-cream);
  line-height: 1.6;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

button,
summary {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
video {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

/* Cabeçalho fixo e navegação principal. */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 28px;
  color: var(--color-white);
  background: rgba(16, 24, 19, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--color-ink);
  background: rgba(245, 239, 228, 0.97);
  box-shadow: 0 12px 34px rgba(20, 28, 22, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-white);
  background: var(--color-green);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  font-size: 0.82rem;
}

.brand__name {
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.92;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta,
.button,
.floating-whatsapp,
.site-footer address button {
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  color: var(--color-white);
  background: var(--color-green-mid);
  box-shadow: 0 12px 26px rgba(23, 77, 52, 0.2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

/* Primeira dobra com imagem de apoio e chamada comercial. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 94vh;
  padding: 130px 28px 74px;
  color: var(--color-white);
  overflow: hidden;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background: url("../assets/images/agronova-engorda-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(9, 18, 13, 0.88), rgba(9, 18, 13, 0.72) 45%, rgba(9, 18, 13, 0.18)),
    linear-gradient(0deg, rgba(9, 18, 13, 0.56), rgba(9, 18, 13, 0) 48%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.55rem, 6.4vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__text {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.26rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--color-white);
  background: var(--color-green-mid);
}

.button--primary:hover {
  background: var(--color-green);
}

.button--secondary {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.button--full {
  width: 100%;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
  margin: 58px 0 0;
}

.hero__metrics div {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.hero__metrics dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__metrics dd {
  margin: 0;
  font-weight: 900;
}

/* Estrutura comum das seções internas. */
.section {
  padding: 96px 28px;
}

.section--cream {
  background: var(--color-cream);
}

.section--white {
  background: var(--color-white);
}

.section--dark {
  color: var(--color-white);
  background: var(--color-dark);
}

.section__inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section__heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section p {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.74);
}

.card-grid,
.process-list,
.gallery-grid,
.benefit-grid,
.tag-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards, listas e blocos de conteúdo comercial. */
.feature-card,
.price-card {
  padding: 30px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.feature-card {
  min-height: 272px;
}

.feature-card__number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  color: var(--color-green);
  background: var(--color-green-soft);
  border-radius: var(--radius);
  font-weight: 900;
}

.feature-card h3,
.process-card h3,
.price-card h3 {
  margin: 0;
  font-size: 1.34rem;
}

.split-layout,
.video-layout,
.price-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 52px;
  align-items: center;
}

.split-layout__content {
  max-width: 560px;
}

.tag-list,
.benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tag-list li,
.benefit-grid li {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 15px 18px;
  color: var(--color-ink);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-weight: 850;
}

.tag-list li::before,
.benefit-grid li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  background: var(--color-gold);
  border-radius: 50%;
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  min-height: 296px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 44px;
  color: var(--color-dark);
  background: var(--color-gold);
  border-radius: var(--radius);
  font-weight: 900;
}

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

/* Galeria de prints com suporte ao lightbox. */
.gallery-card {
  position: relative;
  min-height: 310px;
  padding: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.gallery-card--large {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.gallery-card span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  color: var(--color-white);
  background: rgba(16, 24, 19, 0.78);
  border-radius: var(--radius);
  font-weight: 900;
}

.video-panel {
  margin: 0;
  padding: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.video-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-dark);
  border-radius: var(--radius);
  object-fit: cover;
}

.video-panel figcaption {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.price-layout {
  align-items: start;
}

/* Card de preço e chamada final de compra. */
.price-card {
  background: var(--color-cream);
  box-shadow: var(--shadow-soft);
}

.price-card__label {
  margin: 0 0 10px;
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card__price {
  margin: 14px 0 22px;
  color: var(--color-green);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  color: var(--color-muted);
  list-style: none;
}

.price-card li {
  padding-left: 16px;
  border-left: 3px solid var(--color-gold);
}

.faq-layout {
  align-items: start;
}

/* FAQ nativo com estado expansível. */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(28, 38, 30, 0.08);
}

.faq-list summary {
  position: relative;
  padding: 20px 52px 20px 20px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--color-green);
  font-size: 1.35rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  color: var(--color-white);
  background: var(--color-green-mid);
  box-shadow: 0 18px 38px rgba(23, 77, 52, 0.3);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 70px 22px 26px;
  background: rgba(8, 12, 10, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  max-width: min(1120px, 100%);
  max-height: 82vh;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 22px;
  min-height: 42px;
  padding: 0 15px;
  color: var(--color-white);
  background: var(--color-green-mid);
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(220px, auto);
  gap: 32px;
  padding: 42px 28px;
  color: var(--color-white);
  background: #0b110d;
}

.brand--footer {
  margin-bottom: 16px;
}

.site-footer p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 10px;
}

.site-footer address {
  font-style: normal;
}

.site-footer address a {
  color: var(--color-gold);
  font-weight: 900;
}

.site-footer address button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--color-white);
  background: var(--color-green-mid);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .button,
  .reveal,
  .site-header {
    transition: none;
  }

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

/* Ajustes responsivos para tablet e celular. */
@media (max-width: 1080px) {
  .site-nav {
    gap: 13px;
    font-size: 0.82rem;
  }

  .benefit-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    color: var(--color-ink);
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-cta {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    padding: 12px 0;
    text-align: left;
  }

  .nav-cta {
    margin-top: 8px;
    color: var(--color-white);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(9, 18, 13, 0.91), rgba(9, 18, 13, 0.78) 62%, rgba(9, 18, 13, 0.34)),
      linear-gradient(0deg, rgba(9, 18, 13, 0.64), rgba(9, 18, 13, 0) 50%);
  }

  .card-grid--three,
  .split-layout,
  .video-layout,
  .price-layout,
  .faq-layout,
  .gallery-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .gallery-card--large {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .brand__name {
    max-width: 180px;
    white-space: normal;
    line-height: 1.1;
  }

  .hero {
    padding: 112px 18px 52px;
  }

  .hero__actions,
  .hero__actions .button,
  .button--full {
    width: 100%;
  }

  .hero__metrics,
  .benefit-grid,
  .process-list,
  .tag-list {
    grid-template-columns: 1fr;
  }

  .hero__metrics {
    margin-top: 38px;
  }

  .hero__metrics div,
  .feature-card,
  .process-card,
  .gallery-card {
    min-height: auto;
  }

  .section {
    padding: 70px 18px;
  }

  .feature-card,
  .process-card,
  .price-card {
    padding: 24px;
  }

  .feature-card__number,
  .process-card span {
    margin-bottom: 26px;
  }

  .gallery-card img {
    min-height: 230px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .site-footer {
    padding: 36px 18px 86px;
  }
}
