/* ---- Reset e Estilos Globais ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* ---- Layout Principal ---- */
.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

/* ---- Header e Novo Logo ---- */
header {
    padding: 2rem;
    text-align: center;
}

.logo-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.logo-text-top, .logo-text-bottom {
    background-color: #a04f55; /* Cor de vinho do logo */
    color: white;
    padding: 0.3rem 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text-top {
    border-radius: 5px 5px 0 0;
}

.logo-diamond {
    max-width: 180px;
    height: auto;
    margin: -1px 0; /* Pequeno ajuste para sobrepor as bordas */
}

.materiais-diamond {
    max-width: 100%;
    height: auto;
    margin: -1px 0; /* Pequeno ajuste para sobrepor as bordas */
}

.logo-text-bottom {
    border-radius: 0 0 5px 5px;
}

/* ---- Carrossel de Produtos ---- */
#produtos-destaque {
    padding: 2rem 0; /* Espaçamento acima e abaixo do carrossel */
    margin-bottom: 2rem;
}

.swiper {
    padding: 2rem 1rem;
    background-color: #fff;
    border-radius: 15px;
    position: relative;
    /* Adiciona uma borda subtil como na imagem */
    /* border: 1px solid #e0e0e0; */
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.swiper-slide img {
    max-height: 220px;
    width: auto;
    object-fit: contain;
}

.ref-number {
    margin-top: 1rem;
    font-size: 0.9em;
    color: #555;
    font-weight: 700;
}

/* Estilização das setas de navegação */
:root {
    --swiper-navigation-color: #a04f55; /* Cor das setas para combinar com o logo */
    --swiper-navigation-size: 30px; /* Tamanho das setas */
}

/* ---- Conteúdo Principal (Main) ---- */
main {
    flex-grow: 1;
    padding: 0 4rem;
}

main section {
    margin-bottom: 2.5rem;
}

#sobre-nos {
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

h2, h3 {
    font-weight: 400;
    color: #a04f55;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    border-bottom: none;
}

/* ---- Secção de Serviços Específica ---- */
#servicos {
    background-color: #f0f0f0;
    padding: 1.5rem 2rem;
    border-radius: 5px;
    margin-left: -2rem;
    margin-right: -2rem;
}

#servicos ul { list-style: none; padding-left: 0; }
#servicos li { padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
#servicos li::before { content: '➤'; position: absolute; left: 0; top: 0; color: #333; }

/* ---- Footer ---- */
footer {
    background-color: #e9e9e9;
    padding: 2rem 4rem;
    text-align: center;
    margin-top: 3rem;
}

footer h4 { font-weight: 400; color: #a04f55; font-size: 1.2rem; margin-bottom: 0.5rem; }
footer .company-name { font-weight: 700; margin-bottom: 1.5rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: center; }
.contact-grid a { color: #333; text-decoration: none; transition: color 0.3s; }
.contact-grid a:hover { color: #a04f55; }

/* ---- Responsividade ---- */
@media (max-width: 768px) {
    main { padding: 0 1.5rem; }
    #servicos { margin-left: -1rem; margin-right: -1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 1rem; }
    footer { padding: 2rem 1.5rem; }
    h2, h3 { font-size: 1.4rem; }
}