/* ======================================================================
   CIO CODEX THEME – HOMEPAGE STYLES
   Estilo: Dark glassmorphism com bordas cyan, cards com labels,
   CTA buttons, seções com pre-labels centralizados.
   Versão: 2.1.2
   ====================================================================== */

/* -------------------------------------------------------
   DESIGN TOKENS
   ------------------------------------------------------- */
:root {
    --hp-bg: #0a0e17;
    --hp-bg-card: #0d1220;
    --hp-bg-card-hover: #111828;
    --hp-surface: #141a2a;
    --hp-border: rgba(0, 200, 255, 0.12);
    --hp-border-hover: rgba(0, 200, 255, 0.35);
    --hp-accent: #00c8ff;
    --hp-accent-dark: #0090cc;
    --hp-text: #ffffff;
    --hp-text-muted: rgba(255, 255, 255, 0.62);
    --hp-text-subtle: rgba(255, 255, 255, 0.42);
    --hp-radius: 16px;
    --hp-radius-sm: 10px;
    --hp-radius-xs: 8px;
    --hp-radius-pill: 100px;
    --hp-glow: 0 0 40px rgba(0, 200, 255, 0.06);
    --hp-glow-hover: 0 8px 40px rgba(0, 200, 255, 0.15);
    --hp-transition: 0.35s cubic-bezier(0.22, 0.68, 0, 1.1);
    --hp-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.cfw-parent-banner{
    max-height: 327px !important;
}
/* -------------------------------------------------------
   CONTAINER PRINCIPAL
   ------------------------------------------------------- */
.cio-hp {
    background: #000;
    color: var(--hp-text);
    font-family: var(--hp-font);
    padding: 0;
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cio-hp *,
.cio-hp *::before,
.cio-hp *::after {
    box-sizing: border-box;
}
.cio-hp a {
    text-decoration: none;
    color: inherit;
}

/* -------------------------------------------------------
   SECTION HEADER – CENTERED WITH PRE-LABEL
   ------------------------------------------------------- */
.cio-hp-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 0 20px;
}
.cio-hp-section-header h2 {
    color: var(--hp-text);
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* Centered variant — matches screenshot 2 */
.cio-hp-section-header--centered {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 48px;
}
.cio-hp-section-header--centered h2 {
    font-size: 32px;
}
.cio-hp-section-prelabel {
    display: inline-block;
    color: var(--hp-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.cio-hp-section-subtitle {
    color: var(--hp-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 4px 0 0;
    max-width: 680px;
}

.cio-hp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-accent);
    font-size: 24px;
    flex-shrink: 0;
}
.cio-hp-icon svg {
    display: block;
}

/* -------------------------------------------------------
   1. HERO – DESTAQUE + LISTA LATERAL COM SCROLL
   ------------------------------------------------------- */
.cio-hp-hero {
    /* Full-bleed: sai do container .cio-hp e ocupa 100vw */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(180deg, #00081e 0%, #03cdff 50%, #003366 100%);
    margin-top:-15px;
    padding: 40px 20px 50px;
}
.cio-hp-hero > * {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.cio-hp-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 460px;
    border-radius: var(--hp-radius);
    overflow: hidden;
    border: 1px solid var(--hp-border);
}

/* Card destaque (esquerda) */
.cio-hp-hero-main {
    display: block;
    overflow: hidden;
    border: none;
    border-right: 1px solid var(--hp-border);
    border-radius: 0;
    transition: box-shadow var(--hp-transition);
}
.cio-hp-hero-main:hover {
    border-color: var(--hp-border);
    box-shadow: none;
}
.cio-hp-hero-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 460px;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    overflow: hidden;
}
.cio-hp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.35) 50%, transparent 100%);
    z-index: 1;
}
.cio-hp-hero-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cio-hp-hero-badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--hp-accent), var(--hp-accent-dark));
    border-radius: var(--hp-radius-pill);
}
.cio-hp-hero-info h3 {
    color: var(--hp-text);
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.cio-hp-hero-meta {
    color: var(--hp-text-subtle);
    font-size: 13px;
}

/* Lista lateral (direita) */
.cio-hp-hero-side {
    display: flex;
    flex-direction: column;
    background: var(--hp-bg-card);
    border: none;
    border-radius: 0;
    overflow: hidden;
}
.cio-hp-hero-side-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hp-border);
    flex-shrink: 0;
}
.cio-hp-hero-side-header span:first-child {
    color: var(--hp-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.cio-hp-hero-side-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--hp-accent), var(--hp-accent-dark));
    border-radius: var(--hp-radius-pill);
}

