* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
}

.fundo {
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("images/bg-hero.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}


.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: #fff;
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #cfa14a;
    position: absolute;
    bottom: -5px;
    left: 0;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    /* ocupa a altura total do ecrã */
    background-image: url("images/fundo.png");
    background-size: cover;
    /* preenche todo o espaço */
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* CAMADA ESCURA SOBRE A IMAGEM */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* CONTEÚDO */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}


.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* BOTÃO */
/* BOTÃO */
.btn {
    background: #25D366;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* SECTIONS */
.section {
    padding: 70px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.section p {
    max-width: 800px;
    text-align: center;
    margin: auto;
}

.bg {
    background: #eaeaea;
}

/* SERVIÇOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* GALERIA */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.07);
}

/* FOOTER */
.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.whatsapp-fixo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fixo img {
    width: 70px;
    height: 70px;
}

/* HOVER SUAVE (SEM PISCAR) */
.whatsapp-fixo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: #111;
        flex-direction: column;
        width: 200px;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero {
        height: 100vh;
        background-position: center top;
        /* ajusta o foco da imagem */
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .zap {
        position: fixed;
        /* Fixa a imagem na tela */
        bottom: 20px;
        /* Distância da parte inferior da tela */
        right: 20px;
        /* Distância da parte direita da tela */
        width: 60px;
        /* Largura da imagem */
        height: auto;
        /* Mantém proporção */
        z-index: 1000;
        /* Fica acima de outros elementos */

    }

}

@media (max-width: 345px) {
    .zap {
        position: fixed;
        /* Fixa a imagem na tela */
        bottom: 20px;
        /* Distância da parte inferior da tela */
        right: 20px;
        /* Distância da parte direita da tela */
        width: 60px;
        /* Largura da imagem */
        height: auto;
        /* Mantém proporção */
        z-index: 1000;
        /* Fica acima de outros elementos */

    }
}