/* Aviso e preferências de cookies + mensagens dos formulários */
.mmc-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:80;max-width:1100px;margin:0 auto;background:#fff;color:#333;border:1px solid #e3e3e3;border-radius:10px;box-shadow:0 12px 40px rgba(35,35,90,.22);padding:20px 24px;display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;font-family:inherit}
.mmc-banner[hidden]{display:none}
.mmc-text{flex:1 1 460px;min-width:0}
.mmc-text strong{display:block;color:#34347D;font-size:16px;margin-bottom:4px}
.mmc-text p{margin:0;font-size:14px;line-height:1.55}
.mmc-banner a,.mmc-modal a{color:#34347D;text-decoration:underline}
.mmc-actions{display:flex;flex-wrap:wrap;gap:10px}
.mmc-btn{min-height:44px;padding:0 20px;border-radius:4px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;border:1px solid #34347D}
.mmc-pri{background:#34347D;color:#fff}
.mmc-pri:hover{background:#23235A}
.mmc-sec{background:#fff;color:#34347D}
.mmc-sec:hover{background:#f1f1f8}
.mmc-btn:focus-visible,.mmc-switch:focus-visible{outline:3px solid #9C9CD0;outline-offset:2px}
.mmc-overlay{position:fixed;inset:0;z-index:90;background:rgba(20,20,50,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.mmc-modal{background:#fff;color:#333;border-radius:10px;max-width:560px;width:100%;max-height:calc(100vh - 32px);overflow:auto;padding:28px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.mmc-modal h2{margin:0 0 8px;color:#34347D;font-size:22px}
.mmc-intro{font-size:14px;line-height:1.55;margin:0 0 16px}
.mmc-cat{border-top:1px solid #e3e3e3;padding:14px 0}
.mmc-cat-head{display:flex;justify-content:space-between;align-items:center;gap:16px}
.mmc-cat-head label{font-weight:600;color:#34347D;font-size:15px}
.mmc-cat p{margin:6px 0 0;font-size:13px;line-height:1.5;color:#555}
.mmc-always{font-size:12px;font-weight:600;color:#2e7d32;white-space:nowrap}
.mmc-switch{appearance:none;-webkit-appearance:none;width:44px;height:26px;border-radius:13px;background:#c8c8d4;position:relative;cursor:pointer;flex:none;transition:background .2s;margin:0}
.mmc-switch::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.mmc-switch:checked{background:#34347D}
.mmc-switch:checked::after{transform:translateX(18px)}
.mmc-modal .mmc-actions{border-top:1px solid #e3e3e3;padding-top:16px;margin-top:4px;justify-content:flex-end}
@media (max-width:720px){
  .mmc-banner{left:8px;right:8px;bottom:8px;padding:16px;gap:12px}
  .mmc-actions{width:100%}
  .mmc-actions .mmc-btn{flex:1 1 30%;padding:0 10px}
  .mmc-banner .mmc-pri{flex-basis:100%;order:-1}
  .mmc-modal{padding:20px}
  .mmc-modal .mmc-actions .mmc-btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){.mmc-switch,.mmc-switch::after{transition:none}}

/* mensagens dos formulários */
.mm-status{margin:4px 0 0;font-size:14px;line-height:1.5;grid-column:1/-1}
.mm-status:empty{display:none}
.mm-ok{color:#2e7d32;font-weight:600}
.mm-err{color:#b3261e}
.patd .mm-ok,.newsletter .mm-ok{color:#fff}
.patd .mm-err,.newsletter .mm-err{color:#ffd2d2}
.patd .mm-status a,.newsletter .mm-status a{color:#fff}
.mm-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* páginas legais (privacidade e cookies) */
.mm-legal{color:#333;font-size:16px;line-height:1.7}
.mm-legal h1{font-size:40px;color:#34347D;margin:0 0 4px}
.mm-legal-date{color:#666;font-size:14px;margin:0 0 20px}
.mm-legal h2{font-size:22px;color:#34347D;margin:32px 0 8px}
.mm-legal p{margin:0 0 12px}
.mm-legal ul{margin:0 0 12px;padding-left:20px}
.mm-legal li{margin:0 0 6px}
.mm-legal a{color:#34347D;text-decoration:underline}
.mm-legal table{width:100%;border-collapse:collapse;margin:8px 0 16px;font-size:14px;background:#fff;border-radius:6px;overflow:hidden}
.mm-legal th{background:#34347D;color:#fff;text-align:left;padding:10px 12px;font-weight:600}
.mm-legal td{border-top:1px solid #e3e3e3;padding:10px 12px;vertical-align:top}
@media (max-width:720px){
  .mm-legal h1{font-size:30px}
  .mm-legal table,.mm-legal thead,.mm-legal tbody,.mm-legal tr,.mm-legal td{display:block;width:auto}
  .mm-legal thead{display:none}
  .mm-legal tr{border:1px solid #e3e3e3;border-radius:6px;margin:0 0 10px;padding:8px 12px;background:#fff}
  .mm-legal td{border:0;padding:4px 0}
  .mm-legal td:first-child{font-weight:600;color:#34347D}
}
