/* Definição das fontes com @font-face */
@font-face {
    font-family: 'Merriweather Sans';
    src: url('/fonts/merriweathersans/MerriweatherSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather Sans';
    src: url('/fonts/merriweathersans/MerriweatherSans-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Garantir que o body ocupe a altura total e empurre o footer para o fundo */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #424242;
    background-color: #F5F7FA;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Estilização geral */
header {
    background-color: #E3F2FD;
    color: #1565C0;
}

header h1 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    margin: 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
}

.navbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    min-height: 100px;
    max-height: 100px;
    display: flex;
    align-items: center;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.navbar-logo {
    width: 100px;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.navbar .nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #424242;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #1976D2 !important;
}

@media (max-width: 991px) {
    .navbar {
        min-height: 60px;
        max-height: none;
    }

    .navbar-collapse {
        flex-direction: column;
        gap: 0.5rem;
        background-color: #FFFFFF;
        padding: 10px 0;
    }

    .navbar-nav {
        padding: 10px 0;
        text-align: center;
    }

    .nav-link {
        padding: 10px 20px;
    }

    .navbar-logo {
        width: 80px;
    }
}

/* Ajuste para páginas de venda */
.sales-page .navbar {
    min-height: 50px;
    max-height: 50px;
}

@media (max-width: 991px) {
    .sales-page .navbar {
        min-height: 50px;
        max-height: none;
    }
}

.intro h2 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    color: #1565C0;
}

.intro p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
}

.product-card {
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card .bi {
    color: #EF5350;
}

.product-card h3 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    color: #1565C0;
}

.product-card .card-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
}

.product-card .btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    background-color: #EF5350;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 1rem;
    align-self: center;
}

.product-card .btn:hover {
    background-color: #E53935;
}

footer {
    background-color: #E3F2FD;
    color: #424242;
}

footer p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

footer a {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #1976D2;
    text-decoration: none;
}

footer a:hover {
    color: #D81B60;
}

/* Ajustes gerais */
.container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

h2, h3 {
    color: #1565C0;
}

p, ul {
    font-size: 1.1rem;
}

/* Ajuste para botões gerais (ex.: formulário de contato) */
.btn {
    background-color: #EF5350;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #FFFFFF;
}

.btn:hover {
    background-color: #E53935;
    color: #FFFFFF;
}

/* Estilização das imagens dos produtos */
.product-card img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 200px;
}

/* Imagens nas páginas de venda */
.container img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mini-galeria nas páginas de venda */
.row img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.row img:hover {
    transform: scale(1.05);
}

/* Ajuste para alinhar o botão "Saiba Mais" nos cards */
.product-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card .card-content {
    flex-grow: 1;
}