:root {
  --bg-primary: #F5EFE7;
  --text-dark: #2C3E50;
  --text-muted: #7F8C8D;
  --accent-gold: #D4AF37;
  --accent-dark: #8B7355;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.08);
}

body {
  background-color: var(--bg-primary);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
}

.contact-section {
  padding: 3rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  animation: fadeInDown 0.6s ease-out;
}

.section-subtitle {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  animation: fadeInLeft 0.6s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control,
.input-group-text {
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  transform: scale(1.01);
}

.input-group-text {
  background: var(--bg-primary);
  border-right: none;
  color: var(--accent-dark);
}

.input-group .form-control {
  border-left: none;
}

.input-group:focus-within .input-group-text {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  background: linear-gradient(135deg, #ba613d 0%, #c27351 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #ba613d 0%, #c27351 100%);
}

.btn-submit:active {
  transform: translateY(0);
}

.contact-info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow);
  animation: fadeInRight 0.6s ease-out;
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.contact-item:hover {
  background: var(--bg-primary);
  transform: translateX(5px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bd6743 0%, #c1704e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.contact-icon i {
  font-size: 1.25rem;
  color: var(--white);
}

.contact-details h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent-dark);
}

.text-danger {
  color: #E74C3C !important;
}

.alert {
  border-radius: 8px;
  animation: slideDown 0.4s ease-out;
}

/* Animações */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividade */
@media (max-width: 991px) {
  .section-title {
    font-size: 1.75rem;
  }

  .form-card,
  .contact-info-card {
    margin-bottom: 1.5rem;
  }

  .contact-section {
    padding: 2rem 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
  }

  .form-card {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }
}