/* Reset Básico 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    padding: 20px;
}
*/


.ns-html-header {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.ns-html-header h1 {
    font-size: 2.5em;
    color: #1a237e; /* Azul mais escuro */
    margin-bottom: 10px;
}

.ns-html-header p {
    font-size: 1.1em;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ns-html-header p strong {
    color: #1a237e;
}


.ns-html-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Colunas responsivas */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}


.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Remover sublinhado padrão dos links se o card fosse um link direto */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


.card-image {
    width: 100%;       
    height: 100%;      
    object-fit: cover; 
    padding: 0;        
}

.card-image-wrapper {
    width: 100%;
    height: 180px;     
    overflow: hidden;  
}

.card-title {
    font-size: 1.5em;
    color: #1a237e;
    padding: 20px 25px 10px 25px;
    margin: 0;
}

.card-description {
    font-size: 0.95em;
    color: #555;
    padding: 0 25px 15px 25px;
    flex-grow: 1; /* Faz a descrição ocupar o espaço restante */
}

.card-link {
    display: block;
    padding: 15px 25px;
    color: #6200ea; /* Roxo vibrante */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    border-top: 1px solid #eee;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #4a00a0; /* Roxo mais escuro ao passar o mouse */
}


.ns-html-footer {
    max-width: 1200px;
    margin: 50px auto 20px auto;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.ns-html-footer hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px auto;
    width: 80%;
}

.ns-html-footer p {
    font-size: 1em;
    color: #555;
}

.ns-html-footer p strong {
    color: #1a237e;
}


@media (max-width: 768px) {
    .ns-html-header h1 {
        font-size: 2em;
    }

    .ns-html-header p {
        font-size: 1em;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
        padding: 15px;
    }

    .card-title {
        font-size: 1.3em;
        padding: 15px 20px 8px 20px;
    }

    .card-description {
        font-size: 0.9em;
        padding: 0 20px 10px 20px;
    }

    .card-link {
        padding: 12px 20px;
        font-size: 0.9em;
    }
}


@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .ns-html-header {
        padding: 15px;
    }

    .ns-html-header h1 {
        font-size: 1.8em;
    }

    .services-grid {
        gap: 15px;
    }
}