/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif; /* Escolha uma fonte de sua preferência */
}

body {
    background-color: #a09ed8; /* Cor de fundo clara, semelhante ao exemplo */
    line-height: 1.6;
}

/* 2. SEÇÃO DE EMBALAGENS (TOPO) */
.embalagens-section {
    padding: 20px;
    background-color: var(--white-color); /* Cor de fundo da seção */
}

/* NOVO: Estiliza o link para se comportar como um bloco de conteúdo */
.embalagens-link {
    display: flex; 
    flex-direction: column; 
    /* AJUSTE: Reduzindo a largura máxima para ficar mais proporcional */
    max-width: 950px; 
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none; 
    transition: opacity 0.3s ease;
    background-color: #fff; 
    overflow: hidden; 
}

.embalagens-link:hover {
    opacity: 0.9;
}

.embalagens-grid {
    /* Simula o contêiner roxo/azulado com a imagem das embalagens */
    width: 100%; 
    height: 200px; 
    border-radius: 0; 
    background-color: var(--white-color); 
    background-image: url('banner.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

/* ALTERAÇÃO FINAL: Padronizando o estilo do título (embalagem) */
.embalagens-title {
    color: #666; /* Cinza mais claro */
    font-weight: 600; /* Semi-bold (600) */
    font-size: 0.9rem; /* Fonte menor */
    text-align: center; 
    padding: 15px 15px; 
}

/* RESPONSIVIDADE (MEDIA QUERIES) - Ajuste para telas menores */
@media (max-width: 768px) {
    .embalagens-grid {
        height: 120px; /* Reduz a altura da seção de embalagens em mobile */
    }
}

/* 3. CARDS DE NAVEGAÇÃO */
.cards-section {
    max-width: 1000px;
    margin: 20px auto 40px auto; 
    padding: 0 20px;
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    justify-content: center; 
}

.card-link {
    text-decoration: none; 
    color: inherit; 
    flex: 1 1 200px; 
    max-width: 230px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden; 
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%; 
    padding-bottom: 15px;
}

.card-img {
    width: 100%; 
    height: auto;
    object-fit: cover; 
    min-height: 150px; 
}

/* ALTERAÇÃO FINAL: Padronizando o estilo dos títulos dos cards (igual embalagens) */
.card-title {
    padding: 10px 15px 0;
    font-size: 0.9rem; /* Fonte menor */
    color: #666; /* Cinza mais claro */
    font-weight: 600; /* Semi-bold (600) */
}

.card-title strong {
    font-weight: 600; /* Mantém o semi-bold */
    color: #666; 
}

/* RESPONSIVIDADE (MEDIA QUERIES) */

/* Para telas menores (Celulares) */
@media (max-width: 768px) {
    .cards-section {
        flex-direction: column; 
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }

    .card-link {
        width: 100%; 
        max-width: 350px; 
    }

    .card-img {
        min-height: 120px;
    }
}

/* Para telas um pouco maiores (Tablets) */
@media (min-width: 500px) and (max-width: 1000px) {
    .card-link {
        flex: 1 1 calc(50% - 20px); 
        max-width: calc(50% - 10px);
    }
}


/* 4. SEÇÃO DE LINKS EXTERNOS (CONFORME IMAGEM) */

.links-externos-section {
    padding: 40px 20px;
    /* Imagem de Fundo Colorida */
    /* background-image: url('background2.jpg');  */
    background-size: cover;
    background-position: center;
    background-repeat: repeat; 
}

.links-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch; 
}

/* CONTAINER 1: CONTATOS (MANTÉM ESTILO ORIGINAL SOLICITADO) */
.contatos-card {
    flex: 1 1 45%; 
    max-width: 450px;
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 15px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contato-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.contato-item:hover {
    background-color: #f9f9f9;
}

.contato-icone {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.contato-titulo {
    font-weight: bold;
    font-size: 1.1rem;
    color: #4a4a4a;
}

.contato-subtitulo {
    font-size: 0.9rem;
    color: #888;
}

.contato-divisor {
    border: none;
    border-top: 1px solid #eee;
    margin: 0;
}

/* CONTAINER 2: SITE PRINCIPAL */
.site-card {
    flex: 1 1 45%; 
    max-width: 450px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.site-link {
    display: flex; 
    flex-direction: column; 
    text-decoration: none;
    height: 100%;
}

.site-imagem-fundo {
    height: 200px;
    width: 100%;
    background-image: url('site.png'); 
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.site-link:hover .site-imagem-fundo {
    opacity: 0.95;
}

/* ALTERAÇÃO FINAL: Padronizando o estilo do texto do link do site (igual embalagens) */
.site-texto-link {
    color: #666; /* Cinza mais claro */
    font-size: 0.9rem; /* Fonte menor */
    font-weight: 600; /* Semi-bold (600) */
    text-align: center; /* Centralizando */
    padding: 15px; 
    flex-grow: 1; 
}


/* RESPONSIVIDADE PARA A NOVA SEÇÃO */
@media (max-width: 768px) {
    .links-wrapper {
        flex-direction: column; 
        gap: 20px;
    }

    .contatos-card,
    .site-card {
        max-width: 100%; 
    }
    
    .site-imagem-fundo {
        min-height: 150px; 
        height: 150px; 
    }
}