/* =========================================================
   ARTECO
   CATÁLOGO DE PRODUTOS
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    background:
        radial-gradient(
            circle at top,
            #171b1f 0%,
            #0b0d0f 45%,
            #050607 100%
        );

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    min-height: 100vh;

    overflow-x: hidden;
}



/* =========================================================
   BANNER PRINCIPAL
========================================================= */

/*
   IMPORTANTE:

   O banner NÃO possui altura fixa.

   A imagem determina sua própria altura
   proporcionalmente.

   Isso impede que ela seja cortada.
*/

.hero {

    width: 100%;

    margin: 0;
    padding: 0;

    position: relative;

    background: #080909;

    border-bottom:
        2px solid #ff6500;

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.45);

    line-height: 0;

    /* Garante que o efeito de luz fique contido na área do hero */
    overflow: hidden; 
}


/*
   A imagem ocupa TODA a largura.

   height: auto
   mantém a proporção original.

   NÃO usamos object-fit: cover.

   Dessa forma nenhuma parte da arte é cortada.
*/

.hero-banner {

    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    margin: 0;
    padding: 0;
}



/* =========================================================
   LUZ / FUMÊ LARANJA ABAIXO DO BANNER
========================================================= */

.hero-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Altura do efeito de transição */

    /* Degradê que vai do laranja translúcido até sumir no fundo escuro */
    background: linear-gradient(
        to bottom,
        rgba(255, 101, 0, 0) 0%,
        rgba(255, 101, 0, 0.25) 50%,
        rgba(255, 101, 0, 0.55) 100%
    );

    /* Deixa o efeito esfumaçado/difuso */
    filter: blur(15px);

    /* Mantém os cliques passarem direto pelo elemento de luz */
    pointer-events: none;
    z-index: 2;
}



/* =========================================================
   MENSAGEM DE DESTAQUE NO BANNER
========================================================= */

.hero-message-bar {
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 3;
}

.hero-message-bar p {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(10, 13, 16, 0.75);
    border: 1px solid rgba(255, 101, 0, 0.5);
    padding: 10px 20px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
}



/* =========================================================
   CATÁLOGO
========================================================= */

.catalog-container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding:
        42px 28px 70px;
}



/* =========================================================
   CABEÇALHO DO CATÁLOGO
========================================================= */

.catalog-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 25px;
}


.catalog-title {
    flex: 1;
}


.section-label {

    display: block;

    margin-bottom: 8px;

    color: #ff6500;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.catalog-title h1 {

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            36px,
            5vw,
            58px
        );

    line-height: 1;

    font-weight: 800;

    letter-spacing: -1.5px;
}


.catalog-title p {

    margin-top: 10px;

    color: #8f969d;

    font-size: 15px;
}



/* =========================================================
   BOTÃO SHOPEE
========================================================= */

.shopee-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding:
        0 22px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #ff7200,
            #ff5a00
        );

    color: #080808;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    white-space: nowrap;

    box-shadow:
        0 10px 25px
        rgba(255, 101, 0, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}


.shopee-button:hover {

    transform:
        translateY(-2px);

    filter:
        brightness(1.08);

    box-shadow:
        0 14px 30px
        rgba(255, 101, 0, 0.35);
}


.shopee-symbol {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 22px;
    height: 22px;

    border:
        2px solid #080808;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 900;
}



/* =========================================================
   CATEGORIAS
========================================================= */

.category-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 16px;
}


.filter-button {

    border:
        1px solid #353b40;

    background:
        #101316;

    color:
        #d8dde1;

    border-radius: 999px;

    padding:
        9px 17px;

    cursor: pointer;

    font-size: 13px;

    font-weight: 700;

    transition:
        all 0.2s ease;
}


.filter-button:hover {

    border-color:
        #ff6500;

    color:
        #ffffff;
}


.filter-button.active {

    background:
        #ff6500;

    border-color:
        #ff6500;

    color:
        #080808;

    box-shadow:
        0 5px 15px
        rgba(255, 101, 0, 0.18);
}



/* =========================================================
   BUSCA
========================================================= */

.search-section {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 28px;
}


.search-box {

    display: flex;

    align-items: center;

    gap: 10px;

    flex: 1;

    height: 48px;

    padding:
        0 16px;

    border:
        1px solid #353b40;

    border-radius: 10px;

    background:
        #101316;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.search-box:focus-within {

    border-color:
        #ff6500;

    box-shadow:
        0 0 0 3px
        rgba(255, 101, 0, 0.08);
}


.search-icon {

    font-size: 16px;

    opacity: 0.8;
}


.search-box input {

    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 14px;
}


.search-box input::placeholder {

    color:
        #697178;
}


.product-count {

    color:
        #747d84;

    font-size: 12px;

    white-space: nowrap;
}



/* =========================================================
   GRID DOS PRODUTOS
========================================================= */

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 18px;
}



/* =========================================================
   CARD
========================================================= */

