﻿/* ===========================
   BASE
=========================== */

html, body {
    height: 100%;
    min-height: 100vh; /* garante altura mínima */
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('/Imagens/Fundo.png') center center / cover no-repeat;
    background-attachment: scroll; /* evita problemas no iOS com fixed */
}


    body.with-footer-space {
        padding-bottom: 200px;
    }


.home-intro {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.9;
}

    .home-intro h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .home-intro p {
        font-size: 1.4rem;
    }


/* ===========================
   TOP BAR (LOGO)
=========================== */

.top-bar {
    height: 95px;
    background: #ccc;
    display: flex;
    align-items: center;
    padding-left: 30px;
    z-index: 1000;
}

    .top-bar .logo img {
        width: 250px;
        height: auto;
    }

/* ===========================
   MENU
=========================== */

.top-nav-bar {
    display: flex;
    justify-content: center;
    background-color: lightslategray;
    padding: 10px 0;
    z-index: 900;   
    
}

.top-nav {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    transform: translateY(9px); /* ⬅️ desce o texto */
}

    .top-nav li a {
        color: white;
        font-size: 18px;
        font-weight: bold;
        text-decoration: none;
        padding: 6px 12px;
        transform: translateY(-5px); /* ⬅️ desce o texto */
    }

        .top-nav li a:hover {
            background-color: darkcyan;
        }

/* ===========================
   RODAPÉ (DOWN BAR)
=========================== */

.down-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: rgba(0, 255, 255, 0.7);
    display: flex;
    align-items: flex-start; /* Alinha itens verticalmente no topo */
    justify-content: flex-start; /* ⬅️ Alinha todos os itens à esquerda */
    padding: 20px 40px;
    gap: 40px; /* espaço entre logo e contact-info */
    z-index: 2000;
}

    .down-bar .logo img {
        width: 340px;
        height: auto;
    }


/* ===========================
   LOGO - AJUSTE VERTICAL
=========================== */

    .down-bar .logo {
        align-self: flex-start; /* alinha o logo ao topo da barra */
        margin-top: -45px; /* ⬅️ ajusta verticalmente para cima */
        margin: -45px; /* ⬅️ ajusta verticalmente para cima */
    }

/* ===========================
   CONTACTOS (EMAIL / WHATSAPP / LOCAL)
=========================== */

    .down-bar .contact-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        line-height: 1;
        align-items: flex-start; /* ⬅️ garante que tudo fica à esquerda */
        text-align: left;
    }

        .down-bar .contact-info a {
            color: black;
            text-decoration: none;
        }

            .down-bar .contact-info a:hover {
                color: darkslategrey;
                font-weight: bold; /* ⬅️ fica negrito ao passar o rato */
            }


/* ===========================
   WHATSAPP ICON
=========================== */
.whatsapp-link::before,
.whatsapp-link::after {
    content: none !important;
    display: none !important;
}

.contact-info .whatsapp-link {
    margin-top: 25px; /* ⬅️ ajusta verticalmente apenas o WhatsApp */
}

.whatsapp-link {
    display: inline-flex;
}

