/* ═══════════════════════════════════════════════════════════════════════
 * LZ FAQ Accordion — 4 layouts (classic, grid, split, compact)
 * Couleurs : #152738 (marine) / #808186 (gris)
 * ═══════════════════════════════════════════════════════════════════════ */

.lz-faq {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.lz-faq *,
.lz-faq *::before,
.lz-faq *::after {
    box-sizing: border-box;
}

.lz-faq__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── EN-TÊTE ─────────────────────────────────────────────────────────── */
.lz-faq__header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.lz-faq__kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #808186;
    margin-bottom: 18px;
}

.lz-faq__kicker::before,
.lz-faq__kicker::after {
    content: '';
    width: 34px;
    height: 1px;
    background: #808186;
    display: inline-block;
}

.lz-faq__title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #152738;
    margin: 0 0 18px;
}

.lz-faq__title-accent {
    color: #808186;
    font-style: italic;
    font-weight: 700;
    position: relative;
}

.lz-faq__title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 2px;
    background: currentColor;
    opacity: 0.4;
}

.lz-faq__subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #506069;
    margin: 0;
}

/* ─── CTA (utilisé surtout en split) ──────────────────────────────────── */
.lz-faq__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: #152738;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    margin-top: 24px;
    transition: background 0.3s ease, gap 0.3s ease, transform 0.3s ease;
}

.lz-faq__cta:hover {
    background: #808186;
    gap: 14px;
    transform: translateY(-2px);
}

