/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Slab", serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f7f7f7, #e3e3e3);
    color: #333;
}

header {
    background-color: #222;
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(to right, #000000, #0072ff);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: black;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #222;
    color: #ccc;
    margin-top: 4rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .services {
        flex-direction: column;
        align-items: center;
    }
}

nav {
    background-color: var(--cor-primaria);
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 20px;
}

nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #a9a9a9;
}

.contato-form {
    max-width: 600px;
    margin: 30px auto;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.contato-form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contato-form input,
.contato-form textarea {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
    border-color: #555;
    outline: none;
}

.contato-form button {
    background-color: black;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contato-form button:hover {
    background-color: #1cd344;
}

.sobre-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #fff;
}

.sobre-container h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.sobre-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

@media (max-width: 768px) {
    .sobre-container h2 {
        font-size: 28px;
    }

    .sobre-container p {
        font-size: 16px;
    }
}

.nossos {
    text-align: center;
    padding-top: 50px;
}

.boneco {
    text-align: center;
}

.banner3 {
    display: flex;
    justify-content: center;
    /* Centraliza na horizontal */
    align-items: center;
    max-width: 100%;
    height: auto;
}

section#garantia {
    background: white;
    max-width: 900px;
    margin: 30px auto;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

section#garantia:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

section#garantia h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: black;
}

section#garantia p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 16px;
}

section#garantia p strong {
    color: #222;
}

section#garantia a.btn-contato {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    background-color: #007bff;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

section#garantia a.btn-contato:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.6);
}

/* Responsivo para telas pequenas */
@media (max-width: 480px) {
    section#garantia {
        padding: 25px 20px;
        margin: 20px 15px;
    }

    section#garantia h2 {
        font-size: 1.8rem;
    }

    section#garantia p {
        font-size: 1rem;
    }

    section#garantia a.btn-contato {
        width: 100%;
        padding: 14px 0;
        font-size: 1.1rem;
    }
}

section#marcas {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    text-align: center;
}

section#marcas h2 {
    color: black;
    font-size: 2rem;
    margin-bottom: 25px;
}

.marcas-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    align-items: center;
    justify-items: center;
}

.marca-item {
    background: #f0f4ff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.2);
    transition: transform 0.3s ease;
    cursor: default;
}

.marca-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.marca-item img {
    max-width: 80px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
    filter: grayscale(0);
    transition: filter 0.3s ease;
}

.marca-item:hover img {
    filter: grayscale(0);
}

.marca-nome {
    font-weight: 600;
    font-size: 1rem;
    color: #0056b3;
    user-select: none;
}

/* Responsivo para mobile */
@media (max-width: 480px) {
    section#marcas {
        padding: 20px 15px;
    }

    .marca-item img {
        max-width: 60px;
    }

    .marca-nome {
        font-size: 0.9rem;
    }
}

.galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    justify-content: center;
}

.galeria img {
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.galeria img:hover {
    transform: scale(1.05);
}

.item {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
}

.container2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.flutuando {
    width: 200px;
    animation: flutuar 3s ease-in-out infinite;
}

@keyframes flutuar {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}


.localizacao {
    padding: 60px 20px;
    background: #f8f8f8;
    text-align: center;
}

.localizacao h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.localizacao p {
    color: #555;
}

.mapa {
    margin: 30px auto;
    max-width: 900px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.mapa iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

.endereco p {
    margin: 6px 0;
    font-size: 16px;
}


.popup-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 15px;
    max-width: 260px;
    font-family: Arial, sans-serif;
    z-index: 9999;
    animation: slideUp 0.5s ease;
}

.popup-whatsapp p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.popup-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.popup-whatsapp a:hover {
    background: #1ebe5d;
}

.popup-whatsapp img {
    width: 22px;
    height: 22px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Fundo escuro */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Caixa do popup */
.popup {
    background: #fff;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    border-radius: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    position: relative;
}

/* Botão fechar */
.popup button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #e63946;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
}

.popup h2 {
    margin-top: 0;
    color: #1d3557;
}