.whatsapp-icon {
    width: 100px;
    height: auto;
    margin-top: 0px; /* centraliza melhor com o texto */
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .whatsapp-icon:hover {
        transform: scale(1.25);
    }

/* ===========================
   LOCALIZAÇÃO
=========================== */

.contact-item.location {
    margin-top: 9px; /* ajuste se necessário */
}



/* ===========================
   SLIDER DE TEXTO
=========================== */

.text-slider {
    position: fixed;
    bottom: 125px;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    z-index: 2100;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.text-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-text 35s linear infinite;
}

    .text-track span {
        padding: 0 60px;
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
        pointer-events: auto;
    }

    .text-track:hover {
        animation-play-state: paused;
    }

@keyframes scroll-text {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ===========================
   SERVIÇOS
=========================== */

.Serviços-page {
    max-width: 900px;
    margin: 60px auto 120px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 🔥 centra imagem e texto */
    padding: 0 20px;
}

/* Imagem */
.Serviços-background img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin-bottom: 30px; /* espaço entre imagem e texto */
}

/* Texto */
.Serviços-text {
    color: white;
    max-width: 700px;
    text-align: left; /* texto legível */
    line-height: 1.6;
    font-size: 1.2rem;
}

/* ===========================
   LOJA / PRODUTOS
=========================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Imagem do produto */
.product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: rgba(0, 255, 255, 0);
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Preço */
.price {
    font-size: 1.3rem;
    color: lightgreen;
    font-weight: bold;
    margin: 0.5rem 0;
}

/* Descrição */
.desc {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

/* Botão comprar */
.btn-buy {
    background: darkcyan;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn-buy:hover {
        background: rgba(0, 255, 255, 0.7);
    }

/* ===== ZOOM AO CLICAR NA IMAGEM ===== */

.zoom-click {
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

    .zoom-click:hover {
        transform: scale(1.05);
    }

/* Modal fullscreen */
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

    /* Imagem ampliada */
    .image-modal img {
        max-width: 90vw;
        max-height: 90vh;
        border-radius: 12px;
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.7);
    }

/* ===========================
   MINIATURAS DE PRODUTO
=========================== */

.product-images {
    text-align: center;
}

.thumbs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}

.thumb {
    width: 93px;
    height: 93px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 99px;
    background: rgba(0,0,0,0.4);
    padding: 3px;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

    .thumb:hover {
        opacity: 1;
        transform: scale(1.15);
    }


/* ===========================
   CARRINHO / CART
=========================== */

.cart-icon {
    position: relative;
    font-size: 3rem;
    cursor: pointer;
}

.cart-link {
    position: relative;
    font-size: 2rem; /* tamanho normal do ícone do carrinho */
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

    .cart-link:hover {
        /*transform: scale(1.3);*/
    }

.cart-count {
    position: absolute;
    top: -9px;
    right: -7px;
    background-color: lightseagreen;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
}

/* Tabela do carrinho */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
    margin-top: 1rem;
}

    .cart-table th, .cart-table td {
        border: 1px solid #ccc;
        padding: 0.5rem;
        text-align: center;
    }

        .cart-table td:nth-child(2),
        .cart-table th:nth-child(2) {
            width: 150px;
        }

.cart-img {
    width: 140px !important;
    height: 140px !important;
    object-fit: contain;
    background-color: rgba(0, 0, 0, 0.5); /* preto semitransparente */
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 0 20px lightseagreen; /* brilho azul-esverdeado */
}
/* Deixa o texto do produto em negrito */
.product-card {
    font-weight: bold;
}

/* Se quiser apenas o preço e descrição */
.price, .desc {
    font-weight: bold;
}

.cart-table td img {
    max-width: none !important;
    max-height: none !important;
}

/* Botão remover produto */
.btn-remove {
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

    .btn-remove:hover {
        background: darkred;
    }


/* ===========================
   WHATSAPP FLUTUANTE
=========================== */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 170px; /* acima da down-bar */
    width: 90px;
    height: 60px;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Ícone */
    .whatsapp-float img {
        width: 120%;
        height: auto;
        border-radius: 0%;
        box-shadow: 0 0 15px rgba(0,0,0,0.4);
        transition: transform 0.2s ease;
    }

    .whatsapp-float:hover img {
        transform: scale(1.1);
    }

/* Balão de texto */
.whatsapp-tooltip {
    position: absolute;
    right: 65px;
    background: #25D366;
    color: white;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 20px;
    white-space: nowrap;
    opacity: 1;
    pointer-events: none;
    transform: translateY(-50px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
    .whatsapp-tooltip::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 129px;
        transform: translateX(-50%);
        border-width: 6px 6px 0 7px;
        border-style: solid;
        border-color: #25D366 transparent transparent transparent;
    }

/* ===== PROMO POPUP ===== */
.promo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-box {
    background: #111;
    color: white;
    max-width: 280px;
    padding: 10px;
    border-radius: 16px;
    text-align: center;
    position: relative;
   
}


    .promo-box img {
        width: 90%;
        border-radius: 12px;
        margin-bottom: 0px;
    }

    .promo-box h2 {
        margin: 10px 0;
    }

.promo-btn {
    display: inline-block;
    background: darkcyan;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
}

    .promo-btn:hover {
        background: cyan;
    }

.promo-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}



/* ===========================
   MOBILE – GERAL
=========================== */
@media (max-width: 768px) {

    html, body {
        height: 100%;
        min-height: 100vh;
        margin: 0;
        background: url('/Imagens/Fundo.png') center center / cover no-repeat;
        background-attachment: scroll; /* evita problemas no iOS */
    }

    .top-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar {
        height: 70px;
        background: #ccc;
        display: flex;
        align-items: center;
        padding-left: 0px;
        z-index: 1000;
    }

        .top-bar .logo img {
            width: 200px;
            height: auto;
        }

    .top-nav-bar {
        display: flex;
        justify-content: center;
        background-color: lightslategray;
        padding: 3px 0;
        z-index: 900;
    }

    .top-nav {
        list-style: none;
        display: flex;
        gap: 10px;
        margin: 0;
        padding: 0;
        transform: translateY(9px); /* ⬅️ desce o texto */
    }

        .top-nav li a {
            color: white;
            font-size: 16px;
            font-weight: bold;
            text-decoration: none;
            padding: 6px 12px;
            transform: translateY(-2px); /* ⬅️ desce o texto */
        }

            .top-nav li a:hover {
                background-color: darkcyan;
            }

    .down-bar {
        flex-direction: column;
        height: auto;
        padding: 10px;
        gap: 20px;
    }

        .down-bar .logo {
            align-self: flex-start; /* mantém alinhamento vertical no topo */
            margin-top: -15px; /* ajusta verticalmente */
            margin-left: -20px; /* move o logo mais para a direita */
            margin-bottom: -60px; /* evita conflito com a barra */
        }

            .down-bar .logo img {
                width: 120px; /* mantém tamanho menor para mobile */
            }

        .down-bar .contact-item {
            margin: -2px;
            font-size: 0.8rem;
            line-height: 1;
        }

            /* Email (link) */
            .down-bar .contact-item a {
                font-size: 0.8rem;
            }

        /* Ícone do WhatsApp */
        .down-bar .whatsapp-icon {
            margin-top: 5px;
            width: 0px;
            height: auto;
        }

    /* Espaçamento do WhatsApp */
    .contact-info .whatsapp-link {
        margin-top: 10px;
    }

    .contact-info {
        align-items: center;
        text-align: center;
    }

    .text-slider {
        bottom: 62px;
    }

    /* Texto do slider – menor no mobile */
    .text-track span {
        font-size: 0.85rem; /* 🔽 diminui o texto */
        padding: 0 30px; /* 🔽 menos espaço lateral */
    }

    .Serviços-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 60px;
    }

    .Serviços-background,
    .Serviços-text {
        font-size: 1.0rem !important;
        line-height: 1.3;
        color: white;
        font-family: "Segoe UI Semibold", AIGDT, Calibri;
       
    }

    .Serviços-background {
        width: 90%;
    }

    .home-intro {
        max-width: 500px;
        padding: 0 20px;
    }

        .home-intro h1 {
            margin-top: -20px;
            font-size: 1.4rem !important;
            line-height: 1.9;
        }

    .home-intro p {
        font-size: 1.0rem !important;
        line-height: 1.3;
        color: white;
        font-family: "Segoe UI Semibold", AIGDT, Calibri;
        
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 2fr));
        padding: 1rem;
        gap: 1.0rem;
    }

    .product-image {
        height: 180px;
    }

    .whatsapp-float {
        right: 15px; /* ⬅️ mais para a direita */
        bottom: 85px; /* ⬇️ mais para baixo */
        width: 60px;
        height: 65px;
    }

    .whatsapp-tooltip {
        position: absolute;
        right: 40px;
        background: #25D366;
        color: white;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 14px;
        white-space: nowrap;
        opacity: 1;
        pointer-events: none;
        transform: translateY(-33px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

        .whatsapp-tooltip::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 95px;
            transform: translateX(-50%);
            border-width: 6px 6px 0 7px;
            border-style: solid;
            border-color: #25D366 transparent transparent transparent;
        }


    .cart-icon {
        position: relative;
        font-size: 3rem;
        cursor: pointer;
    }

    .cart-link {
        position: relative;
        font-size: 2rem; /* tamanho normal do ícone do carrinho */
        color: white;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: transform 0.2s ease;
    }

        .cart-link:hover {
            /*transform: scale(1.3);*/
        }

    .cart-count {
        position: absolute;
        top: -9px;
        right: -7px;
        background-color: lightseagreen;
        color: white;
        font-size: 0.9rem;
        font-weight: bold;
        border-radius: 50%;
        padding: 0.2rem 0.5rem;
    }

    /* Tabela do carrinho */
    .cart-table {
        font-family: "Segoe UI", Calibri, Arial, sans-serif; /* tipo de letra */
        font-size: 0.85rem; /* tamanho geral */
        color: white;
    }


        .cart-table th, .cart-table td {
            font-weight: 600;
            font-size: 1rem;
            border: 0px solid #ccc;
            padding: 0rem;
            text-align: center;
        }

            .cart-table td:nth-child(2),
            .cart-table th:nth-child(2) {
                width: 70px;
            }

    .cart-img {
        width: 40px !important;
        height: auto !important;
        object-fit: contain;
        background-color: rgba(0, 0, 0, 0.5); /* preto semitransparente */
        padding: 10px;
        border-radius: 90px;
        box-shadow: 0 0 20px lightseagreen; /* brilho azul-esverdeado */
    }
    /* Deixa o texto do produto em negrito */
    .product-card {
        font-weight: bold;
    }

    /* Se quiser apenas o preço e descrição */
    .price, .desc {
        font-weight: bold;
    }

    .cart-table td img {
        max-width: none !important;
        max-height: none !important;
    }

    /* Botão remover produto */
    .btn-remove {
        color: white;
        border: none;
        padding: 0.1rem 0.1rem;
        cursor: pointer;
        border-radius: 4px;
    }

        .btn-remove:hover {
            background: darkred;
        }

    /* ===== PROMO POPUP (MOBILE) ===== */

    .promo-box {
        max-width: 260px;
        padding: 15px;
    }

        .promo-box img {
            width: auto !important; /* 🔥 ANULA o width:100% */
            max-width: 200px;
            margin: 0 auto 12px;
            display: block;
            border-radius: 5%;
        }




}