.lz-faq__cta svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.lz-faq__cta:hover svg {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════════
 * ACCORDION COMMUN
 * ═══════════════════════════════════════════════════════════════════════ */
.lz-faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lz-faq__item {
    background: #ffffff;
    border: 1.5px solid #e2e5e9;
    border-radius: 10px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lz-faq__item:hover:not(.is-open) {
    background: #152738;
    border-color: #152738;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(21, 39, 56, 0.35);
}

/* Reset Bixol theme.css qui force button:hover/focus/active en marine */
.lz-faq__item button.lz-faq__trigger,
.lz-faq__item button.lz-faq__trigger:hover,
.lz-faq__item button.lz-faq__trigger:focus,
.lz-faq__item button.lz-faq__trigger:active,
.lz-faq__item button.lz-faq__trigger:not([disabled]):not(.disabled):active,
.lz-faq__item button.lz-faq__trigger:not([disabled]):not(.disabled):focus {
    background: transparent !important;
    background-color: transparent !important;
    color: inherit !important;
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.lz-faq__item:hover:not(.is-open) button.lz-faq__trigger,
.lz-faq__item:hover:not(.is-open) button.lz-faq__trigger:hover,
.lz-faq__item:hover:not(.is-open) button.lz-faq__trigger:focus,
.lz-faq__item:hover:not(.is-open) button.lz-faq__trigger:active {
    background: transparent !important;
    background-color: transparent !important;
}

.lz-faq__item:hover:not(.is-open) .lz-faq__question {
    color: #ffffff !important;
}

.lz-faq__item:hover:not(.is-open) .lz-faq__badge {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.lz-faq__item:hover:not(.is-open) .lz-faq__icon {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.lz-faq__item.is-open {
    background: #f7f8f9 !important;
    border-color: #152738 !important;
    box-shadow: 0 10px 30px -8px rgba(21, 39, 56, 0.15);
}

/* Quand ouvert : titre, badge, icône repassent en marine sur fond clair */
.lz-faq__item.is-open .lz-faq__question {
    color: #152738 !important;
}

.lz-faq__item.is-open .lz-faq__badge {
    background: rgba(21, 39, 56, 0.08) !important;
    color: #152738 !important;
}

.lz-faq__heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.lz-faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 22px 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    transition: padding 0.3s ease;
}

.lz-faq__trigger:focus-visible {
    outline: 2px solid #152738;
    outline-offset: -2px;
}

.lz-faq__question-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.lz-faq__badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(21, 39, 56, 0.08);
    color: #152738;
    border-radius: 100px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.4;
}

.lz-faq__question {
    font-family: 'Manrope', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #152738;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.lz-faq__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(21, 39, 56, 0.08);
    color: #152738;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lz-faq__item.is-open .lz-faq__icon {
    background: #152738;
    color: #ffffff;
    transform: rotate(45deg); /* + devient × */
}

.lz-faq__panel {
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lz-faq__panel[hidden] {
    display: none;
}

.lz-faq__answer {
    padding: 0 26px 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #506069;
}

.lz-faq__answer > *:first-child { margin-top: 0; }
.lz-faq__answer > *:last-child  { margin-bottom: 0; }
.lz-faq__answer strong { color: #152738; font-weight: 700; }
.lz-faq__answer a { color: #152738; font-weight: 600; }
.lz-faq__answer p { margin: 0 0 10px; }
.lz-faq__answer ul, .lz-faq__answer ol { margin: 10px 0; padding-left: 24px; }
.lz-faq__answer li { margin-bottom: 6px; }

.lz-faq__empty {
    padding: 60px 30px;
    text-align: center;
    color: #506069;
    background: #f7f8f9;
    border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
 * LAYOUT 1 — CLASSIQUE (1 colonne, défaut)
 * ═══════════════════════════════════════════════════════════════════════ */
.lz-faq--classic .lz-faq__list {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
 * LAYOUT 2 — GRILLE 2 COLONNES
 * ═══════════════════════════════════════════════════════════════════════ */
.lz-faq--grid .lz-faq__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

/* ═══════════════════════════════════════════════════════════════════════
 * LAYOUT 3 — SPLIT (header gauche / accordion droite)
 * ═══════════════════════════════════════════════════════════════════════ */
.lz-faq--split .lz-faq__inner {
    max-width: 1300px;
}

.lz-faq__split-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.lz-faq__header--split {
    text-align: left;
    max-width: none;
    margin: 0;
    position: sticky;
    top: 100px;
    padding-right: 20px;
}

.lz-faq__header--split .lz-faq__kicker::after {
    display: none; /* en split, seulement la ligne de gauche */
}

/* ═══════════════════════════════════════════════════════════════════════
 * LAYOUT 4 — COMPACT (bordures fines, espacé minimum)
 * ═══════════════════════════════════════════════════════════════════════ */
.lz-faq--compact .lz-faq__list {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    gap: 0;
}

.lz-faq--compact .lz-faq__item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e5e9;
    border-radius: 0;
    transition: background 0.3s ease;
}

.lz-faq--compact .lz-faq__item:first-child {
    border-top: 1px solid #e2e5e9;
}

.lz-faq--compact .lz-faq__item:hover:not(.is-open) {
    background: rgba(247, 248, 249, 0.5);
    transform: none;
    border-color: #e2e5e9;
}

.lz-faq--compact .lz-faq__item.is-open {
    background: transparent;
    border-color: #e2e5e9;
    box-shadow: none;
}

.lz-faq--compact .lz-faq__trigger {
    padding: 24px 8px;
}

.lz-faq--compact .lz-faq__answer {
    padding: 0 8px 22px;
}

.lz-faq--compact .lz-faq__icon {
    background: transparent;
    border: 1.5px solid #d9dde0;
}

.lz-faq--compact .lz-faq__item.is-open .lz-faq__icon {
    background: #152738;
    border-color: #152738;
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .lz-faq {
        padding: 60px 0;
    }
    .lz-faq__inner {
        padding: 0 30px;
    }
    .lz-faq__split-grid {
        gap: 50px;
    }
}

@media (max-width: 860px) {
    .lz-faq--grid .lz-faq__list {
        grid-template-columns: 1fr;
    }
    .lz-faq__split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .lz-faq__header--split {
        text-align: center;
        position: static;
        padding-right: 0;
    }
    .lz-faq__header--split .lz-faq__kicker::after {
        display: inline-block;
    }
}

@media (max-width: 600px) {
    .lz-faq {
        padding: 50px 0;
    }
    .lz-faq__inner {
        padding: 0 20px;
    }
    .lz-faq__header {
        margin-bottom: 36px;
    }
    .lz-faq__title {
        font-size: 1.6rem;
    }
    .lz-faq__trigger {
        padding: 18px 20px;
        gap: 14px;
    }
    .lz-faq__answer {
        padding: 0 20px 20px;
        font-size: 0.92rem;
    }
    .lz-faq__icon {
        width: 32px;
        height: 32px;
    }
    .lz-faq__question {
        font-size: 0.95rem;
    }
    .lz-faq--compact .lz-faq__trigger {
        padding: 20px 4px;
    }
    .lz-faq--compact .lz-faq__answer {
        padding: 0 4px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lz-faq__item,
    .lz-faq__icon,
    .lz-faq__panel,
    .lz-faq__cta {
        transition: none !important;
    }
}
