/* =============================================
   CARDINALLE BRANDS — Modern Theme 2026
   Classes próprias cb-* sem conflito
   ============================================= */

/* ---- HEADER GLASS (ao rolar) ---- */
.header-fixed {
    transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.header-fixed.fixed {
    background: rgba(7, 15, 29, 0.93) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25) !important;
}
.header-fixed.fixed .main-mnu-list a span { color: rgba(255,255,255,0.9); }
.header-fixed.fixed .main-mnu-list a:hover span { color: #4A9EFF; }

/* ---- MOBILE MENU DARK ---- */
.mmm { background: #07111F !important; }
.mmm-list a { color: rgba(255,255,255,0.88) !important; }
.mmm-list a:hover { color: #4A9EFF !important; }

/* ---- FOOTER DARK ---- */
.footer-minimal { background: #070F1D !important; }
.footer-minimal .footer-mnu a span,
.footer-minimal .footer-mnu a { color: rgba(136,153,187,0.8) !important; }
.footer-minimal .footer-mnu a:hover span,
.footer-minimal .footer-mnu a:hover { color: #fff !important; text-decoration: none; }
.footer-minimal .copyright { color: rgba(136,153,187,0.5) !important; font-size: 0.8rem; }
.footer-minimal::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(135deg, #1E5EEA, #8B2FE7);
}

/* ============================================================
   BREADCRUMBS DARK
   ============================================================ */
.bread-crumbs { background: #0C1A2E !important; border-bottom: 1px solid rgba(255,255,255,0.07); }
.bread-crumbs-list a,
.bread-crumbs-list .material-icons { color: rgba(136,153,187,0.8) !important; }
.bread-crumbs-list li:last-child { color: rgba(255,255,255,0.7) !important; }

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.cb-gradient-text {
    background: linear-gradient(135deg, #4A9EFF 0%, #A06AFB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cb-section { padding: 80px 0; }
.cb-section-bg { background: #F4F7FC; }

.cb-section-header { text-align: center; margin-bottom: 52px; }
.cb-section-label {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1E5EEA;
    margin-bottom: 14px;
    padding: 4px 16px;
    background: rgba(30,94,234,0.08);
    border-radius: 50px;
    border: 1px solid rgba(30,94,234,0.18);
}
.cb-section-label-light {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7BB8FF;
    margin-bottom: 14px;
    padding: 4px 16px;
    background: rgba(74,158,255,0.1);
    border-radius: 50px;
    border: 1px solid rgba(74,158,255,0.22);
}
.cb-section-title {
    font-family: var(--heading-font-family);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0D1B35;
    margin-bottom: 14px;
    line-height: 1.2;
}
.cb-title-white { color: #fff !important; }
.cb-section-sub {
    font-size: 1.05rem;
    color: #637085;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.72;
}
.cb-sub-white { color: rgba(255,255,255,0.52) !important; }

/* ============================================================
   HERO
   ============================================================ */
.cb-hero {
    background: #070F1D;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}
/* Orbs animados */
.cb-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.cb-hero-bg::before {
    content: '';
    position: absolute;
    width: 680px; height: 680px;
    background: radial-gradient(circle, rgba(30,94,234,0.22) 0%, transparent 65%);
    top: -120px; left: -160px;
    animation: orbFloat 10s ease-in-out infinite;
}
.cb-hero-bg::after {
    content: '';
    position: absolute;
    width: 540px; height: 540px;
    background: radial-gradient(circle, rgba(139,47,231,0.18) 0%, transparent 65%);
    bottom: -60px; right: -100px;
    animation: orbFloat 14s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(28px,-18px) scale(1.05); }
    66%      { transform: translate(-18px,14px) scale(0.97); }
}
/* Grade de pontos */
.cb-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}
.cb-hero > .container { position: relative; z-index: 2; }

/* Badge do hero */
.cb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(30,94,234,0.12);
    border: 1px solid rgba(30,94,234,0.3);
    border-radius: 50px;
    color: #7BB8FF;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 24px;
}
.cb-badge-dot {
    width: 7px; height: 7px;
    background: #4A9EFF;
    border-radius: 50%;
    flex-shrink: 0;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* Título do hero */
.cb-hero-title {
    font-family: var(--heading-font-family);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}
.cb-hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.63);
    max-width: 500px;
    line-height: 1.78;
    margin-bottom: 38px;
}

/* Botões do hero */
.cb-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.cb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #1E5EEA 0%, #8B2FE7 100%);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--heading-font-family);
    box-shadow: 0 8px 30px rgba(30,94,234,0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: none;
    cursor: pointer;
    position: relative;
}
.cb-btn-primary .material-icons-outlined { font-size: 18px; color: #fff; background: none; -webkit-text-fill-color: #fff; }
.cb-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(30,94,234,0.58); color: #fff !important; }

.cb-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.88) !important;
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--heading-font-family);
    border: 1px solid rgba(255,255,255,0.18);
    transition: all 0.22s ease;
    cursor: pointer;
    backdrop-filter: blur(8px);
}
.cb-btn-ghost .material-icons-outlined { font-size: 16px; color: rgba(255,255,255,0.88); background: none; -webkit-text-fill-color: rgba(255,255,255,0.88); }
.cb-btn-ghost:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); color: #fff !important; }

/* Stats no hero */
.cb-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-left: 24px;
    animation: fadeInRight 0.8s ease 0.3s both;
}
@keyframes fadeInRight { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }

.cb-stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 26px 18px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s, border-color 0.25s;
}
.cb-stat-card:hover { transform: translateY(-4px); border-color: rgba(74,158,255,0.3); }
.cb-stat-card .material-icons-outlined {
    font-size: 28px;
    background: linear-gradient(135deg, #4A9EFF, #A06AFB);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: block;
}
.cb-stat-num { font-family: var(--heading-font-family); font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.cb-stat-num span { font-size: 1.3rem; color: #4A9EFF; }
.cb-stat-lbl { font-size: 0.76rem; color: rgba(255,255,255,0.42); letter-spacing: 0.04em; line-height: 1.4; }

/* ============================================================
   CARDS DE SERVIÇO
   ============================================================ */
.cb-service-card {
    display: block;
    background: #fff;
    border: 1px solid #E3E9F2;
    border-radius: 20px;
    padding: 34px 26px;
    margin-bottom: 24px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cb-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, #1E5EEA, #8B2FE7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.cb-service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 56px rgba(30,94,234,0.14); border-color: rgba(30,94,234,0.14); }
.cb-service-card:hover::before { transform: scaleX(1); }

.cb-service-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(30,94,234,0.1), rgba(139,47,231,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}
.cb-service-card:hover .cb-service-icon { transform: scale(1.1); }
.cb-service-icon .material-icons-outlined {
    font-size: 24px;
    background: linear-gradient(135deg, #1E5EEA, #8B2FE7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cb-service-card h3 {
    font-family: var(--heading-font-family);
    font-size: 1.08rem;
    font-weight: 700;
    color: #0D1B35;
    margin-bottom: 10px;
    line-height: 1.3;
}
.cb-service-card p { font-size: 0.91rem; color: #637085; line-height: 1.65; margin-bottom: 18px; }

.cb-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.84rem;
    font-weight: 700;
    font-family: var(--heading-font-family);
    color: #1E5EEA;
    text-decoration: none;
}
.cb-card-link .material-icons-outlined { font-size: 15px; background: none; -webkit-text-fill-color: #1E5EEA; transition: transform 0.2s; }
.cb-service-card:hover .cb-card-link .material-icons-outlined { transform: translateX(4px); }

/* ============================================================
   SEÇÃO IA (DARK)
   ============================================================ */
.cb-ai-section {
    background: #070F1D;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cb-ai-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 50%, rgba(30,94,234,0.16) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(139,47,231,0.13) 0%, transparent 60%);
    pointer-events: none;
}
.cb-ai-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
.cb-ai-section > .container { position: relative; z-index: 2; }

.cb-ai-card {
    display: block;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px 22px;
    margin-bottom: 24px;
    text-decoration: none !important;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}
.cb-ai-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,94,234,0.07), rgba(139,47,231,0.07));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 20px;
}
.cb-ai-card:hover { transform: translateY(-8px); border-color: rgba(74,158,255,0.3); box-shadow: 0 20px 60px rgba(30,94,234,0.2); }
.cb-ai-card:hover::before { opacity: 1; }

.cb-ai-icon {
    width: 50px; height: 50px;
    border-radius: 13px;
    background: linear-gradient(135deg, #1E5EEA, #8B2FE7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.cb-ai-icon .material-icons-outlined { font-size: 22px; color: #fff; background: none; -webkit-text-fill-color: #fff; }
.cb-ai-card h3 { font-family: var(--heading-font-family); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 9px; position: relative; z-index: 1; line-height: 1.3; }
.cb-ai-card p { font-size: 0.88rem; color: rgba(255,255,255,0.48); line-height: 1.65; margin: 0; position: relative; z-index: 1; }

/* ============================================================
   POR QUE NOS ESCOLHER
   ============================================================ */
.cb-why-item { display: flex; gap: 18px; margin-bottom: 32px; align-items: flex-start; }
.cb-why-num {
    font-family: var(--heading-font-family);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1E5EEA, #8B2FE7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    flex-shrink: 0;
    width: 54px;
    padding-top: 2px;
}
.cb-why-info h3 { font-family: var(--heading-font-family); font-size: 1rem; font-weight: 700; color: #0D1B35; margin-bottom: 5px; }
.cb-why-info p { font-size: 0.9rem; color: #637085; line-height: 1.65; margin: 0; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cb-cta {
    background: linear-gradient(135deg, #1a3fa8 0%, #5b1a8f 100%);
    border-radius: 24px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cb-cta::before {
    content: '';
    position: absolute;
    width: 440px; height: 440px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}
.cb-cta::after {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    bottom: -60px; left: -60px;
    pointer-events: none;
}
.cb-cta h2 { font-family: var(--heading-font-family); font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 700; color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cb-cta p { font-size: 1.05rem; color: rgba(255,255,255,0.7); margin-bottom: 34px; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; line-height: 1.7; }

.cb-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #fff;
    color: #1E5EEA !important;
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--heading-font-family);
    box-shadow: 0 8px 30px rgba(0,0,0,0.22);
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
    z-index: 1;
}
.cb-btn-cta .material-icons-outlined { font-size: 18px; background: none; -webkit-text-fill-color: #1E5EEA; }
.cb-btn-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.28); color: #1E5EEA !important; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="100"] { transition-delay: 0.10s; }
[data-reveal-delay="200"] { transition-delay: 0.20s; }
[data-reveal-delay="300"] { transition-delay: 0.30s; }
[data-reveal-delay="400"] { transition-delay: 0.40s; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 991px) {
    .cb-hero { min-height: auto; padding: 110px 0 60px; }
    .cb-hero-stats { padding-left: 0; margin-top: 40px; }
}
@media (max-width: 767px) {
    .cb-section { padding: 56px 0; }
    .cb-hero { padding: 100px 0 56px; }
    .cb-hero-title { font-size: 2.2rem; }
    .cb-hero-desc { font-size: 1rem; }
    .cb-hero-btns { flex-direction: column; }
    .cb-btn-primary, .cb-btn-ghost { justify-content: center; width: 100%; }
    .cb-cta { padding: 40px 22px; border-radius: 18px; }
    .cb-hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cb-stat-card { padding: 20px 14px; }
    .cb-stat-num { font-size: 1.8rem; }
}
