/**
 * Styles pour le bloc Taux Immobiliers
 */

.taux-immo {
  margin: 2rem 0;
}

.taux-immo__container {
  display: flex;
  justify-content: space-between;
  max-width: 80%;
  margin: 70px auto 20px auto;
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  gap: 1rem;
}

.taux-immo__item {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  border-right: 1px solid #e5e5e5;
}

.taux-immo__item:last-child {
  border-right: none;
}

.taux-immo__duration {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.taux-immo__rate {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
}

.taux-immo__trend {
  display: inline-block;
  margin-left: 0.25rem;
}

.taux-immo__trend--up {
  color: #e74c3c;
}

.taux-immo__trend--down {
  color: #2ecc71;
}

/* Responsive */
@media (max-width: 768px) {
  .taux-immo__container {
    flex-direction: column;
  }

  .taux-immo__item {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
  }

  .taux-immo__item:last-child {
    border-bottom: none;
  }
}
