@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;600;700&display=swap');

* {
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background-color: black;
    color: white;
    background-image: url('../img/lojaqb.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    z-index: -1;
}

header {
    background-color: black;
    padding: 15px 0;
}

.divHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    width: 120px;
    height: auto;
}

nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

nav a {
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff3c00;
}

.titulo {
    text-align: center;
    margin: 40px 0;
}

.titulo h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 2px;
    color: #ff3c00;
}

.container-contato {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 60px 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.formulario {
    background-color: #111;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 60, 0, 0.3);
    width: 100%;
    max-width: 450px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

form label {
    font-weight: 600;
    color: #ccc;
}

input, textarea {
    padding: 10px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-color: #1f1f1f;
    color: white;
    border: 1px solid #333;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #ff3c00;
}

input.invalido, textarea.invalido {
    border-color: #ff3c00;
    background-color: rgba(255, 60, 0, 0.05);
}

input.valido, textarea.valido {
    border-color: #25D366;
}

.erro-msg {
    color: #ff3c00;
    font-size: 13px;
    margin-top: -8px;
    display: block;
    min-height: 18px;
}

.mensagem-sucesso {
    background-color: rgba(37, 211, 102, 0.15);
    border: 1px solid #25D366;
    color: #25D366;
    padding: 14px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    animation: aparecer 0.4s ease-out;
}

.mensagem-sucesso i {
    margin-right: 8px;
}

@keyframes aparecer {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    background-color: #ff3c00;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #cc3000;
}

.imagem img {
    width: 450px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.footer {
    background-color: #111;
    color: white;
    padding: 40px 20px 20px;
}

.footer_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer h2 {
    color: #ff3c00;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #ff3c00;
}

.footer_bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 14px;
    color: #aaa;
}

.footer_links a {
    position: relative;
}

.footer_links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #ff3c00;
    left: 0;
    bottom: -3px;
    transition: width 0.3s;
}

.footer_links a:hover::after {
    width: 100%;
}

.footer_container > div {
    transition: transform 0.3s;
}

.footer_container > div:hover {
    transform: translateY(-5px);
}

.icone {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.icone i {
    margin-right: 8px;
    transition: color 0.3s, text-shadow 0.3s;
}

.icone:hover {
    color: #ff3c00;
}

.icone:hover i {
    color: #ff3c00;
    text-shadow:
        0 0 5px #ff3c00,
        0 0 10px #ff3c00,
        0 0 20px #ff3c00;
}

@media (max-width: 992px) {
    .footer_container {
        grid-template-columns: repeat(2, 1fr);
    }

    nav a {
        font-size: 22px;
    }

    nav ul {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .divHeader {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: row;
        gap: 20px;
    }

    .titulo h1 {
        font-size: 36px;
    }

    .container-contato {
        flex-direction: column-reverse;
        gap: 30px;
        padding: 30px 20px;
    }

    .imagem img {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer_container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        width: 90px;
    }

    .titulo h1 {
        font-size: 28px;
    }

    .formulario {
        padding: 20px;
    }
}
