
    .cookie-consent {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2000;
        padding: 1rem;
        transform: translateY(120%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cookie-consent.show {
        transform: translateY(0);
    }

    .cookie-consent-box {
        max-width: 1100px;
        margin: 0 auto;
        background: var(--white, #fff);
        border: 2px solid var(--gray-200, #e0e5f0);
        border-radius: var(--radius-lg, 16px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
        padding: 1.5rem 2rem;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .cookie-consent-icon {
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--primary, #0B5394), var(--secondary, #27AE60));
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }

    .cookie-consent-text {
        flex: 1 1 320px;
        min-width: 260px;
        color: var(--gray-800, #3d4556);
    }

    .cookie-consent-text strong {
        display: block;
        font-size: 1.05rem;
        color: var(--dark, #1a1f2e);
        margin-bottom: 0.3rem;
        font-weight: 900;
    }

    .cookie-consent-text p {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.6;
        font-weight: 500;
    }

    .cookie-consent-text a {
        color: var(--primary, #0B5394);
        font-weight: 800;
        text-decoration: underline;
    }

    .cookie-consent-actions {
        display: flex;
        gap: 0.7rem;
        flex-wrap: wrap;
        flex-shrink: 0;
    }

    .cookie-btn {
        padding: 0.75rem 1.3rem;
        border-radius: 10px;
        font-weight: 800;
        font-size: 0.88rem;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.25s ease;
        border: 2px solid transparent;
    }

    .cookie-btn-primary {
        background: linear-gradient(135deg, var(--primary, #0B5394), var(--secondary, #27AE60));
        color: #fff;
    }

    .cookie-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .cookie-btn-outline {
        background: transparent;
        border-color: var(--gray-300, #c4cbd5);
        color: var(--gray-800, #3d4556);
    }

    .cookie-btn-outline:hover {
        border-color: var(--primary, #0B5394);
        color: var(--primary, #0B5394);
    }

    .cookie-btn-ghost {
        background: transparent;
        color: var(--gray-700, #4d556b);
        text-decoration: underline;
    }

    /* ===== Painel de preferências ===== */
    .cookie-prefs-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 20, 30, 0.55);
        z-index: 2100;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
    }

    .cookie-prefs-modal {
        background: #fff;
        border-radius: var(--radius-lg, 16px);
        max-width: 520px;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    }

    .cookie-prefs-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 1.8rem;
        border-bottom: 2px solid var(--gray-200, #e0e5f0);
    }

    .cookie-prefs-header h3 {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 900;
        color: var(--dark, #1a1f2e);
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .cookie-prefs-close {
        background: var(--gray-100, #f2f5fb);
        border: none;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        cursor: pointer;
        color: var(--gray-700, #4d556b);
    }

    .cookie-prefs-close:hover {
        background: var(--gray-200, #e0e5f0);
    }

    .cookie-prefs-body {
        padding: 1.2rem 1.8rem;
    }

    .cookie-prefs-item {
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-200, #e0e5f0);
    }

    .cookie-prefs-item:last-child {
        border-bottom: none;
    }

    .cookie-prefs-item-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 800;
        color: var(--dark, #1a1f2e);
        margin-bottom: 0.4rem;
    }

    .cookie-prefs-item p {
        margin: 0;
        font-size: 0.85rem;
        color: var(--gray-600, #6b758f);
        line-height: 1.5;
        font-weight: 500;
    }

    .cookie-prefs-footer {
        display: flex;
        justify-content: flex-end;
        gap: 0.7rem;
        padding: 1.2rem 1.8rem;
        border-top: 2px solid var(--gray-200, #e0e5f0);
        flex-wrap: wrap;
    }

    .cookie-switch {
        position: relative;
        display: inline-block;
        width: 44px;
        height: 24px;
        flex-shrink: 0;
    }

    .cookie-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .cookie-slider {
        position: absolute;
        cursor: pointer;
        inset: 0;
        background: var(--gray-300, #c4cbd5);
        border-radius: 999px;
        transition: 0.25s;
    }

    .cookie-slider::before {
        content: '';
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background: #fff;
        border-radius: 50%;
        transition: 0.25s;
    }

    .cookie-switch input:checked + .cookie-slider {
        background: var(--primary, #0B5394);
    }

    .cookie-switch input:checked + .cookie-slider::before {
        transform: translateX(20px);
    }

    .cookie-switch input:disabled + .cookie-slider {
        opacity: 0.6;
        cursor: not-allowed;
    }

    /* ===== Botão flutuante ===== */
    .cookie-consent-fab {
        position: fixed;
        left: 1.2rem;
        bottom: 1.2rem;
        z-index: 1900;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: none;
        background: linear-gradient(135deg, var(--primary, #0B5394), var(--secondary, #27AE60));
        color: #fff;
        font-size: 1.2rem;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        transition: transform 0.25s ease;
    }

    .cookie-consent-fab:hover {
        transform: scale(1.1);
    }

    @media (max-width: 768px) {
        .cookie-consent-box {
            padding: 1.2rem;
            flex-direction: column;
            align-items: stretch;
            text-align: center;
        }

        .cookie-consent-icon {
            margin: 0 auto;
        }

        .cookie-consent-actions {
            justify-content: center;
        }

        .cookie-btn {
            flex: 1 1 auto;
        }
    }
