/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Garante que padding e border sejam incluídos no tamanho total */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Stack de fontes sans-serif */
}

/* Estilização básica do body */
body {
    background-color: #f5f5f5;
    /* Fundo cinza claro */
    color: #333;
    /* Cor de texto padrão */
    line-height: 1.6;
    /* Altura da linha para melhor legibilidade */
}

/* Header fixo no topo */
header {
    background-color: #1a237e;
    /* Azul escuro como cor principal */
    color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    /* Garante que fique acima de outros elementos */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Sombra sutil */
}

/* Container do header com flexbox */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background-color: #1a237e;
    /* fundo azul */
}

.logo-social-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons-top {
    display: flex;
    gap: 10px;
}

.social-icons-top .icon {
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icons-top .icon:hover {
    background-color: #c5cae9;
}

/* Estilização do logo */
.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo span {
    color: #ffeb3b;
    /* Amarelo para destaque */
}

/* Navegação com transição */
nav {
    transition: left 0.3s ease;
    /* Animação suave para menu mobile */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    /* Transição suave na cor */
}

nav ul li a:hover {
    color: #ffeb3b;
    /* Amarelo ao passar o mouse */
}

/* Botão do menu mobile (escondido por padrão) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    margin-top: 60px;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 120px;
    /* Compensa o header fixo */
    padding-bottom: 40px;
    /* Garante espaço para o botão */
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("https://formulabaterias.com.br/wp-content/uploads/2025/05/FACHA-LOJA-REDUZIDA.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 60% center;
    /* <<< foco mais à direita */
    z-index: 0;
}



.hero>.container {
    position: relative;
    z-index: 1;
}

/* Títulos e textos do hero */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* Estilo de botões genéricos */
.btn {
    display: inline-block;
    background: #ffeb3b;
    /* Amarelo vibrante */
    color: #333;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    /* Transição suave para todas as propriedades */
}

.btn:hover {
    background: #fdd835;
    /* Amarelo mais claro no hover */
    transform: translateY(-3px);
    /* Elevação sutil */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    /* Sombra ao passar o mouse */
}

/* Seção de features */
.features {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #1a237e;
    /* Azul escuro */
}

/* Grid responsivo para features */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    /* Elevação ao hover */
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1a237e;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #1a237e;
}

/* Seção de produtos */
/* Seção de produtos */
.products {
    background-color: #f0f0f0;
    /* Fundo cinza claro */
    padding: 5rem 1rem;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Container do carrossel */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
    /* Habilita scroll horizontal */
    padding: 0 15px;
    -webkit-overflow-scrolling: touch;
    /* Suaviza scroll em dispositivos iOS */
}

/* Carrossel com comportamento de scroll horizontal */
.product-carousel {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
    /* Espaçamento entre cards */
    scroll-snap-type: x mandatory;
    /* Ativa snap no eixo X */
    overflow-x: hidden;
    /* Habilita scroll horizontal */
    scroll-behavior: smooth;
    /* Scroll suave */
}

/* Ajuste dos cards de produto */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 280px;
    /* Largura mínima do card */
    width: calc(33.33% - 20px);
    /* Mostra aproximadamente 3 produtos visíveis */
    flex-shrink: 0;
    /* Impede que os cards encolham */
    scroll-snap-align: start;
    /* Alinha o snap ao início do card */
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 200px;
    width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background-color: #f9f9f9;
}

/* Mantém o restante como estava */
.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a237e;
}

.product-desc {
    margin-bottom: 1rem;
    color: #666;
}

/* Botões do carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1a237e;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.carousel-btn:hover {
    background: #ffeb3b;
    color: #333;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Indicadores do carrossel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.indicator.active {
    background: #1a237e;
}


.indicator {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.indicator.active {
    background: #1a237e;
}

/* Seção de depoimentos */
.testimonials {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: #1a237e;
}

/* Seção de serviços */
.services {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1a237e;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #1a237e;
}

.service-badge {
    display: inline-block;
    background: #ffeb3b;
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 1rem;
}

/* Seção de localização */
.location {
    background: #1a237e;
    color: white;
    padding: 5rem 1rem;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.location-info {
    flex: 1;
    min-width: 300px;
}

.location-map {
    flex: 1;
    min-width: 300px;
    min-height: 300px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-detail {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.location-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #ffeb3b;
    min-width: 30px;
    text-align: center;
}

.hours-badge {
    display: inline-block;
    background: #4caf50;
    /* Verde para horário */
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 1rem;
}

/* Call to Action */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/api/placeholder/1200/400') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #1a237e;
    color: white;
    padding: 3rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #ffeb3b;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #ffeb3b;
}

/* Links sociais */
.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: white;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.social-icon.facebook {
    background-image: url('https://cdn-icons-png.flaticon.com/512/733/733547.png');
}

.social-icon.instagram {
    background-image: url('https://cdn-icons-png.flaticon.com/512/733/733558.png');
}

.social-icon.youtube {
    background-image: url('https://cdn-icons-png.flaticon.com/512/1384/1384060.png');
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffeb3b;
    transform: translateY(-3px);
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 1.5rem 0;
    background: #111;
    color: #ddd;
    font-size: 0.9rem;
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    /* Verde do WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    /* Aumento ao hover */
}



/* Classes utilitárias */
.text-center {
    text-align: center;
}

.hero .btn {
    margin: 20px auto 0;
    display: inline-block;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
}


/* BOTAO BARRA */
.bottom-fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
}

.bottom-fixed-buttons a {
    flex: 1;
    text-align: center;
    padding: 1rem 0.5rem;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp {
    background: #25d366;
}

.btn-whatsapp:hover {
    background: #1ebe5b;
}

.btn-call {
    background: #1976d2;
}

.btn-call:hover {
    background: #145ca1;
}


@media screen and (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #1a237e;
        padding: 1rem;
        z-index: 101;
        transition: right 0.5s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.1rem;
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        color: white;
        font-size: 1.2rem;
        text-decoration: none;
    }

    nav ul li a:hover {
        color: #ffeb3b;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        color: white;
        cursor: pointer;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .feature-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    .products-container {
        width: 100%;
        padding: 0 15px;
    }

    .carousel-container {
        overflow-x: auto;
        padding: 0 15px;
        margin: 0;
        position: relative;
    }

    .product-carousel {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        scroll-behavior: smooth;
        gap: 15px;
    }

    .product-card {
        min-width: 85%;
        width: 85%;
        flex-shrink: 0;
        scroll-snap-align: start;
        margin-right: 15px;
    }

    .product-img {
        height: 200px;
        object-fit: contain;
        background-color: #f9f9f9;
    }

    .product-info .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .carousel-btn {
        display: block;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .carousel-indicators {
        display: flex;
    }
}