/* ==========================================================================
   PERNETA'S DRINKS - STYLE.CSS (Base Global e Landing Page - PRO VERSION)
   DNA da Marca: Preto (Base), Dourado (Premium), Vermelho (Destaque)
   ========================================================================== */

/* --- VARIÁVEIS GLOBAIS --- */
:root {
    --cor-fundo: #0a0a0a;
    --cor-texto: #f5f5f5;
    --cor-dourado: #d4af37;
    --cor-dourado-hover: #b5952f;
    --cor-vermelho: #e63946;
    --cor-preto-card: #141414;
    --cor-borda: #222;
    --fonte-principal: 'Arial', sans-serif;
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: var(--fonte-principal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

.text-dourado {
    color: var(--cor-dourado);
    margin-right: 5px;
}

/* --- HERO SECTION --- */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid var(--cor-borda);
    position: relative;
}

.logo-container {
    margin-bottom: 30px;
}

/* Logo Redonda com Brilho Inteligente */
.brand-logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--cor-dourado);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.logo-link {
    display: inline-block;
}

.logo-link:hover .brand-logo {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.slogan-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--cor-texto);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.slogan-text::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cor-vermelho), transparent);
    margin: 20px auto 0;
}

/* --- BOTÕES --- */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--cor-dourado);
    color: #000;
    border: 2px solid var(--cor-dourado);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--cor-dourado);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cor-texto);
    border: 2px solid var(--cor-vermelho);
}

.btn-secondary:hover {
    background-color: var(--cor-vermelho);
    color: #fff;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

/* --- NOVA SEÇÃO: SOBRE / POR TRÁS DO BALCÃO --- */
.sobre-section {
    padding: 80px 0;
    background: #0d0d0d;
    border-bottom: 1px solid var(--cor-borda);
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-imagem {
    flex: 1;
    position: relative;
    max-width: 100%; 
}

.sobre-imagem img {
    width: 100%;
    max-width: 100%; 
    height: auto; 
    border-radius: 12px;
    box-shadow: 10px 10px 0px var(--cor-dourado);
    transition: transform 0.3s ease;
    display: block; 
}

.sobre-imagem img:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0px var(--cor-vermelho);
}

.sobre-conteudo {
    flex: 1;
}

.sobre-conteudo h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.sobre-conteudo p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
}

.sobre-conteudo em {
    color: var(--cor-dourado);
    font-style: italic;
    font-weight: bold;
}

.btn-link-zap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-link-zap:hover {
    color: #fff;
    transform: translateX(10px);
}

/* --- SEÇÃO VISUAL (Cards Interativos da Galeria) --- */
.visual-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--cor-borda);
    position: relative;
    cursor: pointer;
    background-color: var(--cor-preto-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-15px);
    border-color: var(--cor-dourado);
    box-shadow: 0 15px 30px rgba(0,0,0,0.8), 0 0 15px rgba(212, 175, 55, 0.2);
}

.drink-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.gallery-item:hover .drink-img {
    opacity: 0.6;
    transform: scale(1.1);
}

/* Overlay do Card (Texto e Botão) */
.card-overlay {
    position: absolute;
    bottom: 0; 
    left: 0; 
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    color: var(--cor-texto);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 800;
}

.btn-detalhes {
    background-color: transparent;
    color: var(--cor-dourado);
    border: 1px solid var(--cor-dourado);
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .btn-detalhes {
    opacity: 1;
    background-color: var(--cor-dourado);
    color: #000;
}

/* --- SEÇÃO DE VALOR --- */
.value-section {
    padding: 60px 0;
    background-color: #050505;
    text-align: center;
    border-top: 1px solid var(--cor-borda);
    border-bottom: 1px solid var(--cor-borda);
}

.value-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(20,20,20,0.8), rgba(0,0,0,0.8));
}

.premium-icon {
    font-size: 3.5rem;
    color: var(--cor-dourado);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.value-box p {
    font-size: 1.3rem;
    color: #ddd;
    font-weight: 600;
}

/* --- MODAL (A MÁQUINA DE LEADS) --- */
.modal-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--cor-fundo);
    border: 1px solid #333;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px; 
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    border: 1px solid #444;
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: var(--cor-vermelho);
    border-color: var(--cor-vermelho);
    transform: rotate(90deg);
}

.modal-img-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-bottom: 2px solid var(--cor-dourado);
    position: relative;
}

/* Pseudo-elemento para dar um degradê no final da foto do modal */
.modal-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, var(--cor-fundo), transparent);
}

.modal-drink-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 30px 25px; 
    text-align: center;
}

.modal-info h2 {
    color: var(--cor-texto);
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 900;
}

.modal-info p {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-price-tag {
    margin-bottom: 25px;
}

.modal-price-tag span {
    display: inline-block;
    color: var(--cor-dourado);
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'Courier New', Courier, monospace;
}

/* Botão de Zap dentro do Modal */
.btn-modal-zap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: #2ecc71;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-modal-zap:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
}

/* --- BOTÃO VOLTAR AO TOPO --- */
.back-to-top {
    position: fixed;
    bottom: 30px; 
    right: 30px;
    background-color: var(--cor-dourado);
    color: #000;
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--cor-vermelho);
    color: #fff;
    transform: translateY(-8px);
}

/* --- RODAPÉ --- */
.site-footer {
    text-align: center;
    padding: 50px 20px 30px;
    background-color: #050505;
}

.social-links {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    font-size: 2rem;
    color: #666;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--cor-dourado);
    transform: translateY(-3px);
}

.copyright-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.admin-access a {
    color: #222;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.admin-access a:hover {
    color: var(--cor-vermelho);
}

/* --- RESPONSIVIDADE (Mobile First Focus) --- */
@media (max-width: 768px) {
    .slogan-text {
        font-size: 2.2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }

    .brand-logo {
        width: 110px;
        height: 110px;
    }

    /* --- CORREÇÃO DEFINITIVA DA IMAGEM NO MOBILE --- */
    .sobre-section {
        padding: 40px 15px; 
    }

    .sobre-container {
        flex-direction: column;
        gap: 20px; 
    }

    .sobre-imagem {
        width: 100%; 
        max-width: 100%;
        margin: 0 auto;
        /* Essa linha blinda o container para que NADA vaze dele */
        overflow: hidden; 
        border-radius: 12px;
        /* A sombra vem para o container, e não para a imagem em si, evitando estourar a tela */
        box-shadow: 4px 4px 0px var(--cor-dourado);
    }

    .sobre-imagem img {
        width: 100%; 
        height: auto;
        display: block;
        /* Remove a sombra individual da imagem no mobile para não duplicar/vazar */
        box-shadow: none; 
    }
    
    .sobre-conteudo {
        text-align: center;
        padding: 0 10px;
        margin-top: 15px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}
