/* ==========================================================================
   Sementes Sempre Verde — folha de estilo única, mobile-first.
   Ordem: fontes, tokens, base, utilitários, componentes, seções, rodapé, sobreposições.
   Regra do projeto: nada de style="" no HTML (a política de segurança bloqueia).
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green-deep: #006038;
  --green-dark: #206840;
  --green-forest: #3b6744;
  --green-light: #60b850;
  --green-leaf: #7dbb59;
  --green-mist: #e2f8dc;
  --green-pale: #f2feea;
  --wine: #553b3f;
  --gold-teal: #2fa08c;
  --graphite: #2b2f33;
  --seed-tan: #b08d5b;
  --ink: #0e1a12;
  --muted: #45564a;
  --white: #fff;
  --line: #c9dcc6;
  --error: #b3261e;
  --whatsapp: #25d366;
  --wa-ink: #062a12;
  --footer-bg: #0b120d;

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-h1: clamp(2.3rem, 1.45rem + 4vw, 4rem);
  --fs-h2: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;

  --gutter: clamp(1rem, 4vw, 2rem);
  --space-section: clamp(3rem, 2rem + 5vw, 6rem);
  --gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --cut: clamp(16px, 3vw, 40px);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgb(14 26 18 / 0.14);
  --shadow-sm: 0 2px 10px rgb(14 26 18 / 0.1);

  --header-h: 56px;
  --bar-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
body.no-bar { padding-bottom: 0; }
html.is-locked { overflow: hidden; }
img,
video,
svg {
  max-width: 100%;
}
img,
video {
  height: auto;
  display: block;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul,
ol { margin: 0; padding: 0; }
address { font-style: normal; }
button,
input,
select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilitários ---------- */
.container {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2 * var(--gutter), 760px); }
.sprite { position: absolute; }
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.3rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--green-leaf);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

