/*Estilo geral das páginas*/

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

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

/* HEADER */
header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
    gap: 20px;

    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LOGO + TÍTULO (ESQUERDA) */
.area-logo-titulos {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* BUSCA (CENTRO) */
.area-da-barra-de-pesquisa {
    display: flex;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 500px;
}

/* REDES (DIREITA) */
.area-de-midias-sociais {
    display: flex;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.nome-da-empresa {
    font-size: 26px;
    font-weight: bold;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BARRA DE BUSCA */
.campo-busca {
    flex: 1;
    padding: 12px;
    border-radius: 12px 0 0 12px;
    border: none;
    outline: none;
    background: #1e293b;
    color: white;
}

.botao-busca {
    padding: 12px 16px;
    border: none;
    border-radius: 0 12px 12px 0;
    background: #22c55e;
    cursor: pointer;
    transition: 0.3s;
}

.botao-busca:hover {
    background: #16a34a;
}

/* REDES SOCIAIS */
.area-de-midias-sociais a img {
    width: 32px;
    transition: 0.3s;
    filter: brightness(0.9);
}

.area-de-midias-sociais a img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* CATEGORIAS */
.linha-de-categorias {
    width: 100%;
    margin-top: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between; /* JUSTIFICADO */
    width: 100%;
}

nav ul li {
    position: relative;
    flex: 1;
    text-align: center;
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: rgba(34,197,94,0.2);
}

/* SUBMENU (AGORA POR CLIQUE) */
nav ul li ul {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: #1e293b;
    border-radius: 12px;
    padding: 10px;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* MOSTRAR AO CLICAR */
nav ul li:focus-within ul {
    display: block;
}

/* ITENS SUBMENU */
nav ul li ul li {
    margin-bottom: 5px;
}

nav ul li ul li a {
    display: block;
    padding: 8px;
    border-radius: 8px;
}

nav ul li ul li a:hover {
    background: rgba(34,197,94,0.3);
}

/* FOOTER */
footer {
    margin-top: 60px;
    padding: 30px;
    background: rgba(0,0,0,0.5);
    text-align: center;
    font-size: 14px;
    color: #cbd5f5;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer p {
    margin-bottom: 10px;
}

.floating-contact {
    position: fixed;

    right: 20px;
    bottom: 20px;

    display: flex;
    align-items: center;
    gap: 14px;

    background: rgba(30, 41, 59);

    padding:
        14px 18px;

    border-radius: 18px;

    text-decoration: none;

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

    z-index: 999999;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    font-family: Arial, sans-serif;
}

.floating-contact:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 40px rgba(0,0,0,0.22);
}

.floating-contact-icon {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #4ade80,
            #22c55e
        );

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;

    flex-shrink: 0;
}

.floating-contact-text {
    display: flex;
    flex-direction: column;
}

.floating-contact-text span {
    color: #fffdfd;
    font-size: 15px;
    font-weight: bold;
}

.floating-contact-text small {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}







/*Estilo da página de produtos*/

.card-principal-do-produto {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 25px;
    padding: 30px;
    margin: 40px;
    
    background: rgba(30, 41, 59, 0.7);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* GALERIA (ESQUERDA) */
.campo-da-galeria-do-produto {
    display: flex;
    gap: 15px;

    background: rgba(15, 23, 42, 0.6);
    padding: 15px;
    border-radius: 15px;
}

/* THUMBNAILS */
.lista-de-midias {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lista-de-midias img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    border: 2px solid transparent;
}

.lista-de-midias img:hover {
    transform: scale(1.1);
    border: 2px solid #22c55e;
}

/* IMAGEM PRINCIPAL */
.imagem-ou-video-selecionado {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #0f172a;
    border-radius: 15px;
    padding: 10px;
}

.imagem-ou-video-selecionado img,
.imagem-ou-video-selecionado video {
    max-width: 100%;
    border-radius: 10px;
}

/* DADOS DO PRODUTO (MEIO) */
.campo-de-dados-do-produto {
    display: inline-flex;
    flex-direction: column;
    gap: 15px;

    background: rgba(15, 23, 42, 0.6);
    padding: 20px;
    border-radius: 15px;
}

/* LOJA */
.card-da-loja {
    display: flex;
    align-items: center;
    gap: 10px;
}

.foto-da-loja {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* NOME PRODUTO */
.nome-do-produto {
    font-size: 22px;
}

/* AVALIAÇÃO */
.avaliacao {
    color: #facc15;
    font-size: 16px;
}

.avaliacao span {
    color: #cbd5f5;
    font-size: 14px;
    margin-left: 5px;
}

/* PREÇOS */
.preco-original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 16px;
}

/* BADGE DESCONTO NA PÁGINA DE PRODUTO*/
.badge-desconto {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #22c55e;
    color: black;
    font-weight: bold;

    font-size: 15px;
    padding: 2px 4px;
    border-radius: 8px;
    margin-left: 10px;

    width: fit-content;
    white-space: nowrap;
    flex-shrink: 0;
}

.preco-descontado {
    color: #22c55e;
    font-size: 26px;
    font-weight: bold;
    display: inline-flex;
}

/* BENEFÍCIOS */
.lista-de-beneficios {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5f5;
}

/* PAGAMENTO (DIREITA) */
.campo-de-pagamento-do-produto {
    display: flex;
    align-items: flex-start;
}

.divisao-arredondada {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* DESTAQUES */
.informacao-de-frete {
    font-size: 14px;
    color: #cbd5f5;
}

.mensagem-de-destaque {
    color: #22c55e;
    font-weight: bold;
}

/* BOTÃO */
.botao-de-compra {
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #22c55e;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.botao-de-compra:hover {
    background: #16a34a;
    transform: scale(1.05);
}

/* SELECT */
.quantidade-do-produto {
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #1e293b;
    color: white;
}

/* DETALHES (EMBAIXO) */
.detalhes-tecnicos-do-produto {
    grid-column: span 3;
    margin-top: 20px;

    background: rgba(15, 23, 42, 0.6);
    padding: 20px;
    border-radius: 15px;
}

.campo-de-informacao-de-frete,
.campo-de-informacao-da-garantia {
    display: inline-flex;
    align-items: center;

    background: #6c63ff; /* cor principal (borda + fundo do emoji) */
    border-radius: 16px;
    padding: 4px; /* cria a “borda externa” */
}

/* Conteúdo interno (área branca) */
.campo-de-informacao-de-frete h3,
.campo-de-informacao-da-garantia h3 {
    margin: 0;
    padding: 6px 12px;

    background: #1e293b;
    border-radius: 12px;

    font-size: 14px;
}

/* Emoji integrado no fundo */
.campo-de-informacao-de-frete::before,
.campo-de-informacao-da-garantia::before {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;

    font-size: 16px;
    color: #fff;
}

/* Emojis */
.campo-de-informacao-de-frete::before {
    content: "🚚";
}

.campo-de-informacao-da-garantia::before {
    content: "📅";
}

.video-thumb {
    position: relative;
    display: inline-block;
}

.video-thumb video {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

/* botão de play */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 35px;
    height: 35px;

    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 16px;

    pointer-events: none;
}

/* efeito hover */
.video-thumb:hover .play-overlay {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/*Estilo da página de categorias selecionadas*/




/*Será feito*/




/* GRID DE PRODUTOS */

.hero-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.hero-slider {
    position: relative;
    width: 95%;
    max-width: 1920px;
    aspect-ratio: 1920 / 800;
    overflow: hidden;
    border-radius: 22px;
    background: #111;
    user-select: none;
}

.hero-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* overlay escuro premium */
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
}

/* indicadores */
.hero-indicators {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-indicator.active {
    background: white;
    transform: scale(1.2);
}

.campo-de-produtos-normais {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}


/*TÍTULO DE SEPARAÇÃO DE SEÇÃO*/
.titulo-secao {
    position: relative;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);

    padding: 28px 0;
    margin: 80px 0 50px;

    text-align: center;

    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,255,255,0.06) 10%,
            rgba(255,255,255,0.10) 50%,
            rgba(255,255,255,0.06) 90%,
            transparent 100%
        );

    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);

    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* brilho animado atravessando */
.titulo-secao::before {
    content: "";

    position: absolute;
    top: 0;
    left: -20%;

    width: 20%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );

    transform: skewX(-20deg);

    animation: brilhoTitulo 5s linear infinite;
}

/* linhas decorativas */
.titulo-secao::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 10px;

    transform: translateX(-50%);

    width: 120px;
    height: 3px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        transparent,
        #ffffff,
        transparent
    );
}

