/* GV Máquinas — banner e preferências de cookies */
.cc-banner { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(560px, calc(100vw - 40px)); background: #1E2048; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 22px 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease, ease), transform .5s var(--ease, ease); }
.cc-banner.in { opacity: 1; transform: none; }
.cc-banner[hidden] { display: none; }
.cc-title { font: 700 1.15rem/1.2 var(--font-title, Roboto, sans-serif); letter-spacing: 0; margin: 0 0 .5rem; color: #fff; }
.cc-banner p, .cc-lead { font: 400 .95rem/1.55 var(--font-body, "PT Sans", sans-serif); color: #D5DAEE; margin: 0 0 1rem; }
.cc-banner a, .cc-dialog a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cc-btn { font: 700 .82rem/1 var(--font-title, Roboto, sans-serif); letter-spacing: .06em; text-transform: uppercase; padding: .85rem 1.1rem; border: 0; border-radius: 6px; cursor: pointer; color: #F2F7FA; background: linear-gradient(180deg, #5B9AC2, #417EA9 55%, #35709A); transition: transform .2s ease; }
.cc-btn:hover { transform: translateY(-2px); }
.cc-link { background: none; border: 0; color: #fff; font: 700 .82rem/1 var(--font-title, Roboto, sans-serif); letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: .85rem .3rem; }
.cc-banner :focus-visible, .cc-dialog :focus-visible { outline: 3px solid #8DB8D8; outline-offset: 3px; }

.cc-dialog { width: min(620px, calc(100vw - 32px)); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 0; background: #1E2048; color: #fff; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7); }
.cc-dialog::backdrop { background: rgba(14,16,40,.7); }
.cc-form { position: relative; padding: 28px 28px 24px; display: grid; gap: 14px; }
.cc-x { position: absolute; right: 14px; top: 10px; background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 6px 10px; }
.cc-cat { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); }
.cc-cat strong { font: 700 1rem/1.2 var(--font-title, Roboto, sans-serif); }
.cc-cat p { margin: .3rem 0 0; font: 400 .92rem/1.5 var(--font-body, "PT Sans", sans-serif); color: #C4CAE4; }
.cc-sw { position: relative; flex: none; width: 52px; height: 30px; }
.cc-sw input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-sw span { position: absolute; inset: 0; border-radius: 30px; background: #5A6080; transition: background .25s; pointer-events: none; }
.cc-sw span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s; }
.cc-sw input:checked + span { background: #417EA9; } .cc-sw input:checked + span::after { transform: translateX(22px); }
.cc-sw input:disabled + span { opacity: .6; }
.cc-sw input:focus-visible + span { outline: 3px solid #8DB8D8; outline-offset: 2px; }
@media (max-width: 560px) { .cc-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; } .cc-actions .cc-btn { flex: 1 1 100%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .cc-banner { transition: none; transform: none; } .cc-btn:hover { transform: none; } }

/* link "Preferências de cookies" no rodapé */
.cookie-prefs { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-prefs:hover { color: #fff; }
mark.pendente { background: #FFE27A; color: #3A2A00; padding: 0 .25em; border-radius: 2px; font-weight: 700; }
/* campo-isca anti-spam (invisível para pessoas) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
footer .legal.credit { margin-top: 10px; } footer .legal.credit a { text-decoration: underline; text-underline-offset: 3px; }
