/* =================================================================
   STYLE.CSS - REVISADO (TECH LEAD VERSION)
   ================================================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html{
    scroll-behavior: smooth;
}

:root{
    /* Cores Premium */
    --gold-main: #d4af37;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --gold-text: #FFD700;
    --red-wine: #6d0715; 
    --red-gradient: linear-gradient(135deg, #8a1c27 0%, #4a0b12 100%);
    
    /* Fundos */
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Tipografia */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
    
    /* Layout Padrão (Boxed Layout) */
    --container-width: 1200px;
    --container-padding: 0 20px;
}

body{
    background-color:var(--bg-dark);
    color: #ffffff;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* --- UTILITÁRIOS --- */
.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* CLASS MESTRA DE CONTAINER (O Segredo do Layout Estável) */
.container-conteudo-inicio,
.container-sobre,
.container-clientes,
.container-cases,
.container-depoimentos,
.container-metodos,
.container-contato,
.container-rodape,
.container-editorial {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto; /* Centraliza a caixa na tela */
    padding: var(--container-padding);
    position: relative;
    z-index: 2;
}

/* =========================================
   1. NAVEGAÇÃO TOPO
   ========================================= */
.navegacao-topo {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
    /* Flex para centralizar o conteúdo interno */
    display: flex;
    justify-content: center;
}

/* Container interno da navegação para alinhar com o resto do site */
.nav-container {
    width: 100%;
    max-width: var(--container-width);
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navegacao-topo.rolagem-ativa {
    background: rgba(5, 5, 5, 0.95);
    border-bottom: var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.navegacao-topo.rolagem-ativa .nav-container { padding: 15px 20px; }

.logo-menu img { height: 40px; }

.lista-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.link-menu {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.link-menu:hover { color: var(--gold-main); }


/* =========================================
   2. HERO SECTION (CORRIGIDA)
   ========================================= */
.secao-inicio {
    height: 100vh;
    min-height: 700px; /* Evita cortes em telas pequenas */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o container principal */
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%),
        url('img/background-capa.jpg');
    background-size: cover; /* Cobre tudo sem deixar buracos */
    background-position: center;
    background-repeat: no-repeat;
}

/* O conteúdo dentro do container */
.container-conteudo-inicio {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Mantém seu texto à direita */
    text-align: right;
}

.foto-perfil { margin-bottom: 20px; }
.foto-perfil img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-main);
    box-shadow: 0 0 40px rgba(182, 142, 10, 0.426);
    animation: flutuar 4s ease-in-out infinite;
}

@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.titulo-inicio {
    font-family: var(--font-heading);
    font-size: 3.5rem; /* Levemente maior */
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.subtitulo-inicio {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #8a1c27 -80%, #ffdf6b 50%, #8a1c27 150%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bio-inicio {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.botoes-inicio {
    display: flex;
    gap: 20px;
    justify-content: flex-end; /* Alinha botões à direita */
}

.botao-verprojetos {
    background: var(--red-gradient);
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.botao-verprojetos:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 28, 39, 0.4);
}

.botao-conversar {
    position: relative;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    background: linear-gradient(#050505, #050505) padding-box,
                linear-gradient(45deg, #8a1c27 -80%, #ffdf6b 50%, #8a1c27 150%) border-box;
    border: 2px solid transparent;
}

.botao-conversar:hover {
    color: var(--gold-main);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .secao-inicio {
        background-position: center;
        /* Escurece mais o fundo no mobile para ler melhor */
        background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('img/background-capa.jpg');
    }
    .container-conteudo-inicio { 
        align-items: center; /* Centraliza no mobile */
        text-align: center; 
    }
    .titulo-inicio { font-size: 2.5rem; }
    .subtitulo-inicio { font-size: 1.2rem; }
    .botoes-inicio { justify-content: center; }
}

/* =========================================
   3. SEÇÃO SOBRE
   ========================================= */
.secao-sobre {
    padding: 120px 0;
    position: relative;
    background-image: url(img/background-section\ -\ sobre.jpg); 
    background-size: cover;
    background-position: center;
    background-color: #050505;
}

.caixa-vidro-sobre {
    display: flex;
    align-items: stretch; /* Estica altura igual */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border-radius: 24px;
    overflow: hidden;
}

.coluna-foto-sobre {
    flex: 1;
    min-width: 300px;
    position: relative;
    background: linear-gradient(to right, rgba(0,0,0,0.2), transparent);
}

.foto-sobre {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que preencha */
    display: block;
}

.coluna-texto-sobre {
    flex: 1.5;
    padding: 60px 50px;
}

.titulo-sobre {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.2;
}

.paragrafo-sobre {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .caixa-vidro-sobre { flex-direction: column; text-align: center; }
    .coluna-foto-sobre { height: 300px; }
    .coluna-texto-sobre { padding: 30px; }
}

/* =========================================
   4. SEÇÃO CLIENTES (CARROSSEL FIX)
   ========================================= */
.secao-clientes {
    padding: 60px 0;
    background: linear-gradient(90deg, #1a0505 0%, #000000 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titulo-clientes {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-track {
    display: flex;
    align-items: center;
    gap: 80px; /* Espaço entre logos */
    width: max-content; /* Acomoda todos os itens */
    animation: scrollLoop 40s linear infinite;
}

.slide img {
    height: 60px; /* Altura padrão logos */
    width: auto;
    filter: grayscale(100%) opacity(0.5);
    transition: 0.5s ease;
}

.slide img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15);
    cursor: pointer;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

@keyframes scrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move metade (o conjunto original) */
}

/* =========================================
   5. SEÇÃO CASES
   ========================================= */
.secao-cases {
    padding: 100px 0;
    background-image: url('img/bg-cases.jpg');
    background-size: cover;
    background-position: center;
    background-color: #050505;
}

.titulo-secao-cases {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--gold-main);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.grid-game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

.game-card {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.card-image { width: 100%; height: 100%; }
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-glass-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(20,20,20,0.5) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: 0.3s;
}

.card-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.card-description { color: #ccc; font-size: 0.9rem; }

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-main);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}
.game-card:hover .card-image img { transform: scale(1.1); }
.game-card:hover .card-title { color: var(--gold-main); }

/* =========================================
   6. SEÇÃO DEPOIMENTOS
   ========================================= */
.secao-depoimentos {
    padding: 100px 0;
    background-color: #080808;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.titulo-depoimentos {
    text-align: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 60px;
}
.titulo-depoimentos .texto-destaque { color: var(--gold-main); font-weight: 700; }

.grid-depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card-depoimento {
    background: #151515;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #333;
    transition: 0.3s ease;
}
.card-depoimento:hover {
    transform: translateY(-5px);
    border-color: var(--gold-main);
}
.header-depoimento { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.foto-cliente-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-main);
    flex-shrink: 0;
}
.foto-cliente { width: 100%; height: 100%; object-fit: cover; }
.nome-cliente { color: #fff; font-size: 1.1rem; font-weight: 700; }
.estrelas { color: #D4AF37; font-size: 0.8rem; }
.texto-depoimento { color: #ccc; font-size: 0.95rem; line-height: 1.6; }


/* =========================================
   7. SEÇÃO MÉTODOS (ACORDEÃO)
   ========================================= */
.secao-metodos {
    padding: 100px 0;
    background-image: url('img/background-section\ -\ metodos.jpg');
    background-size: cover;
    background-position: center;
    background-color: #000;
}
.titulo-metodos {
    text-align: center;
    color: var(--gold-main);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}
.accordion-lista { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; width: 100%; }
.accordion-item {
    background: rgba(10, 10, 10, 0.8); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px; 
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.accordion-item.active {
    border-color: var(--gold-main);
    background: rgba(20, 20, 20, 0.95);
}
.accordion-header {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left { display: flex; align-items: center; gap: 15px; }
.titulo-item { color: #fff; font-size: 1.1rem; font-weight: 500; }
.icone-toggle { color: #666; transition: 0.3s; }
.accordion-item.active .icone-toggle { transform: rotate(45deg); color: var(--gold-main); }

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    padding: 0 30px;
    opacity: 0;
}
.accordion-item.active .accordion-body {
    max-height: 150px;
    padding-bottom: 25px;
    opacity: 1;
}
.accordion-body p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }


/* =========================================
   8. SEÇÃO CONTATO
   ========================================= */
.secao-contato {
    padding: 100px 0;
    background-image: url('img/background-section\ -\ contato.jpg');
    background-size: cover; 
    background-position: center;
    background-color: #050505;
}
.form-wrapper {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto; /* Centraliza o form */
}
.titulo-contato {
    color: var(--gold-main);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
}
.formulario-main { display: flex; flex-direction: column; gap: 20px; }
.grupo-input input, .grupo-input textarea {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    width: 100%;
}
.grupo-input input:focus, .grupo-input textarea:focus {
    border-color: var(--gold-main);
    outline: none;
}
.botao-enviar-contato {
    padding: 16px;
    background: var(--red-gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}
.botao-enviar-contato:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(138, 28, 39, 0.3); }


/* =========================================
   9. RODAPÉ
   ========================================= */
.secao-rodape {
    background-color: #050505;
    padding-top: 60px;
    border-top: 1px solid #222;
}
.subcontainer-rodape-contatos {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.logo-rodape { height: 40px; margin-bottom: 20px; }
.bio-rodape { color: #888; font-size: 0.9rem; max-width: 300px; }
.titulo-links, .titulo-coluna {
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem;
}
.lista-links li, .lista-icones li { margin-bottom: 10px; }
.lista-links a, .lista-icones a { color: #888; transition: 0.3s; }
.lista-links a:hover, .lista-icones a:hover { color: var(--gold-main); padding-left: 5px; }
.icone-destaque { color: var(--gold-main); margin-right: 8px; }
.subcontainer-rodape-copyright {
    border-top: 1px solid #111;
    padding: 30px 0;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}
@media (max-width: 900px) {
    .subcontainer-rodape-contatos { grid-template-columns: 1fr; text-align: center; }
    .bio-rodape { margin: 0 auto 20px auto; }
}

/* =========================================
   PÁGINAS INTERNAS (EDITORIAL)
   ========================================= */
.secao-marketing-editorial,
.secao-dev-editorial,
.secao-design-editorial {
    padding-top: 120px; /* Mais espaço para o menu fixo */
    padding-bottom: 60px;
    min-height: 100vh;
    background: #050505;
}

.header-editorial {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.subtitulo-gold { color: var(--gold-main); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; display: block; font-weight: 700; margin-bottom: 10px;}
.titulo-editorial { font-size: 3rem; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.intro-editorial { color: #bbb; font-size: 1.1rem; line-height: 1.6; }

/* ZIG ZAG LAYOUT */
.row-portfolio {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}
.row-portfolio.invertido { flex-direction: row-reverse; }

.col-visual, .col-texto { flex: 1; }

.img-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    background-color: #111; 
    height: 350px; 
}

.carousel-track { display: flex; height: 100%; transition: transform 0.5s ease-in-out; }
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.6); color: var(--gold-main); border: none;
    font-size: 1.2rem; width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.carousel-btn:hover { background: var(--gold-main); color: #000; }
.btn-prev { left: 15px; }
.btn-next { right: 15px; }

.col-texto h3 { font-size: 2rem; color: #fff; margin-bottom: 20px; }
.col-texto p { color: #aaa; margin-bottom: 15px; }
.lista-check-gold li { color: #eee; margin-bottom: 10px; display: flex; align-items: center; }
.lista-check-gold i { color: var(--gold-main); margin-right: 10px; }

@media (max-width: 900px) {
    .row-portfolio, .row-portfolio.invertido { flex-direction: column; }
    .titulo-editorial { font-size: 2rem; }
}

/* BOTÃO FLUTUANTE */
.btn-flutuante {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px; background-color: #25d366; color: #fff;
    border-radius: 50%; text-align: center; line-height: 60px; font-size: 30px;
    z-index: 9999; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden; transition: all 0.4s ease; transform: translateY(20px);
}
.btn-flutuante.mostrar { opacity: 1; visibility: visible; transform: translateY(0); }