/* 
   ESTILO EXCLUSIVO: SETE CORES PINTURA A PÓ 
   Localização: São Leopoldo, RS
*/

:root {
    --azul-profundo: #051221;
    --azul-vibrante: #00aaff;
    --branco: #ffffff;
    --cinza-texto: #555555;
    /* Degradê baseado no logo Sete Cores */
    --gradiente-sete-cores: linear-gradient(135deg, #ff0000, #ffcc00, #00ff00, #00aaff, #8b00ff);
    --glass-bg: rgba(10, 30, 54, 0.85);
    --transicao: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--branco);
    color: var(--azul-profundo);
    overflow-x: hidden;
}

/* --- HEADER MODERNO (GLASSMORPHISM) --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    max-width: 1200px;
    height: 85px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
body {
    /* Soma da altura do header (85px) + distância do topo (20px) + um respiro (30px) */
    padding-top: 135px; 
}
/* --- CONTAINER DO LOGO --- */
.logo {
    background: var(--branco);
    /* Aumentamos o padding lateral para o fundo ficar comprido */
    padding: 10px 60px; 
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicao);
    
    /* Largura fixa para o fundo não variar */
    width: 350px; 
    height: 100px; /* Altura fixa para o container branco */
    overflow: hidden; /* Garante que nada saia do fundo branco */
}

/* --- A IMAGEM (Ajustada para o Zoom Correto) --- */
.logo img {
    /* Em vez de width 90%, usamos height 140% para dar o zoom vertical e horizontal juntos */
    height: 260%; 
    width: auto;
    display: block;
    object-fit: contain;
    
    /* O scale agora é moderado para preencher o espaço sem borrar */
    transform: scale(1.2);
}

/* --- AJUSTE NO HEADER --- */
header {
    height: 110px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}
/* --- NAVEGAÇÃO --- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradiente-sete-cores);
    transition: var(--transicao);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-whatsapp-header {
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transicao);
}

.btn-whatsapp-header:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}

/* --- SEÇÃO SOBRE NÓS (LAYOUT ASSIMÉTRICO) --- */
.about-section {
    padding: 150px 0 100px;
    background: linear-gradient(to bottom, #fdfdfd, #f4f7fa);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge-sobre {
    display: inline-block;
    padding: 6px 18px;
    background: var(--gradiente-sete-cores);
    color: white;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    color: var(--cinza-texto);
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* --- SEÇÃO SOBRE NÓS (Grid e Organização) --- */
.about-section {
    padding: 120px 0 80px 0; /* Espaço generoso no topo para não bater no header */
    background-color: #ffffff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    /* Texto ocupa 1.1 e Imagem 0.9 para um equilíbrio visual melhor */
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 70px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- COLUNA DA IMAGEM --- */
.about-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

/* Elemento decorativo (Moldura) */
.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--azul-vibrante);
    top: 25px;
    left: -25px; /* Inverti para o lado de dentro para evitar barra de rolagem */
    border-radius: 20px;
    z-index: -1;
    opacity: 0.12;
}

/* --- A IMAGEM (Ajustada para não ficar gigante) --- */
.about-image img {
    width: 100%;
    max-width: 460px; 
    height: 400px; /* Altura fixa controlada para o layout ficar simétrico */
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.08);
    object-fit: cover; /* Faz o "zoom" na foto sem distorcer as peças industriais */
    transition: var(--transicao);
}

.about-image img:hover {
    transform: scale(1.02) translateY(-5px);
}

/* --- AJUSTE DOS TEXTOS --- */
.about-text h2 {
    font-size: 2.6rem;
    color: var(--azul-escuro);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

/* --- RESPONSIVIDADE (Celular e Tablet) --- */
@media (max-width: 992px) {
    .about-section {
        padding: 80px 0 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr; /* Vira uma coluna só */
        text-align: center;
        gap: 50px;
    }

    .about-image {
        order: 2; /* Texto em cima, imagem embaixo no mobile */
    }

    .about-image img {
        height: 300px; /* Menor no celular */
        max-width: 100%;
    }

    .about-image::before {
        display: none; /* Remove a moldura no mobile para não poluir */
    }
}

.video-divider {
    width: 100%;
    height: 400px; /* Altura menor que o Hero para não cansar o usuário */
    position: relative;
    overflow: hidden;
    margin: 40px 0; /* Espaço entre o Sobre e o Por que Escolher */
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.mid-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo preencha o retângulo sem distorcer */
}
.video-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* REMOVE QUALQUER COR DE FUNDO (A "FUMAÇA") */
    background: none !important; 

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff; 
    text-align: center;
    
    /* SOMBRA APENAS NAS LETRAS PARA NÃO OFUSCAR O VÍDEO */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.mid-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* REMOVE QUALQUER FILTRO QUE ESTEJA TIRANDO A DEFINIÇÃO */
    filter: none !important; 
    -webkit-filter: none !important;
}

.video-content-overlay h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Um pouco de peso na fonte ajuda a ler sem precisar de sombras gigantes */
    font-weight: 700; 
}

.service-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo preencha o espaço sem sobrar bordas */
    display: block;
}

/* Garante que o container do vídeo tenha um tamanho fixo igual aos outros cards */
.service-img {
    height: 250px; /* Ajuste para bater com a altura das suas outras imagens */
    overflow: hidden;
    position: relative;
}













