/* Généré par scripts/generate-fiches-blocs-css.py depuis fiches-viewer.css : ne pas modifier à la main. */
.mqa-fiche-page {
    --mqa-fiche-accent: #93c5fd;
    --mqa-fiche-accent-dark: #1e3a8a;
    --mqa-fiche-accent-light: #eff6ff;
}
.mqa-fiche-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.mqa-fiche-container {
    max-width: 1100px; margin: 10px auto; padding: 10px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
}
.mqa-fiche-paper {
    background: #fff; border: 2px solid #000; padding: 80px 60px;
    border-radius: 12px; box-shadow: 12px 12px 0 #000; position: relative; margin-bottom: 40px;
}
.mqa-fiche-underline { display: inline-block; position: relative; z-index: 10; }
.mqa-fiche-underline::after {
    content: ''; position: absolute; left: -4px; right: -4px; bottom: 2px; height: 14px;
    background: var(--mqa-fiche-accent); opacity: 0.7; z-index: -1;
    transform: skewX(-12deg) rotate(-1deg); border-radius: 3px;
}
.mqa-fiche-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--mqa-fiche-accent); color: #000; padding: 18px 40px;
    font-size: 1.15rem; font-weight: 800; text-decoration: none; border-radius: 12px;
    border: 3px solid #000; box-shadow: 6px 6px 0 #000; transition: all 0.2s ease; text-transform: uppercase;
}
.mqa-fiche-cta:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 #000; color: #000; text-decoration: none; }
.mqa-fiche-cta-secondary { background: #fff; }
.mqa-fiche-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 30px 0; }
.mqa-fiche-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; border-bottom: 2px solid #000; }
.mqa-fiche-tab {
    padding: 12px 20px; font-weight: 700; font-size: 0.95rem; border: 2px solid #000; border-bottom: none;
    border-radius: 12px 12px 0 0; background: #f9fafb; color: #374151; cursor: pointer; transition: all 0.2s ease; margin-bottom: -2px;
}
.mqa-fiche-tab:hover { background: #fff; }
.mqa-fiche-tab.active { background: #fff; color: #000; border-bottom: 2px solid #fff; }
.mqa-fiche-toc {
    background: var(--mqa-fiche-accent-light); border: 2px solid #000; border-radius: 12px;
    padding: 20px 24px; box-shadow: 4px 4px 0 #000; margin-bottom: 30px;
}
.mqa-fiche-toc-title { font-weight: 800; font-size: 1.1rem; margin: 0 0 12px 0; color: #111; display: flex; align-items: center; gap: 8px; }
.mqa-fiche-toc a {
    display: block; padding: 6px 0; color: var(--mqa-fiche-accent-dark); text-decoration: none;
    font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mqa-fiche-toc a:hover { color: #000; text-decoration: underline; }
.mqa-fiche-toc a:last-child { border-bottom: none; }
.mqa-fiche-content { display: none; }
.mqa-fiche-content.active { display: block; }
.mqa-fiche-section-title {
    font-size: 1.5rem; font-weight: 800; color: #111; margin: 40px 0 20px 0;
    padding-bottom: 8px; border-bottom: 3px solid #000;
}
.mqa-fiche-legal-ref {
    font-size: 0.85rem; color: #6b7280; font-style: italic; margin: 0 0 16px 0;
    display: flex; align-items: flex-start; gap: 6px; line-height: 1.5;
}
.mqa-fiche-legal-ref svg { flex-shrink: 0; margin-top: 2px; }
.mqa-fiche-body { font-size: 1rem; line-height: 1.7; color: #1e293b; margin: 0 0 16px 0; }
.mqa-fiche-h3 { font-size: 1.15rem; font-weight: 800; color: #111; margin: 28px 0 12px 0; }
.mqa-fiche-list { margin: 0 0 16px 0; padding-left: 24px; }
.mqa-fiche-list li { font-size: 0.95rem; line-height: 1.6; color: #1e293b; margin-bottom: 6px; }
.mqa-fiche-box-retenir, .mqa-fiche-box-attention {
    border: 2px solid #000; border-radius: 12px; padding: 20px 24px; box-shadow: 4px 4px 0 #000; margin: 20px 0;
}
.mqa-fiche-box-retenir { background: var(--mqa-fiche-accent-light); }
.mqa-fiche-box-attention { background: #fee2e2; }
.mqa-fiche-box-title { font-weight: 800; font-size: 1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.mqa-fiche-box-retenir .mqa-fiche-box-title { color: var(--mqa-fiche-accent-dark); }
.mqa-fiche-box-attention .mqa-fiche-box-title { color: #991b1b; }
.mqa-fiche-box-retenir p, .mqa-fiche-box-attention p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: #1e293b; }
.mqa-fiche-table-wrap { overflow-x: auto; margin: 16px 0; }
.mqa-fiche-table { width: 100%; border-collapse: collapse; border: 2px solid #000; font-size: 0.9rem; }
.mqa-fiche-table th { background: var(--mqa-fiche-accent-light); border: 1px solid #000; padding: 10px 12px; font-weight: 800; text-align: left; color: #111; }
.mqa-fiche-table td { border: 1px solid #d1d5db; padding: 10px 12px; line-height: 1.5; color: #1e293b; }
.mqa-fiche-table tr:nth-child(even) td { background: #fafafa; }
.mqa-tree { display: flex; flex-direction: column; align-items: center; margin: 20px 0; padding: 16px 0; }
.mqa-tree-node { width: 100%; max-width: 640px; margin-bottom: 6px; }
.mqa-tree-question {
    background: #fef9c3; border: 2px solid #000; border-radius: 12px; padding: 14px 20px;
    font-weight: 800; font-size: 0.95rem; text-align: center; box-shadow: 4px 4px 0 #000; color: #111; line-height: 1.5;
}
.mqa-tree-branches { display: flex; gap: 20px; justify-content: center; margin-top: 14px; }
.mqa-tree-branch { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; max-width: 280px; }
.mqa-tree-label-yes, .mqa-tree-label-no {
    display: inline-block; padding: 3px 14px; border-radius: 20px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.5px; border: 2px solid #000;
}
.mqa-tree-label-yes { background: rgba(134,239,172,0.5); color: #166534; }
.mqa-tree-label-no { background: rgba(253,164,175,0.5); color: #9f1239; }
.mqa-tree-leaf {
    border: 2px solid #000; border-radius: 10px; padding: 10px 14px; font-size: 0.88rem; line-height: 1.5;
    text-align: center; box-shadow: 3px 3px 0 #000; width: 100%; box-sizing: border-box;
}
.mqa-tree-leaf-yes { background: rgba(134,239,172,0.2); color: #14532d; }
.mqa-tree-leaf-no { background: rgba(253,164,175,0.15); color: #881337; }
.mqa-tree-connector { display: flex; flex-direction: column; align-items: center; margin: 10px auto; width: fit-content; }
.mqa-tree-connector-line { width: 3px; height: 24px; background: #000; }
.mqa-tree-connector-arrow { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid #000; }
.mqa-tree-connector-label { margin-top: 4px; font-weight: 800; font-size: 0.78rem; padding: 2px 12px; border-radius: 12px; border: 1.5px solid #000; }
.mqa-tree-connector-label-yes { background: rgba(134,239,172,0.4); color: #166534; }
.mqa-tree-connector-label-no { background: rgba(253,164,175,0.4); color: #9f1239; }
.mqa-opinion-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-weight: 700; font-size: 0.8rem; border: 1.5px solid #000; white-space: nowrap; }
.mqa-opinion-badge-green { background: rgba(134,239,172,0.4); color: #166534; }
.mqa-opinion-badge-orange { background: rgba(253,186,116,0.4); color: #9a3412; }
.mqa-opinion-badge-red { background: rgba(253,164,175,0.4); color: #9f1239; }
.mqa-opinion-badge-blue { background: rgba(147,197,253,0.4); color: #1e40af; }
.mqa-fiche-vente { max-width: 1100px; margin: 10px auto; padding: 10px 20px; text-align: center; color: #1e293b; }
.mqa-fiche-vente h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; color: #111; line-height: 1.2; }
.mqa-fiche-vente-lead { font-size: 1.2rem; color: #4b5563; line-height: 1.7; max-width: 800px; margin: 0 auto; }
.mqa-fiche-stats { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px auto 10px; }
.mqa-fiche-stat {
    background: #fff; border: 2px solid #000; border-radius: 12px; box-shadow: 4px 4px 0 #000;
    padding: 12px 18px; min-width: 130px;
}
.mqa-fiche-stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: #111; line-height: 1; }
.mqa-fiche-stat span { font-size: 0.78rem; color: #6b7280; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.mqa-fiche-vente-row {
    display: flex; flex-direction: column; gap: 40px; align-items: center;
    max-width: 1100px; margin: 40px auto 60px; padding: 0 20px;
}
@media (min-width: 900px) {
.mqa-fiche-vente-row { flex-direction: row; align-items: flex-start; justify-content: center; gap: 60px; }
}
.mqa-fiche-sommaire { max-width: 900px; margin: 0 auto 60px; text-align: left; padding: 0 20px; }
.mqa-fiche-sommaire h2 { text-align: center; font-size: 2rem; font-weight: 800; margin: 0 0 30px; color: #111; }
.mqa-fiche-sommaire-theme {
    background: #fff; border: 2px solid #000; border-radius: 12px; box-shadow: 5px 5px 0 #000; padding: 18px 22px; margin-bottom: 16px;
}
.mqa-fiche-sommaire-theme h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.mqa-fiche-sommaire-theme h3 span.mqa-num {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid #000; font-size: 0.85rem; background: var(--mqa-fiche-accent);
}
.mqa-fiche-sommaire-theme ol { margin: 0; padding-left: 40px; color: #374151; font-size: 0.92rem; line-height: 1.7; }
.mqa-fiche-extrait { max-width: 900px; margin: 0 auto 60px; text-align: left; padding: 0 20px; }
.mqa-fiche-extrait h2 { text-align: center; font-size: 2rem; font-weight: 800; margin: 0 0 8px; color: #111; }
.mqa-fiche-extrait > p { text-align: center; color: #6b7280; margin: 0 0 24px; }
.mqa-fiche-extrait-cadre {
    background: #fff; border: 2px solid #000; border-radius: 12px; box-shadow: 8px 8px 0 #000; padding: 30px 34px;
}
.mqa-fiche-faq { max-width: 800px; margin: 0 auto 60px; text-align: left; padding: 0 20px; }
.mqa-fiche-faq h2 { text-align: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 30px; color: #111; }
.mqa-fiche-faq details { background: #fff; border: 2px solid #000; border-radius: 12px; margin-bottom: 12px; box-shadow: 4px 4px 0 #000; }
.mqa-fiche-faq summary { cursor: pointer; font-weight: 800; padding: 16px 20px; font-size: 1rem; list-style: none; }
.mqa-fiche-faq summary::-webkit-details-marker { display: none; }
.mqa-fiche-faq summary::before { content: '+'; display: inline-block; width: 22px; font-weight: 900; }
.mqa-fiche-faq details[open] summary::before { content: '–'; }
.mqa-fiche-faq details p { margin: 0; padding: 0 20px 18px 42px; color: #374151; line-height: 1.65; font-size: 0.95rem; }
@media (max-width: 768px) {
.mqa-fiche-paper { padding: 30px 20px; box-shadow: 6px 6px 0 #000; border-radius: 8px; }
.mqa-fiche-tabs { gap: 4px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
.mqa-fiche-tab { font-size: 0.8rem; padding: 8px 12px; white-space: nowrap; flex-shrink: 0; }
.mqa-fiche-container { padding: 10px; }
.mqa-fiche-section-title { font-size: 1.2rem; }
.mqa-fiche-actions { flex-direction: column; align-items: stretch; }
.mqa-fiche-cta { justify-content: center; }
.mqa-fiche-vente h1 { font-size: 1.9rem; }
.mqa-tree-node { max-width: 100%; }
.mqa-tree-branches { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 8px; }
.mqa-tree-branch { max-width: 100%; flex-direction: row; gap: 8px; align-items: center; }
.mqa-tree-leaf { text-align: left; }
.mqa-fiche-extrait-cadre { padding: 20px 16px; }
}
@media (max-width: 600px) {
.mqa-fiche-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px auto 6px; }
.mqa-fiche-stat { padding: 10px 8px !important; min-width: 0 !important; }
.mqa-fiche-stat strong { font-size: 1.2rem; }
.mqa-fiche-stat span { font-size: 0.68rem; }
}
