/* Efeitos Hover Harmoniosos para Cards */
.service_sec .col_item .item_div {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    min-height: 280px;
    max-height: 320px;
    box-sizing: border-box;
    gap: 0.5rem;
}

/* Efeito de elevação suave no hover */
.service_sec .col_item .item_div:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Estilo dos títulos com ícones */
.service_sec .col_item .item_div h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

/* Animação do ícone no hover */
.service_sec .col_item .item_div h3 i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    font-size: 2.25rem;
    margin: 0;
    line-height: 1;
}

.service_sec .col_item .item_div:hover h3 i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Cores específicas para cada ícone - Paleta única e diversificada */
.service_sec .col_item .item_div:nth-child(1) h3 i {
    color: #ff6b35 !important; /* Laranja vibrante - Robô */
}

.service_sec .col_item .item_div:nth-child(2) h3 i {
    color: #8b5cf6 !important; /* Roxo moderno - Web 3 */
}

.service_sec .col_item .item_div:nth-child(3) h3 i {
    color: #06b6d4 !important; /* Ciano tecnológico - Programação */
}

.service_sec .col_item .item_div:nth-child(4) h3 i {
    color: #10b981 !important; /* Verde esmeralda - English for Future */
}

.service_sec .col_item .item_div:nth-child(5) h3 i {
    color: #f59e0b !important; /* Âmbar dourado - Engenharia de Prompt */
}

.service_sec .col_item .item_div:nth-child(6) h3 i {
    color: #fbbf24 !important; /* Amarelo brilhante - Empreendedorismo */
}

.service_sec .col_item .item_div:nth-child(7) h3 i {
    color: #059669 !important; /* Verde floresta - Educação Financeira */
}

.service_sec .col_item .item_div:nth-child(8) h3 i {
    color: #ec4899 !important; /* Rosa vibrante - Inteligência Emocional */
}

.service_sec .col_item .item_div:nth-child(9) h3 i {
    color: #dc2626 !important; /* Vermelho intenso - Marketing Digital */
}

.service_sec .col_item .item_div:nth-child(10) h3 i {
    color: #7c3aed !important; /* Roxo profundo - Cripto & Blockchain */
}

/* Quebras harmônicas para títulos longos */
.service_sec .col_item .item_div h3 {
    text-align: center;
    white-space: normal;
    word-spacing: 0.1em;
}

/* Títulos específicos com quebras controladas */
.service_sec .col_item .item_div:nth-child(1) h3 {
    /* Desenvolvimento de Automações */
    line-height: 1.3;
}

.service_sec .col_item .item_div:nth-child(5) h3 {
    /* Engenharia de Prompt */
    line-height: 1.3;
}

.service_sec .col_item .item_div:nth-child(6) h3 {
    /* Empreendedorismo e Inovação */
    line-height: 1.3;
}

.service_sec .col_item .item_div:nth-child(7) h3 {
    /* Educação Financeira */
    line-height: 1.3;
}

.service_sec .col_item .item_div:nth-child(8) h3 {
    /* Inteligência Emocional */
    line-height: 1.3;
}

.service_sec .col_item .item_div:nth-child(9) h3 {
    /* Marketing Digital */
    line-height: 1.3;
}

.service_sec .col_item .item_div:nth-child(10) h3 {
    /* Cripto & Blockchain */
    line-height: 1.3;
}

/* Efeito de brilho sutil no fundo */
.service_sec .col_item .item_div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
    box-sizing: border-box;
}

.service_sec .col_item .item_div:hover::before {
    opacity: 1;
}

/* Animação suave do texto */
.service_sec .col_item .item_div h3 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.service_sec .col_item .item_div .img_content p {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.95rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.service_sec .col_item .item_div:hover .img_content p {
    transform: translateY(-2px);
    color: #ffffff;
}

/* Efeito de escala suave na imagem */
.service_sec .col_item .item_div .img_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex: 1;
    box-sizing: border-box;
    gap: 0.125rem;
}

