/* ========================================
   HERO SECTION - CONTACT PAGE
======================================== */
.hero-contact {
  position: relative;
  height: 115vh;
  overflow: hidden;
}

.hero-contact-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-contact-slider .contact-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  background-image: url("../../images/hero/banner3.png");
}

.hero-contact-slider .contact-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-contact-content {
  position: absolute;
  left: 200px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 420px;
  max-width: 420px;
  padding: 35px 40px;
  background: #08153572;
  border-radius: 2%;
  backdrop-filter: blur(10px);
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  color: var(--primary-color);
}

.hero-contact-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  color: var(--bg-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-contact-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  line-height: 1.7;
}

/* Redes sociais */
.hero-contact .contact-social-sidebar {
  position: absolute;
  bottom: 140px;
  right: 60px;
  top: auto;
  display: flex;
  flex-direction: row;
  gap: 12px;
  z-index: 10;
}

.hero-contact .contact-social-icon {
  width: 48px;
  height: 48px;
  background: #08153586;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.hero-contact .contact-social-icon:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-5px);
  border-radius: 14px;
}

/* Ajustes específicos para formulário de contato */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  transition: var(--transition);
}

.contact-form label {
  font-size: 0.95rem;
}

/* Ajuste para checkboxes */
.contact-form input[type="checkbox"] {
  width: auto !important;
  margin-right: 8px;
}

/* Hover nos cards de informação */
.feature-card:hover .feature-icon {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* ========================================
   RESPONSIVE - CONTACT HERO
======================================== */
@media (max-width: 992px) {
  .hero-contact-content {
    left: 30px;
    width: 380px;
    max-width: 380px;
  }

  .hero-contact-content h1 {
    font-size: 1.8rem;
  }

  .hero-contact .contact-social-sidebar {
    bottom: 110px;
    right: 30px;
  }
}

@media (max-width: 768px) {
  .hero-contact {
    height: 110vh;
  }

  .hero-contact-content {
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    text-align: center;
    padding: 30px 35px;
  }

  .hero-contact-content h1 {
    font-size: 1.6rem;
  }

  .hero-contact-content p {
    font-size: 0.95rem;
  }

  .hero-contact .contact-social-sidebar {
    bottom: 140px;
    top: auto;
    right: 20px;
    left: auto;
    gap: 10px;
    background: transparent;
    padding: 0;
    border-radius: 0;
  }

  .hero-contact .contact-social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-contact .contact-social-icon:hover {
    transform: scale(1.1);
  }

  /* Formulário campos em coluna única no mobile */
  .contact-form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .contact-form div[style*="flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .contact-form {
    padding: 25px 20px !important;
  }
}

/* Layout lado a lado - responsividade */
@media (max-width: 968px) {
  .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

@media (max-width: 576px) {
  .hero-contact-content {
    width: calc(100% - 100px);
    max-width: calc(100% - 100px);
    padding: 25px 30px;
    text-align: center;
  }

  .hero-contact-content h1 {
    font-size: 1.4rem;
  }

  .hero-contact-content p {
    font-size: 0.9rem;
  }

  .hero-contact .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: block;
    margin: 0 auto;
  }

  .hero-contact .contact-social-sidebar {
    bottom: 130px;
    right: 15px;
    gap: 8px;
  }

  .hero-contact .contact-social-icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .hero-contact-content {
    width: calc(100% - 90px);
    max-width: calc(100% - 90px);
  }

  .hero-contact-content h1 {
    font-size: 1.2rem;
  }

  .hero-contact .contact-social-sidebar {
    bottom: 120px;
    right: 10px;
    gap: 8px;
  }

  .hero-contact .contact-social-icon {
    width: 36px;
    height: 36px;
  }
}
