:root {
    /* --- PALETA DA MARCA OFICIAL --- */
    --brand-orange: #FD9D0E;  /* Sol / Destaque / CTA */
    --brand-blue: #0F77C1;    /* Telhado / Tecnologia / Títulos */
    --brand-dark: #2F2D2B;    /* Texto da Marca / Corpo */
    --brand-gray: #E0DBD4;    /* Apoio / Fundos */
    
    /* VARIÁVEIS DE USO */
    --primary: var(--brand-orange);
    --secondary: var(--brand-blue);
    --text-main: var(--brand-dark);
    --text-light: #555555;
    --bg-body: #ffffff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(15, 119, 193, 0.15);
}

/* --- BASE & RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    font-family: 'Manrope', sans-serif; 
    background-color: var(--bg-body); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* TIPOGRAFIA */
h1, h2, h3, h4 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 800; 
    line-height: 1.2; 
    color: var(--brand-blue);
}

a { text-decoration: none; transition: 0.3s ease; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
.main-header { 
    position: fixed; top: 0; width: 100%; z-index: 1000; 
    padding: 10px 0; /* Ajustado para compensar a logo maior */
    transition: 0.4s; 
    background: rgba(255, 255, 255, 0.98); 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo-container { display: flex; align-items: center; }
.logo-img { 
    max-height: 90px; /* AUMENTADO: De 60px para 90px */
    width: auto; 
    display: block; 
    transition: 0.3s;
}
.logo { font-size: 1.6rem; font-weight: 900; color: var(--brand-dark); letter-spacing: -1px; text-transform: uppercase; }
.logo span { color: var(--brand-orange); }

/* Menu Desktop */
.menu { display: flex; gap: 30px; list-style: none; align-items: center; }
.menu a { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--brand-dark); }
.menu a:hover { color: var(--brand-blue); }
.menu-btn-mobile { color: var(--brand-blue); cursor: pointer; display: none; }

/* --- BOTÕES & CTAs --- */
.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background: var(--brand-orange);
    color: #fff !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(253, 157, 14, 0.4);
    transition: 0.3s;
}
.btn-cta:hover { 
    background: var(--brand-blue); 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(15, 119, 193, 0.3);
}

