:root {
    --cor-primaria: #9A2A2F;   /* Vinho */
    --cor-secundaria: #1B4F48; /* Verde */
    --cor-fundo: #FDFBF7;      /* Creme */
    --cor-acento: #D4AF37;     /* Dourado */
}

body {
    background-color: var(--cor-fundo);
    font-family: 'Lato', sans-serif;
    color: #333;
    padding-bottom: 60px; /* Espaço para não cobrir o rodapé com a mascote */
}

h1, h2, h3, .font-display, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* --- NAVBAR --- */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0.5rem 0;
}

/* LOGO GRANDE (MANTIDA EM 80PX) */
.navbar-brand img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--cor-secundaria) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--cor-primaria) !important;
}

.btn-acorata {
    background-color: var(--cor-primaria);
    color: #fff;
    border-radius: 30px;
    padding: 8px 25px;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-acorata:hover {
    background-color: var(--cor-secundaria);
    color: #fff;
    transform: translateY(-2px);
}

/* --- CARDS DE PRODUTO --- */
.card-produto {
    border: none;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}

.card-produto:hover {
    transform: translateY(-5px);
}

.produto-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.produto-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- MASCOTE FLUTUANTE (FIXA EM TODAS AS PÁGINAS) --- */
.mascote-widget {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 150px;
    z-index: 9999;
    pointer-events: none; /* Deixa clicar através da área transparente */
    animation: slideUp 1s ease-out;
}

.mascote-widget img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
    pointer-events: auto; /* A imagem é clicável */
}

.mascote-widget img:hover {
    transform: translateY(-10px) scale(1.05);
    cursor: pointer;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .navbar-brand img { height: 60px; } /* Um pouco menor no celular */
    .mascote-widget { width: 110px; right: 10px; }
}

/* --- ESTILO DO BALÃO DA VENDEDORA --- */
.speech-bubble {
    background: #fff;
    border: 2px solid var(--cor-primaria); /* Borda Vinho */
    color: var(--cor-primaria);
    
    /* Ajustes de texto */
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 0.85rem; /* Letra um pouquinho menor para caber frases longas */
    font-weight: 700;   /* Negrito */
    line-height: 1.3;   /* Melhora leitura se tiver 2 linhas */
    text-align: center;
    
    /* Tamanho do balão */
    width: 180px;       /* Largura fixa para ficar alinhado com a boneca */
    position: relative;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    
    /* Animação de entrada */
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s both;
}

/* Setinha do balão */
.speech-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: var(--cor-primaria) transparent transparent transparent;
}

/* Animação de entrada do balão */
@keyframes popIn {
    from { opacity: 0; transform: scale(0.5) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Ajuste no widget para alinhar tudo */
.mascote-widget {
    display: flex;
    flex-direction: column; /* Empilha balão em cima da imagem */
    align-items: center;
}