@import url("/src/css/components/_background-gradient.css");
@import url("/src/css/components/_typography.css");
@import url("/src/css/components/_navbar.css");
@import url("/src/css/components/_article.css");
@import url("/src/css/components/_contato.css");
@import url("/src/css/components/_footer.css");

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #013440;
  background-color: #F0F8FF;
  overflow-x: hidden;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* CTA BUTTONS */
.btn-primary,
.btn-secondary {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  margin: 0.75rem 0.5rem;
  display: inline-block;
  transition: all 0.4s ease;
}

.btn-primary {
  background-color: #00A8A8;
  color: #F0F8FF;
  box-shadow: 0 0.25rem 1rem rgba(0, 168, 168, 0.3);
}

.btn-primary:hover {
  background-color: #6A00F4;
  box-shadow: 0 0.25rem 1rem rgba(106, 0, 244, 0.5);
  transform: translateY(-0.25rem);
}

.btn-secondary {
  background-color: #F0F8FF;
  color: #013440;
  border: 2px solid #00A8A8;
}

.btn-secondary:hover {
  background-color: #00FF7F;
  color: #013440;
  box-shadow: 0 0.25rem 1rem rgba(0, 255, 127, 0.4);
  transform: translateY(-0.25rem);
}

.btn {
  width: 50%;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

/* SEÇÕES */
section {
  padding: 4rem 1rem;
  background-color: #F0F8FF;
  transition: background 0.4s ease;
}

section:nth-of-type(even) {
  background-color: #ffffff;
}

/* Fade in sections */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.cards-servicos,
.cards-portfolio,
.cards-blog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

/* CARDS FUTURISTAS */
.card {
  background: linear-gradient(145deg, #ffff, #F0F8FF);
  border-radius: 1rem;
  display: flex;
  flex-direction: row;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease, transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle at center, rgba(106, 0, 244, 0.15), transparent 70%);
  transition: all 0.4s ease;
  z-index: 0;
}

.card:hover::after {
  transform: scale(1.2) rotate(10deg);
}

.card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.card.no-hover-effect {
  transform: none !important;
  transition: none !important;
}

.card img:not(.img-artigo-capa) {
  max-width: 4rem;
  border-radius: 12px;
  margin: 1rem;
  z-index: 1;
}

.card a {
  position: relative;
  text-decoration: none;
  color: #013440;
  z-index: 1;
}

.img-artigo-capa {
  max-width: 100%;
  margin-bottom: 1rem;
}


.carousel-indicators button {
  background-color: #00A8A8;
}

.carousel-indicators .active {
  background-color: #00FF7F;
  opacity: 1;
}


/* BOTÃO FLUTUANTE WHATSAPP */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.5rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  color: white;
  font-size: 2rem;
}

.whatsapp-float img {
  display: flex;
  width: 3.5rem;
}

/* Animação de pulsar */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* BANNER COOKIES E PRIVACIDADE */
.banner-cookie {
  width: 80%;
  height: auto;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  position: fixed;
  bottom: 2rem;
  background: #013440;
  gap: 0.5rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  border-radius: 1rem;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  left: 50%;
  transform: translateX(-50%);

}

.banner-cookie p,
.banner-cookie a {
  margin: 0;
  text-align: center;
  text-decoration: none;
  color: #fff;
}

.footer-pages {
  background: none;
}

.gr-privacidade a,
.gr-termos a,
.footer-direitos a {
  color: #013440;
  text-decoration: none;
}


/* RESPONSIVIDADE GERAL */
@media (min-width: 768px) {
  body{
    overflow-x: clip !important;
  }

  header#hero img {
    max-width: 25%;
  }

  h1 {
    font-size: 2.8rem;
  }

  .cards-servicos,
  .cards-portfolio,
  .cards-blog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .cards-servicos,
  .cards-portfolio,
  .cards-blog {
    grid-template-columns: repeat(3, 1fr);
  }

  .whatsapp-float {
    width: 5rem;
    height: 5rem;
  }

  .whatsapp-float i {
    font-size: 2rem;
  }

  .whatsapp-float img {
    width: 5rem;
  }
}