/* ==========================================================================
   netholter-custom.css
   Estilos específicos do formulário, modal, whatsapp e responsividade
   ========================================================================== */

/* 1. Header Fixo & Navegação Suave */
html {
  scroll-behavior: smooth;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

#logo {
  max-height: 60px;
  width: auto;
  display: block;
}

#top-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}

#top-menu li a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease;
}

#top-menu li a:hover {
  color: #0077cc;
}

/* 2. Menu Mobile */
@media (max-width: 980px) {
  #et-top-navigation nav {
    display: none;
  }
  #et_mobile_nav_menu {
    display: block;
    cursor: pointer;
  }
  .mobile_menu_bar:before {
    content: "\61";
    font-family: 'ETmodules' !important;
    font-size: 32px;
    color: #333333;
  }
  .mobile-menu-active #top-menu-nav {
    display: block !important;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 20px;
  }
  .mobile-menu-active #top-menu {
    flex-direction: column;
    gap: 16px;
  }
}

@media (min-width: 981px) {
  #et_mobile_nav_menu {
    display: none;
  }
}

/* 3. Formulário Nativo (Idêntico ao FormCraft) */
.nh-form-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 20px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.nh-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nh-form-row {
  width: 100%;
}

.nh-field-group {
  display: flex;
  flex-direction: column;
}

.nh-field-group label {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.nh-req {
  color: #ffdddd;
  font-weight: bold;
}

.nh-field-group input,
.nh-field-group textarea {
  width: 100%;
  background-color: #80889b;
  border: 1px solid #707788;
  border-radius: 4px;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 15px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.nh-field-group input::placeholder,
.nh-field-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.nh-field-group input:focus,
.nh-field-group textarea:focus {
  outline: none;
  background-color: #727a8d;
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.nh-field-group textarea {
  resize: vertical;
  min-height: 120px;
}

.nh-form-actions {
  text-align: center;
  margin-top: 10px;
}

.nh-btn-submit {
  display: inline-block;
  background-color: #80889b;
  border: 2px solid #707788;
  border-radius: 4px;
  color: #ffffff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 42px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nh-btn-submit:hover {
  background-color: #707788;
  border-color: #ffffff;
  transform: translateY(-1px);
}

.nh-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Feedback do Formulário */
.nh-feedback {
  margin-top: 15px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
  font-weight: 500;
}

.nh-feedback.success {
  background-color: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  color: #ffffff;
}

.nh-feedback.error {
  background-color: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  color: #ffffff;
}

/* 4. Modal Dr. Moacir Carlos de Sousa Júnior */
.nh-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.nh-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 4, 22, 0.9);
  backdrop-filter: blur(5px);
}

.nh-modal-dialog {
  position: relative;
  background: #001135;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  padding: 40px 35px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  z-index: 10;
  box-sizing: border-box;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.nh-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nh-modal-close:hover {
  opacity: 1;
}

.nh-modal-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  text-align: center;
}

.nh-modal-subhead {
  display: block;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  color: #33ccff;
  text-align: center;
  margin-bottom: 25px;
}

.nh-modal-content p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0 0 12px 0;
  padding: 0;
}

/* 5. Botão Flutuante do WhatsApp */
.nh-whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99990;
}

.nh-whatsapp-float a {
  text-decoration: none;
}

.nh-wa-icon-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  padding: 10px 18px 10px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nh-wa-icon-box:hover {
  background-color: #20ba59;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.nh-wa-text {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

@media (max-width: 480px) {
  .nh-wa-text {
    display: none;
  }
  .nh-wa-icon-box {
    padding: 12px;
    border-radius: 50%;
  }
}
