/* Áreas de atuação — grid 2 colunas */
.ib-areas-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.ib-areas-copy {
  text-align: center;
}

@media (min-width: 768px) {
  .ib-areas-copy {
    text-align: left;
  }
}

.ib-areas-copy .rt-home-v4-heading {
  margin-bottom: 0 !important;
}

.ib-areas-copy p.rt-gap-off {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .ib-areas-copy p.rt-gap-off {
    margin-left: 0;
    margin-right: 0;
  }
}

.ib-display-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  opacity: 1;
  animation: ib-display-cards-in 0.7s ease both;
}

@media (min-width: 640px) {
  .ib-display-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@keyframes ib-display-cards-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-display-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 9.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid #e0e4da;
  border-radius: 0.75rem;
  background: #f9f6f3;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}

.ib-display-card:hover {
  border-color: rgba(158, 146, 113, 0.55);
  background: #fff;
  box-shadow: 0 8px 28px rgba(31, 42, 28, 0.08);
  transform: translateY(-2px);
}

.ib-display-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ib-display-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #1f2a1c;
  flex-shrink: 0;
}

.ib-display-card-icon img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ib-display-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1f2a1c;
  line-height: 1.25;
}

.ib-display-card-desc {
  margin: 0;
  font-size: 0.875rem;
  color: #414e3d;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ib-display-card-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: #9e9271;
}

.ib-areas-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 48rem;
  margin: 0 auto;
  padding-top: 0.5rem;
}

.ib-areas-more a {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border: 1px solid #e0e4da;
  border-radius: 999px;
  background: #f9f6f3;
  color: #1f2a1c;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.ib-areas-more a:hover {
  background: #fff;
  border-color: #9e9271;
}

.ib-areas-more a.ib-areas-cta {
  background: #1f2a1c;
  border-color: #1f2a1c;
  color: #f9f6f3;
}

.ib-areas-more a.ib-areas-cta:hover {
  background: #2f3c2c;
}

@media (max-width: 639px) {
  .ib-display-card {
    min-height: auto;
  }
}
