﻿* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: #333; background-color: #fdfdfd; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.main-header { padding: 18px 0; text-align: center; background: #fff; border-bottom: 1px solid #eee; }
.crown-svg { width: 34px; height: 34px; margin-bottom: 6px; }
.logo h1 { font-weight: 700; letter-spacing: 6px; font-size: 25px; color: #001f66; }
.logo p { font-size: 9px; letter-spacing: 8px; color: #A9A9A9; text-transform: uppercase; }

/* BANNER */
.hero-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1919 / 504;
    background: #fff;
    line-height: 0;
    overflow: hidden;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transition: opacity 0.35s ease;
}

.hero-banner-image.is-fading {
    opacity: 0;
}

.banner-content { display: none; }

/* MENU E SIDEBAR — DESKTOP */
.main-layout { display: flex; gap: 40px; margin-top: 40px; padding-bottom: 60px; }
.sidebar { width: 260px; flex-shrink: 0; position: sticky; top: 30px; align-self: flex-start; }

.menu-toggle {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; padding: 15px; border-radius: 12px; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid #eee; margin-bottom: 10px;
}
.menu-toggle span { font-size: 12px; font-weight: 600; color: #001f66; text-transform: uppercase; letter-spacing: 1px; }

.hamburger span { display: block; width: 22px; height: 2px; background: #001f66; margin: 5px 0; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-hidden { display: none; }
.menu-visible { display: block !important; animation: fadeIn 0.3s ease-out; }

.btn-fechar-menu { display: none; }

.filter-btn {
    width: 100%; text-align: left; padding: 13px; margin-top: 5px;
    background: rgba(0, 31, 102, 0.04); border: 1px solid transparent;
    border-radius: 10px; font-family: inherit; font-size: 11px; cursor: pointer; transition: 0.3s; text-transform: uppercase;
}
.filter-btn:hover, .filter-btn.active { background: #fff; border-color: #001f66; color: #001f66; font-weight: 600; padding-left: 20px; }

/* BOTÃ•ES INSTITUCIONAIS */
.btn-extra {
    background: none !important; border: none !important;
    border-top: 1px solid #eee !important; border-radius: 0 !important;
    color: #888 !important; font-size: 10px !important; margin-top: 15px !important;
    padding-top: 15px !important; padding-left: 10px !important; font-weight: 400;
}
.politica { border-top: none !important; margin-top: 0 !important; padding-top: 8px !important; }
.btn-extra:hover { color: #001f66 !important; padding-left: 15px !important; }

/* VITRINE */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: #fff; border: 1px solid #f2f2f2; border-radius: 18px; padding: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); animation: fadeInUp 0.6s ease backwards;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); border-color: #001f66; }
.product-image { width: 100%; height: 210px; overflow: hidden; border-radius: 12px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.product-card:hover .product-image img { transform: scale(1.1); }
.price { font-weight: 700; font-size: 17px; color: #000; margin: 12px 0; display: block; text-align: center; }
.wpp-btn { background: #001f66; color: #fff; border: none; width: 100%; padding: 12px; border-radius: 10px; cursor: pointer; text-transform: uppercase; font-size: 9px; font-weight: 600; transition: 0.3s; }

/* TEXTOS INSTITUCIONAIS */
.content-text-page { background: #fff; padding: 50px; border-radius: 20px; border: 1px solid #f2f2f2; max-width: 800px; margin: 0 auto; animation: fadeIn 0.6s ease; }
.page-body .intro { font-size: 18px; color: #001f66; font-weight: 300; margin-bottom: 20px; font-style: italic; }
.page-body p { font-size: 15px; line-height: 1.8; color: #555; margin-bottom: 15px; text-align: justify; }
.policy-list { list-style: none; margin-bottom: 20px; }
.policy-list li { font-size: 15px; color: #555; margin-bottom: 10px; padding-left: 20px; position: relative; }
.policy-list li::before { content: "â€¢"; color: #001f66; position: absolute; left: 0; font-weight: bold; }

/* FOOTER */
.main-footer { width: 100%; padding: 50px 20px 30px; margin-top: 40px; border-top: 1px solid #eee; background-color: #fff; text-align: center; }
.footer-titulo { font-size: 10px; font-weight: 600; letter-spacing: 3px; color: #A9A9A9; text-transform: uppercase; margin-bottom: 20px; }
.footer-contato { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 30px; }
.footer-link { font-size: 13px; color: #333; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: #001f66; }
.footer-copy { color: #aaa; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* FLUTUANTES */
.wpp-floating { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
#btn-topo { display: none; position: fixed; bottom: 100px; right: 35px; width: 50px; height: 50px; background: #001f66; color: white; border: none; border-radius: 50%; cursor: pointer; z-index: 1000; font-size: 20px; transition: 0.3s; left: auto; }

/* CARROSSEL */
.carrossel-wrapper { position: relative; }
.carrossel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35); color: #fff; border: none;
    width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
    font-size: 14px; z-index: 10; display: flex; align-items: center;
    justify-content: center; transition: background 0.2s; opacity: 0;
}
.product-card:hover .carrossel-btn { opacity: 1; }
.carrossel-btn.prev { left: 8px; }
.carrossel-btn.next { right: 8px; }
.carrossel-btn:hover { background: rgba(0, 31, 102, 0.75); }
.carrossel-wrapper img { transition: opacity 0.15s ease; }
.carrossel-dots {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 5px; z-index: 10;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.2s; }
.dot.ativo { background: #fff; }

/* RESPONSIVIDADE PC MÃ‰DIO */
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   CELULAR
   ============================================ */
@media (max-width: 768px) {

    /* STICKY HEADER â€” fica fixo no topo ao rolar */
    .main-header { padding: 18px 0; text-align: center; background: #fff; border-bottom: 1px solid #eee; }
    .crown-svg { width: 34px; height: 34px; margin-bottom: 6px; }
    .logo h1 { font-weight: 700; letter-spacing: 6px; font-size: 25px; color: #001f66; }
    .logo p { font-size: 9px; letter-spacing: 8px; color: #A9A9A9; text-transform: uppercase; }

    /* BANNER menor */
    .hero-banner { height: 200px; aspect-ratio: auto; overflow: hidden; }
    .hero-banner-image { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

    /* LAYOUT â€” sidebar some, conteÃºdo ocupa tudo */
    .main-layout { flex-direction: column; gap: 0; margin-top: 15px; padding: 0 10px 40px; }
    .sidebar { width: 100%; position: static; }
    /* LAYOUT â€” sidebar some, conteÃºdo ocupa tudo */
    .main-layout { flex-direction: column; gap: 0; margin-top: 15px; padding: 0 10px 40px; }
    .sidebar { width: 100%; position: static; }

    /* MENU TOGGLE â€” vira botÃ£o hamburguer no topo do conteÃºdo */
    .menu-toggle { padding: 12px 15px; margin-bottom: 8px; }

    /* MENU LATERAL â€” desliza da esquerda por cima do conteÃºdo */
    #nav-menu {
        position: fixed !important;
        top: 0; left: -280px;
        width: 270px; height: 100vh;
        background: #fff;
        z-index: 999;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        padding: 60px 20px 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
        display: block !important; /* sempre no DOM, animado por left */
    }
    #nav-menu.menu-visible {
        left: 0 !important;
    }

    /* OVERLAY escuro ao abrir menu */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 998;
    }
    .menu-overlay.ativo { display: block; }

    /* BOTÃO fechar dentro do menu */
    .btn-fechar-menu {
        position: absolute;
        top: 15px; right: 15px;
        background: none; border: none;
        font-size: 22px; cursor: pointer;
        color: #001f66;
    }

    /* VITRINE 2 colunas */
    .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }

    /* CARD â€” sem animaÃ§Ã£o para nÃ£o travar */
    .product-card {
        padding: 6px; border-radius: 12px;
        animation: none !important; /* remove fadeInUp no celular */
    }
    .product-card:hover { transform: none; }

    /* IMAGEM */
    .product-image { height: 170px; border-radius: 8px; }

    /* TEXTOS */
    .product-card .badge { font-size: 7px !important; margin: 6px 0 3px !important; }
    .product-card h3 { font-size: 10px !important; min-height: 24px !important; margin-bottom: 4px !important; }
    .price { font-size: 13px; margin: 4px 0 6px; }

    /* BOTÃƒO WhatsApp */
    .wpp-btn { padding: 8px; font-size: 8px; border-radius: 8px; }

    /* SETAS carrossel sempre visÃ­veis */

    .carrossel-btn { opacity: 1 !important; width: 24px; height: 24px; font-size: 12px; }
    .product-card .carrossel-btn { opacity: 1 !important; }

    /* FLUTUANTES menores */
    .wpp-floating { width: 46px; height: 46px; bottom: 20px; right: 15px; }
    .wpp-floating img { width: 24px; height: 24px; }
    #btn-topo { width: 38px; height: 38px; bottom: 20px; left: 15px; right: auto; font-size: 15px; }

    /* TEXTOS institucionais */
    .content-text-page { padding: 20px 15px; }
    .page-body .intro { font-size: 15px; }
    .page-body p { font-size: 13px; }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* ============================================
   MODAL DO PRODUTO â€” cole no final do style.css
   ============================================ */

/* Fundo escuro */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.ativo {
    display: flex;
}

/* Caixa do modal */
.modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* BotÃ£o fechar */
.modal-fechar {
    position: sticky;
    top: 15px;
    float: right;
    margin: 15px 15px 0 0;
    background: #f2f2f2;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    color: #333;
    transition: background 0.2s;
}
.modal-fechar:hover { background: #001f66; color: #fff; }

/* ConteÃºdo interno */
.modal-conteudo {
    padding: 20px 30px 30px;
    clear: both;
}

/* Carrossel grande */
.modal-carrossel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
}
.modal-carrossel img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}
.modal-carrossel .carrossel-btn {
    opacity: 1;
    width: 36px; height: 36px;
    font-size: 18px;
}
.modal-carrossel .carrossel-dots {
    bottom: 12px;
}
.modal-carrossel .dot {
    width: 9px; height: 9px;
}

/* InformaÃ§Ãµes */
.modal-material {
    font-size: 9px;
    color: #A9A9A9;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.modal-nome {
    font-size: 22px;
    font-weight: 600;
    color: #001f66;
    margin-bottom: 10px;
}
.modal-preco {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    display: block;
}

/* BotÃ£o descriÃ§Ã£o */
.btn-descricao {
    background: none;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.btn-descricao:hover { border-color: #001f66; color: #001f66; }
.btn-descricao .seta { transition: transform 0.2s; }
.btn-descricao.aberto .seta { transform: rotate(180deg); }

.texto-descricao {
    display: none;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding: 12px 16px;
    background: #fafafa;
    border-radius: 10px;
    margin-bottom: 20px;
}
.texto-descricao.visivel { display: block; }

/* Seletor de tamanho */
.modal-tamanho {
    margin-bottom: 20px;
}
.modal-tamanho label {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}
.tamanhos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tamanho-btn {
    width: 42px; height: 42px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}
.tamanho-btn:hover { border-color: #001f66; color: #001f66; }
.tamanho-btn.selecionado { background: #001f66; color: #fff; border-color: #001f66; }

/* BotÃ£o WhatsApp no modal */
.modal-wpp-btn {
    background: #001f66;
    color: #fff;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.3s;
    margin-top: 10px;
}
.modal-wpp-btn:hover { background: #003399; }

/* MODAL CELULAR */
@media (max-width: 768px) {
    .modal-overlay { padding: 0; align-items: flex-end; }
    .modal-box { border-radius: 20px 20px 0 0; max-height: 92vh; }
    .modal-carrossel { height: 280px; }
    .modal-nome { font-size: 18px; }
    .modal-preco { font-size: 20px; }
    .modal-conteudo { padding: 15px 20px 30px; }
}
/* ============================================
   PÃGINA DO PRODUTO â€” cole no final do style.css
   ============================================ */

/* BotÃ£o voltar */
.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 12px;
    color: #001f66;
    cursor: pointer;
    padding: 20px 20px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.btn-voltar:hover { opacity: 0.7; }

/* Foto principal */
.produto-foto-principal {
    position: relative;
    width: 100%;
    background: #f9f9f9;
}
.produto-foto-principal img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}
.produto-foto-principal .carrossel-btn {
    opacity: 1;
    width: 36px;
    height: 36px;
    font-size: 18px;
}

/* Miniaturas */
.miniaturas-wrapper {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    overflow-x: auto;
}
.miniatura {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}
.miniatura.ativa { border-color: #001f66; }
.miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* InformaÃ§Ãµes do produto */
.produto-info-pagina {
    padding: 20px;
}
.produto-material {
    font-size: 9px;
    color: #A9A9A9;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.produto-nome {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}
.produto-preco {
    font-size: 28px;
    font-weight: 700;
    color: #001f66;
    display: block;
    margin-bottom: 24px;
}

/* BotÃ£o descriÃ§Ã£o */
.btn-descricao {
    background: none;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px 16px;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: border-color 0.2s;
}
.btn-descricao:hover { border-color: #001f66; color: #001f66; }
.btn-descricao .seta { transition: transform 0.2s; }
.btn-descricao.aberto .seta { transform: rotate(180deg); }
.texto-descricao {
    display: none;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding: 14px 16px;
    background: #fafafa;
    border-radius: 10px;
    margin-bottom: 20px;
}
.texto-descricao.visivel { display: block; }

/* Seletor de tamanho */
.produto-tamanho {
    margin: 20px 0;
}
.produto-tamanho label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}
.tamanhos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.tamanho-btn {
    width: 46px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}
.tamanho-btn:hover { border-color: #001f66; color: #001f66; }
.tamanho-btn.selecionado { background: #001f66; color: #fff; border-color: #001f66; }

/* BotÃ£o WhatsApp na pÃ¡gina do produto */
.produto-wpp-btn {
    background: #001f66;
    color: #fff;
    border: none;
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}
.produto-wpp-btn:hover { background: #003399; }
.produto-wpp-btn i { font-size: 18px; }

/* Produtos relacionados */
.relacionados {
    padding: 30px 20px 10px;
    border-top: 1px solid #eee;
    margin-top: 30px;
}
.relacionados-titulo {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.relacionados-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* PÃ¡gina do produto no desktop */
@media (min-width: 769px) {
    #pagina-produto {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .produto-foto-principal img {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }
    .produto-nome { font-size: 28px; }
    .produto-preco { font-size: 32px; }
    .relacionados-grid { grid-template-columns: repeat(4, 1fr); }
}
/* BotÃ£o selecionar nÃºmero */
.btn-selecionar-numero {
    width: 100%;
    background: none;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #333;
    transition: border-color 0.2s;
}
.btn-selecionar-numero:hover { border-color: #001f66; }
.tamanhos-ocultos { display: none !important; }
 


@keyframes heroFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    25% { opacity: 1; }
    33% { opacity: 0; }
    100% { opacity: 0; }
}