/* Scroll container – shows exactly 4 items (each ~93px) */
.cio-hp-hero-side-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 200, 255, 0.18) transparent;
    max-height: 372px;
}
.cio-hp-hero-side-scroll::-webkit-scrollbar {
    width: 4px;
}
.cio-hp-hero-side-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.cio-hp-hero-side-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 200, 255, 0.18);
    border-radius: 4px;
}
.cio-hp-hero-side-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 200, 255, 0.35);
}

/* List item */
.cio-hp-hero-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
    transition: background 0.25s ease;
}
.cio-hp-hero-list-item:last-child {
    border-bottom: none;
}
.cio-hp-hero-list-item:hover {
    background: rgba(0, 200, 255, 0.04);
}

/* Thumbnail */
.cio-hp-hero-list-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--hp-radius-xs);
    overflow: hidden;
    background: var(--hp-surface);
    border: 1px solid var(--hp-border);
    transition: border-color 0.25s ease;
}
.cio-hp-hero-list-item:hover .cio-hp-hero-list-thumb {
    border-color: var(--hp-border-hover);
}
.cio-hp-hero-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.cio-hp-hero-list-item:hover .cio-hp-hero-list-thumb img {
    transform: scale(1.08);
}
.cio-hp-hero-list-nothumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-accent);
    opacity: 0.25;
}

/* Info */
.cio-hp-hero-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cio-hp-hero-list-info h4 {
    color: var(--hp-text);
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.cio-hp-hero-list-item:hover .cio-hp-hero-list-info h4 {
    color: var(--hp-accent);
}
.cio-hp-hero-list-info span {
    color: var(--hp-text-subtle);
    font-size: 11px;
}

/* Arrow */
.cio-hp-hero-list-arrow {
    flex-shrink: 0;
    color: var(--hp-text-subtle);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.cio-hp-hero-list-item:hover .cio-hp-hero-list-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--hp-accent);
}

/* -------------------------------------------------------
   2. PRODUTOS – CARD STYLE (screenshot 1)
   ------------------------------------------------------- */
.cio-hp-products {
    padding: 80px 20px 90px;
}
.cio-hp-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

/* ---- Keyframes ---- */
@keyframes cioProductFadeUp {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cioRingSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes cioGlowPulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}
@keyframes cioBorderSweep {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- Card base ---- */
.cio-hp-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, rgba(13, 18, 32, 0.95) 0%, rgba(10, 14, 23, 0.98) 100%);
    border-radius: var(--hp-radius);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--hp-border);
    transition: transform 0.45s cubic-bezier(0.22, 0.68, 0, 1.1),
                box-shadow 0.45s cubic-bezier(0.22, 0.68, 0, 1.1),
                border-color 0.45s ease;
    /* Scroll-triggered entrance */
    opacity: 0;
    transform: translateY(40px) scale(0.97);
}
.cio-hp-product-card.cio-hp-product-visible {
    animation: cioProductFadeUp 0.7s cubic-bezier(0.22, 0.68, 0, 1.1) forwards;
    animation-delay: var(--card-delay, 0ms);
}
.cio-hp-product-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 60px rgba(0, 200, 255, 0.12),
                0 0 80px rgba(0, 200, 255, 0.06);
    border-color: var(--hp-border-hover);
}

/* ---- Animated border glow (sweeping gradient) ---- */
.cio-hp-product-glow-border {
    position: absolute;
    inset: -1px;
    border-radius: var(--hp-radius);
    padding: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 200, 255, 0.3) 25%,
        rgba(0, 200, 255, 0.6) 50%,
        rgba(0, 200, 255, 0.3) 75%,
        transparent 100%);
    background-size: 300% 100%;
    animation: cioBorderSweep 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.cio-hp-product-card:hover .cio-hp-product-glow-border {
    opacity: 1;
}

/* ---- Dot-grid background ---- */
.cio-hp-product-grid-bg {
    position: absolute;
    inset: 0;
    color: var(--hp-accent);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s ease;
}
.cio-hp-product-card:hover .cio-hp-product-grid-bg {
    opacity: 1;
}

