/* ============================================
   SEÇÃO CONTROLE DE COOKIES - AQUAFLEX
   Prefixo: ck- (cookie)
   
   Cores da Identidade Visual:
   - Laranja (Primary): #ff5500
   - Azul: #2693FF
   - Verde: #28a745
   - Preto Heading: #010f34
   - Cinza Body: #788094
   
   Fontes:
   - Headings: Outfit
   - Body: DM Sans
============================================ */

/* ========================================
   VARIÁVEIS CSS
======================================== */
.ck-banner,
.ck-modal,
.ck-floating-btn {
    --ck-primary: #ff5500;
    --ck-primary-light: #ff7733;
    --ck-primary-dark: #cc4400;
    --ck-secondary: #2693FF;
    --ck-secondary-light: #4da6ff;
    --ck-success: #28a745;
    --ck-success-dark: #1e7e34;
    --ck-heading: #010f34;
    --ck-body: #788094;
    --ck-white: #ffffff;
    --ck-gray-light: #f5f7fa;
    --ck-gray: #e8ecf1;
    --ck-border: #ecf1f5;
    --ck-shadow: rgba(1, 15, 52, 0.12);
    --ck-shadow-strong: rgba(1, 15, 52, 0.2);
    --ck-overlay: rgba(1, 15, 52, 0.6);
    --ck-glass: rgba(255, 255, 255, 0.95);
    --ck-radius: 16px;
    --ck-radius-sm: 10px;
    --ck-radius-lg: 24px;
    --ck-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ck-font-heading: "Outfit", sans-serif;
    --ck-font-body: "DM Sans", sans-serif;
}

/* ========================================
   RESET E BASE
======================================== */
.ck-banner *,
.ck-modal *,
.ck-floating-btn * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   BANNER DE COOKIES
======================================== */
.ck-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    padding: 0 20px 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    font-family: var(--ck-font-body);
}

.ck-banner.ck-visible {
    transform: translateY(0);
    opacity: 1;
}

.ck-banner-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--ck-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--ck-radius-lg);
    padding: 28px 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 
        0 -10px 50px var(--ck-shadow),
        0 0 0 1px rgba(255, 85, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

/* Glow Effect */
.ck-banner-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 150px;
    background: radial-gradient(ellipse at center, rgba(255, 85, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Sweep Light Effect */
.ck-banner-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: ck-sweep 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ck-sweep {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Banner Icon */
.ck-banner-icon {
    position: relative;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ck-primary) 0%, var(--ck-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(255, 85, 0, 0.35),
        inset 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.ck-banner-icon svg {
    width: 38px;
    height: 38px;
    color: var(--ck-white);
    animation: ck-cookie-float 3s ease-in-out infinite;
}

@keyframes ck-cookie-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

/* Icon Particles */
.ck-icon-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.ck-icon-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--ck-primary);
    border-radius: 50%;
    opacity: 0;
    animation: ck-particle 2.5s ease-out infinite;
}

.ck-icon-particles span:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.ck-icon-particles span:nth-child(2) { top: 30%; left: 90%; animation-delay: 0.5s; }
.ck-icon-particles span:nth-child(3) { top: 70%; left: 85%; animation-delay: 1s; }
.ck-icon-particles span:nth-child(4) { top: 80%; left: 20%; animation-delay: 1.5s; }
.ck-icon-particles span:nth-child(5) { top: 25%; left: 5%; animation-delay: 2s; }

@keyframes ck-particle {
    0% { transform: scale(0) translate(0, 0); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: scale(1) translate(var(--tx, 20px), var(--ty, -30px)); opacity: 0; }
}

.ck-icon-particles span:nth-child(1) { --tx: 0px; --ty: -40px; }
.ck-icon-particles span:nth-child(2) { --tx: 35px; --ty: -15px; }
.ck-icon-particles span:nth-child(3) { --tx: 25px; --ty: 30px; }
.ck-icon-particles span:nth-child(4) { --tx: -30px; --ty: 25px; }
.ck-icon-particles span:nth-child(5) { --tx: -35px; --ty: -20px; }

/* Banner Text */
.ck-banner-text {
    flex: 1;
    min-width: 0;
}

.ck-banner-title {
    font-family: var(--ck-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--ck-heading);
    margin-bottom: 6px;
    line-height: 1.3;
}

.ck-banner-description {
    font-family: var(--ck-font-body);
    font-size: 15px;
    color: var(--ck-body);
    line-height: 1.6;
    margin: 0;
}

/* Banner Actions */
.ck-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ========================================
   BOTÕES
======================================== */
.ck-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--ck-font-heading);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--ck-radius-sm);
    cursor: pointer;
    transition: all var(--ck-transition);
    overflow: hidden;
    white-space: nowrap;
}

