/**
 * Cookie Consent Banner Styles
 * Estilos para o banner de consentimento de cookies LGPD/GDPR
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1C1917 0%, #2D2926 100%);
    color: #EAE4D9;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #8C6239;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-consent-text {
    flex: 1;
    margin-right: 1rem;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #EAE4D9;
}

.cookie-consent-text a {
    color: #D4B896;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #8C6239;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #8C6239 0%, #6E4A28 100%);
    color: #FFFFFF;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #6E4A28 0%, #4A331E 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 98, 57, 0.4);
}

.cookie-btn-customize {
    background: transparent;
    color: #D4B896;
    border: 1px solid #D4B896;
}

.cookie-btn-customize:hover {
    background: rgba(212, 184, 150, 0.1);
    color: #EAE4D9;
}

.cookie-btn-reject {
    background: transparent;
    color: #9CA3AF;
    border: 1px solid #9CA3AF;
}

.cookie-btn-reject:hover {
    background: rgba(156, 163, 175, 0.1);
    color: #EAE4D9;
}

.cookie-btn-save {
    background: linear-gradient(135deg, #678272 0%, #4A6153 100%);
    color: #FFFFFF;
    width: 100%;
    margin-top: 0.5rem;
}

.cookie-btn-save:hover {
    background: linear-gradient(135deg, #4A6153 0%, #2D3E33 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 130, 114, 0.4);
}

.cookie-consent-options {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(212, 184, 150, 0.2);
}

.cookie-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-checkbox {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.75rem;
    accent-color: #8C6239;
    cursor: pointer;
}

.cookie-option label {
    font-size: 0.9rem;
    color: #EAE4D9;
    cursor: pointer;
    user-select: none;
}

.cookie-option label:hover {
    color: #D4B896;
}

/* Responsivo para mobile */
@media (max-width: 767px) {
    .cookie-consent-banner {
        padding: 1rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 0.8rem 1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.85rem;
    }
}

/* Animação de entrada */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-banner[style*="display: block"] {
    animation: slideUp 0.5s ease-out;
}