/* ================================================
   ZEOFERTIL Design System
   Paleta agro multinacional: verde floresta, ouro trigo, creme
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --g-deep:   #182E16;
  --g-dark:   #1E3A1A;
  --g-mid:    #27501F;
  --g-med:    #3D6B33;
  --gold:     #B8922C;
  --gold-lt:  #D4AA50;
  --cream:    #F5F0E7;
  --beige:    #EAE2CF;
  --white:    #FFFFFF;
  --tx-dark:  #1A1A18;
  --tx-mid:   #4A4948;
  --tx-light: #7A7874;
  --border:   #DDD6C4;
  --border-lt:#EDE9DF;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', -apple-system, sans-serif;
  --mw: 1200px;
  --sp: 100px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--tx-dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--sans); border: none; }

.wrap { max-width: var(--mw); margin: 0 auto; padding: 0 48px; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow.light { color: var(--gold-lt); }
.eyebrow.center { justify-content: center; }

h1, .h1 { font-family: var(--serif); font-size: clamp(36px,4.5vw,60px); font-weight: 700; line-height: 1.1; }
h2, .h2 { font-family: var(--serif); font-size: clamp(28px,3.2vw,42px); font-weight: 700; line-height: 1.15; }
h3, .h3 { font-family: var(--serif); font-size: clamp(20px,2vw,24px); font-weight: 600; line-height: 1.3; }
em { font-style: italic; }

.lead { font-size: 17px; line-height: 1.78; color: var(--tx-mid); max-width: 640px; }
.lead p + p { margin-top: 16px; }
.lead.full { max-width: none; }
.lead.light { color: rgba(255,255,255,.62); max-width: 560px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 2px; border: none;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: all .2s; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-gold  { background: var(--gold);  color: var(--white); }
.btn-gold:hover  { background: var(--gold-lt); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.06); }
.btn-green { background: var(--g-mid); color: var(--white); }
.btn-green:hover { background: var(--g-med); transform: translateY(-1px); }
.btn-ol    { background: transparent; color: var(--g-mid); border: 1.5px solid var(--g-mid); }
.btn-ol:hover  { background: var(--g-mid); color: var(--white); }

/* ── NAV ── */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999; transition: background .3s, box-shadow .3s; }
.site-nav.solid { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }

.nav-inner {
  max-width: var(--mw); margin: 0 auto; padding: 0 48px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); transition: filter .3s; }
.site-nav.solid .nav-logo img { filter: none; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 8px 14px; border-radius: 2px;
  font-size: 13px; font-weight: 500; letter-spacing: .03em;
  color: rgba(255,255,255,.82); transition: color .2s, background .2s; white-space: nowrap;
}
.site-nav.solid .nav-item > a { color: var(--tx-mid); }
.nav-item > a:hover, .nav-item.active > a { color: var(--white); background: rgba(255,255,255,.1); }
.site-nav.solid .nav-item > a:hover, .site-nav.solid .nav-item.active > a { color: var(--g-mid); background: var(--cream); }

.nav-item.has-dd > a::after {
  content: ''; display: inline-block; width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-left: 6px; margin-bottom: 2px; vertical-align: middle;
  transition: transform .2s;
}
.nav-item.has-dd:hover > a::after { transform: rotate(-135deg) translateY(-1px); }

.nav-dd {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white); border: 1px solid var(--border); border-radius: 2px;
  min-width: 210px; box-shadow: 0 8px 32px rgba(0,0,0,.1);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.nav-dd::before {
  content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px;
}
.nav-item.has-dd:hover .nav-dd { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dd a {
  display: block; padding: 12px 20px; font-size: 13px; color: var(--tx-mid);
  border-bottom: 1px solid var(--border-lt); transition: background .15s, color .15s;
}
.nav-dd a:last-child { border-bottom: none; }
.nav-dd a:hover { background: var(--cream); color: var(--g-mid); }

.nav-cta { margin-left: 8px; }
.nav-hbg { display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; border: none; }
.nav-hbg span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85); transition: background .3s; }
.site-nav.solid .nav-hbg span { background: var(--tx-dark); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 998; padding: 32px 24px;
  flex-direction: column; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 17px; color: var(--tx-dark); border-bottom: 1px solid var(--border-lt); }
.mobile-menu a:hover { color: var(--g-mid); }
.mobile-menu .mm-sub { padding-left: 20px; font-size: 14px; color: var(--tx-mid); }

