/* Trentine Agro — todo o CSS do site. Visual sóbrio nos verdes da logo: o vídeo fala, o resto fica quieto. */

/* Reset curto */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Design system */
:root {
  /* verdes tirados da logo */
  --fundo: #10291a;   /* fundo: o verde-escuro da logo, mais fechado */
  --mata: #1b4a2b;
  --verde: #17602c;
  --palha: #b7d13b;        /* destaque: o verde-limão da folha */
  --creme: #f3f5ec;
  --creme-suave: rgb(243 245 236 / 0.74);
  --fio: rgb(243 245 236 / 0.16);

  --placa: "Montserrat", "Arial Black", sans-serif;
  --texto: "Barlow", "Arial", sans-serif;

  --margem: clamp(1.1rem, 5vw, 5rem);
}

/* Fundo */
body {
  background: var(--fundo);
  color: var(--creme);
  font-family: var(--texto);
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Tipografia: a letra da logo nos títulos, Barlow no texto */
.h1 {
  font-family: var(--placa);
  font-weight: 800;
  font-size: clamp(2.2rem, 1rem + 4.2vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2 {
  font-family: var(--placa);
  font-weight: 800;
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.h3 {
  font-family: var(--placa);
  font-weight: 800;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.1;
  text-transform: uppercase;
}
.t1 {
  font-family: var(--placa);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.t2 {
  font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.18rem);
  line-height: 1.55;
  color: var(--creme-suave);
}
.t3 {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--palha);
}

/* Links de texto: sublinhado simples */
.lnk {
  font-weight: 600;
  font-size: 1rem;
  color: var(--creme);
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}
.lnk:hover { color: var(--palha); }

/* Botão: placa retangular cor de palha */
.btn2 {
  display: inline-block;
  padding: 1rem 1.6rem 0.95rem;
  background: var(--palha);
  color: var(--fundo);
  font-family: var(--placa);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 2px;
}
.btn2:hover { background: #c9e04f; }

/* Logo: o arquivo é um quadrado de 512 px com sobra; a caixa recorta só o desenho */
.logo { position: relative; display: block; width: 13rem; aspect-ratio: 497 / 212; overflow: hidden; }
.logo img { position: absolute; width: 103%; height: auto; max-width: none; left: -1.6%; top: -71.7%; }
.nav .logo { background: var(--creme); border-radius: 4px; padding: 0; box-shadow: 0 0 0 0.55rem var(--creme); }

/* nav sobre o vídeo */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem var(--margem);
}
.nav__marca { display: flex; align-items: center; gap: 0.6rem; }

/* hero: vídeo da lavoura em tela cheia, texto embaixo à esquerda */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 8rem var(--margem) clamp(3rem, 8svh, 6rem);
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  /* escurece só o necessário para ler: em cima (menu) e embaixo (título) */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgb(16 41 26 / 0.6), transparent 22%),
    linear-gradient(to top, rgb(16 41 26 / 0.94), rgb(16 41 26 / 0.4) 55%, transparent 80%);
}
.hero__texto { position: relative; z-index: 2; max-width: 44rem; }
.hero__texto > .t3 { margin-bottom: 1rem; }
.hero__sub { color: var(--creme); margin: 1.3rem 0 2rem; max-width: 34rem; }
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }

/* section: os biológicos, numa lista numerada (sem cards) */
.section,
.section2,
.section4 {
  padding: clamp(4.5rem, 10vw, 8rem) var(--margem);
  max-width: 1320px;
  margin-inline: auto;
}
.section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.section__intro { position: sticky; top: 2rem; display: grid; gap: 1.4rem; }
.section__aviso { color: var(--creme-suave); }
.bio { list-style: none; border-top: 1px solid var(--fio); }
.bio__item {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--fio);
}
.bio__n { font-family: var(--placa); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--palha); }
.bio__agente { font-style: italic; color: var(--palha); margin: 0.25rem 0 0.5rem; font-weight: 500; }
.bio__uso { margin-top: 0.6rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--creme-suave); }

/* section2: agronomia */
.section2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  border-top: 1px solid var(--fio);
}
.section2 { align-items: start; }
.section2__texto { max-width: 52ch; display: grid; gap: 1.6rem; }
.passos { display: grid; gap: 0.8rem; }
.passos li { display: flex; align-items: center; gap: 0.9rem; font-weight: 500; }
.passos span { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--palha); color: var(--fundo); font-family: var(--placa); font-weight: 800; font-size: 0.9rem; }

/* section3: vídeo do fim de tarde com o único card do site */
.section3 {
  position: relative;
  min-height: 88svh;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vw, 8rem) var(--margem);
  overflow: hidden;
}
.section3__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section3::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, var(--fundo), rgb(16 41 26 / 0.2) 25%, rgb(16 41 26 / 0.3) 75%, var(--fundo));
}
.card {
  position: relative;
  z-index: 2;
  width: min(100%, 34rem);
  background: var(--creme);
  color: var(--fundo);
  border-radius: 4px;
  padding: clamp(1.8rem, 5vw, 3rem);
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}
.card .t3 { color: var(--verde); }
.card .lnk { color: var(--verde); }
.card__dados { display: grid; gap: 0.2rem; }
.card__dados dd { color: var(--fundo); margin-bottom: 0.7rem; }
.card .btn2 { background: var(--verde); color: var(--creme); }
.card .btn2:hover { background: #1d7536; }
.card__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }

/* section4: rodapé */
.section4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 2rem;
}
.section4 { max-width: none; background: var(--creme); }
.section4 .t3 { color: var(--mata); font-size: 0.72rem; font-weight: 500; }
.logo--rodape { width: 10rem; }

/* Faixa fixa no celular */
.faixa { display: none; }

/* Celular */
@media (max-width: 760px) {
  .nav { padding-block: 1rem; }
  .nav .logo { width: 8.5rem; box-shadow: 0 0 0 0.4rem var(--creme); }
  .section__intro { position: static; }
  .nav .lnk { font-size: 0.9rem; }
  .hero { padding-bottom: 5.5rem; }
  .hero__acoes .btn2 { display: none; }
  .section,
  .section2 { grid-template-columns: 1fr; }
  body { padding-bottom: 3.6rem; }
  .faixa {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--palha);
    color: var(--fundo);
    font-family: var(--placa);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
}

/* Foto de cada biológico, ao lado do texto no computador e embaixo do título no celular */
.bio__item { grid-template-columns: 3.2rem minmax(0, 1fr) 13rem; align-items: start; }
.bio__foto { display: grid; gap: 0.45rem; }
.bio__foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--mata); }
.bio__foto figcaption { font-size: 0.78rem; line-height: 1.4; color: var(--creme-suave); }
.bio__foto figcaption a { display: block; opacity: 0.7; text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 760px) {
  .bio__item { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .bio__foto { grid-column: 2; }
  .bio__foto img { aspect-ratio: 16 / 10; }
}
.bio__foto img[src*="azospirillum"] { object-position: 50% 85%; }
.bio__foto img[src*="inoculante"] { object-position: 50% 0; }