.product-card {

    overflow: hidden;

    border:
        1px solid #30363b;

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            #171b1f,
            #0e1012
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.product-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(255, 101, 0, 0.7);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.35);
}



/* =========================================================
   IMAGEM DO PRODUTO
========================================================= */

.product-image-container {

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background:
        #181818;
}


.product-image {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.3s ease;
}


.product-card:hover .product-image {

    transform:
        scale(1.035);
}



/* =========================================================
   INFORMAÇÕES DO PRODUTO
========================================================= */

.product-info {

    padding:
        15px;
}


.product-name {

    margin:
        0 0 5px;

    color:
        #ffffff;

    font-size: 15px;

    line-height: 1.2;

    font-weight: 800;
}


.product-category {

    margin:
        0 0 14px;

    color:
        #7d858c;

    font-size: 12px;
}



/* =========================================================
   BOTÃO DO PRODUTO
========================================================= */

.product-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 40px;

    border-radius: 8px;

    background:
        #ff6500;

    color:
        #080808;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    transition:
        filter 0.2s ease,
        transform 0.2s ease;
}


.product-button:hover {

    filter:
        brightness(1.1);

    transform:
        translateY(-1px);
}



/* =========================================================
   ESTADO VAZIO
========================================================= */

.empty-state {

    padding:
        80px 20px;

    border:
        1px dashed #343a3f;

    border-radius: 14px;

    text-align: center;

    background:
        rgba(10, 12, 14, 0.55);
}


.empty-icon {

    margin-bottom: 12px;

    font-size: 38px;
}


.empty-state h2 {

    margin-bottom: 8px;

    font-size: 18px;
}


.empty-state p {

    color:
        #777f86;

    font-size: 13px;
}



/* =========================================================
   FOOTER (ESTILO REFERÊNCIA)
========================================================= */

.footer {
    width: 100%;
    background: #060809;
    position: relative;
    border-top: 2px solid #ff6500;
    overflow: hidden;
    padding: 50px 20px 30px;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(255, 101, 0, 0.18) 0%,
        rgba(255, 101, 0, 0) 100%
    );
    pointer-events: none;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 45px;
}

.footer-logo-wrapper {
    width: 64px;
    height: 64px;
    background: #0f1215;
    border: 2px solid #ff6500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 101, 0, 0.35);
    margin-bottom: 15px;
}

.footer-logo-wrapper img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-brand strong {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer-brand span {
    color: #8c959e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.brand-divider {
    width: 40px;
    height: 2px;
    background: #ff6500;
    border-radius: 2px;
}

.footer-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    margin-bottom: 45px;
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.footer-contact-card:hover {
    transform: translateY(-2px);
}

.contact-box-icon {
    width: 46px;
    height: 46px;
    background: #0d1013;
    border: 1px solid #ff6500;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6500;
    box-shadow: 0 4px 12px rgba(255, 101, 0, 0.15);
}

.contact-box-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-box-info small {
    color: #6d767e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-box-info span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.footer-separator {
    width: 1px;
    height: 35px;
    background: #22282e;
}

.footer-bottom {
    border-top: 1px solid #161a1d;
    width: 100%;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #586068;
    font-size: 11px;
}



/* =========================================================
   RESPONSIVIDADE
========================================================= */


/*
   TABLET
*/

@media (max-width: 900px) {

    .catalog-container {

        padding:
            35px 22px 55px;
    }


    .product-grid {

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

}



/*
   CELULAR
*/

@media (max-width: 700px) {

    .catalog-header {

        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .shopee-button {

        width: 100%;
    }


    .search-section {

        align-items:
            stretch;

        flex-direction:
            column;
    }


    .product-count {

        text-align:
            right;
    }


    .product-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 12px;
    }


    .catalog-container {

        padding:
            30px 15px 45px;
    }


    /* --- CORREÇÃO DA MENSAGEM NO BANNER PARA CELULAR --- */
    .hero-message-bar {
        position: relative;
        bottom: 0;
        padding: 10px 15px 25px;
        margin-top: -10px;
    }

    .hero-message-bar p {
        font-size: 11px;
        padding: 8px 12px;
        line-height: 1.4;
    }
    /* --------------------------------------------------- */


    .footer-contacts {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-contact-card {
        width: 100%;
        max-width: 280px;
        justify-content: flex-start;
        background: #0b0e11;
        padding: 10px 15px;
        border-radius: 12px;
        border: 1px solid #1f252b;
    }

}



/*
   CELULAR PEQUENO
*/

@media (max-width: 430px) {

    .product-grid {

        grid-template-columns:
            1fr 1fr;
    }


    .product-info {

        padding:
            12px;
    }


    .product-name {

        font-size:
            13px;
    }


    .product-category {

        font-size:
            11px;
    }


    .product-button {

        min-height:
            36px;

        font-size:
            11px;
    }


    .filter-button {

        padding:
            8px 13px;

        font-size:
            11px;
    }

}