/* Reset et styles généraux */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #181818;
    color: white;
}

/* Navbar */
.centered-navbar {
    display: flex;
    align-items: center;
    background: rgba(23, 25, 25, 0.6);
    backdrop-filter: blur(6px);
    position: relative;
    width: fit-content;
    gap: 15px;
    margin: 30px auto 0;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Logo rond */
.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

/* Liens de navigation */
.nav-links {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

/* Styles pour les boutons de navigation */
.nav-btn {
    background-color: transparent;
    border: none;
    display: flex;
    font-family: 'Poppins', sans-serif;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 0.3s;
}

/* Icône dans les boutons */
.IconContainer {
    width: 30px;
    height: 30px;
    background: linear-gradient(to bottom, rgb(255, 136, 255), rgb(172, 70, 255));
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.3s;
}

/* Style des icônes */
.icon {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Texte dans le bouton */
.text {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.04em;
    margin-left: 8px;
    transition-duration: 0.3s;
}

/* Effet au survol des boutons */
.nav-btn:hover .IconContainer {
    width: 40px;
}

.nav-btn:hover .text {
    transform: translate(10px);
    width: 0;
    font-size: 0;
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Section de bienvenue */
.welcome {
    text-align: center;
    padding: 40px;
    background: rgba(23, 25, 25, 0.8);
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.welcome h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ff88ff, #ac46ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ccc;
}

.cta-btn {
    padding: 12px 24px;
    font-size: 1em;
    background: linear-gradient(90deg, #ff88ff, #ac46ff);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

.cta-btn:hover {
    background: linear-gradient(90deg, #ac46ff, #ff88ff);
}

/* Section des cartes */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 50px auto;
    width: 90%;
    max-width: 1200px;
}

/* Cartes plus larges */
.card {
    width: 50%;
    max-width: 250px;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: rgba(23, 25, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image plus grande et plus large */
.card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* Contenu de la carte */
.card-content {
    padding: 20px;
    color: white;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card p {
    font-size: 1.1em;
    color: #ccc;
}

/* Effet hover */
.card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Section FAQ */
.faq {
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(23, 25, 25, 0.8);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.faq h2 {
    text-align: center;
    font-size: 2em;
    background: linear-gradient(90deg, #ff88ff, #ac46ff);
    -webkit-background-clip: text;
        font-family: 'Poppins', sans-serif;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Boutons FAQ */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.3em;
    padding: 15px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

/* Style de la flèche */
.arrow {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

/* Effet hover */
.faq-question:hover {
    color: #ff88ff;
}

/* Réponses cachées par défaut */
.faq-answer {
    display: none;
    padding: 15px;
    font-size: 1.1em;
    color: #ddd;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animation de la flèche et affichage réponse */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        max-width: 90%;
    }

    .card img {
        height: 180px;
    }

    .welcome {
        width: 90%;
        padding: 30px;
    }

    .welcome h1 {
        font-size: 1.5em;
    }

    .welcome p {
        font-size: 1em;
    }

    .cta-btn {
        font-size: 0.9em;
    }
}
