@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ========================================
   HERO PREMIUM - NEXT LEVEL
   ======================================== */
.nexus-hero-premium {
    position: relative;
    min-height: 100vh!important;
    display: flex;
    align-items: center;
    overflow: hidden;
/*     background: #0a0c10;
 */    font-family: 'Inter', sans-serif;
}

/* Canvas Partículas */
#heroParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Gradiente Animado */
.premium-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 40%, #0a1920 0%, #030608 100%);
    z-index: 0;
}

.premium-gradient-bg::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle, rgba(2, 145, 100, 0.15) 0%, transparent 50%);
    animation: rotateGradient 25s ease-in-out infinite; 
}

@keyframes rotateGradient {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(5%, 5%) scale(1.2); opacity: 0.8; }
}

/* Textura Noise */
.premium-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 2;
}

.premium-container {
    position: relative;
    z-index: 10;
    max-width: 1500px;
    
    padding: 0 4%;
}

.premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .premium-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}

/* ========== BADGE PREMIUM ========== */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    margin-bottom:25px;
    position: relative;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #029164;
    background: rgba(2, 145, 100, 0.12);
    padding: 8px 20px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(2, 145, 100, 0.2);
    font-family: 'Space Grotesk', monospace;
    margin-left:3px;
    text-align: center;
    font-weight: bold;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #029164;
    border-radius: 50%;
    position: absolute;
    left:12px
}

.badge-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #029164;
    border-radius: 50%;
    animation: pulseRing 1.5s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* ========== TÍTULO PREMIUM ========== */
.premium-title {
    margin-bottom: 32px;
    line-height: 1.1;
}

.title-line {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Space Grotesk', sans-serif;
    text-wrap: nowrap;
}

.title-gradient {
    display: block;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #029164 0%, #B88B2C 50%, #F5A623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin: 8px 0;
}

.title-highlight {
    display: inline-block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #FFFFFF;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #B88B2C, transparent);
}

@media (max-width: 992px) {
    .title-highlight::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========== DESCRIÇÃO ========== */
.premium-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin-bottom: 40px;
    font-weight: 400;
}

@media (max-width: 992px) {
    .premium-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========== BOTÕES PREMIUM ========== */
.premium-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .premium-buttons {
        justify-content: center;
    }
}

.btn-premium-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #029164, #017a51);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-premium-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-premium-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(2, 145, 100, 0.4);
}

.btn-premium-primary:hover::before {
    left: 100%;
}

.btn-premium-primary i {
    transition: transform 0.3s ease;
}

.btn-premium-primary:hover i {
    transform: translateX(5px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn-premium-primary:hover .btn-glow {
    opacity: 1;
}

.btn-premium-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: #B88B2C;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    border: 1.5px solid rgba(184, 139, 44, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Space Grotesk', sans-serif;
}

.btn-premium-secondary:hover {
    border-color: #B88B2C;
    background: rgba(184, 139, 44, 0.1);
    transform: translateY(-3px);
    gap: 15px;
}

/* ========== STATS PREMIUM ========== */



.premium-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .premium-statsss {
        justify-content: center;
    }
}

.stat-premium {
    text-align: left;
}

@media (max-width: 992px) {
    .stat-premium {
        text-align: center;
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #B88B2C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', monospace;
}

.stat-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #029164;
    font-family: 'Space Grotesk', monospace;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* ========== VISUAL 3D FLUTUANTE ========== */
.premium-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: relative;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.premium-logo-3d {
    max-width: 100%;
    width: 450px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(2, 145, 100, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #B88B2C;
    font-size: 1.5rem;
}

.floating-element i {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.elem-1 {
    top: 10%;
    right: 0;
    animation: floatElem1 8s ease-in-out infinite;
}

.elem-2 {
    bottom: 20%;
    left: -20px;
    animation: floatElem2 7s ease-in-out infinite;
}

.elem-3 {
    top: 50%;
    right: -30px;
    animation: floatElem3 9s ease-in-out infinite;
}

@keyframes floatElem1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -15px) rotate(10deg); }
}

