/* ── Deeployer FAQ ────────────────────────────────────────────────────── */

.dfaq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    margin: 0;
    padding: 0;
}

.dfaq-item {
    border-bottom: 1px solid #e5e5e5;
}

.dfaq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    padding: 18px 0;
    text-align: left;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

.dfaq-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.25s ease;
}

.dfaq-question[aria-expanded="true"] .dfaq-icon {
    transform: rotate(180deg);
}

/* ── Answer accordion ────────────────────────────────────────────────── */

.dfaq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.dfaq-answer:not([hidden]) {
    max-height: 600px; /* valeur haute, animée en JS */
}

.dfaq-answer[hidden] {
    display: block !important; /* override hidden pour permettre l'animation */
    max-height: 0;
}

.dfaq-answer-inner {
    padding: 0 0 20px 0;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

.dfaq-answer-inner p:first-child { margin-top: 0; }
.dfaq-answer-inner p:last-child  { margin-bottom: 0; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .dfaq-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
