
/* MAGIA 3D - Identidade visual */

:root {
    --preto: #101010;
    --dourado: #d4af37;
    --branco: #ffffff;
    --cinza: #bdbdbd;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--preto);
    color: var(--branco);
    font-family: Arial, sans-serif;
}

header {
    background: #181818;
    padding: 22px;
    text-align: center;
    border-bottom: 2px solid var(--dourado);
}

h1, h2 {
    color: var(--dourado);
}

nav a {
    color: var(--branco);
    text-decoration: none;
    margin: 12px;
}

nav a:hover {
    color: var(--dourado);
}

section {
    padding: 60px 20px;
    text-align: center;
}

.botao {
    display: inline-block;
    background: var(--dourado);
    color: var(--preto);
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.botao:hover {
    background: #f0ce60;
}

.produtos {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 30px auto;
}

.produto {
    background: #1d1d1d;
    border: 1px solid #383838;
    border-radius: 12px;
    padding: 20px;
}

.produto img {
    width: 100%;
    border-radius: 8px;
}

footer {
    background: #080808;
    color: var(--cinza);
    padding: 25px;
    text-align: center;
}

@media (max-width: 600px) {
    nav a {
        display: inline-block;
        margin: 8px;
    }

    section {
        padding: 40px 16px;
    }
}


/* Cabeçalho Magia 3D */

.cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background: #080808;
    border-bottom: 1px solid #333;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #d4af37;
}

.cabecalho nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.cabecalho nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.cabecalho nav a:hover {
    color: #d4af37;
}

/* Apresentação */

.apresentacao {
    text-align: center;
    padding: 100px 20px;
}

.apresentacao h1 {
    color: #d4af37;
    font-size: clamp(30px, 5vw, 48px);
}

.apresentacao p {
    font-size: 20px;
    margin: 25px 0 35px;
}

.botao {
    display: inline-block;
    background: #d4af37;
    color: #111;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.botao:hover {
    background: #f0ca55;
}

/* CATÁLOGO MAGIA 3D */

.catalogo {
    padding: 70px 8%;
    text-align: center;
    background: #141414;
}

.catalogo h2 {
    color: #d4af37;
    font-size: 36px;
    margin-bottom: 15px;
}

.catalogo-subtitulo {
    color: #ddd;
    margin-bottom: 40px;
}

