@charset "UTF-8";
@import url('fonts.css');

/* --- ESTILOS TOTAIS / BASE --- */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
}

header {
    width: 100%;
    background-color: #162fa1;
    border-bottom: 2px solid #bb1212;
    padding: 10px 0;
    z-index: 1000;
}

.header-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Mobile: Logo em cima, menu embaixo */
    align-items: flex-start;
}

.logo img {
    height: 50px; /* Ajustado para mobile */
}

/* --- MENU (MOBILE FIRST) --- */
nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
}

.menu {
    width: 100%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu a, .menu-button {
    display: block;
    width: 100%;
    font-weight: bold;
    padding: 15px 10px;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

/* Dropdown Mobile: Empurra o conteúdo para baixo */
.menu-dropdown {
    display: none;
    background-color: #f9f9f9;
    width: 100%;
}

.menu-dropdown a {
    display: block;
    padding: 12px 30px; /* Recuo para sub-menu */
    color: #333 !important;
    border-bottom: 1px solid #eee;
}

/* Exibição do Dropdown no Hover */
.menu:hover .menu-dropdown {
    display: block;
}

/* --- CONTEÚDO PRINCIPAL --- */
main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0; 
    box-sizing: border-box;
}

.content {
    width: 95%;
    max-width: 1200px;
    min-height: 75vh;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin-top: 5px;
}

.content h1 {
    color: #162fa1;
    margin-top: 0;
}
.content h3 {
    color: #162fa1;
    margin-top: 0;
}
.content p {
    color: #333;
    line-height: 1.6;
}

/* --- FOOTER --- */
footer {
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
    border-top: 2px solid #bb1212;
    background-color: #162fa1;
    color: #fff;
    padding: 15px;
    text-align: center;
}

/* --- AJUSTES PARA DESKTOP (TELAS GRANDES) --- */
@media (min-width: 769px) {
    .header-container {
        flex-direction: row; /* Logo e Menu na mesma linha */
        align-items: center;
        justify-content: space-between;
    }

    .logo img {
        height: 60px;
    }

    nav {
        flex-direction: row;
        width: auto;
        margin-top: 0;
    }

    .menu {
        width: auto;
        border-bottom: none;
    }

    .menu a, .menu-button {
        width: auto;
        padding: 10px 15px;
    }

    /* Dropdown Desktop: Flutuante */
    .menu-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        width: 200px;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border: 1px solid #ccc;
    }

    .menu-dropdown a {
        padding: 12px 15px;
    }

    main {
        padding: 30px 0;
    }
}
.form-group { margin-bottom: 15px; }
        label { display: block; margin-bottom: 5px; }
        input, textarea { width: 100%; padding: 8px; max-width: 400px;
}
#btn-enviar {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 4px;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    #btn-enviar:hover:not(:disabled) {
        background-color: #0056b3;
    }

    /* Estilo automático quando o atributo 'disabled' for aplicado pelo JS */
    #btn-enviar:disabled {
        background-color: #6c757d !important;
        cursor: not-allowed;
        transform: scale(0.98);
    }
	
.linkimportante {
	        padding: 1rem 2rem;
            background-color: #f2f2f2;
            margin-bottom: 2rem;
            border-radius: 10px;
            border: 1px solid #dedede;
}
.linkimportante a {
			color: #bb1212;
}		
.linkimportante a:hover {
			color: #162fa1;
}	

.box-lojas {
    padding: 1rem 2rem;
    background-color: #f2f2f2;
    margin-bottom: 2rem;
    border-radius: 10px;
    border: 1px solid #dedede;
}

/* Container para alinhar Mapa e Dados */
.container-flex {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar linha no mobile */
    gap: 20px;      /* Espaçamento entre o mapa e os dados */
}

/* Estilo do Mapa */

#maps {
    flex: 1;
    min-width: 300px;
    height: 350px; /* Defina uma altura base para o desktop */
}

/* IMPORTANTE: Garante que o iframe ocupe todo o espaço da div #maps */
#maps iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: 8px; /* Opcional: para combinar com os info-boxes */
}

/* Estilo da Div de Dados */
#dadosloja {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaçamento entre os 3 boxes internos */
}

/* Boxes de informação individuais */
.info-box {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #007bff; /* Um detalhe visual opcional */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.info-box strong {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.info-box span {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* Ajuste fino para telas pequenas */
@media (max-width: 768px) {
    .box-lojas {
        padding: 1rem;
    }
    
    #maps {
        height: 250px; /* Reduz altura do mapa no celular */
    }
}