@keyframes floatElem2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, 15px) rotate(-10deg); }
}

@keyframes floatElem3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, 10px) rotate(15deg); }
}

/* ========== SCROLL INDICATOR ========== */
.premium-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 20;
}

.premium-scroll span {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Space Grotesk', monospace;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, #029164, transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% { height: 0; opacity: 0; }
    50% { height: 40px; opacity: 1; }
    100% { height: 0; opacity: 0; }
}

/* Responsivo */
@media (max-width: 768px) {
    .floating-element {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .elem-1 { top: 0; right: -10px; }
    .elem-2 { bottom: 10%; left: -10px; }
    .elem-3 { top: 60%; right: -15px; }
    
    .premium-logo-3d {
        width: 280px;
    }
}


/*==========================================
 AJUSTANDO CANVAS
================================= */

/* ========================================
   ESTRELAS PISCANDO - VERSÃO LEVE
   ======================================== */
.stars-twinkling {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 4s ease-in-out infinite;
}

/* Posições e delays aleatórios */
.star:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; width: 2px; height: 2px; }
.star:nth-child(2) { top: 25%; left: 85%; animation-delay: 1.2s; width: 1.5px; height: 1.5px; }
.star:nth-child(3) { top: 45%; left: 20%; animation-delay: 2.5s; width: 2px; height: 2px; }
.star:nth-child(4) { top: 60%; left: 70%; animation-delay: 0.8s; width: 1px; height: 1px; }
.star:nth-child(5) { top: 75%; left: 40%; animation-delay: 3.1s; width: 2.5px; height: 2.5px; }
.star:nth-child(6) { top: 35%; left: 55%; animation-delay: 1.8s; width: 1.5px; height: 1.5px; }
.star:nth-child(7) { top: 85%; left: 15%; animation-delay: 4.2s; width: 2px; height: 2px; }
.star:nth-child(8) { top: 10%; left: 45%; animation-delay: 0.5s; width: 1px; height: 1px; }
.star:nth-child(9) { top: 50%; left: 90%; animation-delay: 3.5s; width: 2px; height: 2px; }
.star:nth-child(10) { top: 70%; left: 60%; animation-delay: 2.2s; width: 1.5px; height: 1.5px; }
.star:nth-child(11) { top: 30%; left: 30%; animation-delay: 1.5s; width: 1px; height: 1px; }
.star:nth-child(12) { top: 90%; left: 80%; animation-delay: 3.8s; width: 2px; height: 2px; }
.star:nth-child(13) { top: 55%; left: 12%; animation-delay: 0.3s; width: 1.5px; height: 1.5px; }
.star:nth-child(14) { top: 20%; left: 68%; animation-delay: 2.9s; width: 2px; height: 2px; }
.star:nth-child(15) { top: 80%; left: 95%; animation-delay: 1.1s; width: 1px; height: 1px; }

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: 0.6;
    }
    20% {
        opacity: 0.2;
    }
    30% {
        opacity: 0.8;
    }
    40% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    60% {
        opacity: 0.4;
    }
    70% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.5;
    }
}










/* ========================================
   EIXOS DE ACTUAÇÃO - GRID MOBILE FIRST
   FUNDO BRANCO - UI MODERNA
   ======================================== */

/* Mobile First - Começa com 2 colunas */
.eixos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas no mobile */
    gap: 12px;
    margin: 28px 0 24px 0;
}

