/* Importação da Fonte */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* --- Estilos Gerais (Mobile-First) --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding-top: 70px; /* Espaço para o menu fixo */
    background: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    margin: auto;
}

h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #1e3a5f;
}

.section-subtitle {
    text-align: center;
    margin: 0 auto 30px auto;
    color: #555;
    font-size: 1em;
}

section {
    padding: 40px 0;
}

img, iframe {
    max-width: 100%;
    height: auto;
}

/* --- Menu de Navegação --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

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

.navbar .logo {
    color: #0056b3;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
}

.menu-toggler {
    display: block;
    background: none;
    border: none;
    font-size: 1.8em;
    color: #1e3a5f;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.nav-links.active {
    max-height: 500px; /* Altura suficiente para os links */
    padding-bottom: 15px;
    border-top: 1px solid #eee;
}

.nav-links li {
    padding: 15px 0;
    width: 100%;
    text-align: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
}

.nav-phone {
    display: inline-block;
    margin-top: 10px;
    background: #0056b3;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 20px;
}

/* --- Seção Início (Hero Banner) --- */
.hero-banner {
    background: url('img/bannerMS.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 60px 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 { font-size: 2em; }
.hero-content h2 { font-size: 1.2em; color: #eee; }
.hero-content p { font-size: 1em; margin-bottom: 30px; }

.cta-button {
    background: #25d366;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    transition: transform 0.3s;
}
.cta-button:hover { transform: scale(1.05); }

/* --- Seção Serviços --- */
.servicos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
}

.servico-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.servico-item i { font-size: 2.5em; color: #0056b3; margin-bottom: 15px; }
.servico-item h3 { font-size: 1.3em; margin-bottom: 10px; color: #1e3a5f; }

/* --- Seção Sobre --- */
#sobre { background: #fff; text-align: center; }
#sobre p { max-width: 600px; margin: 0 auto; }

/* --- SeÃ§Ã£o Contato --- */
#contato {
    background: #fff;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* ComeÃ§a com 1 coluna no mobile */
    gap: 30px;
    margin-bottom: 40px;
}

.loja-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.loja-card h3 {
    font-size: 1.6em;
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.4em;
    color: #0056b3;
    margin-right: 15px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.info-item p {
    margin: 0;
    font-size: 1.1em;
}
.info-item a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
.info-item a:hover {
    color: #0056b3;
}

.horario-atendimento {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1em;
}

.horario-atendimento i {
    color: #0056b3;
    font-size: 1.5em;
    margin-right: 15px;
}

/* Ajuste para telas maiores */
@media (min-width: 768px) {
    .contato-wrapper {
        grid-template-columns: 1fr 1fr; /* Duas colunas em telas maiores */
    }
}

/* --- Balão WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 55px; height: 55px;
    bottom: 20px; right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    font-size: 28px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Rodapé --- */
footer {
    background: #1e3a5f;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}
footer a { color: #4db8ff; text-decoration: none; }

/* --- Media Query para Telas Maiores (Tablets e Desktops) --- */
@media (min-width: 768px) {
    h2 { font-size: 2.2em; }
    .section-subtitle { font-size: 1.1em; }

    .menu-toggler {
        display: none; /* Esconde o hambúrguer em telas maiores */
    }

    .nav-links {
        position: static;
        flex-direction: row;
        max-height: none;
        width: auto;
        background: none;
        overflow: visible;
    }
    
    .nav-links.active {
        padding-bottom: 0;
        border-top: none;
    }

    .nav-links li {
        padding: 0 15px;
        width: auto;
    }

    .nav-phone {
        margin-top: 0;
        margin-left: 15px;
    }

    .hero-content h1 { font-size: 2.8em; }
    .hero-content h2 { font-size: 1.8em; }
    .hero-content p { font-size: 1.2em; }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contato-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .servicos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
