/* =====================================================================
   Rodrigo Roll — Assessoria Agro
   Paleta extraída da logo:
     verde escuro (marca)  #19451c   |  verde profundo  #0f3d13
     verde folha           #2f6d23   |  verde claro      #3b7a28
     dourado/trigo         #8a851d   |  trigo claro      #b9a92f
   ===================================================================== */

:root {
  --green-900: #0f3d13;
  --green-800: #19451c;   /* primária da marca */
  --green-700: #1d5222;
  --green-600: #2f6d23;
  --green-500: #3b7a28;
  --gold:      #8a851d;
  --gold-400:  #b9a92f;
  --gold-200:  #d9cf86;

  --ink:    #16221a;      /* texto principal */
  --muted:  #56655a;      /* texto secundário */
  --line:   #e2e8e1;      /* bordas suaves */
  --bg:     #ffffff;
  --soft:   #f4f7f1;      /* seção alternada (creme esverdeado) */
  --soft-2: #eef3ea;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 14px 40px rgba(15, 61, 19, .10);
  --shadow-sm: 0 6px 18px rgba(15, 61, 19, .08);

  /* Imagens/banners ativos */
  --hero-img: url('/assets/hero-bg.jpg');
  --sobre-img: url('/assets/sobre.jpg');
  --cta-img: url('/assets/cta-bg.jpg');
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; line-height: 1.12; font-weight: 600; }
img { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .76rem; color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold-200); }
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.section-note { text-align: center; color: var(--muted); margin-top: 38px; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--green-800); color: #fff;
  padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 700;
  border: 2px solid var(--green-800); cursor: pointer; font-size: 1rem;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--green-700); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--green-800); }
.btn-ghost:hover { background: rgba(25,69,28,.07); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--green-800); border-color: #fff; }
.btn-light:hover { background: var(--gold-200); border-color: var(--gold-200); color: var(--green-900); }
.btn-full { width: 100%; text-align: center; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .02em; color: var(--green-800); font-weight: 800; }
.brand-text small { font-size: .64rem; letter-spacing: .26em; color: var(--gold); font-weight: 700; margin-top: 3px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--green-600); }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-800); display: block; transition: .25s; }

/* ============================ HERO ============================ */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  padding: 78px 0 64px;
}
/* Quando --hero-img for definido no :root, o fundo vira a foto.
   O overlay claro garante leitura do texto sobre a imagem. */
.hero { background-image: var(--hero-img, none); background-size: cover; background-position: center; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  /* véu claro mais forte à esquerda (texto) e quase limpo à direita (foto) */
  background: linear-gradient(100deg,
    rgba(244,247,241,.95) 0%, rgba(244,247,241,.82) 38%,
    rgba(244,247,241,.32) 70%, rgba(244,247,241,.06) 100%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
.hero h1 .hl { color: var(--green-600); }
.hero .lead { font-size: 1.16rem; color: var(--muted); margin: 22px 0 30px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-trust li { font-size: .92rem; color: var(--muted); position: relative; padding-left: 18px; }
.hero-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 800; }
.hero-trust strong { color: var(--ink); }
.hero-logo img {
  width: 100%; max-width: 360px; margin: 0 auto;
  background: #fff; padding: 22px; border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(15,61,19,.22); border: 1px solid var(--line);
}

/* ============================ STRIP / NÚMEROS ============================ */
.strip { background: var(--green-800); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 40px 0; }
.strip-item { text-align: center; }
.strip-item .num { display: block; font-family: 'Fraunces', serif; font-size: 2.3rem; font-weight: 700; color: var(--gold-200); }
.strip-item .lbl { display: block; font-size: .92rem; color: rgba(255,255,255,.8); margin-top: 4px; }

/* ============================ TWO COLUMN ============================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.two-col-text p { color: var(--muted); margin-bottom: 16px; }
.two-col-text .btn { margin-top: 12px; }

.media-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--soft-2) var(--sobre-img, none) center/cover;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; align-items: flex-end; justify-content: center;
}
.media-tag { color: var(--muted); font-size: .85rem; padding: 14px; text-align: center; background: rgba(255,255,255,.7); width: 100%; }
.hero[style] .media-tag { display: none; }

.check-list { list-style: none; margin: 8px 0 26px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; background: var(--green-500); color: #fff;
  border-radius: 50%; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; margin-top: 4px;
}

/* ============================ PILARES ============================ */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.pillar-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--soft); display: grid; place-items: center; font-size: 1.7rem;
  border: 1px solid var(--line);
}
.pillar h3 { color: var(--green-800); margin-bottom: 10px; font-size: 1.25rem; }
.pillar p { color: var(--muted); font-size: .96rem; }

/* ============================ SERVIÇOS / CARDS ============================ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card::before {
  content: ""; position: absolute; left: 28px; top: 0; width: 38px; height: 4px;
  background: var(--gold); border-radius: 0 0 4px 4px;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { color: var(--green-800); margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .97rem; }

/* ============================ CTA BANNER ============================ */
.cta-banner {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  background-image: var(--cta-img, none); background-size: cover; background-position: center;
}
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,61,19,.86), rgba(29,82,34,.78)); }
.cta-inner { position: relative; padding: 80px 24px; max-width: 720px; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.9); font-size: 1.12rem; margin-bottom: 28px; }