/* Ajustar zoom das imagens de fundo para melhor qualidade */
.service_sec .col_item .item_div .img_content figure {
    background-size: 100% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.service_sec .col_item .item_div .img_content figure {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service_sec .col_item .item_div:hover .img_content figure {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.02);
}

/* Animação de pulsação suave para o ícone */
@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.service_sec .col_item .item_div:hover h3 i {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Efeito de respiração para o card inteiro */
@keyframes cardBreathe {
    0%, 100% { 
        transform: translateY(-8px) scale(1); 
    }
    50% { 
        transform: translateY(-12px) scale(1.02); 
    }
}

.service_sec .col_item .item_div:hover {
    animation: cardBreathe 3s ease-in-out infinite;
}

/* Responsividade - reduzir efeitos em telas menores */
@media (max-width: 768px) {
    .service_sec .col_item .item_div {
        padding: 1.5rem 1.25rem;
        min-height: 260px;
        max-height: 290px;
        gap: 0.375rem;
    }
    
    .service_sec .col_item .item_div h3 {
        gap: 0.2rem;
        line-height: 1.2;
        word-spacing: 0.05em;
    }
    
    .service_sec .col_item .item_div h3 i {
        font-size: 2rem;
    }
    
    .service_sec .col_item .item_div .img_content {
        gap: 0.1rem;
    }
    
    .service_sec .col_item .item_div .img_content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .service_sec .col_item .item_div:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .service_sec .col_item .item_div:hover h3 i {
        transform: scale(1.05) rotate(2deg);
    }
    
    .service_sec .col_item .item_div:hover .img_content figure {
        transform: scale(1.01);
    }
}

/* Padding para telas muito pequenas */
@media (max-width: 480px) {
    .service_sec .col_item .item_div {
        padding: 1.25rem 1rem;
        min-height: 240px;
        max-height: 270px;
        gap: 0.25rem;
    }
    
    .service_sec .col_item .item_div h3 {
        gap: 0.15rem;
        line-height: 1.1;
        word-spacing: 0.02em;
    }
    
    .service_sec .col_item .item_div h3 i {
        font-size: 1.75rem;
    }
    
    .service_sec .col_item .item_div .img_content {
        gap: 0.075rem;
    }
    
    .service_sec .col_item .item_div .img_content p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Adicionar ícone de seta sólida para a direita */
.icon-r_arrow::before {
    content: "\f061"; /* Font Awesome arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* Solid weight */
    font-size: 0.875rem;
}

/* Alterar cor e fonte da palavra GLOBAL na seção home_sec */
.home_sec .typed {
    color: #feb913 !important;
    font-family: "Orbitron", monospace !important;
    font-weight: 600 !important; /* semibold */
    font-style: normal !important;
}

/* Trocar ícone de X por seta para a direita nos botões de fechar */
.cls-btn span::before,
.cls-btn span::after {
    content: "\f00d"; /* Font Awesome xmark */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.5rem;
    background: none;
    width: auto;
    height: auto;
    transform: none;
    top: 50%;
    left: 50%;
    position: absolute;
    margin: 0;
}

.cls-btn span::before {
    display: none; /* Esconder o segundo ícone */
}

.cls-btn span::after {
    transform: translate(-50%, -50%);
}

/* Trocar ícone nos círculos laranja por seta para a direita */
.scroll_button span::before {
    content: "\f061"; /* Font Awesome arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.25rem;
}

.service_sec .col_item .item_div .img_content figure a::before {
    content: "\f061"; /* Font Awesome arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9375rem;
}

.protfolio_sec .col_item .item_div figure .go_to_website::before {
    content: "\f061"; /* Font Awesome arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9375rem;
}

.protfolio_sec .col_item .item_div figure a::before {
    content: "\f061"; /* Font Awesome arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9375rem;
}

/* Efeito de delay escalonado para múltiplos cards */
.service_sec .col_item .item_div:nth-child(1) { 
    transition-delay: 0ms; 
}
.service_sec .col_item .item_div:nth-child(2) { 
    transition-delay: 50ms; 
}
.service_sec .col_item .item_div:nth-child(3) { 
    transition-delay: 100ms; 
}
.service_sec .col_item .item_div:nth-child(4) { 
    transition-delay: 150ms; 
}
.service_sec .col_item .item_div:nth-child(5) { 
    transition-delay: 200ms; 
}
.service_sec .col_item .item_div:nth-child(6) { 
    transition-delay: 250ms; 
}
.service_sec .col_item .item_div:nth-child(7) { 
    transition-delay: 300ms; 
}
.service_sec .col_item .item_div:nth-child(8) { 
    transition-delay: 350ms; 
}
.service_sec .col_item .item_div:nth-child(9) { 
    transition-delay: 400ms; 
}
.service_sec .col_item .item_div:nth-child(10) { 
    transition-delay: 450ms; 
}

/* Melhorar acessibilidade - reduzir animações para usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .service_sec .col_item .item_div,
    .service_sec .col_item .item_div h3 i,
    .service_sec .col_item .item_div .img_content figure,
    .service_sec .col_item .item_div .img_content p {
        transition: none;
        animation: none;
    }
    
    .service_sec .col_item .item_div:hover {
        transform: none;
        animation: none;
    }
    
    .service_sec .col_item .item_div:hover h3 i {
        transform: none;
        animation: none;
    }
}
