/*=========================================
  SEÇÃO 5 - BENEFÍCIOS PRINCIPAIS (4 TRANSFORMAÇÕES)
=========================================*/
.transformations-section {
  padding: 100px 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos de fundo */
.transformations-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544v2.83L25.456 30l-1.414 1.414L0 7.544v2.83L20.456 30l-1.414 1.414L0 12.544v2.83L15.456 30l-1.414 1.414L0 17.544v2.83L10.456 30l-1.414 1.414L0 22.544v2.83L5.456 30 4.04 31.414 0 27.544v2.83L.544 30 0 30.544v-30zm0 36.686l5.456 5.457-1.414 1.414L0 39.03v2.828l1.542 1.542L0 44.544v-7.858zm0 18.686l.544.544-1.415 1.415L-1.415 60H.284l3.657-3.657-1.414-1.414L0 57.372v2.83L1.543 60h2.83L.284 55.372zm60-1.656L56.456 60h2.828L60 59.056v-5.34zm0-5.656L51.456 60h2.828L60 52.828v-5.312zM39.88 60l16.94-16.94-1.413-1.416L38.465 60h1.413zm-9.9 0l22.626-22.626-1.413-1.416L27.565 60h2.413zm-9.9 0l28.312-28.313-1.414-1.414L18.664 60h1.414zM.284 54.627L54.627 0H36.286L.284 35.97v18.656z' fill='%23000' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-attachment: fixed;
  z-index: 1;
}

/* Container principal */
.transformations-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

/* Título principal */
.transformations-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 80px;
  color: var(--primary);
  font-weight: 800;
  position: relative;
}

.transformations-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 4px;
}

/* Grid de transformações */
.transformations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  transform: rotate(-2deg);
  margin: 0 -20px;
  padding: 20px;
}

.transformation-item {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  position: relative;
  transform: rotate(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Animação de entrada */
.transformation-item.visible {
  opacity: 1;
  transform: rotate(2deg) translateY(0);
}

.transformation-item:hover {
  transform: rotate(2deg) translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Número de ordem (blueprint style) */
.transformation-number {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 100px;
  font-weight: 900;
  color: rgba(10, 77, 64, 0.07);
  line-height: 0.8;
  font-family: 'Consolas', monospace;
  z-index: 1;
}

/* Ícone conceitual */
.transformation-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.transformation-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--secondary);
}

/* Título do benefício */
.transformation-item-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

/* Descrição do benefício */
.transformation-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

/* Antes/Depois visual */
.transformation-before-after {
  display: flex;
  margin-top: 25px;
  border-top: 1px solid var(--light-gray);
  padding-top: 15px;
}

.transformation-before,
.transformation-after {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

.transformation-before::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--secondary);
}

.transformation-before {
  border-right: 1px dashed #ddd;
  position: relative;
}

.micro-illustration {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.transformation-before .micro-illustration {
  filter: grayscale(100%);
}

.transformation-after .micro-illustration {
  color: var(--primary);
}

.transformation-state {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.transformation-before .transformation-state {
  color: #888;
}

.transformation-after .transformation-state {
  color: var(--primary);
}

/* CTA principal */
.transformations-cta {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(241, 143, 28, 0.3);
  margin-top: 50px;
  width: fit-content;
  margin: 2rem auto 0;
  white-space: nowrap;
  display: flex;
}

.transformations-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(241, 143, 28, 0.4);
  background-color: var(--secondary-light);
}

/* Responsividade */
@media (max-width: 992px) {
  .transformations-section {
    padding: 80px 0;
  }
  
  .transformations-title {
    font-size: 32px;
    margin-bottom: 60px;
  }
  
  .transformations-grid {
    gap: 30px;
  }
  
  .transformation-item {
    padding: 30px 25px;
  }
  
  .transformation-number {
    font-size: 80px;
  }
  
  .transformation-icon {
    width: 70px;
    height: 70px;
  }
  
  .transformation-item-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .transformations-section {
    padding: 60px 0;
  }
  
  .transformations-title {
    font-size: 28px;
    margin-bottom: 50px;
  }
  
  .transformations-grid {
    grid-template-columns: 1fr;
    transform: none;
    margin: 0;
  }
  
  .transformation-item {
    transform: none;
    padding: 25px 20px;
  }
  
  .transformation-item.visible {
    transform: none;
  }
  
  .transformation-item:hover {
    transform: translateY(-5px);
  }
  
  .transformation-number {
    font-size: 60px;
    opacity: 0.05;
  }
  
  .transformation-icon {
    width: 60px;
    height: 60px;
  }
  
  .transformations-cta {
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
  .transformations-section {
    padding: 50px 0;
  }
  
  .transformations-title {
    font-size: 24px;
    margin-bottom: 40px;
  }
  
  .transformations-title::after {
    width: 60px;
    height: 3px;
    bottom: -10px;
  }
  
  .transformation-item {
    padding: 20px 15px;
  }
  
  .transformation-icon {
    width: 50px;
    height: 50px;
  }
  
  .transformation-item-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .transformation-description {
    font-size: 14px;
  }
  
  .transformation-before-after {
    margin-top: 15px;
    padding-top: 10px;
  }
  
  .micro-illustration {
    width: 30px;
    height: 30px;
  }
  
  .transformation-state {
    font-size: 10px;
  }
  
  .transformations-cta {
    padding: 14px 28px;
    font-size: 14px;
    margin-top: 30px;
  }
}