/* Card Individual - Design Moderno */
.eixo-card {
    display: flex;
    flex-direction: column; /* Vertical no mobile para economizar espaço */
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 12px;
    background: #FFFFFF;
    border: 1px solid #E8EDE9;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Efeito hover suave */
.eixo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2, 145, 100, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Ícone - Destaque visual */
.eixo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(2, 145, 100, 0.1) 0%, rgba(184, 139, 44, 0.08) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.eixo-icon i {
    font-size: 22px;
    color: #029164;
    transition: all 0.3s ease;
}

.eixo-card:hover .eixo-icon {
    background: linear-gradient(135deg, #029164 0%, #B88B2C 100%);
}

.eixo-card:hover .eixo-icon i {
    color: #FFFFFF;
    transform: scale(1.05);
}

/* Conteúdo textual */
.eixo-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1e2f32;
    margin-bottom: 4px;
    line-height: 1.3;
}

.eixo-content p {
    font-size: 11px;
    color: #7a8b8f;
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   TABLET (mantém 2 colunas, mais espaçoso)
   ======================================== */
@media (min-width: 576px) {
    .eixos-grid {
        gap: 16px;
    }
    
    .eixo-card {
        padding: 20px 16px;
        gap: 12px;
    }
    
    .eixo-icon {
        width: 54px;
        height: 54px;
    }
    
    .eixo-icon i {
        font-size: 24px;
    }
    
    .eixo-content h3 {
        font-size: 15px;
    }
    
    .eixo-content p {
        font-size: 12px;
    }
}

/* ========================================
   DESKTOP (3 colunas)
   ======================================== */
@media (min-width: 992px) {
    .eixos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .eixo-card {
        padding: 24px 20px;
        gap: 14px;
    }
    
    .eixo-icon {
        width: 64px;
        height: 64px;
        border-radius: 20px;
    }
    
    .eixo-icon i {
        font-size: 28px;
    }
    
    .eixo-content h3 {
        font-size: 16px;
    }
    
    .eixo-content p {
        font-size: 12px;
    }
    
    .eixo-card:hover {
        transform: translateY(-6px);
    }
}

/* ========================================
   BOTÕES MODERNOS
   ======================================== */
.about-us-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-primary-nexus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #1e2f32;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.btn-primary-nexus:hover {
    background: #029164;
    gap: 14px;
    transform: translateY(-2px);
}

.btn-outline-nexus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: transparent;
    color: #B88B2C;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 40px;
    border: 1px solid #E8DCC8;
    transition: all 0.3s ease;
}

.btn-outline-nexus:hover {
    border-color: #B88B2C;
    background: rgba(184, 139, 44, 0.05);
    gap: 12px;
    transform: translateY(-2px);
}

