/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
}

/* Suaviza o scroll ao navegar por âncoras */
html {
    scroll-behavior: smooth;
}

/* Loader de carregamento da página */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #07012b;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Paleta de cores */
:root {
    --azul-neon: #00f7ff;
    --roxo-neon: #f365f3;
    --azul-escuro: #07012b;
    --cinza-claro: #e0e0e0;
    --branco: #ffffff;
}

/* Efeito fade-in no carregamento do body */
body {
    background-color: var(--azul-escuro);
    color: var(--cinza-claro);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.8s;
}
body.loaded {
    opacity: 1;
}

/* Header fixo no topo com fundo azul escuro */
header {
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    padding: 5px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: rgba(7, 13, 109, 0.85); /* Azul escuro mais sólido para profissionalismo */
    box-shadow: 0 2px 16px rgba(0, 247, 255, 0.08);
    transition: background 0.5s;
}
/* Header transparente ao rolar */
header.transparent {
    background: rgba(7, 1, 43, 0.7); /* Tom mais escuro e sóbrio */
}
/* Logo no header */
header .logo {
    font-size: 1.5rem;
    color: var(--azul-neon);
    font-weight: bold;
    display: flex;
    align-items: center;
}
/* Imagem da logo */
.logo img {
    width: 75px;
    height: 75px;
    border-radius: 25%;
    transition: transform 0.3s, box-shadow 0.3s;
}
/* Navegação principal */
header nav ul {
    display: flex;
    gap: 40px;
}
header nav ul li {
    cursor: pointer;
    position: relative;
    padding: 5px 0;
}
/* Linha animada ao passar mouse no menu */
header nav ul li:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--azul-neon);
    transition: width 0.5s;
}
header nav ul li:hover::after {
    width: 100%;
}
/* Links do menu */
header a {
    color: rgb(255, 255, 255);
    font-weight: 600;
    transition: color 0.3s;
}
header a:hover {
    color: var(--roxo-neon);
}

/* Seção principal (hero) */
.hero {
    text-align: center;
    margin-top: 120px;
}
.title {
    font-size: 3.2rem;
    color: var(--azul-neon);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    font-weight: 900;
    margin-bottom: 10px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}
/* Botão do catálogo com gradiente e efeito hover */
.hero button.catalog {
    background: linear-gradient(45deg, var(--roxo-neon), var(--azul-neon));
    padding: 16px 36px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--branco);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(243, 101, 243, 0.15);
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.hero button.catalog::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.6) 100%);
    transform: skewX(-25deg);
    transition: left 0.5s;
    pointer-events: none;
}
.hero button.catalog:hover {
    background: linear-gradient(45deg, var(--azul-neon), var(--roxo-neon));
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(243, 101, 243, 0.25);
}
.hero button.catalog:hover::before {
    left: 120%;
}

/* Subtítulos das seções */
.sub {
    font-size: 2.2rem;
    color: var(--azul-neon);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    font-weight: 800;
    margin: 35px auto 30px;
    text-align: center;
}

