/* .solar--container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  background: #fff8e1;
  border-radius: 8px;
}
.solar--container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffcc00, #ff9900);
  z-index: -1;
  transition: transform 0.3s ease;
}
.solar--container:hover::before {
  transform: scale(1.05);
}

.solar--img {
  width: 40%;
  height: auto;
  border-radius: 8px;
}

.solar--showLogo {
  animation: solar--showLogo both;
  animation-timeline: view(50% 20%);
} 

@keyframes solar--showLogo {
  0% {
    opacity: 0;
    transform: translateX(-200px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

.solar--container svg {
  width: 100px;
  height: 100px;
  fill: #ffcc00;
  animation: solar--rotateSVG linear infinite;
  animation-duration: 10s;
}

@media (max-width: 768px) {
  .solar--container {
    flex-direction: column;
    text-align: center;
  }

  .solar--container img {
    width: 80%;
  }
} */

/* --- ESTILOS DO COMPONENTE SOLAR --- */

/* Wrapper principal que atua como link */
.solar-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  max-width: 1000px;
  width: 100%;
  outline: none;
}

.solar--container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(255, 204, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

/* Efeito de Hover na Card Inteira */
.solar-card--link:hover .solar--container {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 153, 0, 0.15);
  border-color: rgba(255, 204, 0, 0.5);
}

/* Elementos Decorativos de Fundo (SVGs e Gradientes) */
.solar--container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 0, 0.05),
    rgba(255, 153, 0, 0.1)
  );
  border-radius: 50% 0 0 50%;
  z-index: -2;
  transition: transform 0.6s ease;
}

.solar-card--link:hover .solar--container::before {
  transform: scale(1.5) translateX(-50px);
}

/* SVG Animado 1: Linhas de Engenharia / Circuito */
.solar--svg-lines {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.solar--svg-lines path {
  stroke: #ff9900;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 10 10;
  animation: dashMove 20s linear infinite;
}

/* SVG Animado 2: Sol Geométrico Giratório */
.solar--svg-sun {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  fill: none;
  stroke: #ffcc00;
  stroke-width: 1.5;
  animation: solar--rotateSVG 25s linear infinite;
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
}

/* Conteúdo da Imagem */
.solar--img-wrapper {
  flex: 0 0 45%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.solar--img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  margin-bottom: 20px;
}

/* Efeito de zoom na imagem ao passar o mouse */
.solar-card--link:hover .solar--img {
  transform: scale(1.08);
}

.solar--showLogo {
  animation: solar--showLogo--animation both;
  animation-timeline: view(50% 20%);
} 

@keyframes solar--showLogo--animation {
  0% {
    opacity: 0;
    transform: translateX(-200px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* Conteúdo de Texto */
.solar--content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solar-card--link:hover .tittle-decoration::after {
  width: 100px;
}

.solar--description {
  color: #4a5568;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* Call to Action (Botão) */
.solar--cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e68a00;
  font-weight: 600;
  font-size: 1.05rem;
  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.solar--cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.solar-card--link:hover .solar--cta {
  gap: 1rem;
  color: #cc7a00;
}

/* Keyframes */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes solar--rotateSVG {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -100;
  }
}

/* Responsividade */
@media (max-width: 900px) {
  .solar--container {
    padding: 2rem;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .solar--container {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .solar--img-wrapper {
    width: 100%;
    max-height: 300px;
  }

  .solar--container::before {
    width: 100%;
    height: 150px;
    top: auto;
    bottom: 0;
    border-radius: 50% 50% 0 0;
  }

  .solar-card--link:hover .solar--container::before {
    transform: scale(1.1) translateY(-10px);
  }
}
