/* ============================================================
   VARIÁVEIS E CORES
   ============================================================ */
:root {
    --primary: #d4a373; 
    --dark: #1b263b;    
    --light: #f8f9fa;   
    --text: #333;       
    --white: #ffffff;
}

/* ============================================================
   BOTÕES GERAIS (RESTAURAÇÃO)
   ============================================================ */
.btn-primary {
    background: var(--primary);
    padding: 15px 30px;
    color: var(--white) !important; /* Força a cor branca */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #bc8a5f;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--white);
    padding: 15px 30px;
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark) !important;
}

/* ============================================================
   ESTILOS DO SLIDER - CORRIGIDO PARA VISIBILIDADE
   ============================================================ */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    z-index: 5;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* SETAS: Ajustadas para fundo preto */
/* SETAS: Menores e mais transparentes */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Diminuímos o alpha de 0.2 para 0.05 (quase invisível) */
    background: rgba(255, 255, 255, 0.05); 
    /* Deixamos a própria seta (o ícone) com 50% de transparência */
    color: rgba(255, 255, 255, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Diminuímos o preenchimento (padding) */
    padding: 8px 12px; 
    cursor: pointer;
    /* Diminuímos o tamanho da fonte de 1.8rem para 1.2rem */
    font-size: 1.2rem; 
    z-index: 100 !important;
    transition: 0.3s;
}

.slider-btn:hover {
    /* No hover, elas ganham destaque com a cor do seu tema */
    background: var(--primary); 
    color: #ffffff;
    opacity: 1;
}

.prev { left: 10px; border-radius: 5px; }
.next { right: 10px; border-radius: 5px; }

/* Correção de botão no fundo preto */
.section-servicos-detalhe .btn-primary {
    background: var(--primary);
    color: #fff !important;
}

/* RESET E BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; 
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--dark);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: 0.3s;
}

/* ============================================================
   HERO E SOBRE
   ============================================================ */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Mantém o efeito bonito no PC */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}


/* CORREÇÃO PARA IPHONE E SMARTPHONES */
@media (max-width: 1024px) {
    .hero {
        /* Desabilita o fixed que quebra no iOS e causa lentidão */
        background-attachment: scroll !important; 
        
        /* Garante que a imagem se ajuste corretamente */
        background-size: cover;
        background-position: center center;
        
        /* Reduz a altura para não ficar um buraco gigante no mobile se preferir */
        height: 80vh; 
    }
}

/* descrição banner */
.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 5px;
    
    /* ALTERAÇÃO AQUI: */
    /* Em vez de var(--primary), coloque a cor que você desejar. */
    /* Exemplos: #ffffff (branco), #eeeeee (cinza claro), ou uma cor fixa */
    color: #ffffff; 
    
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5); /* Aumentei a sombra para dar mais destaque */
}

/* Ajuste opcional no Título Principal para não encavalar */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;            /* Aumentei um pouco para equilibrar */
    margin-bottom: 30px;
    line-height: 1.1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* ============================================================
   SEÇÃO DE SERVIÇOS (DETALHE + SLIDER)
   ============================================================ */
.section-servicos-detalhe {
    padding: 100px 0;
    background-color: #000000;
    color: var(--white);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.services-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-transform: uppercase;
}

.services-main-title::before, .services-main-title::after {
    content: ""; height: 1px; background: rgba(255,255,255,0.3); flex: 1; max-width: 100px;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.slide { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: 0.5s; }
.slide.active { opacity: 1; position: relative; }

/* ============================================================
   RODAPÉ (CORREÇÃO DE CENTRALIZAÇÃO PC)
   ============================================================ */
.footer {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 80px 0 40px 0;
}

.footer-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-column {
    text-align: center; /* Centraliza os títulos no PC */
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 8px 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-list {
    display: flex;
    flex-direction: column;
    align-items: center; /* CENTRALIZA OS CARDS NO PC */
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px; /* Impede que o card fique gigante no PC */
    transition: 0.3s;
    text-align: left; /* Mantém o texto interno à esquerda */
}

.social-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden; /* Garante que a imagem não saia do círculo */
}

.social-icon img {
    width: 24px; /* Tamanho do ícone dentro do círculo */
    height: 24px;
    object-fit: contain;
    /* Se os seus ícones forem pretos e você quiser que fiquem brancos, 
       descomente a linha abaixo: */
    /* filter: invert(1); */ 
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center; /* CENTRALIZA OS ITENS DE CONTATO NO PC */
    gap: 15px;
    margin-bottom: 15px;
}

.copyright {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #666;
}

/* ============================================================
   RESPONSIVIDADE (CORREÇÃO DE ENCAVALAMENTO MOBILE)
   ============================================================ */
@media (max-width: 768px) {
    /* Navbar ajustada para não sobrepor */
    .logo-text { font-size: 1.1rem; }
    .nav-links { gap: 10px; font-size: 0.8rem; }

    /* Espaçamento das seções no mobile */
    .section-servicos-detalhe { padding: 60px 0; }
    
    /* Evita que o Slider fique gigante no celular */
    .slider-container { height: 300px; }

    /* Empilhamento de grids */
    .about-grid, .services-container, .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .services-main-title { font-size: 1.5rem; }
    .services-main-title::before, .services-main-title::after { display: none; }

    .about-img { height: 300px; }
    
    .social-item { max-width: 100%; } /* Cards ocupam a largura toda no mobile */
    
    /* Garante que o texto de contato não quebre */
    .contact-item { flex-direction: column; gap: 5px; }
}