/* ==========================================================================
   AGROPET — Landing page comercial + Login
   Design system próprio (verde agro + grafite premium), Bootstrap 5 como base.
   ========================================================================== */

:root {
  --ag-verde: #16a34a;
  --ag-verde-escuro: #0f7a37;
  --ag-verde-claro: #4ade80;
  --ag-tinta: #0b1a14;
  --ag-grafite: #16221d;
  --ag-cinza: #64748b;
  --ag-borda: rgba(15, 42, 28, .10);
  --ag-superficie: #ffffff;
  --ag-fundo: #f6f9f7;
  --ag-radius: 18px;
  --ag-sombra: 0 18px 45px -22px rgba(9, 40, 24, .45);
  --ag-sombra-forte: 0 32px 70px -30px rgba(9, 40, 24, .55);
  --ag-gradiente: linear-gradient(135deg, var(--ag-verde-escuro), var(--ag-verde) 55%, var(--ag-verde-claro));
}

.lp {
  background: var(--ag-fundo);
  color: var(--ag-tinta);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.lp h1, .lp h2, .lp h3, .lp h4 { font-weight: 800; letter-spacing: -.02em; }
.lp p { color: #3c4b44; }
.lp section { scroll-margin-top: 84px; }

/* ---------- Navbar --------------------------------------------------------- */
.lp-nav {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.lp-nav.is-stuck { border-color: var(--ag-borda); box-shadow: 0 10px 30px -22px rgba(9, 40, 24, .5); }
.lp-brand { display: flex; align-items: center; gap: .6rem; font-weight: 900; letter-spacing: -.03em; font-size: 1.25rem; color: var(--ag-tinta); }
.lp-brand:hover { color: var(--ag-tinta); }
.lp-brand-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ag-gradiente); color: #fff; box-shadow: var(--ag-sombra);
}
.lp-nav .nav-link { font-weight: 600; font-size: .93rem; color: #35473f; position: relative; }
.lp-nav .nav-link::after {
  content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .25rem; height: 2px;
  background: var(--ag-verde); transform: scaleX(0); transform-origin: right; transition: transform .25s ease;
}
.lp-nav .nav-link:hover { color: var(--ag-verde-escuro); }
.lp-nav .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-ag {
  background: var(--ag-gradiente); border: 0; color: #fff; font-weight: 700; border-radius: 999px;
  padding: .62rem 1.35rem; box-shadow: var(--ag-sombra); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-ag:hover, .btn-ag:focus { color: #fff; transform: translateY(-2px); box-shadow: var(--ag-sombra-forte); filter: saturate(115%); }
.btn-ag-ghost {
  border: 1px solid var(--ag-borda); background: #fff; color: var(--ag-tinta); font-weight: 700;
  border-radius: 999px; padding: .62rem 1.35rem; transition: transform .2s ease, border-color .2s ease;
}
.btn-ag-ghost:hover { transform: translateY(-2px); border-color: var(--ag-verde); color: var(--ag-verde-escuro); }

/* ---------- Hero ----------------------------------------------------------- */
.lp-hero { position: relative; padding: 6.5rem 0 4.5rem; }
.lp-hero::before {
  content: ""; position: absolute; inset: -30% 40% 30% -20%;
  background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, .28), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.lp-hero::after {
  content: ""; position: absolute; top: -18%; right: -12%; width: 42rem; height: 42rem;
  background: radial-gradient(circle, rgba(22, 163, 74, .18), transparent 65%); pointer-events: none;
}
.lp-hero > .container { position: relative; z-index: 2; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ag-verde-escuro);
  background: rgba(22, 163, 74, .10); border: 1px solid rgba(22, 163, 74, .18);
  padding: .4rem .85rem; border-radius: 999px;
}
.lp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.06; }
.lp-hero h1 .grifo { background: var(--ag-gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero-sub { font-size: 1.09rem; max-width: 34rem; }
.lp-selos { display: flex; flex-wrap: wrap; gap: 1.15rem; font-size: .87rem; color: var(--ag-cinza); font-weight: 600; }

/* ---------- Mockup do sistema --------------------------------------------- */
.lp-mock {
  border-radius: 20px; background: #fff; border: 1px solid var(--ag-borda);
  box-shadow: var(--ag-sombra-forte); overflow: hidden;
}
.lp-mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; background: #0f1d17; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: #2f4a3d; }
.lp-mock-bar i:first-child { background: #f87171; }
.lp-mock-bar i:nth-child(2) { background: #fbbf24; }
.lp-mock-bar i:nth-child(3) { background: #34d399; }
.lp-mock-bar span { color: #7d9a8c; font-size: .74rem; margin-left: .5rem; }
.lp-mock-body { padding: 1rem; background: linear-gradient(180deg, #ffffff, #f3f8f5); }
.lp-kpi { border: 1px solid var(--ag-borda); border-radius: 14px; padding: .8rem .9rem; background: #fff; }
.lp-kpi small { color: var(--ag-cinza); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.lp-kpi strong { display: block; font-size: 1.15rem; }
.lp-barras { display: flex; align-items: flex-end; gap: .45rem; height: 120px; padding-top: .5rem; }
.lp-barras span {
  flex: 1; border-radius: 6px 6px 0 0; background: var(--ag-gradiente); opacity: .85;
  animation: lp-crescer 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes lp-crescer { from { height: 4% !important; opacity: .2; } }
.lp-flutua { animation: lp-flutua 7s ease-in-out infinite; }
@keyframes lp-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.lp-badge-flutuante {
  position: absolute; background: #fff; border: 1px solid var(--ag-borda); border-radius: 14px;
  padding: .6rem .85rem; box-shadow: var(--ag-sombra); font-size: .82rem; font-weight: 700;
}

/* ---------- Indicadores ---------------------------------------------------- */
.lp-indicadores { background: var(--ag-tinta); color: #fff; padding: 2.4rem 0; }
.lp-indicadores .valor { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 900; letter-spacing: -.03em; }
.lp-indicadores .rotulo { color: #93b3a4; font-size: .82rem; font-weight: 600; }
.lp-indicadores i { color: var(--ag-verde-claro); }

/* ---------- Cards de recursos --------------------------------------------- */
.lp-card {
  height: 100%; background: #fff; border: 1px solid var(--ag-borda); border-radius: var(--ag-radius);
  padding: 1.3rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lp-card:hover { transform: translateY(-6px); box-shadow: var(--ag-sombra); border-color: rgba(22, 163, 74, .35); }
.lp-card .icone {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: .8rem;
  background: rgba(22, 163, 74, .10); color: var(--ag-verde-escuro); font-size: 1.05rem;
}
.lp-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.lp-card p { font-size: .88rem; margin: 0; color: var(--ag-cinza); }

/* ---------- Capturas ------------------------------------------------------- */
.lp-capturas { background: #fff; }
.lp-shot {
  border: 1px solid var(--ag-borda); border-radius: var(--ag-radius); overflow: hidden; background: #fff;
  box-shadow: var(--ag-sombra); height: 100%;
}
.lp-shot-topo { background: #0f1d17; color: #cfe6da; font-size: .74rem; padding: .5rem .8rem; font-weight: 600; }
.lp-shot-corpo { padding: .9rem; background: linear-gradient(180deg, #fbfdfc, #f1f7f3); min-height: 190px; }
.lp-linha { height: 10px; border-radius: 6px; background: #e3ede7; margin-bottom: .55rem; }
.lp-linha.curta { width: 55%; }
.lp-linha.verde { background: rgba(22, 163, 74, .35); }
.lp-tile { border-radius: 10px; background: #fff; border: 1px solid var(--ag-borda); height: 46px; }

/* ---------- Planos --------------------------------------------------------- */
.lp-plano {
  height: 100%; background: #fff; border: 1px solid var(--ag-borda); border-radius: 20px; padding: 1.6rem;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.lp-plano:hover { transform: translateY(-6px); box-shadow: var(--ag-sombra); }
.lp-plano.destaque { border: 2px solid var(--ag-verde); box-shadow: var(--ag-sombra-forte); position: relative; }
.lp-plano.destaque::before {
  content: "Mais vendido"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ag-gradiente); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  padding: .28rem .8rem; border-radius: 999px; white-space: nowrap;
}
.lp-plano .preco { font-size: 2.1rem; font-weight: 900; letter-spacing: -.04em; }
.lp-plano ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; font-size: .88rem; }
.lp-plano ul li { display: flex; gap: .5rem; padding: .3rem 0; color: #3c4b44; }
.lp-plano ul li i { color: var(--ag-verde); margin-top: .18rem; }

.lp-tabela { background: #fff; border: 1px solid var(--ag-borda); border-radius: var(--ag-radius); overflow: hidden; }
.lp-tabela table { margin: 0; }
.lp-tabela th, .lp-tabela td { vertical-align: middle; font-size: .88rem; white-space: nowrap; }
.lp-tabela thead th { background: #f3f8f5; font-weight: 800; }

/* ---------- Integrações ---------------------------------------------------- */
.lp-integracao {
  display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--ag-borda);
  border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; font-size: .88rem;
  transition: transform .2s ease, border-color .2s ease;
}
.lp-integracao:hover { transform: translateY(-3px); border-color: var(--ag-verde); }
.lp-integracao i { color: var(--ag-verde-escuro); }

/* ---------- Depoimentos ---------------------------------------------------- */
.lp-depo { height: 100%; background: #fff; border: 1px solid var(--ag-borda); border-radius: var(--ag-radius); padding: 1.4rem; }
.lp-depo .estrelas { color: #f59e0b; font-size: .82rem; }
.lp-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  color: #fff; background: var(--ag-gradiente); flex: 0 0 auto;
}

/* ---------- FAQ / contato / rodapé ---------------------------------------- */
.lp .accordion-item { border: 1px solid var(--ag-borda); border-radius: 14px !important; margin-bottom: .7rem; overflow: hidden; }
.lp .accordion-button { font-weight: 700; font-size: .96rem; }
.lp .accordion-button:not(.collapsed) { background: rgba(22, 163, 74, .08); color: var(--ag-verde-escuro); box-shadow: none; }
.lp .accordion-button:focus { box-shadow: none; border-color: var(--ag-verde); }

.lp-contato-item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.lp-contato-item .icone { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(22, 163, 74, .10); color: var(--ag-verde-escuro); flex: 0 0 auto; }
.lp-mapa { border: 0; width: 100%; height: 260px; border-radius: var(--ag-radius); }

.lp-cta { background: var(--ag-gradiente); color: #fff; border-radius: 26px; padding: 3rem 2rem; box-shadow: var(--ag-sombra-forte); }
.lp-cta p { color: rgba(255, 255, 255, .88); }

.lp-footer { background: var(--ag-tinta); color: #9fbcae; padding: 3.2rem 0 1.6rem; }
.lp-footer h6 { color: #fff; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.lp-footer a { color: #9fbcae; text-decoration: none; display: block; padding: .22rem 0; font-size: .89rem; }
.lp-footer a:hover { color: var(--ag-verde-claro); }
.lp-social { display: flex; gap: .5rem; }
.lp-social a { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }

.lp-whats {
  position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.5rem;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .8);
  transition: transform .2s ease;
}
.lp-whats:hover { color: #fff; transform: scale(1.08); }

/* ---------- Animação de entrada ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .lp-flutua, .lp-barras span { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Login premium
   ========================================================================== */
.auth-body { min-height: 100vh; background: var(--ag-fundo); }
.auth-split { min-height: 100vh; }
.auth-aside {
  background: var(--ag-tinta); color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 2.6rem;
}
.auth-aside::before {
  content: ""; position: absolute; inset: auto -20% -35% -10%; height: 30rem;
  background: radial-gradient(circle at 30% 30%, rgba(22, 163, 74, .55), transparent 62%);
}
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside h2 { font-size: 1.9rem; line-height: 1.15; }
.auth-aside ul { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.auth-aside ul li { display: flex; gap: .6rem; padding: .35rem 0; color: #cfe6da; font-size: .93rem; }
.auth-aside ul li i { color: var(--ag-verde-claro); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .form-control { border-radius: 12px; padding: .7rem .9rem; }
.auth-card .input-group-text { border-radius: 12px 0 0 12px; background: #fff; }
.auth-card .input-group .form-control { border-left: 0; }
.auth-sep { display: flex; align-items: center; gap: .8rem; color: var(--ag-cinza); font-size: .8rem; margin: 1.1rem 0; }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--ag-borda); }
