/* =====================================================
   faq.css — Page FAQ Raildome
   Accordéon avec animation smooth
   ===================================================== */

/* ---------- CONTAINER FAQ ---------- */
.faqContainer {
    padding: 140px 0 60px 0; 
}

/* Titre principal "FAQ" avec hexagone */
.faqTitre {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.faqTitre .hexagoneIcon {
    width: 70px;
    height: auto;
    flex-shrink: 0;
}

.faqTitre h1 {
    font-family: Avenir, sans-serif;
    font-weight: bold;
    font-size: 3rem;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0;
    line-height: 1;
}

/* ---------- ACCORDÉON ---------- */
.faqAccordeon {
    max-width: 900px;
    margin: 0 auto;
}

/* Item accordéon */
.faqItem {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 0;
}

/* Question cliquable */
.faqQuestion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.faqQuestion:hover {
    opacity: 0.7;
}

.faqQuestion h3 {
    font-family: Avenir, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

/* Icône + */
.faqToggle {
    width: 28px;
    height: 28px;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: #1a1a1a;
    flex-shrink: 0;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

/* Rotation de l'icône quand ouvert */
.faqItem.active .faqToggle {
    transform: rotate(45deg);
}

/* Réponse (masquée par défaut) */
.faqReponse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faqReponseInner {
    padding: 0 0 28px 0;
}

.faqReponse p {
    font-family: Avenir, sans-serif;
    font-size: 1.10rem;
    line-height: 1.9;
    color: #333;
    margin: 0 0 12px 0;
}
.faqReponse ul {
    padding-left: 24px;
    margin: 16px 0;
}

.faqReponse ul li {
    font-family: Avenir, sans-serif;
    font-size: 1.10rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.faqReponse ul li::marker {
    color: #333;         /* couleur bleu cyan Raildome */
    font-size: 1.2rem;
}

.faqReponse h4 {
    font-family: Avenir, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 20px 0 12px 0;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.faqReponse h4::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: linear-gradient(180deg, #4280C0, #18F6EF);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

/* État ouvert */
.faqItem.active .faqReponse {
    max-height: 800px; /* assez grand pour contenir toute réponse */
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 576px) {
    .faqTitre h1 {
        font-size: 2rem;
    }

    .faqTitre .hexagoneIcon {
        width: 50px;
    }

    .faqQuestion h3 {
        font-size: 1rem;
    }

    .faqToggle {
        width: 24px;
        height: 24px;
        font-size: 1.2rem;
    }

    .faqContainer {
        padding: 100px 0 40px 0;
    }
}

@media (min-width: 576px) and (max-width: 992px) {
    .faqTitre h1 {
        font-size: 2.4rem;
    }

    .faqTitre .hexagoneIcon {
        width: 60px;
    }
}