/* ── HERO FULL (home) ── */
.hero-full {
  min-height: 100svh; position: relative;
  display: flex; align-items: center; overflow: visible;
  padding-block: 96px 64px;
  background: var(--g-deep);
}
.hero-full-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .12;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(118deg, rgba(18,36,16,.93) 0%, rgba(18,36,16,.72) 46%, rgba(22,44,20,.46) 100%),
    linear-gradient(180deg, rgba(18,36,16,0) 42%, rgba(18,36,16,.62) 100%);
}
.hero-grid-texture { display: none; }
.hero-full-inner {
  position: relative; z-index: 2;
  max-width: var(--mw); margin: 0 auto; padding: 0 48px;
  width: 100%; display: grid; grid-template-columns: 1fr; gap: 72px; align-items: center;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.32); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent); animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0%,100%{opacity:.3} 50%{opacity:1} }

/* Hero panel right */
.hero-panel {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  border-radius: 3px; padding: 32px; backdrop-filter: blur(4px);
}
.hero-panel-title { font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--gold-lt); margin-bottom: 24px; }
.hero-step { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); align-items: flex-start; }
.hero-step:last-child { border-bottom: none; padding-bottom: 0; }
.hero-step-n {
  width: 30px; height: 30px; background: var(--gold); border-radius: 2px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--white);
}
.hero-step h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.hero-step p  { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ── HERO BAND (inner pages) ── */
.hero-band {
  padding: 140px 0 72px; background: var(--g-deep); position: relative; overflow: visible;
}
.hero-band::before { display: none; }
.hero-band > .wrap { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 28px; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,.25); }
.breadcrumb .cur { color: var(--gold-lt); }
.hero-band h1 { color: var(--white); max-width: 660px; }
.hero-band h1 em { color: var(--gold-lt); }
.hero-band .lead.light { margin-top: 16px; }

/* ── SECTION UTILS ── */
.sec       { padding: var(--sp) 0; }
.sec-cream { background: var(--cream); }
.sec-dark  { background: var(--g-deep); }
.sec-half  { padding: 64px 0; }

.sec-header { margin-bottom: 56px; }
.sec-header.center { text-align: center; }
.sec-header.center .eyebrow { justify-content: center; }
.sec-header.center .lead { margin: 0 auto; }
.sec-header h2 { margin-bottom: 16px; }
.sec-header h2.light { color: var(--white); }
.sec-header h2.light em { color: var(--gold-lt); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col-4060 { display: grid; grid-template-columns: 2fr 3fr; gap: 80px; align-items: start; }

/* ── FEATURE CARDS (4-up) ── */
.feat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--border); }
.feat-card {
  background: var(--white); padding: 44px 30px; position: relative;
  transition: transform .3s, box-shadow .3s;
}
.feat-card:hover { transform: translateY(-4px); z-index: 1; box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.feat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--g-mid); transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.feat-card:hover::after { transform: scaleX(1); }
.feat-card img.feat-ico { width: 60px; height: 60px; object-fit: contain; margin-bottom: 24px; }
.feat-card h3 { margin-bottom: 12px; }
.feat-card p { font-size: 14px; line-height: 1.72; color: var(--tx-mid); }

/* ── PROCESS (3-step) ── */
.process-row { display: grid; grid-template-columns: repeat(3,1fr); }
.process-step { padding: 48px 40px; border-right: 1px solid var(--border); }
.process-step:last-child { border-right: none; }
.proc-num { font-family: var(--serif); font-size: 52px; font-weight: 700; color: var(--beige); line-height: 1; display: block; margin-bottom: 20px; transition: color .3s; }
.process-step:hover .proc-num { color: var(--border); }
.proc-line { width: 32px; height: 2px; background: var(--gold); margin-bottom: 20px; }

/* ── STATS ── */
.stats-band { background: var(--g-deep); padding: 80px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.08); }
.stat-box { background: var(--g-deep); padding: 44px 32px; transition: background .3s; }
.stat-box:hover { background: rgba(255,255,255,.04); }
.stat-box .n { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--gold-lt); display: block; margin-bottom: 8px; line-height: 1; }
.stat-box .l { font-size: 13px; color: rgba(255,255,255,.52); line-height: 1.5; }
.stat-box .s { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 4px; display: block; }

