/* Quick wins SEO (novembre 2026) : sections ajoutées par includes/mieuxfiscal-quickwins.php.
   Elles reprennent les blocs existants de chaque page ; ce fichier ne règle que le texte courant,
   les tableaux, les listes et la FAQ des articles. */
.mf-qw{--mfqw-ink:#15181A;--mfqw-text:#3A4144;--mfqw-teal:#4FAFC0;--mfqw-link:#1F7C8D;--mfqw-line:#E3E8EA;--mfqw-soft:#F4F6F6}
.mf-qw p,.mf-qw li,.mf-qw td,.mf-qw th{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.7;color:var(--mfqw-text)}
.mf-qw p{margin:0 0 16px}
.mf-qw strong{color:var(--mfqw-ink);font-weight:600}
.mf-qw a:not(.mf-qw-cta a){font-size:inherit;color:var(--mfqw-link);text-decoration:underline;text-underline-offset:2px}
.mf-qw a:not(.mf-qw-cta a):hover{color:var(--mfqw-ink)}
.mf-qw ul,.mf-qw ol{margin:0 0 16px;padding-left:22px}
.mf-qw li{margin:0 0 8px}
.mf-qw h3{font-family:Inter,system-ui,sans-serif;font-size:19px;line-height:1.35;font-weight:600;color:var(--mfqw-ink);margin:24px 0 8px}
.mf-qw h3:first-child{margin-top:0}

/* Tables */
.mf-qw-table{overflow-x:auto;margin:0 0 16px;border:1px solid var(--mfqw-line);border-radius:10px;-webkit-overflow-scrolling:touch}
.mf-qw-table table{width:100%;min-width:560px;border-collapse:collapse;margin:0;background:#fff}
.mf-qw-table th,.mf-qw-table td{padding:12px 14px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--mfqw-line);font-size:15px;line-height:1.55}
.mf-qw-table th{background:var(--mfqw-soft);color:var(--mfqw-ink);font-weight:600}
.mf-qw-table tr:last-child td{border-bottom:0}
.mf-qw-table td:first-child{font-weight:600;color:var(--mfqw-ink)}

/* Call to action */
.mf-qw-cta{margin:24px 0 0}
.mf-qw-cta a{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:6px;background:var(--mfqw-teal);color:#15181A;font-weight:600;font-size:15px;text-decoration:none}
.mf-qw-cta a:hover{background:#3F9EAF;color:#15181A}

/* Pages with split sections (résidence fiscale, fiscalité) */
section.mf-qw.mf-qw-split{background:#fff}
section.mf-qw.mf-qw-split.mf-qw-alt{background:var(--mfqw-soft)}
.mf-qw-split .mf-qw-body > :last-child{margin-bottom:0}

/* Service page (création d’entreprise) */
.mf-qw-plain p:last-child{margin-bottom:0}

/* Articles (immobilier, création d’entreprise) */
.mf-qw-article{box-sizing:border-box;width:100%;max-width:1140px;margin:0 auto;padding:8px 24px 40px}
.mf-qw-article h2{font-family:Inter,system-ui,sans-serif;font-size:clamp(26px,3.2vw,34px);line-height:1.2;font-weight:700;color:#1F1D20;margin:40px 0 16px}
.mf-qw-article > h2:first-child{margin-top:16px}
.mf-qw-faq{margin-top:40px}
.mf-qw-faq__item{border-bottom:1px solid var(--mfqw-line)}
.mf-qw-faq__item:first-of-type{border-top:1px solid var(--mfqw-line)}
.mf-qw-faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;cursor:pointer;list-style:none}
.mf-qw-faq__item summary::-webkit-details-marker{display:none}
.mf-qw-faq__item summary h3{margin:0;font-size:17px}
.mf-qw-faq__chev{width:20px;height:20px;flex:none;transition:transform .2s ease}
.mf-qw-faq__item[open] .mf-qw-faq__chev{transform:rotate(180deg)}
.mf-qw-faq__answer{padding:0 0 18px}
.mf-qw-faq__answer p{margin:0}
@media (max-width:767px){
	.mf-qw-article{padding:8px 16px 32px}
	.mf-qw-table table{min-width:480px}
}
@media (prefers-reduced-motion:reduce){.mf-qw-faq__chev{transition:none}}