@keyframes brilhoTitulo {
    0% {
        left: -20%;
    }

    100% {
        left: 120%;
    }
}

/* CARD */
.card-produto {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
}

.card-produto:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* IMAGEM */
.card-produto-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* CONTEÚDO */
.card-produto-conteudo {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* LOJA */
.card-produto-loja {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-produto-loja img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.card-produto-loja span {
    font-size: 12px;
    color: #cbd5f5;
}

/* NOME */
.card-produto-nome {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
}

/* AVALIAÇÃO */
.card-produto-avaliacao {
    font-size: 13px;
    color: #facc15;
}

.card-produto-avaliacao span {
    color: #94a3b8;
    font-size: 12px;
}

/* PREÇOS */
.card-produto-preco-original {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    display: inline-block;
}

.card-produto-preco {
    font-size: 18px;
    font-weight: bold;
    color: #22c55e;
}

/* BADGE DESCONTO */
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #22c55e;
    color: black;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
}










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

@media (max-width: 430px) {

    /* ===== GERAL ===== */
    body {
        overflow-x: hidden;
    }

    /* ===== HEADER ===== */
    header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 15px;
    }

    .area-logo-titulos {
        justify-content: center;
        text-align: center;
    }

    .nome-da-empresa {
        font-size: 20px;
    }

    /* busca vira full width */
    .area-da-barra-de-pesquisa {
        max-width: 100%;
        width: 100%;
    }

    .campo-busca {
        width: 100%;
    }

    /* redes centralizadas */
    .area-de-midias-sociais {
        justify-content: center;
    }

    /* categorias vira scroll horizontal (evita bug feio) */
    nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav ul li {
        flex: 0 0 auto;
        min-width: 120px;
    }

    /* submenu ajustado */
    nav ul li ul {
        position: static;
        box-shadow: none;
        margin-top: 8px;
    }

    /* ===== PRODUTO ===== */
    .card-principal-do-produto {
        grid-template-columns: 1fr;
        margin: 15px;
        padding: 15px;
        gap: 15px;
    }

    .campo-da-galeria-do-produto {
        flex-direction: column;
        align-items: center;
    }

    .lista-de-midias {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .lista-de-midias img {
        width: 55px;
        height: 55px;
    }

    .imagem-ou-video-selecionado {
        width: 100%;
    }

    .campo-de-dados-do-produto {
        width: 100%;
    }

    .campo-de-pagamento-do-produto {
        width: 100%;
    }

    .divisao-arredondada {
        width: 100%;
    }

    .nome-do-produto {
        font-size: 18px;
    }

    .preco-descontado {
        font-size: 22px;
    }

    /* detalhes não quebrar layout */
    .detalhes-tecnicos-do-produto {
        grid-column: 1;
    }

    /* ===== GRID DE PRODUTOS ===== */
    .campo-de-produtos-normais {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .card-produto-img {
        height: 140px;
    }

    .card-produto-nome {
        font-size: 13px;
        height: auto;
    }

    .card-produto-preco {
        font-size: 16px;
    }
}







/* ==========================
   PÁGINA DE CONTATO
========================== */

.pagina-contato {
    width: 100%;
    padding: 40px 20px;
}

.banner-contato {
    width: 100%;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    padding: 50px 30px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.conteudo-banner-contato {
    max-width: 800px;
}

.conteudo-banner-contato h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.conteudo-banner-contato p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.container-contato {
    width: 100%;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.informacoes-contato,
.painel-ajuda-contato {
    flex: 1;
    min-width: 320px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(8px);
}

.informacoes-contato h3,
.painel-ajuda-contato h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.card-info-contato {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.card-info-contato:hover,
.bloco-ajuda:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.card-info-contato span,
.bloco-ajuda span {
    font-size: 1.8rem;
}

.card-info-contato p,
.painel-ajuda-contato > p,
.bloco-ajuda p {
    color: #cbd5e1;
    line-height: 1.6;
}

.painel-ajuda-contato > p {
    margin-bottom: 30px;
}

.blocos-ajuda {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bloco-ajuda {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    transition: 0.3s;
}

.bloco-ajuda h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {

    .conteudo-banner-contato h2 {
        font-size: 2rem;
    }

    .container-contato {
        flex-direction: column;
    }

}








/* ===== EXTRA: TELAS MUITO PEQUENAS ===== */
@media (max-width: 360px) {

    .campo-de-produtos-normais {
        grid-template-columns: 1fr;
    }

    .logo {
        width: 45px;
        height: 45px;
    }

    .nome-da-empresa {
        font-size: 18px;
    }
}

/* mobile */
@media (max-width: 700px) {

    .floating-contact {
        right: 12px;
        bottom: 12px;

        padding:
            12px 14px;
    }

    .floating-contact-text small {
        display: none;
    }

}
