/* ==========================================================================
   DOBRA 02 — BENEFITS (Muito mais que proteção)
   ========================================================================== */

.fold-benefits {
  background-color: #fffdf0; /* Amarelo bem clarinho (saturação baixa) */
  color: #000;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Layout em duas colunas no desktop (Split Layout) */
.fold-benefits__container {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: stretch; /* Alterado para esticar e alinhar a base com os cards */
  gap: 3rem; /* Espaço entre texto e cards */
}

/* Coluna Esquerda: Texto */
.fold-benefits__header {
  flex: 0 0 26%; /* Reduzido para dar mais espaço aos 3 cards simultaneamente */
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.fold-benefits__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.25rem, 3.5vw, 3rem); /* Fonte um pouco menor para quebrar mais linhas */
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111827;
}

.fold-benefits__title span {
  color: var(--color-campaign-dark);
}

.fold-benefits__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #374151; 
  line-height: 1.5;
}

.fold-benefits__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563; 
}

/* Botão Principal Esquerdo */
.fold-benefits__main-btn {
  margin-top: auto; /* Empurra o botão para a base, alinhando com os cards */
  padding: 1rem 2.5rem;
  background: var(--color-campaign); /* Botão amarelo chamativo */
  border: none;
  border-radius: var(--radius-full);
  color: #111827;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(245, 184, 0, 0.4);
  animation: heartbeat 2s infinite ease-in-out;
  transform-origin: center;
  will-change: transform;
}

.fold-benefits__main-btn:hover {
  background: #111827;
  color: var(--color-campaign);
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(17, 24, 39, 0.3);
  animation: none; /* Para a animação no hover para focar na interação */
}

/* Coluna Direita: Grade de Cards */
.fold-benefits__cards-wrapper {
  flex: 1; /* Ocupa todo o resto do espaço */
  min-width: 0; 
}

.fold-benefits__cards-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  /* Sem overflow, sem scroll, os 3 cards cabem na tela */
}

/* ── Product Cards (Modern App-like Aesthetic) ── */
.product-card {
  flex: 1;
  min-width: 0;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-gray-200);
  text-align: left;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Statically Highlighted Card */
.product-card--highlighted {
  background-color: var(--color-campaign);
  border-color: var(--color-campaign);
  box-shadow: 0 15px 35px rgba(245, 184, 0, 0.2);
}

.product-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.product-card__text {
  flex: 1;
}

.product-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #111827;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.product-card--highlighted .product-card__title {
  color: #111827;
}

.product-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.product-card--highlighted .product-card__desc {
  color: #111827;
}

.product-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background-color: #ffffff;
}

.product-card--highlighted .product-card__arrow {
  background-color: #111827;
  border-color: #111827;
  color: var(--color-campaign);
}

.product-card__arrow i, .product-card__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__arrow i, 
.product-card:hover .product-card__arrow svg {
  transform: rotate(45deg);
}

.product-card__bottom {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* Tornou a imagem (e o card) mais alta para alinhar melhor */
  margin-top: auto; 
  border-radius: 16px;
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: 100%;
  background-color: #e5e7eb;
  background-size: cover;
  background-position: center 80%; /* Ajuste fino: 80% desce um pouco o veículo em relação ao 'bottom' (100%) */
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__icon {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-campaign);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 2;
}

.product-card--highlighted .product-card__icon {
  background-color: #111827;
  color: var(--color-campaign);
}

.product-card__icon i, .product-card__icon svg {
  width: 20px;
  height: 20px;
}

/* ── Mobile Responsiveness ── */
@media (max-width: 1100px) {
  .fold-benefits__container {
    flex-direction: column;
    gap: 2.5rem;
  }
  .fold-benefits__header {
    flex: none;
    max-width: 100%;
  }
  .fold-benefits__main-btn {
    margin-top: 1.5rem; /* Reseta o margin-top auto */
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 0.95rem; /* Botão um pouco menor */
  }
  .fold-benefits__cards-grid {
    flex-direction: column; /* Empilha os cards um embaixo do outro */
    overflow-x: visible; /* Remove o scroll horizontal */
    gap: 1.5rem;
  }
  .product-card {
    flex: none;
    width: 100%;
  }
  .product-card__bottom {
    aspect-ratio: 16 / 9; /* Retângulo panorâmico para não ficar muito alto */
  }
}

@media (max-width: 768px) {
  .fold-benefits {
    padding: 4rem 1.5rem;
  }
  .product-card {
    padding: 1.25rem;
  }
  .product-card__bottom {
    aspect-ratio: 2 / 1; /* Ainda mais estreito na altura para focar bem no veículo sem ocupar muita tela */
  }
  .fold-benefits__main-btn {
    padding: 0.875rem;
    font-size: 0.9rem; /* Botão menor no celular */
  }
}
