/* ARQUIVO: assets/css/style.css - VERSÃO FINAL VISUAL */

/* --- 1. VARIÁVEIS E CORES --- */
:root {
    --primary-blue: #004AAD;
    --accent-red: #FF3B30;
    --accent-yellow: #FFD60A;
    --accent-green: #34C759;
    --accent-orange: #FF9500;
    --accent-purple: #AF52DE;
    
    --bg-light: #F2F2F7;
    --text-dark: #1C1C1E;
    --text-gray: #6e6e73;
    --white: #FFFFFF;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    
    --font-title: 'Fredoka One', cursive;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 3. LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent; /* Garante que não tenha fundo azul */
}
.header-spacer { height: 90px; }

/* --- 4. HEADER --- */
.main-header {
    background: var(--white);
    height: 90px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand-logo img {
    max-height: 70px;
    width: auto;
    transition: transform 0.3s;
}
.brand-logo:hover img { transform: scale(1.05); }

/* Barra de Pesquisa */
.search-box {
    flex: 1;
    margin: 0 40px;
    position: relative;
    max-width: 500px;
}
.search-box form { display: flex; }
.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #E5E5EA;
    border-radius: 30px;
    font-family: var(--font-body);
    outline: none;
}
.search-box input:focus { border-color: var(--primary-blue); }
.search-box button {
    position: absolute;
    right: 5px; top: 5px;
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-item { font-weight: 600; font-size: 0.95rem; }
.btn-whatsapp-header {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 0 #1da851;
}

.mobile-menu-icon { display: none; font-size: 24px; cursor: pointer; color: var(--primary-blue); }
.mobile-nav {
    display: none; position: fixed; top: 90px; left: 0; right: 0;
    background: white; padding: 20px;
    box-shadow: var(--shadow-md); flex-direction: column; gap: 15px; z-index: 999;
}
.mobile-nav.active { display: flex; }

/* --- 5. SLIDER & BANNERS (Corrigido) --- */
.hero-slider {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    background: transparent; /* Remove fundo preto */
}
.slider-container {
    position: relative; /* Necessário para posicionar bolinhas */
}

.slide { display: none; animation: fade 1.5s; }
.slide img { width: 100%; display: block; } /* Remove espaços extras */

/* Setas */
.prev, .next {
    cursor: pointer; position: absolute; top: 50%;
    width: auto; margin-top: -22px; padding: 16px;
    color: white; font-weight: bold; font-size: 18px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.next { right: 0; border-radius: 3px 0 0 3px; }

/* Bolinhas (Agora DENTRO da imagem) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.dot {
    cursor: pointer; height: 12px; width: 12px; margin: 0 4px;
    background-color: rgba(255,255,255,0.5); /* Semitransparente */
    border-radius: 50%; display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
    transition: 0.3s;
}
.active, .dot:hover { background-color: #fff; transform: scale(1.2); }

@keyframes fade { from {opacity: .4} to {opacity: 1} }

/* --- 6. SEÇÃO "NÃO ENCONTRADO" --- */
.no-results {
    background: white; border-radius: 20px; padding: 60px 20px;
    text-align: center; box-shadow: var(--shadow-sm); margin: 40px 0;
}
.no-results i { color: #ccc; margin-bottom: 20px; }
.no-results h3 { color: var(--primary-blue); font-size: 1.5rem; margin-bottom: 10px; }

/* --- 7. VITRINE DE PRODUTOS --- */
.section-title { 
    text-align: center; 
    margin: 40px 0 30px; 
    background: transparent; /* Garante fundo limpo */
}
.section-title h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary-blue); /* Corrigido: Azul escuro no fundo claro */
    text-transform: uppercase;
    text-shadow: none;
}
.divider { height: 6px; width: 60px; background: var(--accent-yellow); margin: 10px auto; border-radius: 10px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
    background: transparent;
}

.card-produto {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
}
.card-produto:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}
.img-wrapper {
    height: 250px; display: flex; align-items: center; justify-content: center;
    background: #f9f9f9; overflow: hidden;
}
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card-produto:hover .img-wrapper img { transform: scale(1.1); }

.card-body { padding: 20px; text-align: center; }
.card-body h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 5px; height: 50px; overflow: hidden; }
.card-body .desc { font-size: 0.85rem; color: var(--text-gray); height: 40px; overflow: hidden; margin-bottom: 15px; }
.price { font-family: var(--font-title); font-size: 1.4rem; color: var(--primary-blue); display: block; margin-bottom: 15px; }

.btn-comprar {
    display: block; width: 100%; padding: 12px;
    background: var(--accent-red); color: white;
    font-weight: 800; border-radius: 12px; text-transform: uppercase;
    box-shadow: 0 4px 0 #c41e13; margin-top: auto;
}
.btn-comprar:hover { background: #ff5247; transform: translateY(-2px); }
.btn-comprar:active { transform: translateY(2px); box-shadow: none; }

/* --- 8. SEÇÃO SOBRE --- */
.about-section {
    background: var(--white);
    padding: 80px 0;
    margin-top: 40px;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-family: var(--font-title); font-size: 2.2rem; color: var(--primary-blue); margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; font-size: 1.05rem; color: var(--text-gray); }
.about-img img { border-radius: 20px; box-shadow: var(--shadow-md); width: 100%; height: auto; }

.features { display: flex; gap: 20px; margin-top: 30px; }
.feat { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100px; }
.feat i { font-size: 24px; color: var(--primary-blue); background: #eef2ff; padding: 15px; border-radius: 50%; margin-bottom: 10px; }
.feat span { font-size: 0.8rem; font-weight: bold; color: var(--primary-blue); }

/* --- 9. FOOTER --- */
.main-footer {
    background: #2d3277;
    color: white; padding: 60px 0 20px; margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-family: var(--font-title); margin-bottom: 20px; color: var(--accent-yellow); }
.footer-col ul li { margin-bottom: 10px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; opacity: 0.7; }

/* --- 10. ANIMAÇÕES --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 10px 20px rgba(37,211,102,0.4); z-index: 2000;
    animation: pulse 2s infinite; 
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.reveal { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* RESPONSIVO */
@media (max-width: 768px) {
    .nav-links, .search-box { display: none; }
    .mobile-menu-icon { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    .features { justify-content: center; }
}