/* Entrada suave ao rolar (só com JS; main.js aplica as classes) */
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 0.85rem 1.6rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn--wa {
  background: var(--whatsapp);
  color: var(--wa-ink);
  box-shadow: 0 6px 18px rgb(37 211 102 / 0.35);
}
.btn--wa .icon { width: 1.5em; height: 1.5em; }
.btn--outline {
  background: transparent;
  border-color: var(--green-dark);
  color: var(--green-dark);
}
.btn--light {
  background: var(--white);
  color: var(--green-deep);
}
.btn--ghost {
  background: transparent;
  border-color: rgb(255 255 255 / 0.5);
  color: var(--white);
}
@media (hover: hover) {
  .btn--wa:hover { background: #1fc25c; transform: translateY(-1px); }
  .btn--outline:hover { background: var(--green-dark); color: var(--white); }
  .btn--light:hover { background: var(--green-mist); }
  .btn--ghost:hover { background: rgb(255 255 255 / 0.12); }
}

.link-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: var(--green-leaf);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.link-wa .icon { width: 1.1em; height: 1.1em; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 148px; }
.site-nav { display: none; }

/* ---------- Seções (estrutura comum) ---------- */
.section { padding-block: var(--space-section); }
.section--white { background: var(--white); }
.section--pale { background: var(--green-pale); }
.section--mist { background: var(--green-mist); }
.section--forest,
.section--dark,
.section--graphite {
  position: relative;
  z-index: 1;
  color: var(--white);
  margin-block: calc(var(--cut) * -1);
  padding-block: calc(var(--space-section) + var(--cut));
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.section--forest { background: var(--green-forest); }
.section--dark { background: var(--green-deep); }
.section--graphite { background: var(--graphite); }

.section__head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.section__head h2 { color: var(--green-dark); }
.section__head p:not(.eyebrow) {
  margin-top: 0.9rem;
  max-width: 60ch;
  color: var(--muted);
}
.section__head--center { text-align: center; }
.section__head--center p:not(.eyebrow) { margin-inline: auto; }
.section--forest .section__head h2,
.section--dark .section__head h2,
.section--graphite .section__head h2 { color: var(--white); }
.section--forest .section__head p:not(.eyebrow),
.section--dark .section__head p:not(.eyebrow) { color: rgb(255 255 255 / 0.88); }

.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* Moldura de imagem */
.frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-mist);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-pale);
  padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 5rem);
}
.hero::before {
  /* retícula de pontos das artes */
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(70%, 620px);
  height: 420px;
  background-image: radial-gradient(var(--green-mist) 3px, transparent 3.5px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom left, #000 10%, transparent 70%);
  mask-image: linear-gradient(to bottom left, #000 10%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
}
.hero h1 { color: var(--green-dark); }
.hero h1 em {
  font-style: normal;
  color: var(--green-deep);
  background: linear-gradient(transparent 64%, var(--green-leaf) 64% 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead {
  margin: 1rem 0 1.4rem;
  max-width: 52ch;
  color: var(--muted);
}
.hero__note {
  margin: 0.8rem 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}
.hero .btn--lg { width: 100%; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--green-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.chips .icon { width: 1em; height: 1em; color: var(--green-light); }

.frame--deco {
  position: relative;
  overflow: visible;
  background: none;
  box-shadow: none;
}
.frame--deco::before,
.frame--deco::after {
  content: "";
  position: absolute;
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}
.frame--deco::before {
  top: -14px;
  right: -10px;
  width: 58%;
  height: 46px;
  background: var(--green-leaf);
}
.frame--deco::after {
  bottom: -14px;
  left: -10px;
  width: 38%;
  height: 40px;
  background: var(--wine);
}
.frame--deco img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero__media { max-width: 520px; width: 100%; margin-inline: auto; }

/* ---------- 2. Linhas + carrossel ---------- */
.lines { display: grid; gap: var(--gap); }
.lines__head { margin-bottom: 0; }

.carousel { min-width: 0; }
.carousel__track {
  display: flex;
  gap: 12px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 86%;
  margin: 0;
  scroll-snap-align: center;
  aspect-ratio: 720 / 795;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eaf7e3;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.carousel__dots { display: flex; gap: 2px; }
.carousel__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.carousel__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--line);
  transition: width 0.2s ease, background-color 0.2s ease;
}
.carousel__dot[aria-current="true"]::before {
  width: 24px;
  background: var(--green-dark);
}
.carousel__arrow {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--green-dark);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
}
.carousel__arrow:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) {
  .carousel__arrow { display: grid; }
}

.lines__cards { display: grid; gap: 0.9rem; }
.line-card {
  padding: 1.25rem 1.25rem 0.75rem;
  background: var(--green-pale);
  border-left: 8px solid var(--seed-tan);
  border-radius: var(--radius-md);
}
.line-card--incr { border-left-color: var(--graphite); }
.line-card--gold { border-left-color: var(--gold-teal); }
.line-card h3 { color: var(--green-deep); margin-bottom: 0.5rem; }
.line-card p { margin-bottom: 0.25rem; color: var(--muted); }

/* ---------- 3. Benefícios ---------- */
.benefits {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}
.benefit {
  padding: 1.4rem 1.25rem;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-md);
}
.benefit__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--green-leaf);
}
.benefit h3 { margin-bottom: 0.4rem; }
.benefit p { color: rgb(255 255 255 / 0.88); font-size: 1rem; }

/* ---------- 4. Qualidade ---------- */
.quality { display: grid; gap: var(--gap); }
.quality__head { margin-bottom: 0; }
.quality__text { max-width: 62ch; }
.quality__text .btn { margin-top: 0.5rem; }
.quality__img-a,
.quality__img-b { max-width: 560px; width: 100%; margin-inline: auto; }

/* ---------- 5. Processo ---------- */
.process { display: grid; gap: var(--gap); }
.process__head { margin-bottom: 0; }
.process__img { max-width: 560px; width: 100%; margin-inline: auto; }
.process__end {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-mist);
  border-radius: var(--radius-md);
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.1rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 4rem;
  min-height: 3rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 2.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  background: var(--green-leaf);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.steps h3 { color: var(--green-deep); margin-bottom: 0.3rem; }
.steps p { color: var(--muted); }

/* ---------- 6. Cultivares ---------- */
.cultivars { display: grid; gap: var(--gap); }
.cultivars__head { margin-bottom: 0; }
.cultivars__img { max-width: 520px; width: 100%; margin-inline: auto; }
.cultivars__list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.cultivar {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.15rem 0.5rem;
  background: var(--white);
  border-top: 5px solid var(--green-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.cultivar--panicum { border-top-color: var(--green-leaf); }
.cultivar h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--green-deep);
}
.cultivar h3 span {
  font-size: 0.8em;
  font-weight: 600;
  color: var(--wine);
}
.cultivar__sci {
  margin: 0.25rem 0 0.5rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
.cultivar > p:not([class]) { margin-bottom: 0.6rem; font-size: 1rem; }
.cultivar__for {
  align-self: flex-start;
  margin: auto 0 0;
  padding: 0.2rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-mist);
  border-radius: var(--radius-pill);
}

