
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #F4F4F2;
    color: #2A140D;
}



.hero {
    height: 90vh;
    background-image:
        linear-gradient(
            rgba(42, 20, 13, 0.70),
            rgba(42, 20, 13, 0.55)
        ),
        url("img/logo-fundo.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.overlay h1 {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 3px;
    color: white;
}

.overlay p {
    margin-top: 20px;
    font-size: 22px;
    color: #F4F4F2;
    font-weight: 300;
}



.grid-categorias {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 50px;
}


.card {
    height: 430px;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    cursor: pointer;

    transition: all 0.6s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(42, 20, 13, 0.85),
        rgba(42, 20, 13, 0.15)
    );
    z-index: 1;
}

.card:hover {
    transform: scale(1.03);
    background-size: 115%;
}

.content {
    position: relative;
    z-index: 2;
    padding: 35px;
    width: 100%;
}

.content h2 {
    font-size: 34px;
    color: white;
    margin-bottom: 18px;
    transition: 0.4s;
}

.card:hover .content h2 {
    transform: translateY(-8px);
}



.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    color: white;
    text-decoration: none;

    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;

    transition: all 0.4s ease;
}

.card:hover .btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.btn:hover {
    background: #8B1E1E;
    border-color: #8B1E1E;
}


footer {
    background: #2A140D;
    color: white;
    text-align: center;
    padding: 70px 20px;
}

footer h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.social a {
    display: inline-block;
    margin: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.social a:hover {
    color: #B58A5A;
}

.social i {
    margin-right: 8px;
}



.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;
    color: white;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}



.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}


.menu-catalogo {
    background: white;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.menu-catalogo a {
    margin: 0 14px;
    text-decoration: none;
    color: #2A140D;
    font-weight: bold;
    transition: 0.3s;
}

.menu-catalogo a:hover {
    color: #8B1E1E;
}



@media (max-width: 900px) {
    .grid-categorias {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .overlay h1 {
        font-size: 42px;
    }

    .overlay p {
        font-size: 18px;
    }

    .content h2 {
        font-size: 28px;
    }
}