/* ---- Featured card variant ---- */
.cio-hp-product-card--featured {
    border-color: rgba(0, 200, 255, 0.25);
    background: linear-gradient(165deg, rgba(0, 200, 255, 0.06) 0%, rgba(10, 14, 23, 0.98) 40%);
}
.cio-hp-product-card--featured .cio-hp-product-glow-border {
    opacity: 0.5;
}

/* ---- Badge ---- */
.cio-hp-product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-accent-dark) 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: var(--hp-radius-pill);
    animation: cioGlowPulse 2.5s ease-in-out infinite;
}

/* ---- Visual / Icon area ---- */
.cio-hp-product-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 12px;
    overflow: hidden;
}
.cio-hp-product-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--hp-radius-xs);
    transition: transform 0.6s cubic-bezier(0.22, 0.68, 0, 1.1), filter 0.4s ease;
    filter: drop-shadow(0 4px 20px rgba(0, 200, 255, 0.1));
}
.cio-hp-product-card:hover .cio-hp-product-visual img {
    transform: scale(1.06) rotate(1deg);
    filter: drop-shadow(0 8px 30px rgba(0, 200, 255, 0.2));
}

/* ---- Icon with animated rings ---- */
.cio-hp-product-icon-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}
.cio-hp-product-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid transparent;
    transform: translate(-50%, -50%);
}
.cio-hp-product-ring--1 {
    width: 100px;
    height: 100px;
    border-color: rgba(0, 200, 255, 0.15);
    border-top-color: var(--hp-accent);
    animation: cioRingSpin 6s linear infinite;
}
.cio-hp-product-ring--2 {
    width: 120px;
    height: 120px;
    border-color: rgba(0, 200, 255, 0.08);
    border-bottom-color: rgba(0, 200, 255, 0.4);
    animation: cioRingSpin 10s linear infinite reverse;
}
.cio-hp-product-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--hp-accent);
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.3));
}
.cio-hp-product-icon svg {
    width: 48px;
    height: 48px;
}
.cio-hp-product-card:hover .cio-hp-product-icon {
    transform: translate(-50%, -50%) scale(1.15);
    filter: drop-shadow(0 0 24px rgba(0, 200, 255, 0.5));
}
.cio-hp-product-card:hover .cio-hp-product-ring--1 {
    border-top-color: rgba(0, 200, 255, 0.9);
    animation-duration: 3s;
}
.cio-hp-product-card:hover .cio-hp-product-ring--2 {
    border-bottom-color: rgba(0, 200, 255, 0.6);
    animation-duration: 5s;
}

/* ---- Info section ---- */
.cio-hp-product-info {
    position: relative;
    z-index: 1;
    padding: 8px 28px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Top label */
.cio-hp-product-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--hp-accent);
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.7;
}

.cio-hp-product-card h3 {
    color: var(--hp-text);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.cio-hp-product-card p {
    color: var(--hp-text-muted);
    font-size: 14px;
    margin: 0 0 20px;
    line-height: 1.7;
    flex: 1;
}

/* ---- Meta pill ---- */
.cio-hp-product-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hp-accent);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--hp-radius-pill);
    border: 1px solid rgba(0, 200, 255, 0.18);
    background: rgba(0, 200, 255, 0.06);
    margin-bottom: 18px;
    width: fit-content;
    backdrop-filter: blur(8px);
}
.cio-hp-product-meta-pill svg {
    flex-shrink: 0;
}

/* ---- Price ---- */
.cio-hp-product-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--hp-accent);
    margin-bottom: 18px;
}
.cio-hp-product-price del {
    color: var(--hp-text-subtle);
    font-size: 14px;
    font-weight: 500;
    margin-right: 6px;
}
.cio-hp-product-price ins {
    text-decoration: none;
}

/* ---- CTA Button – glass + gradient ---- */
.cio-hp-product-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-accent-dark) 100%);
    border: none;
    border-radius: var(--hp-radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
    letter-spacing: 0.02em;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}
.cio-hp-product-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transition: left 0.5s ease;
}
.cio-hp-product-cta-btn:hover::before {
    left: 100%;
}
.cio-hp-product-cta-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.cio-hp-product-cta-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 200, 255, 0.3);
}
.cio-hp-product-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .cio-hp-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* -------------------------------------------------------
   3. FRAMEWORK – usa CSS do widget (framework-hierarchy.css)
   Apenas container e espaçamento entre blocos.
   ------------------------------------------------------- */
