/* Marca iGreen (site oficial, nov/2026): preto #030603, verde #18FF00, tinta #F2FFF0, Poppins + Inter.
   O verde neon só aparece sobre fundo escuro; no claro, o verde de texto é --forest. */
:root {
  --night: #030603;
  --night-2: #0a140a;
  --neon: #18ff00;
  --mint: #f2fff0;
  --mint-dim: rgba(232, 255, 228, .72);
  --forest: #0b6118;
  --paper: #f6f8f3;
  --card: #ffffff;
  --text: #121a11;
  --muted: #4f5b4d;
  --line: #dde4d8;
  --error: #b42318;
  --r-lg: 20px;
  --r-md: 12px;
  --gutter: 20px;
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.55; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 6vw, 2.6rem); }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--neon); color: var(--night); }
input, select { caret-color: var(--forest); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
section { scroll-margin-top: 72px; }


/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; font: 600 1.02rem/1 var(--head); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--neon); color: var(--night); }
.btn-primary:hover { background: #4dff3a; }
.btn-dark { background: var(--night); color: var(--mint); }
.btn-dark:hover { background: #18241a; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; }

/* topo */
.topbar { position: absolute; inset: 0 0 auto; z-index: 5; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-logo { height: 28px; width: auto; }
.brand-logo + .brand-word { display: none; }
.brand-word { font: 700 1.25rem/1 var(--head); color: var(--mint); letter-spacing: -.03em; }
.brand-word span { font-weight: 500; color: var(--neon); margin-left: 3px; }
.topbar-who { display: none; font-size: .85rem; color: var(--mint); text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* 1. abertura */
.hero { position: relative; background: var(--night); color: var(--mint); padding: 96px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,6,3,.72) 0%, rgba(3,6,3,.38) 18%, rgba(3,6,3,.72) 42%, rgba(3,6,3,.94) 62%, var(--night) 80%); }
.hero-grid { position: relative; display: grid; gap: 32px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.15rem, 9.4vw, 3.9rem); font-weight: 700; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--neon); }
.hero-lead { margin-top: 16px; font-size: 1.06rem; color: var(--mint-dim); max-width: 34ch; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; font-size: .94rem; color: var(--mint-dim); }
.hero-proof strong { color: var(--mint); font-weight: 600; }

/* formulário */
.form-card { background: var(--card); color: var(--text); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); scroll-margin-top: 16px; }
.form-who { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.form-who p { font-size: .94rem; color: var(--muted); }
.form-who strong { color: var(--text); font-weight: 600; }
.avatar { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--night); color: var(--neon); font: 700 1rem/1 var(--head); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.form-head h2 { font-size: 1.45rem; }
.form-head p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
form { display: grid; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: .88rem; font-weight: 600; padding: 0; margin-bottom: 6px; }
input, select { font: inherit; font-size: 16px; width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--text); transition: border-color .15s; }
input::placeholder { color: #687266; }
input:focus, select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(11,97,24,.15); }
.row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.chips span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--r-md); font-size: .92rem; font-weight: 500; cursor: pointer; transition: border-color .15s, background-color .15s; }
.chips input:checked + span { border-color: var(--forest); background: #ecf6e9; color: var(--forest); font-weight: 600; }
.chips input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; flex: none; accent-color: var(--forest); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.error { color: var(--error); font-size: .94rem; font-weight: 500; }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--error); font-size: .9rem; font-weight: 500; margin-top: 2px; }
.field-error::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--error) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7M12 17.5v.01'/%3E%3C/svg%3E") center/12px no-repeat; }
.field-error[hidden] { display: none; }
[aria-invalid=true] { border-color: var(--error) !important; }
.chips[aria-invalid=true] span { border-color: var(--error); }
.consent + .field-error { margin-top: -8px; }
.form-card .btn { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.form-foot { font-size: .9rem; color: var(--muted); text-align: center; margin-top: -6px; }
.success { text-align: center; padding: 28px 4px 12px; }
.success-mark { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--neon); color: var(--night); }
.success h2:focus { outline: none; }
#success-fone { white-space: nowrap; }
.link-btn { margin-top: 18px; min-height: 44px; padding: 0 8px; background: none; border: 0; font: 500 .94rem/1 var(--body); color: var(--forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.success h2 { font-size: 1.5rem; }
.success p { margin-top: 8px; }
.success-tip { color: var(--muted); font-size: .94rem; }

/* 2. calculadora */
.calc { background: var(--paper); padding: 56px 0; }
.calc-inner { display: grid; gap: 24px; }
.calc-intro { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }
.calc-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; }
.calc-label { display: block; font-size: 1rem; color: var(--muted); }
.calc-label output { font: 600 1.15rem/1 var(--head); color: var(--text); }
input[type=range] { -webkit-appearance: none; appearance: none; min-height: 0; height: 44px; padding: 0; border: 0; margin: 12px 0 8px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--forest) var(--fill, 16%), var(--line) var(--fill, 16%)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--forest); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--night); border: 4px solid var(--neon); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--night); border: 4px solid var(--neon); }
input[type=range]:focus { box-shadow: none; }
input[type=range]:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; border-radius: 8px; }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.calc-result > div { background: var(--night); color: var(--mint); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.calc-num { font: 700 clamp(1.5rem, 7vw, 2.2rem)/1 var(--head); color: var(--neon); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-cap { font-size: .88rem; color: var(--mint-dim); }
.calc-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.calc-cta { width: 100%; margin-top: 18px; }

/* 3. fazenda */
.farm { background: var(--card); padding-bottom: 64px; }
.farm-photo { margin: 0; position: relative; }
.farm-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.farm-photo figcaption { position: absolute; left: var(--gutter); bottom: 12px; font-size: .82rem; color: #fff; background: rgba(3,6,3,.55); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(4px); }
.farm-body { padding-top: 40px; }
.farm-lead { margin-top: 14px; font-size: 1.05rem; color: var(--muted); max-width: 60ch; }
.flow { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; position: relative; padding-bottom: 24px; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(var(--neon), var(--forest)); opacity: .5; }
.flow-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--neon); position: relative; z-index: 1; }
.flow-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow h3 { padding-top: 10px; }
.flow p { margin-top: 4px; color: var(--muted); }

/* 4. casa */
.home { padding: 64px 0; }
.home-grid { display: grid; gap: 28px; }
.home-photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.home-lead { margin-top: 14px; font-size: 1.05rem; color: var(--muted); }
.facts { margin: 24px 0 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* 5. Edson */
.edson { background: var(--card); padding: 64px 0; border-top: 1px solid var(--line); }
.edson-grid { display: grid; gap: 24px; }
.edson-photo { position: relative; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; background: var(--night); }
.edson-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.edson-initial { position: absolute; inset: 0; display: grid; place-items: center; font: 700 3rem/1 var(--head); color: var(--neon); }
.edson h2 { margin-bottom: 16px; }
.edson p + p { margin-top: 12px; }
.edson p { color: var(--muted); font-size: 1.04rem; max-width: 56ch; }

/* 6. passos */
.steps-sec { padding: 64px 0; }
.timeline { list-style: none; counter-reset: s; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; }
.timeline li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px 18px 64px; position: relative; }
.timeline li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: #ecf6e9; color: var(--forest); display: grid; place-items: center; font: 700 .9rem/1 var(--head); }
.timeline p { margin-top: 4px; color: var(--muted); font-size: .96rem; }
.steps-sec .btn { width: 100%; }

/* 7. mais da iGreen */
.more { background: var(--night); color: var(--mint); padding: 64px 0 48px; }
.more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.more-lead { margin-top: 12px; color: var(--mint-dim); max-width: 46ch; }
.more-nav { display: none; gap: 8px; }
.nav-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(232,255,228,.25); background: transparent; color: var(--mint); cursor: pointer; transition: background-color .15s, border-color .15s; }
.nav-btn:hover { background: rgba(232,255,228,.08); border-color: var(--neon); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 28px var(--gutter) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline: 2px solid var(--neon); outline-offset: -2px; }
.card { scroll-snap-align: start; background: var(--night-2); border: 1px solid rgba(232,255,228,.1); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px; }
.card-tag { font: 500 .88rem/1 var(--head); color: var(--neon); letter-spacing: .03em; margin-bottom: 8px; }
.card-body p:not(.card-tag) { margin-top: 6px; font-size: .96rem; color: var(--mint-dim); }
.rail-count { margin-top: 12px; font-size: .9rem; color: var(--mint-dim); font-variant-numeric: tabular-nums; }

