/* ===== FAQ Section ===== */

.faq {
    padding-block: clamp(48px, 8vw, 88px);
}

/* Layout responsive */
.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .faq-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* Colonne gauche - Intro */
.faq-intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.faq-intro .section-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    color: #7B8697;
    margin: 0 0 10px 0;
    font-family: 'Kodchasan';
}

.faq-intro .section-title {
    font-weight: 400;
    color: #1D3057;
    line-height: 1.15;
    font-size: 36px;
    margin: 0 0 28px 0;
    font-family: InterTight;
}

.faq-contact {
    margin-top: auto;
}

.faq-contact h6 {
    font-size: 24px;
    font-weight: 400;
    color: #1D3057;
    margin: 0 0 12px 0;
    font-family: InterTight;
}

.faq-contact h3 {
    font-size: 16px;
    font-weight: 400;
    color: #1D3057;
    margin: 0 0 8px 0;
    font-family: InterTight;
}

.faq-contact p {
    font-size: 16px;
    line-height: 1.6;
    color: #5E6A7D;
    margin: 0;
    font-family: InterTight;
}

.faq-contact a {
    color: #1D3057;
    text-decoration: underline;
    font-weight: 600;
}

/* Colonne droite - Questions */
.faq-questions {
    display: grid;
    gap: 16px;
}

/* Accordion Item */
.faq-item {
    border: 1px solid #E6EBF2;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    transition: box-shadow 220ms ease, border-color 220ms ease;
}

.faq-item:hover {
    border-color: #DDE4EE;
    box-shadow: 0 2px 8px rgba(16, 33, 60, 0.06);
}

/* Question Header */
.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    background: #FFFFFF;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 220ms ease;
}

.faq-header:hover {
    background: #F9FAFB;
}

.faq-header.active {
    background: #F9FAFB;
}

.faq-question {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    color: #1D3057;
    font-family: InterTight;
    flex: 1;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #1D3057;
    font-size: 20px;
    line-height: 1;
    position: relative;
}

.faq-toggle svg {
    transition: opacity 700ms ease;
}

.faq-toggle .icon-plus {
    opacity: 1;
}

.faq-toggle .icon-minus {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.faq-item.open .faq-toggle .icon-plus {
    opacity: 0;
    pointer-events: none;
}

.faq-item.open .faq-toggle .icon-minus {
    opacity: 1;
    pointer-events: auto;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 700ms ease, padding 700ms ease;
}

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

.faq-content {
    padding: 0 22px 20px 22px;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.6;
    color: #5E6A7D;
    font-family: InterTight;
}

/* Mobile - Flex layout */
@media (max-width: 1023px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
    }

    .faq-contact {
        display: none;
    }

    .faq-intro .section-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
}