:root {
    --roxo-suave: #D8BFD8; /* Antigo rosa-quartzo */
    --ametista: #9966CC; /* Antigo pessego-suave, agora um roxo mais vibrante */
    --lilas-claro: #E6E6FA; /* Mantido lavanda-envelhecida */
    --creme-perolado: #FFFDD0;
    --dourado-rose: #B76E79;
    --violeta-profundo: #4B0082; /* Antigo borgonha-profundo, agora um roxo mais escuro */
    --sombra-suave: rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;

    /* Imagem de fundo geral do site */
    background-image: url('images/fundo-site-geral.jpg'); /* **MUDE ESTE CAMINHO** */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--violeta-profundo); /* Cor do texto geral do body */
    overflow-x: hidden;
    position: relative;
}

/* Overlay para a imagem de fundo geral do site (para suavizar e melhorar o contraste do container) */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente roxo suave para o overlay do body */
    background: linear-gradient(135deg, rgba(216, 191, 216, 0.7) 0%, rgba(153, 102, 204, 0.7) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--creme-perolado);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--sombra-suave);
    z-index: 1;
    position: relative;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--creme-perolado);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.header h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3em;
    color: var(--violeta-profundo); /* Título em roxo escuro */
    margin: 0;
    text-shadow: 1px 1px 2px var(--sombra-suave);
}

.vales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.vale-card {
    background-color: var(--roxo-suave); /* Cor de fallback para o vale */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 20px var(--sombra-suave);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 280px;

    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 1px solid var(--dourado-rose); /* Borda em dourado rosé */
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

/* Overlay escuro sobre a imagem de fundo de CADA VALE para melhor legibilidade do texto */
.vale-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente roxo escuro para o overlay do vale */
    background: linear-gradient(to top, rgba(75, 0, 130, 0.7) 0%, rgba(75, 0, 130, 0.3) 50%, rgba(75, 0, 130, 0) 100%);
    z-index: 1;
    border-radius: 20px;
}

.vale-card:hover::before {
    opacity: 1;
}

.vale-card:hover {
    transform: translateY(-8px) scale(1.03) rotateZ(1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--violeta-profundo); /* Borda no hover em roxo escuro */
}

/* Wrapper para o conteúdo do vale com fundo semi-transparente */
.vale-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.7); /* Fundo branco semi-transparente para o texto */
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding-bottom: 25px;
}

.vale-card h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2em;
    color: var(--violeta-profundo); /* Título do vale em roxo escuro */
    margin-bottom: 10px;
    text-shadow: none;
}

.vale-card p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: #444; /* Texto do vale em cinza escuro para boa legibilidade */
    font-weight: 400;
    text-shadow: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
        margin: 20px auto;
    }

    .header h1 {
        font-size: 2.5em;
    }

    .vales-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .vale-card {
        min-height: 220px;
    }

    .vale-card h2 {
        font-size: 1.8em;
    }

    .vale-card p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2em;
    }
}

.preto-e-branco {
  filter: grayscale(100%);
}