/* Importando fontes sofisticadas do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

/* --- VARIÁVEIS DE CORES --- */
:root {
    --bg-color: #fafafa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-gold: #d4af37;
    --dark-bg: #111111;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.08);
}

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif; /* Fonte moderna para textos */
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif; /* Fonte clássica/moda para títulos */
    font-weight: 500;
}

/* --- MENU COM EFEITO GLASS --- */
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px); /* Desfoque do fundo */
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 85px;
    padding: 0 10%;
    box-sizing: border-box;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#logo {
    max-height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.lista_menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.lista_menu li a {
    color: #f0f0f0;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: color 0.4s ease;
    position: relative;
}

.lista_menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.4s ease;
}

.lista_menu li a:hover {
    color: var(--accent-gold);
}

.lista_menu li a:hover::after {
    width: 60%;
}

/* --- HERO SECTION --- */
.saibamais {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 160px auto 80px auto;
    width: 80%;
    gap: 60px;
}

#fundo_saibamais {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

#fundo_saibamais h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

#fundo_saibamais h1 span {
    font-style: italic;
    color: var(--accent-gold);
}

#fundo_saibamais p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

#fundo_banner {
    display: flex;
    flex: 1;
    justify-content: center;
    position: relative;
}

#fundo_banner::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    z-index: -1;
    transition: transform 0.5s ease;
}

#banner-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    box-shadow: var(--shadow-hover);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#banner-img:hover {
    transform: scale(1.02);
}

#fundo_banner:hover::before {
    transform: translate(-10px, 10px);
}

#contato_botao {
    background-color: transparent;
    color: var(--text-primary);
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    border: 1px solid var(--text-primary);
    cursor: pointer;
    width: 220px;
    height: 55px;
    margin-top: 0; /* MUDE AQUI PARA ZERO */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

#contato_botao:hover {
    background-color: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

/* 👇 ADICIONE ESTE BLOCO AQUI 👇 */
#fundo_saibamais a {
    align-self: flex-start; /* Impede de esticar no PC */
    margin-top: 35px; /* Devolve o espaço entre o texto e o botão */
    display: inline-block;
}
/* 👆 ======================= 👆 */

/* --- CATEGORIAS --- */
.fazemos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
    padding: 20px 0 60px 0;
    width: 80%;
    margin: 0 auto;
}

.tipos {
    background-color: #fff;
    box-shadow: var(--shadow-soft);
    text-align: center;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.01);
}

.tipos:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.tipos h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

#fazemoss, #nosso_projeto {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    font-size: 2.4rem;
    color: var(--text-primary);
}

/* --- VITRINE DE PRODUTOS --- */
.projetos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 80%;
    margin: 0 auto 100px auto;
}

.projeto {
    background-color: #fff;
    padding: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
}

.projeto:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.projeto img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.projeto:hover img {
    opacity: 0.9;
}

.projeto h2 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: var(--text-primary);
    font-family: 'Jost', sans-serif;
    font-weight: 500;
}

.projeto p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 300;
}

.preco {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 15px 0;
    font-family: 'Playfair Display', serif;
}

/* Tamanhos */
.tamanhos-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0 25px 0;
    flex-wrap: wrap;
}

.tamanho-badge {
    border: 1px solid #e0e0e0;
    color: var(--text-secondary);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tamanho-badge:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-comprar {
    display: block;
    background-color: var(--text-primary);
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-top: auto;
    transition: all 0.4s ease;
}

.btn-comprar:hover {
    background-color: var(--accent-gold);
    color: #fff;
}

/* --- SEÇÃO DE CONTATOS --- */
#contatos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 100px 0;
    box-sizing: border-box;
}

.container-contatos {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    width: 80%;
    max-width: 800px;
}

#entre-contato {
    text-align: center;
    margin: 0 0 50px 0;
    font-size: 2.4rem;
}

.separar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.btn-social {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 300px;
    height: 80px;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.btn-social:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.btn-social img {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    min-height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.btn-social:hover img {
    filter: grayscale(0%);
}

.btn-social p {
    margin: 0 0 0 20px;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-family: 'Jost', sans-serif;
}

.rodape {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-bg);
    color: #999;
    width: 100%;
    height: 100px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 300;
}

.map-container {
    transition: transform 0.4s ease;
}

.map-container:hover {
    transform: scale(1.01);
}

@media (max-width: 768px) {
    .map-container { width: 95%; }
}

/* --- RESPONSIVIDADE (CELULARES) --- */
@media (max-width: 768px) {
    .menu { 
        height: 75px; 
        flex-direction: row; 
        justify-content: space-between;
        padding: 0 5%; 
    }
    
    #logo { max-height: 40px; }
    
    .lista_menu li a { 
        padding: 6px 8px; 
        font-size: 0.65rem; 
        letter-spacing: 1px; 
    }
    
    .saibamais { 
        flex-direction: column; 
        margin: 130px auto 50px auto; 
        text-align: center; 
        gap: 40px;
    }
    
    #fundo_saibamais h1 { font-size: 2.5rem; }

    /* 👇 ADICIONE ESTA REGRA AQUI PARA CORRIGIR O BOTÃO 👇 */
    #fundo_saibamais a {
        align-self: center; 
    }
    /* 👆 ================================================ 👆 */
    
    #fundo_banner::before { display: none; } /* Remove detalhe decorativo no mobile */
    
    .fazemos { grid-template-columns: repeat(2, 1fr); width: 90%; gap: 15px; }
    .tipos { padding: 20px 10px; }
    
    .projetos {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        width: 100%;
        padding: 10px 5% 30px 5%;
        box-sizing: border-box;
        justify-content: flex-start;
        margin-bottom: 50px;
    }
    
    .projeto { flex: 0 0 280px; scroll-snap-align: center; }
    .projeto img { height: 350px; }
    
    .container-contatos { width: 100%; padding: 0 15px; }
    
    .separar { flex-direction: column; align-items: center; gap: 20px; }
    .btn-social { width: 100%; max-width: 300px; }
}