/* Variáveis de Cores */
:root {
    --cor-fundo: #C7E0F3;
    --cor-titulo-detalhe: #004279;
    --cor-destaque: #FFDC01;
    --cor-texto-principal: #000000;
    --cor-texto-secundario: #333333;
    --cor-fundo-alt: #f4f4f4; /* Um cinza claro para seções alternadas */
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--cor-fundo);
    color: var(--cor-texto-principal);
    scroll-behavior: smooth;
}

/* Layout Geral */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.section-padding {
    padding: 60px 0;
}

.section-alt {
    background-color: var(--cor-fundo-alt);
}

/* Tipografia */
h2 {
    color: var(--cor-titulo-detalhe);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    border-bottom: 3px solid var(--cor-destaque);
    display: inline-block;
    padding-bottom: 10px;
    width: 100%;
}

p {
    margin-bottom: 20px;
    text-align: justify;
}

.destaque-final {
    font-weight: bold;
    color: var(--cor-titulo-detalhe);
    text-align: center;
    font-size: 1.1em;
    padding: 20px;
    border: 2px solid var(--cor-destaque);
    background-color: rgba(255, 220, 1, 0.1); /* Fundo levemente amarelado */
    margin-top: 30px;
}

/* Cabeçalho e Navegação */
header {
    background-color: var(--cor-titulo-detalhe);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100px; /* Ajuste o tamanho da logo */
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
}

nav ul li a:hover {
    color: var(--cor-titulo-detalhe);
    background-color: var(--cor-destaque);
}

/* Seção de Produtos */
#produtos h2 {
    color: var(--cor-titulo-detalhe);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.produto-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: bold;
    color: var(--cor-titulo-detalhe);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.produto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: var(--cor-destaque);
    color: var(--cor-titulo-detalhe);
}

.produto-item i {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--cor-titulo-detalhe);
}

.produto-item:hover i {
    color: var(--cor-titulo-detalhe);
}

/* Seção de Marcas */
.marcas-carousel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0;
}

.marcas-carousel img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
    filter: grayscale(100%); /* Deixa as logos em preto e branco */
    opacity: 0.7;
}

.marcas-carousel img:hover {
    transform: scale(1.1);
    filter: grayscale(0%); /* Colore ao passar o mouse */
    opacity: 1;
}

/* Seção de Contato */
.contato-info {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.contato-info p {
    margin: 10px 0;
    text-align: center;
}

.contato-info i {
    color: var(--cor-titulo-detalhe);
    margin-right: 10px;
}

.link-pedido a {
    color: var(--cor-titulo-detalhe);
    text-decoration: none;
    font-weight: bold;
    background-color: var(--cor-destaque);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.link-pedido a:hover {
    background-color: #e6c800; /* Um tom um pouco mais escuro de amarelo */
}

.aviso-contato {
    text-align: center;
    font-style: italic;
    color: red;
    font-size: 0.9em;
}

/* Rodapé */
footer {
    background-color: var(--cor-titulo-detalhe);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 10px;
        flex-direction: column;
    }

    nav ul li {
        margin: 5px 0;
    }

    h2 {
        font-size: 2em;
    }

    .produtos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .marcas-carousel img {
        max-height: 60px;
    }
}
