/* ==========================================
   1. RESET & ESTILOS GERAIS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* ==========================================
   2. HEADER & NAVEGAÇÃO
   ========================================== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo img, 
header img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* BUSCA */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 5px 15px;
    width: 450px;
    background-color: #f5f5f5;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    padding: 5px;
}

.search-box button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #666;
}

.search-box input::placeholder {
    color: #888888;
    opacity: 1;
}

/* MENU DE NAVEGAÇÃO DESKTOP */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: #004691;
}
/* Remove o destaque azul do botão Início (ou links ativos) */
.nav-menu ul li a.active {
    background-color: transparent !important;
    color: inherit !important; /* Mantém a mesma cor de texto dos outros links */
}


/* DROPDOWN - PRIMEIRO NÍVEL DESKTOP */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    min-width: 180px;
    padding: 10px 0;
    z-index: 99999;
    list-style: none;
}

.dropdown-menu.show {
    display: flex !important;
}

.dropdown-menu li {
    position: relative;
    padding: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    color: #004691;
    background-color: #f5f5f5;
}

/* SUBMENU - SEGUNDO NÍVEL DESKTOP */
.dropdown-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    min-width: 160px;
    padding: 10px 0;
    list-style: none;
    z-index: 1001;
}

/* ==========================================
   3. CARROSSEL / BANNER HERO (AJUSTADO PARA PC E MOBILE)
   ========================================== */
.carousel-container,
.hero-slider,
.about-slider,
.slider,
.carrossel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.carousel-slides {
    width: 100%;
    position: relative;
}

.slide,
.hero-slide,
.about-slide {
    display: none;
    opacity: 0;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.slide.active,
.hero-slide.active,
.about-slide.active {
    display: block !important;
    opacity: 1 !important;
}

.banner-full-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f8f9fa;
    /* removido min-height e max-height fixos */
}
/* Ajusta só o banner de massas, que fica um pouco grande */
.slide-content {
    width: 100%;
    height: 100%;
}

.slide img,
.banner-img,
.hero-slide img,
.about-slide img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* removido max-height e object-fit: contain */
}
#prevBtn, #nextBtn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
    width: 45px !important;
    height: 45px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #004691 !important;
    border: 2px solid #004691 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25) !important;
    transition: all 0.3s ease !important;
}

#prevBtn:hover, #nextBtn:hover {
    background-color: #004691 !important;
    color: #ffffff !important;
}

#prevBtn { left: 20px !important; }
#nextBtn { right: 20px !important; }


.carousel-container {
    position: relative;
    width: 100%;
}

#prevBtn, #nextBtn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
    width: 45px !important;
    height: 45px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #004691 !important;
    border: 2px solid #004691 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25) !important;
    transition: all 0.3s ease !important;
}

#prevBtn:hover, #nextBtn:hover {
    background-color: #004691 !important;
    color: #ffffff !important;
}

#prevBtn { left: 20px !important; }
#nextBtn { right: 20px !important; }



/* ==========================================
   4. SEÇÃO PRODUTOS (VITRINE)
   ========================================== */
.products-section {
    padding: 50px 0;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    height: 38px;
}