.cio-hp-framework {
    padding: 60px 20px;
}
.cio-hp-framework .cfw-wrap {
    margin-bottom: 48px;
}
.cio-hp-framework .cfw-wrap:last-child {
    margin-bottom: 0;
}

/* -------------------------------------------------------
   3a. FRAMEWORK HOMEPAGE – Nuclear Override para .cfw-toggle-btn
   Seletores com contexto .cio-hp-framework para vencer o CSS
   global do Elementor (body.elementor-page button, etc.)
   ------------------------------------------------------- */
.cio-hp-framework .cfw-toggle {
    padding: 10px 0 0 !important;
}
.cio-hp-framework .cfw-wrap .cfw-card .cfw-toggle button.cfw-toggle-btn,
.cio-hp-framework .cfw-toggle button.cfw-toggle-btn,
.cio-hp-framework button.cfw-toggle-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    letter-spacing: 0.3px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    text-align: left !important;
    position: relative !important;
    overflow: hidden !important;
    color: rgba(255, 255, 255, 0.55) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    background-image: none !important;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 10px !important;
    outline: none !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease !important;
}
.cio-hp-framework .cfw-toggle button.cfw-toggle-btn:hover,
.cio-hp-framework button.cfw-toggle-btn:hover {
    color: #fff !important;
    background: rgba(0, 200, 255, 0.06) !important;
    background-color: rgba(0, 200, 255, 0.06) !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.20), 0 4px 20px rgba(0, 200, 255, 0.06) !important;
    transform: translateY(-1px) !important;
}
.cio-hp-framework .cfw-toggle button.cfw-toggle-btn:focus-visible,
.cio-hp-framework button.cfw-toggle-btn:focus-visible {
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.35), 0 0 0 2px rgba(0, 200, 255, 0.20) !important;
}
.cio-hp-framework .cfw-toggle button.cfw-toggle-btn:active,
.cio-hp-framework button.cfw-toggle-btn:active {
    transform: translateY(0) !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07) !important;
}
/* Open state */
.cio-hp-framework .cfw-card button.cfw-toggle-btn.cfw-btn-open,
.cio-hp-framework button.cfw-toggle-btn.cfw-btn-open {
    color: #00c8ff !important;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.08) 0%, rgba(0, 200, 255, 0.02) 100%) !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.22), 0 4px 24px rgba(0, 200, 255, 0.08) !important;
}
.cio-hp-framework button.cfw-toggle-btn.cfw-btn-open:hover {
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.35), 0 6px 28px rgba(0, 200, 255, 0.10) !important;
}
/* Arrow */
.cio-hp-framework .cfw-arrow {
    flex-shrink: 0 !important;
    opacity: 0.45 !important;
    font-size: 12px !important;
    transition: transform 0.35s ease, opacity 0.3s ease !important;
}
.cio-hp-framework .cfw-toggle-btn:hover .cfw-arrow {
    opacity: 0.75 !important;
}
.cio-hp-framework .cfw-btn-open .cfw-arrow {
    transform: rotate(180deg) !important;
    opacity: 1 !important;
}
/* Count badge */
.cio-hp-framework .cfw-toggle-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 24px !important;
    height: 24px !important;
    padding: 0 7px !important;
    margin-left: auto !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #00c8ff 0%, #0090cc 100%) !important;
    border: none !important;
    border-radius: 100px !important;
    line-height: 1 !important;
}
/* Children list */
.cio-hp-framework .cfw-children-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: max-height 0.5s ease, opacity 0.35s ease, padding 0.35s ease !important;
}
.cio-hp-framework .cfw-children-list.cfw-list-open {
    max-height: 800px !important;
    opacity: 1 !important;
    padding: 6px 0 2px !important;
}
.cio-hp-framework .cfw-children-list li {
    margin-bottom: 1px !important;
    transform: translateX(-6px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cio-hp-framework .cfw-list-open li {
    transform: translateX(0);
    opacity: 1;
}
.cio-hp-framework .cfw-list-open li:nth-child(1)  { transition-delay: 0.03s; }
.cio-hp-framework .cfw-list-open li:nth-child(2)  { transition-delay: 0.06s; }
.cio-hp-framework .cfw-list-open li:nth-child(3)  { transition-delay: 0.09s; }
.cio-hp-framework .cfw-list-open li:nth-child(4)  { transition-delay: 0.12s; }
.cio-hp-framework .cfw-list-open li:nth-child(5)  { transition-delay: 0.15s; }
.cio-hp-framework .cfw-list-open li:nth-child(6)  { transition-delay: 0.18s; }
.cio-hp-framework .cfw-list-open li:nth-child(7)  { transition-delay: 0.21s; }
.cio-hp-framework .cfw-list-open li:nth-child(8)  { transition-delay: 0.24s; }
.cio-hp-framework .cfw-list-open li:nth-child(9)  { transition-delay: 0.27s; }
.cio-hp-framework .cfw-list-open li:nth-child(10) { transition-delay: 0.30s; }
.cio-hp-framework .cfw-list-open li:nth-child(n+11) { transition-delay: 0.33s; }
.cio-hp-framework .cfw-children-list li a {
    color: var(--hp-text-muted) !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 14px !important;
    line-height: 1.4 !important;
    border-radius: 8px !important;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.25s ease !important;
}
.cio-hp-framework .cfw-children-list li a::before {
    content: '' !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: var(--hp-accent) !important;
    opacity: 0 !important;
    flex-shrink: 0 !important;
    transition: opacity 0.25s ease !important;
}
.cio-hp-framework .cfw-children-list li a:hover {
    color: #fff !important;
    background: rgba(0, 200, 255, 0.06) !important;
    padding-left: 18px !important;
}
.cio-hp-framework .cfw-children-list li a:hover::before {
    opacity: 1 !important;
}

.cio-hp-framework .cfw-child-item-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    position: relative !important;
    padding-right: 28px !important;
}

.cio-hp-framework .cfw-child-item-row > a {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.cio-hp-framework .cfw-child-item-row .cfw-has-children {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.cio-hp-framework .cfw-child-item-row > .cfw-has-children,
.cio-hp-framework button.cfw-has-children {
    display: inline-flex !important;
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    margin-left: 0 !important;
    flex: 0 0 20px !important;
    line-height: 1 !important;
    position: absolute !important;
    right: 0 !important;
    top: 13px !important;
    transform: translateY(-50%) !important;
}

.cio-hp-framework .cfw-children-list--nested {
    margin-left: 18px !important;
    padding-left: 14px !important;
    border-left: 1px solid rgba(0, 200, 255, 0.35) !important;
}

.cio-hp-framework .cfw-children-list--nested > li {
    position: relative !important;
}

.cio-hp-framework .cfw-children-list--nested > li::before {
    content: '' !important;
    position: absolute !important;
    left: -14px !important;
    top: 20px !important;
    width: 10px !important;
    height: 1px !important;
    background: rgba(0, 200, 255, 0.45) !important;
}

/* -------------------------------------------------------
   3b. FRAMEWORK HOMEPAGE TOGGLE – Nuclear Elementor Override
   Classes .cio-hp-fw-toggle* usadas na homepage-functions.php
   ------------------------------------------------------- */
.cio-hp-fw-toggle {
    padding: 10px 0 0 !important;
}
.elementor-widget-container .cio-hp .cio-hp-fw-toggle button.cio-hp-fw-toggle-btn,
.cio-hp .cio-hp-fw-card .cio-hp-fw-toggle button.cio-hp-fw-toggle-btn,
.cio-hp-fw-toggle button.cio-hp-fw-toggle-btn,
button.cio-hp-fw-toggle-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    letter-spacing: 0.3px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    text-align: left !important;
    position: relative !important;
    overflow: hidden !important;
    color: rgba(255, 255, 255, 0.55) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    background-image: none !important;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 10px !important;
    outline: none !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease !important;
}
.elementor-widget-container .cio-hp-fw-toggle button.cio-hp-fw-toggle-btn:hover,
.cio-hp-fw-toggle button.cio-hp-fw-toggle-btn:hover,
button.cio-hp-fw-toggle-btn:hover {
    color: #fff !important;
    background: rgba(0, 200, 255, 0.06) !important;
    background-color: rgba(0, 200, 255, 0.06) !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.20), 0 4px 20px rgba(0, 200, 255, 0.06) !important;
    transform: translateY(-1px) !important;
}
.elementor-widget-container .cio-hp-fw-toggle button.cio-hp-fw-toggle-btn:focus-visible,
button.cio-hp-fw-toggle-btn:focus-visible {
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.35), 0 0 0 2px rgba(0, 200, 255, 0.20) !important;
}
.elementor-widget-container .cio-hp-fw-toggle button.cio-hp-fw-toggle-btn:active,
button.cio-hp-fw-toggle-btn:active {
    transform: translateY(0) !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07) !important;
}