.ck-btn-text {
    position: relative;
    z-index: 2;
}

.ck-btn-icon {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 2;
}

/* Primary Button */
.ck-btn-primary {
    background: linear-gradient(135deg, var(--ck-primary) 0%, var(--ck-primary-dark) 100%);
    color: var(--ck-white);
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.35);
}

.ck-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.45);
    background: linear-gradient(135deg, var(--ck-primary-light) 0%, var(--ck-primary) 100%);
}

.ck-btn-primary:active {
    transform: translateY(0);
}

/* Button Shine Effect */
.ck-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: ck-btn-shine 3s ease-in-out infinite;
}

@keyframes ck-btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Secondary Button */
.ck-btn-secondary {
    background: var(--ck-heading);
    color: var(--ck-white);
}

.ck-btn-secondary:hover {
    background: #1a2a4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 15, 52, 0.25);
}

/* Outline Button */
.ck-btn-outline {
    background: transparent;
    color: var(--ck-heading);
    border: 2px solid var(--ck-border);
}

.ck-btn-outline:hover {
    border-color: var(--ck-primary);
    color: var(--ck-primary);
    background: rgba(255, 85, 0, 0.05);
}

/* Ghost Button */
.ck-btn-ghost {
    background: transparent;
    color: var(--ck-body);
    padding: 14px 20px;
}

.ck-btn-ghost:hover {
    color: var(--ck-heading);
    background: var(--ck-gray-light);
}

/* ========================================
   MODAL DE CONFIGURAÇÕES
======================================== */
.ck-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-family: var(--ck-font-body);
}

.ck-modal.ck-visible {
    opacity: 1;
    visibility: visible;
}

.ck-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ck-overlay);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.ck-modal-container {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    background: var(--ck-white);
    border-radius: var(--ck-radius-lg);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 85, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ck-modal.ck-visible .ck-modal-container {
    transform: translateY(0) scale(1);
}

/* Modal Glow */
.ck-modal-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(255, 85, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Modal Sweep */
.ck-modal-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    animation: ck-modal-sweep 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ck-modal-sweep {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Modal Header */
.ck-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--ck-gray-light) 0%, var(--ck-white) 100%);
    border-bottom: 1px solid var(--ck-border);
}

.ck-modal-header-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ck-modal-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ck-primary) 0%, var(--ck-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
}

.ck-modal-logo svg {
    width: 28px;
    height: 28px;
    color: var(--ck-white);
}

.ck-modal-title {
    font-family: var(--ck-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--ck-heading);
    margin-bottom: 4px;
    line-height: 1.2;
}

.ck-modal-subtitle {
    font-size: 14px;
    color: var(--ck-body);
    margin: 0;
}

.ck-modal-close {
    width: 44px;
    height: 44px;
    background: var(--ck-white);
    border: 1px solid var(--ck-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ck-transition);
}

.ck-modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--ck-body);
    transition: color var(--ck-transition);
}

.ck-modal-close:hover {
    background: var(--ck-primary);
    border-color: var(--ck-primary);
}

.ck-modal-close:hover svg {
    color: var(--ck-white);
}

/* Modal Body */
.ck-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Custom Scrollbar for Modal */
.ck-modal-body::-webkit-scrollbar {
    width: 8px;
}

.ck-modal-body::-webkit-scrollbar-track {
    background: var(--ck-gray-light);
}

.ck-modal-body::-webkit-scrollbar-thumb {
    background: var(--ck-primary);
    border-radius: 4px;
}

.ck-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--ck-primary-light);
}

/* Tabs Navigation */
.ck-tabs {
    display: flex;
    background: var(--ck-gray-light);
    padding: 8px;
    gap: 6px;
    border-bottom: 1px solid var(--ck-border);
}

.ck-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: var(--ck-radius-sm);
    font-family: var(--ck-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--ck-body);
    cursor: pointer;
    transition: all var(--ck-transition);
}

.ck-tab svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ck-tab:hover {
    color: var(--ck-heading);
    background: rgba(255, 255, 255, 0.7);
}

.ck-tab.active {
    background: var(--ck-white);
    color: var(--ck-primary);
    box-shadow: 0 2px 10px var(--ck-shadow);
}

/* Tab Content */
.ck-tab-content {
    padding: 25px 30px;
}

.ck-tab-panel {
    display: none;
}

.ck-tab-panel.active {
    display: block;
    animation: ck-fade-in 0.3s ease;
}

