/* Agropecuária Kiryu · site institucional
   Mesmo layout do site AgroEvolut (Barlow + Noto Sans, seções escuras/claras alternadas,
   paleta verde e dourada). Os estilos próprios da Kiryu ficam no fim do arquivo. */

:root {
  --ink: #0d1411;            /* fundo escuro */
  --ink-2: #111a16;
  --card-d: #1a2420;         /* cartões no escuro */
  --card-d-2: #1f2b26;
  --line-d: rgb(255 255 255 / 7%);
  --pill-d: #212c27;
  --pill-d-hover: #2a3831;
  --txt-d: #f4f7f5;
  --txt-d-2: #a9b4ae;
  --txt-d-3: #7d8a83;

  --light: #ffffff;
  --light-2: #f6faf7;
  --tint: #eff7f1;
  --tint-2: #d4ebdb;
  --head: #2e7a4d;           /* títulos nas seções claras */
  --txt: #3b3f3d;
  --txt-2: #6b716e;
  --txt-3: #8b918e;
  --border: #e7ece8;

  --green: #2f7d4f;
  --green-2: #4caf73;
  --gold: #d9a33a;

  --barlow: Barlow, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --noto: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--txt-d); font: 400 17px/1.5 var(--barlow); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
b { font-weight: 600; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Botões em pílula */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 17px/1 var(--barlow); color: #fff; white-space: nowrap; transition: background .2s, transform .2s;
}
.pill svg { width: 20px; height: 20px; }
.pill-lg { height: 50px; padding: 0 26px; font-size: 18px; }
.pill-sm { height: 44px; padding: 0 30px; font-size: 15px; font-weight: 600; }
.pill-block { width: 100%; }
.pill-dark { background: var(--pill-d); }
.pill-dark:hover { background: var(--pill-d-hover); }
.pill-green { background: var(--green); }
.pill-green:hover { background: #276a43; transform: translateY(-1px); }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 50; background: rgb(13 20 17 / 80%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.topbar-in { display: flex; align-items: center; gap: 32px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 600 21px/1 var(--barlow); letter-spacing: -.01em; color: #fff; }
.brand svg { width: 22px; height: 22px; color: var(--gold); stroke-width: 2; }
.nav { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: #fff; transition: color .2s; }
.nav a:hover { color: var(--green-2); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--pill-d); color: #fff; place-items: center; cursor: pointer; }
@media (max-width: 980px) {
  .hide-sm { display: none; }
  .menu-btn { display: inline-grid; margin-left: auto; }
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px; background: var(--ink); border-bottom: 1px solid var(--line-d);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line-d); }
}

