/* MakitiCargo — en-tête, pied de page et ajustements du thème */
body { background: #f5f7fb; }
.wp-site-blocks { padding-top: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }

/* En-tête collant */
header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 0; } }
.mkc-site-header { border-bottom: 1px solid #dde3ec; background: rgba(255,255,255,.92) !important; backdrop-filter: saturate(160%) blur(12px); }
.mkc-site-header .wp-block-site-logo img { height: auto; }
.mkc-site-header .wp-block-navigation { font-size: .95rem; color: #5b6577; }
.mkc-site-header .wp-block-navigation a { text-decoration: none; }
.mkc-site-header .wp-block-navigation a:hover { color: #0f172a; }
.mkc-header-cta .wp-block-button__link {
  background: #ff8a00; color: #1a0d00; border-radius: 12px; font-weight: 600;
  padding: 10px 18px; font-size: .95rem; box-shadow: 0 6px 18px rgba(255,138,0,.3);
}
.mkc-header-cta .wp-block-button__link:hover { background: #e67a00; color: #1a0d00; }
@media (max-width: 600px) {
  .mkc-site-header .wp-block-site-logo img { width: 150px !important; }
  .mkc-header-cta .wp-block-button__link { padding: 8px 14px; }
}

/* WooCommerce ajoute automatiquement « Mon compte » et le mini-panier : inutiles ici */
.mkc-site-header .wp-block-woocommerce-customer-account,
.mkc-site-header .wp-block-woocommerce-mini-cart { display: none !important; }

/* Les pages MakitiCargo (accueil, /de/, /en/, villes, pros, suivi) prennent toute la largeur */
.home main.wp-block-group, .home .wp-block-post-content,
main.wp-block-group:has(.mkc), .wp-block-post-content:has(> .mkc) { margin-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }
.wp-block-post-content.is-layout-constrained > .mkc { max-width: none !important; width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
.wp-block-post-content > .mkc + * { margin-top: 0; }
/* Page avec un seul module (ex. suivi) : on garde de l'air autour */
.wp-block-post-content > .mkc:not(.mkc-full) { padding: 32px 0 48px; }

/* Pied de page sombre */
.mkc-site-footer { background: #061529; color: #9fb0c8; font-size: .95rem; }
.mkc-site-footer a { color: #d5deec; text-decoration: none; }
.mkc-site-footer a:hover { color: #fff; }
.mkc-site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.mkc-site-footer ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 0; }
.mkc-footer-cities { margin-top: 32px !important; font-size: .85rem; line-height: 1.9; }
.mkc-footer-cities strong { color: #fff; font-weight: 600; }
.mkc-footer-legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px !important; padding-top: 20px; font-size: .85rem; }
