/* ============================================
   PRODUTOS — estilos específicos
   ============================================ */

/* ===== PAGE HERO ===== */

.page-hero {
  background: var(--verde-floresta-escuro);
  background-image:
    radial-gradient(circle at 85% 20%, rgba(143,209,79,0.18), transparent 55%),
    linear-gradient(135deg, var(--verde-floresta) 0%, var(--verde-floresta-escuro) 70%);
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 22ch;
  margin-bottom: 1.2rem;
}

.page-hero .lede {
  max-width: 55ch;
}

/* ===== SECTION HEADER (compartilhado) ===== */

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

/* ===== ELEMENTOS SIMPLES ===== */

.elements {
  background: var(--cinza-cru);
}

.elements-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.element-card {
  background: var(--branco);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.element-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(27,58,43,0.1);
}

.element-img {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.element-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.element-card:hover .element-img img {
  transform: scale(1.08);
}

.element-card h3 {
  font-size: 1.2rem;
  margin: 1.2rem 1.2rem 0.3rem;
}

.element-card p {
  margin: 0 1.2rem 1.2rem;
  font-size: 0.9rem;
  color: var(--texto-suave);
}

/* ===== NPK ===== */

.npk {
  background: var(--verde-floresta-escuro);
  background-image: radial-gradient(circle at 15% 15%, rgba(47,107,69,0.4), transparent 55%);
}

.npk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.npk-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.npk-card:hover {
  transform: translateY(-6px);
  border-color: var(--verde-acid);
  background: rgba(143,209,79,0.06);
}

.npk-formula {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: var(--verde-acid);
  margin-bottom: 0.8rem;
}

.npk-formula span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

.npk-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.npk-note {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* ===== MICRONUTRIENTES ===== */

.micros {
  background: var(--branco);
}

.micros-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.micros-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/4;
}

.micros-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.micro-chip {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(14,31,22,0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(143,209,79,0.4);
  color: var(--verde-acid);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  animation: float 6s ease-in-out infinite;
}

.micro-chip--1 { top: 8%; left: 12%; animation-delay: 0s; }
.micro-chip--2 { top: 22%; left: 70%; animation-delay: 0.8s; }
.micro-chip--3 { top: 48%; left: 6%; animation-delay: 1.6s; }
.micro-chip--4 { top: 78%; left: 28%; animation-delay: 2.4s; }
.micro-chip--5 { top: 12%; left: 45%; animation-delay: 3.2s; }
.micro-chip--6 { top: 60%; left: 78%; animation-delay: 4s; }
.micro-chip--7 { top: 82%; left: 62%; animation-delay: 4.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.micros-text .lede {
  margin-top: 1.2rem;
  color: var(--texto-suave);
}

/* ===== SOLUÇÕES SOB MEDIDA ===== */

.custom {
  background: var(--verde-floresta);
  background-image: linear-gradient(135deg, var(--verde-floresta) 0%, var(--verde-floresta-escuro) 100%);
}

.custom-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.custom-media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.custom-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.custom-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.custom-item::before {
  content: "";
  flex-shrink: 0;
  margin-top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--verde-acid);
}

.custom-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.custom-item p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
}

/* ===== CTA FINAL ===== */

.cta-final {
  background: var(--cinza-cru);
}

.cta-final-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.cta-final .lede { max-width: 50ch; }

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 1080px) {
  .elements-grid { grid-template-columns: repeat(3, 1fr); }
  .npk-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .micros-grid { grid-template-columns: 1fr; }
  .micros-media { order: -1; aspect-ratio: 16/10; }
  .custom-grid { grid-template-columns: 1fr; }
  .custom-media { order: -1; aspect-ratio: 16/10; }
  .micro-chip { width: 44px; height: 44px; font-size: 0.9rem; }
}

@media (max-width: 640px) {
  .elements-grid { grid-template-columns: repeat(2, 1fr); }
  .npk-grid { grid-template-columns: 1fr; }
}