@keyframes ck-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   CATEGORIAS DE COOKIES
======================================== */
.ck-cookie-category {
    background: var(--ck-gray-light);
    border-radius: var(--ck-radius);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--ck-border);
    transition: all var(--ck-transition);
}

.ck-cookie-category:hover {
    border-color: rgba(255, 85, 0, 0.3);
    box-shadow: 0 4px 20px var(--ck-shadow);
}

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

.ck-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
}

.ck-category-icon {
    width: 48px;
    height: 48px;
    background: var(--ck-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--ck-shadow);
}

.ck-category-icon svg {
    width: 24px;
    height: 24px;
    color: var(--ck-primary);
}

.ck-category-required .ck-category-icon {
    background: linear-gradient(135deg, var(--ck-success) 0%, var(--ck-success-dark) 100%);
}

.ck-category-required .ck-category-icon svg {
    color: var(--ck-white);
}

.ck-category-info {
    flex: 1;
    min-width: 0;
}

.ck-category-title {
    font-family: var(--ck-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--ck-heading);
    margin-bottom: 4px;
    line-height: 1.3;
}

.ck-category-desc {
    font-size: 13px;
    color: var(--ck-body);
    line-height: 1.5;
    margin: 0;
}

.ck-category-toggle {
    flex-shrink: 0;
}

.ck-toggle-label {
    font-family: var(--ck-font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ck-always-on {
    color: var(--ck-success);
    background: rgba(40, 167, 69, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

/* Toggle Switch */
.ck-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

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

.ck-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ck-gray);
    border-radius: 30px;
    transition: all var(--ck-transition);
    border: 2px solid var(--ck-border);
}

.ck-slider-dot {
    position: absolute;
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background: var(--ck-white);
    border-radius: 50%;
    transition: all var(--ck-transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.ck-switch input:checked + .ck-slider {
    background: linear-gradient(135deg, var(--ck-primary) 0%, var(--ck-primary-dark) 100%);
    border-color: var(--ck-primary);
}

.ck-switch input:checked + .ck-slider .ck-slider-dot {
    transform: translateX(26px);
}

.ck-switch:hover .ck-slider {
    border-color: var(--ck-primary);
}

/* Category Expand Button */
.ck-category-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-top: 1px solid var(--ck-border);
    font-family: var(--ck-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--ck-body);
    cursor: pointer;
    transition: all var(--ck-transition);
}

.ck-category-expand svg {
    width: 16px;
    height: 16px;
    transition: transform var(--ck-transition);
}

.ck-category-expand:hover {
    background: var(--ck-white);
    color: var(--ck-primary);
}

.ck-cookie-category.ck-expanded .ck-category-expand svg {
    transform: rotate(180deg);
}

/* Category Details */
.ck-category-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ck-cookie-category.ck-expanded .ck-category-details {
    max-height: 300px;
}

.ck-category-required .ck-category-details {
    max-height: none;
    border-top: 1px solid var(--ck-border);
}

.ck-cookie-list {
    padding: 15px 20px;
    background: var(--ck-white);
}

.ck-cookie-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--ck-gray-light);
    border-radius: 8px;
    margin-bottom: 8px;
}

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

.ck-cookie-name {
    font-family: monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--ck-heading);
}

.ck-cookie-duration {
    font-size: 12px;
    color: var(--ck-body);
    background: var(--ck-white);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ========================================
   TAB DETALHES
======================================== */
.ck-details-content {
    max-width: 100%;
}

.ck-details-section {
    margin-bottom: 25px;
}

.ck-details-section:last-of-type {
    margin-bottom: 30px;
}

.ck-details-section h4 {
    font-family: var(--ck-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--ck-heading);
    margin-bottom: 10px;
    padding-left: 15px;
    border-left: 3px solid var(--ck-primary);
}

.ck-details-section p {
    font-size: 14px;
    color: var(--ck-body);
    line-height: 1.7;
    margin: 0;
}

/* Stats Grid */
.ck-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.ck-stat-card {
    background: linear-gradient(135deg, var(--ck-gray-light) 0%, var(--ck-white) 100%);
    border: 1px solid var(--ck-border);
    border-radius: var(--ck-radius);
    padding: 20px;
    text-align: center;
    transition: all var(--ck-transition);
}

.ck-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--ck-shadow);
    border-color: var(--ck-primary);
}

.ck-stat-number {
    font-family: var(--ck-font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--ck-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.ck-stat-label {
    font-size: 13px;
    color: var(--ck-body);
    font-weight: 500;
}

/* ========================================
   TAB SOBRE
======================================== */
.ck-about-content {
    max-width: 100%;
}

.ck-about-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--ck-gray-light) 0%, var(--ck-white) 100%);
    border-radius: var(--ck-radius);
    margin-bottom: 25px;
    border: 1px solid var(--ck-border);
}

