* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0e27;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Header e Navegação */
header {
    background-color: #1a1f3a;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(138, 43, 226, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #9d4edd;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

header nav a {
    color: #e0e0e0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

header nav a:hover {
    color: #9d4edd;
    border-bottom-color: #9d4edd;
}

/* Seções Gerais */
section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1a1f3a;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
}

section h2 {
    color: #9d4edd;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #9d4edd;
    padding-bottom: 0.5rem;
}

/* Home */
#home {
    text-align: center;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b4e 100%);
}

#home h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#home p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #b0b0b0;
}

/* Categorias */
#categorias ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

#categorias li {
    background-color: #2d1b4e;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #9d4edd;
    transition: all 0.3s ease;
    cursor: pointer;
}

#categorias li:hover {
    background-color: #3d2660;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(157, 78, 221, 0.3);
}

#categorias h3 {
    color: #9d4edd;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

#categorias p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* Produtos em Destaque */
#produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

#produtos h2 {
    grid-column: 1 / -1;
}

#produtos article {
    background-color: #2d1b4e;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #3d2660;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

#produtos article:hover {
    border-color: #9d4edd;
    background-color: #3d2660;
    box-shadow: 0 8px 16px rgba(157, 78, 221, 0.4);
    transform: translateY(-8px);
}

#produtos h3 {
    color: #9d4edd;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

#produtos p:first-of-type {
    color: #a0a0a0;
    margin-bottom: 1rem;
    flex-grow: 1;
}

#produtos p:last-of-type {
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Botões */
button {
    background-color: #9d4edd;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    width: 100%;
}

button:hover {
    background-color: #c77dff;
    box-shadow: 0 6px 12px rgba(157, 78, 221, 0.5);
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

/* Seção Sobre */
#sobre p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #b0b0b0;
}

/* Formulário de Contato */
#contato form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

label {
    color: #9d4edd;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

input,
textarea {
    background-color: #2d1b4e;
    color: #e0e0e0;
    border: 2px solid #3d2660;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #9d4edd;
    box-shadow: 0 0 8px rgba(157, 78, 221, 0.4);
    background-color: #3d2660;
}

input::placeholder,
textarea::placeholder {
    color: #666;
}

/* Footer */
footer {
    background-color: #0f0f1e;
    color: #888;
    padding: 2rem;
    text-align: center;
    border-top: 2px solid #9d4edd;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

footer a {
    color: #9d4edd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #c77dff;
}

/* Responsividade */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        gap: 1rem;
    }

    header nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        text-align: center;
    }

    header h1 {
        font-size: 1.5rem;
    }

    section {
        margin: 1rem 0.5rem;
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    #home h2 {
        font-size: 1.8rem;
    }

    #categorias ul {
        grid-template-columns: 1fr;
    }

    #produtos {
        grid-template-columns: 1fr;
    }

    footer ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    header nav a {
        font-size: 0.8rem;
    }

    section {
        padding: 1rem;
    }

    section h2 {
        font-size: 1.3rem;
    }

    #home h2 {
        font-size: 1.5rem;
    }

    #produtos h3,
    #categorias h3 {
        font-size: 1rem;
    }
}
