/* ===================================================
   RESET & BASE
=================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0b0b0b;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===================================================
   HERO
=================================================== */

.hero {
    position: relative;
    height: 100vh;
    background-image: url("../img/fachada.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.9)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    color: #d4af37;
    margin-bottom: 20px;
    text-shadow: 0 0 25px rgba(212,175,55,0.4);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ddd;
}

/* ===================================================
   BOTÕES
=================================================== */

.btn-primary {
    display: inline-block;
    background: #d4af37;
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #b9962e;
    transform: scale(1.05);
}

/* ===================================================
   SEÇÕES PADRÃO
=================================================== */

.section {
    padding: 100px 10%;
    text-align: center;
}

.section h2 {
    color: #d4af37;
    margin-bottom: 40px;
    font-size: 32px;
}

.dark {
    background: #111;
}

/* ===================================================
   DESTAQUES
=================================================== */

.grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: #111;
    padding: 40px;
    width: 280px;
    border: 1px solid rgba(212,175,55,0.3);
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 0 30px rgba(212,175,55,0.3);
}

/* ===================================================
   MARCAS
=================================================== */

/* =============================
   MARCAS INTERATIVAS
============================= */

.marcas-section {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #000);
    background-size: cover;
    background-position: center;
    transition: background 0.6s ease;
}

.marcas-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.9)
    );
    z-index: 1;
}

.marcas-content {
    position: relative;
    z-index: 2;
}

.marcas-section h2 {
    color: #d4af37;
    margin-bottom: 50px;
}

.brand-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand-btn {
    padding: 12px 25px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(212,175,55,0.4);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.brand-btn:hover {
    background: #d4af37;
    color: #000;
}

.brand-btn.active {
    background: #d4af37;
    color: #000;
}


/* ===================================================
   REDES SOCIAIS PREMIUM 3D CLEAN
=================================================== */

.social-modern {
    background: #0b0b0b;
    padding: 140px 20px;
    text-align: center;
}

.social-modern h2 {
    color: #d4af37;
    margin-bottom: 90px;
    font-size: 36px;
    letter-spacing: 1px;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.social-box {
    position: relative;
    width: 120px;
    height: 120px;
    perspective: 1000px;
    text-decoration: none;
}

/* Camadas */

.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 10px;
    border: 1px solid rgba(212,175,55,0.25);
    transition: 0.5s cubic-bezier(.23,1,.32,1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.base {
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.middle {
    z-index: 2;
}

.top {
    z-index: 3;
}

.top i {
    font-size: 38px;
    color: #d4af37;
    transition: 0.4s;
}

/* Hover 3 camadas */

.social-box:hover .base {
    transform: translateY(25px) scale(1.15);
    opacity: 0.4;
}

.social-box:hover .middle {
    transform: translateY(12px) scale(1.08);
    opacity: 0.7;
}

.social-box:hover .top {
    box-shadow: 0 0 25px rgba(212,175,55,0.4);
}

/* Glow elegante */

/* Glow controlado */

.social-box:hover .top {
    box-shadow: 
        0 0 15px rgba(212,175,55,0.4),
        0 0 35px rgba(212,175,55,0.2);
}


.social-box:hover::after {
    opacity: 1;
}

/* ===================================================
   DELIVERY
=================================================== */

.delivery {
    padding: 120px 20px;
    background: #000;
    text-align: center;
    border-top: 2px solid #d4af37;
}

.delivery h2 {
    color: #d4af37;
    margin-bottom: 20px;
}

.delivery p {
    margin: 10px 0;
}

/* ===================================================
   FOOTER
=================================================== */

footer {
    text-align: center;
    padding: 30px;
    background: #0a0a0a;
    font-size: 14px;
}

/* ===================================================
   SCROLL REVEAL
=================================================== */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   RESPONSIVO
=================================================== */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 32px;
    }

    .section {
        padding: 80px 20px;
    }

    .social-grid {
        gap: 60px;
    }

    .social-box {
        width: 100px;
        height: 100px;
    }
}
/* =============================
DELIVERY
============================= */

/* ================= DELIVERY ================= */

.delivery-section h2 {
    text-align: center;
}

/* CATEGORIAS */

.categorias {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 8px 18px;
    border: 1px solid rgba(212,175,55,0.4);
    background: #111;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    background: #d4af37;
    color: #000;
}

/* PRODUTOS */

.catalogo {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.produto {
    width: 220px;
    background: #111;
    border: 1px solid rgba(212,175,55,0.2);
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}

.produto img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 15px;
}

.produto:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
}

/* CARRINHO */

.carrinho {
    max-width: 500px;
    margin: auto;
    background: #111;
    padding: 30px;
    border: 1px solid rgba(212,175,55,0.3);
}

/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* força ficar acima de tudo */
}