.ck-about-logo {
    max-width: 120px;
    height: auto;
}

.ck-about-info h4 {
    font-family: var(--ck-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--ck-heading);
    margin-bottom: 6px;
}

.ck-about-info p {
    font-size: 14px;
    color: var(--ck-body);
    margin: 0;
    line-height: 1.5;
}

/* About Links */
.ck-about-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.ck-about-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--ck-gray-light);
    border-radius: var(--ck-radius-sm);
    text-decoration: none;
    transition: all var(--ck-transition);
    border: 1px solid transparent;
}

.ck-about-link svg {
    width: 22px;
    height: 22px;
    color: var(--ck-primary);
    flex-shrink: 0;
}

.ck-about-link span {
    font-family: var(--ck-font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--ck-heading);
}

.ck-about-link:hover {
    background: var(--ck-white);
    border-color: var(--ck-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 15px var(--ck-shadow);
}

.ck-about-link:hover span {
    color: var(--ck-primary);
}

.ck-whatsapp-link svg {
    color: var(--ck-success);
}

.ck-whatsapp-link:hover {
    border-color: var(--ck-success);
}

.ck-whatsapp-link:hover span {
    color: var(--ck-success);
}

/* About Footer */
.ck-about-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--ck-border);
}

.ck-about-footer p {
    font-size: 13px;
    color: var(--ck-body);
    margin: 0 0 12px;
}

.ck-lgpd-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(30, 126, 52, 0.1) 100%);
    border-radius: 30px;
    font-weight: 600;
    color: var(--ck-success) !important;
}

.ck-lgpd-badge svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   MODAL FOOTER
======================================== */
.ck-modal-footer {
    padding: 20px 30px;
    background: var(--ck-gray-light);
    border-top: 1px solid var(--ck-border);
}

.ck-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ========================================
   BOTÃO FLUTUANTE
======================================== */
.ck-floating-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99997;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ck-primary) 0%, var(--ck-primary-dark) 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 
        0 6px 25px rgba(255, 85, 0, 0.4),
        0 0 0 0 rgba(255, 85, 0, 0.3);
    transform: scale(0);
    opacity: 0;
    transition: all var(--ck-transition);
}

.ck-floating-btn.ck-visible {
    transform: scale(1);
    opacity: 1;
}

.ck-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 8px 30px rgba(255, 85, 0, 0.5),
        0 0 0 8px rgba(255, 85, 0, 0.1);
}

.ck-floating-btn svg {
    width: 28px;
    height: 28px;
    color: var(--ck-white);
}

.ck-floating-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--ck-primary);
    animation: ck-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes ck-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ========================================
   RESPONSIVO - TABLET
======================================== */
@media (max-width: 991px) {
    .ck-banner-content {
        flex-wrap: wrap;
        padding: 24px;
        gap: 20px;
    }

    .ck-banner-icon {
        width: 60px;
        height: 60px;
    }

    .ck-banner-icon svg {
        width: 32px;
        height: 32px;
    }

    .ck-banner-text {
        flex: 1 1 calc(100% - 80px);
    }

    .ck-banner-actions {
        width: 100%;
        justify-content: center;
    }

    .ck-modal-container {
        max-width: 90%;
    }

    .ck-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .ck-stat-card {
        padding: 15px;
    }

    .ck-stat-number {
        font-size: 26px;
    }
}

