/* Section principale */
.container-acc2 {
    background-color: #1d64ff;
    padding-top: 79px;
    padding-bottom: 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

/* Style du contenu */
.flex-col {
    text-align: left;
    color: white;
    max-width: 600px;
    padding: 0 20px;
    margin-left: 8%;
}

.text-4xl {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-lg {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 500px;
    opacity: 0.9;
}

/* Section Services */
#services {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-top: -50px;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .container-acc2 {
        min-height: 40vh;
    }

    .flex-col {
        padding: 0 20px;
        margin-left: 5%;
    }

    .text-4xl {
        font-size: 3rem;
    }

    .text-lg {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .container-acc2 {
        min-height: 35vh;
    }

    .flex-col {
        padding: 0 15px;
    }

    .text-4xl {
        font-size: 2.5rem;
    }

    .text-lg {
        font-size: 1rem;
    }
}

/* Animation pour les statistiques */
.stat-number {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects pour les cartes */
.shadow-lg {
    transition: all 0.3s ease;
}

.shadow-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Style pour les boutons de contact */
.inline-flex {
    transition: all 0.2s ease;
}

.inline-flex:hover {
    transform: scale(1.05);
}

/* Section Marques */
.brands-section {
    background: linear-gradient(to bottom, #f8fafc, #fff);
}

.brand-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.brand-icon {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.brand-icon img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-card:hover .brand-icon img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .brand-card {
        padding: 1.5rem;
    }

    .brand-icon {
        padding: 1rem;
    }
}

/* Container des marques */
.container-brands {
    background-color: rgba(74, 118, 238, 0.788);
    padding: 5rem;
    margin: 1rem auto;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 10px 20px -5px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    height: vh;

}

/* Grille des marques */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Carré individuel */
.brand-square {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2),
        0 10px 10px -5px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
}

.brand-square::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: -1;
}

.brand-square img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}

.brand-square h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.brand-square p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Media Queries */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .brands-grid {
        grid-template-columns: repeat(2, 3fr);
    }

    .container-brands {
        padding: 1.5rem;
        margin: 1rem;
    }

    .brand-square {
        padding: 1.5rem;
    }
}


/* navbar */

/* Désactiver l'animation de survol des liens dans la navbar */
.navbar a {
    position: relative;
}

/* Effet de soulignement au survol */
.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1d64ff;
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

/* Pas de soulignement pour le bouton Se connecter */
.navbar a[href*="login"]::after {
    display: none;
}

/* Style du menu mobile */
#mobile-menu {
    border-top: 1px solid #e5e7eb;
    background-color: white;
}

#mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
}

#mobile-menu a:hover {
    background-color: #f3f4f6;
}
.navbar{
    background-color: #ffffff;
    box-shadow: 0 20px 10px rgba(17, 17, 17, 0.473);
}





/* Effet de soulignement au survol */



/* faq */

/* FAQ */
#faq .faq-item {
    background-color: white;
    padding: 20px;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Style de la bordure latérale de la FAQ */
#faq .faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    /* Nouveau dégradé avec des couleurs plus modernes */
    background: linear-gradient(to bottom, 
        #00ffea,    /* Cyan électrique */
        #ff00ff,    /* Magenta vif */
        #4a00e0     /* Violet profond */
    );
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.4);
}

/* Animation au survol */
#faq .faq-item:hover::before {
    height: 100%;
    animation: neonBorderPulse 2s infinite;
}

/* Animation de la bordure avec effet néon */
@keyframes neonBorderPulse {
    0% {
        box-shadow: 0 0 5px rgba(0, 255, 234, 0.4),
                   0 0 8px rgba(255, 0, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 255, 234, 0.6),
                   0 0 25px rgba(255, 0, 255, 0.6),
                   0 0 35px rgba(74, 0, 224, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 255, 234, 0.4),
                   0 0 8px rgba(255, 0, 255, 0.4);
    }
}

/* État actif de l'élément FAQ */
#faq .faq-item.active::before {
    height: 100%;
    animation: neonBorderActive 1.5s infinite;
}

@keyframes neonBorderActive {
    0% {
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 255, 234, 0.8),
                   0 0 30px rgba(255, 0, 255, 0.6);
    }
    100% {
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
    }
}

#faq .faq-item h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    transition: all 0.3s ease;
}

#faq .faq-item:hover h3 {
    color: #008cff;
    transform: translateX(5px);
}

/* Style pour les réponses cachées */
#faq .faq-item p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    padding: 0 15px;
}

/* Style pour les réponses visibles */
#faq .faq-item.active p {
    max-height: 200px; /* Hauteur maximale quand visible */
    opacity: 1;
    margin: 10px 0;
    padding: 10px 15px;
}

/* Indicateur de clic sur le titre */
#faq .faq-item h3 {
    position: relative;
    padding-right: 30px;
    cursor: pointer;
}

/* Ajouter un indicateur + / - */
#faq .faq-item h3::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

#faq .faq-item.active h3::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Animation d'apparition */
@keyframes faqItemAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#faq .faq-item {
    animation: faqItemAppear 0.6s ease-out forwards;
    animation-delay: calc(var(--item-index) * 0.2s);
}

/* Effet de brillance au survol */
#faq .faq-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

#faq .faq-item:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Animation pour les réponses */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.visible {
    max-height: 500px;
}

/* Nouveau conteneur pour les FAQ */
#faq .faq-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Style pour les deux premiers éléments */
#faq .faq-container .faq-item:nth-child(-n+2) {
    width: calc(50% - 10px);
    margin: 0;
}

/* Style pour le troisième élément */
#faq .faq-container .faq-item:nth-child(3) {
    width: 100%;
    max-width: calc(100% - 20px);
}

#faq.section h2{
    color: #e20505;
    text-decoration: none;
}


/* Responsive */
@media (max-width: 768px) {
    #faq .faq-container .faq-item:nth-child(-n+2) {
        width: 100%;
    }
}



/* avis clients */

#animate-img{
    animation: slideInRight 2s ease-out forwards;
}

.casamobile-lien {
    cursor: pointer; /* Change le curseur en main pour indiquer que c'est cliquable */
    transition: color 0.3s ease, transform 0.3s ease; /* Ajoute une transition douce pour les changements de couleur et d'échelle */
    text-decoration: none;
  }
  
  .casamobile-lien:hover {
    color: #1d4ed8; /* Change la couleur du texte au survol (exemple de bleu) */
    transform: scale(1.05); /* Augmente légèrement la taille du texte au survol */
    text-decoration: none;

  }
  
  .casamobile-lien:focus {
    outline: none; /* Enlève l'outline (bordure) lorsque l'élément est sélectionné */
    color: #1d4ed8; /* Applique la même couleur au focus */
    text-decoration: none;

  }

  /* Optionnel: Style de base pour les compteurs */
h3 {
    transition: all 0.5s ease-out;
    font-size: 3rem; /* Assurez-vous que la taille de la police est assez grande */
}

/* Animation pour le message de succès */
.fade-out {
    animation: fadeOut 5s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* Style du message de succès */
.bg-green-100 {
    background: linear-gradient(to right, #dcfce7, #bbf7d0);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.bg-green-100:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

  

