/* ==========================================================================
   AgroEye — folha de estilo única (substitui Tailwind + shadcn/ui)
   Paleta original do projeto:
   dark #2F5D1F | green #6FA83A | hover #4D7A24 | lime #B8D94A
   bg   #F4F7F2 | text  #1E1E1E
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --agri-dark: #2F5D1F;
  --agri-green: #6FA83A;
  --agri-hover: #4D7A24;
  --agri-lime: #B8D94A;
  --agri-bg: #F4F7F2;
  --agri-text: #1E1E1E;

  --muted: #667066;
  --border: #e3e8e0;
  --radius: 0.75rem;

  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --red-bg: #fef2f2;   --red-fg: #dc2626;   --red-br: #fecaca;
  --amber-bg: #fffbeb; --amber-fg: #b45309; --amber-br: #fde68a;
  --blue-bg: #eff6ff;  --blue-fg: #2563eb;  --blue-br: #bfdbfe;
  --orange-bg: #fff7ed;--orange-fg: #ea580c;--orange-br: #fed7aa;
  --purple-bg: #faf5ff;--purple-fg: #7e22ce;--purple-br: #e9d5ff;
  --slate-bg: #f1f5f9; --slate-fg: #334155; --slate-br: #cbd5e1;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--agri-text);
  background: #0d1f0a;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--agri-lime); outline-offset: 2px; }

/* ------------------------------------------------------------- ícones */
/* Tamanho padrão dos ícones Lucide; cada contexto ajusta quando precisa. */
svg.lucide, [data-lucide] { width: 1rem; height: 1rem; flex-shrink: 0; }
.feature .icon svg, .stat-icon svg, .alert-icon svg, .icon-box svg { width: 1.25rem; height: 1.25rem; }
.feature .icon svg { width: 1.5rem; height: 1.5rem; }
.empty-state .icon svg { width: 2rem; height: 2rem; }
.upload-box svg { width: 2rem; height: 2rem; color: rgba(111,168,58,.5); }
.pill svg { width: .875rem; height: .875rem; }
.section-title svg { width: 1.125rem; height: 1.125rem; }

/* --------------------------------------------------------- fundo animado */
#agri-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
}

/* -------------------------------------------------------- cursor custom */
body.custom-cursor, body.custom-cursor * { cursor: none !important; }

#cursor-dot, #cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform;
}
#cursor-dot { z-index: 9999; }
#cursor-ring { z-index: 9998; }
#cursor-dot span {
  display: block; width: 12px; height: 12px; border-radius: 999px;
  background: var(--agri-green);
  box-shadow: 0 0 8px var(--agri-green), 0 0 16px rgba(111,168,58,.38);
  transition: transform .1s ease;
}
#cursor-ring span {
  display: block; width: 32px; height: 32px; border-radius: 999px;
  border: 2px solid rgba(111,168,58,.6);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.cursor-down #cursor-dot span {
  background: var(--agri-lime); transform: scale(1.6);
  box-shadow: 0 0 12px var(--agri-lime), 0 0 24px rgba(184,217,74,.5);
}
body.cursor-down #cursor-ring span {
  border-color: var(--agri-lime); transform: scale(1.5);
  box-shadow: 0 0 16px rgba(184,217,74,.38);
}
.cursor-ripple {
  position: fixed; z-index: 9997; width: 40px; height: 40px; border-radius: 999px;
  border: 2px solid var(--agri-lime); pointer-events: none;
  animation: cursor-ripple .7s ease-out forwards;
}
@keyframes cursor-ripple {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(4); opacity: 0; }
}

