/* =========================================
   CONFIGURAÇÕES GLOBAIS
========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Arial, sans-serif; 
}

/* FIX DEFINITIVO PARA O BRANCO */
html {
    height: 100%;
    background-color: #b0b0b0; 
}

body { 
    background-color: #ffffff; 
    color: #333; 
    overflow-x: hidden; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.w-100 { 
    width: 100%; 
    display: block; 
}

/* Container reduzido para conforto visual */
.container { 
    max-width: 1350px; 
    margin: 0 auto; 
    width: 100%; 
    padding: 0 15px; 
}

/* =========================================
   1. CABEÇALHO E VÍDEO
========================================= */
header { 
    width: 100%; 
    background: #fff; 
}

.video-banner video { 
    width: 100%; 
    max-height: 480px; 
    object-fit: cover; 
    background: #000; 
    display: block; 
}

/* =========================================
   2. BARRA DO USUÁRIO
========================================= */
.user-bar-bg { 
    background-color: #000; 
    width: 100%; 
    border-bottom: 2px solid #333; 
}

.user-bar { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 8px 0; 
    position: relative; 
}

.user-info { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.user-icon { 
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    border: 3px solid #cddc39; 
    object-fit: cover;
    background-color: #fff;
}

.user-info span {
    color: #555;
    font-size: 20px; 
    font-weight: 900;
    -webkit-text-stroke: 1px #aaa;
    letter-spacing: 1px;
}

.flags { 
    display: flex; 
    gap: 12px; 
    position: absolute; 
    right: 20px; 
}

.flags img { 
    height: 28px; 
    width: auto;
    cursor: pointer; 
    transition: transform 0.2s; 
}

.flags img:hover { 
    transform: scale(1.1); 
}

/* =========================================
   3. MENU DE NAVEGAÇÃO (BOTÕES CSS + NEON)
========================================= */
.nav-bg { 
    border-bottom: 2px solid #eee; 
    width: 100%; 
    background: #fff; 
}

.main-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    gap: 15px; 
    padding: 20px 0; 
}

/* O NOVO BOTÃO FEITO EM CÓDIGO (Igual à sua imagem) */
.nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 4px solid #333;
    border-bottom-width: 8px; /* Efeito 3D da borda grossa embaixo */
    border-right-width: 8px;  /* Efeito 3D da borda grossa na direita */
    border-radius: 25px;
    padding: 12px 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative; /* Isso segura a bolinha no lugar exato! */
    max-width: 160px;
    outline: none;
}

