/* =====================================================================
   BovinoTech — página inicial (usa os tokens e botões de app.css)
   ===================================================================== */

.landing { background: var(--bg); }
.l-wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.l-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin-bottom: 12px; }

/* navegação */
.l-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.l-nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.l-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--font-display); color: var(--ink); text-decoration: none !important; }
.l-brand .brand-mark { width: 34px; height: 34px; font-size: 14px; }
.l-links { display: flex; gap: 22px; margin-left: 12px; }
.l-links a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.l-links a:hover { color: var(--ink); text-decoration: none; }
.l-nav-cta { display: flex; gap: 8px; margin-left: auto; }

/* hero */
.l-hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: radial-gradient(90% 70% at 100% 0%, var(--brand-100), transparent 60%); }
.l-hero-bg { position: absolute; inset: 0; z-index: 0; }
.l-hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.l-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent), var(--bg) 92%); }
.l-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.l-hero h1 { font: 600 clamp(34px, 4.6vw, 54px)/1.06 var(--font-display); letter-spacing: -.025em; color: var(--brand-950); }
[data-theme="dark"] .l-hero h1 { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])) .l-hero h1 { color: var(--ink); } }
.l-lead { font-size: 18px; color: var(--ink-2); margin-top: 20px; max-width: 54ch; line-height: 1.6; }
.l-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.l-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }
.l-trust li::before { content: '✓'; color: var(--link); font-weight: 700; margin-right: 6px; }

.l-preview { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-3); overflow: hidden; }
.l-preview-top { display: flex; gap: 6px; padding: 12px 16px; background: var(--brand-950); }
.l-preview-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.l-preview-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.l-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.l-kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.l-kpis small { display: block; font-size: 12px; color: var(--ink-3); }
.l-kpis b { font-size: 24px; letter-spacing: -.02em; }
.l-kpis b.ok { color: var(--ok); }
.l-kpis em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.l-alerts { display: flex; flex-direction: column; gap: 8px; }
.l-alert { display: flex; gap: 10px; align-items: center; font-size: 13.5px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.l-alert i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.l-alert.warn i { background: var(--accent); }
.l-alert.danger i { background: var(--danger); }
.l-alert.info i { background: var(--info); }
.l-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; padding: 8px 4px 0; border-top: 1px solid var(--line); }
.l-bars span { flex: 1; height: var(--h); max-width: 24px; margin: 0 auto; background: var(--series-3); border-radius: 4px 4px 0 0; }

/* seções */
.l-section { padding: 112px 0; scroll-margin-top: 64px; }
.l-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-head { max-width: 680px; margin-bottom: 40px; }
.l-head h2, .l-split h2 { font: 600 clamp(28px, 3.2vw, 38px)/1.12 var(--font-display); letter-spacing: -.02em; }
.l-head p:not(.l-eyebrow) { color: var(--ink-2); margin-top: 14px; font-size: 16.5px; line-height: 1.6; }

.l-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.l-features article { background: var(--surface); padding: 28px 24px; }
.l-features h3 { font-size: 16.5px; margin-bottom: 6px; }
.l-features p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

