/* PAGE FAQ INSPEXION */

.faq-page {
    background: #ffffff;
    color: #172b4d;
}

.faq-page .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

.faq-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #c91530;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.faq-eyebrow-light {
    padding-left: 13px;
    border-left: 3px solid #e4223d;
    color: #ecf0f9;
}

/* HERO */

.faq-hero {
    padding: 28px 0 70px;
    background: #16396f;
    color: #ecf0f9;
}

.faq-breadcrumb {
    margin-bottom: 38px;
}

.faq-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

.faq-breadcrumb li + li::before {
    content: "/";
    margin-right: 10px;
    color: #aebed8;
}

.faq-breadcrumb a {
    color: #ecf0f9;
    text-decoration: none;
}

.faq-breadcrumb a:hover {
    text-decoration: underline;
}

.faq-hero h1 {
    max-width: 950px;
    margin: 0 0 23px;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -1px;
    text-wrap: balance;
}

.faq-hero > .container > p {
    max-width: 750px;
    margin: 0 0 28px;
    color: #d4deef;
    font-size: 16px;
    line-height: 1.85;
}

.faq-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* BOUTONS */

.faq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 21px;
    background: #e4223d;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.faq-button:hover,
.faq-button:focus-visible {
    background: #c91530;
    color: #ffffff;
}

.faq-button-outline {
    background: transparent;
    border-color: rgba(236, 240, 249, 0.5);
}

.faq-button-outline:hover,
.faq-button-outline:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

/* DISPOSITION */

.faq-content {
    padding: clamp(55px, 7vw, 90px) 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 55px;
}

.faq-sidebar {
    position: sticky;
    top: 110px;
}

/* SOMMAIRE */

.faq-navigation {
    padding: 23px;
    background: #f7f9fc;
    border: 1px solid #e1e7f1;
    border-radius: 16px;
}

.faq-navigation h2 {
    margin: 0 0 18px;
    color: #16396f;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.5;
}

.faq-navigation a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid #e7edf6;
    color: #53647b;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
}

.faq-navigation a:last-child {
    border-bottom: 0;
}

.faq-navigation a:hover,
.faq-navigation a:focus-visible {
    color: #c91530;
}

.faq-sidebar-contact {
    margin-top: 18px;
    padding: 23px;
    background: #16396f;
    border-radius: 16px;
}

.faq-sidebar-contact strong {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
}

.faq-sidebar-contact p {
    margin: 0 0 16px;
    color: #d4deef;
    font-size: 13px;
    line-height: 1.8;
}

.faq-sidebar-contact a {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #e4223d;
    text-underline-offset: 5px;
}

/* GROUPES DE QUESTIONS */

.faq-group {
    margin-bottom: 48px;
    scroll-margin-top: 115px;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-category-label {
    display: inline-block;
    margin-bottom: 9px;
    color: #c91530;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.faq-group h2 {
    margin: 0 0 23px;
    color: #16396f;
    font-size: clamp(24px, 2.5vw, 31px);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* ACCORDÉONS NATIFS — SANS JAVASCRIPT */

.faq-group details {
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid #e1e7f1;
    border-radius: 12px;
    overflow: hidden;
}

.faq-group summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    color: #16396f;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.6;
    cursor: pointer;
    list-style: none;
}

.faq-group summary::-webkit-details-marker {
    display: none;
}

.faq-group summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 22px;
    color: #c91530;
    font-size: 24px;
    font-weight: 500;
}

.faq-group summary:hover {
    background: #f7f9fc;
}

.faq-group details[open] {
    border-color: rgba(22, 57, 111, 0.3);
    box-shadow: 0 6px 18px rgba(22, 57, 111, 0.04);
}

.faq-group details[open] summary {
    background: #f7f9fc;
}

.faq-group details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 18px 22px 22px;
}

.faq-answer p {
    margin: 0 0 12px;
    color: #53647b;
    font-size: 14px;
    line-height: 1.85;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #16396f;
    font-weight: 650;
    text-underline-offset: 3px;
}

.faq-service-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 0;
    color: #16396f;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.faq-service-link:hover {
    color: #c91530;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* CONTACT FINAL */

.faq-contact {
    padding-bottom: clamp(60px, 7vw, 90px);
}

.faq-contact-panel {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 45px;
    background: #16396f;
    border-radius: 22px;
}

.faq-contact-panel h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 750;
    line-height: 1.3;
}

.faq-contact-panel p {
    margin: 0;
    color: #d4deef;
    font-size: 14px;
    line-height: 1.85;
}

.faq-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 310px;
    margin-left: auto;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .faq-sidebar {
        position: static;
    }

    .faq-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }

    .faq-navigation h2 {
        grid-column: 1 / -1;
    }

    .faq-contact-panel {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .faq-contact-buttons {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .faq-page .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .faq-hero {
        padding-bottom: 50px;
    }

    .faq-hero-buttons {
        flex-direction: column;
    }

    .faq-navigation {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .faq-group {
        margin-bottom: 35px;
    }

    .faq-group summary {
        padding: 17px 45px 17px 18px;
        font-size: 14px;
    }

    .faq-group summary::after {
        top: 14px;
        right: 17px;
    }

    .faq-answer {
        padding: 16px 18px 20px;
    }

    .faq-contact-panel {
        padding: 28px 22px;
        border-radius: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-button {
        transition: none;
    }
}