/* VARIÁVEIS DE LUXO */
:root {
    --bg-color: #161616;
    --text-color: #FFFFFF;
    --text-muted: #A0A0A0;
    --line-color: #333333;
    --gold-accent: #C5A059; /* Dourado sutil para as estrelas e detalhes */
    
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* RESET E BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    background-color: var(--bg-color); 
    color: var(--text-color); 
    font-family: var(--font-sans); 
    font-weight: 300; 
    line-height: 1.6; 
}

/* CONTAINERS */
.container { width: 90%; max-width: 1000px; margin: 0 auto; padding: 50px 0; }
.container-fino { max-width: 600px; margin: 0 auto; }
.container-largo { max-width: 1100px; margin: 0 auto; }

/* UTILITÁRIOS */
.text-left { text-align: left !important; }

/* HERO SECTION */
.hero { position: relative; text-align: center; padding-bottom: 0px; }
.hero-bg .hero-bg {
    width: 100%; height: 450px; /* Aumentei um pouco a altura */
    background-image: url('../img/perfil.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Isso cria o efeito parallax clássico no scroll */
    opacity: 0.7;
    transition: transform 0.2s ease-out; /* Suavidade para o movimento do mouse */
}
.hero-content {
    position: relative; margin-top: 50px;
    display: flex; flex-direction: column; align-items: center; padding: 0 20px;
}
.profile-pic {
    width: 100px; height: 100px; border-radius: 150%;
    border: 0px solid var(--bg-color); object-fit: cover; margin-bottom: 20px;
}
.headline { font-size: 2rem; font-weight: 400; margin-bottom: 5px; letter-spacing: 1px; }
.tagline-luxury { font-family: var(--font-serif); color: var(--text-muted); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; }
.subheadline { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* TÍTULOS GERAIS */
.section-title { text-align: center; font-family: var(--font-sans); font-size: 1.3rem; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 30px; }

/* GRIDS GERAIS (Para organizar em colunas no Desktop) */
.grid-2-colunas { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.grid-3-colunas { display: grid; grid-template-columns: 1fr; gap: 30px; }

/* SOBRE NÓS */
.sobre-nos { border-top: 1px solid var(--line-color); padding: 40px 0; }
.sobre-imagem img { width: 100%; border-radius: 4px; object-fit: cover; aspect-ratio: 3/4; filter: brightness(0.9); }
.sobre-texto p { margin-bottom: 15px; color: #CCCCCC; font-size: 0.95rem; }

/* ==========================================================
   SERVIÇOS - FUNDO COM IMAGEM DE LUXO (OVERLAY)
   ========================================================== */

.servicos-compactos {
    position: relative;
    width: 100%;
    /* O segredo do caminho: ../ sai da pasta css e entra na img */
    background-image: url('../img/fundo-servicos.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito elegante ao rolar */
    padding: 60px 0; /* Aumentamos o padding para dar altura à seção */
    overflow: hidden;
}

/* Camada escura para garantir que a imagem não atrapalhe a leitura */
.servicos-compactos::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* 85% de preto */
    z-index: 1;
}

/* Garante que o conteúdo apareça acima do fundo e da camada escura */
.servicos-compactos .container {
    position: relative;
    z-index: 2;
}

/* O resto do estilo permanece o mesmo, focado no minimalismo */
.linha-horizontal-servicos {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 25px;
    padding: 20px 0;
    /* Linhas finas divisórias */
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.item-servico-compacto {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 400; letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-color); /* Texto branco */
}

.item-servico-compacto .icone-simples {
    font-size: 1.1rem;
    filter: grayscale(100%) brightness(1.5); /* Deixa os emojis P&B e mais claros */
}

/* Responsividade sutil */
@media (min-width: 768px) {
    .linha-horizontal-servicos { gap: 30px 40px; }
}

/* DEPOIMENTOS */
.depoimentos { padding: 50px 0; border-bottom: 1px solid var(--line-color); }
.card-depoimento { text-align: center; padding: 20px; border: 1px solid var(--line-color); border-radius: 4px; }
.estrelas { color: var(--gold-accent); font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 3px; }
.texto-depoimento { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: #DDDDDD; margin-bottom: 20px; }
.autor-depoimento { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* GALERIA DE PROJETOS */
.projetos { padding: 5px 0; }
.grid-projetos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.projeto-item { position: relative; aspect-ratio: 1,1 / 1,2; overflow: hidden; border-radius: 4px; }
.img-projeto { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.projeto-item:hover .img-projeto { transform: scale(1.05); }

/* FORMULÁRIO COM IMAGEM (Lado a Lado) */
.captacao { padding-bottom: 60px; }
.form-layout { align-items: stretch; } /* Estica a foto para o tamanho do formulário */
.form-imagem img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; min-height: 300px;}
.form-conteudo { display: flex; flex-direction: column; justify-content: center; }

/* Campos do formulário fantasma */
.input-group-luxo { margin-bottom: 30px; }
.input-group-luxo input, .input-group-luxo select {
    width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid var(--line-color);
    color: var(--text-color); font-family: var(--font-sans); font-size: 1rem; outline: none; transition: border-color 0.3s;
}
.input-group-luxo select option { background-color: var(--bg-color); color: var(--text-color); }
.input-group-luxo input:focus, .input-group-luxo select:focus { border-bottom: 1px solid var(--text-color); }

/* BOTÃO OUTLINE */
.btn-outline {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    padding: 10px 6px; background: transparent; color: var(--text-color);
    border: 1px solid var(--line-color); border-radius: 30px; font-family: var(--font-sans);
    font-size: 0.85rem; font-weight: 500; letter-spacing: 2px; cursor: pointer; transition: all 0.3s ease; margin-top: 20px;
}
.btn-outline:hover { border-color: var(--text-color); background-color: rgba(255, 255, 255, 0.05); }

/* RODAPÉ */
.footer { text-align: center; border-top: 1px solid var(--line-color); padding: 30px 0; font-size: 0.8rem; color: var(--text-muted); }
.link-rodape { display: block; color: var(--text-muted); text-decoration: none; margin-top: 10px; letter-spacing: 1px; }

/* --- RESPONSIVIDADE (COMPUTADOR / TABLET) --- */
@media (min-width: 768px) {
    .grid-2-colunas { grid-template-columns: 1fr 1fr; } /* Divide em 50% / 50% */
    .grid-3-colunas { grid-template-columns: repeat(3, 1fr); } /* 3 colunas de depoimentos */
    .grid-projetos { grid-template-columns: repeat(1,1); gap: 10px; } /* 4 fotos na galeria */
    .linha-horizontal-servicos { gap: 30px 40px; }
    
    /* Na seção sobre, inverte a ordem visual se quiser, ou deixa a imagem na esquerda e texto na direita */
    .sobre-nos { padding: 80px 0; }
    .depoimentos { padding: 80px 0; }
}

/* ==========================================================
   MODAL (POP-UP DO FORMULÁRIO)
   ========================================================== */
.modal-overlay {
    display: none; /* Escondido por padrão */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(34, 32, 32, 0.747); /* Fundo preto transparente */
    z-index: 9999;
    align-items: center; justify-content: center;
    backdrop-filter: blur(5px); /* Desfoca o fundo da página (Toque de luxo) */
}

.modal-content {
    background-color: #0A0A0A;
    border: 1px solid var(--line-color);
    width: 90%; max-width: 450px;
    padding: 40px; border-radius: 8px;
    position: relative; text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fechar-modal {
    position: absolute; top: 15px; right: 20px;
    color: var(--text-muted); font-size: 2rem;
    cursor: pointer; transition: color 0.3s;
}

.fechar-modal:hover { color: var(--gold-accent); }

/* Ajuste no botão primary para o modal */
.modal-content .btn-primary {
    background-color: var(--text-color); color: var(--bg-color);
    padding: 18px; border-radius: 4px; border: none; font-weight: bold;
    width: 100%; cursor: pointer; letter-spacing: 1px; text-transform: uppercase;
    transition: all 0.3s;
}
.modal-content .btn-primary:hover { background-color: var(--gold-accent); color: #fff;}

/*Codigo que alinha os videos do Instagram*/

.grid-videos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 por linha no celular */
    gap: 15px;
}

.video-item {
    aspect-ratio: 1 / 1.6; /* Mantém o quadrado perfeito */
    background-color: #111;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz o vídeo preencher o quadrado sem esticar */
    filter: brightness(0.8); /* Toque de luxo: vídeo levemente mais escuro */
    transition: filter 0.3s ease;
}

.video-item:hover .video-preview {
    filter: brightness(1); /* Ganha brilho ao passar o mouse */
}

@media (min-width: 768px) {
    .grid-videos {
        grid-template-columns: repeat(4, 1fr); /* 4 por linha no desktop */
        gap: 20px;
    }
}

/* ==========================================================
   RODAPÉ PREMIUM
   ========================================================== */
.footer-premium {
    background-color: #050505; /* Um tom acima do preto puro para dar profundidade */
    border-top: 1px solid var(--line-color);
    padding: 60px 0 30px 0;
    color: var(--text-muted);
}

.grid-rodape {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: uma coluna */
    gap: 40px;
    text-align: center;
}

.col-rodape h4 {
    color: var(--text-color);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
}

.logo-rodape {
    font-family: var(--font-serif);
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.slogan-rodape {
    font-size: 0.85rem;
    max-width: 250px;
    margin: 0 auto;
}

.link-footer {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.link-footer:hover { color: var(--text-color); }

/* Selo Google Meu Negócio */
.google-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid var(--line-color);
    transition: all 0.3s;
}

.google-badge:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.g-icon { width: 20px; margin-right: 12px; }

.g-text { text-align: left; line-height: 1.2; }

.g-text span { display: block; font-size: 0.7rem; color: var(--text-muted); }

.g-text strong { display: block; font-size: 0.8rem; color: #fff; }

.estrelas-google {
    color: #fbbc05; /* Amarelo oficial do Google */
    margin-top: 10px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.copyright {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    text-align: center;
}

/* Desktop */
@media (min-width: 768px) {
    .grid-rodape {
        grid-template-columns: 2fr 1fr 1fr; /* Logo maior, outras colunas menores */
        text-align: left;
    }
    .slogan-rodape { margin: 0; }
    .col-google { text-align: right; }
    .google-badge { justify-content: flex-end; }
}

/* ==========================================================
   SEÇÃO DO BOTÃO CENTRALIZADO (Substitui os Depoimentos)
   ========================================================== */
.secao-botao-solitario {
    padding: 0px 0px; /* Respiro em cima/baixo e laterais */
    border-bottom: 1px solid var(--line-color);
    background-color: var(--bg-color); /* Garante o fundo preto */
    width: 100%;
}

.centralizar-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza tudo no meio da tela */
    justify-content: center;
    text-align: center;
    width: 100%;
}

.btn-dourado {
    border-color: var(--gold-accent) !important; /* Borda dourada */
    width: 100%;
    max-width: 400px; /* Não deixa ficar largo demais no computador */
    margin: 0 auto; /* Força a ficar no meio */
    justify-content: center; /* Centraliza o texto e a seta dentro do botão */
    gap: 15px; /* Espaço entre o texto e a seta */
}

.btn-dourado:hover {
    background-color: var(--gold-accent) !important;
    color: #000 !important; /* Texto fica preto ao passar o mouse */
}

.subtexto-botao {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}