
/* =========================
FAQ PREMIUM
========================= */

.faq-item {
    border-top: 1px solid #edf2f7;
}

.faq-question {
    width: 100%;
    border: none;
    background: none;
    padding: 24px 0;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;

    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform .25s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height .35s ease,
        opacity .25s ease;

    opacity: 0;
}

.faq-answer p {
    padding-bottom: 24px;
    color: #475569;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* TABLEAUX = cohérents avec les box article */

.article-content .table-scroll {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 26px;
}

.article-content .premium-table-card {
    position: relative;
    overflow: hidden;
    min-width: 640px;

    padding: 0;
    border-radius: 26px;

    background:
        linear-gradient(135deg, rgba(255,255,255,.86), rgba(248,250,252,.96));

    border: 1px solid rgba(226,232,240,.9);

    box-shadow:
        0 18px 45px rgba(15,23,42,.055),
        inset 0 1px 0 rgba(255,255,255,.75);
}

.article-content .premium-table-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top right, rgba(124,58,237,.09), transparent 34%),
        radial-gradient(circle at bottom left, rgba(56,189,248,.07), transparent 30%);

    pointer-events: none;
}

.article-content .premium-table-card table {
    position: relative;
    width: 100%;
    border-collapse: collapse;
    color: #334155;
    font-size: .96rem;
    line-height: 1.65;
}

/* HEADERS */

.article-content .premium-table-card th {

    padding: 18px 20px;

    text-align: left;

    color: #0f172a;
    font-weight: 800;

    border-bottom: 1px solid rgba(226,232,240,.75);

    background:
        linear-gradient(
            135deg,
            rgba(124,58,237,.06),
            rgba(56,189,248,.04)
        );

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* CELLS */

.article-content .premium-table-card td {

    padding: 18px 20px;

    vertical-align: top;

    border-bottom: 1px solid rgba(226,232,240,.65);

    background: rgba(255,255,255,.55);

    white-space: normal;
    overflow-wrap: anywhere;
}

/* PREMIÈRE COLONNE = TITRES LIGNES */

.article-content .premium-table-card td:first-child {

    font-weight: 700;
    color: #0f172a;

    background:
        linear-gradient(
            135deg,
            rgba(124,58,237,.045),
            rgba(56,189,248,.03)
        );
}

/* DERNIÈRE LIGNE */

.article-content .premium-table-card tr:last-child td {
    border-bottom: none;
}

/* HOVER */

.article-content .premium-table-card tbody tr:hover td {
    background: rgba(255,255,255,.78);
}

.article-content .premium-table-card tbody tr:hover td:first-child {

    background:
        linear-gradient(
            135deg,
            rgba(124,58,237,.06),
            rgba(56,189,248,.04)
        );
}
/* SCROLLBAR DENTOPEDIA */

.article-content .table-scroll::-webkit-scrollbar {
    height: 10px;
}

.article-content .table-scroll::-webkit-scrollbar-track {

    background: rgba(226,232,240,.55);

    border-radius: 999px;
}

.article-content .table-scroll::-webkit-scrollbar-thumb {

    background:
        linear-gradient(
            135deg,
            #2a7fff,
            #1f66cc
        );

    border-radius: 999px;

    border: 2px solid rgba(255,255,255,.85);
}

.article-content .table-scroll::-webkit-scrollbar-thumb:hover {

    background:
        linear-gradient(
            135deg,
            #1f66cc,
            #155a96
        );
}

/* MOBILE */

@media (max-width: 640px) {

    .article-content .premium-table-card {
        min-width: 620px;
        border-radius: 22px;
    }

    .article-content .premium-table-card th,
    .article-content .premium-table-card td {

        padding: 15px 16px;
        font-size: .92rem;
    }
}

/* =========================
POST EXTRACTION HUB CARD
========================= */

.post-op-pdf-card {
    margin: 52px 0;
}

.post-op-pdf-content {
    display: flex;
    flex-direction: column;

    gap: 34px;

    padding: clamp(26px, 4vw, 40px);

    border-radius: 32px;

    background:
        radial-gradient(circle at top right, rgba(124,58,237,.10), transparent 34%),
        radial-gradient(circle at bottom left, rgba(77,166,255,.12), transparent 36%),
        linear-gradient(135deg, #ffffff, #f8fbff);

    border: 1px solid rgba(226,232,240,.92);

    box-shadow:
        0 24px 70px rgba(15,23,42,.07),
        inset 0 1px 0 rgba(255,255,255,.9);

    overflow: hidden;
}

/* TEXT */

.post-op-pdf-text {
    max-width: 720px;
}

.post-op-badge {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: 8px 14px;

    margin: 0 0 10px 0;

    border-radius: 999px;

    background: rgba(37,99,235,.10);
    color: #2563eb;

    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .02em;
}

.post-op-pdf-text h2 {
    margin: 0 0 14px;

    color: #0f172a;

    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}


.post-op-pdf-text p {
    margin: 0;

    color: #475569;

    font-size: 1rem;
    line-height: 1.8;
}

/* ACTIONS */

.post-op-actions {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 14px;

    margin-top: 26px;
}

/* CTA */

.post-op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 24px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary)
        );

    color: #ffffff !important;

    font-size: .95rem;
    font-weight: 850;
    letter-spacing: -.01em;

    text-decoration: none;

    box-shadow:
        0 14px 30px rgba(37,99,235,.24);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        opacity .22s ease;
}

.post-op-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 22px 42px rgba(37,99,235,.30);

    opacity: .97;
}

/* PDF LINK */

.post-op-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #2563eb;

    font-size: .92rem;
    font-weight: 750;

    text-decoration: underline;
    text-underline-offset: 4px;

    transition:
        color .2s ease,
        transform .2s ease,
        opacity .2s ease;
}

.post-op-pdf-link:hover {
    color: #1d4ed8;

    transform: translateX(2px);

    opacity: .92;
}

/* POSTER */

.post-op-pdf-visual {
    position: relative;

    display: block;

    width: 100%;
    max-width: 340px;

    margin: 0 auto;

    text-decoration: none;
}

.post-op-pdf-visual img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 24px;

    object-fit: contain;

    box-shadow:
        0 24px 64px rgba(15,23,42,.14);

    transition:
        transform .28s ease,
        box-shadow .28s ease;
}

.post-op-pdf-visual:hover img {
    transform: translateY(-5px) scale(1.015);

    box-shadow:
        0 34px 80px rgba(15,23,42,.18);
}

/* STICKER */

.post-op-download-sticker {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 2;

    padding: 8px 12px;

    border-radius: 999px;

    background: rgba(255,255,255,.94);

    color: #2563eb;

    font-size: .72rem;
    font-weight: 850;

    box-shadow:
        0 10px 24px rgba(15,23,42,.16);

    backdrop-filter: blur(10px);
}

/* MOBILE */

@media (max-width: 640px) {

    .post-op-pdf-card {
        margin: 38px 0;
    }

    .post-op-pdf-content {
        padding: 24px;
        border-radius: 28px;
    }

    .post-op-actions {
        align-items: stretch;
    }

    .post-op-btn {
        width: 100%;
    }

    .post-op-pdf-link {
        justify-content: center;
    }

    .post-op-pdf-visual {
        max-width: 280px;
    }
}
