#cookie-popup h3 {
    margin: 0 0 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #111111;
    letter-spacing: -0.01em;
}

#cookie-popup .cookie-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: #555555;
    margin-bottom: 14px;
}

#cookie-popup a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .2s ease;
}

#cookie-popup a:hover {
    opacity: .7;
}

#cookie-popup .cookie-category span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #333333;
}

#cookie-popup #accept-cookies {
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .15s ease, opacity .2s ease;
}

#cookie-popup #accept-cookies:hover {
    opacity: .9;
    transform: translateY(-1px);
}

#cookie-popup #close-cookies {
    background: #f0f0f0;
    color: #111111;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}

#cookie-popup #close-cookies:hover {
    background: #e4e4e4;
    transform: translateY(-1px);
}

#cookie-popup .cookie-brand {
    position: absolute;
    top: 10px;
    right: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #999999;
    text-decoration: none;
    letter-spacing: .04em;
    transition: opacity .2s ease;
}

#cookie-popup .cookie-brand:hover {
    opacity: .7;
}

/* =======================================================
   FAB BUTTON
======================================================= */
#cookie-fab {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    opacity: 0.5; /* Inicia mais opaco */
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

/* Opacidade total no Hover OU quando o popup está aberto */
#cookie-fab:hover, 
#cookie-fab.is-open { 
    transform: scale(1.06); 
    opacity: 1; 
}

#cookie-fab img { width: 18px; height: 18px; }

/* =======================================================
   POPUP CONTAINER
======================================================= */
#cookie-popup {
    position: fixed;
    bottom: 76px;
    left: 20px;
    width: 330px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    font-family: 'Inter', sans-serif;
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: .35s;
}

#cookie-popup.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-category { display:flex; justify-content:space-between; margin-top:14px; font-size:13px; }
.cookie-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }
.cookie-actions button { border:none; padding:6px 14px; border-radius:6px; cursor:pointer; }
.switch { position:relative; width:38px; height:20px; }
.switch input { opacity:0; width: 0; height: 0; }
.slider { position:absolute; inset:0; background:#ccc; border-radius:20px; cursor: pointer; transition: .4s; }
.slider:before { content:""; position:absolute; width:14px; height:14px; left:3px; bottom:3px; background:#fff; border-radius:50%; transition: .4s; }
.switch input:checked + .slider { background:#111; }
.switch input:checked + .slider:before { transform:translateX(18px); }