.modal-content {
  position: relative;
    z-index: 10000;
}

.modal-content input,
.modal-content textarea {
    padding: 10px;
    background: #000;
    border: 1px solid rgba(212,175,55,0.3);
    color: #fff;
}
/* ===================================================
   RESET
=================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0b0b0b;
    color: #fff;
    overflow-x: hidden;
}

/* ===================================================
   TÍTULOS PADRÃO
=================================================== */

.section h2 {
    text-align: center;
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 40px;
}

/* ===================================================
   MARCAS
=================================================== */

.marcas-section {
    padding: 120px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: 0.4s ease;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 20px 30px;
    margin-top: 40px;
}

.brand-btn {
    min-width: 150px;
    padding: 10px 20px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(212,175,55,0.4);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.brand-btn.active,
.brand-btn:hover {
    background: #d4af37;
    color: #000;
}

/* ===================================================
   DELIVERY
=================================================== */

.delivery-section {
    padding: 120px 20px;
}

.categorias {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 8px 18px;
    border: 1px solid rgba(212,175,55,0.4);
    background: #111;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    background: #d4af37;
    color: #000;
}

/* ===================================================
   PRODUTOS
=================================================== */

.catalogo {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.produto {
    width: 220px;
    background: #111;
    border: 1px solid rgba(212,175,55,0.2);
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}

.produto img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 15px;
}

.produto:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
}

.produto h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.produto p {
    margin-bottom: 10px;
}

.produto button {
    width: 100%;
    padding: 8px;
    background: #d4af37;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* ===================================================
   CARRINHO
=================================================== */

.carrinho {
    max-width: 500px;
    margin: auto;
    background: #111;
    padding: 30px;
    border: 1px solid rgba(212,175,55,0.3);
}

.carrinho h3 {
    margin-bottom: 15px;
    color: #d4af37;
}

#finalizarPedido {
    width: 100%;
    padding: 12px;
    background: #d4af37;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* ===================================================
   MODAL
=================================================== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #111;
    padding: 40px;
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content input,
.modal-content textarea {
    padding: 10px;
    background: #000;
    border: 1px solid rgba(212,175,55,0.3);
    color: #fff;
}

/* trava scroll */

body.modal-open {
    overflow: hidden;
}

/* ===================================================
   RESPONSIVO
=================================================== */

@media (max-width: 768px) {

    .catalogo {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .produto {
        width: 100%;
        padding: 8px;
    }

    .produto img {
        height: 100px;
    }

    .produto h4,
    .produto p {
        font-size: 12px;
    }

    .produto button {
        font-size: 11px;
        padding: 6px;
    }

    .brand-grid {
        grid-template-columns: repeat(2, auto);
    }

}

@media (max-width: 480px) {

    .catalogo {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        width: 90%;
    }

}
/* ===================================================
   REDES SOCIAIS RESPONSIVO
=================================================== */

.social-modern {
    padding: 80px 20px;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {

    .social-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 350px;
        margin: 0 auto;
    }

    .social-box {
        width: 80px;
        height: 80px;
    }

    .layer {
        border-radius: 8px;
    }

    .top i {
        font-size: 26px;
    }

}
