/* --- RESET E FUNDO --- */
* { box-sizing: border-box; }
body { font-family: 'Manrope', sans-serif; margin: 0; padding: 0; background-color: #fff; }

/* --- Backgrounds Ajustados (Sem cortes) --- */
.paginaTopoNoPc { display: block; position: relative; width: 100%; }
.paginaTopoNoPc img { width: 100%; height: auto; display: block; }

.paginaTopoCel { display: none; position: relative; width: 100%; }
.paginaTopoCel img { width: 100%; height: auto; display: block; }

/* Camada escura sobre a imagem para dar destaque ao popup */
.bg-overlay { 
    background-color: rgba(0, 0, 0, 0.2); 
    width: 100%; 
    height: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: 1; 
}

/* --- POPUP BACKDROP (FUNDO FIXO ESCURO) --- */
.popup-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 9998;
}

/* --- TAMANHO DO POPUP REDUZIDO NO DESKTOP --- */
.cookie-wrapper {
    position: fixed;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 480px; 
    max-width: 95%;
}

/* --- POPUP VIDRO BRANCO (WHITE GLASSMORPHISM) --- */
.cookie-card {
    position: relative; 
    border-radius: 24px; 
    background: rgba(255, 255, 255, 0.90); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6); 
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15); 
    padding: 25px; 
    display: flex;
    flex-direction: column;
    gap: 15px; 
    color: #1e293b; 
}

.cookie-header { display: flex; justify-content: space-between; align-items: center; }

.cookie-title { font-size: 18px; font-weight: 800; margin: 0; color: #363636; text-transform: uppercase; letter-spacing: 1px; }

/* Botão X (Redireciona) */
.close-link {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.05);
    color: #1e293b;
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    transition: 0.3s;
}
.close-link:hover { background-color: #00c2cb; color: #fff; }
.close-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 3; }

.cookie-text { font-size: 14px; color: #475569; line-height: 1.5; margin: 0; }
.cookie-text a { color: #00c2cb; text-decoration: underline; font-weight: 600; }

/* --- LAYOUT DOS BOTÕES --- */
.cookie-actions { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-top: 5px; 
}

/* --- BOTÃO ACEITAR (CIANO UNIVERSO NARRADO) --- */
.btn-accept-gradient {
    flex: 1.5;
    background: #00c2cb; 
    height: 48px; 
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #ffffff; 
    font-size: 16px; 
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 194, 203, 0.35);
}

.btn-accept-gradient:hover {
    transform: translateY(-2px);
    background: #00a8b0;
    box-shadow: 0 0 30px rgba(0, 194, 203, 0.55);
}

.btn-accept-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: reflexo 3s infinite;
}

@keyframes reflexo {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

/* --- BOTÃO RECUSAR (CLARO/OUTLINE) --- */
.btn-refuse-black {
    flex: 1;
    background: transparent;
    height: 48px; 
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none !important;
    font-size: 15px; 
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}

.btn-refuse-black:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

/* --- RESPONSIVO MOBILE --- */
@media (max-width: 768px) {
    .paginaTopoNoPc { display: none; }
    .paginaTopoCel { display: block; }
    
    /* Ajustes do Cookie Mobile */
    .cookie-wrapper { width: 92%; bottom: 20px; }
    .cookie-card { padding: 20px; border-radius: 20px; }
    .cookie-actions { flex-direction: column; gap: 10px; }
    .btn-accept-gradient, .btn-refuse-black { width: 100%; flex: none; }
}