:root {
--cor-primaria: #c8102e;
--cor-secundaria: #1e3a5f;
}

html {
scroll-behavior: smooth;
}

.lightbox {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.85);
display: none;
align-items: center;
justify-content: center;
z-index: 2000;
padding: 24px;
cursor: pointer;
}

.lightbox.aberto {
display: flex;
}

.lightbox img {
max-width: 92vw;
max-height: 88vh;
object-fit: contain;
border-radius: 8px;
cursor: default;
background: #fff;
}

.lightbox-close {
position: absolute;
top: 16px;
right: 16px;
width: 44px;
height: 44px;
border: none;
border-radius: 50%;
background: rgba(255,255,255,0.2);
color: #fff;
font-size: 1.4rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.25s;
z-index: 2001;
}

.lightbox-close:hover {
background: rgba(255,255,255,0.4);
}

body {
font-family: 'Segoe UI', Roboto, Helvetica, sans-serif;
color: #333;
padding-top: 76px;
}

.menu-topo {
background: #ffffff;
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
transition: background 0.3s, box-shadow 0.3s;
padding: 10px 0;
border-bottom: 1px solid #ececec;
}

.logo-menu {
max-height: 50px;
width: auto;
}

.navbar-nav .nav-link {
color: #111111 !important;
font-weight: 600;
margin-left: 8px;
padding: 8px 14px !important;
border-radius: 6px;
transition: all 0.25s;
}

.navbar-nav .nav-link:hover {
background: var(--cor-primaria);
color: #ffffff !important;
}

.navbar-toggler {
border-color: #cccccc;
}

.hero-section {
padding-top: 0;
}

.carousel-inner {
position: relative;
}

.carousel-item {
text-align: center;
}

.slide-img {
background-color: var(--cor-secundaria);
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}

.slide-foto {
width: 100%;
height: auto;
display: block;
object-fit: cover;
}

.slide-placeholder {
background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-primaria));
min-height: 60vh;
max-height: 720px;
}

.slide-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
display: flex;
align-items: center;
}

.slide-titulo {
color: #fff;
font-size: 3rem;
font-weight: 800;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
margin-bottom: 12px;
}

.slide-subtitulo {
color: #f0f4f8;
font-size: 1.3rem;
max-width: 620px;
text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.secao-produtos {
padding: 90px 0;
background: #fff;
}

.secao-cinza {
background: #f4f6f9;
}

.titulo-secao {
font-size: 2.2rem;
font-weight: 800;
color: var(--cor-secundaria);
margin-bottom: 10px;
}

.linha-decorativa {
width: 80px;
height: 4px;
background: var(--cor-primaria);
border-radius: 2px;
margin: 0 auto 18px;
}

.subtitulo-secao {
color: #6c7a89;
font-size: 1.05rem;
}

.card-produto {
border: none;
border-radius: 12px;
box-shadow: 0 3px 14px rgba(0,0,0,0.07);
transition: transform 0.3s, box-shadow 0.3s;
overflow: hidden;
height: 100%;
}

.card-produto:hover {
transform: translateY(-6px);
box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.card-img-wrap {
height: 200px;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
background: #fafbfc;
}

.card-img-wrap img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}

.card-title-produto {
font-size: 1rem;
font-weight: 600;
color: var(--cor-secundaria);
margin: 0;
}

.btn-primario {
background: var(--cor-primaria);
color: #fff;
border: none;
border-radius: 30px;
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s;
}

.btn-primario:hover {
background: var(--cor-secundaria);
color: #fff;
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.secao-mercadolivre {
padding: 90px 0;
background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
}

.img-ml {
max-width: 320px;
width: 100%;
}

.rodape {
background: var(--cor-secundaria);
color: #cfd8e3;
padding: 60px 0 20px;
}

.rodape h5 {
color: #fff;
font-weight: 700;
margin-bottom: 18px;
}

.logo-rodape {
max-height: 50px;
}

.link-rodape {
color: #cfd8e3;
text-decoration: none;
transition: color 0.25s;
}

.link-rodape:hover {
color: var(--cor-primaria);
}

.btn-whatsapp-flutuante {
position: fixed;
bottom: 26px;
right: 26px;
width: 62px;
height: 62px;
background: #25d366;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
box-shadow: 0 6px 20px rgba(37,211,102,0.45);
z-index: 9999;
text-decoration: none;
transition: transform 0.3s, box-shadow 0.3s;
animation: pulseWpp 2s infinite;
}

.btn-whatsapp-flutuante:hover {
color: #fff;
transform: scale(1.1);
}

@keyframes pulseWpp {
0% { box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
50% { box-shadow: 0 6px 30px rgba(37,211,102,0.8); }
100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
}

@media (max-width: 768px) {
.slide-titulo {
font-size: 1.8rem;
}
.slide-subtitulo {
font-size: 1rem;
}
.titulo-secao {
font-size: 1.6rem;
}
body {
padding-top: 68px;
}
.hero-section {
padding-top: 0;
}
}