/* ============================ PROCESSO / STEPS ============================ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative; box-shadow: var(--shadow-sm);
}
.step-n {
  font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 700;
  color: var(--gold-400); display: block; margin-bottom: 10px;
}
.step h3 { color: var(--green-800); font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ============================ DEPOIMENTO ============================ */
.quote {
  max-width: 820px; margin: 0 auto; text-align: center; padding: 16px;
}
.quote blockquote {
  font-family: 'Fraunces', serif; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--ink); line-height: 1.4; font-weight: 500;
}
.quote blockquote::before { content: "“"; color: var(--gold-400); font-size: 2.4em; line-height: 0; vertical-align: -.4em; margin-right: .05em; }
.quote figcaption { margin-top: 22px; color: var(--green-700); font-weight: 700; }
.quote figcaption span { color: var(--muted); font-weight: 500; }

/* ============================ CONTATO ============================ */
.section-dark { background: var(--green-900); color: #fff; }
.section-dark h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.contact-lead { color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 460px; }
.two-col-contact { align-items: start; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list .ci { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-200); font-weight: 700; }
.contact-list a, .contact-list span { color: #fff; }
.contact-list a:hover { color: var(--gold-200); }
.contact-list small { color: rgba(255,255,255,.55); }
.contact-form {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: grid; gap: 14px;
}
.form-hint { font-weight: 700; color: var(--green-800); }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--soft); color: var(--ink); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green-500); border-color: transparent; background: #fff; }
.form-note { color: var(--muted); font-size: .8rem; font-weight: 500; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.82); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-mark { height: 54px; width: auto; }
.footer-brand strong { display: block; color: #fff; font-size: 1.1rem; letter-spacing: .02em; font-weight: 800; }
.footer-brand span { display: block; color: var(--gold-200); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; margin: 2px 0 8px; }
.footer-brand em { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,.82); font-weight: 600; }
.footer-nav a:hover { color: var(--gold-200); }
.footer-contact p { margin-bottom: 8px; font-size: .94rem; }
.footer-legal-name { color: #fff; font-weight: 700; margin-bottom: 2px !important; }
.footer-cnpj {
  display: inline-block; color: var(--gold-200); font-weight: 800; letter-spacing: .03em;
  border: 1px solid rgba(217,207,134,.45); border-radius: 8px; padding: 4px 10px;
  margin-bottom: 12px !important; font-size: .9rem;
}
.footer-contact a { color: rgba(255,255,255,.82); }
.footer-contact a:hover { color: var(--gold-200); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-credit { letter-spacing: .06em; }

/* ============================ PÁGINAS LEGAIS ============================ */
.legal-hero {
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: #fff; padding: 64px 0 56px; text-align: center;
}
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; }
.legal-hero p { color: rgba(255,255,255,.82); margin-top: 12px; }
.legal-hero .updated { display: inline-block; margin-top: 18px; font-size: .82rem; letter-spacing: .08em; color: var(--gold-200); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; }
.legal { padding: 64px 0 84px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-wrap h2 { font-size: 1.5rem; color: var(--green-800); margin: 40px 0 14px; scroll-margin-top: 90px; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap h3 { font-size: 1.12rem; color: var(--green-700); margin: 24px 0 10px; font-family: 'Manrope', sans-serif; font-weight: 700; }
.legal-wrap p, .legal-wrap li { color: var(--ink); margin-bottom: 14px; }
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; margin-bottom: 16px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap a { color: var(--green-600); text-decoration: underline; }
.legal-wrap strong { color: var(--green-800); }
.legal-fill { background: var(--gold-200); color: var(--green-900); padding: 1px 6px; border-radius: 4px; font-weight: 700; font-size: .92em; }
.legal-toc {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 40px;
}
.legal-toc strong { display: block; margin-bottom: 10px; color: var(--green-800); }
.legal-toc ol { columns: 2; column-gap: 30px; margin: 0; padding-left: 20px; }
.legal-toc a { text-decoration: none; font-size: .94rem; }
.legal-note {
  background: var(--soft-2); border-left: 4px solid var(--gold); border-radius: 8px;
  padding: 16px 20px; margin: 28px 0; font-size: .94rem; color: var(--muted);
}
.legal-back { display: inline-block; margin-top: 8px; color: #fff; font-weight: 600; }
.legal-back:hover { color: var(--gold-200); }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }

/* ============================ WHATSAPP FLUTUANTE ============================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================ RESPONSIVO ============================ */
@media (max-width: 960px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-overlay { background: rgba(244,247,241,.88); }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 260px; padding: 18px; }
  .grid-4, .grid-3, .strip-inner, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }

  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease; margin: 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .strip-inner, .steps, .footer-grid { grid-template-columns: 1fr; }
  .brand-text small { letter-spacing: .18em; }
  .section { padding: 56px 0; }
  .strip-item .num { font-size: 2rem; }
  .footer-base { flex-direction: column; }
}