/* 8. dúvidas */
.faq { padding: 64px 0; }
.faq-list { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 4px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--forest), var(--forest)) center/16px 2px no-repeat, linear-gradient(var(--forest), var(--forest)) center/2px 16px no-repeat; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* 9. fecho */
.closing { position: relative; background: var(--night); color: var(--mint); padding: 80px 0; overflow: hidden; text-align: center; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.closing-inner { position: relative; display: grid; gap: 24px; justify-items: center; }
.closing h2 { max-width: 16ch; }

.footer { background: var(--night); color: var(--mint-dim); font-size: .9rem; padding: 24px 0 104px; border-top: 1px solid rgba(232,255,228,.1); }
.footer-inner { display: grid; gap: 6px; }
.footer a { color: var(--mint); }

/* botão fixo no celular */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--neon); color: var(--night); font: 600 1rem/1 var(--head); text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: opacity .2s, transform .2s; }
.sticky-cta.hide { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* telas maiores */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .topbar-who { display: block; }
  .rail { grid-auto-columns: 46%; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .steps-sec .btn { width: auto; }
}
@media (min-width: 900px) {
  .topbar-who { font-size: .85rem; }
  .hero { padding: 120px 0 0; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(3,6,3,.92) 0%, rgba(3,6,3,.7) 45%, rgba(3,6,3,.35) 100%), linear-gradient(0deg, var(--night) 0%, transparent 30%); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding-bottom: 88px; }
  .form-card { padding: 32px; }
  .calc { padding: 88px 0; }
  .calc-inner { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 48px; }
  .farm { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 0; }
  .farm-photo img { height: 100%; aspect-ratio: auto; min-height: 560px; }
  .farm-body { padding: 72px 56px 72px 56px; margin: 0; max-width: 620px; }
  .home, .edson, .steps-sec, .faq { padding: 96px 0; }
  .home-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .edson-grid { grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
  .edson-photo { width: 200px; height: 200px; }
  .calc-cta { width: auto; }
  .more { padding: 96px 0 72px; }
  .more-nav { display: flex; }
  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 3.3); gap: 16px; padding-left: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); scroll-padding-left: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }
  .faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
  .faq-list { margin-top: 0; }
  .closing { padding: 120px 0; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 32px; }
  .footer-inner { display: flex; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
