* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  color: #333;
  /* margin-top: 20px; */
}

.hero {
  position: relative;
  height: 100vh;
  /* height: 76vh; */
  display: flex;
  align-items: center;
  /* align-items: bottom; */
  justify-content: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.animated-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    /* #006ba6 0%, */ #16699f 0%,
    /* #0496d6 50%, */ #1fa4cf 50%,
    /* #f5a623 100% */ /* #EACE7B 100% */ #ffc12e 100%
  );
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.waves {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 200px;
}

.wave {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat-x;
  animation: wave 20s linear infinite;
}

.wave:nth-child(2) {
  animation: wave 15s linear infinite reverse;
  opacity: 0.5;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.header-background {
  position: absolute;
  top: 22px;
  left: 0;
  width: 100%;
  height: 153px; /* Ajuste conforme a altura do seu header */
  background: linear-gradient(135deg, #006ba6, #0496d6);
}

/* .header {
    position: relative;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
} */

.header {
  /* position: fixed; */
  position: relative;
  top: 0;
  width: 100%;
  /* padding: 20px 50px; */
  padding: 10px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* z-index: 1000; */
  z-index: 100;
  background: rgba(255, 255, 255, 0.1);
  /* background: rgba(255, 255, 255, 0.95); /* Aumente a opacidade */
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

/* .header.scrolled {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
      } */

.logo {
  font-size: 2em;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.header.scrolled .logo {
  color: #006ba6;
  text-shadow: none;
}

.sun-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f5a623, #fbb040);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.6);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.language-selector {
  display: flex;
  gap: 15px;
}

.lang-btn {
  cursor: pointer;
  width: 40px;
  height: 30px;
  border-radius: 5px;
  border: 2px solid #fff;
  transition: all 0.3s;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
}

.header.scrolled .lang-btn {
  border-color: #006ba6;
}

.lang-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
  background: #f5a623;
  border-color: #f5a623;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* z-index: 200; */
  text-align: center;
  color: white;
  /* padding: 20px; */
  max-width: 900px;
  /* margin-top: 50px; */
  /* margin-top: 9px; */
  margin-top: -131px;

  z-index: 200;
}

.hero-content h1 {
  font-size: 4.5em;
  /* margin-bottom: 20px; */
  /* text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5); */
  text-shadow: 3px 3px 6px rgb(238 230 230 / 50%);
  animation: fadeInDown 1s ease;
  color: #f5a630;

  position: relative;
  z-index: 201;
}

.hero-content p {
  font-size: 1.8em;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s both;
}

.header-content {
  margin-bottom: 33px;
}

.logo img {
  /*max-width: 7rem;*/
  max-width: 5.5rem;
  height: auto;
  width: 100%;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn {
  padding: 18px 40px;
  font-size: 1.2em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.btn-primary {
  background: linear-gradient(135deg, #f5a623, #fbb040);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(245, 166, 35, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.section {
  padding: 100px 50px;
}

.section-light {
  background: #f8f9fa;
}

.section-dark {
  background: linear-gradient(135deg, #006ba6, #0496d6);
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 3em;
  margin-bottom: 30px;
  text-align: center;
}

.hero-extra-info {
  margin-top: 50px;
  animation: fadeInUp 1s ease 0.9s both;
}

.hero-extra-info p {
  font-size: 1.4em;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.hero-extra-info p span {
  font-weight: bold;
  color: #f5a623;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  font-size: 1.1em;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 4em;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.8em;
  color: #006ba6;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  max-width: 600px;
  margin: 60px auto 0;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #006ba6;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1em;
  transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #006ba6;
  box-shadow: 0 0 10px rgba(0, 107, 166, 0.2);
}

input::placeholder {
  font-size: 15px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ################# */
/* Container Principal do Ícone Flutuante whatsapp*/
#whatsapp-icon {
  position: fixed;
  /* Posição fixa em relação à tela */
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background-color: #25d366;
  /* Verde do WhatsApp */
  color: #fff;
  border-radius: 50%;
  /* Deixa o container redondo */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  /* Garante que fique acima de outros elementos */
  transition: transform 0.3s ease;
}

#whatsapp-icon:hover {
  transform: scale(1.1);
  /* Efeito de zoom ao passar o mouse */
}

/* Modal de Chat */
#whatsapp-modal {
  position: fixed;
  bottom: 90px;
  /* Posição acima do ícone */
  right: 20px;
  width: 320px;
  max-width: 90%;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 999;

  /* Animação de entrada e saída */
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  /* Começa escondido */
  transition: all 0.4s ease-in-out;
  margin-bottom: 8px;
}

/* Classe para mostrar o modal */
#whatsapp-modal.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.modal-header {
  /* background-color: #075E54; */
  background-color: #16699f;
  color: #fff;
  padding: 20px;
  text-align: center;
  position: relative;
  border: 1px solid #888;
}

.modal-header img {
  width: 80px;
  height: auto;
}

.start-chat-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #25d366;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.success-message {
  display: none;
  background: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

/* Contatos Instagram - WhatsApp */
.fa-brands,
.fab {
  font-weight: 600;
  font-size: 30px;
  color: #fff;
}

.fa-brands:hover,
.fab {
  color: #006ba6;
}

.link-instagram {
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-right: 30px;
}

.link-telefone {
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  /* margin-right: 30px; */
}

.link-telefone:hover {
  color: #f5a630;
}

.link-instagram:hover {
  color: #f5a630;
}


@media (max-width: 933px) and (orientation: landscape) {
  .hero {
    min-height: 141vh; /* Garanta altura suficiente */
  }

    .btn {
    padding: 10px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 123vh; /* Garanta altura suficiente */
  }

    .btn {
    padding: 10px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3em;
  }

  .hero-content p {
    font-size: 1.2em;
    margin: 0 10px 15px;
    line-height: 1.2;
  }

  .header {
    padding: 15px 20px;
  }

  .section {
    padding: 60px 20px;
  }

  h2 {
    font-size: 2em;
  }
}

@media (max-width: 576px) {
  .hero-content {
    margin-top: -128px;
  }

  /* .hero {
           height: 85vh;
        } */
}

@media (max-width: 480px) {
  .logo img {
    max-width: 5rem;
  }

  .hero-extra-info {
    margin: 40px 15px;
  }

  .link-instagram {
    /* margin-right: 13px; */
    margin-right: 3px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 376px) {
  .hero-content h1 {
    line-height: 1;
    margin-bottom: 10px;
  }

  .hero {
    min-height: 110vh; /* Garanta altura suficiente */
  }

  .btn {
    padding: 9px 20px;
    font-size: 1.1em;
  }
}

@media (max-width: 321px) {
  .btn-secondary {
    padding: 15px 10px;
    font-size: 1.1rem;
  }

  .btn-primary {
    font-size: 1.1rem;
  }

  /* .hero {
          height: 91vh;
        } */

  h2 {
    font-size: 1.8em;
    line-height: 1.3;
  }

  .container p {
    font-size: 1.2em !important;
    line-height: 1.4 !important;
  }
  
  .link-instagram {
        margin: 0 7px;
  }
}
