* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

body {
    color: #333;
}

section[id] {
    scroll-margin-top: 95px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    background: #fff;
    color: #333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
}

nav a {
    color: #333;
    margin-left: 20px;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #E41A28;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.48), rgba(0,0,0,0.48)),
    url('../images/background.png');
    background-size: cover;
    background-position: center 70%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
}

.hero p {
    margin-top: 12px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #E41A28;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.servicos {
    padding: 70px 0;
    background: #E41A28;
    text-align: center;
}

.servicos h2 {
    color: white;
    font-size: 34px;
    letter-spacing: 0.5px;
}

.servicos-intro {
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 14px auto 0;
    line-height: 1.6;
}

.servicos .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.servicos .card {
    background: white;
    padding: 28px 24px;
    border-radius: 14px;
    text-align: left;
    border-top: 4px solid #111;
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    scroll-margin-top: 110px;
}

.servicos .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 32px rgba(0,0,0,0.24);
}

.servicos:target .card:target,
.servicos .card:target {
    border-top-color: #E41A28;
    box-shadow: 0 0 0 3px rgba(228, 26, 40, 0.18), 0 18px 36px rgba(0,0,0,0.22);
    transform: translateY(-6px) scale(1.02);
    opacity: 1;
}

.servicos:target {
    scroll-margin-top: 95px;
}

.servicos .card h3 {
    color: #222;
    font-size: 20px;
    margin-bottom: 10px;
}

.servicos .card p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.sobre {
    padding: 70px 0;
    text-align: center;
}

.sobre p {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #444;
    text-align: justify;
}

.marca {
    color: #E41A28;
    font-weight: bold;
}

.contato {
    padding: 70px 0;
    background: #111;
    color: white;
    text-align: center;
}

.contato p {
    margin-top: 12px;
}

.contato a {
    color: #fff;
    text-decoration: underline;
}

.contato a:hover {
    color: #E41A28;
}

.whatsapp {
    background: #25D366;
}

.mapa iframe {
    width: 100%;
    height: 300px;
    border: none;
    margin-top: 30px;
    border-radius: 10px;
}

footer {
    background: black;
    color: #aaa;
    text-align: center;
    padding: 15px;
}

/* Responsivo */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .hero {
        padding: 130px 0;
    }

    nav {
        margin-top: 10px;
    }

    .servicos h2 {
        font-size: 30px;
    }

    .servicos .card {
        text-align: center;
        padding: 24px 20px;
    }
}