/* ── LOGOS GRID ── */
.logos-grid { display: grid; gap: 16px; }
.logos-grid-4 { grid-template-columns: repeat(4,1fr); }
.logos-grid-5 { grid-template-columns: repeat(5,1fr); }
.logos-grid-6 { grid-template-columns: repeat(3,1fr); }
.logo-cell {
  background: var(--white); display: flex; align-items: center; justify-content: center;
  padding: 44px 40px; transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--border-lt); border-radius: 4px; position: relative;
}
.logo-cell:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); z-index: 1; }
.logos-grid-4 .logo-cell img {
  max-width: 180px; max-height: 80px; object-fit: contain; transition: transform .3s;
}
.logos-grid-6 .logo-cell img {
  max-width: 220px; max-height: 100px; object-fit: contain; transition: transform .3s;
}
.logo-cell:hover img { transform: scale(1.05); }

/* ── DIVIDER LABEL ── */
.div-lbl { position: relative; text-align: center; margin: 48px 0; }
.div-lbl::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.div-lbl span { position: relative; background: var(--white); padding: 0 20px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-light); }
.sec-cream .div-lbl span { background: var(--cream); }

/* ── CTA BANNER ── */
.cta-ban { background: linear-gradient(to right, var(--g-deep), var(--g-mid)); padding: 80px 0; position: relative; overflow: hidden; }
.cta-ban::after { content: ''; position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; pointer-events: none; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 48px; position: relative; z-index: 1; }
.cta-row h2 { color: var(--white); max-width: 560px; }
.cta-row h2 em { color: var(--gold-lt); }
.cta-aside { flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cta-note { font-size: 12px; color: rgba(255,255,255,.38); }

/* ── SERVICE CARDS (2 up) ── */
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }
.svc-card { background: var(--white); padding: 56px 48px; }
.svc-card:hover { background: var(--cream); }
.svc-card img.svc-ico { width: 64px; height: 64px; object-fit: contain; margin-bottom: 28px; }
.svc-card h3 { margin-bottom: 14px; }
.svc-card p { font-size: 15px; line-height: 1.75; color: var(--tx-mid); }

/* ── ROADMAP (4-step) ── */
.roadmap-row {
  display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
  gap: 0; align-items: stretch;
}
.roadmap-arrow {
  display: flex; align-items: flex-start; padding-top: 32px; justify-content: center;
}
.roadmap-arrow img { width: 28px; opacity: .5; }
.rm-step { padding: 36px 32px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 3px; }
.rm-step img.rm-ico { width: 52px; height: 52px; object-fit: contain; margin-bottom: 20px; }
.rm-step-n { font-family: var(--serif); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 12px; display: block; }
.rm-step h3 { color: var(--white); font-size: 18px; margin-bottom: 16px; }
.rm-step ul { display: flex; flex-direction: column; gap: 8px; }
.rm-step li { font-size: 13px; color: rgba(255,255,255,.55); }

/* ── BENEFITS (6-up) ── */
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); }
.benefit-card { background: var(--white); padding: 40px 36px; transition: background .2s; }
.benefit-card:hover { background: var(--cream); }
.benefit-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--g-mid); color: var(--white); border-radius: 2px; font-size: 14px; font-weight: 700; font-family: var(--serif); margin-bottom: 20px; }
.benefit-card h3 { font-size: 17px; margin-bottom: 12px; }
.benefit-card p { font-size: 14px; line-height: 1.72; color: var(--tx-mid); }

/* ── TRL BARS (cases page) ── */
.case-card { padding: 48px; background: var(--white); border: 1px solid var(--border); border-radius: 2px; }
.case-card + .case-card { margin-top: 24px; }
.case-tag { display: inline-block; padding: 4px 12px; background: var(--cream); border-radius: 2px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g-mid); margin-bottom: 20px; }
.trl-label { font-size: 12px; font-weight: 600; color: var(--tx-light); margin-bottom: 8px; display: flex; justify-content: space-between; }
.trl-bar { height: 6px; background: var(--beige); border-radius: 3px; overflow: hidden; margin-bottom: 24px; }
.trl-fill { height: 100%; background: linear-gradient(to right, var(--g-mid), var(--g-med)); border-radius: 3px; transition: width .8s ease; }
.case-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.case-tag-sm { padding: 5px 12px; background: var(--cream); border-radius: 20px; font-size: 12px; color: var(--g-mid); font-weight: 500; }

