/* =========================================
   I. MARTINS CONSULTORIA - LGPD COOKIE BANNER
   ========================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 9999;
    padding: 20px 0;
    display: none;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.cookie-text p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
}

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

.cookie-text a:hover {
    opacity: 0.8;
}

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

.cookie-btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--fonte-principal);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.cookie-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: var(--branco);
}

.cookie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--branco);
}

.cookie-btn-solid {
    background: var(--verde-whatsapp);
    border: 1.5px solid var(--verde-whatsapp);
    color: var(--branco);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.cookie-btn-solid:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
}

/* Checkbox LGPD nos formulários */
.lgpd-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.lgpd-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--verde-whatsapp);
    cursor: pointer;
}

.lgpd-consent label {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.lgpd-consent a {
    color: var(--verde-whatsapp);
    text-decoration: underline;
    font-weight: 600;
}

.lgpd-consent a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .cookie-text {
        min-width: 100%;
    }
}
