/* --- VARIÁVEIS DE CORES --- */
:root {
    --primary-blue: #131F7D;
    --secondary-blue: #1a2b8c;
    --highlight-blue: #498DFD;
    --action-yellow: #FFE103;
    /* Adicionadas para o botão do Zap */
    --whatsapp-green: #25D366; 
    --whatsapp-dark: #128C7E;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: #FFFFFF; overflow-x: hidden; }

/* --- HEADER (Topo Fixo com Animação) --- */
header {
    background-color: var(--primary-blue);
    padding: 0 5%;
    height: 80px; /* Aumentado levemente para o botão caber melhor */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1100; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    /* Essencial para o efeito de esconder ao rolar */
    transition: transform 0.4s ease-in-out;
}

.logo-container { width: 140px; display: flex; align-items: center; }
.logo-img { width: 100%; height: auto; }

/* NAV DESKTOP */
.nav-menu { display: flex; align-items: center; gap: 30px; }

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

.nav-link:hover { color: var(--action-yellow); }
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background-color: var(--action-yellow);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* NOVO: Botão WhatsApp Desktop */
.btn-whatsapp-header {
    background: linear-gradient(45deg, var(--whatsapp-dark), var(--whatsapp-green));
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-whatsapp-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    filter: brightness(1.1);
}

/* BOTÃO HAMBURGUER (MOBILE) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px; /* Ajuste fino */
    z-index: 1101; 
    padding: 10px; 
}

.bar {
    width: 28px; height: 3px; background-color: var(--white);
    transition: 0.4s ease; border-radius: 2px;
}

/* Animação do X */
.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--action-yellow); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--action-yellow); }

/* MENU GAVETA MOBILE */
.mobile-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--secondary-blue);
    display: flex;
    flex-direction: column;
    padding-top: 100px; /* Mais espaço para não ficar sob o header */
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000; 
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-nav.active { right: 0; }

/* Links do Mobile com estilo Edutech */
.mobile-nav a.nav-link-mobile { /* Usando classe específica ou seletor genérico */
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: block;
    transition: 0.3s;
    font-weight: 500;
}
/* Fallback caso você use a classe antiga no HTML */
.mobile-nav a:not(.btn-whatsapp-mobile) {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: block;
    transition: 0.3s;
    font-weight: 500;
}

.mobile-nav a:not(.btn-whatsapp-mobile):hover { 
    background-color: rgba(255,255,255,0.05); 
    color: var(--action-yellow); 
    padding-left: 40px; /* Efeito deslize */
    border-left: 4px solid var(--action-yellow); 
}

/* NOVO: Botão WhatsApp Mobile */
.btn-whatsapp-mobile {
    margin: 30px;
    background-color: var(--whatsapp-green);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Fundo escuro quando menu abre */
.overlay-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); 
    backdrop-filter: blur(3px); /* Efeito de desfoque moderno */
    z-index: 999;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.overlay-menu.active { opacity: 1; visibility: visible; }


/* --- HERO SECTION (Mantida original, apenas garantindo setas) --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; 
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    background-color: var(--primary-blue);
    
    /* Borda curva estilo "Onda" simples usando border-radius */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex; align-items: center; justify-content: center;
    padding: 0 5%;
    background-size: cover; background-position: center;
}

/* Overlay Escuro */
.slide::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(19, 31, 125, 0.9) 0%, rgba(26, 43, 140, 0.7) 100%);
    z-index: 1;
}

.slide.active { opacity: 1; visibility: visible; }

.slide-container {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1100px; width: 100%; gap: 50px; z-index: 2;
}

.text-content {
    flex: 1; color: var(--white);
    transform: translateY(30px); opacity: 0;
    transition: 0.8s ease-out 0.2s;
}
.slide.active .text-content { transform: translateY(0); opacity: 1; }

.tag {
    background: rgba(255, 225, 3, 0.15);
    padding: 5px 12px; border-radius: 4px;
    font-size: 0.8rem; font-weight: 600;
    color: var(--action-yellow); display: inline-block;
    margin-bottom: 15px; border-left: 3px solid var(--action-yellow);
    text-transform: uppercase; letter-spacing: 1px;
}

.text-content h1 { font-size: 2.8rem; line-height: 1.1; font-weight: 700; margin-bottom: 15px; }
.text-content h1 span { color: var(--highlight-blue); }
.text-content p { font-size: 1rem; margin-bottom: 25px; color: #e0e0e0; line-height: 1.5; max-width: 450px; }

.cta-button {
    background-color: var(--action-yellow); color: var(--primary-blue);
    padding: 14px 35px; font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase; border: none; border-radius: 4px;
    cursor: pointer; text-decoration: none; display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 225, 3, 0.3); transition: 0.3s;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 225, 3, 0.5); }

.image-content {
    flex: 1; opacity: 0; transform: translateX(30px);
    transition: 0.8s ease-out 0.4s; display: flex; justify-content: center;
}
.slide.active .image-content { opacity: 1; transform: translateX(0); }

.image-card {
    width: 100%; max-width: 450px; height: 380px;
    background-size: cover; background-position: center;
    border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

/* CONTROLES (Setas e Bolinhas) */
.slider-controls {
    position: absolute; bottom: 40px;
    left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--action-yellow); transform: scale(1.2); }

.arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.1); backdrop-filter: blur(5px);
    color: white; border: 1px solid rgba(255,255,255,0.2);
    width: 50px; height: 50px; border-radius: 50%;
    cursor: pointer; font-size: 1.2rem; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; z-index: 10;
    user-select: none;
}
.arrow:hover { background: var(--action-yellow); color: var(--primary-blue); border-color: var(--action-yellow); }
.prev { left: 20px; }
.next { right: 20px; }

@media (max-width: 900px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    
    .hero-slider { 
        height: auto; 
        min-height: 100vh; 
        /* Aumentei o padding-bottom para as bolinhas não baterem no botão */
        padding-bottom: 120px; 
        /* Aumentei o padding-top para o Header não comer a foto */
        padding-top: 130px; 
    }

    .slide-container { 
        flex-direction: column-reverse; 
        justify-content: center; 
        gap: 30px; 
        padding-top: 0; /* Removido pois já tratamos no .hero-slider */
    }
    
    .image-content { width: 100%; margin-top: 10px; }
    
    .image-card { 
        display: none;
    }
    
    .text-content { 
        text-align: center; 
        padding: 0 10px; 
        /* Garante que o botão tenha margem inferior caso o controle suba muito */
        margin-bottom: 20px; 
    }
    .text-content h1 { font-size: 2rem; }
    
    /* Setas removidas no mobile */
    .arrow { display: none; }
    
    /* Controles (Bolinhas) ajustados */
    .slider-controls { bottom: 30px; }
}


/* =========================================
   SEÇÃO EDTECH HUB (LIGHT MODE / WHITE)
   ========================================= */
.edutech-hub {
    position: relative;
    padding: 60px 5%;
    background-color: #FFFFFF; /* Fundo Branco solicitado */
    overflow: hidden;
    color: #333;
}

