/* =========================================================================
   AgriFlex — site público
   Bootstrap 5.3 para grade, navbar e colapso; o resto é deste arquivo.
   Mesma identidade da apresentação: verde da marca, Montserrat nos títulos.
   ========================================================================= */

:root {
  --af: #138a3e;
  --af-deep: #0d6e31;
  --af-dark: #082415;
  --af-darker: #04130b;
  --af-soft: #e2f5e8;
  --af-tint: #f3fbf5;
  --af-light: #5fe08c;
  --af-gold: #e8a33a;
  --ink: #0c1116;
  --ink-2: #2b3742;
  --muted: #5f6d78;
  --faint: #93a0ab;
  --line: #e3e9e5;
  --bg-2: #f6f9f7;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(8, 36, 21, .06), 0 12px 32px -12px rgba(8, 36, 21, .18);
  --shadow-lg: 0 30px 70px -24px rgba(4, 19, 11, .45);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink-2);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .af-h { font-family: "Montserrat", "Inter", sans-serif; color: var(--ink); letter-spacing: -.02em; }
a { color: var(--af-deep); text-decoration: none; }
a:hover { color: var(--af); }
img { max-width: 100%; }
.af-ic { display: inline-block; vertical-align: -3px; }

/* ---------- Botões ------------------------------------------------------ */
.af-btn {
  background: var(--af); color: #fff; border: 1px solid var(--af);
  font-weight: 600; border-radius: 10px; padding: .62rem 1.15rem;
  display: inline-flex; align-items: center; gap: .5rem; transition: .15s;
}
.af-btn:hover, .af-btn:focus { background: var(--af-deep); border-color: var(--af-deep); color: #fff; }
.af-btn--lg { padding: .9rem 1.5rem; font-size: 1.05rem; border-radius: 12px; }
.af-btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.af-btn--ghost:hover { background: var(--af-tint); color: var(--af-deep); border-color: var(--af-soft); }
.af-btn--light { background: #fff; color: var(--af-dark); border-color: #fff; }
.af-btn--light:hover { background: var(--af-soft); color: var(--af-dark); border-color: var(--af-soft); }
.af-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.af-btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.af-btn--whats { background: #25d366; border-color: #25d366; color: #06301a; }
.af-btn--whats:hover { background: #1ebe5b; border-color: #1ebe5b; color: #06301a; }

/* ---------- Topbar + navbar -------------------------------------------- */
.af-topbar { background: var(--af-dark); color: rgba(255,255,255,.72); font-size: .82rem; padding: .45rem 0; }
.af-topbar a { color: rgba(255,255,255,.82); }
.af-topbar a:hover { color: #fff; }
.af-topbar strong { color: #fff; }
.af-topbar__login { font-weight: 600; }

.af-nav { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); padding: .7rem 0; }
.af-nav .nav-link { font-weight: 600; color: var(--ink-2); font-size: .95rem; padding: .5rem .8rem !important; border-radius: 8px; }
.af-nav .nav-link:hover, .af-nav .nav-link.is-active { color: var(--af-deep); background: var(--af-tint); }
.af-nav__ia { color: var(--af-deep) !important; }
.af-mega { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: var(--shadow-lg); padding: 1.6rem 0 1rem; margin-top: .7rem !important; left: 0; right: 0; }
.af-mega__g { display: flex; align-items: center; gap: .45rem; font-family: "Montserrat"; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gc); margin-bottom: .6rem; }
.af-mega__i { display: block; padding: .32rem 0; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.af-mega__i:hover { color: var(--af-deep); }
.af-mega__foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: .9rem; font-size: .85rem; color: var(--muted); }
.af-mega__foot a { font-weight: 700; }
.af-drop { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; min-width: 290px; margin-top: .7rem !important; }
.af-drop__i { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.af-drop__i svg { color: var(--gc); }
.af-drop__i:hover { background: var(--af-tint); color: var(--ink); }

/* ---------- Seções ----------------------------------------------------- */
.af-sec { padding: 96px 0; position: relative; }
.af-sec--alt { background: var(--bg-2); }
.af-sec--tint { background: var(--af-tint); }
.af-sec--dark { background: radial-gradient(1200px 600px at 80% 0%, #0f4a26 0%, var(--af-dark) 55%, var(--af-darker) 100%); color: rgba(255,255,255,.78); }
.af-sec--dark h2, .af-sec--dark h3, .af-sec--dark h4 { color: #fff; }
.af-sec--sm { padding: 64px 0; }
.af-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--af-deep); margin-bottom: .9rem; }
.af-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--af); }
.af-sec--dark .af-eyebrow { color: var(--af-light); }
.af-sec--dark .af-eyebrow::before { background: var(--af-light); }
.af-title { font-size: clamp(1.8rem, 3.2vw, 2.65rem); font-weight: 800; line-height: 1.12; margin: 0 0 1rem; }
.af-title em { font-style: normal; color: var(--af); }
.af-sec--dark .af-title em { color: var(--af-light); }
.af-lede { font-size: 1.12rem; line-height: 1.65; color: var(--muted); max-width: 760px; }
.af-sec--dark .af-lede { color: rgba(255,255,255,.72); }
.af-head { margin-bottom: 3rem; }
.af-head--c { text-align: center; }
.af-head--c .af-lede { margin-left: auto; margin-right: auto; }

/* ---------- Hero ------------------------------------------------------- */
.af-hero { position: relative; overflow: hidden; color: rgba(255,255,255,.8);
  background: radial-gradient(1100px 700px at 85% -10%, #1a8a44 0%, #0b4221 36%, var(--af-dark) 66%, var(--af-darker) 100%); padding: 84px 0 0; }
.af-hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000 30%, transparent 90%); }
.af-hero .container { position: relative; }
.af-hero__badge { display: inline-flex; gap: .5rem; align-items: center; background: rgba(95,224,140,.12); color: var(--af-light); border: 1px solid rgba(95,224,140,.3);
  padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.af-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin: 1.2rem 0 1.1rem; }
.af-hero h1 span { color: var(--af-light); }
.af-hero__sub { font-size: 1.18rem; line-height: 1.6; max-width: 560px; color: rgba(255,255,255,.75); }
.af-hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.af-hero__note { font-size: .88rem; margin-top: 1rem; color: rgba(255,255,255,.6); display: flex; gap: 1.2rem; flex-wrap: wrap; }
.af-hero__note span { display: inline-flex; gap: .4rem; align-items: center; }
.af-hero__note svg { color: var(--af-light); }
.af-hero__stage { position: relative; margin-top: 56px; padding-bottom: 0; }
.af-hero__web { border-radius: 14px 14px 0 0; box-shadow: var(--shadow-lg); display: block; width: 100%; }
.af-hero__cel { position: absolute; right: -10px; bottom: 40px; width: 22%; max-width: 250px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.af-hero__stats { display: flex; gap: 2.2rem; margin-top: 2rem; flex-wrap: wrap; }
.af-hero__stats b { display: block; color: #fff; font-family: "Montserrat"; font-size: 1.6rem; font-weight: 800; }
.af-hero__stats small { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }

/* faixa "funciona com" */
.af-strip { border-bottom: 1px solid var(--line); background: #fff; padding: 26px 0; }
.af-strip__t { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.af-strip__l { display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; justify-content: center; }
.af-strip__l span { font-family: "Montserrat"; font-weight: 700; color: #7b8983; font-size: 1.02rem; letter-spacing: -.01em; }

/* ---------- Cards ------------------------------------------------------ */
.af-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; height: 100%; transition: .2s; }
.af-card:hover { border-color: #cfe6d7; box-shadow: var(--shadow); }
.af-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .45rem; }
.af-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.af-card__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--af-soft); color: var(--af-deep); margin-bottom: 1rem; }
.af-card--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.af-card--dark h3 { color: #fff; }
.af-card--dark p { color: rgba(255,255,255,.66); }
.af-card--dark .af-card__ic { background: rgba(95,224,140,.14); color: var(--af-light); }
.af-card--link { display: block; color: inherit; }
.af-card--link:hover { color: inherit; transform: translateY(-2px); }
.af-card__more { margin-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--af-deep); display: inline-flex; gap: .35rem; align-items: center; }

/* pilares da plataforma */
.af-pilar { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; height: 100%; display: flex; flex-direction: column; }
.af-pilar__h { padding: 1.2rem 1.4rem; color: #fff; display: flex; align-items: center; gap: .7rem; font-family: "Montserrat"; font-weight: 800; font-size: 1.1rem; }
.af-pilar__b { padding: 1.1rem 1.4rem 1.4rem; display: grid; gap: .85rem; }
.af-pilar__i { display: grid; grid-template-columns: 26px 1fr; gap: .7rem; color: var(--ink-2); }
.af-pilar__i b { display: block; color: var(--ink); font-size: .96rem; }
.af-pilar__i small { color: var(--muted); font-size: .86rem; }
.af-pilar__i:hover b { color: var(--af-deep); }

/* ---------- Telas (imagens do sistema) ---------------------------------- */
.af-shot { border-radius: 14px; box-shadow: var(--shadow-lg); display: block; width: 100%; height: auto; background: #fff; }
.af-shot--flat { box-shadow: var(--shadow); }
.af-cel { display: block; width: 100%; max-width: 280px; height: auto; filter: drop-shadow(0 26px 34px rgba(8,36,21,.28)); }
.af-shotwrap { position: relative; }
.af-shotwrap .af-cel { position: absolute; right: -24px; bottom: -40px; width: 23%; max-width: 200px; }
.af-cap { font-size: .82rem; color: var(--faint); margin-top: .8rem; font-weight: 600; display: flex; gap: .45rem; align-items: center; }
.af-cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--af); }

/* linha de destaque (tela + texto) */
.af-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.af-row--rev { grid-template-columns: 1fr 1.25fr; }
.af-row--rev .af-row__img { order: 2; }
.af-row + .af-row { margin-top: 110px; }
.af-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .95rem; }
.af-list li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; }
.af-list li > span:first-child { width: 26px; height: 26px; border-radius: 50%; background: var(--af-soft); color: var(--af-deep); display: grid; place-items: center; margin-top: 1px; }
.af-list b { color: var(--ink); display: block; font-size: 1rem; }
.af-list small { color: var(--muted); font-size: .92rem; line-height: 1.55; display: block; margin-top: .1rem; }
.af-sec--dark .af-list b { color: #fff; }
.af-sec--dark .af-list small { color: rgba(255,255,255,.68); }
.af-sec--dark .af-list li > span:first-child { background: rgba(95,224,140,.16); color: var(--af-light); }
.af-link { font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; margin-top: 1.4rem; }
.af-sec--dark .af-link { color: var(--af-light); }

/* chips / pílulas */
.af-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.af-pill { background: var(--af-soft); color: var(--af-deep); padding: .4rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.af-pill--ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.af-sec--dark .af-pill { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Fluxo "dado entra uma vez" ------------------------------------ */
.af-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.af-flow__i { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; position: relative; }
.af-flow__i--d { background: var(--af-dark); border-color: var(--af-dark); color: rgba(255,255,255,.72); }
.af-flow__i--d h4 { color: #fff; }
.af-flow__tag { font-size: .7rem; font-weight: 800; letter-spacing: .14em; color: var(--af); display: flex; gap: .5rem; align-items: center; margin-bottom: .6rem; }
.af-flow__i--d .af-flow__tag { color: var(--af-light); }
.af-flow__i h4 { font-size: 1rem; font-weight: 700; margin: 0 0 .35rem; }
.af-flow__i p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.af-flow__i--d p { color: rgba(255,255,255,.7); }

/* ---------- Comparativo --------------------------------------------------- */
.af-cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.af-cmp th, .af-cmp td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.af-cmp thead th { background: var(--bg-2); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.af-cmp thead th:first-child { text-align: left; }
.af-cmp thead th.af-cmp__us { background: var(--af-deep); color: #fff; }
.af-cmp td { text-align: center; }
.af-cmp td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.af-cmp td.af-cmp__us { background: var(--af-tint); }
.af-cmp tr:last-child td { border-bottom: 0; }
.af-cmp .ok { color: var(--af); }
.af-cmp .no { color: #c9d2cd; font-weight: 800; }
.af-cmp .pa { color: #b45309; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Números ---------------------------------------------------- */
.af-num b { display: block; font-family: "Montserrat"; font-weight: 800; font-size: 2.4rem; color: var(--af-deep); letter-spacing: -.03em; line-height: 1; }
.af-num span { display: block; margin-top: .5rem; color: var(--muted); font-size: .92rem; font-weight: 500; }
.af-sec--dark .af-num b { color: #fff; }
.af-sec--dark .af-num span { color: rgba(255,255,255,.65); }

/* ---------- Timeline de implantação -------------------------------------- */
.af-tl { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.af-tl::before { content: ""; position: absolute; left: 10%; right: 10%; top: 44px; height: 2px; background: var(--line); }
.af-tl__i { text-align: center; padding: 0 .8rem; position: relative; }
.af-tl__p { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--af); text-transform: uppercase; margin-bottom: .7rem; }
.af-tl__n { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto .9rem; display: grid; place-items: center; font-weight: 800; font-family: "Montserrat";
  background: #fff; border: 2px solid var(--af); color: var(--af-deep); position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg-2); }
.af-tl__i:first-child .af-tl__n { background: var(--af); color: #fff; }
.af-tl__i h4 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.af-tl__i p { font-size: .88rem; color: var(--muted); margin: 0; }
.af-sec--tint .af-tl__n { box-shadow: 0 0 0 6px var(--af-tint); }
.af-sec:not(.af-sec--alt):not(.af-sec--tint) .af-tl__n { box-shadow: 0 0 0 6px #fff; }
.af-bar { display: flex; height: 38px; border-radius: 10px; overflow: hidden; font-size: .82rem; font-weight: 700; color: #fff; }
.af-bar > div { display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.af-bar__leg { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ---------- Planos ---------------------------------------------------- */
.af-plano { border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem 1.6rem; background: #fff; height: 100%; display: flex; flex-direction: column; position: relative; }
.af-plano h3 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.af-plano__pub { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.af-plano__preco { font-family: "Montserrat"; font-size: 2.2rem; font-weight: 800; color: var(--af-deep); margin: 1.2rem 0 .1rem; letter-spacing: -.03em; }
.af-plano__per { font-size: .82rem; color: var(--faint); margin-bottom: 1.2rem; }
.af-plano ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.af-plano li { display: grid; grid-template-columns: 20px 1fr; gap: .55rem; font-size: .94rem; }
.af-plano li svg { color: var(--af); margin-top: 3px; }
.af-plano .af-btn { margin-top: auto; justify-content: center; }
.af-plano--d { background: var(--af-dark); border-color: var(--af-dark); color: rgba(255,255,255,.8); box-shadow: var(--shadow-lg); }
.af-plano--d h3 { color: #fff; }
.af-plano--d .af-plano__pub, .af-plano--d .af-plano__per { color: rgba(255,255,255,.6); }
.af-plano--d .af-plano__preco { color: var(--af-light); }
.af-plano--d li svg { color: var(--af-light); }
.af-plano__tag { position: absolute; top: -13px; right: 20px; background: var(--af); color: #fff; font-size: .75rem; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; }
.af-plano-extra { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; background: var(--af-tint); border: 1px solid var(--af-soft); border-radius: 16px; padding: 1.1rem 1.4rem; margin-top: 2rem; font-size: .95rem; }
.af-plano-extra b { color: var(--ink); }

/* ---------- FAQ -------------------------------------------------------- */
.af-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0; margin-bottom: .8rem; }
.af-faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.af-faq summary::-webkit-details-marker { display: none; }
.af-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--af); font-weight: 400; }
.af-faq details[open] summary::after { content: "–"; }
.af-faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); line-height: 1.65; }

/* ---------- CTA final ------------------------------------------------- */
.af-cta { border-radius: 26px; padding: 64px; color: rgba(255,255,255,.78); position: relative; overflow: hidden;
  background: radial-gradient(900px 500px at 90% 0%, #1a8a44 0%, #0b4221 45%, var(--af-dark) 100%); }
.af-cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.af-cta p { font-size: 1.1rem; max-width: 560px; }

/* ---------- Página interna: cabeçalho ------------------------------------- */
.af-phero { background: radial-gradient(1000px 500px at 85% -20%, #1a8a44 0%, #0b4221 40%, var(--af-dark) 75%); color: rgba(255,255,255,.78); padding: 72px 0 64px; position: relative; overflow: hidden; }
.af-phero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: .6rem 0 1rem; }
.af-phero h1 em { font-style: normal; color: var(--af-light); }
.af-phero p { font-size: 1.15rem; max-width: 640px; color: rgba(255,255,255,.75); }
.af-phero .af-eyebrow { color: var(--af-light); }
.af-phero .af-eyebrow::before { background: var(--af-light); }
.af-crumb { font-size: .85rem; color: rgba(255,255,255,.55); }
.af-crumb a { color: rgba(255,255,255,.75); }
.af-phero--shot { padding-bottom: 0; }
.af-phero--shot .af-shot { border-radius: 14px 14px 0 0; margin-top: 48px; }

/* grupos na página de funcionalidades */
.af-gh { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.4rem; }
.af-gh__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--gc); }
.af-gh h2 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.af-gh p { margin: 0; color: var(--muted); }

/* ---------- Formulário ------------------------------------------------ */
.af-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.af-form label { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.af-form .form-control, .af-form .form-select { border-radius: 10px; padding: .7rem .9rem; border-color: #d9e2dc; }
.af-form .form-control:focus, .af-form .form-select:focus { border-color: var(--af); box-shadow: 0 0 0 .2rem rgba(19,138,62,.15); }
.af-form .invalid-feedback { display: block; }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.af-radio { display: flex; flex-wrap: wrap; gap: .5rem; }
.af-radio input { display: none; }
.af-radio label { border: 1px solid #d9e2dc; border-radius: 999px; padding: .45rem .95rem; cursor: pointer; font-weight: 600; font-size: .9rem; margin: 0; }
.af-radio input:checked + label { background: var(--af); border-color: var(--af); color: #fff; }

/* ---------- Texto longo (privacidade/termos) -------------------------------- */
.af-doc { max-width: 820px; }
.af-doc h2 { font-size: 1.3rem; font-weight: 800; margin: 2.2rem 0 .8rem; }
.af-doc p, .af-doc li { line-height: 1.75; color: var(--ink-2); }

/* ---------- Rodapé ---------------------------------------------------- */
.af-footer { background: var(--af-darker); color: rgba(255,255,255,.62); padding: 72px 0 28px; font-size: .92rem; }
.af-footer h6 { color: #fff; font-family: "Montserrat"; font-weight: 700; font-size: .9rem; margin-bottom: 1rem; }
.af-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.af-footer a { color: rgba(255,255,255,.66); }
.af-footer a:hover { color: #fff; }
.af-footer__plain li { color: rgba(255,255,255,.5); }
.af-footer__slogan { margin: 1rem 0 1.2rem; max-width: 340px; line-height: 1.6; }
.af-footer__selos { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.af-footer__selo { display: flex; gap: .7rem; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .7rem 1rem; }
.af-footer__selo svg { color: var(--af-light); flex: none; }
.af-footer__selo strong { display: block; color: #fff; font-size: .86rem; }
.af-footer__selo small { color: rgba(255,255,255,.5); font-size: .76rem; }
.af-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.4rem; font-size: .84rem; }
.af-footer__base strong { color: rgba(255,255,255,.75); font-weight: 600; }
.af-footer__links { display: flex; gap: 1.4rem; }

/* WhatsApp flutuante + cookies */
.af-whats { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 1030; box-shadow: 0 10px 26px -6px rgba(0,0,0,.4); }
.af-whats:hover { color: #fff; transform: scale(1.05); }
.af-cookie { position: fixed; left: 0; right: 0; bottom: 0; background: var(--af-dark); color: rgba(255,255,255,.82); padding: .9rem 0; z-index: 1040; font-size: .9rem; }
.af-cookie p { margin: 0; flex: 1; }
.af-cookie a { color: var(--af-light); }

/* ---------- Revelação suave ao rolar ------------------------------------ */
.af-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.af-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .af-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsivo ------------------------------------------------ */
@media (max-width: 1199px) {
  .af-row, .af-row--rev { gap: 44px; }
}
@media (max-width: 991px) {
  .af-sec { padding: 72px 0; }
  .af-row, .af-row--rev { grid-template-columns: 1fr; }
  .af-row--rev .af-row__img { order: 0; }
  .af-row + .af-row { margin-top: 72px; }
  .af-flow { grid-template-columns: repeat(2, 1fr); }
  .af-tl { grid-template-columns: 1fr; gap: 1.4rem; text-align: left; }
  .af-tl::before { display: none; }
  .af-tl__i { display: grid; grid-template-columns: 52px 1fr; text-align: left; gap: 0 1rem; }
  .af-tl__n { margin: 0; grid-row: span 3; }
  .af-hero__cel { width: 26%; right: 0; bottom: 18px; }
  .af-shotwrap .af-cel { right: -8px; }
  .af-mega { box-shadow: none; padding: .5rem 0; border-top: 0; }
  .af-mega__foot { flex-direction: column; gap: .4rem; }
  .af-nav__cta { margin: .8rem 0 .4rem; }
  .af-cta { padding: 40px 28px; }
  .af-cmp-wrap { overflow-x: auto; }
  .af-cmp { min-width: 680px; }
}
@media (max-width: 575px) {
  /* a calha g-5 do Bootstrap (3rem) passa da margem do container no celular */
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .af-flow { grid-template-columns: 1fr; }
  .af-hero { padding-top: 56px; }
  .af-hero__cel { display: none; }
  .af-shotwrap .af-cel { display: none; }
  .af-topbar { font-size: .76rem; }
  .af-form { padding: 1.3rem; }
}

/* ---------- Faixa com foto de fundo (pessoa à esquerda, texto à direita) --- */
.af-foto { position: relative; color: rgba(255,255,255,.82); background-color: var(--af-dark);
  background-image: linear-gradient(90deg, rgba(4,19,11,0) 22%, rgba(4,19,11,.55) 48%, rgba(4,19,11,.9) 66%, rgba(4,19,11,.96) 100%), var(--foto);
  background-size: cover; background-position: left center; min-height: 560px; display: flex; align-items: center; padding: 88px 0; }
.af-foto h1, .af-foto h2 { color: #fff; }
.af-foto .af-title { font-size: clamp(2rem, 3.6vw, 3rem); }
.af-foto .af-title em, .af-foto h1 em { color: var(--af-light); font-style: normal; }
.af-foto .af-eyebrow { color: var(--af-light); }
.af-foto .af-eyebrow::before { background: var(--af-light); }
.af-foto .af-lede, .af-foto p { color: rgba(255,255,255,.78); }
.af-foto__txt { margin-left: auto; max-width: 560px; }
.af-foto__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.af-foto__chips span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: .4rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.af-foto--pecuaria { --foto: url("../img/fotos/pecuaria.webp"); }
.af-foto--graos { --foto: url("../img/fotos/graos.webp"); }
.af-foto .af-crumb { margin-bottom: .6rem; }
@media (max-width: 991px) {
  /* no celular a foto fica em cima e o texto embaixo, sem brigar com o rosto */
  .af-foto { display: block; min-height: 0; padding: 0 0 56px; background-image: none; }
  .af-foto::before { content: ""; display: block; aspect-ratio: 16 / 9; margin-bottom: 36px;
    background-image: linear-gradient(180deg, rgba(4,19,11,0) 55%, var(--af-dark) 100%), var(--foto-m, var(--foto)); background-size: cover; background-position: center; }
  .af-foto--pecuaria { --foto-m: url("../img/fotos/pecuaria-900.webp"); }
  .af-foto--graos { --foto-m: url("../img/fotos/graos-900.webp"); }
  .af-foto__txt { max-width: none; }
}

/* ---------- Hero com vídeo de fundo -------------------------------------
   O vídeo cobre só a parte de cima do hero (onde está o texto) e se funde no
   verde-escuro antes da tela do sistema. Pessoas ficam à esquerda do vídeo,
   então o texto vai à direita, sobre o degradê — mesma lógica das faixas com
   foto. No celular, o vídeo vira um bloco 16:9 no topo e o texto vem abaixo. */
.af-hero--video { background: var(--af-darker); padding-top: 0; }
.af-hero--video::before { display: none; }
.af-hero__bg { position: absolute; left: 0; right: 0; top: 0; height: 760px; overflow: hidden; z-index: 0; background: #0b2a17 url("../img/fotos/hero-poster.webp") center 30% / cover no-repeat; }
.af-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.af-hero__shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,19,11,.08) 0%, rgba(4,19,11,.35) 34%, rgba(4,19,11,.82) 54%, rgba(4,19,11,.93) 100%),
    linear-gradient(180deg, rgba(4,19,11,0) 55%, var(--af-darker) 100%); }
.af-hero--video .container { position: relative; z-index: 1; }
.af-hero__txt { padding-top: 96px; min-height: 620px; }
.af-hero--video .af-hero__stats { margin-top: 2.2rem; }
.af-hero--video .af-hero__stage { margin-top: 30px; }
@media (max-width: 991px) {
  .af-hero__bg { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .af-hero__shade { background: linear-gradient(180deg, rgba(4,19,11,0) 50%, var(--af-darker) 100%); }
  .af-hero__txt { padding-top: 8px; min-height: 0; }
}
