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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
}

section {
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 20px 0;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav a:hover {
    color: #7903c9;
}

.cart {
    position: relative;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-icon {
    width: 26px;
    height: 26px;
}

.cart:hover {
    color: #7903c9;
    transform: scale(1.1);
    transition: 0.3s;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #7903c9;
    color: white;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 50%;
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('img/bg-hero.jpg') center/cover no-repeat;

    background-size: cover;
    background-position: center top;
}

.hero-content {
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(121, 3, 201, 0.6);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, #7903c9, #a109a1);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(121, 3, 201, 0.4);
}

.btn:hover {
    background: linear-gradient(45deg, #5c0497, #8d048d);
    transform: translateY(-2px);
}

.branding {
    padding: 80px 0;
    text-align: center;
}

.branding h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.branding p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    line-height: 1.6;
}

.produtos {
    padding: 80px 0;
}

.produtos h2 {
    text-align: center;
    margin-bottom: 40px;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.produto-card {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #1f1f1f;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(127, 4, 209, 0.3);
}

.produto-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
}

.produto-card:hover img {
    transform: scale(1.05);
}

.produto-card h3 {
    margin: 15px;
}

.produto-card span {
    margin: 0 15px 20px;
    display: block;
    opacity: 0.7;
}

.btn-produto {
    display: block;
    margin: 0 15px 20px;
    text-align: center;
    background: transparent;
    border: 1px solid #7903c9;
    color: #7903c9;
    padding: 10px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: pointer;
}

.btn-produto:hover {
    background: linear-gradient(45deg, #7903c9, #a109a1);
    color: white;
}
.diferenciais {
    padding: 80px 0;
    background: #0f0f0f;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.diferenciais-grid div {
    background: #111;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #1f1f1f;
    transition: 0.3s;
}

.diferenciais-grid div:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(121, 3, 201, 0.2);
}

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

.cta {
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer {
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    padding: 60px 20px;
}

.footer h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.footer-text {
    opacity: 0.7;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;

    margin-bottom: 30px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;

    border: 1px solid #222;
    padding: 10px 18px;
    border-radius: 30px;

    transition: 0.3s;
}

.footer-links a:hover {
    border-color: #7903c9;
    color: #7903c9;

    transform: translateY(-3px);
}

.copyright {
    opacity: 0.5;
    font-size: 0.9rem;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #111;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid #7903c9;
    box-shadow: 0 0 15px rgba(121, 3, 201, 0.3);

    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;

    transition: all 0.4s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.carrinho-container {
   min-height: 80vh;
   display: flex;
   justify-content: center;
   align-items: center;
}

.carrinho-produtos {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1f1f1f;
}

.carrinho-resumo {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1f1f1f;
    height: fit-content;
}

.carrinho-resumo h2 {
    margin-bottom: 20px;
}

.carrinho-resumo p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.carrinho-resumo h3 {
    margin: 20px 0;
    font-size: 1.5rem;
}

.item-carrinho {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 20px;

    background: #0f0f0f;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #1f1f1f;
    margin-bottom: 15px;
}

.item-carrinho img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.item-carrinho .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-carrinho h3 {
    margin-bottom: 5px;
}

.item-carrinho p {
    opacity: 0.7;
    margin-bottom: 10px;
}

.remover {
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    justify-self: end;
}

.remover:hover {
    background: #ff4d4d;
    color: white;
}

.carrinho-vazio {
    text-align: center;
    padding: 60px 40px;

    max-width: 500px;
    width: 100%;

    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 12px;

    box-shadow: 0 0 20px rgba(121, 3, 201, 0.15);
}

.carrinho-vazio h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.carrinho-vazio p {
    opacity: 0.7;
    margin-bottom: 25px;
}

.carrinho-vazio .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
}

.quantidade {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.quantidade button {
    width: 30px;
    height: 30px;
    border: 1px solid #7903c9;
    background: transparent;
    color: #7903c9;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.quantidade button:hover {
    background: #7903c9;
    color: white;
}

.quantidade span {
    min-width: 20px;
    text-align: center;
}

.info p {
    opacity: 0.7;
}

.info strong {
    color: #fff;
    font-weight: 600;
}

.voltar-loja {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 30px;
    margin-bottom: 30px;
    padding: 12px 10px;

    border: 1px solid #2a2a2a;
    border-radius: 10px;

    background: #111;

    color: white;
    text-decoration: none;
    font-size: 0.95rem;

    transition: 0.3s;
}

.voltar-loja:hover {
    border-color: #7903c9;
    color: #7903c9;

    transform: translateX(-4px);
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 120px 20px 60px;
}

.checkout-form {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 30px;
}

.checkout-resumo {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 30px;

    height: fit-content;
}

.checkout-form h1 {
    margin-bottom: 30px;
}

.checkout-form h2 {
    margin: 25px 0 15px;
    font-size: 1.1rem;
}

.checkout-form form {
    display: flex;
    flex-direction: column;
}

.checkout-form input {
    background: #0a0a0a;
    border: 1px solid #222;
    color: white;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.checkout-form input:focus {
    outline: none;
    border-color: #7903c9;
}

.checkout-resumo h2 {
    margin-bottom: 20px;
}

#checkout-itens {
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    opacity: 0.85;
}

#checkout-total {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.voltar-carrinho {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 30px;
    padding: 12px 10px;

    border: 1px solid #2a2a2a;
    border-radius: 10px;

    background: #111;

    color: white;
    text-decoration: none;
    font-size: 0.95rem;

    transition: 0.3s;
}

.voltar-carrinho:hover {
    border-color: #7903c9;
    color: #7903c9;

    transform: translateX(-4px);
}

.confirmacao-container {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.confirmacao-box {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    padding: 50px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 25px rgba(121, 3, 201, 0.2);
}

.check {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7903c9, #a109a1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
}

.confirmacao-box h1 {
    margin-bottom: 15px;
}

.confirmacao-box p {
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ==== MOBILE ==== */

@media (max-width: 768px) {
    
    .header .container {
        flex-direction: row;
        gap: 15px;
    }

    .nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav a {
        margin: 0 10px;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

    .produtos-grid {
        grid-template-columns: 1fr;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .carrinho-container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .carrinho-resumo {
        margin-bottom: 30px;
    }

    .item-carrinho {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .item-carrinho img {
        margin: 0 auto;
    }

    .remover {
        justify-self: center;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-form input {
        width: 100%;
    }
}