/* PALETA DE CORES
   --amarelo-vibrante: #FFD700;
   --azul-royal: #0047AB;
   --azul-claro: #4169E1;
   --vermelho-escuro: #8B0000;
   --azul-escuro: #002D62; 
*/

:root {
    --amarelo-vibrante: #FFD700;
    --azul-royal: #0047AB;
    --azul-claro: #4169E1;
    --vermelho-escuro: #8B0000;
    --azul-escuro: #002D62;
    --cinza-claro: #f4f4f9;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Títulos Comuns */
.section-title {
    font-size: 2.5rem;
    color: var(--azul-escuro);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 900;
}

.section {
    padding: 80px 0;
}

/* =================================
   1. HEADER E NAVEGAÇÃO
   ================================= */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--azul-escuro);
    text-decoration: none;
}

/* Menu de Navegação */
.nav-menu a {
    color: var(--azul-escuro);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--amarelo-vibrante);
}

/* CTA Header (Botão Amarelo Fixo) */
.cta-header {
    background-color: var(--amarelo-vibrante);
    color: var(--azul-escuro);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-header:hover {
    background-color: #ffd933; /* Amarelo mais claro no hover */
    transform: translateY(-2px);
}

.menu-toggle {
    display: none; /* Esconde o botão de menu no desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--azul-escuro);
    cursor: pointer;
}

/* =================================
   2. SEÇÃO HERO
   ================================= */
.hero-section {
    position: relative;
    height: 100vh;
    padding-top: 80px; /* Espaço para o header fixo */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fundo: substitua pela sua imagem */
    background: url('img/chaveiro_fundo.jpg') no-repeat center center/cover;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--azul-royal); /* Sobreposição Azul Royal */
    opacity: 0.85; /* Opacidade para o texto se destacar */
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.experiencia {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.anos-destaque {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--vermelho-escuro); /* Vermelho Escuro para destaque */
    background-color: var(--amarelo-vibrante);
    padding: 0 10px;
    border-radius: 5px;
}

/* Botão Secundário no Hero */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-principal {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-principal:hover {
    background-color: #fff;
    color: var(--azul-royal);
    transform: translateY(-2px);
}

/* =================================
   3. SEÇÃO SERVIÇOS
   ================================= */
.servicos-section {
    background-color: var(--cinza-claro);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.servico-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.icone-amarelo {
    color: var(--amarelo-vibrante);
}

.servico-card h3 {
    color: var(--azul-escuro);
    margin-bottom: 10px;
    font-weight: 700;
}

.img {
    width: 170px;
    height: auto;
    max-width: 100%;
}

/* =================================
   4. SEÇÃO DIFERENCIAIS
   ================================= */
.diferenciais-section {
    background-color: #fff;
    text-align: center;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

.diferencial-item {
    padding: 20px;
}

.diferencial-item i {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.icone-royal {
    color: var(--azul-royal);
}

.diferencial-item h3 {
    font-weight: 700;
    color: var(--azul-escuro);
}

/* =================================
   5. SEÇÃO GALERIA
   ================================= */
.galeria-section {
    background-color: var(--cinza-claro);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.galeria-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.galeria-item img:hover {
    transform: scale(1.05);
}

/* =================================
   6. RODAPÉ E CTA FINAL
   ================================= */
.footer {
    background-color: var(--azul-escuro);
    color: #fff;
    padding: 60px 0 20px 0;
    text-align: center;
}

.footer h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.btn-final-cta {
    background-color: var(--amarelo-vibrante);
    color: var(--azul-escuro);
    font-size: 1.1rem;
    padding: 15px 40px;
    margin-bottom: 40px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-final-cta:hover {
    background-color: #ffd933;
    transform: scale(1.05);
}

.contato-info p {
    margin: 10px 0;
}

.contato-info i {
    color: var(--amarelo-vibrante);
    margin-right: 10px;
}

/* =================================
   7. RESPONSIVIDADE (MOBILE)
   ================================= */
@media (max-width: 992px) {
    
    .cta-header {
        display: none; /* Oculta o CTA do header no mobile para usar o fixo inferior */
    }

    .header .container {
        padding: 10px 15px;
    }

    .nav-menu {
        /* Menu Hamburger - Padrão Mobile */
        position: fixed;
        top: 60px; 
        right: 0;
        background-color: var(--azul-escuro);
        width: 70%;
        height: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transform: translateX(100%); /* Esconde o menu */
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        transform: translateX(0); /* Mostra o menu */
    }

    .nav-menu a {
        color: #fff;
        margin: 15px 0;
        font-size: 1.2rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-toggle {
        display: block; /* Mostra o botão de menu */
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .experiencia {
        font-size: 1.3rem;
    }
    
    .anos-destaque {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    /* Diferenciais */
    .diferenciais-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
    }
}

/* CTA Fixo Flutuante (MOBILE ONLY) */
.cta-mobile-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--amarelo-vibrante);
    color: var(--azul-escuro);
    text-align: center;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 993px) {
    /* Esconde o CTA fixo móvel no Desktop */
    .cta-mobile-fixed {
        display: none;
    }
}
/* =================================
   8. EFEITOS DE ROLAGEM (SCROLL REVEAL)
   ================================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Adicionando pequenos atrasos para o efeito cascata */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }