/* =========================================
   CARDS DE SERVIÇOS (CORRIGIDO)
   ========================================= */

.servicos-container {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 100%;
    gap: 20px;
}

/* Definição única para evitar conflitos */
/* --- Card com transição otimizada --- */
.servicos-card {
    text-align: center;
    padding: 40px 15px;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 160, 91, 0.2);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Estado Inicial */
    opacity: 0;
    transform: scale(0.8);
    
    /* Transição base: foca na entrada (0.6s) */
    transition: opacity 0.6s ease-out, 
                transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Estado que o JS ativa */
.servicos-card.visible {
    opacity: 1;
    transform: scale(1);
}

/* Efeito Hover */
.servicos-card:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(217, 160, 91, 0.8);
}

/* Atrasos Progressivos (Cascata) */
.servicos-card:nth-child(1) { transition-delay: 0.1s; }
.servicos-card:nth-child(2) { transition-delay: 0.3s; }
.servicos-card:nth-child(3) { transition-delay: 0.5s; }
.servicos-card:nth-child(4) { transition-delay: 0.7s; }
.servicos-card:nth-child(5) { transition-delay: 0.9s; }
.servicos-card:nth-child(6) { transition-delay: 1.0s; }

/* ... (mantenha os estilos do .icon-wrapper e responsividade aqui) ... */
/* Efeito ao passar o mouse (Hover) */
/* --- Efeito Hover Rápido --- */
.servicos-card:hover {
    /* Sobrepõe a transição apenas para o hover, deixando mais rápido (0.3s) */
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    
    transform: translateY(-15px) scale(1.05);
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(217, 160, 91, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}
/* Círculos e Ícones */
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    border: 2px solid #d9a05b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: box-shadow 0.4s ease;
}

.servicos-card:hover .icon-wrapper {
    box-shadow: 0 0 15px rgba(217, 160, 91, 0.5); /* O círculo ganha um brilho ao passar o mouse */
}

/* Pequeno traço dourado abaixo do círculo */
.icon-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #d9a05b;
}

.icon-wrapper i {
    font-size: 30px;
    color: #d9a05b;
}

/* Textos */
.servicos-card h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.servicos-card p {
    color: #bbb;
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 300;
}

/* =========================================
   RESPONSIVIDADE: MOBILE (3 COLUNAS E 2 LINHAS)
   ========================================= */
@media (max-width: 768px) {
    .servicos-container {
        width: 95%; /* Aproveita mais a tela no celular */
        max-width: 95%;
    }

    .servicos-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colunas */
        gap: 15px; /* Espaço entre os cards reduzido para o mobile */
    }

    .servicos-card {
        padding: 20px 10px; /* Reduz o padding para caber os 3 na tela pequena */
        border-radius: 12px;
    }

    /* Ajustes de tamanho para caber no celular sem quebrar */
    .icon-wrapper {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
    }

    .icon-wrapper::after {
        bottom: -12px;
        height: 2px;
        width: 20px;
    }

    .icon-wrapper i {
        font-size: 20px;
    }

    .servicos-card h3 {
        font-size: 0.8rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .servicos-card p {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}


