body {
    font-family: 'Nunito Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f8; 
    color: #343a40; 
    line-height: 1.7;
    transition: background-color 0.3s ease;
}

header {
    background-color: #586f7c; 
    color: #ffffff; 
    padding: 3em 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid #dcdde1;
}

header:hover {
    background-color: #697d88;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 0.3em;
    color: #ffffff; 
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

header h1:hover {
    color: #a7b1ba; 
}

header p {
    font-size: 1.3em;
    color: #dcdde1; 
    transition: color 0.3s ease;
}

header p:hover {
    color: #ffffff; 
}

.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
}

#sobre {
    padding: 70px 30px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

#sobre:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.15);
}

#sobre .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

#sobre .foto {
    margin-right: 0;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#sobre .foto img {
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#sobre .foto img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#sobre .texto {
    flex: 1;
}

#sobre .texto h2 {
    font-size: 2.4em;
    color: #343a40;
    margin-bottom: 0.7em;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5em;
}

#servicos {
    padding: 70px 30px;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

#servicos h2 {
    color: #343a40;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 20px;
    font-size: 2.5em;
    font-weight: 600;
}

#servicos ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    font-family: 'Poppins', sans-serif;
}

#servicos li {
    padding: 25px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.1em;
    font-weight: 500;
    color: #495057;
    border: 1px solid #e0e0e0;
    line-height: 1.6;
}

#servicos li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.12);
}

#etapas-avaliacao {
    padding: 70px 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    margin-top: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #d1d1d1;
}

#etapas-avaliacao:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.12);
}

#etapas-avaliacao h2 {
    color: #343a40;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 20px;
    font-size: 2.5em;
    font-weight: 600;
}

#etapas-avaliacao .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

#etapas-avaliacao .etapa {
    padding: 25px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

#etapas-avaliacao .etapa:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.12);
}

#etapas-avaliacao h3 {
    color: #343a40;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

#etapas-avaliacao p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.6;
}

#contato {
    padding: 70px 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    margin-top: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #d1d1d1;
}

#contato:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.12);
}

#contato h2 {
    color: #343a40;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 20px;
    font-size: 2.5em;
    font-weight: 600;
}

#contato .contact-details {
    display: flex;
    flex-direction: column;
}

#contato .contact-details p {
    margin-bottom: 25px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1em;
    color: #6c757d;
}

#contato .contact-details p:hover {
    color: #2c3e50;
}

#contato i {
    color: #2c3e50;
    font-size: 1.3em;
}

footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 3em 0;
    margin-top: 70px;
}

a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #5dade2;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    header {
        padding: 2.5em 0;
    }

    header h1 {
        font-size: 2.3em;
    }

    header p {
        font-size: 1.1em;
    }

    #sobre .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    #sobre .foto {
        margin-bottom: 30px;
    }

    #sobre .foto img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    #sobre .texto h2 {
        font-size: 2.1em;
    }

    #servicos h2 {
        font-size: 2.2em;
    }

    #servicos ul {
        grid-template-columns: 1fr;
    }

    #servicos li {
        font-size: 1.1em;
    }

    #contato h2 {
        font-size: 2.2em;
    }

    #contato .contact-details p {
        font-size: 1em;
    }
}