/* Peças em Destaque - grid responsivo */
.destaque-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}
/* Card de cada peça em destaque */
.destaque1, .destaque2, .destaque3, .destaque4 {
    border-radius: 18px;
    padding: 25px 18px 18px 18px;
    background: rgba(10, 10, 40, 0.85);
    position: relative;
    min-width: 380px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--azul-neon);
    background-clip: padding-box;
    z-index: 1;
}
/* Borda gradiente animada */
.destaque1::before,
.destaque2::before,
.destaque3::before,
.destaque4::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(90deg, #00f7ff 0%, #f365f3 100%);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}
/* Efeito hover nas peças */
.destaque1:hover,
.destaque2:hover,
.destaque3:hover,
.destaque4:hover {
    border-color: var(--roxo-neon);
    box-shadow: 0 0 24px var(--roxo-neon), 0 1.5px 8px #000;
}
/* Imagem das peças */
.destaque-item img {
    width: 350px;
    height: 350px;
    object-fit: contain;
    margin-bottom: 10px;
}
/* Linha decorativa */
.hr1 {
    width: 100%;
    height: 2px;
    margin: 10px 0 0;
    background: linear-gradient(90deg, var(--azul-escuro), var(--azul-neon), var(--roxo-neon));
    border: none;
    opacity: 0.5;
}
/* Título das peças */
.destaque-item h3 {
    color: white;
    font-size: 1.1rem;
    margin-top: 18px;
    margin-bottom: 0;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Seção Sobre */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 0;
}
/* Imagem da seção Sobre */
.about img {
    width: 420px;
    height: 420px;
    border-radius: 15%;
    margin-bottom: 24px;
    object-fit: cover;
    border: 4px solid var(--azul-neon);
    box-shadow: 0 6px 24px rgba(0, 247, 255, 0.35), 0 1.5px 8px #000;
    background: linear-gradient(135deg, var(--azul-neon) 0%, var(--roxo-neon) 100%);
    transition: box-shadow 0.3s, border-color 0.3s;
}
.about img:hover {
    border-color: var(--roxo-neon);
    box-shadow: 0 8px 32px rgba(243, 101, 243, 0.35), 0 2px 12px #000;
}
.about p {
    max-width: 600px;
    text-align: center;
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Formulário de contato */
.form {
    margin-bottom: 40px;
}
.form form {
    display: flex;
    flex-direction: column;
    max-width: 950px;
    margin: 0 auto;
    padding: 25px 25px;
    background: rgba(20, 20, 60, 0.85);
    border-radius: 15px;
    box-shadow: 0 4px 24px rgba(0, 247, 255, 0.08), 0 1.5px 8px rgba(0,0,0,0.25);
    gap: 10px 0 0;
}
.form label {
    font-size: 1.05rem;
    color: var(--azul-neon);
    margin-bottom: 10px;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.form textarea{
    height: 100px;
    max-height: 200px;
    min-height: 80px;
    resize: vertical;
}
.form input,
.form textarea {
    padding: 10px 12px;
    border: 1.5px solid var(--azul-neon);
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    color: var(--branco);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}
.form input[type="text"],[type="email"],[type="tel"] {
    margin: 0 0 25px;
}
.form input:focus,
.form textarea:focus {
    border-color: var(--roxo-neon);
    background: rgba(0, 247, 255, 0.08);
}
.form button[type="submit"] {
    background: linear-gradient(45deg, var(--azul-neon), var(--roxo-neon));
    color: var(--branco);
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 247, 255, 0.15);
    transition: background 0.3s, transform 0.2s;
}
.form button[type="submit"]:hover {
    background: linear-gradient(45deg, var(--roxo-neon), var(--azul-neon));
    transform: translateY(-2px) scale(1.03);
}
.form small {
    margin: 5px 0 15px 0;
}

/* Footer (rodapé) */
footer {
    background: linear-gradient(90deg, var(--azul-escuro) 0%, #1a1a4d 100%);
    color: var(--branco);
    text-align: center;
    padding: 30px 10px 20px 10px;
    font-size: 1.05rem;
    letter-spacing: 1px;
    box-shadow: 0 -2px 16px rgba(0, 247, 255, 0.08);
    border-top: 2px solid var(--azul-neon);
}
/* Links do rodapé */
footer a {
    color: #f365f3;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
    cursor: pointer;
}
footer a:hover {
    color: var(--azul-neon);
    text-shadow: 0 0 8px #00f7ff88;
}

/* Responsividade dos ícones sociais no footer */
@media (max-width: 700px) {
    .footer-social {
        gap: 18px;
    }
    .footer-social .icon-link svg {
        width: 22px;
        height: 22px;
    }
    .footer-social .icon-link {
        padding: 4px;
        margin: 0 6px;
    }
}

/* Tag antiga do footer (não utilizada, pode remover se não usar) */
footer a .tag {
    color: white;
    transition: fill 0.3s;
    position: absolute;
    left: 3%;
    font-size: 1.2rem;
    padding: 0 12px;
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1.2;
    word-break: break-all;
}

/* Container dos ícones sociais do footer */
.footer-social {
    display: flex;
    flex-direction: row;
    gap: 28px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
/* Estilo base dos ícones sociais */
.footer-social .icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #181818;
    color: #00f7ff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
}
/* Hover Instagram: gradiente colorido */
.footer-social .icon-link.instagram:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
}
/* Hover LinkedIn: azul LinkedIn */
.footer-social .icon-link.linkedin:hover {
    background: #0077b5;
    color: #fff;
}
/* Foco acessível nos ícones */
.footer-social .icon-link:focus {
    outline: 2px solid #00f7ff;
    outline-offset: 2px;
}
/* Tamanho dos SVGs dos ícones */
.footer-social svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Menu hamburguer (mobile) - escondido em desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 20;
}
.menu-toggle span {
    width: 28px;
    height: 4px;
    background: var(--azul-neon);
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.4s;
    display: block;
}

/* Menu mobile fechado (nav escondido à direita) */
header nav {
    transition: right 0.4s;
}
@media (max-width: 900px) {
    header {
        flex-direction: row;
        padding: 10px 5vw;
    }
    .menu-toggle {
        display: flex;
    }
    header nav {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 70vw;
        height: 100vh;
        background: rgba(7, 1, 43, 0.97);
        box-shadow: -2px 0 16px rgba(0, 247, 255, 0.08);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 30px 30px;
        z-index: 15;
        transition: right 0.4s;
    }
    header nav.open {
        right: 0;
    }
    header nav ul {
        flex-direction: column;
        gap: 28px;
        width: 100%;
    }
    header nav ul li {
        width: 100%;
        padding: 10px 0;
    }
    header nav ul li:after {
        display: none;
    }
}

/* Ajuste para logo centralizada em mobile */
@media (max-width: 700px) {
    .logo {
        font-size: 1.1rem;
        text-align: center;
    }
    .logo img {
        width: 38px;
        height: 38px;
    }
}