/* RESET BÁSICO */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html { scroll-behavior: smooth; }

/* HEADER & BANNER */
.header-container { width: 100%; }

.banner-topo {
    width: 100%;
    height: 300px;
    background: url('../images/banner.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container h1 { display: none; } 

.menu-branco {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.links-menu { display: flex; list-style: none; gap: 30px; height: 100%; align-items: center; }
.links-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.links-menu a:hover, .links-menu a.ativo { border-bottom: 3px solid #97ABF7; }

.menu-direita { position: absolute; right: 5%; display: flex; align-items: center; gap: 25px; }
.idiomas { display: flex; gap: 10px; }
.flag-icon { width: 24px; height: 16px; object-fit: cover; cursor: pointer; opacity: 0.6; transition: 0.3s; border: 1px solid #ddd; }
.flag-icon.active, .flag-icon:hover { opacity: 1; transform: scale(1.1); }
.login-icon { width: 18px; cursor: pointer; opacity: 0.7; }
.login-icon:hover { opacity: 1; }

/* SEÇÕES GERAIS */
section { padding: 80px 5%; }
h2 { text-align: center; margin-bottom: 40px; font-size: 2.5rem; color: #15203F; }

/* NOVA SESSÃO HOME */
.secao-home { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 50px; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding-top: 60px;
}
.home-imagem { flex: 1; display: flex; justify-content: flex-end; }
.home-texto { flex: 1; }
.home-texto h2 { text-align: left; margin-bottom: 20px; color: #15203F; }
.home-texto p { font-size: 1.15rem; line-height: 1.7; color: #555; }

.img-mecanico { 
    max-width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

/* SESSÃO SERVIÇOS EM CARDS */
.secao-servicos-cards { background-color: #f4f4f4; }
.cards-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    max-width: 1200px; 
    margin: 0 auto;
}
.card-item { 
    background: white; 
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.card-item:hover { transform: translateY(-5px); }
.card-item img { width: 60px; height: 60px; margin-bottom: 20px; }
.card-item h3 { margin-bottom: 15px; color: #15203F; text-transform: uppercase; font-size: 1.1rem; }
.card-item ul { list-style: none; text-align: left; }
.card-item li { margin-bottom: 8px; font-size: 0.95rem; color: #666; display: flex; align-items: center; }
.card-item span { color: #97ABF7; margin-right: 10px; font-weight: bold; }

/* AGENDAMENTO FULL WIDTH */
.secao-agendamento-full { background: white; border-top: 1px solid #eee; }
.container-pequeno { max-width: 800px; margin: 0 auto; }

/* FORMULÁRIOS */
.form-padrao { width: 100%; display: flex; flex-direction: column; gap: 15px; }
.input-group { display: flex; gap: 15px; }
.form-padrao input, .form-padrao textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; outline-color: #97ABF7; }
.btn-primario { padding: 15px; border: none; background: #97ABF7; color: white; font-size: 1.1rem; cursor: pointer; border-radius: 5px; font-weight: bold; transition: 0.3s; width: 100%; }
.btn-primario:hover { opacity: 0.8; }

/* CARROSSEL E CARD */
.secao-aluguel { background: #f9f9f9; padding-top: 80px; }
.desc-aluguel { text-align: center; margin-bottom: 40px; font-size: 1.1rem; color: #555; }
.carrossel-container { display: flex; align-items: center; position: relative; max-width: 1050px; margin: 0 auto; }
.carrossel-wrapper { display: flex; overflow-x: auto; scroll-behavior: smooth; gap: 20px; padding: 10px; scrollbar-width: none; }
.carrossel-wrapper::-webkit-scrollbar { display: none; }

.card-carro { background: white; border: 1px solid #eee; border-radius: 8px; min-width: 320px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); overflow: hidden; display: flex; flex-direction: column; }
.card-img-wrapper { position: relative; height: 200px; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.card-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { color: #15203F; font-size: 1.2rem; margin-bottom: 15px; text-align: left; }

.carro-infos-grid { display: flex; justify-content: space-between; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 15px 0; margin-bottom: 15px; }
.info-item { display: flex; flex-direction: column; align-items: center; flex: 1; }
.info-item.border-sides { border-left: 1px solid #eee; border-right: 1px solid #eee; }
.info-item img { width: 20px; margin-bottom: 5px; opacity: 0.7; }
.info-label { font-size: 0.65rem; color: #999; text-transform: uppercase; margin-bottom: 3px; }
.info-value { font-size: 0.9rem; font-weight: bold; color: #15203F; }

.card-footer { margin-top: auto; }
.preco-card { font-size: 1.2rem; font-weight: bold; color: #15203F; text-align: left; margin-bottom: 15px; }
.btn-mais-info { background: #333; color: white; border: none; padding: 12px; cursor: pointer; border-radius: 4px; width: 100%; font-weight: bold; transition: 0.3s; }
.btn-mais-info:hover { background: #111; }

.btn-scroll { background: rgba(151, 171, 247, 0.3); color: white; border: none; cursor: pointer; position: absolute; z-index: 10; font-size: 1.5rem; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.btn-scroll:hover { background: rgba(151, 171, 247, 0.5); }
.btn-scroll.left { left: -60px; }
.btn-scroll.right { right: -60px; }

/* MODAL */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; }
.modal-content { background: white; border-radius: 8px; width: 95%; max-width: 950px; position: relative; overflow: hidden; max-height: 90vh; overflow-y: auto; }
.close { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: white; z-index: 10; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

.modal-galeria-top { position: relative; width: 100%; height: 350px; background: #000; }
.modal-galeria-top img { width: 100%; height: 100%; object-fit: cover; }
.btn-galeria { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(151, 171, 247, 0.8); color: white; border: none; padding: 10px 15px; cursor: pointer; font-size: 1.5rem; border-radius: 4px; }
.btn-galeria.prev { left: 20px; }
.btn-galeria.next { right: 20px; }

.modal-body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 30px; }
.modal-detalhes h3 { color: #15203F; font-size: 1.5rem; margin-bottom: 15px; text-align: left; }
.info-box-cinza { background: #f9f9f9; border-radius: 8px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; font-size: 0.9rem; color: #333; }
.bloco-descricao h4 { border-left: 4px solid #97ABF7; padding-left: 10px; color: #15203F; margin-bottom: 10px; text-transform: uppercase; font-size: 0.95rem; }
.bloco-descricao p { color: #666; line-height: 1.6; font-size: 0.9rem; }

.form-grid-modal { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group-modal { display: flex; flex-direction: column; }
.form-group-modal.full-width { grid-column: span 2; }
.form-group-modal label { font-size: 0.8rem; font-weight: bold; color: #333; margin-bottom: 5px; }
.form-group-modal input { padding: 10px; border: 1px solid #ddd; border-radius: 4px; outline-color: #97ABF7; }

/* BOTÃO UNIFICADO DO MODAL */
.btn-enviar-solicitacao {
    background-color: #15203F;
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(21, 32, 63, 0.2);
}

.btn-enviar-solicitacao:hover {
    background-color: #97ABF7;
    transform: translateY(-2px);
}

/* FOOTER SLIM */
.rodape-contato { 
    background: #15203F; 
    border-top: 8px solid #97ABF7;
    color: white; 
    padding: 40px 5%;
}

.rodape-container { display: flex; gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto; }
.rodape-mapa { flex: 3; } 
.rodape-mapa iframe { border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); width: 100%; } 

.rodape-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rodape-info h3 {
    color: #97ABF7;
    font-size: 1.2rem;
    margin-bottom: 12px;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contato-item { display: flex; align-items: center; gap: 15px; }
.contato-item img { width: 18px; height: 18px; object-fit: contain; }
.contato-item p { margin: 0; font-size: 0.95rem; color: #ffffff; }

/* ============================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ============================================================ */
@media (max-width: 992px) {
    /* Menu e Bandeiras */
    .menu-branco {
        flex-direction: column;
        height: auto;
        padding: 15px 10px;
        gap: 15px;
    }
    .links-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .menu-direita {
        position: static; /* Isso é o que matava a sobreposição! */
        justify-content: center;
        width: 100%;
    }

    /* Home e Rodapé */
    .secao-home {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .home-texto h2 { text-align: center; }
    .rodape-conwtainer { flex-direction: column; text-align: center; }
    .rodape-info { align-items: center; }
    
    /* Inputs Lado a Lado do Agendamento */
    .input-group { flex-direction: column; }
    
    /* Modal */
    .modal-body-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
    /* Ajustes Finos para Celulares Pequenos */
    .links-menu a {
        font-size: 0.75rem;
        padding: 5px;
    }
    .form-grid-modal { grid-template-columns: 1fr; }
    .form-group-modal.full-width { grid-column: span 1; }
    .modal-galeria-top { height: 250px; }
}