/* OBSERVACAO: Site comercial SythaxAgro — campo + instrumento premium (espelha agro-premium do ERP).
   Proibido: mint pastel, gradient CTA, emoji-card, glow, pills rainbow. */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Sora:wght@500;600;700&display=swap");

body[data-product="agro"] {
  --agro-ink: #0c1f16;
  --agro-ink-soft: #1a3a2c;
  --agro-muted: #5c7268;
  --agro-paper: #f3f6f3;
  --agro-hairline: rgba(12, 48, 34, 0.13);
  --agro-hairline-strong: rgba(12, 48, 34, 0.22);
  --agro-signal: #10b981;
  --agro-signal-deep: #047857;
  --agro-grain: #c9a15a;
  --agro-grain-rich: #a67c3d;
  --agro-mono: "IBM Plex Mono", ui-monospace, monospace;
  --agro-display: "Sora", system-ui, sans-serif;
  --agro-radius: 6px;

  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(201, 161, 90, 0.12), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(16, 185, 129, 0.08), transparent 50%),
    var(--agro-paper);
  color: var(--agro-ink);
  font-family: var(--agro-display);
}

body[data-product="agro"] .ss-header {
  background: rgba(243, 246, 243, 0.92);
  border-bottom: 1px solid var(--agro-hairline);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

body[data-product="agro"] .ss-brand {
  color: var(--agro-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body[data-product="agro"] .ss-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--agro-radius);
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

body[data-product="agro"] .ss-brand-mark img,
body[data-product="agro"] .ss-brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

body[data-product="agro"] .ss-nav a {
  color: var(--agro-muted);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

body[data-product="agro"] .ss-nav a:hover {
  color: var(--agro-ink);
}

body[data-product="agro"] .ss-btn-login {
  color: var(--agro-ink-soft);
  font-weight: 600;
}

body[data-product="agro"] .ss-btn-primary,
body[data-product="agro"].accent-agro .ss-btn-primary,
body[data-product="agro"] .accent-agro .ss-btn-primary {
  background: var(--agro-ink) !important;
  color: #ecfdf5 !important;
  border-radius: var(--agro-radius) !important;
  box-shadow: none !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body[data-product="agro"] .ss-btn-primary:hover {
  background: var(--agro-ink-soft) !important;
}

body[data-product="agro"] .ss-btn-secondary {
  border: 1px solid var(--agro-hairline-strong);
  color: var(--agro-ink);
  border-radius: var(--agro-radius);
  background: transparent;
}

body[data-product="agro"] .ss-btn-secondary:hover {
  border-color: var(--agro-grain-rich);
  color: var(--agro-ink);
}

body[data-product="agro"] .ss-hero {
  padding: 48px 0 56px;
  background: transparent;
}

body[data-product="agro"] .ss-hero .ss-badge,
body[data-product="agro"] .agro-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0;
  background: none !important;
  border-radius: 0 !important;
  color: var(--agro-signal-deep) !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-product="agro"] .ss-hero h1 {
  font-family: var(--agro-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--agro-ink);
  line-height: 1.08;
}

body[data-product="agro"] .ss-hero h1 em,
body[data-product="agro"] .accent-agro h1 em {
  color: var(--agro-grain-rich) !important;
  font-style: normal;
}

body[data-product="agro"] .ss-hero-lead {
  color: var(--agro-muted);
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.55;
}

body[data-product="agro"] .ss-hero-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

body[data-product="agro"] .ss-hero-bullets li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--agro-hairline);
  color: var(--agro-ink-soft);
  font-size: 0.875rem;
}

body[data-product="agro"] .ss-hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 1px;
  background: var(--agro-grain);
}

body[data-product="agro"] .ss-hero-carousel {
  border-radius: var(--agro-radius);
  box-shadow: 0 18px 40px rgba(12, 31, 22, 0.14);
  border: 1px solid var(--agro-hairline);
}

body[data-product="agro"] .ss-carousel-dot.active {
  background: var(--agro-signal-deep);
}

body[data-product="agro"] .ss-carousel-dot:hover {
  background: var(--agro-grain);
}

/* Faixa KPI — mesa de pátio */
body[data-product="agro"] .agro-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--agro-hairline);
  border-bottom: 1px solid var(--agro-hairline);
  background: rgba(255, 255, 255, 0.45);
}

body[data-product="agro"] .agro-kpi-cell {
  padding: 1rem 1.1rem 1.15rem;
  border-right: 1px solid var(--agro-hairline);
}

body[data-product="agro"] .agro-kpi-cell:last-child {
  border-right: none;
}

body[data-product="agro"] .agro-kpi-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--agro-muted);
}

body[data-product="agro"] .agro-kpi-value {
  margin-top: 0.4rem;
  font-family: var(--agro-mono);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--agro-ink);
}

body[data-product="agro"] .agro-kpi-hint {
  margin: 0.3rem 0 0;
  font-size: 11px;
  color: var(--agro-muted);
}

/* Diferenciais — fichas, não bento emoji */
body[data-product="agro"] .ss-bento-section,
body[data-product="agro"] .agro-ops-section {
  padding: 56px 0 64px;
  background: transparent;
}

