﻿/* CARD DU CAROUSEL UNIQUEMENT */
#carousel-cards .card {
  border-radius: 18px;
  border: 1px solid #e3e7eb; /* ← BORDURE FONCTIONNELLE */
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 40px;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  background: #f0f8ff;
}

.step-title {
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.step-number {
  background: #005f73;
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 1.1rem;
}

.step-intro {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 20px;
}

.step-list {
  flex-grow: 1;
}

.step-list li {
  margin-bottom: 6px;
}

/* Progress dots */
.progress-dots {
  text-align: center;
  margin-top: 20px;
}

.progress-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 4px;
  background: #ccc;
  border-radius: 50%;
}

.progress-dots .active {
  background: #005f73;
}

/* ----------------------------------------------------
   BOUTONS MARINE – CONTRASTE FORT (Android-safe)
---------------------------------------------------- */

/* Neutralise les styles actifs Bootstrap */
button.btn:active,
button.btn:focus {
  background-color: inherit !important;
  color: inherit !important;
  box-shadow: none !important;
}

/* Style par défaut */
button.button-devis.btn {
  background-color: #005f73 !important; /* Marine profond */
  color: #ffffff !important;            /* Blanc pur */
  border-radius: 6px;
  padding: 10px 20px;
  border: none;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

/* Hover (desktop) — contraste fort */
button.button-devis.btn:hover {
  background-color: #0a9396 !important; /* Turquoise marine vif */
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Active (Android + Desktop) — très sombre */
button.button-devis.btn:active {
  background-color: #003845 !important; /* Marine très profond */
  color: #ffffff !important;
  transform: translateY(0);
}

/* Focus — variation nette sans bordure */
button.button-devis.btn:focus {
  background-color: #056b7c !important; /* Marine focus distinct */
  color: #ffffff !important;
}

/* ----------------------------------------------------
   RESPONSIVE MOBILE
---------------------------------------------------- */
@media (max-width: 576px) {
  #carousel-cards .text-center.mt-4 {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #carousel-cards .text-center.mt-4 .btn {
    width: 100%;
  }

  #carousel-cards .iframe-wrapper {
    width: 100%;
  }

  #carousel-cards .iframe-wrapper iframe {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  #carousel-cards .card {
    padding: 20px;
    min-height: auto;
    gap: 20px;
  }
}
