/* --- FUNDAMENTOS E TECH RIO --- */
:root {
    --brand-black: #0f1112;
    --brand-blue: #085ea5;
    --brand-blue-deep: #053b68;
    --accent-violet: #00C2EE; /* Ciano Tech Rio Oficial */
    --violet-glow: rgba(0, 194, 238, 0.2);
    --violet-glow-strong: rgba(0, 194, 238, 0.5);
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--brand-black); color: var(--white); }
.bg-premium { background: radial-gradient(circle at top right, var(--brand-blue-deep) 0%, var(--brand-black) 70%); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.section-padding { padding: 100px 0; }

/* --- HERO REVISADO (64PX + BG IMAGE) --- */
.hero-sobre {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(15, 17, 18, 0.7), var(--brand-black)), 
                      url('../images/techrio-canais-hero');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}
.hero-sobre-content { max-width: 850px; z-index: 2; }
.hero-sobre h1 { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-sobre p { font-size: 20px; opacity: 0.8; line-height: 1.6; }
.text-gradient { background: linear-gradient(90deg, #00C2EE, #ffffff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- GRID PARCEIROS --- */
.partner-types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.type-card { padding: 50px 40px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px; text-align: center; transition: 0.4s; }
.type-card:hover { border-color: var(--accent-violet); background: rgba(0, 194, 238, 0.05); transform: translateY(-10px); }

/* --- STATS --- */
.stats-wrap { padding: 60px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background: rgba(0,0,0,0.3); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 48px; color: var(--accent-violet); font-weight: 900; }
.stat-item p { font-size: 12px; opacity: 0.5; text-transform: uppercase; letter-spacing: 2px; }

/* --- COMISSÃO (VIDRO REAL) --- */
.commission-power-card {
    background: linear-gradient(135deg, var(--brand-blue-deep) 0%, #0a0c0d 100%);
    border-radius: 40px; padding: 70px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; border: 1px solid var(--glass-border);
}
.glass-display {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    padding: 50px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.1); text-align: center;
}
.glass-display .value { font-size: 100px; font-weight: 900; color: var(--accent-violet); line-height: 1; }
.comm-tag { text-transform: uppercase; letter-spacing: 3px; opacity: 0.5; margin-bottom: 10px; font-size: 14px; }

/* --- TECNOLOGIA E SUPORTE --- */
.sobre-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mini-features-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 30px; }
.mini-feature-card { padding: 20px; display: flex; align-items: center; border-radius: 15px; }
.img-frame { padding: 15px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 30px; }
.img-frame img { width: 100%; border-radius: 20px; }

/* --- JORNADA --- */
.journey-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; }
.journey-steps { border-left: 2px solid var(--accent-violet); padding-left: 45px; }
.step-item { position: relative; padding-bottom: 40px; }
.step-item::before { content: ''; position: absolute; left: -61px; top: 0; width: 20px; height: 20px; background: #0f1112; border: 4px solid var(--accent-violet); border-radius: 50%; }

/* --- DEPOIMENTOS --- */
.grid-premium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card-premium { padding: 40px; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 25px; }
.client-img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--accent-violet); }

/* --- WHATSAPP E BOTÕES --- */
.btn-primary-tech { background: var(--accent-violet); color: var(--brand-black); padding: 20px 45px; border-radius: 50px; font-weight: 800; text-transform: uppercase; text-decoration: none; transition: 0.3s; display: inline-block; }
.btn-primary-tech:hover { transform: translateY(-5px); box-shadow: 0 15px 35px var(--violet-glow-strong); }
.btn-wpp-fixo { position: fixed; bottom: 30px; right: 30px; background: #25D366; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 999; }

@media (max-width: 992px) {
    .commission-power-card, .sobre-split, .journey-container, .grid-premium, .stats-grid { grid-template-columns: 1fr; }
    .hero-sobre h1 { font-size: 42px; }
}

/* =========================================
   PÁGINA CANAIS / CONNECT+ (MOBILE)
   ========================================= */


@media (max-width: 900px) {
    /* 1. RESET DE SEGURANÇA */
    .container, .section-padding {
        width: 100% !important;
    }

    /* 2. O HERO (Agora mais clean e sofisticado) */
    .hero-sobre {
        min-height: 60vh !important;
        padding: 300px 20px 200px !important; /* Respiro lateral de 20px injetado aqui */
        background-attachment: scroll !important;
    }

    .hero-sobre h1 {
        font-size: 34px !important;
        line-height: 1.15;
        letter-spacing: -1.5px;
    }

    .hero-sobre h1 br { display: none !important; }

    .hero-sobre p {
        font-size: 16px !important;
        max-width: 90%;
        margin: 0 auto;
    }

    .btn-primary-tech {
        width: 100% !important;
        max-width: 300px;
        font-size: 13px !important;
        padding: 18px !important;
    }

    /* 3. FORÇANDO O RESPIRO EM TODOS OS CARDS E GRIDS */
    /* Em vez de padding no container, colocamos margem nos elementos */
    .partner-types-grid, 
    .commission-power-card, 
    .sobre-split, 
    .journey-container, 
    .grid-premium {
        margin-left: 20px !important;
        margin-right: 20px !important;
        width: auto !important; /* Deixa o elemento "respirar" dentro da margem */
    }

    /* 4. CARD DE COMISSÃO (O de 40%) */
    .commission-power-card {
        padding: 40px 20px !important;
        grid-template-columns: 1fr !important;
        border-radius: 24px !important;
    }

    .glass-display .value {
        font-size: 60px !important;
    }

    .commission-power-card h2 {
        font-size: 28px !important;
    }

    /* 5. ESTATÍSTICAS (2 colunas para não ficar gigante) */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0 20px !important;
    }

    .stat-item h3 { font-size: 30px !important; }

    /* 6. JORNADA (Limpando a linha lateral que buga no mobile) */
    .journey-steps {
        border-left: none !important;
        padding-left: 0 !important;
        text-align: center;
    }

    .step-item::before { display: none !important; }
    
    .step-item h4 {
        color: var(--accent-violet);
    }
    
    /* 7. AJUSTES FINAIS DE TEXTO */
    .section-padding h2 {
        font-size: 30px !important;
        padding: 0 20px;
    }

    .type-card, .card-premium {
        padding: 30px 20px !important;
    }
}