* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth;
}

header {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color: #007bff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(23, 38, 74, 0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=1000') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.btn {
    background: #0903c1;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

#servicos {
    padding: 80px 5%;
    text-align: center;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(1, 7, 97, 0.644);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

#contato {
    background: #e9ecef;
    padding: 80px 5%;
    text-align: center;
}

#contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
}

input, textarea {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;

    /* Estilo para a imagem dentro do card */
.service-icon {
    width: 60px; /* Tamanho da imagem */
    height: 60px;
    margin-bottom: 20px;
    /* ESSA LINHA É A CHAVE: Ela diz ao navegador para animar qualquer mudança */
    transition: transform 0.3s ease-in-out;
}

/* O QUE ACONTECE QUANDO PASSA O MOUSE NO CARD */
.card:hover .service-icon {
    /* Faz a imagem subir 10px e girar 5 graus */
    transform: translateY(-10px) rotate(5deg);
}
}