/* ── Variables couleurs ── */
:root {
  --maxy-primary: #06A3DA;
  --maxy-dark:    #091E3E;
  --maxy-success: #28a745;
  --maxy-warning: #ffc107;
  --maxy-danger:  #dc3545;
}

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, rgba(9,30,62,0.92) 0%, rgba(6,163,218,0.75) 100%),
              url('public/img/header-bg.jpg') center center / cover no-repeat;
  min-height: 120vh;
  display: flex;
  align-items: center;
}
.hero-form {
  backdrop-filter: blur(4px);
  border-top: 4px solid var(--maxy-primary);
}
.check-list li {
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-list li i {
  color: var(--maxy-primary);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── Section title décoré ── */
.section-title::after {
  content: '';
  display: none;
  width: 60px;
  height: 4px;
  background: var(--maxy-primary);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-title.text-center::before
{
  content: '';
  display: none;
 
}


/* ── Cards d'avantages ── */
@media (min-width: 992px) {
  .row-cols-lg-5 > * { flex: 0 0 auto; width: 20%; }
}
.advantage-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(6,163,218,.18) !important;
}

/* ── Numéro d'étape ── */
.step-number {
  position: absolute;
  top: -14px;
  right: -10px;
  background: var(--maxy-primary);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
  z-index: 1;
}
.step-number.bg-success { background: var(--maxy-success) !important; }

/* ── Tableau comparatif ── */
.compare-card {
  transition: transform .25s ease;
}
.compare-card:hover { transform: translateY(-4px); }

/* ── Badge search ── */
.search-badge { transition: all .3s ease; }
.search-badge:hover {
  background-color: #e7f3ff !important;
  border-color: var(--maxy-primary) !important;
  color: var(--maxy-primary) !important;
  transform: translateY(-2px);
}

/* Correction pour les badges de recherche sur mobile */
.search-badge {
    white-space: normal !important; /* Autorise le retour à la ligne */
    text-align: left;               /* Aligne le texte à gauche pour la lecture */
    display: inline-block;          /* Garde l'aspect badge */
    max-width: 100%;                /* Empêche de dépasser du parent */
    word-wrap: break-word;          /* Coupe les mots trop longs si besoin */
    line-height: 1.4;               /* Aère le texte sur plusieurs lignes */
    margin-bottom: 5px;             /* Espace entre les badges */
}

/* Optionnel : Ajuster la taille du texte sur mobile pour les très petits écrans */
@media (max-width: 576px) {
    .search-badge {
        font-size: 0.8rem; 
        padding: 10px !important; /* Plus facile à cliquer au doigt */
    }
}




/* ── Accordion FAQ ── */
.accordion-button:not(.collapsed) {
  background-color: #e8f6fd;
  color: var(--maxy-primary);
  font-weight: 600;
}
.accordion-button::after { filter: invert(38%) sepia(85%) saturate(600%) hue-rotate(170deg); }

/* ── Pack pricing cards ── */
.pricing-popular {
  transform: scale(1.02);
  z-index: 10;
  position: relative;
}

/* ── CTA principal ── */
.cta-btn-primary {
  background: linear-gradient(135deg, var(--maxy-primary), #0481ad);
  border: none;
  letter-spacing: .5px;
  transition: opacity .2s;
}
.cta-btn-primary:hover { opacity: .9; }