/* Landing Page Aussel — consentimento de cookies */
[data-consent-ui] [hidden] { display: none !important; }
.aussel-consent-dialog-open { overflow: hidden; }
.cookie-consent-banner,
.cookie-consent-dialog {
    font-family: inherit;
    color: #17263b;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    box-shadow: 0 16px 46px rgba(5, 23, 50, .18);
}
/* Banner compacto — canto inferior esquerdo */

.cookie-consent-banner {
    position: fixed;
    z-index: 1100;

    bottom: 20px;
    left: 20px;
    transform: none;

    width: min(390px, calc(100% - 40px));

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 14px;

    padding: 20px;

    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 16px;

    box-shadow: 0 12px 36px rgba(5, 23, 50, 0.16);
}
.cookie-consent-copy { flex: 1 1 420px; }
.cookie-consent-copy h2,
.cookie-consent-dialog h2 { color: #0e4d7c; font-size: 1.13rem; line-height: 1.3; margin: 0 0 8px; }
.cookie-consent-copy p,
.cookie-consent-dialog p { margin: 0; font-size: .9rem; line-height: 1.55; }
.cookie-consent-copy a,
.cookie-consent-dialog a { color: #0e4d7c; text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-consent-button,
.footer-legal .cookie-consent-link {
    font: inherit;
    cursor: pointer;
}
.cookie-consent-button {
    width: auto;
    min-height: 42px;
    padding: 10px 15px;
    margin: 0;
    border: 1px solid #0e4d7c;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    transition: background-color .15s, color .15s;
    box-shadow: none;
    transform: none;
}
.cookie-consent-button:hover { transform: none; box-shadow: none; }
.cookie-consent-button:disabled { opacity: .6; cursor: wait; }
.cookie-consent-button--primary { background: #0e4d7c; color: #fff; }
.cookie-consent-button--primary:hover { background: #093a60; }
.cookie-consent-button--secondary { background: #fff; color: #0e4d7c; }
.cookie-consent-button--secondary:hover { background: #eef4fa; }
.cookie-consent-button:focus-visible,
.footer-legal .cookie-consent-link:focus-visible,
.cookie-consent-check input:focus-visible { outline: 3px solid #b89457; outline-offset: 3px; }
.cookie-consent-error { color: #9d2631; margin-top: 9px !important; font-size: .82rem !important; }
.cookie-consent-backdrop { position: fixed; inset: 0; z-index: 1190; background: rgba(5, 17, 35, .65); }
.cookie-consent-dialog {
    position: fixed;
    z-index: 1200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(540px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border-radius: 16px;
    padding: 24px;
}
.cookie-consent-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 16px; }
.cookie-consent-dialog-close { background: transparent; color: #0e4d7c; border: 0; padding: 4px 8px; font-size: 1.5rem; cursor: pointer; width: auto; box-shadow: none; }
.cookie-consent-dialog-close:hover { transform: none; box-shadow: none; }
.cookie-consent-category { border: 1px solid #dce4ee; border-radius: 10px; padding: 14px; margin-top: 12px; }
.cookie-consent-category strong { color: #0e4d7c; }
.cookie-consent-category p { margin-top: 6px; font-size: .84rem; color: #4d5b6b; }
.cookie-consent-category-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie-consent-check { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: .84rem; }
.cookie-consent-check input { width: 19px; height: 19px; margin: 0; padding: 0; accent-color: #0e4d7c; }
.cookie-consent-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer-legal .cookie-consent-link { background: transparent; color: #f4f7fc; border: 0; padding: 0; font-size: .86rem; font-weight: 500; text-decoration: none; text-align: left; box-shadow: none; }
.footer-legal .cookie-consent-link:hover { color: #e7d7bc; transform: none; box-shadow: none; }
/* Conteúdo do cartão */

.cookie-consent-banner .cookie-consent-copy {
    flex: 0 1 auto;
    min-width: 0;
    width: 100%;
}

.cookie-consent-banner .cookie-consent-copy h2 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.cookie-consent-banner .cookie-consent-copy p {
    font-size: 0.84rem;
    line-height: 1.55;
}

/* Botões do banner */

.cookie-consent-banner .cookie-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    gap: 8px;
}

.cookie-consent-banner .cookie-consent-actions
.cookie-consent-button {
    width: 100%;
    min-width: 0;
    min-height: 40px;

    padding: 9px 8px;

    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
}

/* Aceitar ocupa toda a largura da segunda linha */

.cookie-consent-banner [data-consent-accept] {
    grid-column: 1 / -1;
}

/* Responsividade */

@media (max-width: 600px) {

    .cookie-consent-banner {
        bottom: 12px;
        left: 12px;

        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);

        overflow-y: auto;
        padding: 16px;
        gap: 12px;
    }

    .cookie-consent-banner .cookie-consent-copy p {
        font-size: 0.82rem;
    }
}
@media (prefers-reduced-motion: reduce) { .cookie-consent-button { transition: none; } }
