/* Documentação: Variáveis globais baseadas no novo design (Imagem) */
:root {
    --cor-azul-escuro: #0A2540; /* Azul predominante do fundo e textos */
    --cor-laranja: #F26B21;     /* Laranja solar dos botões e destaques */
    --cor-branca: #FFFFFF;
    --cor-fundo: #F8F9FA;
    --cor-texto-cinza: #555555;
}

/* Reset básico e tipografia */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--cor-branca); color: var(--cor-azul-escuro); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Cabeçalho Moderno --- */
.header-principal { background: var(--cor-branca); padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 28px; font-weight: 900; letter-spacing: 1px; display: flex; flex-direction: column; line-height: 1; }
.logo .solar { color: var(--cor-laranja); }
.logo .flash { color: var(--cor-azul-escuro); border-top: 2px solid var(--cor-laranja); padding-top: 2px; font-size: 20px; }

.menu-navegacao ul { list-style: none; display: flex; gap: 25px; }
.menu-navegacao ul li a { color: var(--cor-azul-escuro); text-decoration: none; font-size: 14px; font-weight: 700; transition: color 0.3s; }
.menu-navegacao ul li a:hover { color: var(--cor-laranja); }

.btn-laranja { background-color: var(--cor-laranja); color: var(--cor-branca); padding: 12px 25px; text-decoration: none; font-weight: bold; border-radius: 4px; font-size: 14px; transition: 0.3s; display: inline-block; border: none; cursor: pointer; }
.btn-laranja:hover { background-color: #d15615; transform: translateY(-2px); }
.btn-branco { background-color: transparent; border: 2px solid var(--cor-azul-escuro); color: var(--cor-azul-escuro); padding: 10px 25px; text-decoration: none; font-weight: bold; border-radius: 4px; transition: 0.3s; display: inline-block; }
.btn-branco:hover { background-color: var(--cor-azul-escuro); color: var(--cor-branca); }

/* --- Banner Principal (Hero Section) e Slideshow --- */
.hero-section { 
    width: 100%; 
    height: 500px; /* Altura ideal para banners horizontais em telas de PC */
    position: relative;
    background: var(--cor-azul-escuro);
    overflow: hidden;
}

/* Documentação: Define o texto ocupando exatamente 35% */
.hero-text { 
    width: 35%; 
    padding: 80px 40px 80px 5%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    z-index: 2; /* Garante que o texto fique acima de tudo */
}

.hero-text h1 { font-size: 42px; line-height: 1.1; margin-bottom: 20px; }
.hero-text h1 span { color: var(--cor-laranja); }
.hero-text p { font-size: 16px; margin-bottom: 30px; color: #ddd; }

/* Documentação: Define a área do slideshow ocupando 65% */
.hero-slider { 
    width: 100%; 
    height: 100%; 
    position: absolute;
    top: 0; 
    left: 0;
}

/* Documentação: Configuração de cada imagem do slide (escondidas por padrão) */
.slide { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    /* 'cover' garante que a imagem preencha o espaço. Em banners largos, é essencial centralizar */
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
    display: block; /* Como usaremos a tag <a>, ela precisa se comportar como bloco */
}

/* Documentação: Apenas o slide que tiver a classe 'ativo' aparecerá */
.slide.ativo { 
    opacity: 1; 
    z-index: 1; 
}

/* --- Vantagens (Features) --- */
.vantagens-section { background: var(--cor-azul-escuro); border-top: 1px solid rgba(255,255,255,0.1); padding: 50px 0; color: var(--cor-branca); }
.vantagens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.vantagem-item { border-right: 1px solid rgba(255,255,255,0.2); padding: 0 20px; }
.vantagem-item:last-child { border-right: none; }
.vantagem-icone { font-size: 40px; color: var(--cor-laranja); margin-bottom: 15px; }
.vantagem-item h3 { font-size: 16px; margin-bottom: 10px; text-transform: uppercase; }
.vantagem-item p { font-size: 13px; color: #aaa; }

/* --- Sobre Nós --- */
.sobre-section { padding: 80px 0; }
.sobre-grid { display: flex; gap: 50px; align-items: center; }
.sobre-text { flex: 1; }
.sobre-text h4 { color: var(--cor-laranja); font-weight: bold; margin-bottom: 10px; }
.sobre-text h2 { font-size: 36px; margin-bottom: 20px; color: var(--cor-azul-escuro); line-height: 1.2; }
.sobre-text p { color: var(--cor-texto-cinza); margin-bottom: 30px; text-align: justify; }
.sobre-image { flex: 1; }
.sobre-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* --- Estatísticas --- */
.stats-section { background: var(--cor-laranja); padding: 40px 0; color: var(--cor-branca); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { border-right: 1px solid rgba(255,255,255,0.3); }
.stat-item:last-child { border-right: none; }
.stat-item h2 { font-size: 36px; margin-bottom: 5px; }
.stat-item p { font-size: 14px; text-transform: uppercase; }

/* =======================================================
   Documentação: ADAPTAÇÃO PARA CELULARES (MOBILE)
   Tudo que estiver dentro do @media só afeta telas pequenas
   ======================================================= */
@media (max-width: 768px) {
    /* No celular, o texto passa a ocupar 100% da largura e o texto centraliza */
    .hero-section { height: 250px; }    
    .hero-text { width: 100%; padding: 40px 20px; text-align: center; }
    
    /* O Slider também ocupa 100%, perde o corte diagonal e ganha altura fixa */
    .hero-slider { width: 100%; height: 350px; clip-path: none; }
    
    /* Reorganiza todas as grades do site para virarem uma coluna só (1fr) */
    .vantagens-grid { grid-template-columns: 1fr; gap: 30px; }
    .sobre-grid { flex-direction: column; gap: 30px; text-align: center; }
    .equipe-grid { grid-template-columns: 1fr; gap: 20px; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* Ajustes no menu do cabeçalho para celular */
    .header-container { flex-direction: column; gap: 15px; text-align: center; }
    .menu-navegacao ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
}

    .botoes-acao-header {
            display: flex;
            align-items: center;
            gap: 12px; /* Espaçamento entre o botão da loja e o de orçamento */
        }

        .btn-loja {
            background-color: transparent;
            color: var(--cor-azul-escuro);
            border: 2px solid var(--cor-azul-escuro);
            padding: 10px 20px;
            text-decoration: none;
            font-weight: bold;
            border-radius: 4px;
            font-size: 14px;
            transition: 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px; /* Espaçamento entre o carrinho 🛒 e o texto */
        }
        
        .btn-loja:hover {
            background-color: var(--cor-azul-escuro);
            color: var(--cor-branca);
            transform: translateY(-2px);
        }