/* Cookie Banner - CSS - Cole este código no seu arquivo style.css */

/* Cookie Banner Principal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    visibility: hidden;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-content {
    position: relative;
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid var(--primary-color);
    padding: 20px 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.cookie-message h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: var(--heading-font-family);
}

.cookie-message p {
    color: #d3d3d3;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-message a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-message a:hover {
    color: #ff6b47;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--body-font-family);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-decline {
    background: transparent;
    color: #999;
    border: 1px solid #444;
}

.btn-decline:hover {
    background: #444;
    color: white;
    border-color: #666;
}

.btn-settings {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-settings:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-accept {
    background: var(--primary-color);
    color: white;
}

.btn-accept:hover {
    background: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 0, 0, 0.4);
}

/* Modal de Configurações */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #333;
}

.cookie-modal-header h3 {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    font-family: var(--heading-font-family);
}

.cookie-close {
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    background: var(--primary-color);
    color: white;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-modal-body > p {
    color: #d3d3d3;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

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

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    transition: 0.4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

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

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

.cookie-category-info h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: var(--heading-font-family);
}

.cookie-category-info p {
    color: #999;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #333;
    text-align: right;
}

/* Responsivo */
@media screen and (max-width: 991px) {
    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .cookie-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }
}

@media screen and (max-width: 767px) {
    .cookie-text {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-switch {
        align-self: flex-start;
    }
}

@media screen and (max-width: 575px) {
    .cookie-content {
        padding: 15px 0;
    }
    
    .cookie-message h4 {
        font-size: 16px;
    }
    
    .cookie-message p {
        font-size: 13px;
    }
    
    .cookie-modal-header h3 {
        font-size: 20px;
    }
    
    .cookie-category {
        padding: 15px;
    }
}