/* ---------- 7. Compra programada ---------- */
.planned { display: grid; gap: var(--gap); }
.planned__head { margin-bottom: 0; }
.planned__img { max-width: 520px; width: 100%; margin-inline: auto; }
.planned__text p { color: rgb(255 255 255 / 0.92); max-width: 58ch; }
.planned__text .btn { margin-top: 0.75rem; width: 100%; }

/* ---------- 8. Vídeos ---------- */
.video-rail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.video-rail::-webkit-scrollbar { display: none; }
.video-card {
  flex: 0 0 min(78vw, 360px);
  margin: 0;
  scroll-snap-align: center;
}
.video-card--vertical { --ar: 9 / 16; }
.video-card--square { --ar: 1 / 1; }
.video-card__player {
  width: 100%;
  aspect-ratio: var(--ar);
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: #000;
}
.video-card__caption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: rgb(255 255 255 / 0.92);
}

/* ---------- 9. Como comprar + formulário ---------- */
.buy { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.steps--compact { gap: 1.25rem; }

.quote {
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--green-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.quote h3 { color: var(--green-deep); font-size: clamp(1.5rem, 1.3rem + 1vw, 1.9rem); }
.quote__intro { margin: 0.4rem 0 1.25rem; color: var(--muted); font-size: 1rem; }
.quote__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field > label,
.field legend {
  display: block;
  margin-bottom: 0.35rem;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.field__opt { font-weight: 400; color: var(--muted); }
.field input[type="text"],
.field input[type="number"],
.field select {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.6rem 0.9rem;
  font-size: 1rem;
  background: var(--white);
  border: 1.5px solid #9db59a;
  border-radius: 12px;
}
.field input:focus-visible,
.field select:focus-visible {
  outline-offset: 1px;
  border-color: var(--green-dark);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error {
  margin: 0.35rem 0 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--error);
}
.field--radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.field--radios legend { width: 100%; }
.field--radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  font-size: 0.95rem;
  background: var(--white);
  border: 1.5px solid #9db59a;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.field--radios input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--green-dark);
}
.field--radios label:has(input:checked) {
  border-color: var(--green-dark);
  background: var(--green-mist);
  font-weight: 600;
}
.quote__privacy {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- 10. Dúvidas ---------- */
.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 0.9rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--green-dark), var(--green-dark)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--green-dark), var(--green-dark)) center / 2.5px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--green-deep); }
.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}

/* ---------- 11. Galeria ---------- */
.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery__item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-mist);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.05); }
}
.gallery__more { margin-top: 1.5rem; text-align: center; }

/* ---------- Rodapé ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding-block: clamp(3rem, 8vw, 5rem) clamp(2.5rem, 6vw, 4rem);
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.08) 3px, transparent 3.5px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 60%);
  mask-image: linear-gradient(to right, #000, transparent 60%);
  pointer-events: none;
}
.final-cta__inner { position: relative; }
.final-cta h2 { font-size: clamp(2.2rem, 1.5rem + 4vw, 4rem); }
.final-cta p { margin: 0.75rem auto 1.5rem; max-width: 40ch; color: rgb(255 255 255 / 0.9); }

.site-footer__grass {
  height: 34px;
  background: var(--green-dark) url("/images/grama.svg") repeat-x left bottom / auto 34px;
}
.site-footer__body {
  background: var(--footer-bg);
  color: #d5e3d7;
  padding-block: 2.5rem 1.5rem;
  font-size: 1rem;
}
.site-footer__grid { display: grid; gap: 2rem; }
.site-footer__logo {
  width: 200px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
}
.site-footer__brand p { margin-top: 1rem; max-width: 30ch; }
.site-footer__title {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: var(--green-leaf);
}
.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.site-footer__map { margin-top: 1rem; }
.site-footer__map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius-md);
}
.site-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.site-footer__phone .icon { color: var(--whatsapp); width: 1.4em; height: 1.4em; }
.social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  text-decoration: none;
}
.social a:hover { color: var(--white); text-decoration: underline; }
.site-footer__legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.8125rem;
  color: #a9bbac;
}
.site-footer__legal p { margin-bottom: 0.4rem; }
.site-footer__legal a { display: inline-block; padding-block: 0.7rem; }

/* ---------- Barra fixa de WhatsApp ---------- */
.wa-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgb(255 255 255 / 0.97);
  box-shadow: 0 -4px 18px rgb(14 26 18 / 0.14);
  transition: transform 0.25s ease, visibility 0.25s;
}
.wa-bar.is-hidden {
  transform: translateY(110%);
  visibility: hidden;
}