/* Fundo com Grid Digital (Versão Clara) */
.cyber-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(19, 31, 125, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 31, 125, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Luz de fundo ajustada */
.edutech-hub::before {
    content: '';
    position: absolute;
    top: -40%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 500px; /* Altura menor */
    background: radial-gradient(circle, rgba(255, 225, 3, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.relative-z { position: relative; z-index: 2; }

/* Cabeçalho mais junto */
.hub-header {
    text-align: center;
    margin-bottom: 50px; /* Reduzi de 70px */
}

.tech-tag {
    color: #131F7D;
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 700;
    background: #f0f4ff;
    padding: 4px 12px;
    border-radius: 4px;
}

.hub-header h2 {
    font-size: 2.5rem; /* Reduzi de 3rem para ficar mais elegante */
    font-weight: 800;
    margin-bottom: 15px; /* Reduzi de 20px */
    line-height: 1.1;
    color: #0a1240;
}

/* Destaque "Smart" */
.text-neon {
    color: #131F7D;
    position: relative;
    z-index: 1;
}
.text-neon::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; width: 100%; height: 10px;
    background-color: #FFE103;
    z-index: -1;
    transform: skew(-20deg);
}

.hub-header p {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem; /* Fonte um pouco menor */
    line-height: 1.5;
}

/* --- GRID DOS CARDS --- */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px; /* Menos espaço entre cards (era 30px) */
}

/* Card Tecnológico (Mais fino) */
.tech-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    /* Reduzi o padding interno para diminuir altura do card */
    padding: 30px 25px; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: #131F7D;
    box-shadow: 0 20px 40px rgba(19, 31, 125, 0.1);
    border-bottom: 4px solid #FFE103;
}

/* Ícone */
.tech-icon {
    width: 55px; height: 55px; /* Ícone um pouco menor (era 60px) */
    background: #131F7D;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: #FFE103;
    margin-bottom: 20px; /* Menos margem (era 25px) */
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(19, 31, 125, 0.3);
}

.tech-card:hover .tech-icon {
    background: #FFE103;
    color: #131F7D;
    transform: rotate(10deg);
}

.tech-card h3 {
    font-size: 1.2rem; /* Título menor (era 1.3rem) */
    font-weight: 700;
    margin-bottom: 10px; /* Menos margem (era 15px) */
    color: #0a1240;
}

.tech-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* --- GRID DOS CARDS --- */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Card Tecnológico (Versão Branca) */
.tech-card {
    background: #fff;
    border: 1px solid #e5e7eb; /* Borda cinza clara */
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito elástico */
    position: relative;
    overflow: hidden;
    /* Sombra suave */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Efeito Hover: Sobe e a borda de baixo fica amarela */
.tech-card:hover {
    transform: translateY(-10px);
    border-color: #131F7D; /* Borda fica azul */
    box-shadow: 0 20px 40px rgba(19, 31, 125, 0.1); /* Sombra azulada */
    border-bottom: 4px solid #FFE103; /* Detalhe amarelo embaixo */
}

/* Ícone */
.tech-icon {
    width: 60px; height: 60px;
    background: #131F7D; /* Fundo Azul Sólido */
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #FFE103; /* Ícone Amarelo */
    margin-bottom: 25px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(19, 31, 125, 0.3);
}

.tech-card:hover .tech-icon {
    background: #FFE103;
    color: #131F7D;
    transform: rotate(10deg); /* Movimento divertido */
}

.tech-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0a1240;
}

.tech-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Efeito de brilho passando (opcional, fica bem sutil no branco) */
.card-glow {
    display: none; /* No fundo branco geralmente não precisa, mas se quiser ativar, remova essa linha */
}

/* Responsivo */
/* =========================================
   RESPONSIVIDADE (EDTECH HUB - COMPACTO)
   ========================================= */
@media (max-width: 900px) {
    
    .edutech-hub {
        /* Reduzi o padding vertical de 100px para 40px */
        padding: 40px 5%;
    }

    /* Cabeçalho mais junto */
    .hub-header {
        margin-bottom: 30px; /* Era 70px */
    }

    .tech-tag {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }

    .hub-header h2 {
        font-size: 1.8rem; /* Título menor */
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hub-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Grid mais apertado */
    .hub-grid {
        gap: 15px; /* Menos espaço entre os cards */
    }

    /* Card Compacto */
    .tech-card {
        text-align: left;
        padding: 20px; /* Card mais fino */
        display: flex; /* Ícone do lado do texto para economizar altura */
        align-items: flex-start;
        gap: 15px;
    }

    /* Ícone menor e ao lado */
    .tech-icon {
        width: 45px; 
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0; /* Remove margem de baixo pois agora está ao lado */
        flex-shrink: 0; /* Não deixa amassar */
    }

    /* Ajuste de texto dentro do card */
    .tech-card h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .tech-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* =========================================
   SEÇÃO FLASHY BLUE (Azul Chamativo + Bolinhas)
   ========================================= */

.flashy-blue-section {
    position: relative;
    padding: 100px 5%;
    background-color: #131F7D;
    overflow: hidden;
    color: #fff;
    /* Gradiente Azul Profundo */
    background: linear-gradient(135deg, #131F7D 0%, #0d165e 100%);
}

/* --- DECORAÇÃO DE FUNDO --- */
.dots-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Bolinhas brancas sutis */
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.glow-effect {
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(73, 141, 253, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* --- LAYOUT --- */
.flashy-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- COLUNA TEXTO (ESQUERDA) --- */
.flashy-text {
    flex: 1;
    max-width: 450px;
}

.tag-yellow {
    background-color: #FFE103;
    color: #131F7D;
    padding: 5px 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

.flashy-text h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.text-highlight {
    color: #FFE103; /* Amarelo */
}

.flashy-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* --- BOTÕES DE NAVEGAÇÃO --- */
.flashy-nav-controls {
    display: flex;
    gap: 15px;
}

.flashy-btn {
    width: 55px; height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
}

.flashy-btn:hover {
    background: #FFE103;
    color: #131F7D;
    border-color: #FFE103;
    transform: scale(1.1);
}

/* --- CARROUSEL (DIREITA) --- */
.flashy-carousel-wrapper {
    flex: 1.2;
    overflow: hidden; /* Esconde o que sai da tela */
    padding: 20px 0 20px 20px;
    /* Efeito de fade na direita */
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.flashy-track {
    display: flex;
    gap: 25px; /* Espaço entre cards */
    overflow-x: auto; /* Permite scroll */
    padding-bottom: 10px;
    
    /* IMPORTANTE: Removemos scroll-behavior e scroll-snap para o JS controlar tudo */
    scrollbar-width: none;
}
.flashy-track::-webkit-scrollbar { display: none; }

/* --- CARD DE VIDRO (GLASSMORPHISM) --- */
.flashy-card {
    /* Tamanho fixo para o JS calcular certo */
    min-width: 300px;
    max-width: 300px;
    
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 35px 25px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.flashy-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: #FFE103;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon-box {
    width: 60px; height: 60px;
    background: #FFE103;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: #131F7D;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 225, 3, 0.4);
}

.flashy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #fff;
}

.flashy-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* --- RESPONSIVIDADE --- */
/* =========================================
   RESPONSIVIDADE (MOBILE COMPACTO - FLASHY BLUE)
   ========================================= */
@media (max-width: 900px) {
    
    .flashy-blue-section {
        /* Reduz padding vertical de 100px para 60px */
        padding: 60px 5%;
    }

    .flashy-container {
        flex-direction: column;
        text-align: center;
        gap: 30px; /* Reduz gap entre texto e carrossel */
    }
    
    /* TEXTO MAIS COMPACTO */
    .flashy-text { max-width: 100%; }
    
    .tag-yellow { margin-bottom: 15px; font-size: 0.7rem; }
    
    .flashy-text h2 { 
        font-size: 2rem; /* Reduz de 2.8rem */
        margin-bottom: 15px; 
    }
    
    .flashy-text p { 
        font-size: 0.95rem; /* Fonte menor */
        margin-bottom: 25px; 
        line-height: 1.5;
    }
    
    .flashy-nav-controls { justify-content: center; }
    
    /* Botões menores */
    .flashy-btn { width: 45px; height: 45px; font-size: 1rem; }

    /* CARROSSEL COMPACTO */
    .flashy-carousel-wrapper {
        width: 100%;
        mask-image: none;
        padding: 0 0 10px 0; /* Menos padding embaixo */
        margin-top: 10px;
    }
    
    .flashy-track { gap: 15px; } /* Menos espaço entre cards */

    /* CARD MENOR */
    .flashy-card {
        min-width: 260px; /* Card mais estreito */
        max-width: 260px;
        padding: 25px 20px; /* Menos padding interno */
        border-radius: 15px;
    }
    
    .card-icon-box {
        width: 50px; height: 50px; /* Ícone menor */
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .flashy-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
    .flashy-card p { font-size: 0.85rem; }
}



/* =========================================
   ESTILOS ESPECÍFICOS DA GARANTIA
   ========================================= */

.guarantee-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centraliza verticalmente */
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* --- LADO ESQUERDO (TEXTO) --- */
.guarantee-content {
    flex: 1;
}

.guarantee-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.guarantee-icon-main {
    font-size: 3.5rem;
    color: #FFE103;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

.requirements-label {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.guarantee-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.guarantee-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.guarantee-list li i {
    color: #FFE103;
    margin-top: 5px; /* Alinha o check com a primeira linha do texto */
}

/* Badge do Diploma (Botão falso azul escuro/transparente) */
.diploma-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.diploma-badge i {
    color: #FFE103;
    font-size: 1.4rem;
}

/* --- LADO DIREITO (CARD DE VIDRO MAIOR) --- */
.guarantee-card-glass {
    flex: 0.9;
    background: rgba(255, 255, 255, 0.05); /* Um pouco mais sutil que o carrossel */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.guarantee-card-glass h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sub-question {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.compensation-box {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.compensation-box span {
    font-weight: 800; /* Deixa o valor bem grosso */
    font-size: 1.2rem;
}

.slogan-footer h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

/* --- RESPONSIVIDADE PARA A GARANTIA --- */
@media (max-width: 900px) {
    .guarantee-container {
        flex-direction: column;
        gap: 40px;
    }

    .guarantee-header {
        justify-content: center;
        text-align: left; /* Mantém texto alinhado à esquerda dentro do bloco */
    }

    /* No mobile, centralizamos o visual geral */
    .guarantee-content {
        text-align: left; 
    }
    
    .guarantee-card-glass {
        width: 100%;
        padding: 25px;
    }

    .section-title { font-size: 1.8rem; }
    .guarantee-icon-main { font-size: 2.5rem; }
    
    .slogan-footer h4 { font-size: 1.5rem; }
}


/* =========================================
   SEÇÃO MODALIDADES (ESTILO EDTECH OTIMIZADO)
   ========================================= */
.modalities-tech {
    position: relative;
    padding: 80px 5%;
    background-color: #FFFFFF;
    overflow: hidden;
    color: #333;
}

/* Fundo Grid */
.cyber-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(19, 31, 125, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 31, 125, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Grid de 4 Colunas (Ajustado para Notebook/PC) */
.modalities-grid-tech {
    display: grid;
    /* Mudança: minmax 220px garante que 4 cards caibam lado a lado em telas > 1000px */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px; /* Gap um pouco menor para caber tudo */
}

/* --- O CARD TECH --- */
.modality-card-tech {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 35px 25px; /* Padding levemente reduzido no desktop */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%; /* Garante altura igual */
}

/* Hover Premium */
.modality-card-tech:hover {
    transform: translateY(-10px);
    border-color: #131F7D;
    box-shadow: 0 20px 40px rgba(19, 31, 125, 0.1);
    border-bottom: 4px solid #FFE103;
}

/* Ícone */
.modality-card-tech .tech-icon {
    width: 60px; height: 60px;
    background: #131F7D;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: #FFE103;
    margin-bottom: 20px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(19, 31, 125, 0.2);
}

.modality-card-tech:hover .tech-icon {
    transform: rotate(5deg) scale(1.1);
    background: #FFE103;
    color: #131F7D;
}

/* Tipografia */
.modality-card-tech h3 {
    font-size: 1.25rem; /* Fonte ajustada para não quebrar em 4 colunas */
    font-weight: 800;
    margin-bottom: 12px;
    color: #0a1240;
    line-height: 1.2;
}

.modality-card-tech p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Link */
.tech-link {
    font-weight: 700;
    color: #131F7D;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: 0.3s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.tech-link:hover {
    gap: 12px;
    color: #000;
    border-bottom-color: #FFE103;
}

/* =========================================
   RESPONSIVIDADE (MOBILE MAIS COMPACTO)
   ========================================= */
@media (max-width: 900px) {
    
    .modalities-tech { 
        padding: 50px 5%; /* Menos padding vertical */
    }
    
    .modalities-grid-tech { 
        gap: 15px; /* Cards mais próximos */
    }
    
    .modality-card-tech { 
        padding: 25px 20px; /* Card mais fino */
        text-align: center; 
        align-items: center;
        border-radius: 12px;
    }
    
    /* Ícone menor */
    .modality-card-tech .tech-icon { 
        width: 50px; 
        height: 50px; 
        font-size: 1.3rem;
        margin-bottom: 15px; 
        margin-left: auto; margin-right: auto; /* Centraliza */
    }

    /* Texto menor */
    .modality-card-tech h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .modality-card-tech p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }
}


/* =========================================
   SEÇÃO QUEM SOMOS (CHIC WHITE)
   ========================================= */
.chic-about {
    padding: 100px 80px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden; /* Evita que elementos decorativos vazem */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dividido ao meio */
    gap: 80px; /* Espaço generoso entre texto e imagem */
    align-items: center;
}

/* --- LADO ESQUERDO (TEXTO) --- */
.title-decoration {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.line-yellow {
    width: 40px;
    height: 4px;
    background-color: #FFE103; /* Amarelo Velox */
    border-radius: 2px;
}

.tag-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
}

.text-blue { color: #131F7D; }

/* Efeito de marca-texto amarelo */
.highlight-marker {
    position: relative;
    z-index: 1;
}
.highlight-marker::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color:#FFE103; /* Amarelo Transparente */
    z-index: -1;
    border-radius: 2px;
}

.lead-paragraph {
    font-size: 1.1rem;
    color: #131F7D;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Ícones de Valores */
.values-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 50px; height: 50px;
    background-color: #f4f6f9;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #131F7D;
    font-size: 1.2rem;
    transition: 0.3s;
}

.value-item:hover .icon-circle {
    background-color: #131F7D;
    color: #FFE103;
    box-shadow: 0 10px 20px rgba(19, 31, 125, 0.2);
}

.value-item h4 { font-size: 1rem; color: #333; margin-bottom: 2px; font-weight: 700; }
.value-item p { margin: 0; font-size: 0.8rem; color: #888; }

/* Botão Outline Elegante */
.btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #131F7D;
    color: #131F7D;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: #131F7D;
    color: #fff;
    box-shadow: 0 10px 25px rgba(19, 31, 125, 0.15);
}

/* --- LADO DIREITO (VISUAL COMPOSTO) --- */
.about-visual {
    position: relative;
    padding: 20px; /* Espaço para o elemento decorativo não cortar */
}

/* Quadrado Amarelo de Fundo */
.shape-yellow {
    position: absolute;
    top: 0; right: 0;
    width: 80%;
    height: 90%;
    background-color: #FFE103;
    border-radius: 30px;
    z-index: 1;
    opacity: 0.9;/* Bem suave */
    transform: translate(10px, -10px); /* Deslocado */
}

.main-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); /* Sombra difusa chique */
    /* Efeito de borda branca para separar do fundo */
    border: 5px solid #fff; 
}

.main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.5s;
}

.about-visual:hover .main-img {
    transform: scale(1.03); /* Zoom suave no hover */
}

/* Card Flutuante */
.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px; /* Sai para fora da imagem */
    background-color: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.badge-icon {
    width: 40px; height: 40px;
    background-color: #00C2CB; /* Ciano para destaque */
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.badge-text strong { display: block; color: #131F7D; font-size: 0.95rem; }
.badge-text span { font-size: 0.8rem; color: #777; }

/* Animação de Flutuar */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsivo */
/* =========================================
   RESPONSIVIDADE (QUEM SOMOS - ULTRA COMPACTO)
   ========================================= */
@media (max-width: 900px) {
    
    .chic-about {
        /* Reduzi de 50px para 30px. Bem mais apertado. */
        padding: 30px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px; /* Menos espaço entre texto e foto */
        text-align: center;
    }

    /* --- TEXTOS MENORES --- */
    .title-decoration {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .tag-text { font-size: 0.75rem; } /* Tag menor */

    .about-content h2 {
        /* Reduzi de 2rem para 1.6rem (aprox 25px) */
        font-size: 1.6rem; 
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .lead-paragraph {
        font-size: 0.9rem; /* Texto destaque menor */
        margin-bottom: 10px;
    }

    .about-content p {
        font-size: 0.85rem; /* Texto comum bem compacto */
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* --- ÍCONES DE VALORES (MINI CARDS) --- */
    .values-row {
        flex-direction: column;
        gap: 10px; /* Coladinhos um no outro */
        margin-bottom: 25px;
        align-items: center;
    }

    .value-item {
        width: 100%;
        max-width: 300px;
        padding: 10px 15px; /* Card mais fino */
        border-radius: 8px;
        background-color: #f8f9fa;
        /* Alinha ícone e texto na horizontal para economizar altura */
        display: flex;
        align-items: center; 
        text-align: left; 
        justify-content: flex-start;
    }
    
    /* Ícone menor */
    .icon-circle {
        width: 35px; 
        height: 35px;
        font-size: 0.9rem;
        flex-shrink: 0; /* Não deixa amassar */
    }

    .value-item h4 { font-size: 0.9rem; margin: 0; }
    .value-item p { font-size: 0.75rem; display: none; /* Dica: Ocultar a descrição no mobile economiza muito espaço */ } 
    /* Se quiser manter a descrição, apague o "display: none" acima */

    /* --- IMAGEM E CARD --- */
    .about-visual {
        padding: 0;
        margin-top: 0;
    }

    .shape-yellow { display: none; }

    .main-image-wrapper {
        border-width: 0; /* Sem borda para ganhar largura */
        max-width: 90%; /* Um pouco menor que a tela */
        margin: 0 auto;
    }

    .floating-badge {
        display: none;
    }
    
    .badge-icon { width: 30px; height: 30px; font-size: 0.8rem; text-align: center;}
    .badge-text strong { font-size: 0.8rem; }
    .badge-text span { display: none; /* Remove subtítulo do badge */ }
    
    .btn-outline {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* =========================================
   AJUSTE ESPECÍFICO PARA NOTEBOOKS / LAPTOPS
   (Telas entre 901px e 1440px)
   ========================================= */
@media screen and (min-width: 901px) and (max-width: 1440px) {
    
    /* Aumentei um pouco o respiro em relação à versão anterior */
    .chic-about {
        padding: 80px 50px; 
    }

    /* Espaço maior entre a imagem e o texto */
    .about-grid {
        gap: 60px; 
        align-items: center;
    }

    /* --- AJUSTE DE TEXTOS (MAIORES) --- */
    /* Título agora com 2.4rem (antes era 2rem, original é 2.8rem) */
    .about-content h2 {
        font-size: 2.2rem; 
        margin-bottom: 20px;
    }

    /* Texto de destaque */
    .lead-paragraph {
        font-size: 1.05rem;
        margin-bottom: 12px;
    }

    /* Texto corrido voltando para um tamanho padrão de leitura */
    .about-content p {
        font-size: 1rem; 
        margin-bottom: 25px;
        line-height: 1.6;
    }

    /* --- AJUSTE DOS ÍCONES/VALORES --- */
    .values-row {
        gap: 25px;
        margin-bottom: 35px;
    }

    /* Ícones um pouco maiores que a versão anterior */
    .icon-circle {
        width: 45px;
        height: 45px;
        font-size: 1.1rem; 
    }

    .value-item h4 {
        font-size: 0.95rem;
    }
    
    .value-item p {
        font-size: 0.8rem;
    }

    /* Botão com tamanho médio */
    .btn-outline {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    /* --- AJUSTE VISUAL (LADO DIREITO) --- */
    /* Card Flutuante mais legível */
    .floating-badge {
        padding: 12px 20px;
        bottom: 25px;
        left: -25px;
        gap: 12px;
    }

    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .badge-text strong {
        font-size: 0.9rem;
    }
}


/* ==========================================================================
   SEÇÃO PRINCIPAL: BACKGROUND + CURSOS (VELOX BG SECTION)
   ========================================================================== */

/* --- 1. CONFIGURAÇÃO GERAL (DESKTOP) --- */
.velox-bg-section {
    width: 100%;
    position: relative;
    margin-top: 100px; /* Distância da seção anterior */
    
    /* Imagem de Fundo */
    background-image: url('../img/background.png'); 
    background-size: 100% 100%; 
    background-repeat: no-repeat;
    background-position: center top;

    /* Espaçamentos Internos */
    padding-top: 0; 
    padding-bottom: 80px; 
}

/* =========================================
   2. BANNER CTA FLUTUANTE
   ========================================= */
.banner-wrapper {
    /* Puxa o banner para cima, invadindo a seção anterior */
    margin-top: -80px; 
    margin-bottom: 80px; 
    position: relative;
    z-index: 20; 
}

.css-banner {
    /* Gradiente Velox */
    background: linear-gradient(90deg, #0a1240 0%, #131F7D 50%, #00d4ff 100%);
    border-radius: 12px;
    padding: 30px 40px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* --- Elementos Internos do Banner --- */
.b-left h3 { 
    font-size: 1.4rem; 
    line-height: 1.1; 
    margin-top: 5px; 
}

.badge-cyan { 
    background: #FFE103; /* Amarelo */
    color: #131F7D;      /* Azul */
    font-size: 0.7rem; 
    font-weight: 800; 
    padding: 4px 8px; 
    border-radius: 4px; 
}

.b-center { 
    flex: 1; 
    text-align: center; 
    border-left: 1px solid rgba(255,255,255,0.2); 
    border-right: 1px solid rgba(255,255,255,0.2); 
}

.yellow-box { 
    background: #FFE103; 
    color: #131F7D; 
    display: inline-block; 
    padding: 5px 20px; 
    transform: skew(-10deg); 
    font-weight: 800; 
    font-size: 1.2rem; 
    font-style: italic; 
    margin-bottom: 5px; 
}

.b-center p { 
    font-size: 0.85rem; 
    margin: 0; 
}

.b-right { text-align: right; }

.b-right strong { 
    font-size: 2.8rem; 
    color: #FFE103; 
    line-height: 1; 
    font-weight: 800; 
    display: block; 
}

/* =========================================
   3. CONTEÚDO AZUL (CURSOS)
   ========================================= */
.blue-content {
    text-align: center;
    color: #fff;
}

/* Cabeçalho "Nossos Cursos" */
.header-content h2 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    margin-bottom: 25px; 
    line-height: 1.1; 
}

.mini-tag { 
    font-size: 0.85rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    opacity: 0.8; 
    display: block; 
    margin-bottom: 10px; 
    font-weight: 600; 
}

.bg-cyan { 
    background: #FFE103; 
    color: #131F7D; 
    padding: 0 10px; 
    border-radius: 6px; 
}

.pill-cyan { 
    background: #FFE103; 
    color: #131F7D; 
    display: inline-block; 
    padding: 12px 35px; 
    border-radius: 50px; 
    font-weight: 800; 
    margin-bottom: 50px; 
    box-shadow: 0 5px 20px rgba(255, 225, 3, 0.3); 
}

/* --- Ícones de Navegação --- */
.nav-icons { 
    display: flex; 
    justify-content: center; 
    gap: 50px; 
    margin-bottom: 50px; 
    flex-wrap: wrap; 
}

.icon-box { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 12px; 
    opacity: 0.5; 
    cursor: pointer; 
    transition: 0.3s; 
    width: 100px; 
}

.icon-box:hover, .icon-box.active { 
    opacity: 1; 
    transform: translateY(-5px); 
}

.icon-box i { 
    font-size: 3rem; 
    color: #bdc8e6; 
}

.icon-box.active i { 
    color: #FFE103; 
    filter: drop-shadow(0 0 10px rgba(255, 225, 3, 0.5)); 
}

.icon-box span { 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
}

/* --- Botão "Ver Todos" (Com efeito giratório) --- */
.view-all-icon {
    text-decoration: none;
    position: relative;
    width: 100px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden; 
    padding: 15px 5px;
    transition: 0.3s;
    opacity: 1 !important; /* Sempre visível */
    background-color: #131F7D; 
    box-shadow: 0 0 15px rgba(255, 225, 3, 0.2);
    z-index: 1;
}

.view-all-icon::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300%; height: 300%; 
    background: conic-gradient(transparent 0deg, transparent 270deg, #FFE103 360deg);
    animation: border-spin 4s linear infinite;
    z-index: -2;
}

.view-all-icon::after {
    content: '';
    position: absolute;
    inset: 3px; 
    background: #131F7D; 
    border-radius: 10px;
    z-index: -1;
}

.view-all-icon i, .view-all-icon span {
    position: relative;
    z-index: 10;
}

.view-all-icon i {
    font-size: 2.5rem;
    color: #FFE103; 
    margin-bottom: 5px;
    filter: drop-shadow(0 0 5px rgba(255, 225, 3, 0.8));
}

.view-all-icon span {
    color: #FFE103;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.view-all-icon:hover { transform: scale(1.05); }
.view-all-icon:hover::before { animation-duration: 1.5s; }

@keyframes border-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================================
   4. CARD DE DETALHES DO CURSO
   ========================================= */
.tab-body { 
    min-height: 80px; 
    margin-bottom: 50px; 
    display: flex; 
    justify-content: center; 
}

.course-detail-card {
    display: none;
    background: #ffffff; 
    color: #333; 
    border-radius: 20px;
    padding: 40px; 
    max-width: 750px; 
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeInUp 0.4s ease;
}

.course-detail-card.active { display: block; }

.course-detail-card h3 {
    font-size: 2.2rem;
    color: #131F7D;
    margin-bottom: 20px;
    font-weight: 800;
}

.course-tags { display: flex; justify-content: center; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }

.tag-type {
    background-color: #131F7D; 
    color: #fff; 
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.tag-type.tech-tag { background-color: #00C2CB; color: #131F7D; }

.tag-time {
    border: 2px solid #131F7D; 
    color: #131F7D;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px;
}

.course-detail-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.btn-course {
    display: inline-block;
    background-color: #FFE103;
    color: #131F7D;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 225, 3, 0.4);
    transition: all 0.3s ease;
}

.btn-course:hover {
    transform: translateY(-3px);
    background-color: #131F7D;
    color: #fff;
    box-shadow: 0 10px 25px rgba(19, 31, 125, 0.4);
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- Seletor de Categorias (Abas Superiores) --- */
.category-switcher {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap;
}
.cat-btn {
    background: rgba(255, 255, 255, 0.1); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px; border-radius: 50px;
    font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: 0.3s;
    text-transform: uppercase; letter-spacing: 1px;
}
.cat-btn:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.cat-btn.active {
    background-color: #FFE103; color: #131F7D; border-color: #FFE103;
    font-weight: 800; box-shadow: 0 5px 20px rgba(255, 225, 3, 0.3);
}
.category-content-wrapper { display: none; animation: fadeIn 0.5s ease; }
.category-content-wrapper.active { display: block; }


/* =======================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ======================================================= */

/* --- MOBILE (Até 900px) --- */
@media (max-width: 900px) {
    
    /* 1. FUNDO AZUL (Lógica de baixo pra cima) */
    .blue-content { 
        background: linear-gradient(180deg, #131F7D 0%, #131F7D 70%, #007a99 100%);
        padding-top: 60px; /* Sem banner, sobe o texto */
        padding-bottom: 60px;
        min-height: auto; 
        text-align: center; 
        color: #fff; 
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .velox-bg-section {
        background-image: none; 
        background-color: transparent !important;
        padding-bottom: 0;
        margin-top: 50px; /* Respiro padrão entre seções */
    }

    /* 2. ESCONDE BANNER NO MOBILE */
    .banner-wrapper { display: none !important; }

    /* 3. AJUSTES GERAIS MOBILE */
    .header-content h2 { font-size: 1.8rem; margin-bottom: 15px; }
    .pill-cyan { font-size: 0.8rem; padding: 10px 20px; margin-bottom: 40px; }
    
    .nav-icons { gap: 15px; margin-bottom: 30px; }
    .icon-box { width: 30%; }
    .icon-box i { font-size: 2rem; margin-bottom: 5px; }
    .icon-box span { font-size: 0.7rem; }

    .course-detail-card { 
        padding: 30px 20px; 
        border-radius: 15px;
        margin: 0 20px;
        width: auto;
    }
    .course-detail-card h3 { font-size: 1.6rem; }
    .course-detail-card p { font-size: 0.95rem; margin-bottom: 25px; }
    .btn-course { padding: 12px 30px; font-size: 0.9rem; width: 100%; }
    
    .category-switcher { gap: 10px; }
    .cat-btn { padding: 10px 15px; font-size: 0.8rem; width: 100%; max-width: 300px; }
}

/* --- DESKTOP (Ajustes finos para telas grandes) --- */
@media (min-width: 901px) {
    .css-banner {
        max-width: 950px; 
        margin: 0 auto; 
        padding: 20px 40px; 
    }
    .b-right strong { font-size: 2.2rem; }
    .b-left h3 { font-size: 1.2rem; margin-top: 0; }
    .yellow-box { padding: 4px 15px; font-size: 1rem; }

    /* Empurra o conteúdo para a área azul sólida */
    .blue-content {
        padding-top: 250px !important;
    }

    /* Ajuste fino da posição do banner */
    .banner-wrapper {
        margin-top: -60px; 
        margin-bottom: 0; 
    }
}

/* =======================================================
   RESPONSIVIDADE (MEDIA QUERIES ATUALIZADAS)
   ======================================================= */

/* --- 1. MOBILE (Até 900px) - Mantive igual --- */
@media (max-width: 900px) {
    .blue-content { 
        background: linear-gradient(180deg, #131F7D 0%, #131F7D 70%, #007a99 100%);
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: auto; 
        text-align: center; 
        color: #fff; 
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .velox-bg-section {
        background-image: none; 
        background-color: transparent !important;
        padding-bottom: 0;
        margin-top: 50px;
    }

    .banner-wrapper { display: none !important; }

    .header-content h2 { font-size: 1.8rem; margin-bottom: 15px; }
    .pill-cyan { font-size: 0.8rem; padding: 10px 20px; margin-bottom: 40px; }
    
    .nav-icons { gap: 15px; margin-bottom: 30px; }
    .icon-box { width: 30%; }
    .icon-box i { font-size: 2rem; margin-bottom: 5px; }
    .icon-box span { font-size: 0.7rem; }

    .course-detail-card { 
        padding: 30px 20px; 
        border-radius: 15px;
        margin: 0 20px;
        width: auto;
    }
    .course-detail-card h3 { font-size: 1.6rem; }
    .course-detail-card p { font-size: 0.95rem; margin-bottom: 25px; }
    .btn-course { padding: 12px 30px; font-size: 0.9rem; width: 100%; }
    
    .category-switcher { gap: 10px; }
    .cat-btn { padding: 10px 15px; font-size: 0.8rem; width: 100%; max-width: 300px; }
}

/* --- 2. NOTEBOOK / LAPTOP (De 901px até 1440px) --- */
/* AQUI ESTÁ A MÁGICA: Reduzimos tudo um pouco para caber na tela do note */
@media (min-width: 901px) and (max-width: 1440px) {
    
    .velox-bg-section { margin-top: 60px; }
    .banner-wrapper { margin-top: -50px; }
    .css-banner { padding: 15px 30px; max-width: 850px; }
    .b-right strong { font-size: 2rem; }
    .b-left h3 { font-size: 1.1rem; }

    /* Mantendo o ajuste de altura que fizemos antes */
    .blue-content {
        padding-top: 170px !important; 
        padding-bottom: 30px !important;
    }
    .tab-body { margin-bottom: 0px !important; }

    .header-content h2 { font-size: 2rem; margin-bottom: 15px; }
    .category-switcher { margin-bottom: 30px; }
    .cat-btn { padding: 8px 20px; font-size: 0.85rem; }

    /* --- AQUI: Ícones MAIORES no Notebook --- */
    .nav-icons { 
        gap: 35px !important; /* Mais espaço entre eles */
        margin-bottom: 30px; 
    }
    .icon-box { width: auto; } /* Deixa a largura automática */
    .icon-box i { 
        font-size: 3rem !important; /* Aumentado significativamente (era 2.2rem na última versão) */
    }
    .icon-box span { font-size: 0.8rem !important; }

    /* --- AQUI: Card MENOR no Notebook --- */
    .course-detail-card {
        padding: 20px 25px !important; /* Padding bem compacto */
        max-width: 550px !important; /* Card bem estreito para notebook */
    }
    .course-detail-card h3 { 
        font-size: 1.5rem !important; /* Título menor */
        margin-bottom: 15px; 
    }
    .course-detail-card p { 
        font-size: 0.9rem !important; /* Texto de apoio menor */
        margin-bottom: 20px; 
        line-height: 1.4;
    }
    
    /* Tags e Botão menores para acompanhar */
    .course-tags { gap: 8px; margin-bottom: 15px; }
    .tag-type, .tag-time { padding: 4px 10px; font-size: 0.75rem; }
    .btn-course { padding: 10px 30px !important; font-size: 0.85rem !important; }
}

/* --- 3. TELAS GRANDES / MONITOR WIDE (Acima de 1441px) --- */
/* Mantém o visual grandioso original apenas para monitores grandes */
@media (min-width: 1441px) {
    .css-banner {
        max-width: 950px; 
        margin: 0 auto; 
        padding: 20px 40px; 
    }
    .b-right strong { font-size: 2.2rem; }
    .b-left h3 { font-size: 1.2rem; margin-top: 0; }
    .yellow-box { padding: 4px 15px; font-size: 1rem; }

    .blue-content {
        padding-top: 250px !important;
    }

    .banner-wrapper {
        margin-top: -60px; 
        margin-bottom: 0; 
    }
}


/* =========================================
   SEÇÃO DEPOIMENTOS (FUNDO LIMPO)
   ========================================= */
.velox-testimonials-section {
    position: relative;
    padding: 100px 0;
    
    /* --- CONFIGURAÇÃO DO FUNDO --- */
    /* Garante que usa a imagem e cobre tudo */
    background-image: url('../img/background2.png'); 
    background-size: cover;       /* Estica para cobrir tudo */
    background-position: center;  /* Centraliza */
    background-repeat: no-repeat;
    
    /* Remove a cor sólida azul de fundo para não vazar nas bordas */
    background-color: transparent; 
    
    color: #fff;
    text-align: center;
    overflow: hidden; 
}

/* Título e Badge */
.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #131F7D;
}

.badge-indica {
    background-color: #FFE103;
    color: #131F7D;
    padding: 5px 15px;
    border-radius: 8px;
    display: inline-block;
    transform: skew(-5deg);
    margin-left: 10px;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.yellow-line-center {
    width: 80px; height: 5px;
    background-color: #FFE103;
    margin: 0 auto 60px auto;
    border-radius: 5px;
}

/* CARROSSEL */
.testimonial-swiper {
    padding: 20px 60px 60px 60px;
    position: relative;
}

/* CARD (Centralizado e Único) */
.testimonial-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px 50px;
    text-align: left;
    color: #333;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    max-width: 800px; /* Tamanho fixo igual ao print */
    margin: 0 auto;
    height: auto;
}

.card-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 25px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px;
}
.author-name { font-size: 1.2rem; font-weight: 800; color: #131F7D; margin-bottom: 4px; }
.author-location { font-size: 0.85rem; color: #888; display: block; margin-bottom: 8px; }
.star-rating { color: #FFE103; font-size: 0.9rem; letter-spacing: 2px; }
.quote-icon { font-size: 2.5rem; color: #FFE103; opacity: 0.4; }
.card-body p { font-size: 1.1rem; line-height: 1.7; color: #555; font-style: italic; font-weight: 500; }

/* SETAS */
.swiper-button-next, .swiper-button-prev {
    color: #FFE103 !important;
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px; height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #FFE103;
    color: #131F7D !important;
}

/* BOLINHAS */
.swiper-pagination-bullet { background-color: rgba(255,255,255,0.5); width: 10px; height: 10px; opacity: 1; }
.swiper-pagination-bullet-active { background-color: #FFE103; width: 30px; border-radius: 5px; }

/* =========================================
   RESPONSIVIDADE (DEPOIMENTOS - MOBILE)
   ========================================= */
@media (max-width: 900px) {
    
    .velox-testimonials-section {
        /* Reduz de 100px para 50px */
        padding: 50px 0;
        
        /* Ajuste do fundo para mobile */
        background-size: cover;
        background-position: center;
    }

    /* Ajuste do Título */
    .section-header-center h2 {
        font-size: 1.8rem; /* Reduz de 2.5rem */
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    /* Linha Amarela menor */
    .yellow-line-center {
        margin-bottom: 30px; /* Reduz espaço */
    }

    /* Container do Swiper */
    .testimonial-swiper {
        /* Remove o padding lateral gigante (60px) que servia para as setas */
        padding: 0 20px 40px 20px; 
    }

    /* Esconde as setas no mobile (usa-se o dedo/swipe) */
    .swiper-button-next, 
    .swiper-button-prev { 
        display: none !important; 
    }

    /* Ajuste do Card */
    .testimonial-card {
        padding: 25px 20px; /* Menos padding interno */
        border-radius: 15px;
        min-height: auto; /* Altura flexível */
    }

    .card-header {
        flex-direction: row; /* Mantém lado a lado */
        margin-bottom: 15px;
    }

    .author-name { font-size: 1rem; }
    .author-location { font-size: 0.75rem; }
    
    .quote-icon { 
        font-size: 1.8rem; /* Ícone menor */
    }

    .card-body p {
        font-size: 0.9rem; /* Texto menor */
        line-height: 1.5;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .testimonial-swiper { 
        padding: 0 0 50px 0; 
    }
    
    .swiper-button-next, .swiper-button-prev { 
        display: none; 
    }
    
    .testimonial-card { 
        padding: 30px 20px;
        
        /* --- CORREÇÃO --- */
        /* Define que o card ocupe no máximo 90% da largura da tela */
        max-width: 90%; 
        
        /* Garante que ele fique centralizado com margens automáticas nas laterais */
        margin-left: auto;
        margin-right: auto;
    }
}




/* =========================================
   SEÇÃO FAQ (COMPACTO)
   ========================================= */
.faq-section {
    padding: 60px 0; /* Reduzi de 100px para 60px */
    background-color: #f9f9f9;
    color: #333;
}

/* Cabeçalho mais discreto */
.faq-header {
    text-align: center;
    margin-bottom: 40px; /* Reduzi de 70px */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tag-faq {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 10px;
    background-color: rgba(19, 31, 125, 0.08);
    color: #131F7D;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    display: inline-block;
}

.faq-header h2 {
    font-size: 2.2rem; /* Título menor */
    font-weight: 800;
    color: #131F7D;
    margin-bottom: 10px;
    line-height: 1.2;
}

.faq-header p {
    color: #666;
    font-size: 1rem; /* Fonte padrão */
    margin: 0;
}

.highlight-blue { color: #FFE103; }

/* Container das Perguntas */
.faq-wrapper {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Cards mais próximos */
}

/* Item Individual (Card Fino) */
.faq-item {
    background-color: #fff;
    border-radius: 8px; /* Bordas sutis */
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); /* Sombra leve */
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* Botão da Pergunta */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 25px; /* Altura reduzida */
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem; /* Fonte menor */
    font-weight: 600;
    color: #131F7D;
}

.faq-question i {
    font-size: 0.85rem;
    color: #131F7D;
    background: rgba(19, 31, 125, 0.05);
    width: 28px; height: 28px; /* Ícone menor */
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Área da Resposta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 20px;
    line-height: 1.5;
    color: #555;
    font-size: 0.95rem; /* Texto compacto */
    margin: 0;
}

/* Estado Ativo */
.faq-item.active {
    border-left: 4px solid #FFE103;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background-color: #FFE103;
}

/* Rodapé do FAQ */
.faq-footer {
    text-align: center;
    margin-top: 40px; /* Reduzido */
}

.faq-footer p { 
    margin-bottom: 15px; 
    color: #444; 
    font-weight: 600; 
    font-size: 1rem; 
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: #fff;
    padding: 12px 30px; /* Botão médio */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
}


/* =========================================
   RESPONSIVIDADE (FAQ - MOBILE COMPACTO)
   ========================================= */
@media (max-width: 900px) {
    
    .faq-section {
        padding: 60px 5%; /* Padding confortável para mobile */
    }

    /* Cabeçalho mais compacto */
    .faq-header {
        margin-bottom: 30px;
    }

    .tag-faq {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    .faq-header h2 {
        font-size: 2rem; /* Reduz de 2.5rem */
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .faq-header p {
        font-size: 0.95rem; /* Texto menor */
        line-height: 1.5;
    }

    /* Perguntas mais compactas */
    .faq-wrapper {
        gap: 10px; /* Menos espaço entre perguntas */
    }

    .faq-question {
        padding: 15px 20px; /* Botão menor */
        font-size: 1rem;    /* Fonte da pergunta menor */
    }

    .faq-question i {
        font-size: 0.8rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-answer p {
        padding-bottom: 20px;
        font-size: 0.9rem; /* Fonte da resposta menor */
    }

    /* Rodapé do FAQ */
    .faq-footer {
        margin-top: 40px;
    }
    
    .btn-whatsapp {
        width: 100%; /* Botão ocupa largura total no mobile */
        justify-content: center;
    }
}

/* =========================================
   FOOTER PREMIUM
   ========================================= */
.velox-footer {
    background-color: #0a1240; /* Azul quase preto (Fundo Profundo) */
    color: #fff;
    padding: 80px 50px 30px 50px;
    font-size: 0.95rem;
    position: relative;
    border-top: 5px solid #FFE103; /* Borda amarela no topo */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Colunas assimétricas */
    gap: 40px;
    margin-bottom: 50px;
}

/* Coluna 1: Marca */
.footer-logo {
    width: 160px;
    margin-bottom: 20px;
    /* Se logo for escura: filter: brightness(0) invert(1); */
}

.brand-col p {
    line-height: 1.6;
    color: #cbd5e1; /* Cinza azulado claro */
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px; height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: 0.3s;
    font-size: 1.1rem;
    text-decoration: none;
}

.social-links a:hover {
    background-color: #FFE103;
    color: #0a1240;
    transform: translateY(-3px);
}

/* Títulos das Colunas */
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

/* Linha amarela embaixo do título */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 3px;
    background-color: #FFE103;
}

/* Coluna 2: Links */
.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col ul li { margin-bottom: 12px; }

.links-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.links-col ul li a:hover {
    color: #FFE103;
    padding-left: 5px; /* Efeito de movimento */
}

/* Coluna 3: Botões de Ação (Destaque do 2º Footer) */
.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-outline-footer {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

.btn-outline-footer:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.05);
}

.btn-filled-footer {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background-color: #FFE103;
    color: #0a1240;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 700;
}

.btn-filled-footer:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

/* Coluna 4: Informações Legais */
.cnpj-text {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.accreditation-box {
    background-color: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.accreditation-box span {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.partner-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.mec-link {
    color: #FFE103;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}
.mec-link:hover { text-decoration: underline; }


/* --- BASE DO FOOTER --- */
.footer-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #888;
}

.security-badges {
    display: flex;
    gap: 15px;
}

.badge-item {
    background-color: #fff;
    color: #333;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}

.badge-item.reclame-aqui {
    background-color: #A4C639; /* Verde do ReclameAqui */
    color: #fff;
}


.developer-credit a { color: #fff;
text-decoration: none; }

/* Responsivo */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Tudo em uma coluna */
        gap: 40px;
        text-align: center;
    }
    
    .social-links { justify-content: center; }
    
    .footer-col h4::after {
        left: 50%; transform: translateX(-50%); /* Centraliza linha amarela */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}/* ==========================================================================
   PÁGINA DE CATÁLOGO COMPLETO (FINAL - 4 COLUNAS & ESPAÇAMENTO CORRIGIDO)
   ========================================================================== */

/* --- 1. ESTRUTURA GERAL & HERO --- */
.catalog-page-wrapper {
    background-color: #f8f9fc;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.catalog-hero-premium {
    position: relative;
    background: url('../img/background.png'); /* Verifique o caminho da imagem */
    background-size: cover;
    background-position: center top;
    padding: 160px 0 80px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.catalog-hero-premium .hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10, 18, 64, 0.92) 0%, #131F7D 100%);
    z-index: 0;
}

.catalog-hero-premium .relative-z { position: relative; z-index: 2; }

.hero-tag {
    display: inline-block;
    background: rgba(255, 225, 3, 0.15);
    color: #FFE103;
    border: 1px solid #FFE103;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.catalog-hero-premium h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff 0%, #FFE103 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.catalog-hero-premium p {
    font-size: 1.2rem;
    color: #e0e6ed;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}


/* --- 2. CONTAINER LIMITADOR (CORREÇÃO DAS BORDAS COLADAS) --- */
.container-limit {
    /* Aumentei a largura máxima para caber 4 cards confortavelmente */
    max-width: 1440px; 
    width: 100%;
    margin: 0 auto;
    /* Isso garante que sempre tenha espaço nas laterais, não importa o tamanho da tela */
    padding: 0 40px; 
    box-sizing: border-box;
}


/* --- 3. BARRA DE NAVEGAÇÃO --- */
.catalog-static-nav {
    position: relative;
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.nav-scroller {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.nav-pill {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    color: #64748b;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    background: #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
}

.nav-pill:hover { background: #e2e8f0; color: #131F7D; transform: translateY(-2px); }
.nav-pill.active { background: #131F7D; color: #fff; box-shadow: 0 4px 12px rgba(19, 31, 125, 0.25); transform: scale(1.05); }
.nav-pill i { color: #94a3b8; transition: 0.3s; }
.nav-pill.active i, .nav-pill:hover i { color: #FFE103; }


/* --- 4. ÁREA DE CONTEÚDO --- */
.catalog-body-bg {
    padding-top: 50px;
    padding-bottom: 100px;
}

.filter-section {
    display: none;
    animation: slideUpFade 0.5s ease forwards;
    width: 100%;
}
.filter-section.show { display: block; }

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HEADER DA SEÇÃO */
.section-title-row {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.title-group h2 {
    font-size: 1.8rem; color: #131F7D; font-weight: 800; display: flex; align-items: center; gap: 12px; margin: 0;
}
.line-detail { width: 50px; height: 5px; background: #FFE103; margin-top: 8px; border-radius: 10px; }

/* CAMPO DE BUSCA */
.course-search-box { position: relative; min-width: 300px; }
.course-search-box input {
    width: 100%; padding: 12px 45px 12px 20px; border-radius: 50px; border: 1px solid #e2e8f0;
    background: #fff; font-family: 'Poppins', sans-serif; font-size: 0.95rem; outline: none; transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.course-search-box input:focus { border-color: #131F7D; box-shadow: 0 0 0 3px rgba(19, 31, 125, 0.1); }
.course-search-box i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #131F7D; pointer-events: none; }


/* --- 5. GRID UNIFICADO (4 CARDS POR LINHA) --- */
.catalog-grid-premium {
    display: grid;
    gap: 30px;
    width: 100%;
    /* DESKTOP GRANDE: Força 4 colunas */
    grid-template-columns: repeat(4, 1fr); 
}


/* --- 6. DESIGN DO CARD --- */
.course-card-pro {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex; flex-direction: column;
    height: 100%; /* Garante que todos tenham a mesma altura na linha */
}

.course-card-pro:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: #131F7D; }

.card-badge {
    position: absolute; top: 15px; right: 15px; background: #eef2ff; color: #131F7D;
    font-size: 0.7rem; font-weight: 800; padding: 6px 12px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.5px; z-index: 2;
}
.card-badge.tecnologo { background: #e0f2f1; color: #00695c; }
.card-badge.dark { background: #f1f5f9; color: #334155; }
.card-badge.yellow { background: #fffbeb; color: #b45309; }
.course-card-pro.highlight { border: 2px solid #FFE103; background: #fffff0; }

.card-header-pro { padding: 30px 25px 10px 25px; }
.icon-holder {
    width: 55px; height: 55px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 20px;
}
.icon-holder.blue { background: #131F7D; color: #FFE103; }
.icon-holder.dark { background: #1e293b; color: #fff; }
.icon-holder.yellow { background: #FFE103; color: #131F7D; }

.card-header-pro h3 { font-size: 1.25rem; font-weight: 800; color: #1e293b; margin: 0; line-height: 1.3; }
.card-body-pro { padding: 10px 25px 25px 25px; flex-grow: 1; }
.card-body-pro p { font-size: 0.9rem; color: #64748b; margin-bottom: 20px; line-height: 1.5; }

.specs-list li { font-size: 0.85rem; color: #475569; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.specs-list li i { color: #131F7D; width: 16px; }

.card-footer-pro { padding: 20px 25px; background: #f8fafc; border-top: 1px solid #f1f5f9; }
.btn-whatsapp-full {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #25D366; color: #fff; font-weight: 700; text-decoration: none;
    padding: 12px; border-radius: 10px; transition: 0.3s; text-transform: uppercase; font-size: 0.85rem;
}
.btn-whatsapp-full:hover { background: #16a34a; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }


/* --- 7. CTA FINAL --- */
.final-conversion-cta {
    background: linear-gradient(135deg, #0f172a 0%, #131F7D 100%); padding: 80px 0; text-align: center;
    position: relative; overflow: hidden; margin-top: 50px;
}
.final-conversion-cta::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); z-index: 1; pointer-events: none;
}
.cta-box-glow { position: relative; z-index: 5; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.final-conversion-cta h2 { color: #fff; font-size: 2.8rem; font-weight: 900; margin-bottom: 15px; }
.final-conversion-cta p { color: #cbd5e1; font-size: 1.25rem; margin-bottom: 40px; }
.btn-cta-mega {
    display: inline-flex; align-items: center; justify-content: center; gap: 15px;
    background: #FFE103; color: #131F7D; padding: 20px 50px; border-radius: 50px;
    font-weight: 900; font-size: 1.2rem; text-decoration: none; animation: pulse-yellow 2s infinite; transition: 0.3s; text-transform: uppercase;
}
.btn-cta-mega:hover { background: #fff; transform: scale(1.05); }
.secure-tag { display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 20px; }
@keyframes pulse-yellow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 225, 3, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(255, 225, 3, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 225, 3, 0); }
}


/* ==========================================================================
   RESPONSIVIDADE (ESTRUTURA FINA E CORRIGIDA)
   ========================================================================== */

/* 1. NOTEBOOK (1200px até 1440px) */
/* Mantemos 3 colunas para não ficar muito apertado, mas com bom espaçamento */
@media (max-width: 1300px) {
    .container-limit { padding: 0 30px; }
    .catalog-grid-premium { 
        grid-template-columns: repeat(3, 1fr); /* Reduz para 3 colunas */
        gap: 25px;
    }
    .catalog-hero-premium h1 { font-size: 2.5rem; }
}

/* 2. TABLET E IPAD (769px até 1199px) */
/* 2 colunas para leitura confortável */
@media (max-width: 992px) {
    .catalog-grid-premium {
        grid-template-columns: repeat(2, 1fr); /* 2 Colunas */
    }
    .catalog-hero-premium h1 { font-size: 2.2rem; }
}

/* 3. MOBILE (Abaixo de 768px) */
/* 1 Coluna e Menu Empilhado */
@media (max-width: 768px) {
    
    .catalog-hero-premium { padding: 120px 0 50px 0; }
    .catalog-hero-premium h1 { font-size: 2rem; padding: 0 10px; }
    .hero-tag { font-size: 0.7rem; }
    
    .container-limit { padding: 0 20px; } /* Menos padding lateral no mobile */

    /* MENU EMPILHADO (VERTICAL) */
    .nav-scroller { flex-direction: column; gap: 10px; }
    .nav-pill { width: 100%; justify-content: center; padding: 15px; border-radius: 12px; }
    
    /* GRID 1 COLUNA */
    .catalog-grid-premium { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    /* Ajuste Header Seção */
    .section-title-row { flex-direction: column; align-items: flex-start; gap: 15px; }
    .course-search-box { width: 100%; }
    
    /* CTA */
    .final-conversion-cta h2 { font-size: 1.8rem; }
    .btn-cta-mega { width: 90%; justify-content: center; padding: 15px; font-size: 1rem; }
    .catalog-hero-premium p { font-size: 1.0rem; max-width: 600px; margin: 0 auto; line-height: 1.5; }
}