.parallax-wrapper {
    width: 70%;
    margin: 0 auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    margin-top: 225px;
}

.parallax-section {
    background-image: url('/images/IMG_SERVICOS_1200_563.png');
    min-height: 300px;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomInParallax 1.5s ease-out forwards;
    transform: scale(0.9);
    opacity: 0;
}

.parallax-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 400px;
    padding-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.parallax-section h2{
    /* font-size: 3rem; */
    background-color: rgba(216, 216, 216, 0.6); 
    color: rgb(41, 41, 41); 
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 5px;
    margin: 0 auto;
}

.parallax-section p{
    /* font-size: 24px; */
    background-color: rgba(216, 216, 216, 0.6); 
    color: rgb(41, 41, 41); 
    padding: 0.3em 0.8em;
    border-radius: 5px;
    margin: 0 auto;
}

.servicos-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Aqui está o grid aplicado SOMENTE aos cards */
.cards-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    justify-items: center;
    width: 100%;
    margin-top: 30px;
}

.descricaoServicos{
        text-align: center;
}

.listaDescricaoServicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center; /* ← centraliza os cards na célula da grid */
    width: 100%;
    margin-top: 20px;
}

.card-descricao {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-descricao:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

.card-descricao .icone {
    font-size: 42px;
    color: #007bff;
    margin-bottom: 12px;
}

.card-descricao p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* Mantém animação e estilo do card */
.card-servicos {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 24px 20px;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card-servicos:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(3, 31, 156, 0.35);
}

.card-servicos h4{
    font-size: 1rem;
}

@media (max-width: 600px) {
    .card-servicos {
        max-width: 100%;
    }
}

.card-servicos h3 {
    margin-top: 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    font-size: clamp(12px, 1.6vw, 18px); /* Tamanho flexível */
    color: #3f3f3f;
    white-space: nowrap;        /* Impede quebra de linha */
    overflow: hidden;           /* Esconde o que passar */
    text-overflow: ellipsis;    /* Adiciona "..." se for necessário */
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card-servicos h4::before {
    content: "✔️ ";
    margin-right: 6px;
    padding: 10px 0;
    font-weight: 600;
}

.card-servicos ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px;
}

.card-servicos li {
    margin-left: 20px;
    position: relative;
    padding-left: 18px;
}

.card-servicos li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: #2b8ef7;
}

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