/* O ícone dentro do botão */
.nav-icon {
    height: 45px; 
    width: auto;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

/* O texto traduzível do botão */
.nav-text {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

/* Animação ao passar o mouse */
.nav-btn:hover {
    transform: translateY(-5px);
}

/* O FAMOSO EFEITO NEON VERDE QUANDO CLICA/ESTÁ ATIVO */
.nav-btn:active,
.nav-btn.active {
    transform: translateY(-2px); 
    box-shadow: 0 0 15px #39ff14, 0 0 30px #39ff14;
    border-color: #000;
}

/* BOLINHA DE NOTIFICAÇÃO (COLADA NO TEXTO!) */
.badge-carrito {
    position: absolute; 
    
    /* 🎯 MIRA LASER PARA COLAR NO NOME */
    bottom: 12px;             /* Alinha na mesma altura do texto */
    left: calc(50% + 38px);   /* Empurra pro lado direito da palavra */
    
    z-index: 10;        
    background-color: #f2555c; 
    color: white;
    font-size: 15px;    
    font-weight: 900;
    padding: 3px 8px;   
    border-radius: 50%; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.4); 
    pointer-events: none; 
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
}

/* =========================================
   4. SEÇÃO HERO E NOVO CARD DE TEXTO
========================================= */
.hero-section {
    width: 100%;
    text-align: center;
    padding: 10px 0 60px; 
    background-image: url('../img/bg-pattern.png'); 
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.main-title {
    font-size: 54px; 
    margin-top: 20px; 
    margin-bottom: 30px; 
    letter-spacing: 2px;
    color: #000; 
    font-weight: 900; 
    text-align: center;
}

.hero-card-image {
    width: 100%;
    max-width: 1000px; 
    height: auto;
    margin: 0 auto;
    display: block;
}

/* NOVO CARD DE TEXTO (SUBSTITUI A IMAGEM NA HOME) */
.hero-text-card {
    background-color: #fff;
    border: 9px solid #000;
    border-radius: 40px;
    padding: 60px 80px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: -6px 6px 0px rgba(0,0,0,0.9); /* Sombra estilo retro/neon */
}

.hero-text-card p {
    font-size: 34px;
    font-weight: 800;
    color: #000;
    line-height: 1.4;
    text-align: left;
}

/* =========================================
   5. SEÇÃO DA PERGUNTA
========================================= */
.social-question { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 40px; 
    padding: 30px 0 50px 0; 
}

.social-icon { width: 90px; }

.social-question p { 
    font-size: 26px; 
    font-weight: bold; 
    position: relative; 
}

.cursor { 
    position: absolute; 
    bottom: -35px; 
    right: -30px; 
    width: 60px !important; 
}

/* =========================================
   6. SERVIÇOS
========================================= */
.services { 
    text-align: center; 
    padding: 50px 0 20px; 
}
.services h2 { font-size: 42px; font-weight: 900; margin-bottom: 10px; }
.binary-small { font-size: 14px; color: #999; margin-bottom: 20px; letter-spacing: 2px; }
.service-card { background: transparent !important; box-shadow: none !important; }

/* =========================================
   7. SOBRE / HISTÓRIA
========================================= */
.about-wrapper { 
    text-align: center; 
    width: 100%; 
    padding-top: 30px; 
}

.about-title { 
    font-size: 42px; 
    font-weight: 900; 
    margin-bottom: 20px; 
    color: #000; 
}

.about-section { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    padding: 10px 0 60px; 
    width: 100%; 
}

.about-pz-logo {
    width: 45% !important; 
    max-width: none !important; 
    height: auto;
}

.about-text-card {
    width: 55% !important; 
    max-width: none !important; 
    height: auto;
}

/* =========================================
   8. CONTATO COM MAPA REAL
========================================= */
.contact-section { 
    display: flex; 
    gap: 60px; 
    padding: 80px 0; 
    align-items: flex-start; 
    max-width: 1300px;
    margin: 0 auto;
}

.contact-info { 
    flex: 1.3; 
    text-align: left; 
}

.contact-info h2, .contact-info h3 { 
    font-size: 42px; 
    font-weight: 900;
    margin-bottom: 25px;
    color: #000;
}

.contact-info p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #333;
}

.contact-list {
    list-style: none;
    margin-top: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px; 
    margin-bottom: 20px;
    font-weight: 600;
}

.pin-icon {
    width: 28px; 
    height: auto;
}

.map-container { 
    flex: 1; 
    border: 2px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px; 
    display: block;
}

main {
    flex: 1;
}

.pre-footer-text { 
    text-align: center; 
    padding: 50px 0 60px 0; 
}

.pre-footer-text p:first-child {
    font-size: 24px; 
    font-weight: 900;
    margin-bottom: 15px;
}

/* =========================================
   9. RODAPÉ 
========================================= */
footer { 
    background: linear-gradient(180deg, #e0e0e0 0%, #b0b0b0 100%); 
    padding: 0; 
    text-align: center;
    width: 100%;
    margin-top: auto; 
}

.footer-main-logo {
    width: 100%; 
    max-width: 600px; 
    height: auto;
    margin: -140px auto -220px auto; 
    display: block;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    font-size: 16px;
    color: #333;
    margin: 50px auto 20px auto; 
    position: relative;
    z-index: 5;
}

.social-footer { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 10px;
    position: relative;
    z-index: 5;
}

.social-footer img { 
    width: 38px; 
    cursor: pointer; 
    transition: 0.3s; 
}

.social-footer img:hover { transform: translateY(-5px); }

.footer-binary-bottom {
    font-family: monospace, Consolas, Courier;
    font-size: 11px;
    color: #666;
    letter-spacing: 2px;
    margin-top: 5px;
    padding-bottom: 5px; 
    margin-bottom: 0;
}

/* =========================================
   RESPONSIVIDADE (Tudo se ajeita no celular)
========================================= */
@media (max-width: 992px) {
    .about-section { flex-direction: column; gap: 40px; padding: 20px 5%; }
    .about-pz-logo { width: 80% !important; } 
    .about-text-card { width: 100% !important; }
    
    .contact-section { flex-direction: column; padding: 40px 20px; gap: 40px; }
    .contact-info { text-align: center; }
    .contact-list li { justify-content: center; }
    
    .footer-main-logo { max-width: 90%; margin: -60px auto -120px auto; }
}

@media (max-width: 768px) {
    .hero-text-card {
        padding: 30px 20px;
        border-width: 5px;
        border-radius: 25px;
    }
    .hero-text-card p {
        font-size: 22px;
        text-align: center;
    }
    .nav-text {
        font-size: 14px; /* Diminui a letra do menu no celular */
    }
}