/* Reset Geral */

body {
  font-family: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  background-color: #f0f8ff;
  color: #333;
}

/* Container padrão */
.container {
  width: 90%;
  max-width: 1500px;
  margin: auto;
}

/* Header */
header {
  background-color: #f0f8ff;
  padding: 1rem 0;
  color: #084d6e
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 90px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;

}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li a {
  color: #084d6e;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff8c00;
}

/* Hero */
.hero {
  background: url(solar.jpg) no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(8, 77, 110, 0.6);
  z-index: 1;
}
.hero {
  position: relative;
  background-image: url('img/solar.jpg'); /* Ajuste o caminho se necessário */
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  
}

.hero .container {
  position: relative;
  z-index: 2;
}

.fade-slide {
  animation: fadeSlideIn 1.5s ease-in-out infinite alternate;
  font-size: 0.9rem;
  margin-top: 20px;
  display: inline-block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0.3;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}


.hero h2,
.hero p,
.cta {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.8rem;
  animation: slide-in-up 1.5s ease-out;
  margin-bottom: 20px;
}


/* Botões */
.cta,
.btn {
  background-color: #ff8c00;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.cta:hover,
.btn:hover {
  background-color: #084d6e;
  color: #ff8c00;
  transform: translateY(-3px);
}

/* Sessões */
.about,
.services,
.servicos {
  padding: 60px 0;
  text-align: center;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  flex: 1 1 300px;
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 10px 5px 5px #ff8c00;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: scale(1.03);
}

.service-item h3 {
  margin-bottom: 15px;
  color: #084d6e;
}

/* Galeria */
.servicos-realizados {
  padding: 80px 0;
  background-color: #f0f8ff;
  text-align: center;
}

.servicos-realizados h2 {
  font-size: 2.5rem;
  color: #084d6e;
  margin-bottom: 40px;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.galeria-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.galeria-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-item:hover {
  transform: scale(1.05);
}

.galeria-section {
  padding: 40px 0;
  background-color: #f5f5f5;
}

.galeria-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.swiper-container {
  padding: 0 20px;
}

.swiper-slide img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}


/* WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 35px;
  height: 35px;
}

/* Footer */
footer {
  background-color: #084d6e;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 1rem;
}

footer a {
  text-decoration: none;
  margin-left: 10px;
  color: inherit;
}

footer i {
  transition: transform 0.3s ease-in-out;
}

footer i:hover {
  transform: scale(1.2);
  color: #ff8c00;
}

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

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 60px 20px;
  }

  .service-item {
    width: 100%;
  }

  .galeria-section {
    background-color: #f0f8ff;
    padding: 100px 0 80px;
    text-align: center;
    margin-top: 80px;
  }

  .galeria-section h2 {
    font-size: 2.5rem;
    color: #084d6e;
    margin-bottom: 50px;
  }

  .swiper {
    padding-bottom: 40px;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
  }

  .swiper-slide img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }

  .swiper-slide img:hover {
    transform: scale(1.05);
  }

}

@media (max-width: 480px) {
  .logo-img {
    width: 70px;
  }

  .cta,
  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .hero h2 {
    font-size: 2rem;
  }
}

.testimonials {
  padding: 60px 20px;
  background-color: #084d6e;
  /* Fundo azul Megawatt */
  text-align: center;
  border-radius: 30px;
}

.testimonials h2 {
  font-size: 2.2rem;
  color: #ff8c00;
  /* Título branco para contraste */
  margin-bottom: 40px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  transition: transform 0.3s ease-in-out;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card h3 {
  font-size: 1.2rem;
  color: #084d6e;
  /* Cor da identidade para nome */
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1rem;
  color: #333;
}

@keyframes slide-in-up {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

:root {
  --primary: #084d6e;
  --accent: #ff8c00;
  --light: #f4f4f4;
  --dark: #222;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--light);
  color: var(--dark);
}

h1 {
  margin: 0;
}

.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  background-color: white;
  color: var(--primary);
  cursor: pointer;
  padding: 15px;
  font-weight: bold;
  border: none;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #eaf4f9;
}

.faq-answer {
  padding: 15px;
  display: none;
  background-color: #fff;
}

.faq-answer.active {
  display: block;
}



/* Formulário */
.contact-section {
  background-color: #fff;
  padding: 60px 20px;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: 2em;
  color: var(--primary);
  margin-bottom: 10px;
}

.contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  width: 100%;
}

.contact-form button {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 14px;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background0.3s ease;
}

.contact-form button:hover {
  background-color: #e67800;

  @keyframes fadeSlide {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Instalação rápida em todo o estado! */

  .fade-slide {
    animation: fadeSlide 1s ease-out;
  }

}

footer {
  background-color: white;
  color: var(--primary);
  text-align: center;
  padding: 20px;
  margin-top: 0px;
}

