/* Hero Section com Background */
.faleconosco-hero {
  padding: 80px 0 80px;
  min-height: 50vh;
  background-image: url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1920&q=80");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
}

.faleconosco-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(35, 23, 115, 0.85) 0%,
    rgba(26, 18, 85, 0.85) 100%
  );
  z-index: 1;
}

.faleconosco-hero-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.faleconosco-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.faleconosco-hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
	.faleconosco-hero {
		padding: 100px 0 60px;
		min-height: 45vh;
	}
	
	.faleconosco-hero h1 {
		font-size: 2.5rem;
	}
	
	.faleconosco-hero p {
		font-size: 1.1rem;
	}
}

/* Estrutura da página */
.contato-section {
  max-width: 1320px;
  margin: -120px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.contato-status-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.status-banner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(35, 23, 115, 0.12);
  background: rgba(35, 23, 115, 0.06);
  color: #231773;
  box-shadow: 0 14px 32px rgba(35, 23, 115, 0.12);
  animation: fadeInUp 0.4s ease-out;
}

.status-banner--success {
  background: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.status-banner--error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.status-banner--info {
  background: rgba(35, 23, 115, 0.08);
  color: #231773;
  border-color: rgba(35, 23, 115, 0.16);
}

.status-banner__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  text-align: center;
}

.status-banner__details p {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
}

.contato-wrapper {
  max-width: 1320px;
  margin: 48px auto 0;
  padding: 100px 24px 64px;
}

.contato-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contato-grid {
    grid-template-columns: 1.75fr 1fr;
    align-items: start;
  }
}

.contato-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(35, 23, 115, 0.08);
  box-shadow: 0 20px 48px rgba(35, 23, 115, 0.12);
  overflow: hidden;
}

.contato-card__body {
  padding: 32px;
}

.contato-card--form .contato-card__body {
  padding: 40px;
}

.contato-card__body--compact {
  padding: 28px 32px 24px;
}

.contato-card__header {
  background: #231773;
  color: #ffffff;
  padding: 20px 24px;
  border-radius: 24px 24px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contato-card__title {
  margin: 0;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.contato-card__subtitle {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.form-actions {
  margin-top: 24px;
}

.form-feedback {
  margin-bottom: 24px;
}

.form-feedback:empty {
  margin: 0;
}

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  padding: 16px 28px;
  border-radius: 999px;
  border: none !important;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, #231773 0%, #2d1f8a 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 14px 32px rgba(35, 23, 115, 0.25);
}

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

.status-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.status-icon--spin {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid rgba(35, 23, 115, 0.25);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background: linear-gradient(135deg, #231773 0%, #2d1f8a 100%);
  border-color: #231773;
}

.form-check-input:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check-label {
  color: #475569;
  line-height: 1.6;
  font-size: 0.9rem;
}

.form-check-label small {
  display: block;
  font-size: 0.75rem;
  color: inherit;
}

.contato-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contato-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
}

.contato-info-item i,
.contato-info-item svg {
  color: #231773;
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.contato-info-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contato-info-link {
  color: #231773;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contato-info-link:hover {
  color: #ffc107;
}

.social-icons {
  margin-top: 48px;
}

.social-icons__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #231773;
  border: 1px solid rgba(35, 23, 115, 0.12);
  box-shadow: 0 12px 28px rgba(35, 23, 115, 0.12);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

.social-btn span {
  display: inline-block;
  white-space: nowrap;
}

.social-btn:hover,
.social-btn:focus-visible {
  background: linear-gradient(135deg, #231773 0%, #3729a0 100%);
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(35, 23, 115, 0.22);
  transform: translateY(-4px);
}

.social-btn:hover svg,
.social-btn:focus-visible svg {
  transform: scale(1.1);
  fill: currentColor;
}

.social-btn.instagram:hover,
.social-btn.instagram:focus-visible {
  background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%);
}

.social-btn.whatsapp:hover,
.social-btn.whatsapp:focus-visible {
  background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
}

.h-captcha-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.contato-map {
  margin: 0 32px 32px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(35, 23, 115, 0.12);
  box-shadow: 0 16px 36px rgba(35, 23, 115, 0.12);
}

.contato-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.form-check-link {
  display: inline;
  margin: 0;
  color: #231773;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.form-check-link:hover {
  color: #ffc107;
}

@media (max-width: 767px) {
  .contato-card--form .contato-card__body {
    padding: 32px 24px;
  }

  .contato-card__body--compact {
    padding: 24px 24px 20px;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Mensagens de feedback */
.form-message {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 32px;
  font-weight: 500;
  animation: fadeInUp 0.4s ease-out;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}

.form-message::before {
  content: "";
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.form-message.success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23155724'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.form-message.error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23721c24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

/* Formulário de Contato */
.contato-form {
  animation: slideInLeft 0.8s ease-out;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #231773;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.form-group label .required {
  color: #dc3545;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(35, 23, 115, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  color: #231773;
  background: #ffffff;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
  background: #ffffff;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #28a745;
}

.form-group input:invalid:not(:placeholder-shown):not(:focus),
.form-group textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #dc3545;
}

/* Estados de foco para acessibilidade */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.submit-btn:focus-visible,
.whatsapp-btn:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px solid rgba(35, 23, 115, 0.06);
  transition: all 0.3s ease;
}

.checkbox-group:has(input:checked) {
  background: rgba(255, 193, 7, 0.05);
  border-color: rgba(255, 193, 7, 0.2);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #ffc107;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-group label a {
  color: #231773;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.checkbox-group label a:hover {
  color: #ffc107;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #1a1255 0%, #231773 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(35, 23, 115, 0.3);
}

.submit-btn:hover::before {
  left: 100%;
}

/* Informações de Contato */
.contato-info {
  animation: slideInRight 0.8s ease-out;
}

.info-item:hover {
  background: #ffffff;
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.info-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #231773 0%, #2d1f8a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(35, 23, 115, 0.2);
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  background: linear-gradient(135deg, #ffc107 0%, #ffd54f 100%);
  transform: scale(1.1);
}

.info-icon svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  transition: fill 0.3s ease;
}

.info-item:hover .info-icon svg {
  fill: #231773;
}

.info-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #231773;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.info-content p,
.info-content a {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: #ffc107;
}
