/* Cerrado Insumos Agrícolas — estilos globais
   Agro profissional: verde-campo + marrom-terra + amarelo-colheita. Tom técnico-comercial.
   Site institucional/informativo: sem venda online de defensivos nem instrução de dosagem. */

:root {
  --green: #3a6b22;
  --green-deep: #2a4f18;
  --green-mid: #4e8a2e;
  --earth: #7a5230;
  --earth-dark: #5d3e23;
  --harvest: #e6a818;
  --harvest-dark: #c78d0d;
  --ink: #25301c;
  --body: #45503c;
  --muted: #71795f;
  --line: #e2e6d6;
  --bg: #ffffff;
  --bg-soft: #f5f7ed;
  --cream: #faf6ea;
  --grad-green: linear-gradient(135deg, #2a4f18 0%, #3a6b22 55%, #4e8a2e 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 30px rgba(42, 79, 24, 0.13);
  --shadow-sm: 0 4px 14px rgba(42, 79, 24, 0.10);
  --maxw: 1150px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--body); background: var(--bg); line-height: 1.66; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green); color: #d8e7c9; }
.section--green h2, .section--green h3 { color: #fff; }

.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; color: var(--earth); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--harvest); }
.section--green .kicker { color: var(--harvest); }
.section h2 { font-size: clamp(1.7rem, 3.7vw, 2.4rem); margin-bottom: 14px; }
.section .lead { max-width: 640px; color: var(--muted); margin-bottom: 38px; font-size: 1.07rem; }
.section--green .lead { color: #b6cda3; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem; padding: 14px 28px; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--harvest { background: var(--harvest); color: #3a2a05; box-shadow: 0 8px 20px rgba(230,168,24,.32); }
.btn--harvest:hover { background: var(--harvest-dark); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { background: #fff; color: var(--green); border-color: var(--line); }
.btn--outline:hover { border-color: var(--green); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--green-deep); color: #b6cda3; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar a { color: #d8e7c9; }
@media (max-width: 640px) { .topbar .tb-extra { display: none; } }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 46px; height: 46px; border-radius: 10px; background: var(--grad-green); display: grid; place-items: center; flex: none; }
.brand .bt { font-weight: 800; font-size: 1.2rem; line-height: 1.05; }
.brand small { display: block; font-size: .64rem; font-weight: 700; color: var(--earth); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { color: var(--body); font-weight: 600; font-size: .95rem; padding: 9px 13px; border-radius: var(--radius-sm); }
.nav-links a:hover { background: var(--bg-soft); color: var(--green); text-decoration: none; }
.nav-links a.active { color: var(--green); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--green); border-radius: 2px; margin: 5px 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 110px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow-sm); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
}

/* Hero */
.hero { background: var(--grad-green); color: #d8e7c9; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: 50%; height: 100%; background: linear-gradient(180deg, transparent 50%, rgba(230,168,24,.10)); }
.hero .wrap { position: relative; z-index: 2; padding: 78px 20px 84px; }
.hero .est { display: inline-flex; align-items: center; gap: 9px; background: rgba(230,168,24,.16); border: 1px solid rgba(230,168,24,.4); color: #ffe1a0; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 16px; border-radius: 4px; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 20px; max-width: 18ch; }
.hero p { font-size: 1.16rem; max-width: 56ch; color: #c4d8b4; margin-bottom: 32px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 46px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-stats .hs { padding: 22px 38px 0 0; }
.hero-stats b { font-size: 1.5rem; color: var(--harvest); display: block; line-height: 1; }
.hero-stats span { font-size: .86rem; color: #a7c194; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-5 { grid-template-columns: repeat(5,1fr); }
@media (max-width: 940px) { .grid-5 { grid-template-columns: repeat(3,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; } }

/* Card linha de produto */
.line { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .18s, box-shadow .18s; border-bottom: 3px solid var(--green-mid); }
.line:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-bottom-color: var(--harvest); }
.line .ico { width: 54px; height: 54px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 16px; color: var(--green); }
.line h3 { font-size: 1.12rem; margin-bottom: 8px; }
.line p { font-size: .93rem; color: var(--body); }

/* Atendimento / feat */
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .ico { width: 50px; height: 50px; border-radius: 12px; background: rgba(230,168,24,.16); display: grid; place-items: center; flex: none; }
.feat h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feat p { color: #b6cda3; font-size: .95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.panel { background: var(--grad-green); color: #d8e7c9; border-radius: var(--radius); padding: 38px 32px; border-bottom: 3px solid var(--harvest); }
.panel h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.panel p { color: #c4d8b4; }

.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; }
.checks .chk { width: 26px; height: 26px; border-radius: 6px; flex: none; margin-top: 2px; background: var(--green); color: #fff; display: grid; place-items: center; }
.checks strong { color: var(--ink); display: block; }

/* Aviso regulado */
.regnote { background: var(--cream); border: 1px solid #ecdcb0; border-left: 4px solid var(--harvest-dark); border-radius: var(--radius-sm); padding: 20px 24px; }
.regnote h3 { font-size: 1.05rem; margin-bottom: 6px; }
.regnote p { font-size: .95rem; color: var(--body); }

/* CTA band */
.cta-band { background: var(--grad-green); color: #fff; border-radius: var(--radius); padding: 50px 40px; text-align: center; border-bottom: 3px solid var(--harvest); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem,3.5vw,2.1rem); margin-bottom: 10px; }
.cta-band p { color: #c4d8b4; max-width: 52ch; margin: 0 auto 26px; }

/* Páginas internas */
.page-head { background: var(--green); color: #d8e7c9; padding: 54px 0; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-head p { color: #b6cda3; max-width: 62ch; margin-top: 10px; }
.crumbs { font-size: .85rem; color: #b6cda3; margin-bottom: 14px; }
.crumbs a { color: var(--harvest); }

.prose { max-width: 770px; }
.prose h2 { font-size: 1.45rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.16rem; margin: 26px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }

/* Form */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:560px){ .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--ink); font-size: .9rem; }
.field input, .field select, .field textarea { font-family: var(--font); font-size: 1rem; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: #fff; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(78,138,46,.16); }
.field textarea { min-height: 120px; resize: vertical; }

.info-list { list-style: none; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--bg-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.info-list b { color: var(--ink); display: block; }
.info-list a { color: var(--body); }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); }
.note { background: var(--cream); border: 1px solid #ecdcb0; color: #7a5a14; border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; }

/* Footer */
.site-footer { background: var(--green-deep); color: #a7c194; padding: 56px 0 26px; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 12px; }
.footer-brand .logo { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--green-mid), var(--harvest)); display: grid; place-items: center; flex: none; }
.footer-brand b { font-size: 1.16rem; }
.footer-brand small { display: block; font-size: .62rem; letter-spacing: .1em; color: var(--harvest); text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #a7c194; }
.site-footer a:hover { color: #fff; }
.legal-data { line-height: 1.7; }
.legal-data b { color: #d4e3c6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: #7f9a6c; font-size: .85rem; }
