/* CONTACTO.CSS - FAQ CENTRALIZADA */

.page-hero {
  min-height: 50vh;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.75)),
    url('../images/banner-contacto.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.12), transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

.page-hero-content h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-gray);
}

.contacto-section {
  padding: clamp(4rem, 6vw, 6rem) 1.5rem;
  background: var(--light-bg);
}

.contacto-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contacto-info h2,
.contacto-form-wrapper h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.intro-text {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.info-cards {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  background: var(--dark-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.info-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--accent-color);
}

.social-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-links-vertical a {
  display: block;
  padding: 0.5rem 0;
}

/* FAQ CENTRALIZADA - LARGURA COMPLETA */
.faq-section {
  grid-column: 1 / -1;
  margin-top: 3rem;
  max-width: 100%;
}

.faq-section h3 {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: center;
}

.faq-container {
  display: grid;
  gap: 1.5rem;
  max-width: 100%;
}

.faq-item {
  background: var(--dark-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.faq-item h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-item p {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 1rem;
}

.contacto-form {
  background: var(--dark-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--light-bg);
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.checkbox-group input[type='checkbox'] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-info {
  font-size: 0.85rem;
  color: var(--text-gray);
  text-align: center;
  margin-top: 1rem;
}

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22c55e;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.form-success.active {
  display: block;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  color: #22c55e;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.form-success p {
  color: var(--text-gray);
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .contacto-container {
    grid-template-columns: 1fr;
  }

  .contacto-form {
    padding: 2rem;
  }

  .faq-section {
    grid-column: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