/* Arrow */
.cio-hp-fw-arrow {
    display: inline-block;
    margin-left: auto;
    font-size: 16px;
    opacity: 0.45;
    transition: transform 0.35s ease, opacity 0.3s ease;
}
button.cio-hp-fw-toggle-btn:hover .cio-hp-fw-arrow {
    opacity: 0.75;
}
.cio-hp-fw-arrow-up {
    transform: rotate(180deg);
    opacity: 1;
}

/* Children list */
.cio-hp-fw-children-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.35s ease, padding 0.35s ease;
}
.cio-hp-fw-children-list.cio-hp-fw-open {
    max-height: 800px;
    opacity: 1;
    padding: 6px 0 2px;
}
.cio-hp-fw-children-list li {
    margin-bottom: 1px;
    transform: translateX(-6px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cio-hp-fw-open li {
    transform: translateX(0);
    opacity: 1;
}
.cio-hp-fw-open li:nth-child(1)  { transition-delay: 0.03s; }
.cio-hp-fw-open li:nth-child(2)  { transition-delay: 0.06s; }
.cio-hp-fw-open li:nth-child(3)  { transition-delay: 0.09s; }
.cio-hp-fw-open li:nth-child(4)  { transition-delay: 0.12s; }
.cio-hp-fw-open li:nth-child(5)  { transition-delay: 0.15s; }
.cio-hp-fw-open li:nth-child(6)  { transition-delay: 0.18s; }
.cio-hp-fw-open li:nth-child(7)  { transition-delay: 0.21s; }
.cio-hp-fw-open li:nth-child(8)  { transition-delay: 0.24s; }
.cio-hp-fw-open li:nth-child(9)  { transition-delay: 0.27s; }
.cio-hp-fw-open li:nth-child(10) { transition-delay: 0.30s; }
.cio-hp-fw-open li:nth-child(n+11) { transition-delay: 0.33s; }
.cio-hp-fw-children-list li a {
    color: var(--hp-text-muted);
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    line-height: 1.4;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.25s ease;
}
.cio-hp-fw-children-list li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hp-accent);
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.25s ease;
}
.cio-hp-fw-children-list li a:hover {
    color: #fff;
    background: rgba(0, 200, 255, 0.06);
    padding-left: 18px;
}
.cio-hp-fw-children-list li a:hover::before {
    opacity: 1;
}
.cio-hp-fw-has-children {
    margin-left: auto;
    color: var(--hp-accent);
    font-size: 14px;
    font-weight: 700;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
.cio-hp-fw-children-list li a:hover .cio-hp-fw-has-children {
    opacity: 1;
}

/* -------------------------------------------------------
   4. SEÇÕES DE ARTIGOS POR CATEGORIA
   ------------------------------------------------------- */
.cio-hp-articles-section {
    padding: 40px 20px;
}
.cio-hp-articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cio-hp-article-card {
    width: calc(20% - 10px);
    display: block;
    position: relative;
    border-radius: var(--hp-radius-sm);
    overflow: hidden;
    border: 1px solid var(--hp-border);
    transition: border-color var(--hp-transition), transform var(--hp-transition);
}
.cio-hp-article-card:hover {
    border-color: var(--hp-border-hover);
    transform: translateY(-3px);
}
.cio-hp-article-thumb {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.cio-hp-article-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}
.cio-hp-article-card:hover .cio-hp-article-overlay {
    opacity: 0;
}
.cio-hp-article-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: var(--hp-text);
}
.cio-hp-article-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.35;
    color: var(--hp-text);
}
.cio-hp-article-date {
    font-size: 12px;
    color: var(--hp-text-subtle);
}
.cio-badge-premium {
    display: inline-block;
    background: linear-gradient(135deg, var(--hp-accent), var(--hp-accent-dark));
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: var(--hp-radius-pill);
    margin-bottom: 6px;
    width: fit-content;
}
.cio-badge-premium--sm {
    font-size: 9px;
    padding: 2px 7px;
    margin-bottom: 0;
}

