/* Header e footer do Mundo do Sono (includes/site-chrome.php). Só carrega quando a opção está ligada em Config. Home → Header e footer. */
:root{
  --mds-navy:#1d2a4d;
  --mds-blue:#08589c;
  --mds-ink:#3a4f66;
  --mds-bg:#fafbfc;
}
.mds-header{position:relative;z-index:50;background:var(--mds-navy) url("../img/chrome/header-bkg.png") center/cover no-repeat;color:#fff}
.mds-wrap{max-width:1200px;margin:0 auto;padding:0 20px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:97px}
.mds-logo img{display:block;width:228px;height:auto;max-height:56px;object-fit:contain;object-position:left center}
.mds-shop img{display:block;width:99px;height:auto;max-height:44px;object-fit:contain;object-position:right center}
.mds-header a{text-decoration:none}
.mds-header a:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:999px){
  .mds-wrap{min-height:72px}
  .mds-logo img{width:170px}
  .mds-shop img{width:76px}
}

/* ---------- Footer ---------- */
.mds-footer{background:var(--mds-navy) url("../img/chrome/footer-bkg.png") center/cover no-repeat;color:rgba(255,255,255,.7);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.6}
.mds-footer__wrap{max-width:1200px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.mds-footer a{color:inherit;text-decoration:none}
.mds-footer a:hover{color:#fff}
.mds-footer a:focus-visible,.mds-footer button:focus-visible,.mds-footer input:focus-visible{outline:3px solid #fff;outline-offset:2px}
.mds-footer h2{margin:0}
.mds-footer ul{margin:0;padding:0;list-style:none}
.mds-footer__top{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:128px;border-bottom:1px solid rgba(255,255,255,.3)}
.mds-footer__logo img{display:block;width:228px;height:auto;max-height:56px;object-fit:contain;object-position:left center}
.mds-footer__social{display:flex;gap:6px}
.mds-footer__social a{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:8px}
.mds-footer__social a:hover{background:rgba(255,255,255,.1)}
.mds-footer__main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.9fr);gap:40px;padding:48px 0}
.mds-footer__about h2,.mds-footer__care h2,.mds-footer__list h2{font-size:18px;font-weight:600;line-height:1.3;color:#fff;margin:0 0 14px!important}
.mds-footer__about p{margin:0 0 14px;font-size:15px;line-height:1.65;max-width:62ch}
.mds-footer__about strong{color:#fff;font-weight:600}
.mds-footer__go{display:flex;flex-direction:column;gap:14px}
.mds-footer a.mds-go{flex:1;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:96px;padding:20px 22px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18);border-radius:16px;color:rgba(255,255,255,.75);transition:background .15s,border-color .15s}
.mds-footer a.mds-go:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4);color:#fff}
.mds-go__text{display:flex;flex-direction:column;gap:4px}
.mds-go strong{font-size:17px;font-weight:600;line-height:1.3;color:#fff}
.mds-go small{font-size:14px;line-height:1.4}
.mds-go__arrow{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;background:#0e98d8;color:#07233a;font-size:18px;font-weight:700}
/* Versão nova (validação): lista leve "Continue no Mundo do Sono" */
.mds-footer a.mds-li{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.72)}
.mds-footer li:first-child a.mds-li{padding-top:4px}
.mds-li__icon{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:rgba(14,152,216,.16);color:#7cc8f0}
.mds-li__text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.mds-li__text strong{font-size:16px;font-weight:600;line-height:1.3;color:#fff}
.mds-li__text small{font-size:14px;line-height:1.4}
.mds-li__arrow{flex:none;color:#7cc8f0;font-size:18px;transition:transform .15s}
.mds-footer a.mds-li:hover strong{text-decoration:underline;text-underline-offset:3px}
.mds-footer a.mds-li:hover .mds-li__arrow{transform:translateX(3px)}
.mds-footer__care{padding:0}
.mds-footer a.mds-wa{display:inline-flex;align-items:center;gap:10px;background:#25d366;color:#06301a;border-radius:8px;padding:0 18px;min-height:48px;font-size:15px;font-weight:500}
.mds-footer a.mds-wa:hover{background:#3ae07a;color:#06301a}
.mds-wa svg{flex:none}
.mds-wa b{font-weight:700}
.mds-footer__phone{margin:16px 0 4px!important;font-size:15px;color:#fff}
.mds-footer__phone a{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.mds-footer__hours{display:flex;flex-direction:column;gap:2px;font-size:14px}
.mds-footer__contact{display:inline-flex;align-items:center;gap:6px;margin-top:8px;min-height:44px;font-size:15px;font-weight:600;color:#fff}
.mds-footer__bottom{border-top:1px solid rgba(255,255,255,.3);padding:24px 0}
.mds-footer__bottom p{margin:0;font-size:14px}
@media (max-width:999px){
  .mds-footer__main{grid-template-columns:1fr;gap:32px;padding:36px 0}
  .mds-footer a.mds-go{min-height:84px}
  .mds-footer__top{min-height:96px;flex-wrap:wrap;padding:20px 0}
  .mds-footer__logo img{width:170px}
}

@media (prefers-reduced-motion:reduce){.mds-footer a.mds-go,.mds-li__arrow{transition:none}}