/* ------------------------------------------------------------- estrutura */
.shell { min-height: 100vh; position: relative; }
.container {
  max-width: 80rem; margin: 0 auto; padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.page-main { position: relative; z-index: 10; padding-block: 1.5rem 2.5rem; }
@media (min-width: 640px) { .page-main { padding-block: 2rem 3rem; } }

.stack { display: flex; flex-direction: column; gap: 1.5rem; }

/* ---------------------------------------------------------------- navbar */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(47, 93, 31, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; height: 4rem;
}
.brand { display: flex; align-items: center; gap: .5rem; }
.brand img { height: 2.25rem; width: auto; mix-blend-mode: screen; }
.brand span {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem;
  letter-spacing: -.02em; color: var(--agri-lime);
}
.nav-links { display: none; align-items: center; gap: .25rem; }
.nav-actions { display: none; align-items: center; gap: .5rem; }
@media (min-width: 768px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle { display: none !important; }
}
.nav-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.7);
  transition: background-color .2s, color .2s;
}
.nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-link.is-active { background: rgba(255,255,255,.15); color: #fff; }
.nav-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border: 0; border-radius: var(--radius);
  background: transparent; color: rgba(255,255,255,.7); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

.nav-mobile {
  display: none; background: var(--agri-dark);
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav-mobile.is-open { display: block; animation: slide-down .22s ease-out; }
@media (min-width: 768px) { .nav-mobile.is-open { display: none; } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-mobile-list { padding: .75rem 1rem; display: flex; flex-direction: column; gap: .25rem; }
.nav-mobile-list .nav-link { padding: .625rem .75rem; width: 100%; }
.nav-mobile-list button.nav-link { border: 0; background: none; text-align: left; cursor: pointer; }

/* ----------------------------------------------------------------- cards */
.glass-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  border-radius: 1rem;
}
.card-pad { padding: 1.5rem; }
.glow-green { box-shadow: 0 0 30px rgba(111,168,58,.18), 0 0 60px rgba(111,168,58,.06); }
.pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(111,168,58,.1); }
  50%      { box-shadow: 0 0 40px rgba(111,168,58,.25); }
}

/* --------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.5rem; padding: 0 1rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500; border: 1px solid transparent;
  background: transparent; color: var(--agri-text); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--agri-green); color: #fff; font-weight: 600; }
.btn-primary:hover:not(:disabled) { background: var(--agri-hover); }
.btn-lime { background: var(--agri-lime); color: var(--agri-dark); font-weight: 600; }
.btn-lime:hover { filter: brightness(.95); }
.btn-outline { border-color: var(--border); background: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; }
.btn-outline-green { border-color: rgba(111,168,58,.35); color: var(--agri-green); background: transparent; }
.btn-outline-green:hover { background: rgba(111,168,58,.1); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { background: rgba(111,168,58,.08); color: var(--agri-green); }
.btn-ghost.danger:hover { background: var(--red-bg); color: var(--red-fg); }
.btn-link-green { color: var(--agri-green); font-size: .75rem; height: 2rem; padding: 0 .5rem; }
.btn-link-green:hover { color: var(--agri-hover); background: rgba(111,168,58,.08); }
.btn-lg { height: 3rem; padding: 0 2rem; border-radius: .875rem; font-weight: 600; }
.btn-block { width: 100%; height: 2.75rem; border-radius: .875rem; }
.btn-sm { height: 2rem; padding: 0 .625rem; font-size: .75rem; }
.shadow-green { box-shadow: 0 10px 20px rgba(111,168,58,.2); }

/* -------------------------------------------------------- formulários */
.form-label {
  display: flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 500; color: var(--agri-text); margin-bottom: .375rem;
}
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--border); border-radius: .5rem;
  background: #fff; color: var(--agri-text);
  padding: .5rem .75rem; font-size: .875rem; font-family: inherit;
}
.input, .select { height: 2.25rem; }
.textarea { resize: vertical; min-height: 5rem; }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--agri-green);
  box-shadow: 0 0 0 3px rgba(111,168,58,.15);
}
.select { appearance: none; padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23667066' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .625rem center;
}
.select-narrow { width: 10rem; }

.upload-box {
  margin-top: .375rem; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .5rem; padding: 1.5rem; cursor: pointer;
  border: 2px dashed rgba(111,168,58,.3); border-radius: .875rem;
  color: var(--muted); font-size: .875rem; text-align: center;
  transition: background-color .2s;
}
.upload-box:hover { background: rgba(111,168,58,.06); }
.upload-box img { width: 100%; height: 8rem; object-fit: cover; border-radius: .5rem; }
.upload-box input[type="file"] { display: none; }

