/* Tecnoplanta — site estatico
   Paleta inspirada no site original (verde campo + creme)
   Mobile-first, sem dependencias */

:root {
  --verde-escuro: #1f4d2b;
  --verde: #2f7a3f;
  --verde-claro: #5ba368;
  --creme: #f5f4f3;
  --creme-escuro: #e2e0d8;
  --texto: #1a1a1a;
  --texto-suave: #4a4a4a;
  --branco: #ffffff;
  --borda: #d8d5cb;
  --sombra: 0 6px 24px rgba(31, 77, 43, .08);
  --raio: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--verde); text-decoration: none; transition: color .2s; }
a:hover { color: var(--verde-escuro); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--verde-escuro);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: .8rem; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: .5rem; }

p { margin-bottom: 1rem; color: var(--texto-suave); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.logo img { height: 48px; width: auto; }

.nav-toggle {
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--verde-escuro);
  display: block;
}

.site-nav {
  position: fixed;
  inset: 0 0 0 30%;
  background: var(--branco);
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform .25s ease;
  box-shadow: -8px 0 24px rgba(0,0,0,.1);
}

.site-nav.open { transform: translateX(0); }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--verde-escuro);
  font-weight: 500;
  font-size: 1.05rem;
}

.site-nav a.cta {
  display: inline-block;
  background: var(--verde);
  color: var(--branco);
  padding: .65rem 1.25rem;
  border-radius: 999px;
}

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    inset: auto;
    padding: 0;
    transform: none;
    box-shadow: none;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(15, 41, 22, .82) 0%, rgba(15, 41, 22, .55) 55%, rgba(15, 41, 22, .35) 100%),
    url('../img/686f4eee.jpg') center/cover no-repeat;
  color: var(--branco);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero .container {
  width: 100%;
  max-width: var(--max);
  position: relative;
  z-index: 2;
}

.hero .tag {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 0;
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
  padding-left: 2.5rem;
}
.hero .tag::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 1px;
  background: rgba(255,255,255,.6);
}

.hero h1 {
  color: var(--branco);
  margin-bottom: 1.5rem;
  max-width: 16ch;
  font-size: clamp(2.3rem, 6.2vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  font-weight: 700;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: #c8e6a7;
  display: inline-block;
}

.hero .lead {
  color: rgba(255,255,255,.88);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  max-width: 48ch;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Indicador de scroll no hero */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  animation: scrollHint 2.4s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
}
@keyframes scrollHint {
  0%, 100% { transform: translate(-50%, 0); opacity: .85; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}
@media (max-width: 680px) { .hero-scroll { display: none; } }

/* ===== BOTOES ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .015em;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  text-align: center;
}

.btn-primary {
  background: var(--verde);
  color: var(--branco);
}
.btn-primary:hover {
  background: var(--verde-escuro);
  color: var(--branco);
  transform: translateY(-1px);
  box-shadow: var(--sombra);
}

.btn-outline {
  background: transparent;
  color: var(--branco);
  border: 1.5px solid rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: var(--branco);
  color: var(--verde-escuro);
}

.btn-ghost {
  background: var(--creme);
  color: var(--verde-escuro);
}
.btn-ghost:hover { background: var(--creme-escuro); color: var(--verde-escuro); }

/* ===== SECTIONS ===== */
section { padding: 4.5rem 0; }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head .eyebrow,
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--verde);
  font-weight: 600;
  margin-bottom: .85rem;
  position: relative;
  padding-left: 2.2rem;
}
.section-head .eyebrow::before,
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1.6rem; height: 1px;
  background: currentColor;
  opacity: .5;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
.section-head p { max-width: 60ch; margin: .5rem auto 0; font-size: 1.05rem; }

/* Eyebrow no hero/page-head (clara) usa branco no ::before */
.hero .tag::before,
.page-head .eyebrow::before { background: currentColor; }

.bg-creme { background: var(--creme); }

/* ===== FEATURE CARDS ===== */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .cards.cards-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 2rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }

.card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

/* Card com selo flutuante (ex.: Melhor Alho do Brasil) */
.card.has-selo { position: relative; }
.card .selo {
  position: absolute;
  top: -26px;
  right: -14px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--branco);
  padding: 4px;
  box-shadow: 0 6px 18px rgba(31, 77, 43, .18);
  margin: 0;
  transform: rotate(8deg);
  z-index: 2;
}
@media (min-width: 980px) {
  .card .selo { width: 96px; height: 96px; top: -34px; right: -18px; }
}

/* ===== SPLIT (image + text) ===== */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.reverse > :first-child { order: 2; }
}
.split img { border-radius: var(--raio); box-shadow: var(--sombra); }

/* Banner largo de secao (foto de capa de batata/alho) */
.section-banner {
  width: 100%;
  height: clamp(180px, 30vw, 340px);
  object-fit: cover;
  border-radius: var(--raio);
  margin-bottom: 2.5rem;
  box-shadow: var(--sombra);
}

