/* home-consultoria.css - Estilos da Nova Home */

:root {
    /* Paleta Oficial Conektc */
    --ck-blue:   #004A7F;
    --ck-red:    #7E0001;
    --ck-green:  #006400;
    --ck-orange: #FF8C00;
    --ck-cyan:   #00FFFF;
    --ck-purple: #9900CC;
    
    /* Cores Neutras */
    --ck-text:   #333333;
    --ck-gray:   #f4f6f9;
    --ck-white:  #ffffff;
}

/* Base Wrapper - Ajustado para o novo layout V92 (Fundo Branco) */
.ck-home-wrapper { 
    font-family: 'Open Sans', 'Segoe UI', Helvetica, Arial, sans-serif; 
    color: var(--ck-text); 
    line-height: 1.6; 
    background: #fff; /* V92 pede fundo branco */
    padding-bottom: 50px;
}

/* 1. HERO SECTION (LEGADO & MINI) */
.ck-hero {
    background: linear-gradient(135deg, var(--ck-blue) 0%, #003355 100%);
    color: var(--ck-white);
    padding: 100px 20px 120px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: -60px;
    position: relative;
    z-index: 1;
}

/* Hero Mini (Usado no Layout Portal V92) */
.ck-hero-mini { 
    text-align: center; 
    padding: 50px 20px; 
    background: var(--ck-blue); 
    color: white; 
    border-radius: 0 0 30px 30px; 
    margin-bottom: 60px; 
}
.ck-hero-mini h1 { 
    font-size: 2.2rem; 
    margin-bottom: 10px; 
    font-weight: 800; 
    color: #fff; /* Ajustado para branco para contraste com fundo azul */
}

/* 2. LAYOUT PORTAL - SEÇÕES DE CATEGORIA (NOVO V92) */
.ck-cat-section { 
    display: flex; gap: 40px; max-width: 1100px; margin: 0 auto 80px; padding: 0 20px; align-items: center; 
}
.ck-cat-section.reverse { flex-direction: row-reverse; }

.ck-cat-content { flex: 1; min-width: 300px; }

.ck-cat-tag { 
    display: inline-block; background: #f4f4f4; color: #666; padding: 4px 12px; 
    border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; 
}
.ck-cat-title { 
    font-size: 2rem; color: #222; margin-bottom: 15px; font-weight: 700; margin-top: 0; 
}
.ck-cat-text { 
    color: #555; font-size: 1rem; line-height: 1.6; margin-bottom: 25px; 
}

/* Estatísticas (Barras de Progresso) */
.ck-stats-box { 
    background: white; border-left: 4px solid var(--ck-orange); padding: 20px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); border-radius: 0 8px 8px 0; margin-bottom: 25px; 
}
.ck-stat-row { display: flex; align-items: center; margin-bottom: 8px; font-size: 0.8rem; }
.ck-stat-bar-bg { flex: 1; height: 6px; background: #eee; border-radius: 3px; margin: 0 10px; overflow: hidden; }
.ck-stat-bar-fill { height: 100%; background: var(--ck-blue); border-radius: 3px; }

/* Botões de Ação */
.ck-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.btn-blog { text-decoration: none; color: var(--ck-blue); font-weight: bold; font-size: 0.95rem; }
.btn-shop { 
    background: var(--ck-blue); color: white; padding: 12px 25px; 
    border-radius: 6px; text-decoration: none; font-weight: bold; transition: 0.3s; 
    box-shadow: 0 4px 10px rgba(0,74,127,0.2); 
}
.btn-shop:hover { background: #003860; transform: translateY(-2px); }

/* Imagens e Visual */
.ck-cat-visual { flex: 1; position: relative; min-width: 300px; display: flex; flex-direction: column; }
.ck-cat-img { 
    width: 100%; height: 320px; object-fit: cover; border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); background: #f0f0f0; 
}

/* Box de Erro (Diagnóstico de Imagem) */
.ck-error-box { 
    display:none; height:320px; background:#f8d7da; border:1px solid #f5c6cb; 
    border-radius:16px; padding:20px; text-align:center; color:#721c24; 
    flex-direction:column; justify-content:center; align-items:center; 
}

/* --- ESTILOS LEGADOS (MANTIDOS PARA COMPATIBILIDADE) --- */

.ck-hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; color: var(--ck-white); text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.ck-hero p { font-size: 1.3rem; max-width: 700px; margin: 0 auto 35px auto; opacity: 0.95; font-weight: 300; }
.ck-hero-btn {
    background: var(--ck-orange); color: white; padding: 18px 40px; border-radius: 50px;
    text-decoration: none; font-weight: bold; font-size: 1.15rem; transition: all 0.3s;
    display: inline-block; box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4); border: 2px solid rgba(255,255,255,0.2);
}
.ck-hero-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 35px rgba(255, 140, 0, 0.5); color: white; background: #ff9933; }

