/* Variáveis de Cores (Estilo Moura) */
:root {
    --moura-blue: #003366;       /* Azul profundo corporativo */
    --moura-blue-dark: #002244;  /* Azul mais escuro para fundos */
    --moura-yellow: #FFCC00;     /* Amarelo vibrante */
    --moura-yellow-hover: #E6B800;
    --text-dark: #333333;
    --text-light: #F8FAFC;
    --bg-light: #F3F4F6;
    --white: #FFFFFF;
    --whatsapp-green: #25D366;
}

/* Reset e Fontes */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-light); color: var(--text-dark); overflow-x: hidden; padding-top: 40px; } 
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Barra Superior Fixa */
.top-bar { 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; 
    background-color: var(--moura-blue-dark); color: var(--white);
    padding: 8px 0; font-size: 14px; font-weight: 600;
}
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--moura-yellow); text-decoration: none; transition: 0.3s; }
.top-bar a:hover { color: var(--white); }
.top-bar i { color: var(--moura-yellow); margin-right: 5px; }
.top-bar-msg { display: none; } /* Mostra no desktop */

@media (min-width: 768px) { .top-bar-msg { display: block; } }

/* Header */
header { background-color: var(--white); padding: 15px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.btn-outline-yellow {
    border: 2px solid var(--moura-blue); color: var(--moura-blue);
    padding: 10px 20px; border-radius: 8px; font-weight: bold; text-decoration: none;
    transition: all 0.3s ease; display: none;
}
.btn-outline-yellow:hover { background-color: var(--moura-blue); color: var(--white); }
@media (min-width: 768px) { .btn-outline-yellow { display: inline-flex; align-items: center; gap: 8px; } }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 34, 68, 0.85) 100%), url('../img/bateria_carro1.webp');
    background-size: cover; background-position: center; padding: 80px 0; color: var(--text-light);
}
.hero-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 300px; }
.hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.highlight-yellow { color: var(--moura-yellow); }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 30px; line-height: 1.6; color: #E2E8F0; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); }

/* Botões Principais */
.btn-primary-yellow {
    background-color: var(--moura-yellow); color: var(--moura-blue-dark);
    padding: 15px 30px; border-radius: 8px; font-size: 1.2rem; font-weight: bold;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3); transition: 0.3s;
}
.btn-primary-yellow:hover { background-color: var(--moura-yellow-hover); transform: translateY(-3px); }

/* Diferenciais (Features Bar) */
.features { background-color: var(--white); padding: 30px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: relative; z-index: 10; margin-top: -30px; border-radius: 12px; max-width: 1160px; margin-left: auto; margin-right: auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 15px; }
.feature-item i { font-size: 2rem; color: var(--moura-blue); background: #Eef2F6; padding: 15px; border-radius: 50%; }
.feature-item h2 { color: var(--moura-blue-dark); font-size: 1.1rem; margin-bottom: 3px; }
.feature-item p { font-size: 0.9rem; color: #666; }

/* Seção de Produtos */
.products-section { padding: 80px 20px; text-align: center; }
.section-header h2 { color: var(--moura-blue-dark); font-size: 2.2rem; margin-bottom: 10px; }
.divider-yellow { width: 80px; height: 4px; background-color: var(--moura-yellow); margin: 0 auto 40px; border-radius: 2px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.card {
    background: var(--white); border-radius: 12px; padding: 30px 20px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); transition: transform 0.3s;
    display: flex; flex-direction: column; align-items: center; border-bottom: 5px solid var(--moura-blue);
}
.card:hover { transform: translateY(-10px); border-bottom-color: var(--moura-yellow); }
.card-img-wrapper { height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card img { max-height: 100%; width: auto; }
.card h3 { color: var(--moura-blue); font-size: 1.4rem; margin-bottom: 15px; }
.card p { font-size: 1rem; color: #555; margin-bottom: 25px; flex-grow: 1; }
.btn-card {
    background-color: var(--moura-blue); color: var(--white); width: 100%;
    padding: 12px; border-radius: 6px; text-decoration: none; font-weight: bold; transition: 0.3s;
}
.btn-card:hover { background-color: var(--moura-yellow); color: var(--moura-blue-dark); }

/* Marcas */
.brands-section { background-color: var(--white); padding: 50px 0; text-align: center; }
.brands-section h2 { color: var(--moura-blue); margin-bottom: 30px; }
.brands-logos-container { overflow: hidden; white-space: nowrap; }
.brands-logos-track { display: inline-flex; }
.logos-slide { display: inline-flex; align-items: center; gap: 80px; padding-right: 80px; animation: slide 20s linear infinite; }
.logos-slide img { height: 60px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: 0.3s; }
.logos-slide img:hover { filter: grayscale(0%); opacity: 1; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Mapa */
.map-section { height: 400px; width: 100%; }
.map-section iframe { width: 100%; height: 100%; border: none; }

/* Footer */
.site-footer { background-color: var(--moura-blue-dark); color: var(--text-light); padding-top: 60px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-logo { max-width: 220px; height: auto; background: var(--white); padding: 10px; border-radius: 8px; margin-bottom: 20px; }
header img { height: auto; }
.footer-col h3 { color: var(--moura-yellow); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.footer-col i { color: var(--moura-yellow); }
.payment-icons { font-size: 2rem; margin-top: 15px; display: flex; gap: 10px; color: var(--white); }

.footer-bottom { background-color: #001122; text-align: center; padding: 20px; font-size: 0.9rem; color: #8899AA; }
.footer-bottom a { color: var(--moura-yellow); text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }
.env-info { margin-top: 10px; font-size: 0.8rem; }

/* Botões Flutuantes (Rodapé) */
.floating-btn {
    position: fixed; bottom: 20px; width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-decoration: none; z-index: 1000; transition: 0.3s;
}
.btn-left { left: 20px; background-color: var(--moura-blue); color: var(--white); }
.btn-right { right: 20px; background-color: var(--whatsapp-green); color: var(--white); animation: pulse 2s infinite; }
.floating-btn:hover { transform: scale(1.1); }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Ajustes para Celulares */
@media (max-width: 768px) {
    .header-content { justify-content: center; }
    
    /* Correção do Banner Principal (Texto em cima, Imagem embaixo) */
    .hero-wrapper { 
        flex-direction: column; 
        text-align: center; 
        gap: 10px; 
    }
    .hero-text { 
        min-width: 100%; 
        margin-bottom: 10px; 
    }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-image { 
        width: 100%; 
        margin-top: 10px; 
    }
    .hero-image img { 
        width: 90%; 
        max-width: 350px; 
        display: block; 
        margin: 0 auto; 
    }

    /* Outros ajustes mobile */
    .btn-primary-yellow { width: 100%; justify-content: center; }
    .features { margin: 20px; padding: 20px; }
    .feature-item { flex-direction: column; text-align: center; }
    .footer-bottom { padding-bottom: 90px; }
}

/* Botão do Instagram no Header */
.btn-instagram {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Aplica o tamanho e o gradiente DIRETAMENTE no ícone */
.btn-instagram i {
    font-size: 2.8rem; /* Aumentei um pouco para ficar proporcional ao botão do WhatsApp */
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-instagram:hover {
    transform: scale(1.15); 
}

/* Ajuste no Mobile para o grupo de botões do header */
@media (max-width: 768px) {
    header .container div {
        margin-top: 15px;
        justify-content: center;
    }
}