/* cases page grids — desktop defaults (inline grid-template-columns removed in HTML) */
.case-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.case-grid > * { min-width: 0; }
.trl-overview { grid-template-columns: repeat(3, minmax(0,1fr)); }
.case-kb-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.trl-scale { gap: 8px; flex-wrap: wrap; }
.trl-scale > span { white-space: nowrap; }

/* ── TIMELINE (historia) ── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding: 0 0 48px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -8px; top: 4px; width: 18px; height: 18px; background: var(--white); border: 2px solid var(--g-mid); border-radius: 50%; }
.tl-year { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--g-mid); display: block; margin-bottom: 8px; }
.tl-item h3 { font-size: 18px; margin-bottom: 8px; }
.tl-item p { font-size: 15px; color: var(--tx-mid); line-height: 1.6; }

/* ── TEAM CARDS ── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: var(--beige); margin-bottom: 20px; }
.team-photo-wrap { position: relative; overflow: hidden; border-radius: 2px; margin-bottom: 20px; }
.team-photo-wrap img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; transition: transform .4s; }
.team-photo-wrap:hover img { transform: scale(1.04); }
.team-name { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* ── AWARDS CARD ── */
.award-list { display: flex; flex-direction: column; gap: 2px; }
.award-item { display: grid; grid-template-columns: 160px 1fr; gap: 0; background: var(--white); border: 1px solid var(--border); transition: border-color .2s; }
.award-item:hover { border-color: var(--g-mid); }
.award-logo-box { display: flex; align-items: center; justify-content: center; padding: 32px 24px; border-right: 1px solid var(--border); background: var(--cream); }
.award-logo-box img { max-width: 130px; max-height: 56px; object-fit: contain; transition: transform .3s; }
.award-item:hover .award-logo-box img { transform: scale(1.05); }
.award-body { padding: 32px 40px; }
.award-country { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.award-body h3 { font-size: 20px; margin-bottom: 10px; }
.award-body p { font-size: 14px; color: var(--tx-mid); line-height: 1.65; }

/* ── PREMIOS PAGE (desktop base; collapses in @media) ── */
.pr-stats { grid-template-columns: repeat(4,1fr); }
.pr-accel { grid-template-columns: repeat(2,1fr); }
.pr-accel-card { grid-template-columns: 120px 1fr; padding: 48px; }
.pr-accel-card > * { min-width: 0; }
.pr-event-card { grid-template-columns: 1fr 2fr; }
.pr-event-card > * { min-width: 0; }
.pr-event-cell { padding: 40px; }

/* ── SUSTAINABILITY ODS ── */
.ods-grid { display: grid; grid-template-columns: repeat(8,1fr); gap: 12px; margin-top: 48px; }
.ods-item { display: flex; flex-direction: column; gap: 8px; }
.ods-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; transition: transform .3s; }
.ods-item:hover img { transform: scale(1.04); }

/* sustainability "Sete pilares" rows — 64px icon + text (cols/gap via CSS, not inline) */
.sus-pillar { grid-template-columns: 64px minmax(0,1fr); gap: 28px; }
.sus-pillar > * { min-width: 0; }

.ods-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.ods-goal { display: flex; gap: 16px; align-items: flex-start; }
.ods-num { width: 36px; height: 36px; background: var(--g-mid); color: var(--white); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.ods-goal p { font-size: 14px; color: var(--tx-mid); line-height: 1.6; }

/* ── CONTACT FORM ── */
.cf { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-mid); }
.fg input, .fg textarea, .fg select {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 2px;
  font-family: var(--sans); font-size: 15px; color: var(--tx-dark);
  background: var(--white); outline: none; transition: border-color .2s; appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--tx-light); }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--g-mid); }
.fg textarea { min-height: 140px; resize: vertical; }

