/* about.css - Versão colorida e vibrante */
.about {
  padding: 120px 0;
  position: relative;
  background-color: #5452fe;
  overflow: hidden;
  width: 100%;
}

/* Elementos de fundo */
.about-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #5452fe 0%, #7760ff 50%, #9d6fff 100%);
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.shape-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  right: -100px;
  background: rgba(255, 102, 204, 0.15);
  animation: float 15s ease-in-out infinite alternate;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  left: -150px;
  background: rgba(102, 204, 255, 0.15);
  animation: float 18s ease-in-out infinite alternate-reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 40%;
  transform: translateX(-50%) translateY(-50%);
  background: rgba(102, 255, 153, 0.1);
  animation: pulse 10s ease-in-out infinite;
}

.bg-dots-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.5;
}

/* Container e Card */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.about-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 60px;
  width: 95%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-shape {
  position: absolute;
  border-radius: 16px;
  z-index: 0;
}

.card-shape-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
  background: rgba(255, 102, 204, 0.1);
  transform: rotate(15deg);
}

.card-shape-2 {
  width: 150px;
  height: 150px;
  bottom: -40px;
  left: 10%;
  background: rgba(102, 204, 255, 0.1);
  transform: rotate(-10deg);
}

.card-shape-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 10%;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  background: transparent;
  animation: rotate 20s linear infinite;
}

/* Conteúdo principal */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* Texto à esquerda */
.about-label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.about-subtitle {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 15px;
  border-radius: 50px;
}

.label-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.5), transparent);
}

.about-heading {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 32px;
  color: white;
}

.gradient-text-about {
  background: linear-gradient(135deg, #fc6dab 0%, #ffb66d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight-text {
  color: #ffffff;
  position: relative;
  font-weight: 600;
}

.highlight-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #fc6dab, #ffb66d);
}

.about-description-wrapper {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.description-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  position: relative;
  overflow: hidden;
}

.description-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fc6dab 0%, #ffb66d 100%);
  opacity: 0.2;
}

.description-icon.accent::before {
  background: linear-gradient(135deg, #66ccff 0%, #6cd9fc 100%);
}

.about-description,
.about-description-detail {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.about-description-detail {
  color: rgba(255, 255, 255, 0.8);
}

/* Imagem à direita */
.about-image-container {
  position: relative;
  margin-top: 30px;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.6s ease;
  z-index: 1;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
  transform: scale(1.03);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

/* .image-dots {
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 10px 10px;
  z-index: 0;
}

.image-dots-1 {
  top: 10%;
  right: -30px;
  border-radius: 10px;
}

.image-dots-2 {
  bottom: 10%;
  left: -30px;
  border-radius: 10px;
} */

/* Estatísticas - layout colorido */
.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
  position: relative;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.metric-item {
  color: white;
  position: relative;
  display: flex;
  gap: 20px;
}

.metric-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, #fc6dab 0%, #ffb66d 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 10px 20px rgba(252, 109, 171, 0.2);
}

.metric-icon.accent-1 {
  background: linear-gradient(135deg, #66ccff 0%, #6cd9fc 100%);
  box-shadow: 0 10px 20px rgba(102, 204, 255, 0.2);
}

.metric-icon.accent-2 {
  background: linear-gradient(135deg, #ffcc66 0%, #fcd96c 100%);
  box-shadow: 0 10px 20px rgba(255, 204, 102, 0.2);
}

.metric-content {
  flex-grow: 1;
}

.metric-value-about {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  display: inline-block;
}

.metric-symbol {
  font-size: 32px;
  font-weight: 600;
  position: relative;
  top: -6px;
  margin-left: 2px;
}

.metric-label-about {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.metric-description {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 90%;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20%,
  100% {
    left: 100%;
  }
}

/* Animações de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-subtitle,
.about-heading,
.about-description-wrapper {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.about-subtitle {
  animation-delay: 0.1s;
}
.about-heading {
  animation-delay: 0.3s;
}
.about-description-wrapper:nth-child(3) {
  animation-delay: 0.5s;
}
.about-description-wrapper:nth-child(4) {
  animation-delay: 0.7s;
}

.about-image-container {
  opacity: 0;
  animation: fadeInRight 1s ease forwards;
  animation-delay: 0.5s;
}

.metric-item {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

.metric-item:nth-child(2) {
  animation-delay: 1.1s;
}
.metric-item:nth-child(3) {
  animation-delay: 1.3s;
}

/* Hover Effects */
.metric-icon {
  transition: transform 0.3s ease;
}

.metric-item:hover .metric-icon {
  transform: scale(1.1) rotate(10deg);
}

.about-image-wrapper {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Responsividade */
@media (max-width: 991px) {
  .about-card {
    padding: 40px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-container {
    order: -1; /* Imagem acima do texto em telas menores */
  }

  .about-heading {
    font-size: 36px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .metric-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 20px;
  }

  .metric-value {
    font-size: 48px;
  }

  .metric-symbol {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }

  .about-card {
    padding: 30px;
    width: 100%;
  }

  .about-heading {
    font-size: 30px;
  }

  .about-description-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .description-icon {
    align-self: flex-start;
  }
}