/* Hero badges row */
.cio-hp-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cio-hp-hero-badges .cio-hp-hero-badge {
    margin-bottom: 0;
}
.cio-hp-hero-badges .cio-badge-premium {
    margin-bottom: 0;
}

/* Hero sidebar premium badge */
.cio-hp-hero-list-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cio-hp-hero-list-meta > span:first-child {
    color: var(--hp-text-subtle);
    font-size: 12px;
}

/* -------------------------------------------------------
   5. COMMUNITY – BORDERED CARDS (screenshot 2 style)
   ------------------------------------------------------- */
.cio-hp-community {
    padding: 70px 20px;
    text-align: center;
}
.cio-hp-community .cio-hp-section-header {
    justify-content: center;
}
.cio-hp-community-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cio-hp-community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 28px;
    border-radius: var(--hp-radius);
    border: 1px solid var(--hp-border);
    background: var(--hp-bg-card);
    min-width: 160px;
    transition: transform var(--hp-transition), border-color var(--hp-transition), box-shadow var(--hp-transition);
}
.cio-hp-community-card:hover {
    transform: translateY(-5px);
    border-color: var(--hp-border-hover);
    box-shadow: var(--hp-glow-hover);
}
.cio-hp-community-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--hp-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hp-border);
    color: var(--hp-accent);
    transition: background 0.3s ease;
}
.cio-hp-community-card:hover .cio-hp-community-icon {
    background: rgba(0, 200, 255, 0.08);
}
.cio-hp-community-card span {
    color: var(--hp-text);
    font-size: 14px;
    font-weight: 700;
}