/* Título com gradiente */
.gradient-text {
    background: linear-gradient(90deg, #029164 0%, #B88B2C 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}






/* Ajustes para os cards dos 3 pilares */
.program-item-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #b3f9ca;
    margin-top: 12px;
    padding-top: 8px;
    font-weight: 400;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.program-item:hover .program-item-content p {
    color: #7ec7da;
}

.section-footer-text i {
    margin-right: 8px;
    color: #029164;
}

.section-footer-text ul li i {
    font-size: 18px;
    margin-right: 0;
}

/* Ícone no lugar da estrela */
.section-footer-text ul li:first-child span {
    font-weight: 800;
    color: #B88B2C;
}





/* Botões hero - mobile first (sempre horizontal) */
.premium-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.premium-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;  /* Mais pequeno */
    font-size: 0.85rem;   /* Texto menor */
}

/* Tablet e Desktop - ligeiramente maiores */
@media (min-width: 768px) {
    .premium-buttons {
        gap: 16px;
    }
    
    .premium-buttons a {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* Para mobile muito pequeno, reduz ainda mais o padding */
@media (max-width: 480px) {
    .premium-buttons {
        gap: 8px;
    }
    
    .premium-buttons a {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .premium-buttons a i {
        font-size: 0.7rem;
    }
}














/* ========================================
   BLOCO DE POSICIONAMENTO
   ======================================== */
.positioning-custom {
    padding: 60px 0;
    background: #FFFFFF;
}

.positioning-header {
    text-align: center;
    margin-bottom: 48px;
}

.positioning-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #029164;
    background: rgba(2, 145, 100, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.positioning-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #1e2f32;
    margin-bottom: 12px;
}

.positioning-header p {
    font-size: 1rem;
    color: #6a7e83;
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(90deg, #029164 0%, #B88B2C 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards */
.positioning-card {
    background: #FFFFFF;
    border: 1px solid #E8EDE9;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.positioning-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 145, 100, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.card-image {
    height: 160px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.positioning-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 16px 16px 20px;
}

.card-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #B88B2C;
    background: rgba(184, 139, 44, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e2f32;
    margin-bottom: 8px;
}

.card-content h3 a {
    color: #1e2f32;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-content h3 a:hover {
    color: #029164;
}

.card-content p {
    font-size: 0.8rem;
    color: #7a8b8f;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Desktop: Grid 4 colunas */
.desktop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Mobile: Esconder grid e mostrar swiper */
.positioning-slider-wrapper {
    display: none;
    margin-bottom: 40px;
}

/* Responsivo */
@media (max-width: 992px) {
    .desktop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .desktop-grid {
        display: none;
    }
    
    .positioning-slider-wrapper {
        display: block;
    }
    
    .positioning-slider-wrapper .swiper-slide {
        height: auto;
    }
    
    /* Pagination dots */
    .positioning-slider-wrapper .swiper-pagination {
        bottom: 0;
        margin-top: 20px;
        position: relative;
    }
    
    .positioning-slider-wrapper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #D4DFDB;
        opacity: 1;
    }
    
    .positioning-slider-wrapper .swiper-pagination-bullet-active {
        width: 28px;
        background: #029164;
        border-radius: 10px;
    }
}

/* Footer */
.positioning-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #F0F2F0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.positioning-footer p {
    font-size: 0.85rem;
    color: #6a7e83;
    margin: 0;
}

.positioning-footer p i {
    color: #029164;
    margin-right: 6px;
}

.positioning-footer p a {
    color: #B88B2C;
    text-decoration: none;
    font-weight: 600;
}

.footer-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-stats li {
    font-size: 0.8rem;
    color: #8b9a9e;
}

.footer-stats li:first-child {
    font-weight: 700;
    color: #1e2f32;
    font-size: 1rem;
}

.footer-stats li i {
    color: #B88B2C;
}













































   

















.badge-institutional {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 139, 44, 0.12);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #D4AF37;
    border-left: 2px solid #D4AF37;
}

.badge-institutional i {
    font-size: 12px;
}

/* Partner Tags */
#cafpiPartnerTags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.partner-tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

/* Title Styles */
.hero-main-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.title-highlight {
    color: #D4AF37;
    display: inline-block;
}

.hero-theme {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-left: 3px solid #D4AF37;
    padding-left: 15px;
    margin-bottom: 20px;
}

/* Description */
#cafpiHeroDesc {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

/* CTA Buttons */
#cafpiCtaGroup {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 40px;
}

.btn-primary-cafpi,
.btn-outline-cafpi,
.btn-outline-light-cafpi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary-cafpi {
    background: linear-gradient(135deg, #B88B2C, #D4AF37);
    color: #fff;
    border: none;
}

.btn-primary-cafpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 139, 44, 0.3);
    color: #fff;
}

.btn-outline-cafpi {
    background: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
}

.btn-outline-cafpi:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-outline-light-cafpi {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline-light-cafpi:hover {
    border-color: #D4AF37;
    color: #D4AF37;
    transform: translateY(-2px);
}

/* Stats Section */
#cafpiHeroStats {
    margin-top: 10px;
}

.hero-stats-wrapper {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 30px;
}

.stats-card-primary {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.stats-card-primary .stats-number {
    font-size: 42px;
    font-weight: 800;
    color: #D4AF37;
    line-height: 1;
}

.stats-card-primary .stats-number sup {
    font-size: 24px;
}

.stats-card-primary .stats-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-top: 8px;
}

.stats-card-primary .stats-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.stats-card {
    flex: 1;
    min-width: 90px;
    text-align: center;
    padding: 10px 5px;
}

.stats-card .stats-number {
    font-size: 28px;
    font-weight: 800;
    color: #D4AF37;
    line-height: 1;
}

.stats-card .stats-number sup {
    font-size: 16px;
}

.stats-card .stats-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Partners Banner */
#cafpiPartnersBanner {
    margin-top: 20px;
}

.partners-banner {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.partners-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    font-weight: 600;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partners-list span {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

/* ========================================
   TABLET & DESKTOP BREAKPOINTS
   ======================================== */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    #cafpiHero {
        padding: 80px 0 100px;
    }
    
    .badge-institutional {
        font-size: 12px;
        padding: 8px 20px;
    }
    
    .partner-tag {
        font-size: 12px;
        padding: 5px 16px;
    }
    
    .hero-main-title {
        font-size: 44px;
    }
    
    .hero-theme {
        font-size: 18px;
    }
    
    #cafpiHeroDesc {
        font-size: 16px;
        max-width: 80%;
    }
    
    #cafpiCtaGroup {
        flex-direction: row;
        gap: 15px;
    }
    
    .btn-primary-cafpi,
    .btn-outline-cafpi,
    .btn-outline-light-cafpi {
        width: auto;
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .hero-stats-wrapper {
        display: flex;
        align-items: center;
        gap: 30px;
        padding: 25px 30px;
    }
    
    .stats-card-primary {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 30px;
        margin-bottom: 0;
        padding-bottom: 0;
        text-align: left;
    }
    
    .stats-card-primary .stats-number {
        font-size: 48px;
    }
    
    .stats-grid {
        flex: 1;
        gap: 20px;
    }
    
    .stats-card {
        text-align: left;
        padding: 0;
    }
    
    .stats-card .stats-number {
        font-size: 32px;
    }
    
    .stats-card .stats-label {
        font-size: 12px;
    }
    
    .partners-list {
        gap: 35px;
    }
    
    .partners-list span {
        font-size: 13px;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    #cafpiHero {
        padding: 100px 0 120px;
    }
    
    .hero-main-title {
        font-size: 56px;
    }
    
    .hero-theme {
        font-size: 20px;
    }
    
    #cafpiHeroDesc {
        font-size: 18px;
        max-width: 70%;
    }
    
    .btn-primary-cafpi,
    .btn-outline-cafpi,
    .btn-outline-light-cafpi {
        padding: 14px 36px;
        font-size: 15px;
    }
    
    .stats-card-primary .stats-number {
        font-size: 56px;
    }
    
    .stats-card .stats-number {
        font-size: 38px;
    }
    
    .partners-list span {
        font-size: 14px;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .hero-main-title {
        font-size: 64px;
    }
    
    #cafpiHeroDesc {
        max-width: 60%;
    }
}