.categorias {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.categoria {
    display: block;
    background: #202020;
    border: 1px solid #383838;
    border-radius: 12px;
    padding: 35px 20px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.categoria:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
}

.categoria h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

.categoria p {
    color: #ccc;
    font-size: 16px;
}

@media (max-width: 850px) {
    .categorias {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .categorias {
        grid-template-columns: 1fr;
    }
}

/* PRODUTOS DO CATÁLOGO */

.secao-produtos {
    padding: 70px 8%;
    background: #101010;
    text-align: center;
}

.secao-produtos h2 {
    color: #d4af37;
    font-size: 36px;
    margin-bottom: 15px;
}

.descricao-secao {
    color: #ddd;
    margin-bottom: 40px;
}

.grade-produtos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.produto {
    background: #202020;
    border: 1px solid #383838;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}

.foto-produto {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #303030;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    margin-bottom: 20px;
}

.produto h3 {
    color: #d4af37;
    margin-bottom: 12px;
}

.produto p {
    color: #ddd;
    line-height: 1.6;
}

@media (max-width: 850px) {
    .grade-produtos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .grade-produtos {
        grid-template-columns: 1fr;
    }
}

/* Fotografias dos produtos Magia 3D */

.foto-produto {
    width: 100%;
    height: 385px;
    object-fit: cover;
    object-position: center 58%;
    background-color: #303030;
    border-radius: 8px;
    display: block;
}


/* Botões de WhatsApp - Magia 3D */

.botao-whatsapp {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background-color: #d4af37;
    color: #000000;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.botao-whatsapp:visited {
    color: #000000;
}

.botao-whatsapp:hover {
    background-color: #f1c94c;
    transform: translateY(-2px);
}


/* Logotipo Magia 3D no cabeçalho */
.cabecalho .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.cabecalho .logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}


/* MAGIA 3D - Acabamento dos cards */

.produto {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.produto:hover {
    transform: translateY(-5px);
    border-color: var(--dourado);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
}


/* MAGIA 3D - Padronização das fotos */

img.foto-produto {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}


/* MAGIA 3D - Menu responsivo para celular */

@media (max-width: 600px) {
    .cabecalho {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cabecalho nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 20px;
        width: 100%;
    }

    .cabecalho nav a {
        margin: 0;
        white-space: nowrap;
        font-size: 14px;
    }
}


/* MAGIA 3D - Botões oficiais de atendimento WhatsApp */

.botao-whatsapp,
.botao-whatsapp:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: #ffffff;
    border: 1px solid #25D366;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.botao-whatsapp:hover {
    background-color: #1ebe5d;
    border-color: #1ebe5d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25);
}

.botao-whatsapp:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}


/* Alinhamento dos cards de produtos */
.grade-produtos {
    align-items: stretch;
}

.grade-produtos .produto {
    display: flex;
    flex-direction: column;
}

.grade-produtos .produto .botao-whatsapp {
    margin-top: auto;
}


/* MAGIA 3D - Categorias futuras */

.categoria-em-breve {
    opacity: 0.65;
    cursor: default;
    position: relative;
}

.categoria-em-breve::after {
    content: "EM BREVE";
    display: block;
    margin-top: 15px;
    color: #d4af37;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.categoria-em-breve:hover {
    transform: none;
}


/* PRODUTOS EM DESTAQUE - MAGIA 3D */

.produtos-destaque .grade-produtos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* TABLETS */
@media (max-width: 1100px) {
    .produtos-destaque .grade-produtos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* CELULARES */
@media (max-width: 600px) {
    .produtos-destaque .grade-produtos {
        grid-template-columns: 1fr;
    }
}


/* SEÇÃO SOBRE NÓS - MAGIA 3D */

.secao-sobre {
    background-color: #171717;
    padding: 80px 24px;
    text-align: center;
    border-top: 1px solid #333;
}

.secao-sobre h2 {
    color: #d4af37;
    font-size: 36px;
    margin-bottom: 30px;
}

.secao-sobre p {
    color: #f5f5f5;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px;
}

@media (max-width: 600px) {
    .secao-sobre {
        padding: 50px 20px;
    }

    .secao-sobre h2 {
        font-size: 28px;
    }

    .secao-sobre p {
        font-size: 16px;
        line-height: 1.7;
    }
}


/* CONTATO - MAGIA 3D */

.secao-contato {
    text-align: center;
    padding: 80px 20px;
    background-color: #101010;
}

.secao-contato h2 {
    color: #d4af37;
    font-size: 36px;
    margin-bottom: 25px;
}

.secao-contato p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.7;
}

.contato-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.contato-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.contato-links .botao-whatsapp {
    background-color: #20c963;
    color: #ffffff;
}

.contato-links .botao-instagram {
    background-color: #d4af37;
    color: #000000;
}

.contato-links a:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

@media (max-width: 600px) {
    .secao-contato h2 {
        font-size: 28px;
    }

    .contato-links {
        flex-direction: column;
    }

    .contato-links a {
        width: 100%;
        max-width: 320px;
    }
}


/* ALINHAMENTO DOS BOTÕES DE CONTATO */


.contato-links a {
    width: 290px;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
}


/* AJUSTE FINAL DOS BOTÕES DE CONTATO */

.contato-links {
    align-items: center;
}

.contato-links a {
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0 16px;
    vertical-align: middle;
    line-height: 1.2;
}


/* RODAPÉ PROFISSIONAL MAGIA 3D */

.rodape {
    background-color: #080808;
    color: #ffffff;
    border-top: 1px solid #d4af37;
    padding: 55px 20px 20px;
}

.rodape-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.rodape-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.rodape-marca p {
    color: #cccccc;
    line-height: 1.7;
    max-width: 350px;
}

.rodape h3 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 19px;
}

.rodape-navegacao,
.rodape-redes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.rodape a {
    color: #dddddd;
    text-decoration: none;
    transition: color 0.3s;
}

.rodape a:hover {
    color: #d4af37;
}

.rodape-inferior {
    border-top: 1px solid #333333;
    margin-top: 45px;
    padding-top: 20px;
    text-align: center;
    color: #999999;
    font-size: 13px;
}

/* ADAPTAÇÃO PARA CELULARES */

@media (max-width: 768px) {
    .rodape-conteudo {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .rodape-marca p {
        margin-left: auto;
        margin-right: auto;
    }

    .rodape-navegacao,
    .rodape-redes {
        align-items: center;
    }

    .rodape {
        padding: 40px 20px 20px;
    }
    
    /* Ajuste da apresentação para celulares */
    .apresentacao {
        padding: 35px 20px;
    }

}




