/* ========== Screen Reader Only ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========== INÍCIO: BANNER LGPD ========== */
.lgpd-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 550px;
    width: 90%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: slideUpLgpd 0.4s ease forwards;
}

@media (min-width: 769px) {
    .lgpd-banner {
        max-width: 650px;
        padding: 1.75rem 2rem;
    }
}

.lgpd-banner.hidden {
    display: none !important;
}

@keyframes slideUpLgpd {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.lgpd-content {
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.lgpd-content a {
    color: var(--gold-dark);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.lgpd-content a:hover {
    color: var(--gold);
}

.lgpd-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.lgpd-accept,
.lgpd-reject,
.lgpd-manage {
    padding: 12px 28px;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.lgpd-accept {
    background-color: #7A5A23;
    color: #FFFFFF;
}

.lgpd-accept:hover {
    background-color: var(--gold);
    transform: scale(1.05);
}

.lgpd-reject {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
}

.lgpd-reject:hover {
    border-color: var(--text-dark);
    transform: scale(1.05);
}

.lgpd-manage {
    background-color: #f5f5f5;
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
}

.lgpd-manage:hover {
    background-color: #e8e8e8;
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .lgpd-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .lgpd-accept,
    .lgpd-reject,
    .lgpd-manage {
        width: 100%;
    }
}
/* ========== FIM: BANNER LGPD ========== */

/* ========== INÍCIO: MODAL COOKIES ========== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    animation: fadeIn 0.3s ease;
}

.cookie-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.cookie-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.cookie-modal-close:hover {
    color: #1a1a1a;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.cookie-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #9A722E;
}

.cookie-label {
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
}

.cookie-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    margin-left: 30px;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.cookie-btn-save {
    width: 100%;
    padding: 14px;
    background-color: #9A722E;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.cookie-btn-save:hover {
    background-color: #A58546;
    transform: scale(1.02);
}
/* ========== FIM: MODAL COOKIES ========== */
