@font-face {
  font-family: "MinhaFonte";
  src: url("../tpg/Comfortaa-Bold.woff2") format("woff2"),
    url("../tpg/Comfortaa-Bold.woff") format("woff"),
    url("../tpg/Comfortaa-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* General Styles */
body {
  font-family: "MinhaFonte", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Styles */
header {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}

header h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

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

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #007bff;
}

/* Hero Section */
.hero {
  background: #2a0944;
  background-size: 400% 400%;
  color: #fff;
  padding: 160px 20px;
  text-align: center;
  position: relative;
  height: 450px;
  animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 599px) {
  .hero {
    height: 600px;
  }
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero h2 {
  font-size: 48px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.hero-button {
  padding: 12px 25px;
  background: linear-gradient(45deg, #3fa796, #0056b2, #67d5b5);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 26px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
  animation: gradientMove 4s ease infinite, pulse 2s infinite ease-in-out;
}

/* Animação para mover o degradê */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Efeito de aumento e diminuição mais forte */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1); /* Aumenta mais no meio do ciclo */
  }
  100% {
    transform: scale(1);
  }
}

.hero-button:hover {
  background-color: transparent; /* Remove a cor sólida no hover */
  transform: scale(1.15); /* Expande um pouco mais no hover */
}

/* Serviços */
#servicos {
  background-color: #f9f9f9;
  padding: 60px 0;
}

#servicos h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
}

.service-card {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  color: #007bff;
  margin-bottom: 15px;
}

.service-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1rem;
  color: #666;
}

/* Button Styles */
.button {
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0056b2;
}

/* Footer Styles */
footer {
  background-color: #343a40;
  color: #adb5bd;
  padding: 40px 0;
}

footer h5 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

footer p,
footer li,
footer a {
  font-size: 0.9rem;
  color: #adb5bd;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #007bff;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.8rem;
}

footer ul li i {
  margin-right: 10px;
}

footer .fab {
  font-size: 1.5rem;
}

footer .fab:hover {
  color: #007bff;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .service-card {
    margin-bottom: 20px;
  }

  #servicos h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-button {
    padding: 10px 20px;
  }
}

/* Navbar Styles */
.navbar {
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.3s; /* Transição suave ao esconder/mostrar */
  background-color: white;
}

.navbar-nav .nav-link {
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  color: #2a0944;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

.navbar-toggler {
  border: none;
}

/* CTA Section */
.cta {
  background-color: #3fa796;
  color: #ffffff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

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

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta .btn {
  background-color: #ffffff;
  color: #343a40;
  border-radius: 25px;
  padding: 10px 30px;
  font-size: 1.1rem;
  transition: background-color 0.3s, color 0.3s;
}

.cta .btn:hover {
  background-color: #e9ecef;
  color: #343a40;
}

@media (max-width: 768px) {
  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1rem;
  }

  .cta .btn {
    font-size: 1rem;
  }
}

.section {
  padding: 50px 0;
}

.section h2 {
  color: #fcca00;
  text-align: left;
}

.icon-box {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

.icon-box i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fcca00;
}

.icon-box:hover {
  background-color: #c2c2c2;
}

.faq-section {
  background-color: #fcca00;
  position: relative;
  height: 300px;
}

.faq-content {
  background-color: #fff;
  padding: 40px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  border-radius: 5px;
}

.faq-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.faq-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.faq-content a {
  font-size: 1.1rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
}

.faq-content a:hover {
  color: #fcca00;
}

.faq-image {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 50%;
  background: url("../img/logotipo_sem_fundo/15.png") no-repeat center
    center/cover;
  z-index: 2;
  border-top-left-radius: 10px; /* Opcional: cria um efeito de borda arredondada */
}

.form-popup {
  display: none;
  position: fixed;
  top: 59%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #ccc;
  padding: 20px;
  background-color: white;
  z-index: 9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 300px;
}

.form-popup h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 20px;
}

