/* ==========================================
 * PÁGINA CULTURAS
 * ========================================== */

.culturas-page {
  min-height: 100vh;
  background-color: #f8fafc;
}

/* Hero */

.hero-culturas {
  background: radial-gradient(circle at top left, #22c55e 0%, #16a34a 35%, #0f766e 100%);
  padding: 7rem 2rem 4.5rem;
  text-align: center;
  color: #ffffff;
  margin-bottom: 0;
}

.hero-culturas-container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-culturas-textos {
  max-width: 900px;
  margin: 0 auto;
}

.hero-culturas-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.hero-culturas-tag i {
  font-size: 0.85rem;
}

.page-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

/* Seção culturas (parte branca) */

.culturas-section {
  padding: 4rem 1rem 5rem;
  background: #ffffff;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1f2933;
  margin-bottom: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.section-subtitle-destaque {
  font-size: 1.02rem;
  color: #1f2933;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1.6rem;
}

.section-subtitle-secundaria {
  font-size: 0.98rem;
  color: #5a6c7d;
  text-align: center;
  max-width: 720px;
  margin: 1.4rem auto 3rem;
}

/* Filtros */

.culturas-filtros {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.filtro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease,
              box-shadow 0.2s ease, border-color 0.22s ease;
}

.filtro-pill i {
  font-size: 0.9rem;
}

.filtro-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  border-color: rgba(23, 66, 131, 0.5);
}

.filtro-pill.active {
  background: #174283;
  color: #ffffff;
  border-color: #174283;
  box-shadow: 0 0 0 2px rgba(23, 66, 131, 0.3);
}

/* Grid de culturas */

.culturas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card */

.cultura-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top left, #ecfff7 0%, #f7fafc 45%, #edf2f7 100%);
  border-radius: 20px;
  padding: 2.1rem 1.8rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    opacity 0.35s ease,
    filter 0.2s ease;
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.cultura-card-hidden {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.cultura-card-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cultura-card-filtrado {
  border-color: #066839;
  box-shadow: 0 0 0 2px rgba(6, 104, 57, 0.25);
  background: radial-gradient(circle at top left, #fff7e8 0%, #ecfff7 40%, #f7fafc 100%);
}

.cultura-card::before {
  content: '';
  position: absolute;
  width: 160%;
  height: 160%;
  top: -80%;
  right: -40%;
  background: radial-gradient(circle at top, rgba(16, 185, 129, 0.22), transparent 60%);
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cultura-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
  background: radial-gradient(circle at top left, #e6fff4 0%, #f9fbff 45%, #edf2f7 100%);
  border-color: rgba(16, 185, 129, 0.45);
}

.cultura-card:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Cabeçalho do card */

.cultura-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.cultura-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f766e;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.cultura-icon i {
  font-size: 1.2rem;
}

.cultura-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
}

.cultura-tag-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
}

/* Conteúdo do card */

.cultura-nome {
  font-size: 1.4rem;
  font-weight: 700;
  color: #102a43;
  margin-bottom: 0.4rem;
  font-family: 'Montserrat', sans-serif;
}

.cultura-desc {
  font-size: 0.95rem;
  color: #4b5a6b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

/* Rodapé do card + botão */

.cultura-footer {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cultura-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: #ffffff;
  color: #174283;
  min-width: 190px;
  height: 44px;
  border: #174283 0.11em solid;
  border-radius: 999px;
  padding: 0 1.6em;
  font-size: 0.83rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  cursor: pointer;
}

.cultura-button svg {
  width: 1.2em;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.cultura-button-text {
  white-space: nowrap;
}

.cultura-button:hover {
  background-color: #174283;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 66, 131, 0.35);
}

.cultura-button:hover svg {
  transform: translateX(4px);
}

/* CTA final */

.cta-culturas {
  padding: 4rem 2rem;
  background: radial-gradient(circle at top, #111827 0%, #020617 55%);
  text-align: center;
  color: #ffffff;
}

.cta-culturas .container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
  font-family: 'Montserrat', sans-serif;
}

.cta-text {
  font-size: 1.02rem;
  margin-bottom: 0.9rem;
  opacity: 0.96;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-cta i {
  font-size: 1.125rem;
}

.btn-primary {
  background: #22c55e;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.5);
}

/* WHATSAPP FLUTUANTE (layout igual ao Produtos) */

.whatsapp-floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-floating-button {
  background-color: #22c55e;
  color: #ffffff;
  font-size: 26px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease;
  flex-shrink: 0;
}

.whatsapp-floating-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.7);
  background-color: #16a34a;
}

.whatsapp-floating-message {
  position: relative;
  background: #ffffff;
  color: #0f172a;
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 240px;
  min-height: 52px;
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.28);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.whatsapp-floating-message::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 18px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 1px solid rgba(148, 163, 184, 0.28);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  transform: rotate(-45deg);
}

.whatsapp-floating-message.visible {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-floating-message span {
  display: block;
  max-width: 100%;
}

/* Responsivo */

@media (max-width: 768px) {
  .hero-culturas {
    padding: 3.5rem 1.4rem 2.8rem;
  }

  .page-title {
    font-size: 1.9rem;
    white-space: normal;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-text {
    font-size: 0.98rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .whatsapp-floating {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .whatsapp-floating-button {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }

  .whatsapp-floating-message {
    max-width: 190px;
    font-size: 0.82rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .culturas-filtros {
    gap: 0.5rem;
  }

  .filtro-pill {
    font-size: 0.72rem;
    padding: 0.45rem 0.9rem;
  }

  .whatsapp-floating-message {
    display: none;
  }
}