/* Botão Glass (Vidro - usado no Hero) */
.btn-glass {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
    padding: 12px 30px;
    font-weight: 700; text-transform: uppercase;
    border-radius: 4px;
}
.btn-glass:hover { background: #fff; color: var(--brand-dark) !important; }

/* --- HERO CINEMATIC (Full Screen Imponente) --- */
.hero-cinematic {
    position: relative;
    min-height: 90vh; /* Ocupa quase a tela toda */
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2400&auto=format&fit=crop') center/cover no-repeat fixed;
    margin-top: 0; 
    padding-top: 80px;
}

/* Máscara escura */
.hero-cinematic::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content-cine {
    position: relative; z-index: 2;
    max-width: 800px;
    padding-left: 30px;
    border-left: 5px solid var(--brand-orange);
}

.hero-badge-cine {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 16px;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.hero-title-cine {
    font-size: 3.5rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-desc-cine {
    color: #e0e0e0; font-size: 1.15rem; max-width: 600px; margin-bottom: 40px; font-weight: 300;
}

/* --- FAIXA DE SETORES (Faixa Escura) --- */
.sectors-strip {
    background: var(--brand-dark);
    padding: 60px 0;
    margin-top: -80px; /* Sobe por cima do Hero */
    position: relative; z-index: 10;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.sectors-wrapper {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #444; /* Cor da linha divisória */
    border: 1px solid #444;
}

.sector-box {
    background: var(--brand-dark);
    padding: 40px 20px;
    text-align: center;
    transition: 0.3s;
}
.sector-box:hover { background: #3a3836; }

.sector-box svg {
    width: 50px; height: 50px;
    color: var(--brand-orange);
    margin-bottom: 20px;
}

.sector-box h3 {
    color: #fff; font-size: 1.1rem; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px;
}
.sector-box p {
    color: #999; font-size: 0.85rem; line-height: 1.5;
}

/* --- SEÇÕES GERAIS --- */
.section { padding: 80px 0; }
.bg-light { background-color: #f9f9f9; }
.section-header { margin-bottom: 50px; text-align: left; }
.section-header span { color: var(--brand-orange); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.section-header h2 { font-size: 2.5rem; color: var(--brand-blue); margin-top: 5px; }

/* --- CARDS DE SERVIÇOS --- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}
.service-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-blue); }
.service-img-box { height: 240px; overflow: hidden; position: relative; }
.service-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-item:hover .service-img-box img { transform: scale(1.1); }
.service-content { padding: 30px; }
.service-content h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--brand-blue); }
.service-content p { color: var(--text-light); margin-bottom: 20px; font-size: 0.95rem; }
.link-more { color: var(--brand-orange); font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* --- SOLAR / FORMULÁRIO --- */
.solar-section { background-color: var(--brand-blue); color: white; position: relative; overflow: hidden; }
.solar-section h2 { color: #fff !important; }
.solar-section p { color: rgba(255,255,255,0.9); }
.check-item { color: #fff; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; }
.check-icon { color: var(--brand-orange); margin-right: 10px; font-size: 1.2rem; }

.form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.form-box h3 { color: var(--brand-blue); margin-bottom: 20px; }
.input-field {
    width: 100%; background: #f9f9f9; border: 1px solid #ddd; border-radius: 4px;
    padding: 15px; color: var(--brand-dark); font-size: 1rem; margin-bottom: 20px;
    transition: 0.3s;
}
.input-field:focus { border-color: var(--brand-orange); background: #fff; }

/* --- PAGE HERO (Páginas Internas - Premium) --- */
.page-hero {
    position: relative;
    margin-top: 0;
    padding: 150px 0 80px; 
    /* Imagem de fundo padrão para internas */
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat fixed;
    text-align: center;
    border-bottom: 4px solid var(--brand-orange);
}

.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(15, 20, 30, 0.85); /* Fundo escuro */
    z-index: 1;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 { 
    color: #fff; font-size: 3rem; margin-bottom: 10px; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.page-hero p { 
    color: var(--brand-orange); font-weight: 800; text-transform: uppercase; 
    letter-spacing: 2px; font-size: 0.9rem;
    background: rgba(0,0,0,0.3); display: inline-block; padding: 5px 15px;
    border-radius: 4px; border: 1px solid rgba(253, 157, 14, 0.3);
}

/* --- FOOTER --- */
.main-footer { background: var(--brand-dark); padding: 80px 0 30px; color: #aaa; }
.footer-logo { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 20px; display: block; }
.main-footer h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.main-footer a:hover { color: var(--brand-orange); }

/* --- MOBILE & RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero-cinematic { height: auto; padding: 140px 0 100px; }
    .hero-title-cine { font-size: 2.8rem; }
    .sectors-wrapper { grid-template-columns: 1fr 1fr; } /* Tablet: 2 colunas */
}

@media (max-width: 768px) {
    /* Menu Mobile */
    .menu-btn-mobile { display: block; }
    .menu { display: none; }
    .menu.active { 
        display: flex; position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px);
        background: var(--white); flex-direction: column; padding: 40px; 
        border-top: 1px solid #eee;
    }
    
    /* Hero no Mobile */
    .hero-cinematic { padding: 120px 0 80px; }
    .hero-content-cine { padding-left: 20px; border-left-width: 4px; }
    .hero-title-cine { font-size: 2.2rem; }
    
    /* Setores no Mobile */
    .sectors-strip { margin-top: 0; padding: 40px 0; }
    .sectors-wrapper { grid-template-columns: 1fr; gap: 0; } /* 1 coluna */
    .sector-box { padding: 30px; border-bottom: 1px solid #444; }
    
    /* Logos e Page Hero */
    .logo-img { max-height: 40px; }
    .page-hero { padding: 120px 0 60px; }
    .page-hero h1 { font-size: 2.2rem; }
}
/* --- PÁGINA DE PROJETOS (Portfolio) --- */

/* Filtros */
.filters-container {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 50px; /* Redondo estilo 'pill' */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
    box-shadow: 0 4px 15px rgba(15, 119, 193, 0.3);
}

/* Grid de Projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito elástico sutil */
    border: 1px solid #eee;
    display: flex; flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Imagem do Projeto */
.project-img-box {
    height: 280px; /* Mais alto que o padrão */
    overflow: hidden;
    position: relative;
}

.project-img-box img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-img-box img {
    transform: scale(1.1); /* Zoom lento */
}

/* Overlay com ícone ao passar o mouse */
.project-overlay {
    position: absolute; inset: 0;
    background: rgba(15, 119, 193, 0.8);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay svg { color: #fff; width: 40px; height: 40px; transform: scale(0.8); transition: 0.3s; }
.project-card:hover .project-overlay svg { transform: scale(1); }

/* Conteúdo do Card */
.project-content {
    padding: 30px;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
    flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between;
}

.project-card:hover .project-content {
    border-bottom-color: var(--brand-orange); /* Detalhe laranja no hover */
}

.project-tag {
    color: var(--brand-orange);
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 10px; display: block;
}

.project-title {
    font-size: 1.4rem; color: var(--brand-dark); margin-bottom: 15px; line-height: 1.3;
}

.project-desc {
    font-size: 0.95rem; color: #777; margin-bottom: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
    .project-img-box { height: 240px; }
}