/* -----------------------------------------------------------
   1. RESET E CONFIGURAÇÕES BÁSICAS
----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Merriweather', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #0a0a0a;       
    --bg-accent: #161616;      
    --text-color: #ffffff;     
    --text-muted: #b3b3b3;    
    --primary-color: #ff8800;  
    --hover-color: #ff8800;    
    --transition-smooth: all 0.4s ease; 
}

/* -----------------------------------------------------------
   2. MODO CLARO (VARIÁVEIS)
----------------------------------------------------------- */
body.light-mode {
    --bg-color: #f4f4f9;       
    --bg-accent: #ffffff;      
    --text-color: #1a1a1a;     
    --text-muted: #666666;     
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* -----------------------------------------------------------
   3. HEADER & NAVBAR
----------------------------------------------------------- */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

body.light-mode .header {
    background-color: rgba(244, 244, 249, 0.95);
    border-bottom: 1px solid #ddd;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1rem;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-contato-nav):hover {
    color: var(--primary-color);
}

.btn-contato-nav {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.btn-contato-nav:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* Estilo do Botão de Alternar Tema */
.tema-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-left: 10px;
}

.tema-toggle:hover {
    color: var(--primary-color);
    transform: rotate(20deg);
}

/* -----------------------------------------------------------
   4. HERO SECTION (COM VÍDEO DESTACADO)
----------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Coloca o conteúdo em formato de coluna (um embaixo do outro) */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 20px 60px; /* Dá um respiro pro cabeçalho lá em cima */
    background: radial-gradient(circle at center, var(--bg-accent) 0%, var(--bg-color) 100%);
}

.hero-video-box {
    width: 100%;
    max-width: 900px; /* Controla a largura máxima pro vídeo não ficar gigante num monitor grande */
    margin-bottom: 40px; /* Dá aquele espacinho maroto pro texto que vem embaixo */
}

.video-destaque {
    width: 100%;
    border-radius: 20px; /* As bordas BEM suaves que você pediu */
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0); /* Sombra avermelhada cabulosa pra dar destaque */
    border: 1px solid #333; /* Bordinha escura e sutil */
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Deixa a sombra e a borda mais neutras se o cliente estiver usando o Tema Claro */
body.light-mode .video-destaque {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #ddd;
}

.hero-content h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.0rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* O resto dos botões (.btn-primary, .btn-secondary) do seu código pode deixar igual! */

/* -----------------------------------------------------------
   5. SERVIÇOS SECTION
----------------------------------------------------------- */
.servicos {
    padding: 100px 0;
    background-color: var(--bg-accent);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #222;
    text-align: center;
    transition: var(--transition-smooth);
}

body.light-mode .servico-card {
    border-color: #ddd;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.servico-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgb(255, 145, 0);
}

.servico-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.servico-card p {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* -----------------------------------------------------------
   6. GALERIA DE TRABALHOS
----------------------------------------------------------- */
.galeria {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.galeria-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.foto-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3; 
}

.foto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.foto-card:hover img {
    transform: scale(1.1); 
}

.foto-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: bottom 0.4s ease;
}

.foto-card:hover .foto-overlay {
    bottom: 0;
}

.foto-overlay h3 {
    color: #ffffff; 
    font-size: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    transition-delay: 0.1s;
}

.foto-card:hover .foto-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

/* -----------------------------------------------------------
   7. FOOTER
----------------------------------------------------------- */
.footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: var(--text-muted);
    background-color: var(--bg-accent);
}

body.light-mode .footer {
    border-color: #ddd;
}

.footer p {
    margin-bottom: 10px;
}