/* ===== CULTIVARES ===== */
.cultivar-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .cultivar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cultivar-grid { grid-template-columns: repeat(3, 1fr); } }

.cultivar {
  background: var(--creme);
  border-radius: var(--raio);
  padding: 1.5rem;
  border-left: 4px solid var(--verde);
}
.cultivar h3 {
  color: var(--verde-escuro);
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 1.1rem;
}
.cultivar p { font-size: .92rem; margin: 0; }
.cultivar strong { color: var(--texto); }

/* ===== STEP CARDS (Trabalhe conosco) ===== */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }

.step {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 2rem;
  position: relative;
}
.step .num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--verde-claro);
  opacity: .5;
  line-height: 1;
  margin-bottom: .5rem;
}

/* ===== CONTATO ===== */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info .item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info .icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  background: var(--verde);
  color: var(--branco);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.contact-info h4 { font-family: inherit; font-size: 1rem; color: var(--verde-escuro); margin-bottom: .25rem; }

.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--raio); }

/* ===== FORM ===== */
.form { display: grid; gap: 1rem; }
.form label { display: block; font-size: .9rem; font-weight: 500; color: var(--verde-escuro); margin-bottom: .35rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--borda);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--branco);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(47, 122, 63, .15);
}
.form .hint { font-size: .82rem; color: var(--texto-suave); margin-top: .25rem; }
.form button { justify-self: start; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  background: #25d366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 99;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float svg {
  width: 34px; height: 34px;
  fill: #fff;
  display: block;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .55);
}
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-float { animation: waPulse 2.6s ease-in-out infinite; }
  @keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45); }
    50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 10px rgba(37, 211, 102, .12); }
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--verde-escuro);
  color: rgba(255,255,255,.85);
  padding: 3rem 0 1.5rem;
}
.site-footer .container { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .site-footer .container { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 { color: var(--branco); font-family: inherit; font-size: 1rem; margin-bottom: 1rem; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255,255,255,.78); font-size: .92rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a:hover { color: var(--branco); }
.site-footer img { height: 44px; margin-bottom: 1rem; filter: brightness(0) invert(1); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

/* ===== PAGE HEAD (paginas internas) ===== */
.page-head {
  background:
    linear-gradient(rgba(31, 77, 43, .7), rgba(31, 77, 43, .8)),
    url('../img/686f4eee.jpg') center/cover no-repeat;
  color: var(--branco);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-head h1 { color: var(--branco); }
.page-head p { color: rgba(255,255,255,.9); max-width: 60ch; margin: .5rem auto 0; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* ===== ANIMACOES ===== */

/* Scroll reveal - elementos surgem ao entrar na tela */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Atraso escalonado para grids (cards aparecem em cascata) */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > *           { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > :nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > :nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in > :nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in > :nth-child(4) { transition-delay: .35s; }
.reveal-stagger.in > :nth-child(5) { transition-delay: .45s; }
.reveal-stagger.in > :nth-child(6) { transition-delay: .55s; }
.reveal-stagger.in > :nth-child(7) { transition-delay: .65s; }
.reveal-stagger.in > :nth-child(8) { transition-delay: .75s; }

/* Header encolhe ao rolar */
.site-header {
  transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.shrink {
  box-shadow: 0 4px 16px rgba(31, 77, 43, .08);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
}
.site-header.shrink .header-inner { padding-top: .55rem; padding-bottom: .55rem; }
.site-header.shrink .logo img { height: 38px; transition: height .25s ease; }
.logo img { transition: height .25s ease; }

/* Hero - fade in inicial ao carregar pagina */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .container > * { animation: heroFadeIn .8s ease both; }
.hero .container > :nth-child(1) { animation-delay: .05s; }
.hero .container > :nth-child(2) { animation-delay: .20s; }
.hero .container > :nth-child(3) { animation-delay: .35s; }
.hero .container > :nth-child(4) { animation-delay: .50s; }

/* Page-head - mesmo efeito */
.page-head .container > * { animation: heroFadeIn .7s ease both; }
.page-head .container > :nth-child(1) { animation-delay: .05s; }
.page-head .container > :nth-child(2) { animation-delay: .18s; }
.page-head .container > :nth-child(3) { animation-delay: .30s; }

/* Hover refinado nos cards */
.card { will-change: transform; }
.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 14px 32px rgba(31, 77, 43, .12);
}

/* Botoes - ripple sutil no clique */
.btn { position: relative; overflow: hidden; }
.btn:active { transform: translateY(0) scale(.98); }

/* View Transitions API (Chrome/Edge/Safari recentes) */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .35s;
  animation-timing-function: cubic-bezier(.2,.7,.2,1);
}

/* Respeita preferencia de reducao de movimento do SO */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero .container > *, .page-head .container > * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== DENUNCIA (oculta) ===== */
.denuncia-aviso {
  background: #fff7e6;
  border: 1px solid #f0c674;
  border-radius: var(--raio);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: .92rem;
  color: #6b4e00;
}
.denuncia-aviso strong { color: #4d3800; }
