/* =========================
   SECTION
========================= */

.faq {
    width: 100%;
    padding: 0px 60px;
    color: white;
    margin-bottom:80px;
}

/* CONTAINER */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.faq-surtitre {
    font-family: 'Coolvetica', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
        text-align: center;

}

/* petit rond rouge */
.faq-surtitre::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #FF0202;
    border-radius: 50%;
}

.faq-titre {
    font-family: 'Coolvetica', sans-serif;
    font-size: 48px;
    margin: 0 auto 40px; /* 🔥 ça centre le bloc */
    line-height: 1;
    text-align: center;
    max-width: 580px;
}


.title-main {
    font-family: 'Coolvetica', sans-serif;
}

.title-alt {
    font-family: 'Braven', sans-serif;
}

/* =========================
   LISTE
========================= */

.faq-list {
    display: flex;
    flex-direction: column;
}



/* ITEM GLASS */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 21px;
    padding: 15px 25px;
    margin-bottom: 20px;

    transition: all 0.3s ease;
}

/* ROW QUESTION */
.faq-question-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* QUESTION */
.faq-question {
    font-family: 'Coolvetica', sans-serif;
    font-size: 16px;
    margin: 0;
    letter-spacing: 1.3px;
}

/* ICON + */
.faq-icon {
    font-size: 26px;
    transition: transform 0.3s ease;
}

/* ANSWER (FERMÉ PAR DÉFAUT) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* OPEN STATE */
.faq-item.open .faq-answer {
    max-height: 300px;
    opacity: 0.8;
    margin-top: 15px;
}

/* rotation + → x */
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}


/* état initial */
.faq .reveal-item {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(15px);
}

/* état visible */
.faq.is-visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* transitions */
.faq-surtitre.reveal-item {
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        filter 0.8s ease;
}

.faq-titre.reveal-item {
    transition:
        opacity 1s ease,
        transform 1s ease,
        filter 1s ease;
}

.faq-item.reveal-item {
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        filter 0.8s ease;
}


/* =========================================
   ULTRA WIDE
========================================= */

@media (min-width: 1600px) {

    .faq {
        padding: 0 100px;
        margin-bottom: 120px;
    }

    .faq-container {
        max-width: 900px;
    }

    .faq-titre {
        font-size: 56px;
        max-width: 650px;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 16px;
    }
}

/* =========================================
   DESKTOP LARGE
========================================= */

@media (max-width: 1600px) {

    .faq-titre {
        font-size: 52px;
    }
}

/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1024px) {

    .faq {
        padding: 0 40px;
        margin-bottom: 90px;
    }

    .faq-titre {
        font-size: 42px;
        max-width: 520px;
    }

    .faq-container {
        max-width: 100%;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .faq-item {
        padding: 14px 20px;
    }
}

/* =========================================
   MOBILE (IMPORTANT : FULL WIDTH + lisible)
========================================= */

@media (max-width: 768px) {

    .faq {
        padding: 0 20px;
        margin-bottom: 80px;
    }

    .faq-container {
        max-width: 100%;
        width: 100%;
    }

    /* 🔥 TITRE plus compact mais lisible */
    .faq-titre {
        font-size: 34px;
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    /* 🔥 QUESTIONS plus larges */
    .faq-item {
        width: 100%;
        padding: 16px 18px;
        border-radius: 18px;
    }

    .faq-question {
        font-size: 14px;
        line-height: 1.4;
    }

    .faq-icon {
        font-size: 22px;
    }

    .faq-answer {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* =========================================
   PETIT MOBILE
========================================= */

@media (max-width: 480px) {

    .faq {
        padding: 0 16px;
    }

    .faq-titre {
        font-size: 28px;
    }

    .faq-item {
        padding: 14px 16px;
    }

    .faq-question {
        font-size: 13px;
    }

    .faq-answer {
        font-size: 12.5px;
    }
}