/* -----------------------------------------------------------
   8. ANIMAÇÕES DE SUAVIDADE
----------------------------------------------------------- */
.fade-in {
    animation: fadeInAnimation 1.5s ease forward;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#ai-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

/* -----------------------------------------------------------
   9. SOBRE NÓS & REDES SOCIAIS
----------------------------------------------------------- */
.sobre {
    padding: 100px 0;
    background-color: var(--bg-accent);
}

.sobre-grid {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-texto h2::after {
    margin: 10px 0 0 0; /* Alinha o tracinho vermelho à esquerda */
}

.sobre-texto p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.redes-sociais {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

body.light-mode .redes-sociais {
    border-top-color: #ddd;
}

.redes-sociais h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    color: #ffffff !important;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-4px);
    filter: brightness(1.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* As cores brabas originais de cada marca */
.insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.face {
    background-color: #1877F2;
}

.whats {
    background-color: #25D366;
}

/* -----------------------------------------------------------
   10. AJUSTE DA LOGO EM IMAGEM
----------------------------------------------------------- */
.logo-img {
    display: flex;
    align-items: center;
}

.logo-img img {
    max-height:100px; /* Aumente ou diminua esse número pra ajustar o tamanho da logo */
    width: auto;
    transition: transform 0.3s ease;
}

/* Efeitinho maroto de zoom quando o mouse passa por cima */
.logo-img:hover img {
    transform: scale(1.05); 
}

/* Ajuste fino pro modo claro, caso a sua logo precise (opcional) */
/* body.light-mode .logo-img img {
    filter: invert(1); Se a logo for branca, isso deixa ela preta no tema claro
} */

CSS
/* -----------------------------------------------------------
   11. LIGHTBOX (FOTO AMPLIADA)
----------------------------------------------------------- */
.modal {
    display: none; /* Fica escondido até o cara clicar */
    position: fixed;
    z-index: 9999; /* Pra ficar por cima de TUDO, até do menu */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fundo pretão com 90% de transparência */
}

.modal-conteudo {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 25px rgb(255, 123, 0); /* Brilhozinho vermelho no fundo da foto */
    animation: zoomIn 0.3s ease; /* Animação de entrada rápida */
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.fechar-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.fechar-modal:hover {
    color: var(--primary-color); /* Fica vermelho quando passa o mouse */
}

/* -----------------------------------------------------------
   CORREÇÃO DE EMERGÊNCIA: NAVBAR PREMIUM RESPONSIVA
----------------------------------------------------------- */

/* Garante que a barra inteira não passe do limite da tela */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Impede que as palavras do menu quebrem feio em duas linhas */
.nav-links a {
    white-space: nowrap; 
}

/* 📱 SE A TELA FOR DO TAMANHO DE UM CELULAR (Menor que 768px) */
@media (max-width: 768px) {
    .nav-links {
        gap: 10px; /* Gruda um pouco mais os links pro botão respirar */
    }
    
    .nav-links a {
        font-size: 0.85rem; /* Diminui um tiquinho o tamanho das letras */
    }

    /* O pulo do gato pro botão do Zap */
    .btn-whats-nav {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* 📱 SE O CELULAR FOR MUITO PEQUENO (Menor que 550px) */
@media (max-width: 550px) {
    /* Esconde QUALQUER texto que esteja dentro do span do botão */
    .btn-whats-nav span {
        display: none !important;
    }
    
    /* Deixa o botão redondo, só com o ícone do Zap brilhando grandão */
    .btn-whats-nav {
        padding: 10px 12px !important;
        font-size: 1.2rem !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* -----------------------------------------------------------
   UPGRADE DE RESPONSIVIDADE - LUIS PRODUÇÕES (PORTFÓLIO)
----------------------------------------------------------- */

/* Evita que o menu estoure para os lados no celular */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links a {
    white-space: nowrap; /* Não deixa as palavras quebrarem em duas linhas */
}

/* 📱 QUANDO A TELA FOR MENOR QUE 768px (CELULARES E TABLETS) */
@media (max-width: 768px) {
    .nav-links {
        gap: 12px; /* Diminui o espaço entre os links pro menu respirar */
    }
    
    .nav-links a, .tema-toggle {
        font-size: 0.85rem; /* Diminui um tiquinho o tamanho das letras */
    }

    .btn-contato-nav {
        padding: 6px 12px; /* Deixa o botão do zap mais compacto */
    }
}

/* 📱 QUANDO O CELULAR FOR PEQUENO (MENOR QUE 580px - IGUAL SEU PRINT) */
@media (max-width: 580px) {
    /* O GRANDE TRUQUE: Esconde o texto dentro do span e deixa só o ícone do Zap */
    .btn-contato-nav span {
        display: none !important;
    }
    
    /* Transforma o botão num círculo perfeito com o ícone centralizado */
    .btn-contato-nav {
        padding: 8px 10px !important;
        font-size: 1.1rem !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        gap: 10px; /* Ajuste fino final no espaçamento */
    }
}