.product-card .price {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.btn-buy {
    background-color: #e65c00;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.3s;
}

.btn-buy:hover {
    background-color: #cc5200;
}

/* ==========================================
   5. SOBRE NÓS & COMPONENTES FLUTUANTES
   ========================================== */
.about-section {
    background-color: #002b5c;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.whatsapp-float {
    position: fixed;
    width: 80px;
    height: 80px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    font-size: 14px;
}

.cookie-banner button {
    background: #e65c00;
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* ==========================================
   6. SEÇÃO NEWSLETTER
   ========================================== */
.newsletter-section {
    background-color: #0f172a;
    color: #ffffff;
    padding: 50px 20px;
    margin-top: 40px;
}

.newsletter-container {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-container h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-container p {
    font-size: 15px;
    color: #cbd5e1;
    margin-bottom: 25px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #334155;
    border-radius: 6px;
    background-color: transparent;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group select option {
    background-color: #0f172a;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #00875a;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: #00875a;
}

.checkbox-group label {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: normal;
}

.checkbox-group a {
    color: #ffffff;
    text-decoration: underline;
}

.btn-newsletter {
    background-color: #00875a;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

.btn-newsletter:hover {
    background-color: #006b47;
}

/* ==========================================
   7. FOOTER GLOBAL
   ========================================== */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding-top: 50px;
    margin-top: 60px;
    border-top: 4px solid #0066cc;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 18px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #0066cc;
    margin-top: 6px;
}

.footer-logo {
 max-height: 180px;
 margin-bottom: 15px;
 border-radius: 5px;

}

.footer-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background-color: #0066cc;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: #0066cc;
    margin-top: 3px;
    font-size: 16px;
}

.footer-bottom {
    background-color: #020617;
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* ==========================================
   8. RESPONSIVIDADE MOBILE (TELAS ATÉ 768px)
   ========================================== */
@media (max-width: 768px) {

    .header {
        position: relative;
        z-index: 9999;
        background-color: #ffffff;
    }

    .header-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 15px;
        gap: 10px;
    }

    .logo img, header img {
        max-height: 80px;
        width: auto;
    }

    .search-box {
        flex: 1;
        width: 100%;
        margin: 0;
    }

    .search-box input {
        padding: 6px 10px;
        font-size: 12px;
        height: 34px;
    }

    /* BARRA HORIZONTAL DE NAVEGAÇÃO */
    .nav-menu {
        width: 100%;
        padding: 8px 0;
        margin-top: 5px;
        background-color: #ffffff;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-menu > ul {
        display: flex;
        flex-direction: row;
        gap: 0px;
        padding: 0;
        margin: 0;
        list-style: none;
        overflow-x: auto;
        /* -webkit-overflow-scrolling: touch; */
    }

    .nav-menu > ul::-webkit-scrollbar { display: none; }
    .nav-menu > ul { -ms-overflow-style: none; scrollbar-width: none; }

    .nav-menu > ul > li {
        flex-shrink: 0;
    }

    .nav-menu > ul > li > a {
        display: inline-flex;
        padding: 6px 10px;
        background-color: transparent;
        color: #333;
        border-radius: 0px;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    /* DROPDOWN FIXO NA TELA */
    .dropdown-menu {
        display: none;
        position: fixed !important;
        top: 125px;
        left: 15px;
        width: 240px;
        background-color: #ffffff;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.25);
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 8px 0;
        z-index: 9999999 !important;
    }

    .dropdown-menu.show {
        display: flex !important;
        flex-direction: column !important;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        display: block;
        padding: 10px 16px;
        color: #004691;
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
    }

    /* SLIDER EM CAMADA INFERIOR */
    .carousel-container,
    .hero-slider,
    .slider,
    .carrossel,
    .banner-full-container {
        position: relative;
        z-index: 1 !important;
    }

    #prevBtn, #nextBtn {
        z-index: 2 !important;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    #prevBtn { left: 8px; }
    #nextBtn { right: 8px; }
}
/* Fix Dropdown e Carrossel */
.nav-menu ul li {
    position: relative;
}

.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 9999;
    padding: 10px 0;
    list-style: none;
}

/* Mostra o menu quando ativo */
.dropdown.show .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: block !important;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f0f0f0;
    color: #0056b3;
}

/* Carrossel Ajustes */
.slide {
    display: none;
}

.slide.active {
    display: block;
}
/* No celular, desativa o hover automático para o menu abrir direto pelo JS */
@media (max-width: 768px) {
    .nav-menu .dropdown:hover .dropdown-menu {
        display: none !important;
    }
    
    .nav-menu .dropdown-menu.show {
        display: block !important;
    }
}


/* CSS */
.banner-texturas-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.banner-texturas-wrapper img.banner-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* Estilo padrão da etiqueta (igualzinho a um papelzinho adesivo) */
.etiqueta {
    position: absolute;
    background: #f4eee1;
    border: 1px solid #d3c7b5;
    padding: 3px 8px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #2b2b2b;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    transform: translateX(-50%); /* Centraliza perfeitamente no ponto */
}

/* Altura equilibrada para os dois primeiros banners no Computador */

/* Força o banner de massas a ficar proporcional e menor no celular */
@media (max-width: 768px) {
    .banner-full-container.banner-massa-box {
        min-height: auto !important;
        max-height: 250px !important;
        aspect-ratio: 4 / 3 !important; /* Deixa o box mais baixinho no celular */
    }
}

@media (max-width: 768px) {
    .banner-full-container.banner-tinta-box {
        min-height: auto !important;
        max-height: 250px !important;
        aspect-ratio: 4 / 3 !important;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}
}


/* Ajuste responsivo para telas menores */
@media (max-width: 768px) {
    .etiqueta {
        font-size: 8px;
        padding: 2px 4px;
    }
}