/* ========================================
   CAFPI SCROLLING TICKER - MOBILE FIRST
   ======================================== */

#cafpiTicker {
     overflow: hidden;
    position: relative;
    width: 100%;
  }

#cafpiTickerBox {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 12px 0;
}

.scrolling-content {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: scrollTicker 35s linear infinite;
    will-change: transform;
}

#cafpiTickerContent1 {
    animation: scrollTicker 35s linear infinite;
}

#cafpiTickerContent2 {
    animation: scrollTicker2 35s linear infinite;
}

.scrolling-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.scrolling-content span i {
    font-size: 14px;
}

/* Hover effect - pause animation */
#cafpiTicker:hover .scrolling-content {
    animation-play-state: paused;
}

.scrolling-content span:hover {
    transform: translateY(-1px);
}

 

/* Keyframe Animations */
@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollTicker2 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ========================================
   TABLET & DESKTOP STYLES
   ======================================== */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    #cafpiTickerBox {
        padding: 14px 0;
    }
    
    .scrolling-content {
        gap: 32px;
        animation: scrollTicker 30s linear infinite;
    }
    
    .scrolling-content span {
        font-size: 14px;
        gap: 10px;
    }
    
    .scrolling-content span i {
        font-size: 15px;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    #cafpiTickerBox {
        padding: 16px 0;
    }
    
    .scrolling-content {
        gap: 40px;
        animation: scrollTicker 25s linear infinite;
    }
    
    .scrolling-content span {
        font-size: 15px;
    }
    
    .scrolling-content span i {
        font-size: 16px;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .scrolling-content {
        gap: 48px;
        animation: scrollTicker 22s linear infinite;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .scrolling-content {
        animation: none;
        transform: translateX(0);
    }
    
    #cafpiTickerBox {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .scrolling-content {
        display: inline-flex;
    }
}