/* ==========================================================================
   1. VARIÁVEIS GLOBAIS DE CORES
   ========================================================================== */
:root {
    --primary-color: #0F2C59;      /* Azul-marinho principal */
    --secondary-color: #D99B26;    /* Dourado / Amarelo Ouro */
    --chameleon-green: #2ECC71;    /* Verde do Mascote */
    --bg-light: #F4F6F8;           /* Fundo claro para seções alternadas */
    --white: #FFFFFF;
    --text-dark: #1E293B;          /* Texto escuro */
    --text-gray: #64748B;          /* Texto cinza/secundário */
    --footer-dark: #081A36;        /* Fundo escuro do rodapé */
    --whatsapp-green: #25D366;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   2. RESET DE ESTILOS E BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   3. TIPOGRAFIA & ELEMENTOS REUTILIZÁVEIS
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 800;
}

.section-title.left-title {
    text-align: left;
}

.subtitle {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.subtitle-light {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 5px;
}

.highlight {
    color: var(--secondary-color);
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   4. ESTILOS DOS BOTÕES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
    border: none;
}

.btn-gold {
    background-color: var(--whatsapp-green);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--whatsapp-green); ;
    color: var(--white);
}

.btn-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #081a36;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline-dark {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* ==========================================================================
   5. CABEÇALHO / MENU
   ========================================================================== */
.header {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-chameleon {
    color: #2ECC71 !important; /* Cor verde para testar */
    font-size: 32px !important; /* Garante que ele tenha tamanho */
    display: inline-block;
}
.logo-text h2 {
    color: var(--white);
    font-size: 20px;
    line-height: 1;
}

.logo-text span {
    color: var(--secondary-color);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   6. SEÇÃO 1: INÍCIO (HERO)
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 60%, #173d77 100%);
    color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-mascot-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
   
}

.hero-mascot-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
     border-radius: 20px;
}

/* FAIXA DE DIFERENCIAIS */
.differentials {
    background-color: var(--bg-light);
    padding: 40px 0;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.differential-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.diff-icon {
    font-size: 32px;
    color: var(--secondary-color);
}

.diff-content h3 {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 3px;
}

.diff-content p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ==========================================================================
   7. SEÇÃO 2: SOBRE NÓS
   ========================================================================== */
.about {
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 16px;
}

.about-image {
    flex: 1;
}

.about-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.about-img-wrapper img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.badge-experience {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.badge-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
}

.badge-text {
    font-size: 11px;
    font-weight: bold;
}

/* ESTILIZAÇÃO DA IMAGEM DA FÁBRICA NA SEÇÃO HISTÓRIA */
.history-image-container {
    margin-top: 35px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.history-banner-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* ==========================================================================
   8. SEÇÃO 3: SERVIÇOS
   ========================================================================== */
.services {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
}


/* Configuração do Grid de Serviços em 5 Colunas Lado a Lado */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Cria 5 colunas de tamanho igual */
    gap: 20px;                             /* Espaçamento entre os cards */
    align-items: stretch;
}

/* Ajustes no Card de Serviço */
.service-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--gold, #D99B26); /* Borda dourada na base */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 32px;
    color: #0F2C59; /* Cor azul escuro dos ícones */
    margin-bottom: 15px;
}

/* Responsividade: Ajusta em telas menores e celulares */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colunas em tablets */
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 coluna em celulares */
    }
}

/* ==========================================================================
   9. SEÇÃO 4: EMPRESAS
   ========================================================================== */
/* ===================================================
   SEÇÃO EMPRESAS PARCEIRAS - CARROSSEL
   =================================================== */

.partners-bar {
    background-color: #081B38; /* Azul escuro corporativo */
    padding: 22px 0;
    width: 100%;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.partners-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Título e Ícone da Estrela na Esquerda */
.partners-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.partners-title-wrapper h2 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.8px;
    margin: 0;
    text-transform: uppercase;
}

.highlight-gold {
    color: #EFA614; /* Dourado em destaque */
}

.partners-star-icon {
    background: #182A45;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5B6B82;
    font-size: 14px;
    flex-shrink: 0;
}

/* Área do Carrossel (Contêiner com os Botões) */
.partners-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    overflow: hidden;
}

/* Trilho do Carrossel (Começa da esquerda e trava nos cards) */
.partners-carousel {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important; /* Força início exato na primeira logo */
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex-wrap: nowrap !important; /* Força linha única continuadamente */
    padding: 10px 0;
    width: 100%;
    
    /* Efeito de travamento em cada card ao rolar */
    scroll-snap-type: x mandatory;
    
    /* Esconde a barra de rolagem visual em todos os navegadores */
    -ms-overflow-style: none; /* IE e Edge antigos */
    scrollbar-width: none;    /* Firefox */
}

.partners-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari e Opera */
}

/* Cards das Logos */
.partners-bar .partner-logo {
    background: #ffffff;
    border-radius: 12px;
    min-width: 130px;
    max-width: 130px;
    height: 65px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impede que o card encolha */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    scroll-snap-align: start; /* Alinha perfeitamente a cada clique das setas */
}

.partners-bar .partner-logo:hover {
    transform: translateY(-2px);
}

.partners-bar .partner-logo img {
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
}

/* Botões de Navegação Dourados */
.carousel-nav-btn {
    background: #EFA614;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #081B38;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}

.carousel-nav-btn:hover {
    transform: scale(1.08);
    background-color: #fcae1e;
}

/* Ajuste Responsivo para Dispositivos Móveis */
@media (max-width: 900px) {
    .partners-bar-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .partners-carousel-wrapper {
        width: 100%;
    }
}


/* ==========================================================================
   10. SEÇÃO 5: PORTFÓLIO
   ========================================================================== */
.portfolio {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.portfolio-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding-bottom: 20px;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.portfolio-card h4 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 800;
}

.portfolio-card p {
    color: var(--text-gray);
    font-size: 13px;
}

/* ==========================================================================
   11. SEÇÃO 6: COMO FUNCIONA
   ========================================================================== */
.how-it-works {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.step-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ==========================================================================
   12. CHAMADA PARA ORÇAMENTO (CTA)
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #173d77 100%);
    color: var(--white);
    padding: 80px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    max-width: 600px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-mascot .mascot-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 280px;
}

.cta-mascot-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: 16px; /* Cantos suavemente arredondados */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.mascot-speech {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 16px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-top: -10px;
    z-index: 2;
}

/* ==========================================================================
   13. SEÇÃO 7: CONTATO (RODAPÉ)
   ========================================================================== */
.footer {
    background-color: var(--footer-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-col h4 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #040E1E;
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   14. RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .cta-container,
    .portfolio-header {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .portfolio-header {
        align-items: center;
        gap: 20px;
    }
}


/* Container do vídeo do Instagram na Seção Sobre Nós */
.instagram-container {
    width: 100%;
    max-width: 340px;
    height: 480px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: var(--white);
}

.instagram-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.img-coca {
    width: 50px;
    height: auto;
}


.img-assai {
    width: 50px;
    height: auto;
}

