body {
    font-family: Arial, sans-serif;
    background: #000;
    margin:0;
    overflow-x:hidden;
}

.hero-banner{
    width:100vw;
    margin-left:calc(50% - 50vw);
    overflow:hidden;
    
}

.hero-banner img{
    display:block;
    width:100%;
    height:320px;
    object-fit:cover;
}

@media (max-width:768px){
    .hero-banner img{
        height:220px;
    }
}

.menu-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 14px 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.menu-links {
    display: flex;
    gap: 30px;
}

.menu-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.2s;
}

.menu-links a:hover {
    color: #d9272e;
}

.menu-icones {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icone-social {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: 0.2s;
}

.icone-social:hover {
    background: #d9272e;
    color: white;
}

.icone-login {
    border: 1px solid rgba(255,255,255,0.3);
}

h1 {
    text-align: center;
    color: red
}

.grid-veiculos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.foto-card {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.marca {
    color: #888;
    font-size: 14px;
}

.preco {
    font-weight: bold;
    color: #d9272e;
    font-size: 18px;
    margin: 10px 0;
}

.btn-visualizar {
    display: inline-block;
    background: black;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
}

.filtro {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filtro select,
.filtro input {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.filtro button {
    padding: 8px 20px;
    background: #d9272e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.filtro button:hover {
    background: #b81f25;
}

.voltar {
    display: inline-block;
    margin: 20px;
    color: #333;
    text-decoration: none;
}

.pagina-veiculo {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.8fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    align-items: stretch;
}

/* Coluna 1 - Galeria */
.coluna-galeria {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.foto-principal {
    width: 100%;
    border-radius: 6px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.miniaturas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.miniatura {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: 0.2s;
}

.miniatura:hover {
    opacity: 1;
}

.miniatura.ativa {
    border-color: #d9272e;
    opacity: 1;
}

/* Coluna 2 - Dados */
.coluna-dados {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    
}

.coluna-dados .card-dados:last-child {
    flex: 1;
}

.card-dados {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-dados h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.linha-dado {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f4;
    font-size: 14px;
}

.linha-dado:last-child {
    border-bottom: none;
}

.label-dado {
    color: #888;
}

.valor-dado {
    font-weight: bold;
    color: #333;
}

.texto-descricao {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* Coluna 3 - Preço e contato */
.coluna-contato {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.coluna-contato .card-proposta {
    flex: 1;
}

.card-preco {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.rotulo-preco {
    display: block;
    color: #888;
    font-size: 13px;
    margin-bottom: 5px;
}

.valor-preco {
    display: block;
    font-size: 26px;
    font-weight: bold;
    color: #d9272e;
}

.btn-whatsapp {
    display: block;
    text-align: center;
    background: #25D366;
    color: white;
    padding: 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-whatsapp:hover {
    background: #1ebe57;
}

/* Responsivo - empilha em telas menores */
@media (max-width: 900px) {
    .pagina-veiculo {
        grid-template-columns: 1fr;
    }
}

.form-upload {
    max-width: 500px;
    margin: 20px auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.form-upload label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

.form-upload select,
.form-upload input[type="file"] {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.form-upload button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background: #d9272e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.form-upload button:hover {
    background: #b81f25;
}

.mensagem-upload {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.form-cadastro {
    max-width: 600px;
    margin: 20px auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.form-cadastro label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

.form-cadastro input,
.form-cadastro select,
.form-cadastro textarea {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.form-cadastro button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #d9272e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.form-cadastro button:hover {
    background: #b81f25;
}

.card-proposta {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-proposta h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.card-proposta {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-proposta h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.card-proposta input[type="text"],
.card-proposta input[type="email"],
.card-proposta input[type="tel"],
.card-proposta textarea {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.checkbox-linha {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.checkbox-linha input {
    margin-top: 3px;
}

.card-proposta button {
    display: block;
    width: 100%;
    padding: 12px;
    background: #d9272e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.card-proposta button:hover {
    background: #b81f25;
}

.mensagem-proposta {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
}

.form-login {
    max-width: 350px;
    margin: 60px auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.form-login label {
    display: block;
    margin: 12px 0 5px;
    font-weight: bold;
    font-size: 14px;
}

.form-login input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-login button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #d9272e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.mensagem-erro {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
}

.topo-painel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    color: white;
    padding: 15px 30px;
}

.topo-painel a {
    color: white;
    text-decoration: none;
}

.link-sair {
    background: #d9272e;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
}

.link-sair:hover {
    background: #b81f25;
}

.menu-painel {
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
}

.menu-painel h1 {
    margin-bottom: 30px;
    font-size: 26px;
}

.cards-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-menu {
    background: white;
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.2s;
    border-left: 4px solid #d9272e;
}

.card-menu:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.icone-menu {
    font-size: 24px;
}

.lista-propostas {
    max-width: 700px;
    margin: 30px auto;
}

.card-proposta-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.topo-proposta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.data-proposta {
    color: #888;
    font-size: 12px;
}

.veiculo-interesse {
    color: #d9272e;
    font-weight: bold;
    font-size: 14px;
    margin: 5px 0;
}

.dados-contato {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #555;
    margin: 10px 0;
}

.msg-proposta {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    margin: 10px 0;
}

.badge-ofertas {
    font-size: 12px;
    color: #555;
}

.voltar-painel {
    font-size: 14px;
}

.lista-gerenciar {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.cabecalho-gerenciar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-novo {
    background: #d9272e;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.btn-novo:hover {
    background: #b81f25;
}

.tabela-gerenciar {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tabela-gerenciar th {
    background: #1a1a1a;
    color: white;
    text-align: left;
    padding: 12px 15px;
    font-size: 13px;
}

.tabela-gerenciar td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.badge-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.badge-disponivel {
    background: #d4edda;
    color: #155724;
}

.badge-vendido {
    background: #f8d7da;
    color: #721c24;
}

.acoes-tabela {
    display: flex;
    gap: 8px;
}

.btn-acao {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.btn-editar {
    background: #333;
    color: white;
}

.btn-editar:hover {
    background: #555;
}

.btn-vender {
    background: #d9272e;
    color: white;
}

.btn-vender:hover {
    background: #b81f25;
}

.btn-reativar {
    background: #28a745;
    color: white;
}

.btn-reativar:hover {
    background: #1e7e34;
}

.btn-excluir {
    background: #6c1a1a;
    color: white;
}

.btn-excluir:hover {
    background: #4a1010;
}

.grid-fotos-editar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin: 10px 0 20px;
}

.foto-editar-item {
    text-align: center;
}

.foto-editar-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 5px;
}

.checkbox-foto {
    font-size: 11px;
    color: #d9272e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.paginacao {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.link-pagina {
    padding: 8px 14px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

.link-pagina:hover {
    background: #f4f4f4;
}

.pagina-ativa {
    background: #d9272e;
    color: white;
    border-color: #d9272e;
}

.whatsapp-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.2s;
}

.whatsapp-flutuante:hover {
    transform: scale(1.08);
    background: #1ebe57;
}

@media (max-width: 768px) {
    .whatsapp-flutuante {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}