/* ------------------------------------------------------------- grelhas */
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.grid-gap-5 { gap: 1.25rem; }
.grid-gap-6 { gap: 1.5rem; }
@media (min-width: 640px) {
  .grid-sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-sm-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-lg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-lg-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .span-lg-2 { grid-column: span 2; }
  .span-lg-3 { grid-column: span 3; }
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-2 .span-2 { grid-column: span 2; }

/* ------------------------------------------------------- page header */
.page-header {
  display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem;
  animation: fade-down .35s ease-out;
}
@media (min-width: 640px) {
  .page-header { flex-direction: row; align-items: center; justify-content: space-between; }
}
.page-header h1 { font-size: 1.5rem; font-weight: 700; color: var(--agri-text); }
@media (min-width: 640px) { .page-header h1 { font-size: 1.875rem; } }
.page-header .muted { font-size: .875rem; color: var(--muted); margin-top: .25rem; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.card-title { font-size: 1.125rem; font-weight: 600; color: var(--agri-text); }
.card-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem;
}
.section-title {
  display: flex; align-items: center; gap: .5rem; font-weight: 600;
  color: var(--agri-text); margin-bottom: .75rem;
}

.muted { color: var(--muted); }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ------------------------------------------------------------ badges */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .125rem .5rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .75rem; font-weight: 500; white-space: nowrap;
}
.badge-green  { background: rgba(111,168,58,.12); color: var(--agri-green); border-color: rgba(111,168,58,.25); }
.badge-red    { background: var(--red-bg);    color: var(--red-fg);    border-color: var(--red-br); }
.badge-amber  { background: var(--amber-bg);  color: var(--amber-fg);  border-color: var(--amber-br); }
.badge-blue   { background: var(--blue-bg);   color: var(--blue-fg);   border-color: var(--blue-br); }
.badge-orange { background: var(--orange-bg); color: var(--orange-fg); border-color: var(--orange-br); }
.badge-purple { background: var(--purple-bg); color: var(--purple-fg); border-color: var(--purple-br); }
.badge-slate  { background: var(--slate-bg);  color: var(--slate-fg);  border-color: var(--slate-br); }
.badge-muted  { background: #eef1ec; color: var(--muted); border-color: var(--border); }

/* --------------------------------------------------------- stat cards */
.stat-card {
  padding: 1.25rem; border-radius: 1rem; border: 1px solid rgba(111,168,58,.2);
  background: linear-gradient(to bottom right, rgba(111,168,58,.1), rgba(111,168,58,.05)), rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
  transition: box-shadow .3s, transform .3s;
}
.stat-card:hover { box-shadow: 0 16px 34px rgba(0,0,0,.1); }
.stat-card.lime  { border-color: rgba(184,217,74,.35);
  background: linear-gradient(to bottom right, rgba(184,217,74,.14), rgba(184,217,74,.06)), rgba(255,255,255,.85); }
.stat-card.red   { border-color: var(--red-br);
  background: linear-gradient(to bottom right, var(--red-bg), rgba(254,242,242,.5)), rgba(255,255,255,.85); }
.stat-card.amber { border-color: var(--amber-br);
  background: linear-gradient(to bottom right, var(--amber-bg), rgba(255,251,235,.5)), rgba(255,255,255,.85); }
.stat-card .row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.stat-card .label { font-size: .875rem; color: var(--muted); font-weight: 500; }
.stat-card .value-row { display: flex; align-items: baseline; gap: .375rem; margin-top: .375rem; }
.stat-card .value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.stat-icon { padding: .625rem; border-radius: .75rem; display: inline-flex;
  background: rgba(111,168,58,.15); color: var(--agri-green); }
.stat-icon.lime  { background: rgba(184,217,74,.2); color: var(--agri-hover); }
.stat-icon.red   { background: #fee2e2; color: #b91c1c; }
.stat-icon.amber { background: #fef3c7; color: #b45309; }

/* -------------------------------------------------------- listas/itens */
.list { display: flex; flex-direction: column; gap: .75rem; }
.list-item {
  display: flex; align-items: flex-start; gap: .875rem; padding: .875rem;
  border-radius: .75rem; background: rgba(244,247,242,.7);
  transition: background-color .2s;
}
.list-item:hover { background: var(--agri-bg); }
.list-item .icon-box {
  width: 2.25rem; height: 2.25rem; border-radius: .5rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.icon-box.red { background: var(--red-bg); color: var(--red-fg); }
.icon-box.green { background: rgba(111,168,58,.12); color: var(--agri-green); }
.item-body { flex: 1; min-width: 0; }
.item-title-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.item-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .75rem; color: var(--muted); margin-top: .25rem; }

/* ------------------------------------------------------- card de campo */
.field-card { padding: 1.25rem; transition: box-shadow .3s, transform .3s; }
.field-card:hover { box-shadow: 0 18px 38px rgba(0,0,0,.12); }
.field-card .head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.crop-chip {
  width: 2.75rem; height: 2.75rem; border-radius: .75rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(111,168,58,.12); color: var(--agri-green);
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
}
.field-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.field-meta div { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted); }
.field-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem;
  opacity: 0; transition: opacity .2s; }
.field-card:hover .field-actions,
.field-card:focus-within .field-actions { opacity: 1; }
@media (hover: none) { .field-actions { opacity: 1; } }

/* ----------------------------------------------------------- alertas */
.alert-row { display: flex; align-items: flex-start; gap: 1rem; }
.alert-icon { padding: .625rem; border-radius: .75rem; flex-shrink: 0; display: inline-flex; }
.alert-icon.red   { background: var(--red-bg);   color: #ef4444; }
.alert-icon.amber { background: var(--amber-bg); color: #f59e0b; }
.alert-icon.blue  { background: var(--blue-bg);  color: #3b82f6; }
.recommendation {
  margin-top: .75rem; padding: .75rem; border-radius: .75rem;
  background: rgba(111,168,58,.06); border: 1px solid rgba(111,168,58,.14);
}
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; color: var(--muted); }

/* --------------------------------------------------------- estado vazio */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4rem 1.5rem; text-align: center;
}
.empty-state .icon {
  width: 4rem; height: 4rem; border-radius: 1rem; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(111,168,58,.12); color: var(--agri-green);
}
.empty-state h3 { font-size: 1.125rem; font-weight: 600; }
.empty-state p { font-size: .875rem; color: var(--muted); margin-top: .375rem; max-width: 24rem; }

/* ---------------------------------------------------------- gráfico */
.chart { display: flex; gap: .75rem; height: 16rem; }
.chart-axis {
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: .6875rem; color: #666; padding-bottom: 1.5rem; text-align: right;
}
.chart-area {
  flex: 1; display: flex; align-items: flex-end; gap: .75rem;
  border-left: 1px solid var(--border); padding-left: .75rem; overflow-x: auto;
}
.chart-col { flex: 1; min-width: 2.5rem; display: flex; flex-direction: column;
  justify-content: flex-end; height: 100%; text-align: center; }
.chart-bar {
  border-radius: .5rem .5rem 0 0; width: 100%; position: relative;
  transition: filter .2s; animation: grow-bar .6s ease-out;
}
.chart-bar:hover { filter: brightness(1.1); }
.chart-bar::after {
  content: attr(data-value); position: absolute; top: -1.25rem; left: 0; right: 0;
  font-size: .6875rem; font-weight: 600; color: var(--agri-text);
}
@keyframes grow-bar { from { height: 0 !important; } }
.chart-label {
  height: 1.5rem; display: flex; align-items: center; justify-content: center;
  font-size: .6875rem; color: #666; overflow: hidden; white-space: nowrap;
}

/* ----------------------------------------------------------- diálogo */
.dialog-backdrop {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0,0,0,.55); backdrop-filter: blur(2px);
}
.dialog-backdrop.is-open { display: flex; animation: fade-in .2s ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.dialog {
  width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 1rem; padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  animation: dialog-in .2s ease-out;
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog h2 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .75rem; padding-top: .5rem; }

/* ---------------------------------------------------------- landing */
.landing { position: relative; overflow: hidden; }
.landing-header {
  position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.4);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(111,168,58,.2);
}
.landing-header .inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.section { position: relative; z-index: 10; padding-block: 5rem; }
@media (min-width: 640px) { .section { padding-block: 7rem; } }
.hero-copy { max-width: 48rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .375rem 1rem;
  border-radius: 999px; font-size: .75rem; font-weight: 500; margin-bottom: 1.5rem;
  background: rgba(111,168,58,.12); border: 1px solid rgba(111,168,58,.25); color: var(--agri-green);
}
.pill.lime { background: rgba(184,217,74,.15); border-color: rgba(184,217,74,.3); color: var(--agri-lime); }
.hero-title {
  font-weight: 800; font-size: clamp(2.25rem, 6vw, 3.75rem); line-height: 1.1; color: #fff;
}
.text-gradient-green {
  background-image: linear-gradient(135deg, #2F5D1F, #6FA83A, #B8D94A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 42rem; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-actions .btn-outline {
  background: transparent; color: #fff; border-color: rgba(111,168,58,.4);
}
.hero-actions .btn-outline:hover { background: rgba(111,168,58,.12); }

.stats-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 4rem; }
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat-tile {
  border-radius: 1rem; padding: 1.25rem; text-align: center;
  border: 1px solid rgba(111,168,58,.2); background: rgba(0,0,0,.3);
  backdrop-filter: blur(6px); transition: border-color .3s;
}
.stat-tile:hover { border-color: rgba(111,168,58,.5); }
.stat-tile b { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--agri-green); }
.stat-tile span { font-size: .75rem; color: rgba(255,255,255,.55); }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto 4rem; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; color: #fff; }
.section-head p { margin-top: 1rem; color: rgba(255,255,255,.55); }

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.feature {
  border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(111,168,58,.15);
  background: rgba(0,0,0,.3); backdrop-filter: blur(6px);
  transition: border-color .3s, transform .3s;
}
.feature:hover { border-color: rgba(111,168,58,.4); transform: translateY(-4px); }
.feature .icon {
  width: 3rem; height: 3rem; border-radius: .875rem; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(111,168,58,.12); color: var(--agri-green); transition: background-color .3s;
}
.feature:hover .icon { background: rgba(111,168,58,.22); }
.feature h3 { font-size: 1.125rem; font-weight: 600; color: #fff; }
.feature p { font-size: .875rem; color: rgba(255,255,255,.5); margin-top: .5rem; line-height: 1.65; }

.cta {
  position: relative; border-radius: 1.5rem; overflow: hidden; text-align: center;
  background: var(--agri-dark); padding: 2.5rem 1.5rem;
}
@media (min-width: 640px) { .cta { padding: 4rem; } }
.cta::before {
  content: ''; position: absolute; inset: 0; opacity: .8;
  background: linear-gradient(to right, var(--agri-dark), var(--agri-hover), var(--agri-dark));
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .1; }
.cta .content { position: relative; }
.cta h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; color: #fff; }
.cta p { margin: 1rem auto 0; max-width: 36rem; color: rgba(255,255,255,.7); }

.landing-footer {
  position: relative; z-index: 10; background: rgba(0,0,0,.4); backdrop-filter: blur(12px);
  padding-block: 2.5rem; border-top: 1px solid rgba(111,168,58,.2);
}
.landing-footer .inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 640px) { .landing-footer .inner { flex-direction: row; } }
.landing-footer p { color: rgba(255,255,255,.5); font-size: .875rem; }

