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

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 15px;
  font-weight: 700;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Header e navegação */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(14, 33, 64, 0.9);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.menu a:hover {
  color: #d4af37;
}

.mobile-menu-icon {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 20px;
}

/* Hero Section */
.hero {
  background-color: #0e2140;
  padding: 120px 0 80px;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("public/bg-initial.png") center/cover no-repeat;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  padding-right: 30px;
  margin-top: 10px;
}

.logo {
  text-align: center;
}

.hero-info h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 30px;
  text-align: center;
  margin-top: -60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-info span {
  color: #d4af37;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #128c7e, #25d366);
  color: #fff;
  padding: 12px 40px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 auto 15px;
  width: fit-content;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: linear-gradient(45deg, #11a392, #26f070);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn i {
  margin-right: 8px;
  font-size: 18px;
}

.small-text {
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
}

.hero-image {
  padding: 0 20px;
  width: 400px;
  height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeIn 1s ease-out;
  border: 3px solid #d4af37;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #172a51;
  margin-bottom: -320px;
}

.hero-image img {
  position: absolute;
  width: 400px;
  bottom: 0;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: #f9f5eb;
}

.services h2 {
  color: #0e2140;
  font-size: 32px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.services h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #d4af37;
}

.services-intro {
  max-width: 800px;
  margin-bottom: 50px;
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.service-card .icon {
  width: 70px;
  height: 70px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #0e2140;
  font-size: 28px;
  transition: all 0.3s ease;
}

.service-card:hover .icon {
  background-color: #0e2140;
  color: #d4af37;
}

.service-card h3 {
  color: #0e2140;
  font-size: 18px;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  font-size: 14px;
}

/* About Section */
.about {
  background-color: #0e2140;
  color: #fff;
}
.bg-about {
  padding: 80px 0;
  background: url("public/bg-about.png") center/cover no-repeat;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about h2 {
  color: #d4af37;
  font-size: 32px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.about h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #d4af37;
}

.about p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.highlight {
  color: #d4af37;
  font-weight: 600;
  font-size: 18px;
}

.about-image {
  border-radius: 10px;
}

/* Social Section */
.social {
  padding: 60px 0;
  background-color: #0e2140;
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social h2 {
  color: #d4af37;
  font-size: 32px;
  margin-bottom: 15px;
}

.social p {
  margin-bottom: 30px;
  color: #ccc;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #e7d69f;
  transform: translateY(-5px);
}

/* Contact Section */

.contact {
  background-color: #f3e7c65e;
}

.bg-contact {
  padding: 80px 0;
  background: url("public/bg-talk.png") center/cover no-repeat;
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact h2 {
  color: #0e2140;
  font-size: 32px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.contact h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #d4af37;
}

.contact p {
  margin-bottom: 30px;
  color: #555;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #128c7e, #25d366);

  color: #fff;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  cursor: pointer;
}

.contact-btn:hover {
  background: linear-gradient(45deg, #11a392, #26f070);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn i {
  margin-right: 8px;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  margin-right: 15px;
  font-size: 20px;
  color: #0e2140;
  width: 25px;
}

.contact-item p {
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-item small {
  color: #845935;
  font-size: 12px;
}

/* teste */
.contact-form-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 20px;
  background-color: #0e2140;
  border-bottom: 1px solid #091935;
}

.contact-form-container h1 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.form {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: white;
}

.form div {
  display: flex;
  flex-direction: column;
}

.form input {
  padding: 10px;
  border: 1px solid #888888;
  border-radius: 5px;
  background-color: transparent;
  color: #ffffff;
}

.form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 100px;
  background-color: transparent;
  color: #ffffff;
}

.form button {
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  transition: all 0.2s ease;
  background-color: #ebc342c4;
  color: #fff;
}

.form button:hover {
  background-color: #b4983ac4;
}

.error-message {
  color: red;
  font-size: 14px;
  display: block;
  margin-top: 4px;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px;
  color: white;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0; /* Inicialmente invisível */
  visibility: hidden; /* Inicialmente invisível */
  transition: opacity 0.5s ease, visibility 0.5s ease; /* Transição suave */
  z-index: 1000;
}

.notification.show {
  opacity: 1;
  visibility: visible;
  background-color: #4caf50;
}

.notification.error {
  opacity: 1;
  visibility: visible;
  background-color: #f44336;
}

.spinner {
  border: 2px solid #fff;
  border-top: 2px solid #000;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 1s linear infinite;
}

#submit-button {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.map {
  flex: 1;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #0e2140;
  color: #fff;
  padding: 20px 0;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  width: 200px;
  height: 200px;
}

.footer-logo .imagem-logo-footer {
  position: relative;
}

.footer-info,
.footer-credits {
  font-size: 12px;
  color: #ccc;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  animation: pulse 2s infinite;
}

.whatsapp-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

/* Botão WhatsApp */
.whatsapp-button-wrapper {
  position: relative;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
  transition: transform 0.2s, background-color 0.2s;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  transform: scale(1.05);
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
}

.whatsapp-button i {
  font-size: 1.6rem;
}

/* Efeito de pulsação */
.pulse-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Formulário */
.whatsapp-form {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  padding: 16px;
  display: none;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 20;
}

.whatsapp-form.visible {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.form-header h3 {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
}

.form-header h3 svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  color: #25d366;
}

.close-button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.close-button:hover {
  background-color: #f0f0f0;
}

.close-button svg {
  width: 14px;
  height: 14px;
  color: #666;
}

/* Campos do formulário */
.input-group {
  position: relative;
  margin-bottom: 12px;
}

.input-group svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #999;
}

.input-group input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
  outline: none;
  border-color: #25d366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.1);
}

.submit-button {
  width: 100%;
  height: 40px;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#submitForm {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.submit-button:hover {
  background-color: #128c7e;
}

.submit-button:active {
  transform: translateY(1px);
}

/* Triângulo conectando ao botão */
.form-triangle {
  position: absolute;
  bottom: -8px;
  right: 24px;
  width: 16px;
  height: 16px;
  background-color: white;
  transform: rotate(45deg);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

/* Estilo para o botão de envio quando está enviando */
.submit-button.sending {
  background-color: #128c7e;
  cursor: not-allowed;
  opacity: 0.8;
}

/* Responsividade */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    margin-bottom: 40px;
    padding-right: 0;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
    margin-bottom: 30px;
  }

  .hero-image {
    height: 350px;
    width: 350px;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .mobile-menu-icon {
    display: block;
  }

  .whatsapp-form {
    width: 260px;
    right: 0;
  }

  .form-triangle {
    right: 20px;
  }

  .menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: #0e2140;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: all 0.4s ease;
    z-index: 999;
  }

  .menu.active {
    height: 100vh;
    left: 0;
  }

  .menu li {
    margin: 15px 0;
  }

  nav {
    justify-content: flex-start;
  }

  .contact-content {
    flex-direction: column;
  }

  .map {
    height: 300px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-info {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-info h1 {
    font-size: 28px;
  }

  .hero-image img {
    max-width: 280px;
  }

  .service-card {
    padding: 20px 15px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  .form {
    width: 100%;
  }

  .footer-logo-image .imagem-logo-footer {
    display: hidden;
  }
}