/* HERO */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 30% at 50% 8%, rgb(76 175 115 / 12%), transparent 70%); }
.tiles { display: flex; justify-content: center; gap: 38px; margin-bottom: 34px; }
.tiles span {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px;
  background: linear-gradient(180deg, #1c2a23, #131d18); border: 1px solid #2a3a32;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%), 0 8px 20px -8px #000; color: #b8cfc1;
}
.tiles svg { width: 26px; height: 26px; stroke-width: 1.3; }
.tiles .t-on { color: var(--gold); border-color: #3d5a4a; box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 0 24px -4px rgb(76 175 115 / 45%); }
.tiles .t-fade { opacity: .25; }
.tiles span:nth-child(2), .tiles span:nth-child(6) { opacity: .75; }

.hero h1 { font: 600 clamp(36px, 5.2vw, 56px)/1.4 var(--barlow); letter-spacing: -.005em; color: #fff; }
.fade-txt { background: linear-gradient(180deg, #d7dfda 0%, #6f7d75 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 640px; margin: 14px auto 0; font-size: 19px; line-height: 1.3; color: #e6ece8; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 44px; }

@media (max-width: 720px) {
  .tiles { gap: 12px; }
  .tiles span { width: 42px; height: 42px; }
  .tiles svg { width: 20px; height: 20px; }
  .tiles .t-fade { display: none; }
  .hero h1 { line-height: 1.2; }
  .hero-sub { font-size: 17px; }
  .hero-cta .pill { flex: 1 1 100%; }
}

/* Barra em degradê entre seções */
.gbar { height: 18px; background: linear-gradient(90deg, #1c6b3d 0%, #2f9e5f 45%, #9ccf4a 80%, #d9a33a 100%); }

/* Seções claras */
.light { background: var(--light); color: var(--txt); }
.h-noto { font: 600 clamp(24px, 2.6vw, 28px)/1.25 var(--noto); color: var(--head); }
.h-bar { font: 600 clamp(30px, 3.4vw, 38px)/1.2 var(--barlow); color: var(--head); }
.center-head { display: grid; justify-items: center; gap: 10px; text-align: center; max-width: 820px; margin: 0 auto; }
.center-head > p { font-size: 19px; color: var(--txt-2); max-width: 800px; }
.tag { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--tint); color: #1d2a22; font-size: 19px; margin-bottom: 6px; }

.sobre { padding: 40px 0 20px; overflow: hidden; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 540px; }
.sobre-txt { display: grid; gap: 22px; max-width: 500px; padding-left: 36px; }
.sobre-txt p { font-size: 18px; line-height: 1.35; color: #4a4f4c; }
.sobre-txt b { color: #2a2e2c; }

.orbit { position: relative; width: 440px; height: 440px; justify-self: center; }
.o-ring { position: absolute; border-radius: 50%; inset: 0; }
.o1 { background: radial-gradient(circle at 50% 50%, #eaf5ed 0%, #f6fbf7 100%); }
.o2 { inset: 38px; background: linear-gradient(180deg, #f2f9f4 0%, #d6ecdc 100%); border: 1px solid #fff; box-shadow: 0 30px 60px -30px rgb(47 125 79 / 25%); }
.o3 { inset: 86px; background: linear-gradient(180deg, #f5fbf6 0%, #e6f3ea 100%); border: 2px solid #fff; }
.o-core { position: absolute; inset: 0; display: grid; place-items: center; }
.o-core svg { width: 84px; height: 84px; stroke: url(#grad); stroke-width: 1.4; }
.o-spin { position: absolute; inset: 38px; animation: spin 80s linear infinite; }
.o-spin span {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px;
  display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px -6px rgb(47 125 79 / 30%);
  transform: rotate(var(--a)) translateY(-182px) rotate(calc(-1 * var(--a)));
}
.o-spin span svg { width: 22px; height: 22px; stroke: url(#grad); animation: spin 80s linear infinite reverse; }
@keyframes spin { to { rotate: 360deg; } }
@media (max-width: 980px) {
  .sobre-grid { grid-template-columns: 1fr; min-height: 0; gap: 48px; padding-top: 40px; padding-bottom: 40px; }
  .sobre-txt { padding-left: 0; max-width: none; }
  .orbit { justify-self: center; margin: 0; width: 400px; height: 400px; }
  .o2 { inset: 40px; } .o3 { inset: 90px; } .o-spin { inset: 40px; }
  .o-spin span { width: 52px; height: 52px; margin: -26px; transform: rotate(var(--a)) translateY(-160px) rotate(calc(-1 * var(--a))); }
  .o-spin span svg { width: 22px; height: 22px; }
  .o-core svg { width: 90px; height: 90px; }
}
@media (max-width: 520px) {
  .orbit { width: 320px; height: 320px; }
  .o2 { inset: 26px; } .o3 { inset: 64px; } .o-spin { inset: 26px; }
  .o-spin span { width: 42px; height: 42px; margin: -21px; transform: rotate(var(--a)) translateY(-134px) rotate(calc(-1 * var(--a))); }
  .o-spin span svg { width: 18px; height: 18px; }
  .o-core svg { width: 64px; height: 64px; }
}

/* Carrossel de módulos */
.modulos { padding: 50px 0 110px; background: linear-gradient(180deg, #fff 0%, var(--light-2) 100%); }
.marquee {
  margin-top: 64px; display: grid; gap: 16px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-track { display: flex; gap: 16px; width: max-content; animation: slide 50s linear infinite; }
.mq-rev { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-card {
  flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px;
  background: #fff; border: 1px solid #e6ede8; border-radius: 14px; box-shadow: 0 6px 18px -14px rgb(47 125 79 / 45%);
  transition: border-color .2s, box-shadow .2s;
}
.mq-card:hover { border-color: #b9dcc6; box-shadow: 0 10px 24px -14px rgb(47 125 79 / 55%); }
.mq-card i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(160deg, #eef7f1, #d9eee0); }
.mq-card svg { width: 22px; height: 22px; stroke: url(#grad); stroke-width: 1.7; }
.mq-card div { display: grid; line-height: 1.2; }
.mq-card b { font-size: 16px; font-weight: 600; color: var(--head); }
.mq-card span { font-size: 13.5px; color: var(--txt-3); white-space: nowrap; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 640px) { .marquee { margin-top: 40px; gap: 12px; } .mq-track { gap: 12px; } .mq-card i { width: 38px; height: 38px; } .mq-card b { font-size: 15px; } }

/* Bento de benefícios */
.beneficios { padding: 40px 0 48px; background: var(--light-2); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 30px; }
.bc {
  grid-column: span 4; position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #edf1ee; border-radius: 16px; min-height: 408px;
}
.bc-vis { flex: 1; display: grid; place-items: center; padding: 20px 20px 0; min-height: 230px; }
.bc-txt { padding: 28px 32px 28px; display: grid; gap: 4px; align-content: start; }
.bc-txt small { font-size: 16px; font-weight: 500; color: #3b3b3b; margin-bottom: 4px; }
.bc-txt h3 { font: 500 23px/1.2 var(--barlow); color: var(--head); max-width: 320px; }
.bc-txt p { font-size: 16px; font-weight: 500; color: var(--txt-3); margin-top: 6px; }

.bc-wide { grid-column: span 7; min-height: 350px; flex-direction: row; align-items: center; }
.bc-wide .bc-txt { flex: 1; position: relative; z-index: 1; }

.bc-mon { grid-column: span 5; min-height: 350px; }
.mon-vis { position: relative; min-height: 190px; padding: 0; overflow: hidden; }
.mon-vis i { position: absolute; left: 50%; top: -120px; width: 380px; height: 380px; margin-left: -190px; border-radius: 50%; background: linear-gradient(180deg, #eef7f1, #d6ecdc); }
.mon-vis i:nth-child(2) { width: 300px; height: 300px; margin-left: -150px; top: -80px; background: linear-gradient(180deg, #f5fbf7, #e3f1e7); border: 1px solid #fff; }

.bc-full { grid-column: span 12; min-height: 420px; flex-direction: row; align-items: center; }
.bc-full .bc-txt { flex: 0 0 38%; }

@media (max-width: 980px) {
  .bc { grid-column: span 6; }
  .bc:nth-child(3) { grid-column: span 12; }
  .bc-wide, .bc-mon { grid-column: span 12; }
  .bc-full { flex-direction: column; align-items: stretch; }
  .bc-full .bc-txt { flex: none; }
}
@media (max-width: 680px) {
  .bc, .bc:nth-child(3) { grid-column: span 12; min-height: 0; }
  .bc-txt { padding: 22px; }
  .bc-wide { flex-direction: column; align-items: stretch; }

}

/* Destaques */
.stats-sec { padding: 10px 0 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(180deg, #fff, var(--light-2)); }
.stat { display: grid; gap: 4px; align-content: start; padding: 28px 26px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat strong { font: 600 32px/1.1 var(--barlow); color: var(--head); letter-spacing: -.01em; }
.stat b { font-size: 16px; color: #1d2a22; }
.stat span { font-size: 15px; line-height: 1.35; color: var(--txt-2); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; } .stat + .stat { border-top: 1px solid var(--border); } .stat { padding: 20px; } }

/* Fim das planilhas */
.planilhas { padding: 0 0 120px; background: var(--light-2); }
.pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 64px 56px; background: #fff; border: 1px solid #edf1ee; border-radius: 22px; }
.pl-txt { display: grid; justify-items: start; gap: 16px; }
.pl-txt .tag { margin-bottom: 0; font-size: 16px; height: 38px; padding: 0 18px; }
.pl-txt > p { font-size: 17px; line-height: 1.45; color: var(--txt-2); }
.pl-list { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 10px; }
.pl-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: #2a2e2c; }
.pl-list svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; margin-top: 1px; }
.pl-vis { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }

.pl-new { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e4e9e5; box-shadow: 0 24px 50px -24px rgb(22 48 31 / 35%); font-family: var(--noto); }
.pl-new-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #16301f; color: #fff; font: 600 15px var(--barlow); }
.pl-new-h svg { width: 18px; height: 18px; color: var(--gold); stroke-width: 2; }
.pl-row { display: flex; justify-content: space-between; gap: 8px; padding: 9px 14px; font-size: 12.5px; color: #4d5a52; border-bottom: 1px solid #eef1ee; }
.pl-row b { color: #1c2420; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-hl { background: #e6f2ea; border: 0; }
.pl-hl b { color: var(--green); font-size: 14px; }
@media (max-width: 1020px) { .pl-grid { grid-template-columns: 1fr; gap: 44px; padding: 44px 32px; } }
@media (max-width: 560px) {
  .pl-grid { padding: 28px 18px; border-radius: 16px; }
  .pl-vis { grid-template-columns: 1fr; justify-items: stretch; }

}

/* Jornada: da lavoura à gestão */
.jornada { padding: 110px 0 40px; }
.jornada .center-head .pill { margin-bottom: 8px; }
.chain { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.chain li { display: flex; align-items: center; font-size: 15px; font-weight: 500; color: #d7e0db; }
.chain li::before { content: ""; width: 26px; height: 1px; margin: 0 8px; background: linear-gradient(90deg, transparent, #4caf73); }
.chain li:first-child::before { display: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.step { position: relative; padding: 26px 24px 28px; border-radius: 14px; background: var(--card-d); border: 1px solid var(--line-d); display: grid; gap: 10px; align-content: start; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, #2f9e5f, #9ccf4a); border-radius: 0 0 2px 2px; }
.st-n { font: 600 34px/1 var(--barlow); color: transparent; -webkit-text-stroke: 1px #4caf73; letter-spacing: .02em; }
.step h3 { font: 500 21px/1.2 var(--barlow); color: #fff; }
.step p { font-size: 15.5px; line-height: 1.4; color: var(--txt-d-2); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .jornada { padding-top: 80px; } }

/* Seções escuras */
.dark { background: var(--ink); color: var(--txt-d); }
.dark h2 { font: 500 clamp(28px, 3vw, 34px)/1.2 var(--barlow); color: #fff; }
.dark .center-head > p { color: var(--txt-d-2); font-size: 19px; }

.recursos { padding: 50px 0 60px; }
.sp-top { margin-top: 110px; }

/* Segurança com arco */
.flex-sec { position: relative; padding: 140px 0; overflow: hidden; }
.arc { position: absolute; right: -380px; top: -20px; width: 1000px; height: 1000px; border-radius: 50%; background: radial-gradient(circle, rgb(28 44 36 / 55%) 0 48%, transparent 48.2%), radial-gradient(circle, transparent 0 58%, rgb(24 38 31 / 70%) 58.2% 70%, transparent 70.2%); pointer-events: none; }
.flex-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.flex-txt { display: grid; justify-items: start; gap: 18px; padding-left: 40px; max-width: 540px; }
.flex-txt h2 { font-size: clamp(28px, 3vw, 34px); }
.flex-txt p { font-size: 19px; color: var(--txt-d-3); line-height: 1.3; }
.flex-txt .pill-dark:last-child { margin-top: 8px; }
.flex-logos { position: relative; height: 480px; }
.fl { position: absolute; display: inline-flex; align-items: center; gap: 10px; font: 500 28px/1 var(--barlow); color: #dfe8e2; }
.fl svg { width: 38px; height: 38px; color: var(--green-2); stroke-width: 1.5; }
.fl1 { left: 38%; top: 6%; color: #7fd3a0; }
.fl2 { left: 12%; top: 44%; }
.fl3 { right: 0; top: 40%; }
.fl4 { left: 58%; top: 78%; }
.fl-pill { display: block; text-align: center; padding: 16px 34px; border-radius: 999px; background: var(--card-d); font: 600 22px/1.15 var(--noto); color: #fff; }
@media (max-width: 980px) {
  .flex-sec { padding: 90px 0; }
  .flex-grid { grid-template-columns: 1fr; }
  .flex-txt { padding-left: 0; }
  .flex-logos { height: 300px; }
  .fl { font-size: 22px; }
}

/* FAQ */
.faq-sec { padding: 40px 0 120px; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-head { display: grid; justify-items: start; gap: 18px; padding-left: 40px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card-d); border: 1px solid var(--line-d); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 19px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--green-2); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 22px 22px; color: var(--txt-d-2); font-size: 17px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 30px; } .faq-head { padding-left: 0; } }

/* Contato */
.cta { padding: 100px 0 120px; border-top: 1px solid var(--line-d); background: radial-gradient(50% 60% at 15% 50%, rgb(47 125 79 / 16%), transparent 70%), var(--ink); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-txt { display: grid; justify-items: start; gap: 18px; padding-left: 40px; }
.cta-txt > p { font-size: 19px; color: var(--txt-d-3); line-height: 1.3; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; font-size: 17px; color: #d7e0db; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 2.4; }
.form { display: grid; gap: 16px; padding: 32px; border-radius: 16px; background: var(--card-d); border: 1px solid var(--line-d); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 15px; font-weight: 500; color: var(--txt-d-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px var(--barlow); color: #fff; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #2c3a33; background: #121b17; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5f6c65; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgb(76 175 115 / 20%); }
.field .invalid { border-color: #ef6b5d; }
.form-err { font-size: 14px; color: #ffb4aa; background: rgb(239 107 93 / 12%); padding: 10px 12px; border-radius: 8px; }
.form-note { font-size: 14px; color: var(--txt-d-3); text-align: center; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 40px; } .cta-txt { padding-left: 0; } }
@media (max-width: 520px) { .field-2 { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* Rodapé */
.footer { background: #0a100d; color: var(--txt-d-3); border-top: 1px solid var(--line-d); }
.footer-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { display: grid; gap: 14px; max-width: 320px; font-size: 16px; }
.footer-nav { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-nav div { display: grid; gap: 10px; align-content: start; }
.footer-nav h4 { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer-nav a:hover { color: var(--green-2); }
.footer-bot { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line-d); font-size: 14px; }

/* Botão flutuante */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 10px 30px -8px rgb(0 0 0 / 55%); transition: transform .2s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; stroke-width: 1.8; }

/* Revelar ao rolar */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Ajustes de celular, novas seções da home e landing pages
   ===================================================================== */

/* Topo e menu no celular */
.topbar { transition: box-shadow .2s, background .2s; }
.topbar.rolou { box-shadow: 0 8px 24px -16px #000; background: rgb(13 20 17 / 92%); }
.nav-cta { display: none; }
@media (max-width: 980px) {
  .nav { max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; }
  .nav a { min-height: 48px; display: flex; align-items: center; }
  .nav .nav-cta { display: flex; justify-content: center; margin-top: 16px; border: 0; border-radius: 999px; background: var(--green); font-weight: 600; }
  body.menu-aberto { overflow: hidden; }
}
.fab { right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); }
@media (max-width: 380px) {
  .orbit { width: 270px; height: 270px; }
  .o2 { inset: 22px; } .o3 { inset: 54px; } .o-spin { inset: 22px; }
  .o-spin span { width: 36px; height: 36px; margin: -18px; transform: rotate(var(--a)) translateY(-112px) rotate(calc(-1 * var(--a))); }
  .o-spin span svg { width: 16px; height: 16px; }

  .hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .center-head > p, .dark .center-head > p { font-size: 17px; }
  .tag { font-size: 16px; height: 40px; }
  .faq summary { font-size: 17px; padding: 18px; }
  .faq details p { padding: 0 18px 18px; font-size: 16px; }

  .flex-logos { height: 240px; }
  .fl { font-size: 18px; } .fl svg { width: 28px; height: 28px; } .fl-pill { font-size: 17px; padding: 12px 24px; }
  .footer-nav { gap: 32px 48px; }
}

/* Formulário: seleção, consentimento e campo-isca */
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd3a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input, .field select { min-height: 48px; }
.req { color: var(--gold); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--txt-d-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green-2); }
.consent a { color: #9fdcb6; text-decoration: underline; }
.consent input.invalid { outline: 2px solid #ef6b5d; outline-offset: 2px; }
.isca { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .7; cursor: progress; }
.form h2 { font: 600 24px/1.2 var(--barlow); color: #fff; }
.form-sub { font-size: 15px; color: var(--txt-d-2); margin-top: -8px; }
.form-safe { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--txt-d-3); }
.form-safe svg { width: 15px; height: 15px; color: var(--green-2); }

/* Selo "novo" */

/* Novidades (escuro) */
.novidades { padding: 110px 0 40px; }
.nv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 52px; }
.nv { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px 24px; border-radius: 14px; background: linear-gradient(180deg, var(--card-d-2), var(--card-d)); border: 1px solid var(--line-d); }
.nv-top { display: flex; align-items: center; justify-content: space-between; }
.nv-top i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgb(76 175 115 / 12%); border: 1px solid rgb(76 175 115 / 22%); }
.nv-top svg { width: 22px; height: 22px; stroke: url(#grad-d); stroke-width: 1.7; }
.nv h3 { font: 500 21px/1.2 var(--barlow); color: #fff; }
.nv p { font-size: 15.5px; line-height: 1.45; color: var(--txt-d-2); }
.nv-big { grid-column: span 2; }
@media (max-width: 980px) { .nv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .nv-grid { grid-template-columns: 1fr; margin-top: 36px; } .nv-big { grid-column: auto; } .novidades { padding-top: 80px; } }

/* Perfis (links para as landing pages) */
.perfis { padding: 40px 0 60px; }
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.pf { display: grid; gap: 10px; align-content: start; padding: 24px 22px; border-radius: 14px; background: var(--card-d); border: 1px solid var(--line-d); transition: border-color .2s, transform .2s; }
.pf:hover { border-color: rgb(76 175 115 / 45%); transform: translateY(-3px); }
.pf i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: rgb(76 175 115 / 12%); }
.pf svg { width: 22px; height: 22px; stroke: url(#grad-d); }
.pf h3 { font: 500 20px/1.2 var(--barlow); color: #fff; }
.pf p { font-size: 15px; color: var(--txt-d-2); line-height: 1.4; }
.pf span { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 15px; font-weight: 600; color: #8fd19e; }
.pf span svg { width: 16px; height: 16px; stroke: currentColor; }
@media (max-width: 1000px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pf-grid { grid-template-columns: 1fr; } }

/* Barra fixa de ação no celular */

/* Páginas simples: confirmação, privacidade, 404 */
.simple { padding: 72px 0 96px; min-height: 60vh; }
.simple-c { max-width: 860px; margin: 0 auto; display: grid; justify-items: center; gap: 18px; text-align: center; }
.simple-c h1 { font: 600 clamp(30px, 4vw, 44px)/1.15 var(--barlow); color: #fff; }
.simple-c > p { font-size: 18px; line-height: 1.5; color: var(--txt-d-2); max-width: 680px; }
.ok-ico { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgb(76 175 115 / 14%); border: 1px solid rgb(76 175 115 / 35%); }
.ok-ico svg { width: 36px; height: 36px; color: #8fd19e; stroke-width: 2.2; }
.simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
@media (max-width: 560px) { .simple-actions .pill { flex: 1 1 100%; } .simple { padding: 48px 0 72px; } }
.simple-note { font-size: 15px; color: var(--txt-d-3); }
.next-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; width: 100%; }
.next-steps li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 14px; background: var(--card-d); border: 1px solid var(--line-d); }
.next-steps small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.next-steps b { font-size: 18px; color: #fff; font-weight: 500; }
.next-steps p { font-size: 15px; color: var(--txt-d-2); line-height: 1.4; }
@media (max-width: 760px) { .next-steps { grid-template-columns: 1fr; } }

.prose { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; color: var(--txt-d-2); font-size: 17px; line-height: 1.6; }
.prose h1 { font: 600 clamp(30px, 4vw, 40px)/1.2 var(--barlow); color: #fff; margin-bottom: 4px; }
.prose h2 { font: 500 23px/1.3 var(--barlow); color: #fff; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose a { color: #9fdcb6; text-decoration: underline; }
.prose b { color: #e6ece8; }
.prose .upd { font-size: 14px; color: var(--txt-d-3); }

.simple-note a { color: #9fdcb6; text-decoration: underline; }


/* =====================================================================
   Agropecuária Kiryu
   ===================================================================== */

.brand span { font-weight: 400; }
.brand-k { font-weight: 700; color: #fff; }
.sobre-txt { justify-items: start; }
.sobre-txt .tag { margin-bottom: -6px; }
.footer-bot a:hover { color: var(--green-2); }

/* Hero com cena do vídeo e degradê */
.hero-foto { display: flex; align-items: center; min-height: min(86vh, 760px); padding: 0; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgb(13 20 17 / 94%) 28%, rgb(13 20 17 / 62%) 52%, rgb(13 20 17 / 12%) 78%, rgb(13 20 17 / 0%) 100%),
    linear-gradient(180deg, rgb(13 20 17 / 55%) 0%, transparent 22%, transparent 68%, var(--ink) 100%);
}
.hero-foto .hero-glow { background: radial-gradient(40% 50% at 12% 40%, rgb(76 175 115 / 14%), transparent 70%); }
.hero-in { position: relative; padding-top: 72px; padding-bottom: 104px; }
.tiles-l { justify-content: flex-start; gap: 14px; margin-bottom: 30px; }
.tiles-l span { width: 50px; height: 50px; }
.hero-copy { max-width: 640px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: #d7e7dc; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 10%);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-kicker svg { width: 16px; height: 16px; color: var(--gold); }
.hero-foto h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.15; }
.hero-foto .fade-txt { background-image: linear-gradient(180deg, #e3ebe6 0%, #8a9a90 100%); }
.hero-foto .hero-sub { margin: 20px 0 0; max-width: 560px; line-height: 1.45; color: #dfe7e2; }
.hero-foto .hero-cta { justify-content: flex-start; margin-top: 36px; }
@media (max-width: 760px) {
  /* No celular a cena fica inteira no alto e o texto vem abaixo, com o degradê ligando os dois */
  .hero-foto { align-items: flex-end; min-height: 0; }
  .hero-bg { bottom: auto; height: 400px; }
  .hero-bg img { object-position: 70% 25%; }
  .hero-fade { background: linear-gradient(180deg, rgb(13 20 17 / 35%) 0, transparent 70px, transparent 200px, rgb(13 20 17 / 80%) 320px, var(--ink) 400px); }
  .hero-in { padding-top: 290px; padding-bottom: 64px; }
  .tiles-l { gap: 10px; margin-bottom: 22px; }
  .tiles-l span { width: 42px; height: 42px; }
}

/* Bento: culturas */
.cup { display: grid; justify-items: center; gap: 12px; }
.cup-steam { display: flex; align-items: flex-end; gap: 12px; height: 38px; }
.cup-steam i { width: 4px; height: 100%; border-radius: 4px; background: linear-gradient(180deg, transparent, #d8c2a6); animation: vapor 2.8s ease-in-out infinite; }
.cup-steam i:nth-child(2) { height: 80%; animation-delay: .5s; }
.cup-steam i:nth-child(3) { height: 65%; animation-delay: 1s; }
@keyframes vapor { 0%, 100% { transform: translateY(5px); opacity: .25; } 50% { transform: translateY(-5px); opacity: .95; } }
.cup-body { display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; background: linear-gradient(160deg, #f8f1e8, #ead8c2); border: 2px solid #fff; box-shadow: 0 24px 44px -22px rgb(107 58 31 / 55%); }
.cup-body svg { width: 60px; height: 60px; color: #6b3a1f; stroke-width: 1.4; }
.cup-beans { display: flex; gap: 10px; }
.cup-beans svg { width: 26px; height: 26px; color: #7a4424; stroke-width: 1.6; }
.cup-beans svg:nth-child(1) { rotate: -24deg; }
.cup-beans svg:nth-child(3) { rotate: 28deg; }

.garlic-vis { position: relative; width: 230px; height: 230px; }
.garlic-vis i { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(180deg, #f8f4ec, #ede3d0); }
.garlic-vis i:nth-child(2) { inset: 30px; background: linear-gradient(180deg, #fdfbf7, #f3ecde); border: 1px solid #fff; box-shadow: 0 20px 40px -24px rgb(120 95 50 / 40%); }
.garlic-vis span { position: absolute; inset: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 16px 36px -16px rgb(0 0 0 / 25%); }
.garlic-vis svg { width: 54px; height: 54px; color: #9a7b4a; stroke-width: 1.4; }

.bc-foto picture { position: relative; flex: 1 1 230px; min-height: 230px; }
.bc-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.bc-wide-foto .bc-txt { flex: 0 0 46%; }
.bc-side { position: absolute; inset: 0 0 0 auto; width: 58%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.bc-side img { width: 100%; height: 100%; object-fit: cover; }

.badge-do { position: relative; align-self: start; display: grid; justify-items: center; gap: 4px; margin-top: 30px; padding: 18px 28px; border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 16px 36px -16px rgb(0 0 0 / 25%); }
.badge-do svg { width: 40px; height: 40px; color: var(--gold); stroke-width: 1.5; margin-bottom: 4px; }
.badge-do b { font-size: 15px; color: #1c2420; }
.badge-do span { font-size: 13px; font-weight: 600; color: var(--green); }

.bc-full { min-height: 320px; }
.crops { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 30px; }
.crop { display: grid; justify-items: center; gap: 6px; padding: 24px 12px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, #f7fbf8, #eef7f1); border: 1px solid #e4efe7; }
.crop svg { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: #fff; stroke: url(#grad); stroke-width: 1.7; box-shadow: 0 8px 20px -12px rgb(47 125 79 / 45%); margin-bottom: 4px; }
.crop b { font-size: 17px; color: var(--head); }
.crop span { font-size: 13px; color: var(--txt-3); }

@media (max-width: 680px) {
  .bc-wide-foto .bc-txt { flex: none; }
  .bc-side { position: relative; inset: auto; width: 100%; height: 240px; -webkit-mask-image: none; mask-image: none; }
  .crops { grid-template-columns: 1fr 1fr; padding: 0 16px 22px; }
}

/* Valores com foto */
.pl-foto { display: block; position: relative; }
.pl-foto img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.pl-float { position: absolute; left: -28px; bottom: -28px; width: 280px; }
@media (max-width: 1020px) { .pl-float { left: 16px; bottom: -24px; } .pl-foto { margin-bottom: 24px; } }
@media (max-width: 560px) { .pl-float { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 12px 0; } .pl-foto { margin-bottom: 0; } }

/* Vídeo do YouTube (carrega só ao clicar) */
.video { position: relative; max-width: 960px; margin: 52px auto 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line-d); box-shadow: 0 40px 100px -40px rgb(76 175 115 / 40%); }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(13 20 17 / 10%) 40%, rgb(13 20 17 / 80%)); }
.video-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 86px; height: 86px; margin: -43px 0 0 -43px;
  border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer;
  box-shadow: 0 0 0 10px rgb(47 125 79 / 28%), 0 20px 40px -12px #000; transition: transform .2s, background .2s;
}
.video-play:hover { transform: scale(1.07); background: #276a43; }
.video-play svg { width: 32px; height: 32px; fill: currentColor; margin-left: 5px; }
.video-cap { position: absolute; left: 22px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #fff; }
.video-cap svg { color: #ff5a4f; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.on::after { display: none; }
.video-alt { display: flex; justify-content: center; margin-top: 18px; }
.video-alt a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #8fd19e; }
.video-alt svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .video { margin-top: 36px; border-radius: 14px; } .video-play { width: 68px; height: 68px; margin: -34px 0 0 -34px; } .video-play svg { width: 26px; height: 26px; } .video-cap { font-size: 13px; left: 14px; bottom: 12px; } }

/* Família e trajetória */
.pf .pf-role { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.st-n { font-size: 30px; }

/* Páginas simples: topo e rodapé reduzidos */
.lp-head .topbar-in { gap: 16px; }
.lp-head .pill { margin-left: auto; height: 44px; padding: 0 20px; font-size: 15px; }
.lp-footer .footer-in { padding-top: 40px; padding-bottom: 24px; align-items: center; }
.lp-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.lp-links a:hover { color: var(--green-2); }

/* Telas estreitas (360px): o botão do formulário quebra linha em vez de alargar o grid */
@media (max-width: 400px) { .pill-block { height: auto; min-height: 50px; padding: 12px 18px; white-space: normal; text-align: center; line-height: 1.2; } .cta-grid { grid-template-columns: minmax(0, 1fr); } }
