/* =========================================
   VARIÁVEIS DO SISTEMA (Cores e Fontes)
   ========================================= */
:root {
    --cor-primaria: #a3d944;     
    --cor-primaria-hover: #8cc63f;
    --cor-fundo-escuro: #1a1a1a; 
    --cor-texto-claro: #ffffff;
    --cor-texto-escuro: #111111;
}

/* =========================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #111;
}

/* =========================================
   1. NAVBAR E LOGO PENDURADA
   ========================================= */
.navbar {
    background-color: #1a1a1a;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #a3d944;
}

.logo-pendurada {
    position: absolute;
    top: 0;
    left: 10%;
    height: 140px;
    z-index: 1001;
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.6));
}

/* =========================================
   2. BANNER PRINCIPAL (HERO)
   ========================================= */
.hero {
    position: relative;
    background: url('https://img.freepik.com/fotos-gratis/close-de-um-bar-tenro-enchendo-a-cerveja-da-bomba-do-bar_107420-65358.jpg?semt=ais_hybrid&w=740&q=80') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    margin-top: -50px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    background-color: #a3d944;
    color: black;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-cta:hover {
    background-color: #8cc63f;
    transform: scale(1.05);
}

/* =========================================
   3. O VÍDEO FLUTUANTE (Proporção 16:9)
   ========================================= */
.tecnologia-card {
    position: absolute;
    right: 5%;
    bottom: -100px;
    width: 480px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 10;
}

.tecnologia-card h3 {
    text-align: center;
    color: #111;
    font-size: 1rem;
    margin-bottom: 12px;
}

.video-content {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
}

.video-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   4. LAYOUT DA PÁGINA INICIAL (2 COLUNAS)
   ========================================= */
.main-layout {
    max-width: 1200px;
    margin: 150px auto 50px;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.coluna-esquerda {
    width: 35%;
}

.coluna-esquerda h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1;
}

.coluna-esquerda p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.coluna-esquerda ul {
    padding-left: 20px;
    line-height: 1.6;
    color: #333;
}

.coluna-direita {
    width: 65%;
    margin-top: 0;
}

/* =========================================
   5. GRADE DE PRODUTOS E CARDS
   ========================================= */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

a.card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    background: linear-gradient(to bottom, #ffffff, #f4ecd8);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeaea;
}

a.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

a.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

a.card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #111;
}

a.card p {
    font-size: 0.8rem;
    color: #555;
}

/* =========================================
   6. ESTILOS DA PÁGINA DE PARCEIROS
   ========================================= */
.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    padding: 0 20px; /* Adicionado para não grudar na borda do celular */
}

.parceiro-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: 0.3s;
    background-color: #fff; /* Fundo branco para destacar os cards */
}

.parceiro-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* Sombra um pouco mais forte no hover */
    transform: translateY(-5px);
}

.logo-placeholder {
    height: 120px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 15px;
    color: #999;
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px dashed #ddd; 
}

.parceiro-item h4 {
    margin-bottom: 5px;
    font-weight: 700;
    color: #111; /* Cor mais escura para o título do parceiro */
}

.parceiro-item p {
    font-size: 0.9rem;
    color: #666;
}

/* =========================================
   7. BOTÃO WHATSAPP FLUTUANTE
   ========================================= */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #44c052;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 2000;
}

/* =========================================
   8. RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================= */
@media (max-width: 768px) {
    
    .navbar {
        height: auto;
        padding: 15px 0;
        flex-direction: column; 
    }

    .logo-pendurada {
        position: static; 
        height: 90px;
        margin-bottom: 15px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem; 
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .tecnologia-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 90%;
        margin: 40px auto -80px; 
    }

    .main-layout {
        flex-direction: column; 
        margin-top: 120px; 
        padding: 0 15px;
    }

    .coluna-esquerda, 
    .coluna-direita {
        width: 100%; 
    }

    .produtos-grid {
        grid-template-columns: 1fr; 
    }


}


/* =========================================
   FUNDO DA SEÇÃO DE PARCEIROS (COM PARALLAX)
   ========================================= */
.fundo-parceiros {
    position: relative;
    /* COLOQUE O NOME DA SUA IMAGEM AQUI (ex: fundo-bar.jpg) */
    background: url('nome.jpg') center/cover no-repeat fixed; 
    padding-bottom: 50px;
}

/* Película escura em cima da foto para dar contraste */
.fundo-parceiros::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* 0.7 é o nível de escuridão */
    z-index: 1;
}

/* Garante que os textos e os cartões fiquem NA FRENTE da película */
.fundo-parceiros .parceiros-intro,
.fundo-parceiros .parceiros-grid,
.fundo-parceiros .seja-parceiro {
    position: relative;
    z-index: 2;
}

/* Ajusta o espaçamento do card final para não colar na borda */
.seja-parceiro {
    margin: 80px 20px 0; 
}



/* =========================================
   ESTILOS DO RODAPÉ (FOOTER)
   ========================================= */
.site-footer {
    background-color: var(--cor-fundo-escuro);
    color: var(--cor-texto-claro);
    padding: 60px 20px 20px;
    margin-top: 80px; /* Dá um espaço do conteúdo acima */
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--cor-primaria);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--cor-primaria);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #888888;
    font-size: 0.8rem;
}