/* Seção Diferenciais - Nova Identidade */
.diferenciais-section {
    padding: 100px 0;
    background-color: #1a1a1a; /* Grafite escuro */
    color: var(--branco);
}

.diferenciais-header h3 {
    font-size: 26px;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.diferenciais-header span {
    color: #ffffff;
    border-bottom: 2px solid var(--gradiente-sete-cores);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* Cards com Design Minimalista e Moderno */
.diff-card {
    background: #242424;
    padding: 40px 20px;
    border-radius: 15px;
    border-bottom: 4px solid transparent; /* Reserva espaço para o hover */
    transition: all 0.3s ease;
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 30px;
}

/* Cores variadas para os ícones - Remetendo ao nome Sete Cores */
.color-1 { background: rgba(255, 0, 0, 0.1); color: #ff4d4d; }
.color-2 { background: rgba(0, 170, 255, 0.1); color: #00aaff; }
.color-3 { background: rgba(255, 204, 0, 0.1); color: #ffcc00; }
.color-4 { background: rgba(0, 255, 127, 0.1); color: #00ff7f; }

.diff-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #efefef;
}

.diff-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

/* Hover: Efeito de destaque por cor */
.diff-card:hover {
    transform: translateY(-10px);
    background: #2a2a2a;
}

.diff-card:hover.color-1-border { border-bottom-color: #ff4d4d; } /* Exemplo de lógica */

/* Adicionando bordas coloridas no hover de cada card individualmente */
.diff-card:nth-child(1):hover { border-bottom-color: #ff4d4d; }
.diff-card:nth-child(2):hover { border-bottom-color: #00aaff; }
.diff-card:nth-child(3):hover { border-bottom-color: #ffcc00; }
.diff-card:nth-child(4):hover { border-bottom-color: #00ff7f; }

/* Seção de Serviços Modernizada */
.services-section {
    padding: 100px 0;
    background-color: #f9f9f9; /* Fundo claro para contrastar com os diferenciais dark */
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--branco);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transicao);
    display: flex;
    flex-direction: column;
}

.service-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(10, 30, 54, 0.4));
}

.service-info {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--azul-profundo);
    font-weight: 700;
}

.service-info p {
    font-size: 15px;
    color: var(--cinza-texto);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Botão Modernizado com Gradiente */
.btn-service {
    padding: 12px 20px;
    background: var(--gradiente-sete-cores);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    transition: var(--transicao);
    display: inline-block;
    align-self: center;
}

.btn-service:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Efeito de Hover no Card */
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

/* Borda colorida sutil no topo do card ao passar o mouse */
.service-item:hover {
    border-top: 4px solid var(--azul-vibrante);
}

.portfolio-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* Um fundo levemente diferente para destacar */
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 33, 58, 0.8); /* Cor da marca com transparência */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-hover {
    opacity: 1;
}

.btn-instagram {
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-instagram:hover {
    /* Cores clássicas do degradê do Instagram */
    color: #E1306C !important; 
    transform: scale(1.05);
}

/* --- AJUSTES PARA CELULAR (Telas até 768px) --- */
@media (max-width: 768px) {
    header {
        height: auto; /* Deixa o header crescer se necessário */
        padding: 15px 20px;
        flex-direction: column; /* Empilha o logo e o menu */
        gap: 15px;
    }

    @media (max-width: 768px) {
    /* Faz o contêiner do logo ocupar mais largura */
    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .logo img {
        /* Aumenta a largura para cobrir o espaço horizontal */
        width: 90%; 
        max-width: 350px; /* Limite para não ficar gigante em tablets */
        height: auto;
        /* Garante que a imagem se comporte bem dentro do espaço */
        object-fit: contain; 
    }

    /* Ajuste extra: como o logo cresceu, vamos garantir que o menu 
       abaixo dele não fique grudado */
    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
}
    .nav-links {
        gap: 15px; /* Diminui o espaço entre os links */
        flex-wrap: wrap; /* Permite que os links quebrem para a linha de baixo */
        justify-content: center;
    }

    .nav-links a {
        font-size: 12px; /* Diminui um pouco a letra */
    }

    /* Esconde o Instagram no celular se ficar muito apertado */
    /* Ou mantenha-o, mas ajuste o tamanho */
    .nav-icon-link i {
        font-size: 22px;
    }

    /* Oculta o botão de orçamento do Header no celular se você já tiver 
       um botão flutuante de WhatsApp (que é melhor para mobile) */
    header .btn-whatsapp { 
        display: none; 
    }
}

.footer-simple {
    background-color: #1a2a3a; /* Azul do seu header */
    padding: 30px 0 15px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo-small {
    width: 140px; /* Logo menor e mais discreta */
    background: white;
    padding: 6px;
    border-radius: 6px;
    opacity: 0.9;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 0.5px;
}

.separator {
    opacity: 0.3;
}

.footer-insta {
    color: white;
    font-size: 18px;
    opacity: 0.6;
    transition: 0.3s;
}

.footer-insta:hover {
    opacity: 1;
    color: #E1306C;
}

.footer-legal {
    text-align: center;
    margin-top: 20px;
    font-size: 11px;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Ajuste rápido para o celular */
@media (max-width: 480px) {
    .footer-contact-row {
        flex-direction: column;
        gap: 8px;
    }
    .separator {
        display: none;
    }
}