/* ------------------------------------------------------------ análise */
.analysis-result { display: flex; flex-direction: column; gap: 1rem; }
.issue {
  padding: .75rem; border-radius: .75rem;
  background: rgba(244,247,242,.7); border: 1px solid rgba(0,0,0,.05);
}
.chip {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .75rem; padding: .125rem .5rem; border-radius: 999px; font-weight: 500;
}
.review-banner {
  border-radius: 1rem; padding: 1.25rem; border: 1px solid var(--amber-br);
  background: rgba(255,251,235,.9);
}
.review-banner h3 { font-family: var(--font-heading); font-weight: 600; color: #92400e; }
.review-banner p { font-size: .875rem; color: #b45309; margin-top: .25rem; }
.prose p { margin-bottom: .75rem; line-height: 1.65; }
.prose ul, .prose ol { margin: 0 0 .75rem 1.1rem; padding: 0; line-height: 1.65; }
.prose li { margin-bottom: .25rem; }
.prose strong { font-weight: 600; }
.prose h1, .prose h2, .prose h3 { font-size: 1rem; font-weight: 600; margin: .75rem 0 .5rem; }
.prose :first-child { margin-top: 0; }

.spin { animation: spin 1s linear infinite; }
.spin-lg { width: 48px !important; height: 48px !important; }
#upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  border-radius: 1rem; background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.85), rgba(255,255,255,.55));
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.toast {
  position: fixed; z-index: 200; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  background: var(--agri-dark); color: #fff; padding: .75rem 1.25rem; border-radius: .75rem;
  font-size: .875rem; box-shadow: 0 12px 30px rgba(0,0,0,.35); animation: fade-in .2s ease-out;
}

.ai-key-note {
  font-size: .75rem; color: var(--muted); display: flex; align-items: center;
  justify-content: space-between; gap: .5rem; flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
