/* DEFIM Noyon : améliorations de lisibilité et navigation, septembre 2026. */
html{scroll-padding-top:130px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #087f8c;outline-offset:4px}
/* Le menu compact apparaît avant que le bandeau manque de place. */
@media(max-width:1180px){
 header .head{position:relative;gap:20px}
 header .nav{display:none}
 header button.menu{display:block;margin-left:auto;flex-shrink:0}
 header .nav.is-open{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:12px 20px;background:#fff;border-bottom:1px solid #e5ecee;box-shadow:0 8px 16px #0001;max-height:calc(100dvh - 110px);overflow-y:auto}
 header .nav.is-open a{display:block;padding:12px 8px}
 header .phone{white-space:nowrap}
}
@media(max-width:380px){header .head{gap:12px}}
/* Textes secondaires et cibles tactiles plus lisibles. */
#diagnostics .diags{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#diagnostics .card{padding:20px 14px;min-height:190px}
#diagnostics .card b{font-size:15px;line-height:1.35}
#diagnostics .card small{font-size:14px;line-height:1.55}
#diagnostics .card .learn{font-size:13px!important;line-height:1.5;color:#087f8c;padding-top:6px}
.trustitem b{font-size:14px;line-height:1.45}
.trustitem small{font-size:13px;line-height:1.5;display:block}
.post .tag,.prep-card .prep-tag{font-size:12px;line-height:1.4}
.post .tag{background:#087f8c}
.post .meta,.prep-card .prep-date{font-size:13px;line-height:1.5}
.post .read,.about .read,.prep-card a{font-size:14px;line-height:1.5;min-height:44px;display:inline-flex;align-items:center;color:#087f8c}
.post h3{font-size:18px;line-height:1.4}
.prep-card h3{font-size:18px;line-height:1.4}
.eyebrow{font-size:14px;color:#087f8c}
.seo-local>p{max-width:960px;line-height:1.75}
.seo-questions{max-width:960px;margin-top:24px}
.seo-questions details{border:1px solid #dce7e9;border-radius:8px;margin:12px 0;background:#fff}
.seo-questions summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none;min-height:56px}
.seo-questions summary::-webkit-details-marker{display:none}
.seo-questions summary::after{content:'+';font-size:25px;color:#087f8c;font-weight:700;flex-shrink:0}
.seo-questions details[open] summary::after{content:'−'}
.seo-questions summary h3{font-size:18px;line-height:1.4;margin:0}
.seo-questions .seo-answer{padding:0 20px 12px}
.seo-questions .seo-answer p{font-size:16px;line-height:1.75;margin:0 0 16px}
@media(max-width:600px){#diagnostics .diags{grid-template-columns:repeat(2,minmax(0,1fr))}#diagnostics .card{padding:18px 10px}.seo-questions summary{padding:16px}.seo-questions summary h3{font-size:17px}.seo-questions .seo-answer{padding:0 16px 8px}}
/* Pied de page commun, indépendant des styles propres aux articles. */
footer.site-footer{margin-top:0;background:#13272e;color:#e3edef;padding:42px 0 24px;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.65;text-align:left}
.site-footer .footer-wrap{width:auto;max-width:1180px;margin:0 auto;padding:0 28px}
.site-footer .footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:32px}
.site-footer h2{font-size:16px;line-height:1.4;color:#fff;text-transform:none;margin:0 0 14px}
.site-footer p,.site-footer address{font-size:14px;line-height:1.7;color:#d0dfe2;margin:12px 0;font-style:normal}
.site-footer a{font-size:14px;line-height:1.6;color:#e3edef;text-decoration:none;display:block;padding:6px 0;overflow-wrap:anywhere}
.site-footer a:hover{text-decoration:underline;color:#fff}
.site-footer img{display:block;width:170px;max-width:100%;height:auto;filter:none}
.site-footer .footer-brand{display:inline-block;padding:0}
.site-footer .footer-copy{border-top:1px solid #ffffff26;margin-top:26px;padding-top:18px;display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;font-size:13px;color:#c0d1d5}
.site-footer .footer-copy a{font-size:13px;display:inline-block;padding:3px 0;text-decoration:underline}
.site-footer .footer-mail{overflow-wrap:anywhere}
@media(max-width:900px){.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.site-footer .footer-wrap{padding:0 20px}}
@media(max-width:560px){.site-footer .footer-grid{grid-template-columns:1fr;gap:24px}.site-footer .footer-copy{display:block}.site-footer .footer-copy>*{display:block;margin:8px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bloggrid,.prep-grid{scroll-behavior:auto!important}}

/* Lisibilite des liens et actions */
.btn,.phone,.cta a,.article-cta a{background-color:#087f8c;color:#fff}
.official-sources{margin:30px 0;padding:20px;background:#f3f8f8;border-left:4px solid #087f8c}.official-sources p{font-size:15px;line-height:1.7}