.form-popup input,
.form-popup select {
  width: 100%;
  padding: 10px;
  margin: 5px 0 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-popup button {
  width: 100%;
  padding: 10px;
  background-color: #3897f0;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-popup button:hover {
  background-color: #357abd;
}

.close-btn {
  background-color: red;
  margin-top: 10px;
}

.hero-section {
  height: 850px;
  background: linear-gradient(45deg, #2a0944, #4e2ab2, #2a0944, #4e2ab2);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  color: white;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

h1 {
  margin-bottom: 20px;
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: bold;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #4e2ab2;
  border-color: #fff;
}

.chat-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  background-color: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  font-family: Arial, sans-serif;
  background-image: url("assets/img/images/6240b66d5c50c8661eee78b439a7d33c.jpg");
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease-in-out;
}

.chat-header {
  display: flex;
  align-items: center; /* Alinha verticalmente o conteúdo */
  padding: 10px;
  background-color: #25d366;
  border-radius: 10px 10px 0 0;
  color: white;
  position: relative; /* Adicionado para posicionamento absoluto do botão minimizar */
}

.minimize-btn {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  position: absolute; /* Adicionado para posicionamento no canto superior direito */
  top: 10px; /* Ajuste conforme necessário */
  right: 10px; /* Ajuste conforme necessário */
}

.chat-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.chat-info h5 {
  margin: 0;
  font-size: 16px;
}

.chat-body {
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 0 0 10px 10px;
  background-image: url("assets/img/images/6240b66d5c50c8661eee78b439a7d33c.jpg");
}

.message {
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 5px;
}

.received {
  background-color: #e9e9e9; /* Fundo da mensagem do Leonardo */
  color: #686868; /* Cor da mensagem branca gelo */
}

.chat-footer {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background-color: #f9f9f9;
}

.chat-footer input {
  flex-grow: 1;
  margin-right: 10px;
}

.chat-footer button {
  flex-shrink: 0;
  background-color: #25d366;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.chat-footer button i {
  font-size: 16px;
}

.minimized .chat-body,
.minimized .chat-footer {
  display: none;
}

.minimized {
  width: 200px;
  height: 60px;
  bottom: 10px;
  right: 10px;
  border-radius: 10px;
  background-color: #25d366;
}

.minimized .chat-header {
  justify-content: center;
  padding-right: 50px;
}
.dark-mode {
  background-color: #121212;
  color: #ffffff;
}
.dark-mode .navbar,
.dark-mode .footer,
.dark-mode .cta,
.dark-mode .hero-section,
.dark-mode .faq-section {
  background-color: #1e1e1e;
}
.dark-mode .card {
  background-color: #2c2c2c;
  color: #ffffff;
}
.dark-mode .btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}
.dark-mode .btn-outline-light:hover {
  background-color: #ffffff;
  color: #000000;
}
.dark-mode .form-popup {
  background-color: #2c2c2c;
  color: #ffffff;
}
.dark-mode .form-popup input,
.dark-mode .form-popup select {
  background-color: #3c3c3c;
  color: #ffffff;
}
.dark-mode .form-popup button {
  background-color: #ffffff;
  color: #000000;
}
.dark-mode .hero {
  background: #2a0944;
  color: #ffffff;
}
.dark-mode .hero-button {
  background: linear-gradient(45deg, #3fa796, #0056b2, #67d5b5);
  color: #ffffff;
}
.dark-mode .hero-button:hover {
  background-color: transparent;
  color: #ffffff;
}
.dark-mode .service-card {
  background-color: #2c2c2c;
  color: #ffffff;
}
.dark-mode .service-card:hover {
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}
.dark-mode .cta {
  background-color: #3fa796;
  color: #ffffff;
}
.dark-mode .cta .btn {
  background-color: #ffffff;
  color: #343a40;
}
.dark-mode .cta .btn:hover {
  background-color: #e9ecef;
  color: #343a40;
}
.dark-mode footer {
  background-color: #343a40;
  color: #adb5bd;
}
.dark-mode footer a {
  color: #adb5bd;
}
.dark-mode footer a:hover {
  color: #007bff;
}
.dark-mode .chat-popup {
  background-color: #2c2c2c;
  color: #ffffff;
}
.dark-mode .chat-header {
  background-color: #1e1e1e;
  color: #ffffff;
}
.dark-mode .chat-body {
  background-color: rgba(0, 0, 0, 0.9);
  color: #ffffff;
}
.dark-mode .chat-footer {
  background-color: #1e1e1e;
  color: #ffffff;
}
.dark-mode .received {
  background-color: #3c3c3c;
  color: #ffffff;
}
.dark-mode .nav-link {
  color: #ffffff;
}
.dark-mode .icon-box {
  background-color: #2c2c2c;
  color: #ffffff;
}
.dark-mode .icon-box i {
  color: #3fa796;
}
.dark-mode .icon-box h4 {
  color: #ffffff;
}
.dark-mode .icon-box p {
  color: #adb5bd;
}
.dark-mode .faq-section h2,
.dark-mode .faq-section p {
  color: #000000;
}
.card {
  border: none;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
}
.card .icon {
  color: #fec260;
}
.card a {
  text-decoration: none;
}
.btn-custom {
  background-color: #3fa796;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}
.btn-custom:hover {
  background-color: #2a0944;
  color: #fec260;
}

.cont {
  background:#2a0944;
  background-size: 400% 400%;
  color: #2a0944;
  animation: gradientAnimation 15s ease infinite;
}

.form-popup h2 {
  color: #fec260;
}

.form-popup button {
  background: linear-gradient(45deg, #a8e063, #56ab2f, #a8e063);
  background-size: 200% 200%;
  animation: gradientAnimation 3s ease infinite;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  cursor: pointer;
}

.whatsapp-icon i {
  color: #25d366;
}