/* ========================================
   RESPONSIVO - MOBILE
======================================== */
@media (max-width: 767px) {
    .ck-banner {
        padding: 0 12px 12px;
    }

    .ck-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 18px;
        border-radius: var(--ck-radius);
    }

    .ck-banner-icon {
        width: 56px;
        height: 56px;
    }

    .ck-banner-icon svg {
        width: 28px;
        height: 28px;
    }

    .ck-banner-text {
        flex: none;
        width: 100%;
    }

    .ck-banner-title {
        font-size: 18px;
    }

    .ck-banner-description {
        font-size: 13px;
    }

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

    .ck-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }

    /* Modal Mobile */
    .ck-modal {
        padding: 10px;
        align-items: flex-end;
    }

    .ck-modal-container {
        max-width: 100%;
        max-height: 85vh;
        border-radius: var(--ck-radius) var(--ck-radius) 0 0;
    }

    .ck-modal-header {
        padding: 18px 20px;
    }

    .ck-modal-logo {
        width: 42px;
        height: 42px;
    }

    .ck-modal-logo svg {
        width: 22px;
        height: 22px;
    }

    .ck-modal-title {
        font-size: 18px;
    }

    .ck-modal-subtitle {
        font-size: 12px;
    }

    .ck-modal-close {
        width: 38px;
        height: 38px;
    }

    .ck-modal-close svg {
        width: 18px;
        height: 18px;
    }

    /* Tabs Mobile */
    .ck-tabs {
        padding: 6px;
        gap: 4px;
    }

    .ck-tab {
        padding: 12px 10px;
        font-size: 12px;
        flex-direction: column;
        gap: 5px;
    }

    .ck-tab svg {
        width: 20px;
        height: 20px;
    }

    .ck-tab span {
        display: block;
    }

    .ck-tab-content {
        padding: 18px;
    }

    /* Categories Mobile */
    .ck-category-header {
        flex-wrap: wrap;
        padding: 15px;
        gap: 12px;
    }

    .ck-category-icon {
        width: 42px;
        height: 42px;
    }

    .ck-category-icon svg {
        width: 20px;
        height: 20px;
    }

    .ck-category-info {
        flex: 1 1 calc(100% - 54px);
        order: 1;
    }

    .ck-category-toggle {
        order: 2;
        margin-left: 54px;
        margin-top: -5px;
    }

    .ck-category-title {
        font-size: 15px;
    }

    .ck-category-desc {
        font-size: 12px;
    }

    .ck-switch {
        width: 50px;
        height: 28px;
    }

    .ck-slider-dot {
        height: 20px;
        width: 20px;
    }

    .ck-switch input:checked + .ck-slider .ck-slider-dot {
        transform: translateX(22px);
    }

    /* Stats Mobile */
    .ck-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .ck-stat-card {
        padding: 12px 8px;
    }

    .ck-stat-number {
        font-size: 22px;
    }

    .ck-stat-label {
        font-size: 10px;
    }

    /* About Mobile */
    .ck-about-header {
        flex-direction: column;
        text-align: center;
        padding: 18px;
    }

    .ck-about-logo {
        max-width: 100px;
    }

    .ck-about-link {
        padding: 14px 16px;
    }

    .ck-about-link svg {
        width: 20px;
        height: 20px;
    }

    .ck-about-link span {
        font-size: 14px;
    }

    /* Footer Mobile */
    .ck-modal-footer {
        padding: 15px 18px;
    }

    .ck-footer-actions {
        flex-direction: column;
    }

    .ck-footer-actions .ck-btn {
        width: 100%;
    }

    /* Floating Button Mobile */
    .ck-floating-btn {
        bottom: 18px;
        left: 18px;
        width: 50px;
        height: 50px;
    }

    .ck-floating-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ========================================
   RESPONSIVO - MOBILE PEQUENO
======================================== */
@media (max-width: 400px) {
    .ck-banner-title {
        font-size: 16px;
    }

    .ck-banner-description {
        font-size: 12px;
    }

    .ck-modal-title {
        font-size: 16px;
    }

    .ck-tab {
        padding: 10px 6px;
        font-size: 11px;
    }

    .ck-tab svg {
        width: 18px;
        height: 18px;
    }

    .ck-category-title {
        font-size: 14px;
    }

    .ck-details-section h4 {
        font-size: 15px;
    }

    .ck-details-section p {
        font-size: 13px;
    }
}

/* ========================================
   DARK MODE (Opcional - para futuro)
======================================== */
@media (prefers-color-scheme: dark) {
    /* Pode adicionar estilos dark mode aqui se necessário */
}

/* ========================================
   ANIMAÇÕES DE ENTRADA
======================================== */
.ck-cookie-category {
    animation: ck-slide-up 0.4s ease forwards;
    opacity: 0;
}

.ck-cookie-category:nth-child(1) { animation-delay: 0.1s; }
.ck-cookie-category:nth-child(2) { animation-delay: 0.2s; }
.ck-cookie-category:nth-child(3) { animation-delay: 0.3s; }
.ck-cookie-category:nth-child(4) { animation-delay: 0.4s; }

@keyframes ck-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ACESSIBILIDADE
======================================== */
.ck-btn:focus,
.ck-tab:focus,
.ck-switch input:focus + .ck-slider,
.ck-modal-close:focus,
.ck-floating-btn:focus,
.ck-category-expand:focus,
.ck-about-link:focus {
    outline: 2px solid var(--ck-primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .ck-banner,
    .ck-modal-container,
    .ck-btn,
    .ck-cookie-category,
    .ck-floating-btn,
    .ck-banner-sweep,
    .ck-modal-sweep,
    .ck-btn-shine,
    .ck-floating-pulse,
    .ck-banner-icon svg,
    .ck-icon-particles span {
        animation: none !important;
        transition: none !important;
    }
}