/* ==========================================
   PRIVACY CONSENT - LGPD
   Inkore Fitness
   ========================================== */

/* ==========================================
   BANNER DE PRIVACIDADE
   ========================================== */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: calc(100% - 48px);
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 9, 20, 0.25);
    border-radius: 16px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cookie-consent-text h3 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}

.cookie-consent-text p {
    color: #aaa;
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 0 0 6px;
}

.cookie-consent-text a {
    color: #e50914;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
    color: #ff2a35;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.cookie-btn {
    padding: 9px 18px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.cookie-btn-aceitar {
    background: linear-gradient(135deg, #e50914, #b20710);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.cookie-btn-aceitar:hover {
    background: linear-gradient(135deg, #ff2a35, #e50914);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.cookie-btn-recusar {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
}

.cookie-btn-recusar:hover {
    border-color: #e50914;
    color: #e50914;
    background: rgba(229, 9, 20, 0.05);
}

.cookie-btn-politica {
    background: transparent;
    border: none;
    color: #999;
    padding: 9px 12px;
    font-size: 0.72rem;
    text-transform: none;
    text-decoration: underline;
    letter-spacing: 0;
}

.cookie-btn-politica:hover {
    color: #e50914;
}

/* ==========================================
   MODAL POLÍTICA DE PRIVACIDADE
   ========================================== */
.modal-privacidade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-privacidade-content {
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(229, 9, 20, 0.25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-privacidade-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.modal-privacidade-header h2 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.modal-privacidade-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-privacidade-close:hover {
    background: #e50914;
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-privacidade-body {
    padding: 24px;
    overflow-y: auto;
    color: #ccc;
    font-size: 0.82rem;
    line-height: 1.7;
    flex: 1;
}

.modal-privacidade-body::-webkit-scrollbar {
    width: 5px;
}

.modal-privacidade-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.modal-privacidade-body::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 3px;
}

.modal-privacidade-body h3 {
    color: #e50914;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 24px 0 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-privacidade-body h3:first-child {
    margin-top: 0;
}

.modal-privacidade-body p {
    margin: 0 0 10px;
}

.modal-privacidade-body ul {
    padding-left: 20px;
    margin: 0 0 10px;
}

.modal-privacidade-body li {
    margin-bottom: 6px;
}

.modal-privacidade-body strong {
    color: #ffffff;
}

.modal-privacidade-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    flex-shrink: 0;
}

.modal-privacidade-footer .cookie-btn {
    min-width: 120px;
}

/* ==========================================
   RESPONSIVO
   ========================================== */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 12px;
        padding: 16px;
        border-radius: 14px;
        width: calc(100% - 24px);
    }

    .modal-privacidade {
        padding: 10px;
    }

    .modal-privacidade-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px;
    }

    .modal-privacidade-header {
        padding: 16px 18px;
    }

    .modal-privacidade-body {
        padding: 18px;
        font-size: 0.78rem;
    }

    .modal-privacidade-footer {
        padding: 12px 18px;
    }

    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 14px;
        bottom: 8px;
        width: calc(100% - 16px);
    }

    .cookie-consent-text h3 {
        font-size: 0.85rem;
    }

    .cookie-consent-text p {
        font-size: 0.7rem;
    }

    .cookie-consent-actions {
        gap: 6px;
    }

    .cookie-btn {
        padding: 7px 14px;
        font-size: 0.68rem;
    }

    .modal-privacidade-content {
        border-radius: 14px;
    }

    .modal-privacidade-body {
        padding: 14px;
        font-size: 0.72rem;
    }

    .modal-privacidade-body h3 {
        font-size: 0.8rem;
    }
}