/* ==================== FONTES E VARIÁVEIS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #377201;        /* verde principal */
    --primary-color-dark: #2a5001;   /* verde escuro */
    --secondary-color: #f5c518;      /* amarelo/dourado */
    --text-dark: #222;
    --text-light: #fff;
    --bg-light: #fdfdfd;
    --shadow-soft: 0 4px 12px rgba(0,0,0,0.08);
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ==================== RESET E BODY ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==================== TOPO ==================== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0.6rem 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.top-bar a {
    color: var(--text-light);
    margin-left: 15px;
    transition: var(--transition);
}
.top-bar a:hover { color: var(--secondary-color); }

/* ==================== HEADER ==================== */
header.main-header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
header.main-header.scrolled {
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
header.main-header .navbar-brand img {
    height: 60px;
    width: auto;
}
header.main-header .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
header.main-header .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* ==================== SLIDER ==================== */
/* ==================== SLIDER ==================== */
.main-slider {
    margin-top: 90px;
    width: 100%;
    max-height: 450px; /* pode ajustar para altura máxima */
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-slider .item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-slider .item img {
    width: 100%;
    height: auto;          /* altura automática */
    max-height: 450px;     /* não exceder o máximo */
    object-fit: contain;   /* mantém a proporção da imagem completa */
    border-radius: var(--radius-lg);
    transition: transform 0.5s ease;
}

.main-slider .item:hover img {
    transform: scale(1.02); /* leve zoom ao passar o mouse */
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 15px;
    max-width: 90%;
}

.slider-caption h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.slider-caption p {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}


/* ==================== SEÇÕES TIPO MURAL ==================== */
.mural-section {
    background-color: var(--primary-color-dark);
    padding: 60px 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.mural-section .card {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mural-section .card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.mural-section .card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.mural-section .card p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ==================== PRODUTOS ==================== */
.produto-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.produto-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.produto-card img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}
.produto-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0;
}
.produto-card .preco {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--secondary-color);
}
.btn-comprar {
    background: var(--secondary-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    display: inline-block;
    margin-top: 10px;
}
.btn-comprar:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ==================== CATÁLOGO ==================== */
.catalogo-section {
    background: #fff center/cover no-repeat;
    color: var(--text-dark);
    padding: 60px 15px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-bottom: 50px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}
.catalogo-section:hover { transform: translateY(-3px); }
.catalogo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}
.catalogo-title span { color: var(--secondary-color); }
.btn-catalogo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-dark));
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, background 0.3s ease;
}
.btn-catalogo:hover {
    transform: translateY(-2px);
    background: var(--primary-color-dark);
}

/* ==================== DEPOIMENTOS ==================== */
.depoimentos {
    background-color: var(--primary-color-dark);
    padding: 60px 15px;
}
.depoimentos .item {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 20px;
    transition: transform 0.3s ease;
}
.depoimentos .item:hover { transform: translateY(-3px); }
.depoimentos blockquote { font-style: italic; margin: 0; }

/* ==================== PARCEIROS ==================== */
.parceiros img {
    max-height: 70px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.parceiros img:hover { opacity: 1; transform: scale(1.05); }

/* ==================== BOTÕES FIXOS ==================== */
.btn-whatsapp, .btn-orcamento {
    position: fixed;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.btn-whatsapp {
    bottom: 20px;
    background-color: var(--primary-color);
    color:#fff;
    border-radius:50%;
    font-size:1.6rem;
    padding:14px;
}
.btn-whatsapp:hover { transform: scale(1.1); }
.btn-orcamento {
    bottom: 90px;
    background-color: var(--secondary-color);
    color:#000;
    border-radius:50px;
    padding:12px 20px;
    font-weight: bold;
}
.btn-orcamento:hover { transform: scale(1.05); }

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 1200px) {
    .slider-caption h2 { font-size: 1.8rem; }
    .slider-caption p { font-size: 0.95rem; }
}
@media (max-width: 992px) {
    .main-slider { height: 45vh; }
    .catalogo-title { font-size: 1.7rem; }
    .btn-catalogo { font-size: 1rem; padding: 12px 24px; }
    .search-form { flex-direction: column; gap: 10px; }
    .mural-section { gap: 20px; }
}
@media (max-width: 768px) {
    .main-slider { height: 40vh; }
    .slider-caption h2 { font-size: 1.5rem; }
    .slider-caption p { font-size: 0.9rem; }
    .catalogo-section { padding: 50px 15px; }
}
@media (max-width: 480px) {
    .main-slider { height: 35vh; }
    .slider-caption h2 { font-size: 1.2rem; }
    .slider-caption p { font-size: 0.8rem; }
    .btn-catalogo { padding: 8px 16px; font-size: 0.9rem; }
    .mural-section { grid-template-columns: 1fr; gap: 15px; }
}

/* ==================== MENU LATERAL ==================== */
.sidebar-menu {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}

.sidebar-menu h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.sidebar-menu a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* ==================== PRODUTOS MODERNOS ==================== */
.single-shop-item {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.single-shop-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.single-shop-item .img-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.single-shop-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0;
}

.single-shop-item .btn {
    background-color: var(--secondary-color);
    color: #000;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
}

.single-shop-item .btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* BOTÕES DE CATEGORIA */
.categorias-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-categoria {
    background-color: var(--bg-light);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-categoria:hover,
.btn-categoria.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* DROPDOWN DE MARCAS */
.marca-dropdown {
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-color);
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.95rem;
}

.marca-dropdown option[selected] {
    font-weight: bold;
}