/* ---------- Lightbox da galeria ---------- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(6 12 8 / 0.97);
  color: var(--white);
  overflow: hidden;
}
.lightbox::backdrop { background: #000; }
.lightbox__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 64px 0 28px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.lightbox__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__bar {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 16px;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
}
.lightbox__count { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: var(--white);
  cursor: pointer;
}
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  display: none;
  transform: translateY(-50%);
}
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (hover: hover) {
  .lightbox__nav { display: grid; }
  .lightbox__btn:hover { background: rgb(255 255 255 / 0.28); }
}

/* ---------- Páginas simples (404, privacidade) ---------- */
.page {
  min-height: 60vh;
  padding-block: clamp(2rem, 6vw, 4rem);
}
.page h1 { color: var(--green-dark); margin-bottom: 1rem; font-size: var(--fs-h2); }
.page h2 { color: var(--green-deep); font-size: var(--fs-h3); margin: 1.75rem 0 0.5rem; }
.page p,
.page li { color: var(--muted); max-width: 68ch; }
.page ul { padding-left: 1.2rem; margin-bottom: 1em; }
.page .btn { margin-top: 1rem; }
.page--center { text-align: center; display: grid; place-content: center; }
.page--center p { margin-inline: auto; }

/* ==========================================================================
   Telas maiores
   ========================================================================== */
@media (min-width: 640px) {
  .hero .btn--lg { width: auto; }
  .planned__text .btn { width: auto; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .cultivars__list { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  :root { --header-h: 68px; }
  body { padding-bottom: 0; }

  .site-header__logo img { width: 190px; }
  .site-nav {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    margin-inline: auto;
  }
  .site-nav a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--green-deep);
    padding-block: 0.5rem;
    border-bottom: 3px solid transparent;
  }
  .site-nav a:hover { border-bottom-color: var(--green-leaf); }

  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
  .hero__media { max-width: 460px; margin-inline: auto 0; }

  .lines {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    grid-template-areas:
      "carousel head"
      "carousel cards";
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }
  .lines__head { grid-area: head; }
  .lines__cards { grid-area: cards; }
  .lines__carousel {
    grid-area: carousel;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
  .carousel__track {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
    border-radius: var(--radius-lg);
  }
  .carousel__slide { flex-basis: 100%; }

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

  .quality {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "head text"
      "a b";
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
  .quality__head { grid-area: head; }
  .quality__text { grid-area: text; align-self: end; }
  .quality__img-a { grid-area: a; }
  .quality__img-b { grid-area: b; }

  .process {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "img head"
      "img body";
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }
  .process__head { grid-area: head; }
  .process__img { grid-area: img; }
  .process__body { grid-area: body; }

  .cultivars {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    grid-template-areas:
      "img head"
      "img list";
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
  .cultivars__head { grid-area: head; }
  .cultivars__list { grid-area: list; }
  .cultivars__img {
    grid-area: img;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .planned {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    grid-template-areas:
      "img head"
      "img text";
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-content: center;
    align-items: start;
  }
  .planned__head { grid-area: head; align-self: end; }
  .planned__img { grid-area: img; }
  .planned__text { grid-area: text; }

  .video-rail {
    justify-content: center;
    overflow-x: visible;
    width: min(100% - 2 * var(--gutter), 1200px);
    margin-inline: auto;
    padding-inline: 0;
  }
  .video-card { flex: 1 1 0; max-width: 240px; }

  .buy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    align-items: start;
  }

  .gallery { grid-template-columns: repeat(6, 1fr); gap: 8px; }

  .site-footer__grid { grid-template-columns: 1.1fr 1fr 1fr; }

  /* No desktop a barra vira um botão flutuante */
  .wa-bar {
    inset: auto 24px 24px auto;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .wa-bar .btn { box-shadow: 0 10px 28px rgb(14 26 18 / 0.3); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .will-reveal { opacity: 1; transform: none; }
}