body[data-product="agro"] .agro-ops-section .ss-section-head h2 {
  color: var(--agro-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body[data-product="agro"] .agro-ops-section .ss-section-head p {
  color: var(--agro-muted);
}

body[data-product="agro"] .agro-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--agro-hairline);
  background: #fff;
  border-radius: var(--agro-radius);
  overflow: hidden;
}

body[data-product="agro"] .agro-ops-item {
  padding: 1.25rem 1.35rem 1.4rem;
  border-right: 1px solid var(--agro-hairline);
  border-bottom: 1px solid var(--agro-hairline);
}

body[data-product="agro"] .agro-ops-item:nth-child(2n) {
  border-right: none;
}

body[data-product="agro"] .agro-ops-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

body[data-product="agro"] .agro-ops-item .agro-kicker {
  margin-bottom: 8px;
}

body[data-product="agro"] .agro-ops-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--agro-ink);
}

body[data-product="agro"] .agro-ops-item p {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--agro-muted);
}

body[data-product="agro"] .agro-ops-readout {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--agro-hairline);
  font-family: var(--agro-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--agro-ink-soft);
  font-variant-numeric: tabular-nums;
}

/* Governança — ink, sem emoji */
body[data-product="agro"] .ss-enterprise,
body[data-product="agro"] .agro-trust {
  background: var(--agro-ink) !important;
  color: #d1e7dc;
}

body[data-product="agro"] .agro-trust h2 {
  color: #ecfdf5 !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body[data-product="agro"] .agro-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border: 1px solid rgba(236, 253, 245, 0.14);
  border-radius: var(--agro-radius);
  overflow: hidden;
}

body[data-product="agro"] .agro-trust-item {
  padding: 1.2rem 1.25rem;
  border-right: 1px solid rgba(236, 253, 245, 0.14);
}

body[data-product="agro"] .agro-trust-item:last-child {
  border-right: none;
}

body[data-product="agro"] .agro-trust-item h4 {
  margin: 0;
  color: var(--agro-grain);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-product="agro"] .agro-trust-item p {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(236, 253, 245, 0.78);
}

body[data-product="agro"] .agro-trust-cta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(236, 253, 245, 0.14);
}

body[data-product="agro"] .agro-trust-cta h3 {
  margin: 0 0 8px;
  color: #ecfdf5;
}

body[data-product="agro"] .agro-trust-cta p {
  margin: 0 0 18px;
  color: rgba(236, 253, 245, 0.7);
}

body[data-product="agro"] .agro-trust .ss-btn-primary {
  background: var(--agro-grain) !important;
  color: var(--agro-ink) !important;
}

body[data-product="agro"] .agro-trust .ss-btn-secondary {
  border-color: rgba(236, 253, 245, 0.28);
  color: #ecfdf5;
}

body[data-product="agro"] .ss-footer {
  background: #08150f !important;
  border-top: 1px solid rgba(201, 161, 90, 0.2);
}

body[data-product="agro"] .ss-footer a {
  color: rgba(236, 253, 245, 0.72);
}

body[data-product="agro"] .ss-footer a:hover {
  color: var(--agro-grain);
}

body[data-product="agro"] .ss-footer-bottom {
  color: rgba(236, 253, 245, 0.45);
  border-top-color: rgba(236, 253, 245, 0.1);
}

/* Mock UI Agro no carrossel */
body[data-product="agro"] .ss-module-slide.accent-agro-ui {
  background: linear-gradient(160deg, #1a3a2c 0%, #0c1f16 100%);
}

body[data-product="agro"] .ss-module-slide.accent-agro-ui .ss-browser-bar em {
  color: #a7f3d0;
}

body[data-product="agro"] .ss-mod-screen .ss-mod-icon {
  background: #0c1f16;
  color: var(--agro-grain);
  border-radius: 6px;
}

/* Capturas reais do SythaxAgro */
body[data-product="agro"] .ss-shot-slide {
  background: #0c1f16;
}

body[data-product="agro"] .ss-shot-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #0c1f16;
}

body[data-product="agro"] .ss-shot-slide .ss-slide-label {
  background: rgba(6, 78, 59, 0.92);
}

body[data-product="agro"] .ss-shot-slide .ss-field-caption {
  left: 0;
  right: 0;
  bottom: 36px;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(12, 31, 22, 0.88));
  text-shadow: none;
}

@media (max-width: 900px) {
  body[data-product="agro"] .agro-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-product="agro"] .agro-ops-grid,
  body[data-product="agro"] .agro-trust-grid {
    grid-template-columns: 1fr;
  }

  body[data-product="agro"] .agro-ops-item,
  body[data-product="agro"] .agro-ops-item:nth-child(2n),
  body[data-product="agro"] .agro-trust-item {
    border-right: none;
    border-bottom: 1px solid var(--agro-hairline);
  }

  body[data-product="agro"] .agro-trust-item {
    border-bottom-color: rgba(236, 253, 245, 0.14);
  }

  body[data-product="agro"] .agro-ops-item:last-child,
  body[data-product="agro"] .agro-trust-item:last-child {
    border-bottom: none;
  }
}