/* ── FOOTER ── */
.site-footer { background: #101A0F; padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand img { height: 32px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1) opacity(.7); }
.footer-brand p { font-size: 13px; line-height: 1.72; color: rgba(255,255,255,.35); max-width: 260px; }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,.48); transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; }
.footer-bot p { font-size: 12px; color: rgba(255,255,255,.22); }
.footer-soc { display: flex; gap: 8px; }
.footer-soc a { width: 32px; height: 32px; background: rgba(255,255,255,.07); border-radius: 2px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-soc a:hover { background: rgba(255,255,255,.14); }
.footer-soc svg { width: 13px; height: 13px; fill: rgba(255,255,255,.45); }

/* ── LANG TOGGLE ── */
.lang-toggle {
  display: inline-flex; gap: 4px; background: var(--beige); border-radius: 40px;
  padding: 4px;
}
.lang-btn {
  padding: 8px 20px; border-radius: 36px; font-size: 12px; font-weight: 600;
  letter-spacing: .06em; cursor: pointer; border: none; background: transparent;
  color: var(--tx-mid); transition: all .2s; display: flex; align-items: center; gap: 6px;
  font-family: var(--sans);
}
.lang-btn.active { background: var(--white); color: var(--g-mid); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.lang-btn .flag { font-size: 16px; }

/* ── SCHEME / ABOUT SECTION ── */
.scheme-about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.scheme-img-col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.scheme-img-wrap {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 6px; overflow: hidden;
  background: var(--white); border: 1px solid var(--border-lt);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  display: grid; padding: 12px;
}
.scheme-img {
  grid-area: 1/1; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  opacity: 0; transition: opacity .65s ease;
}
.scheme-img.active { opacity: 1; }
.scheme-text-block { display: none; }
.scheme-text-block.active { display: block; }

/* ── VIDEO SECTION ── */
.video-section { padding: var(--sp) 0; background: var(--white); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.video-card {
  background: var(--g-deep); border: 3px solid var(--g-mid);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(24,46,22,.18); transition: transform .3s, box-shadow .3s;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(24,46,22,.24); }
.video-lang-header {
  padding: 14px 20px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.video-lang-flag { font-size: 22px; line-height: 1; }
.video-lang-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-lt); }
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000;
  cursor: pointer;
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-thumb {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: filter .3s;
}
.video-wrap:hover .video-thumb { filter: brightness(.8); }
.play-overlay {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transition: transform .2s, background .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.video-wrap:hover .play-overlay { transform: translate(-50%,-50%) scale(1.12); background: #ff0000; }
.video-card-footer {
  padding: 16px 20px; display: flex; align-items: center; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.yt-watch-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 40px; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.75); transition: all .2s;
  text-decoration: none;
}
.yt-watch-btn:hover { background: rgba(255,255,255,.15); color: var(--white); }
.yt-watch-btn svg { flex-shrink: 0; }

/* ── STAT BOX HIGHLIGHT ── */
.stat-box--highlight { border-left: 2px solid var(--gold); }

/* ── NANOMATERIAL GRID (servicos) ── */
.nano-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.nano-grid > * { min-width: 0; }

/* ── FEAT CARD SVG ICON ── */
.feat-ico-svg {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--g-deep), var(--g-mid));
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

/* ── FADE ANIMATION ── */
.fu { opacity: 0; transform: translateY(24px); transition: opacity .65s, transform .65s; }
.fu.in { opacity: 1; transform: translateY(0); }
.fu:nth-child(2) { transition-delay: .1s; }
.fu:nth-child(3) { transition-delay: .2s; }
.fu:nth-child(4) { transition-delay: .3s; }
.fu:nth-child(5) { transition-delay: .4s; }
.fu:nth-child(6) { transition-delay: .5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-full-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col-4060 { grid-template-columns: minmax(0,1fr); gap: 48px; }
  .scheme-about-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .scheme-about-grid > * { min-width: 0; }
  .scheme-img-col { width: 100%; }
  .scheme-img-wrap { min-height: 320px; }
  .process-row { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .logos-grid-4 { grid-template-columns: repeat(2,1fr); }
  .logos-grid-5 { grid-template-columns: repeat(3,1fr); }
  .logos-grid-6 { grid-template-columns: repeat(2,1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .case-kb-grid { grid-template-columns: 1fr 1fr; }
  .case-card { padding: 40px; }
  .roadmap-row { grid-template-columns: 1fr; gap: 12px; }
  .roadmap-arrow { display: none; }
  .nano-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .ods-grid { grid-template-columns: repeat(4,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .award-item { grid-template-columns: 1fr; }
  .award-logo-box { border-right: none; border-bottom: 1px solid var(--border); padding: 24px; }
  .pr-stats { grid-template-columns: 1fr 1fr; }
  .pr-accel { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --sp: 64px; }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-menu { display: none; }
  .nav-hbg { display: flex; }
  .feat-grid { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .trl-overview { grid-template-columns: 1fr; }
  .case-kb-grid { grid-template-columns: 1fr; }
  .case-card { padding: 28px 20px; }
  .case-grid { gap: 32px; }
  .ods-goals { grid-template-columns: 1fr; }
  .ods-grid { grid-template-columns: repeat(4,1fr); }
  .sus-pillar { gap: 18px; padding: 28px 22px; }
  .stats-row { grid-template-columns: 1fr; }
  .logos-grid-4, .logos-grid-6 { grid-template-columns: 1fr 1fr; }
  .logos-grid-4 .logo-cell img { max-width: 130px; max-height: 60px; }
  .logos-grid-6 .logo-cell img { max-width: 160px; max-height: 72px; }
  .logo-cell { padding: 28px 16px; }
  .scheme-about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-aside { align-items: center; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bot { flex-direction: column; gap: 16px; text-align: center; }
  .hero-band { padding: 120px 0 60px; }
  .pr-stats { grid-template-columns: 1fr; }
  .pr-accel-card { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; text-align: center; }
  .pr-accel-card > div:first-child { justify-content: center; }
  .pr-event-card { grid-template-columns: 1fr; }
  .pr-event-cell { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .logos-grid-5 { grid-template-columns: 1fr 1fr; }
  .logos-grid-5 .logo-cell img { max-width: 130px; max-height: 60px; }
  .nav-inner { gap: 16px; }
  .hero-full-inner { gap: 40px; }
  .cta-row h2 { text-align: center; }
}

/* ── CASES HERO (texto + mídia) ── */
.cases-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,440px); gap: 56px; align-items: center; }
.cases-hero-grid > * { min-width: 0; }
.cases-hero-media { display: flex; flex-direction: column; gap: 16px; }
.cases-hero-media img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
@media (max-width: 1024px) {
  .cases-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cases-hero-media { flex-direction: row; }
  .cases-hero-media img { aspect-ratio: 4/3; }
}
@media (max-width: 480px) {
  .cases-hero-media { flex-direction: column; }
  .cases-hero-media img { aspect-ratio: 16/9; }
}



/* =========================================
   MODAL B2B - GAMIFIED MULTINATIONAL UX
   ========================================= */
body.modal-open { overflow: hidden; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(24, 46, 22, 0.6);
  backdrop-filter: blur(12px) saturate(120%); display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; padding: 20px;
}
.modal-backdrop.active { opacity: 1; visibility: visible; }

.sector-modal {
  background: var(--white); width: 100%; max-width: 900px; border-radius: 24px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden; transform: translateY(40px) scale(0.95); opacity: 0;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s ease;
  position: relative;
}
.sector-modal::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--g-mid));
}
.modal-backdrop.active .sector-modal { transform: translateY(0) scale(1); opacity: 1; }

.modal-header { text-align: center; padding: 50px 40px 30px; position: relative; }
.modal-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 12px; display: block;}
.modal-title { font-family: var(--serif); font-size: 2.6rem; margin-bottom: 16px; color: var(--g-deep); line-height: 1.1; }
.modal-subtitle { color: var(--tx-mid); font-size: 1.1rem; margin: 0 auto; max-width: 550px; line-height: 1.6; }

.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 0 50px 50px; }

/* The Gamified Card */
.sector-card {
  appearance: none; background: #ffffff; border: 1.5px solid var(--border-lt); border-radius: 16px;
  padding: 40px 32px; cursor: pointer; transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1); position: relative;
  display: flex; flex-direction: column; text-align: center; font-family: inherit; outline: none;
  overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Hover Effects (Gamification) */
.sector-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px; opacity: 0; transition: opacity 0.4s ease;
  box-shadow: inset 0 0 0 2px transparent; z-index: 1; pointer-events: none;
}
.sector-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 25px 50px -12px rgba(24, 46, 22, 0.15); border-color: transparent; }

.sector-card.industry:hover::after { box-shadow: inset 0 0 0 2px var(--gold); opacity: 1; }
.sector-card.agro:hover::after { box-shadow: inset 0 0 0 2px var(--g-mid); opacity: 1; }

.sector-card.industry.selected { border-color: var(--gold); background: #fcfbf8; transform: scale(0.98); box-shadow: 0 0 0 4px rgba(184, 146, 44, 0.2); }
.sector-card.agro.selected { border-color: var(--g-mid); background: #f4f7f4; transform: scale(0.98); box-shadow: 0 0 0 4px rgba(39, 80, 31, 0.2); }

.card-icon {
  width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  position: relative; z-index: 2;
}
/* Icon bounce on hover */
.sector-card:hover .card-icon { transform: translateY(-8px) scale(1.1); }

.industry .card-icon { background: #fcfbf8; color: var(--gold); box-shadow: 0 10px 25px -5px rgba(184, 146, 44, 0.2); }
.industry:hover .card-icon, .industry.selected .card-icon { background: var(--gold); color: #fff; box-shadow: 0 15px 35px -5px rgba(184, 146, 44, 0.4); }

.agro .card-icon { background: #f4f7f4; color: var(--g-mid); box-shadow: 0 10px 25px -5px rgba(39, 80, 31, 0.2); }
.agro:hover .card-icon, .agro.selected .card-icon { background: var(--g-mid); color: #fff; box-shadow: 0 15px 35px -5px rgba(39, 80, 31, 0.4); }

.card-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; color: var(--g-deep); position: relative; z-index: 2; }
.card-desc { color: var(--tx-mid); font-size: 1rem; margin-bottom: 32px; flex-grow: 1; line-height: 1.6; position: relative; z-index: 2; }

.btn-action {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  padding: 14px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; position: relative; z-index: 2;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.industry .btn-action { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.industry:hover .btn-action, .industry.selected .btn-action { background: var(--gold); color: #fff; }

.agro .btn-action { background: transparent; color: var(--g-mid); border: 1px solid var(--g-mid); }
.agro:hover .btn-action, .agro.selected .btn-action { background: var(--g-mid); color: #fff; }

.sector-card.dimmed { opacity: 0.3; pointer-events: none; transform: scale(0.92); filter: blur(2px) grayscale(80%); }

.feedback-wrapper {
  position: absolute; inset: 0; border-radius: 16px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; z-index: 10;
  backdrop-filter: blur(4px);
}
.industry .feedback-wrapper { background-color: rgba(252, 251, 248, 0.95); }
.agro .feedback-wrapper { background-color: rgba(244, 247, 244, 0.95); }
.sector-card.selected .feedback-wrapper { opacity: 1; }

.success-check {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transform: scale(0); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.industry .success-check { background: var(--gold); color: #fff; box-shadow: 0 10px 30px rgba(184, 146, 44, 0.4); }
.agro .success-check { background: var(--g-mid); color: #fff; box-shadow: 0 10px 30px rgba(39, 80, 31, 0.4); }
.sector-card.selected .success-check { transform: scale(1); }

.feedback-text { font-weight: 700; font-size: 1.2rem; transform: translateY(10px); opacity: 0; transition: all 0.5s ease 0.1s; }
.sector-card.selected .feedback-text { transform: translateY(0); opacity: 1; }
.industry.selected .feedback-text { color: var(--gold); }
.agro.selected .feedback-text { color: var(--g-mid); }

/* Responsive Fixes for Tablets and Mobile */
@media (max-width: 992px) {
  .sector-grid { gap: 20px; padding: 0 32px 40px; }
  .sector-card { padding: 32px 24px; }
  .card-title { font-size: 1.4rem; }
}

@media (max-width: 768px) {
  .modal-backdrop { 
    align-items: flex-start; /* Prevents cutoff on small height devices */
    overflow-y: auto; 
    padding: 24px 16px;
  }
  .sector-modal { 
    margin: auto; /* Centers the modal inside the scrollable flex-start container */
  }
  .modal-header { padding: 32px 20px 16px; }
  .modal-title { font-size: 1.8rem; margin-bottom: 8px; }
  .modal-subtitle { font-size: 1rem; }
  
  .sector-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 20px 32px; }
  .sector-card { padding: 24px 20px; }
  
  .card-icon { width: 56px; height: 56px; margin: 0 auto 16px; }
  .card-icon svg { width: 28px; height: 28px; }
  .card-title { font-size: 1.3rem; margin-bottom: 8px; }
  .card-desc { font-size: 0.95rem; margin-bottom: 20px; }
  .btn-action { padding: 12px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .modal-backdrop { padding: 16px 12px; }
  .modal-header { padding: 24px 16px 16px; }
  .modal-title { font-size: 1.6rem; }
  .sector-grid { gap: 12px; padding: 0 16px 24px; }
  .sector-card { padding: 20px 16px; }
  
  .card-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .card-icon svg { width: 24px; height: 24px; }
  .card-title { font-size: 1.2rem; }
  .card-desc { font-size: 0.9rem; margin-bottom: 16px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
