/* ===========================
   ✅ Correction du slider sur mobile
   =========================== */
@media (max-width: 768px) {

  /* Garde la fille visible à droite */
  .dl-hero-single {
    background-position: 75% center !important; /* Décale un peu plus sur la droite */
    background-size: cover !important;
    height: 900px !important;
    position: relative;
    overflow: visible !important; /* Affiche le contenu interne */
  }

  /* Réaffiche correctement les boutons */
  .dl-hero-single .at_hero_slider {
    position: relative;
    z-index: 2;
  }

  .dl-hero-single::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* Légère ombre pour garder le texte lisible */
    z-index: 1;
  }

  /* Ajuste les titres et boutons pour mobile */
  .at-hero-title p,
  .at-hero-title span {
    position: relative;
    z-index: 3;
  }
}

/* ===========================
   ✅ Style des boutons outline
   =========================== */
.btn-outline {
  display: inline-flex;
  align-items: center; /* Aligne verticalement l’icône et le texte */
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 260px; /* Taille fixe pour uniformiser */
  justify-content: left; /* Aligne le contenu à gauche */
}

.btn-outline:hover {
  background-color: #000;
  color: var(--text-color, #f1c40f); /* Couleur par défaut si PHP non chargé */
}

.btn-outline svg {
  margin-right: 8px; /* Espacement entre icône et texte */
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.button-container:hover .btn-outline svg {
  transform: translateX(5px); /* Animation légère au survol */
}
.faq-accordion .accordion-item {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 20px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.faq-accordion .accordion-button::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.faq-accordion .accordion-button.active::after {
    content: '−';
}

.faq-accordion .accordion-button:hover {
    background: rgba(255,255,255,0.1);
}

.faq-accordion .accordion-content {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #ddd;
}

.faq-accordion .accordion-content p {
    padding: 10px 0;
    margin: 0;
}


.btn-outline {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 260px;
    justify-content: left;
}

.btn-outline:hover {
    background-color: #000;
    /* tu peux remplacer la variable PHP par une couleur fixe si tu veux que ça marche aussi sans PHP */
    color: var(--couleurtext, #f8c000);
}

.btn-outline svg {
    margin-right: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.button-container:hover .btn-outline svg {
    transform: translateX(5px);
}

/* =======================
   À propos / About Section
======================= */

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    padding: 0 10px;
}

/* Effet hover pour les cartes */
.shadow-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shadow-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Amélioration hover icone */
.icon-wrapper img {
    transition: transform 0.3s ease;
}
.about-info-box:hover .icon-wrapper img {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive */
@media (max-width: 768px) {
    .about-text {
        font-size: 1.05rem;
    }
}



