/* Contacto Styles - Identidade visual do site */

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contactoSection {
  width: 100%;
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  background-color: #7ea8c9;
}

.contactoContainer {
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
}

.contactoWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Info Section */
.contactoInfo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contactoInfoCard {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contactoInfoIcon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #24231f 0%, #3a3935 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contactoInfoIcon i {
  font-size: 1.75rem;
  color: white;
}

.contactoInfoCard h2 {
  color: #24231f;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contactoInfoCard p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1rem;
}

.contactoInfoCard p:last-child {
  margin-bottom: 0;
}

/* Contacto Directo */
.contactoDirecto {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contactoDirecto h3 {
  color: #24231f;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #7ea8c9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contactoDirecto h3 i {
  color: #7ea8c9;
}

.contactoDirectoItem {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.contactoDirectoItem:last-child {
  border-bottom: none;
}

.contactoDirectoItem:hover {
  padding-left: 0.5rem;
}

.contactoDirectoItem i {
  color: #24231f;
  min-width: 20px;
  text-align: center;
}

.contactoDirectoItem a,
.contactoDirectoItem span {
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contactoDirectoItem a:hover {
  color: #7ea8c9;
}

/* Form Section */
.contactoFormCard {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contactoFormCard h2 {
  color: #24231f;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #7ea8c9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contactoFormCard h2 i {
  color: #7ea8c9;
}

.contactoFormCard form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.formGroup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.formGroup label {
  color: #24231f;
  font-weight: bold;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.formGroup label i {
  color: #7ea8c9;
  font-size: 0.85rem;
}

.formGroup input,
.formGroup textarea {
  background-color: #f8f9fa;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 2px solid #eee;
  color: #24231f;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.formGroup input:focus,
.formGroup textarea:focus {
  outline: none;
  border-color: #7ea8c9;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(126, 168, 201, 0.15);
}

.formGroup input::placeholder,
.formGroup textarea::placeholder {
  color: #aaa;
}

.formGroup textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.contactoFormCard button {
  background: linear-gradient(135deg, #24231f 0%, #3a3935 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.contactoFormCard button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(36, 35, 31, 0.3);
}

.contactoFormCard button:active {
  transform: translateY(-1px);
}

.contactoFormCard button i {
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contactoWrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contactoInfo {
    order: 2;
  }

  .contactoForm {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contactoSection {
    padding: 2rem 0;
  }

  .contactoContainer {
    padding: 0 1rem;
  }

  .contactoInfoCard,
  .contactoFormCard,
  .contactoDirecto {
    padding: 1.5rem;
  }

  .contactoInfoIcon {
    width: 60px;
    height: 60px;
  }

  .contactoInfoIcon i {
    font-size: 1.5rem;
  }

  .contactoInfoCard h2,
  .contactoFormCard h2 {
    font-size: 1.25rem;
  }

  .contactoInfoCard p {
    font-size: 0.95rem;
  }

  .formGroup input,
  .formGroup textarea {
    padding: 0.875rem 1rem;
  }

  .contactoFormCard button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contactoInfoCard,
  .contactoFormCard,
  .contactoDirecto {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .contactoInfoIcon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .contactoInfoIcon i {
    font-size: 1.25rem;
  }

  .contactoInfoCard h2 {
    font-size: 1.15rem;
  }

  .contactoFormCard h2 {
    font-size: 1.1rem;
  }

  .formGroup label {
    font-size: 0.9rem;
  }

  .formGroup input,
  .formGroup textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .formGroup textarea {
    min-height: 120px;
  }

  .contactoFormCard button {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .contactoDirectoItem {
    gap: 0.75rem;
  }

  .contactoDirectoItem a,
  .contactoDirectoItem span {
    font-size: 0.9rem;
  }
}