.l-feature-icon { display: block; width: 40px; height: 40px; border-radius: 12px; background-color: var(--brand-100); margin-bottom: 16px; background-repeat: no-repeat; background-position: center; background-size: 20px; }
.l-feature-icon[data-i="herd"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333704e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='7'/%3E%3Cpath d='M8 7 6 4M16 7l2-3'/%3E%3C/svg%3E"); }
.l-feature-icon[data-i="map"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333704e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.4 7-12a7 7 0 1 0-14 0c0 5.6 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.l-feature-icon[data-i="health"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333704e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E"); }
.l-feature-icon[data-i="money"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333704e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h2'/%3E%3C/svg%3E"); }
.l-feature-icon[data-i="stock"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333704e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5Z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.l-feature-icon[data-i="team"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333704e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0'/%3E%3Ccircle cx='18' cy='9' r='2.7'/%3E%3Cpath d='M15.5 13.2A5.5 5.5 0 0 1 21.5 19'/%3E%3C/svg%3E"); }
[data-theme="dark"] .l-feature-icon { background-color: color-mix(in srgb, var(--brand-500) 22%, transparent); }

.l-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.l-steps li { position: relative; padding-top: 18px; border-top: 2px solid var(--brand-500); }
.l-steps b { font: 600 34px/1 var(--font-display); color: var(--brand-500); }
.l-steps h3 { font-size: 16.5px; margin: 10px 0 6px; }
.l-steps p { color: var(--ink-2); font-size: 14.5px; }

.l-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.l-checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.l-checks li { position: relative; padding-left: 28px; color: var(--ink-2); line-height: 1.55; }
.l-checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333704e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 12px; }

/* planos */
.l-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.l-plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; }
.l-plan h3 { font-size: 20px; }
.l-plan-desc { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.l-price { font-size: 44px; font-weight: 700; letter-spacing: -.03em; margin: 18px 0 4px; }
.l-price span { font-size: 18px; font-weight: 600; vertical-align: 16px; margin-right: 2px; }
.l-price small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.l-price-annual { font-size: 13.5px; color: var(--ink-3); margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.l-badge-save { font-size: 11.5px; font-weight: 700; color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, transparent); padding: 2px 8px; border-radius: 99px; }
.l-plan .l-checks { margin-bottom: 24px; flex: 1; }
.l-plan .l-checks li { font-size: 14.5px; }
.l-featured { border: 2px solid var(--brand-500); box-shadow: var(--shadow-2); }
.l-badge { position: absolute; top: -12px; left: 24px; background: var(--brand-700); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.l-note { margin-top: 22px; color: var(--ink-3); font-size: 13.5px; text-align: center; }

/* dúvidas */
.l-faq { max-width: 820px; }
.l-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.l-faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--link); }
.l-faq details[open] summary::after { content: '−'; }
.l-faq details p { color: var(--ink-2); margin-top: 10px; line-height: 1.6; }

/* chamada final e rodapé */
.l-cta { padding: 80px 0; background: radial-gradient(120% 120% at 0% 0%, #2a5a3f, #0f2317 70%); color: #e7f0e9; text-align: center; }
.l-cta h2 { font: 600 clamp(28px, 3.4vw, 40px)/1.12 var(--font-display); color: #fff; letter-spacing: -.02em; }
.l-cta p { color: #b9ccbf; margin: 14px auto 28px; max-width: 52ch; font-size: 16.5px; }
.l-cta .btn-primary { background: #fff; color: var(--brand-900); }
.l-cta .btn-primary:hover { background: #eaf3ec; }
.l-footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.l-footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.l-footer nav { display: flex; gap: 18px; }
.l-footer nav a { color: var(--ink-2); font-size: 14px; }
.l-footer p { margin-left: auto; color: var(--ink-3); font-size: 13.5px; }

/* páginas de texto (privacidade, termos) */
.l-doc { padding: 56px 0 80px; }
.l-doc article { max-width: 760px; }
.l-doc h1 { font: 600 36px/1.15 var(--font-display); letter-spacing: -.02em; margin-bottom: 8px; }
.l-doc h2 { font-size: 19px; margin: 32px 0 10px; }
.l-doc p, .l-doc li { color: var(--ink-2); line-height: 1.7; }
.l-doc ul { padding-left: 20px; }
.l-doc .updated { color: var(--ink-3); font-size: 14px; }

/* responsivo */
@media (max-width: 960px) {
  .l-links { display: none; }
  .l-hero { padding: 44px 0 48px; }
  .l-hero-grid, .l-split { grid-template-columns: 1fr; gap: 36px; }
  .l-features { grid-template-columns: 1fr 1fr; }
  .l-steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .l-pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .l-section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .l-wrap { width: calc(100% - 32px); }
  .l-nav-inner { height: 58px; gap: 12px; }
  .l-brand { font-size: 18px; gap: 8px; }
  .l-nav-cta { gap: 4px; }
  .l-nav-cta .btn { min-height: 38px; padding: 0 12px; font-size: 13.5px; }
  .l-lead { font-size: 16.5px; }
  .l-actions .btn { flex: 1 1 100%; }
  .l-features { grid-template-columns: 1fr; }
  .l-steps { grid-template-columns: 1fr; }
  .l-footer p { margin-left: 0; width: 100%; }
}