/* -------------------------------------------------------
   6. SOCIAL
   ------------------------------------------------------- */
.cio-hp-social {
    padding: 40px 20px 80px;
    text-align: center;
}
.cio-hp-social .cio-hp-section-header {
    justify-content: center;
}
.cio-hp-social-grid {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}
.cio-hp-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--hp-surface);
    border: 1px solid var(--hp-border);
    opacity: 0.65;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.cio-hp-social-link:hover {
    opacity: 1;
    transform: scale(1.15);
    border-color: var(--hp-border-hover);
}

/* -------------------------------------------------------
   RESPONSIVO
   ------------------------------------------------------- */

@media (max-width: 1024px) {
    .cio-hp-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .cio-hp-hero-card {
        min-height: 340px;
    }
    .cio-hp-hero-side {
        max-height: 380px;
    }
    .cio-hp-section-header--centered h2 {
        font-size: 26px;
    }
    .cio-hp-article-card {
        width: calc(33.333% - 8px);
    }
    .cio-hp-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cio-hp-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    .cio-hp-product-visual {
        height: 200px;
    }
    .cio-hp-section-header--centered h2 {
        font-size: 22px;
    }
    .cio-hp-section-prelabel {
        font-size: 11px;
    }
    .cio-hp-article-card {
        width: calc(50% - 6px);
        min-height: 200px;
    }
    .cio-hp-hero-card {
        min-height: 300px;
    }
    .cio-hp-hero-side {
        max-height: 340px;
    }
    .cio-hp-hero-list-thumb {
        width: 56px;
        height: 56px;
    }
    .cio-hp-community-grid {
        gap: 14px;
    }
    .cio-hp-community-card {
        min-width: 140px;
        padding: 24px 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .cio-hp-article-card {
        width: 100%;
        min-height: 300px;
    }
    .cio-hp-article-content h4 {
        font-size: 17px;
    }
    .cio-hp-hero-card {
        min-height: 260px;
    }
    .cio-hp-hero-info h3 {
        font-size: 22px;
    }
    .cio-hp-hero-side {
        max-height: 320px;
    }
    .cio-hp-hero-list-item {
        padding: 12px 16px;
        gap: 12px;
    }
    .cio-hp-hero-list-thumb {
        width: 48px;
        height: 48px;
    }
    .cio-hp-community-grid {
        gap: 12px;
    }
    .cio-hp-community-card {
        min-width: 120px;
        padding: 20px 16px;
    }
    .cio-hp-community-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
    .cio-hp-social-grid {
        gap: 20px;
    }
    .cio-hp-section-header--centered {
        margin-bottom: 32px;
    }
}
