* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.7;
    background-color: #fafafa;
    color: #333;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    background: #ad0000;
    color: white;
    padding: 20px;
}

header h1 {
    text-align: center;
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #f0bebe;
}

.banner {
    background: url('https://via.placeholder.com/1200x400?text=Banner+Locadora') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.banner h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.banner p {
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #ad0000;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s;
}

.btn:hover {
    background: #d15a4a;
    transform: translateY(-3px);
}

.veiculos {
    padding: 60px 0;
    background: #f9f9f9;
}

.veiculos h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 20px 0 10px;
    font-size: 1.5rem;
}

.card p {
    margin: 0 15px 20px;
    color: #666;
}

footer {
    background: #ad0000; /* Usando seu vermelho padrão */
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 1rem;
}

footer a {
    color: #fff; /* Link branco para combinar com o fundo do footer */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-decoration 0.3s ease; /* animação suave */
}

footer a:hover {
    color: #d15a4a; /* Uma variação de vermelho quando passar o mouse */
    text-decoration: underline;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo img {
    height: 120px;
}

.detalhes-carro {
    padding: 60px 0;
}

.carro-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.imagem-principal img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
}

.descricao {
    max-width: 500px;
}

.descricao h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.descricao p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.descricao .btn {
    margin-top: 20px;
}

/* Botão Flutuante WhatsApp */
.whatsapp-button {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 100;
    border: none;
    background: none; /* Sem cor de fundo */
    padding: 0;
    transition: transform 0.2s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 60px;
    height: 60px;
}

/* Formulário de Contato */
form {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ad0000;
    background-color: #fff;
    outline: none;
}

button[type="submit"] {
    background-color: #ad0000;
    color: white;
    font-size: 1.1rem;
    border: none;
    padding: 14px 0;
    width: 100%;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #d15a4a;
}

.informacoes-contato {
    margin-top: 40px;
    text-align: center;
}

.informacoes-contato h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.informacoes-contato p {
    font-size: 1rem;
}

/* Seções Valores e Equipe */
.valores, .equipe {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

.valores div, .equipe div {
    flex: 1 1 300px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.equipe img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.equipe h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.equipe p {
    font-size: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .carro-info {
        flex-direction: column;
    }

    .whatsapp-button {
        left: 15px;
        bottom: 15px;
    }

    .equipe {
        flex-direction: column;
    }
}