/* 3. OS HUBS (ANTIGO) */
.ck-section-title { text-align: center; margin: 60px 0 40px 0; }
.ck-section-title h2 { font-size: 2.2rem; color: var(--ck-blue); font-weight: 800; margin: 0; }
.ck-section-title span { color: var(--ck-orange); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; }

.ck-hubs-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px;
    max-width: 1200px; margin: 0 auto 80px auto; padding: 0 20px; position: relative; z-index: 2;
}
.ck-hub-card {
    background: white; border-radius: 15px; overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s; 
    text-decoration: none; color: inherit; display: flex; flex-direction: column;
    border-bottom: 4px solid transparent;
}
.ck-hub-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

.ck-hub-icon { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: white; }

.ck-hub-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.ck-hub-content h3 { margin: 0 0 10px 0; color: var(--ck-blue); font-size: 1.4rem; font-weight: 700; }
.ck-hub-content p { font-size: 0.95rem; color: #666; margin: 0 0 15px 0; flex: 1; }
.ck-hub-link { color: var(--ck-green); font-weight: bold; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }

/* Cores dos Cards */
.card-bike .ck-hub-icon { background: var(--ck-blue); }
.card-bike:hover { border-bottom-color: var(--ck-blue); }
.card-suple .ck-hub-icon { background: var(--ck-purple); }
.card-suple:hover { border-bottom-color: var(--ck-purple); }
.card-camp .ck-hub-icon { background: var(--ck-green); }
.card-camp:hover { border-bottom-color: var(--ck-green); }
.card-tool .ck-hub-icon { background: var(--ck-red); }
.card-tool:hover { border-bottom-color: var(--ck-red); }

/* 4. O ACHADO DA SEMANA */
.ck-editor-pick {
    background: white; padding: 80px 20px; margin-bottom: 0; border-top: 1px solid #eee;
}
.ck-pick-container {
    max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 60px;
    flex-wrap: wrap; background: #fff;
}
.ck-pick-img { flex: 1; min-width: 300px; position: relative; }
.ck-pick-img img { width: 100%; border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.ck-pick-badge { 
    position: absolute; top: -15px; left: -15px; background: var(--ck-orange); color: white; 
    padding: 10px 20px; font-weight: bold; border-radius: 50px; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.ck-pick-text { flex: 1; min-width: 300px; }
.ck-small-tag { color: var(--ck-red); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.ck-pick-text h2 { font-size: 2.5rem; margin: 10px 0 20px 0; line-height: 1.1; color: var(--ck-blue); }
.ck-pick-text p { font-size: 1.1rem; color: #555; margin-bottom: 30px; line-height: 1.8; }

.ck-pick-btn {
    background: transparent; color: var(--ck-blue); border: 2px solid var(--ck-blue); padding: 12px 30px;
    border-radius: 50px; font-weight: bold; text-decoration: none; transition: 0.3s; display: inline-block;
}
.ck-pick-btn:hover { background: var(--ck-blue); color: white; }

/* 5. BLOCOS DE CONFIANÇA */
.ck-trust-bar {
    display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
    max-width: 1100px; margin: 60px auto 0 auto; text-align: center;
    padding: 40px; background: white; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative; top: -50px; z-index: 2;
}
.ck-trust-item { flex: 1; min-width: 200px; }
.ck-trust-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.ck-trust-item h4 { color: var(--ck-blue); margin-bottom: 5px; font-size: 1.1rem; font-weight: 700; }
.ck-trust-item p { font-size: 0.9rem; color: #666; }

/* MOBILE GLOBAL */
@media (max-width: 850px) {
    .ck-cat-section { flex-direction: column !important; gap: 30px; margin-bottom: 60px; }
    .ck-cat-visual { width: 100%; }
    .ck-cat-img { height: 250px; }
    
    .ck-hero h1 { font-size: 2.2rem; }
    .ck-pick-container { flex-direction: column-reverse; text-align: center; }
    .ck-trust-bar { top: 0; margin-bottom: 40px; }
    .ck-hubs-grid { margin-top: -40px; }
}